From fde1636cb807d5c6a649722549da42d3b9fb7bbf Mon Sep 17 00:00:00 2001 From: Peter Balcirak Date: Mon, 14 Jun 2021 10:48:45 +0200 Subject: [PATCH] 0.24.0 --- .../1-es2015.ff630ea1a94cc3190a04.js | 1 + .../admin-gui/1-es5.ff630ea1a94cc3190a04.js | 1 + .../2-es2015.51a51499a6a179093598.js | 1 + .../admin-gui/2-es5.51a51499a6a179093598.js | 1 + dist/apps/admin-gui/3rdpartylicenses.txt | 1952 +++++++++++++ .../7-es2015.33d4007cb80c99d3d00a.js | 1 + .../admin-gui/7-es5.33d4007cb80c99d3d00a.js | 1 + .../8-es2015.03a25cf20894a129f2a7.js | 1 + .../admin-gui/8-es5.03a25cf20894a129f2a7.js | 1 + .../9-es2015.9236940931b2b0e5deab.js | 1 + .../admin-gui/9-es5.9236940931b2b0e5deab.js | 1 + .../assets/config/defaultConfig.json | 117 + .../assets/config/instanceConfig.json | 3 + .../apps/admin-gui/assets/config/version.json | 1 + dist/apps/admin-gui/assets/i18n/en.json | 2510 +++++++++++++++++ .../PerunWebImages/application_form-blue.svg | 37 + .../PerunWebImages/application_form-grey.svg | 37 + .../PerunWebImages/application_form-white.svg | 37 + .../img/PerunWebImages/applications-blue.svg | 25 + .../img/PerunWebImages/applications-white.svg | 25 + .../assets/img/PerunWebImages/apply1-blue.svg | 29 + .../assets/img/PerunWebImages/apply1-grey.svg | 29 + .../assets/img/PerunWebImages/apply2-blue.svg | 30 + .../assets/img/PerunWebImages/apply2-grey.svg | 30 + .../assets/img/PerunWebImages/apply3-blue.svg | 28 + .../assets/img/PerunWebImages/apply3-grey.svg | 28 + .../PerunWebImages/arrow_push_or_forward.svg | 10 + .../img/PerunWebImages/attributes-blue.svg | 22 + .../img/PerunWebImages/attributes-white.svg | 22 + .../img/PerunWebImages/audit_log-blue.svg | 15 + .../PerunWebImages/authentication-blue.svg | 31 + .../PerunWebImages/authentication-grey.svg | 31 + .../assets/img/PerunWebImages/back.svg | 9 + .../img/PerunWebImages/black_list-grey.svg | 30 + .../img/PerunWebImages/black_list-white.svg | 30 + .../assets/img/PerunWebImages/cancel-blue.svg | 31 + .../assets/img/PerunWebImages/cancel-grey.svg | 31 + .../assets/img/PerunWebImages/cancel-red.svg | 31 + .../PerunWebImages/close_or_reject-blue.svg | 11 + .../PerunWebImages/close_or_reject-grey.svg | 11 + .../PerunWebImages/close_or_reject-red.svg | 29 + .../img/PerunWebImages/contact-blue.svg | 16 + .../img/PerunWebImages/contact-grey.svg | 16 + .../img/PerunWebImages/copy_from-blue.svg | 36 + .../img/PerunWebImages/copy_from-grey.svg | 36 + .../img/PerunWebImages/create1-green.svg | 29 + .../img/PerunWebImages/create1-grey.svg | 29 + .../img/PerunWebImages/create1-white.svg | 23 + .../img/PerunWebImages/create2-blue.svg | 34 + .../img/PerunWebImages/create2-grey.svg | 29 + .../img/PerunWebImages/create3-blue.svg | 34 + .../img/PerunWebImages/create3-grey.svg | 29 + .../assets/img/PerunWebImages/delete-grey.svg | 28 + .../assets/img/PerunWebImages/delete-red.svg | 28 + .../assets/img/PerunWebImages/disabled.svg | 11 + .../assets/img/PerunWebImages/edit1-blue.svg | 32 + .../assets/img/PerunWebImages/edit1-grey.svg | 32 + .../assets/img/PerunWebImages/edit2-blue.svg | 34 + .../assets/img/PerunWebImages/edit2-grey.svg | 34 + .../assets/img/PerunWebImages/expired.svg | 14 + .../PerunWebImages/external_sources-grey.svg | 35 + .../PerunWebImages/external_sources-white.svg | 35 + .../img/PerunWebImages/facility-blue.svg | 38 + .../img/PerunWebImages/facility-dark.svg | 25 + .../img/PerunWebImages/facility-grey.svg | 38 + .../img/PerunWebImages/facility-white.svg | 25 + .../assets/img/PerunWebImages/facility.svg | 25 + .../assets/img/PerunWebImages/filter-blue.svg | 14 + .../assets/img/PerunWebImages/filter-grey.svg | 14 + .../assets/img/PerunWebImages/group-blue.svg | 23 + .../assets/img/PerunWebImages/group-dark.svg | 23 + .../assets/img/PerunWebImages/group-green.svg | 23 + .../assets/img/PerunWebImages/group-grey.svg | 37 + .../assets/img/PerunWebImages/group-white.svg | 23 + .../assets/img/PerunWebImages/home.svg | 10 + .../assets/img/PerunWebImages/host-blue.svg | 34 + .../assets/img/PerunWebImages/host-grey.svg | 34 + .../identity_consolidator1-blue.svg | 34 + .../identity_consolidator1-grey.svg | 34 + .../identity_consolidator2-blue.svg | 35 + .../identity_consolidator2-grey.svg | 35 + .../assets/img/PerunWebImages/info-blue.svg | 35 + .../assets/img/PerunWebImages/info-grey.svg | 35 + .../assets/img/PerunWebImages/invalid.svg | 10 + .../img/PerunWebImages/invite_member-blue.svg | 31 + .../img/PerunWebImages/invite_member-grey.svg | 31 + .../PerunWebImages/invite_member-white.svg | 23 + .../assets/img/PerunWebImages/logout-blue.svg | 32 + .../assets/img/PerunWebImages/logout-grey.svg | 32 + .../PerunWebImages/manage_facility_blue.svg | 45 + .../PerunWebImages/manage_facility_orange.svg | 45 + .../PerunWebImages/manage_facility_purple.svg | 45 + .../PerunWebImages/manage_facility_white.svg | 45 + .../img/PerunWebImages/manager-blue.svg | 13 + .../img/PerunWebImages/manager-grey.svg | 32 + .../img/PerunWebImages/manager-white.svg | 13 + .../assets/img/PerunWebImages/member-blue.svg | 31 + .../assets/img/PerunWebImages/module.svg | 12 + .../PerunWebImages/module_dependencies.svg | 21 + .../img/PerunWebImages/move_down-blue.svg | 28 + .../img/PerunWebImages/move_down-grey.svg | 28 + .../img/PerunWebImages/move_tab_left-blue.svg | 28 + .../img/PerunWebImages/move_tab_left-grey.svg | 28 + .../PerunWebImages/move_tab_right-blue.svg | 28 + .../PerunWebImages/move_tab_right-grey.svg | 28 + .../img/PerunWebImages/move_up-blue.svg | 28 + .../img/PerunWebImages/move_up-grey.svg | 28 + .../assets/img/PerunWebImages/note-blue.svg | 17 + .../img/PerunWebImages/notification-blue.svg | 29 + .../img/PerunWebImages/notification-grey.svg | 29 + .../img/PerunWebImages/notification-white.svg | 29 + .../assets/img/PerunWebImages/owner-blue.svg | 30 + .../assets/img/PerunWebImages/owner-grey.svg | 30 + .../assets/img/PerunWebImages/perun.ico | Bin 0 -> 4286 bytes .../img/PerunWebImages/perun_admin-blue.svg | 32 + .../img/PerunWebImages/perun_admin-dark.svg | 24 + .../img/PerunWebImages/perun_admin-grey.svg | 24 + .../img/PerunWebImages/perun_admin-red.svg | 24 + .../img/PerunWebImages/perun_admin-white.svg | 24 + .../img/PerunWebImages/perun_logo-white.svg | 74 + .../img/PerunWebImages/preview-white.svg | 41 + .../img/PerunWebImages/propagation-blue.svg | 20 + .../img/PerunWebImages/propagations-blue.svg | 28 + .../img/PerunWebImages/propagations-grey.svg | 28 + .../img/PerunWebImages/publications-blue.svg | 40 + .../img/PerunWebImages/publications-grey.svg | 40 + .../img/PerunWebImages/refresh_page-blue.svg | 34 + .../img/PerunWebImages/refresh_page-grey.svg | 34 + .../img/PerunWebImages/refresh_tab-black.svg | 30 + .../img/PerunWebImages/refresh_tab-grey.svg | 30 + .../img/PerunWebImages/relations-blue.svg | 41 + .../img/PerunWebImages/relations-grey.svg | 41 + .../assets/img/PerunWebImages/remove.svg | 24 + .../img/PerunWebImages/resource-black.svg | 24 + .../img/PerunWebImages/resource-blue.svg | 24 + .../img/PerunWebImages/resource-white.svg | 24 + .../img/PerunWebImages/resource_tags-blue.svg | 35 + .../img/PerunWebImages/resource_tags-grey.svg | 35 + .../PerunWebImages/resource_tags-white.svg | 35 + .../PerunWebImages/resources_state-blue.svg | 35 + .../PerunWebImages/resources_state-grey.svg | 35 + .../PerunWebImages/resources_state-white.svg | 35 + .../assets/img/PerunWebImages/save-blue.svg | 18 + .../assets/img/PerunWebImages/save-grey.svg | 34 + .../img/PerunWebImages/searcher-blue.svg | 34 + .../img/PerunWebImages/searcher-grey.svg | 34 + .../PerunWebImages/security_admin-blue.svg | 45 + .../PerunWebImages/security_admin-grey.svg | 45 + .../img/PerunWebImages/service-grey.svg | 34 + .../img/PerunWebImages/service-white.svg | 15 + .../service_destination-blue.svg | 35 + .../service_destination-grey.svg | 35 + .../PerunWebImages/service_identity-blue.svg | 44 + .../PerunWebImages/service_identity-grey.svg | 44 + .../PerunWebImages/service_identity-white.svg | 24 + .../PerunWebImages/service_packages-blue.svg | 19 + .../PerunWebImages/service_packages-grey.svg | 19 + .../PerunWebImages/service_status-blue.svg | 41 + .../PerunWebImages/service_status-grey.svg | 41 + .../img/PerunWebImages/settings1-blue.svg | 34 + .../img/PerunWebImages/settings1-grey.svg | 34 + .../img/PerunWebImages/settings2-blue.svg | 24 + .../img/PerunWebImages/settings2-white.svg | 24 + .../img/PerunWebImages/statistics-blue.svg | 32 + .../img/PerunWebImages/statistics-grey.svg | 32 + .../img/PerunWebImages/subgroup-blue.svg | 41 + .../img/PerunWebImages/subgroup-grey.svg | 41 + .../assets/img/PerunWebImages/user-blue.svg | 23 + .../assets/img/PerunWebImages/user-dark.svg | 23 + .../assets/img/PerunWebImages/user-grey.svg | 31 + .../assets/img/PerunWebImages/user-pink.svg | 23 + .../assets/img/PerunWebImages/user-white.svg | 23 + .../user_destination_relationship.svg | 19 + .../assets/img/PerunWebImages/valid.svg | 10 + .../assets/img/PerunWebImages/verify-blue.svg | 33 + .../assets/img/PerunWebImages/verify-grey.svg | 33 + .../assets/img/PerunWebImages/vo-blue.svg | 32 + .../assets/img/PerunWebImages/vo-dark.svg | 32 + .../assets/img/PerunWebImages/vo-grey.svg | 51 + .../assets/img/PerunWebImages/vo-white.svg | 32 + .../assets/img/PerunWebImages/vo.svg | 32 + .../img/PerunWebImages/warning-blue.svg | 17 + .../img/PerunWebImages/white_list-blue.svg | 32 + .../img/PerunWebImages/white_list-grey.svg | 32 + dist/apps/admin-gui/index.html | 31 + .../main-es2015.a3f8ebcf6d4383a45e75.js | 1 + .../main-es5.a3f8ebcf6d4383a45e75.js | 1 + .../polyfills-es2015.059c81add3ca5d21bfa2.js | 1 + .../polyfills-es5.3b0e1b8948aed1b11ec7.js | 1 + .../runtime-es2015.43be409aa232c77a84a8.js | 1 + .../runtime-es5.43be409aa232c77a84a8.js | 1 + .../admin-gui/scripts.1b2ed32d71d72baaf122.js | 1 + .../admin-gui/styles.3a02ab9c8c2b3a82c2dd.css | 11 + dist/apps/publications/3rdpartylicenses.txt | 765 +++++ .../assets/config/defaultConfig.json | 52 + dist/apps/publications/assets/i18n/en.json | 475 ++++ .../img/PerunWebImages/refresh_tab-black.svg | 30 + .../assets/img/publications-dark.svg | 5 + .../publications/assets/img/publications.svg | 5 + dist/apps/publications/favicon.ico | Bin 0 -> 4286 bytes dist/apps/publications/index.html | 45 + .../publications/main.31e2f458bd49de349cb3.js | 1 + .../polyfills.98fb742ccc5360d3caca.js | 1 + .../runtime.acf0dec4155e77772545.js | 1 + .../scripts.1b2ed32d71d72baaf122.js | 1 + .../styles.b512ea92ff602426ee68.css | 9 + dist/apps/user-profile/3rdpartylicenses.txt | 861 ++++++ .../assets/config/defaultConfig.json | 191 ++ .../assets/config/instanceConfig.json | 3 + dist/apps/user-profile/assets/i18n/cs.json | 365 +++ dist/apps/user-profile/assets/i18n/en.json | 438 +++ .../assets/img/settings1-blue.svg | 34 + dist/apps/user-profile/assets/img/totp.svg | 107 + .../assets/img/webauthn-logo-black.png | Bin 0 -> 232769 bytes dist/apps/user-profile/favicon.ico | Bin 0 -> 15086 bytes dist/apps/user-profile/index.html | 14 + .../main-es2015.a7d49a965009c407b030.js | 1 + .../main-es5.a7d49a965009c407b030.js | 1 + .../polyfills-es2015.add54c2931c744a8e8b7.js | 1 + .../polyfills-es5.1c2c1e416c798db58ed1.js | 1 + .../runtime-es2015.66c79b9d36e7169e27b0.js | 1 + .../runtime-es5.66c79b9d36e7169e27b0.js | 1 + .../scripts.1b2ed32d71d72baaf122.js | 1 + .../styles.3d0ee34f41face996b3d.css | 11 + package-lock.json | 2 +- package.json | 2 +- 226 files changed, 12997 insertions(+), 2 deletions(-) create mode 100644 dist/apps/admin-gui/1-es2015.ff630ea1a94cc3190a04.js create mode 100644 dist/apps/admin-gui/1-es5.ff630ea1a94cc3190a04.js create mode 100644 dist/apps/admin-gui/2-es2015.51a51499a6a179093598.js create mode 100644 dist/apps/admin-gui/2-es5.51a51499a6a179093598.js create mode 100644 dist/apps/admin-gui/3rdpartylicenses.txt create mode 100644 dist/apps/admin-gui/7-es2015.33d4007cb80c99d3d00a.js create mode 100644 dist/apps/admin-gui/7-es5.33d4007cb80c99d3d00a.js create mode 100644 dist/apps/admin-gui/8-es2015.03a25cf20894a129f2a7.js create mode 100644 dist/apps/admin-gui/8-es5.03a25cf20894a129f2a7.js create mode 100644 dist/apps/admin-gui/9-es2015.9236940931b2b0e5deab.js create mode 100644 dist/apps/admin-gui/9-es5.9236940931b2b0e5deab.js create mode 100644 dist/apps/admin-gui/assets/config/defaultConfig.json create mode 100644 dist/apps/admin-gui/assets/config/instanceConfig.json create mode 100644 dist/apps/admin-gui/assets/config/version.json create mode 100644 dist/apps/admin-gui/assets/i18n/en.json create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/application_form-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/application_form-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/application_form-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/applications-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/applications-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/apply1-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/apply1-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/apply2-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/apply2-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/apply3-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/apply3-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/arrow_push_or_forward.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/attributes-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/attributes-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/audit_log-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/authentication-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/authentication-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/back.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/black_list-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/black_list-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/cancel-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/cancel-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/cancel-red.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-red.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/contact-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/contact-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create1-green.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create1-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create1-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create2-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create2-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create3-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/create3-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/delete-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/delete-red.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/disabled.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/edit1-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/edit1-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/edit2-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/edit2-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/expired.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/facility-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/facility-dark.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/facility-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/facility-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/facility.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/filter-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/filter-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/group-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/group-dark.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/group-green.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/group-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/group-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/home.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/host-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/host-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/info-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/info-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/invalid.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/logout-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/logout-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_orange.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_purple.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manager-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manager-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/manager-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/member-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/module.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/module_dependencies.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_down-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_down-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_up-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/move_up-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/note-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/notification-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/notification-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/notification-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/owner-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/owner-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun.ico create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-dark.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-red.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/perun_logo-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/preview-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/propagation-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/propagations-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/propagations-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/publications-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/publications-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-black.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/relations-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/relations-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/remove.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resource-black.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resource-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resource-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/save-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/save-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/searcher-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/searcher-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_status-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/service_status-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/settings1-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/settings1-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/settings2-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/settings2-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/statistics-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/statistics-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/user-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/user-dark.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/user-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/user-pink.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/user-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/user_destination_relationship.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/valid.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/verify-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/verify-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/vo-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/vo-dark.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/vo-grey.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/vo-white.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/vo.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/warning-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/white_list-blue.svg create mode 100644 dist/apps/admin-gui/assets/img/PerunWebImages/white_list-grey.svg create mode 100644 dist/apps/admin-gui/index.html create mode 100644 dist/apps/admin-gui/main-es2015.a3f8ebcf6d4383a45e75.js create mode 100644 dist/apps/admin-gui/main-es5.a3f8ebcf6d4383a45e75.js create mode 100644 dist/apps/admin-gui/polyfills-es2015.059c81add3ca5d21bfa2.js create mode 100644 dist/apps/admin-gui/polyfills-es5.3b0e1b8948aed1b11ec7.js create mode 100644 dist/apps/admin-gui/runtime-es2015.43be409aa232c77a84a8.js create mode 100644 dist/apps/admin-gui/runtime-es5.43be409aa232c77a84a8.js create mode 100644 dist/apps/admin-gui/scripts.1b2ed32d71d72baaf122.js create mode 100644 dist/apps/admin-gui/styles.3a02ab9c8c2b3a82c2dd.css create mode 100644 dist/apps/publications/3rdpartylicenses.txt create mode 100644 dist/apps/publications/assets/config/defaultConfig.json create mode 100644 dist/apps/publications/assets/i18n/en.json create mode 100644 dist/apps/publications/assets/img/PerunWebImages/refresh_tab-black.svg create mode 100644 dist/apps/publications/assets/img/publications-dark.svg create mode 100644 dist/apps/publications/assets/img/publications.svg create mode 100644 dist/apps/publications/favicon.ico create mode 100644 dist/apps/publications/index.html create mode 100644 dist/apps/publications/main.31e2f458bd49de349cb3.js create mode 100644 dist/apps/publications/polyfills.98fb742ccc5360d3caca.js create mode 100644 dist/apps/publications/runtime.acf0dec4155e77772545.js create mode 100644 dist/apps/publications/scripts.1b2ed32d71d72baaf122.js create mode 100644 dist/apps/publications/styles.b512ea92ff602426ee68.css create mode 100644 dist/apps/user-profile/3rdpartylicenses.txt create mode 100644 dist/apps/user-profile/assets/config/defaultConfig.json create mode 100644 dist/apps/user-profile/assets/config/instanceConfig.json create mode 100644 dist/apps/user-profile/assets/i18n/cs.json create mode 100644 dist/apps/user-profile/assets/i18n/en.json create mode 100644 dist/apps/user-profile/assets/img/settings1-blue.svg create mode 100644 dist/apps/user-profile/assets/img/totp.svg create mode 100644 dist/apps/user-profile/assets/img/webauthn-logo-black.png create mode 100644 dist/apps/user-profile/favicon.ico create mode 100644 dist/apps/user-profile/index.html create mode 100644 dist/apps/user-profile/main-es2015.a7d49a965009c407b030.js create mode 100644 dist/apps/user-profile/main-es5.a7d49a965009c407b030.js create mode 100644 dist/apps/user-profile/polyfills-es2015.add54c2931c744a8e8b7.js create mode 100644 dist/apps/user-profile/polyfills-es5.1c2c1e416c798db58ed1.js create mode 100644 dist/apps/user-profile/runtime-es2015.66c79b9d36e7169e27b0.js create mode 100644 dist/apps/user-profile/runtime-es5.66c79b9d36e7169e27b0.js create mode 100644 dist/apps/user-profile/scripts.1b2ed32d71d72baaf122.js create mode 100644 dist/apps/user-profile/styles.3d0ee34f41face996b3d.css diff --git a/dist/apps/admin-gui/1-es2015.ff630ea1a94cc3190a04.js b/dist/apps/admin-gui/1-es2015.ff630ea1a94cc3190a04.js new file mode 100644 index 000000000..d17a7d8f4 --- /dev/null +++ b/dist/apps/admin-gui/1-es2015.ff630ea1a94cc3190a04.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{BAI5:function(e,t,s){"use strict";s.d(t,"a",(function(){return A}));var i=s("Ssnw"),n=s("X2Q7"),a=s("iyZ4"),r=s("EM62"),c=s("sEIs"),o=s("2kYt"),b=s("0XDM"),l=s("A8Ay"),u=s("csyo"),p=s("K9kF"),d=s("s2Ay");function f(e,t){1&e&&(r.Sb(0,"h1",6),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&e&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.YOU_ARE_MEMBER"),"\n"))}function h(e,t){1&e&&(r.Sb(0,"h1",6),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&e&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_MEMBER"),"\n"))}function m(e,t){1&e&&r.Nb(0,"mat-spinner",7)}const S=function(){return["select","expiration","menu","recent"]};function g(e,t){if(1&e){const e=r.Tb();r.Sb(0,"perun-web-apps-groups-list",8),r.Zb("page",(function(t){return r.xc(e),r.dc().pageChanged(t)})),r.Rb()}if(2&e){const e=r.dc();r.kc("pageSize",e.pageSize)("groups",e.membersGroups)("hideColumns",r.oc(5,S))("disableMembers",!1)("filter",e.memberFilterValue)}}function R(e,t){1&e&&r.Nb(0,"mat-spinner",7)}function I(e,t){if(1&e){const e=r.Tb();r.Sb(0,"perun-web-apps-groups-list",8),r.Zb("page",(function(t){return r.xc(e),r.dc(2).adminPageChanged(t)})),r.Rb()}if(2&e){const e=r.dc(2);r.kc("pageSize",e.adminPageSize)("groups",e.adminsGroups)("hideColumns",r.oc(5,S))("disableMembers",!1)("filter",e.adminFilterValue)}}function E(e,t){if(1&e){const e=r.Tb();r.Sb(0,"div",9),r.Sb(1,"h1",6),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Sb(4,"perun-web-apps-refresh-button",1),r.Zb("refresh",(function(){return r.xc(e),r.dc().refreshAdminTable()})),r.Rb(),r.Sb(5,"perun-web-apps-immediate-filter",2),r.Zb("filter",(function(t){return r.xc(e),r.dc().adminFilter(t)})),r.Rb(),r.Hc(6,R,1,0,"mat-spinner",3),r.Hc(7,I,1,6,"perun-web-apps-groups-list",4),r.Rb()}if(2&e){const e=r.dc();r.Ab(2),r.Lc(" ",r.fc(3,4,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_ADMIN")," "),r.Ab(3),r.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),r.Ab(1),r.kc("ngIf",e.adminRefresh),r.Ab(1),r.kc("ngIf",!e.adminRefresh)}}let A=(()=>{class e{constructor(e,t,s,i,n,r){this.usersService=e,this.memberService=t,this.tableConfigService=s,this.groupService=i,this.store=n,this.route=r,this.memberFilterValue="",this.adminFilterValue="",this.vos=[],this.membersGroups=[],this.adminsGroups=[],this.tableId=a.bb,this.adminTableId=a.ab}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)(r.Mb(n.q),r.Mb(n.i),r.Mb(a.pb),r.Mb(n.h),r.Mb(i.m),r.Mb(c.a))},e.\u0275cmp=r.Gb({type:e,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Eb("router-component",!0)},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","hideColumns","disableMembers","filter","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","hideColumns","disableMembers","filter","page"],[1,"mt-5"]],template:function(e,t){1&e&&(r.Hc(0,f,3,3,"h1",0),r.Hc(1,h,3,3,"h1",0),r.Sb(2,"perun-web-apps-refresh-button",1),r.Zb("refresh",(function(){return t.refreshMemberTable()})),r.Rb(),r.Sb(3,"perun-web-apps-immediate-filter",2),r.Zb("filter",(function(e){return t.memberFilter(e)})),r.Rb(),r.Hc(4,m,1,0,"mat-spinner",3),r.Hc(5,g,1,6,"perun-web-apps-groups-list",4),r.Hc(6,E,8,6,"div",5)),2&e&&(r.kc("ngIf",t.showPrincipal),r.Ab(1),r.kc("ngIf",!t.showPrincipal),r.Ab(2),r.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),r.Ab(1),r.kc("ngIf",t.memberRefresh),r.Ab(1),r.kc("ngIf",!t.memberRefresh),r.Ab(1),r.kc("ngIf",!t.showPrincipal))},directives:[o.t,b.a,l.a,u.c,p.a],pipes:[d.d],styles:[""]}),e})()},ECIY:function(e,t,s){"use strict";s.d(t,"a",(function(){return d}));var i=s("X2Q7"),n=s("Ssnw"),a=s("EM62"),r=s("sEIs"),c=s("2kYt"),o=s("bdug"),b=s("csyo"),l=s("s2Ay");function u(e,t){if(1&e&&a.Nb(0,"app-two-entity-attribute-page",3),2&e){const e=a.dc();a.kc("entityValues",e.facilities)("firstEntity","user")("firstEntityId",e.userId)("secondEntity","facility")}}function p(e,t){1&e&&a.Nb(0,"mat-spinner",4)}let d=(()=>{class e{constructor(e,t,s,i){this.route=e,this.storage=t,this.facilitiesManagerService=s,this.store=i,this.facilities=[]}ngOnInit(){this.loading=!0,!0===(this.showPrincipal=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.parent.params.subscribe(e=>this.userId=e.userId),this.facilitiesManagerService.getAssignedFacilitiesByUser(this.userId).subscribe(e=>{this.facilities=e,this.loading=!1})}}return e.\u0275fac=function(t){return new(t||e)(a.Mb(r.a),a.Mb(n.m),a.Mb(i.g),a.Mb(n.m))},e.\u0275cmp=a.Gb({type:e,selectors:[["app-user-settings-facility-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Hc(3,u,1,4,"app-two-entity-attribute-page",1),a.Hc(4,p,1,0,"mat-spinner",2)),2&e&&(a.Ab(1),a.Kc(a.fc(2,3,"USER_DETAIL.SETTINGS.FACILITY_ATTRIBUTES.TITLE")),a.Ab(2),a.kc("ngIf",!t.loading),a.Ab(1),a.kc("ngIf",t.loading))},directives:[c.t,o.a,b.c],pipes:[l.d],styles:[""]}),e})()},"Q/gj":function(e,t,s){"use strict";s.d(t,"a",(function(){return C}));var i=s("Ssnw"),n=(s("HHEo"),s("cqs0")),a=s("8clQ"),r=s("mEf3"),c=s("X2Q7"),o=s("iyZ4"),b=s("+0js"),l=s("IDQ9"),u=s("EM62"),p=s("sEIs"),d=s("OZ4H"),f=s("s2Ay"),h=s("KZIX"),m=s("0XDM"),S=s("PBFl"),g=s("A8Ay"),R=s("2kYt"),I=s("csyo"),E=s("LKLE"),A=s("bdug");const v=["list"];function T(e,t){1&e&&(u.Jc(0),u.ec(1,"translate")),2&e&&u.Lc(" ",u.fc(1,1,"ADMIN_USER.ENTITY")," ")}function O(e,t){1&e&&u.Nb(0,"mat-spinner",11)}function M(e,t){if(1&e){const e=u.Tb();u.Sb(0,"perun-web-apps-attributes-list",12,13),u.Zb("page",(function(t){return u.xc(e),u.dc().pageChanged(t)})),u.Rb()}if(2&e){const e=u.dc();u.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("attributes",e.attributes)("selection",e.selection)}}function N(e,t){1&e&&(u.Jc(0),u.ec(1,"translate"),u.ec(2,"translate")),2&e&&u.Mc(" ",u.fc(1,2,"ADMIN_USER.ENTITY")," - ",u.fc(2,4,"FACILITY_DETAIL.ENTITY")," ")}function y(e,t){if(1&e&&u.Nb(0,"app-two-entity-attribute-page",16),2&e){const e=u.dc(3);u.kc("firstEntity","user")("firstEntityId",e.userId)("secondEntity","facility")}}function k(e,t){if(1&e&&u.Hc(0,y,1,3,"app-two-entity-attribute-page",15),2&e){const e=u.dc(2);u.kc("ngIf",!e.loading)}}function U(e,t){1&e&&(u.Sb(0,"mat-tab"),u.Hc(1,N,3,6,"ng-template",2),u.Hc(2,k,1,1,"ng-template",14),u.Rb())}let C=(()=>{class e{constructor(e,t,s,i,a,r,c,b){this.route=e,this.attributesManager=t,this.notificator=s,this.dialog=i,this.translate=a,this.tableConfigService=r,this.store=c,this.authResolver=b,this.selection=new n.c(!0,[]),this.attributes=[],this.filterValue="",this.tableId=o.r,this.translate.get("USER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe(e=>this.saveSuccessMessage=e),this.translate.get("USER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe(e=>this.deleteSuccessMessage=e)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),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"}]),this.refreshTable()})}onCreate(){const e=Object(a.o)();e.width="1050px",e.data={entityId:this.userId,entity:"user",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(l.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const e=Object(a.o)();e.width="450px",e.data={entityId:this.userId,entity:"user",attributes:this.selection.selected},this.dialog.open(b.f,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onDelete(){const e=Object(a.o)();e.width="450px",e.data={entityId:this.userId,entity:"user",attributes:this.selection.selected},this.dialog.open(r.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getUserAttributes(this.userId).subscribe(e=>{this.attributes=e,this.selection.clear(),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)(u.Mb(p.a),u.Mb(c.c),u.Mb(i.l),u.Mb(d.b),u.Mb(f.e),u.Mb(o.pb),u.Mb(i.m),u.Mb(i.h))},e.\u0275cmp=u.Gb({type:e,selectors:[["app-user-settings-attributes"]],viewQuery:function(e,t){var s;1&e&&u.Qc(v,!0),2&e&&u.sc(s=u.ac())&&(t.list=s.first)},hostVars:2,hostBindings:function(e,t){2&e&&u.Eb("router-component",!0)},decls:20,vars:18,consts:[[1,"page-subtitle"],[1,"mb-2"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(u.Sb(0,"h1",0),u.Jc(1),u.ec(2,"translate"),u.Rb(),u.Sb(3,"mat-tab-group"),u.Sb(4,"mat-tab",1),u.Hc(5,T,2,3,"ng-template",2),u.Sb(6,"perun-web-apps-refresh-button",3),u.Zb("refresh",(function(){return t.refreshTable()})),u.Rb(),u.Sb(7,"button",4),u.Zb("click",(function(){return t.onCreate()})),u.Jc(8),u.ec(9,"translate"),u.Rb(),u.Sb(10,"button",5),u.Zb("click",(function(){return t.onSave()})),u.Jc(11),u.ec(12,"translate"),u.Rb(),u.Sb(13,"button",6),u.Zb("click",(function(){return t.onDelete()})),u.Jc(14),u.ec(15,"translate"),u.Rb(),u.Sb(16,"perun-web-apps-immediate-filter",7),u.Zb("filter",(function(e){return t.applyFilter(e)})),u.Rb(),u.Hc(17,O,1,0,"mat-spinner",8),u.Hc(18,M,2,4,"perun-web-apps-attributes-list",9),u.Rb(),u.Hc(19,U,3,0,"mat-tab",10),u.Rb()),2&e&&(u.Ab(1),u.Kc(u.fc(2,10,"USER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),u.Ab(7),u.Lc(" ",u.fc(9,12,"USER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),u.Ab(2),u.kc("disabled",0===t.selection.selected.length),u.Ab(1),u.Lc(" ",u.fc(12,14,"USER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),u.Ab(2),u.kc("disabled",0===t.selection.selected.length),u.Ab(1),u.Lc(" ",u.fc(15,16,"USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),u.Ab(2),u.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),u.Ab(1),u.kc("ngIf",t.loading),u.Ab(1),u.kc("ngIf",!t.loading),u.Ab(1),u.kc("ngIf",t.userFacilityAttAuth))},directives:[h.c,h.a,h.d,m.a,S.b,g.a,R.t,I.c,E.a,h.b,A.a],pipes:[f.d],styles:[""]}),e})()},QOlj:function(e,t,s){"use strict";s.d(t,"a",(function(){return T}));var i=s("X2Q7"),n=s("FlRo"),a=s("Ssnw"),r=s("nyAh"),c=s("8clQ"),o=s("+0js"),b=s("EM62"),l=s("sEIs"),u=s("OZ4H"),p=s("2kYt"),d=s("ZG5M"),f=s("Meci"),h=s("PBFl"),m=s("bFHC"),S=s("s2Ay");function g(e,t){1&e&&b.Nb(0,"th",12)}function R(e,t){if(1&e&&(b.Sb(0,"td",13),b.Jc(1),b.Rb()),2&e){const e=t.$implicit;b.Ab(1),b.Lc(" ",e.displayName,": ")}}function I(e,t){1&e&&b.Nb(0,"th",12)}function E(e,t){if(1&e){const e=b.Tb();b.Sb(0,"td",14),b.Jc(1),b.Sb(2,"button",15),b.Zb("click",(function(){return b.xc(e),b.dc(2).changeEmail()})),b.Sb(3,"mat-icon"),b.Jc(4,"edit"),b.Rb(),b.Rb(),b.Rb()}if(2&e){const e=t.$implicit;b.Ab(1),b.Lc(" ",e.value," ")}}function A(e,t){1&e&&b.Nb(0,"tr",16)}function v(e,t){if(1&e&&(b.Sb(0,"div",2),b.Sb(1,"mat-card",3),b.Sb(2,"mat-card-header"),b.Sb(3,"mat-card-title"),b.Sb(4,"h1",4),b.Jc(5),b.ec(6,"translate"),b.Rb(),b.Rb(),b.Rb(),b.Sb(7,"mat-card-content"),b.Sb(8,"table",5),b.Qb(9,6),b.Hc(10,g,1,0,"th",7),b.Hc(11,R,2,1,"td",8),b.Pb(),b.Qb(12,9),b.Hc(13,I,1,0,"th",7),b.Hc(14,E,5,1,"td",10),b.Pb(),b.Hc(15,A,1,0,"tr",11),b.Rb(),b.Rb(),b.Rb(),b.Rb()),2&e){const e=b.dc();b.Ab(5),b.Kc(b.fc(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),b.Ab(3),b.kc("dataSource",e.mailDataSource),b.Ab(7),b.kc("matRowDefColumns",e.displayedColumns)}}let T=(()=>{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,r.a.USER_DEF_PREFERRED_MAIL).subscribe(e=>{this.preferredMail=e,this.handleMailNotDefined(),this.mailDataSource=new n.o([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-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=Object(c.o)();e.width="350px",e.data={userId:this.userID},this.dialog.open(o.c,e).afterClosed().subscribe(e=>{e&&this.attributeService.getUserAttributeByName(this.userID,r.a.USER_DEF_PREFERRED_MAIL).subscribe(e=>{this.preferredMail=e,this.handleMailNotDefined(),this.mailDataSource=new n.o([this.preferredMail])})})}handleMailNotDefined(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:Object(c.t)(r.a.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}return e.\u0275fac=function(t){return new(t||e)(b.Mb(i.q),b.Mb(i.c),b.Mb(a.m),b.Mb(l.a),b.Mb(u.b))},e.\u0275cmp=b.Gb({type:e,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&b.Eb("router-component",!0)},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&&(b.Hc(0,v,16,5,"div",0),b.Nb(1,"perun-web-apps-menu-buttons-field",1)),2&e&&(b.kc("ngIf",t.inMyProfile),b.Ab(1),b.kc("items",t.navItems)("size","small"))},directives:[p.t,d.a,f.a,f.f,f.m,f.d,n.n,n.c,n.i,n.b,n.m,n.h,n.a,h.b,m.a,n.l],pipes:[S.d],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),e})()},S5du:function(e,t,s){"use strict";s.d(t,"a",(function(){return E}));var i=s("X2Q7"),n=s("Ssnw"),a=s("iyZ4"),r=s("EM62"),c=s("sEIs"),o=s("2kYt"),b=s("0XDM"),l=s("A8Ay"),u=s("csyo"),p=s("qySP"),d=s("s2Ay");function f(e,t){1&e&&(r.Sb(0,"h1",6),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&e&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function h(e,t){1&e&&(r.Sb(0,"h1",6),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&e&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function m(e,t){1&e&&r.Nb(0,"mat-spinner",7)}function S(e,t){if(1&e){const e=r.Tb();r.Sb(0,"perun-web-apps-vos-list",8),r.Zb("page",(function(t){return r.xc(e),r.dc().memberPageChanged(t)})),r.Rb()}if(2&e){const e=r.dc();r.kc("displayedColumns",e.displayedColumns)("pageSize",e.memberPageSize)("filterValue",e.memberFilterValue)("vos",e.vosWhereIsMember)}}function g(e,t){1&e&&r.Nb(0,"mat-spinner",7)}function R(e,t){if(1&e){const e=r.Tb();r.Sb(0,"perun-web-apps-vos-list",8),r.Zb("page",(function(t){return r.xc(e),r.dc(2).adminPageChanged(t)})),r.Rb()}if(2&e){const e=r.dc(2);r.kc("displayedColumns",e.displayedColumns)("pageSize",e.adminPageSize)("filterValue",e.adminFilterValue)("vos",e.vosWhereIsAdmin)}}function I(e,t){if(1&e){const e=r.Tb();r.Sb(0,"div",9),r.Sb(1,"h1",6),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Sb(4,"perun-web-apps-refresh-button",1),r.Zb("refresh",(function(){return r.xc(e),r.dc().refreshAdminTable()})),r.Rb(),r.Sb(5,"perun-web-apps-immediate-filter",2),r.Zb("filter",(function(t){return r.xc(e),r.dc().applyAdminFilter(t)})),r.Rb(),r.Hc(6,g,1,0,"mat-spinner",3),r.Hc(7,R,1,4,"perun-web-apps-vos-list",4),r.Rb()}if(2&e){const e=r.dc();r.Ab(2),r.Kc(r.fc(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),r.Ab(3),r.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),r.Ab(1),r.kc("ngIf",e.adminRefresh),r.Ab(1),r.kc("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=a.db,this.memberTableId=a.eb}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)(r.Mb(i.q),r.Mb(n.h),r.Mb(a.pb),r.Mb(n.m),r.Mb(c.a))},e.\u0275cmp=r.Gb({type:e,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Eb("router-component",!0)},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&&(r.Hc(0,f,3,3,"h1",0),r.Hc(1,h,3,3,"h1",0),r.Sb(2,"perun-web-apps-refresh-button",1),r.Zb("refresh",(function(){return t.refreshMemberTable()})),r.Rb(),r.Sb(3,"perun-web-apps-immediate-filter",2),r.Zb("filter",(function(e){return t.applyMemberFilter(e)})),r.Rb(),r.Hc(4,m,1,0,"mat-spinner",3),r.Hc(5,S,1,4,"perun-web-apps-vos-list",4),r.Hc(6,I,8,6,"div",5)),2&e&&(r.kc("ngIf",t.isMyProfile),r.Ab(1),r.kc("ngIf",!t.isMyProfile),r.Ab(2),r.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),r.Ab(1),r.kc("ngIf",t.memberRefresh),r.Ab(1),r.kc("ngIf",!t.memberRefresh),r.Ab(1),r.kc("ngIf",!t.isMyProfile))},directives:[o.t,b.a,l.a,u.c,p.a],pipes:[d.d],styles:[""]}),e})()},faZ6:function(e,t,s){"use strict";s.d(t,"a",(function(){return a}));var i=s("EM62"),n=s("ma6z");let a=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Gb({type:e,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Eb("router-component",!0)},decls:1,vars:0,template:function(e,t){1&e&&i.Nb(0,"app-animated-router-outlet")},directives:[n.a],styles:[""]}),e})()},m1kt:function(e,t,s){"use strict";s.d(t,"a",(function(){return u}));var i=s("X2Q7"),n=s("EM62"),a=s("sEIs"),r=s("2kYt"),c=s("csyo"),o=s("ZG5M");function b(e,t){1&e&&n.Nb(0,"mat-spinner",2)}function l(e,t){if(1&e&&(n.Sb(0,"div"),n.Nb(1,"perun-web-apps-menu-buttons-field",3),n.Rb()),2&e){const e=n.dc();n.Ab(1),n.kc("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.Mb(a.a),n.Mb(i.q))},e.\u0275cmp=n.Gb({type:e,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&n.Eb("router-component",!0)},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.Hc(0,b,1,0,"mat-spinner",0),n.Hc(1,l,2,2,"div",1)),2&e&&(n.kc("ngIf",t.loading),n.Ab(1),n.kc("ngIf",!t.loading))},directives:[r.t,c.c,o.a],styles:[""]}),e})()},oXY0:function(e,t,s){"use strict";s.d(t,"a",(function(){return Fe}));var i=s("X2Q7"),n=s("Ssnw"),a=s("EM62"),r=s("sEIs"),c=s("2kYt"),o=s("csyo"),b=s("3Uyd"),l=s("bFHC"),u=s("Meci"),p=s("qySP"),d=s("NC8S"),f=s("K9kF"),h=s("23RZ"),m=s("w+DT"),S=s("nz2m"),g=s("s2Ay");function R(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function I(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function E(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function A(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.SELF_VOS")," "))}function v(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function T(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.SELF_IDENTITIES")," "))}const O=function(){return["user","id","name"]};function M(e,t){if(1&e&&(a.Sb(0,"div",11),a.Hc(1,v,3,3,"div",2),a.Hc(2,T,3,3,"div",2),a.Nb(3,"app-users-list",12),a.Rb()),2&e){const e=a.dc(4);a.Ab(1),a.kc("ngIf",!e.showDescription),a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("users",e.users)("disableRouting",!0)("displayedColumns",a.oc(5,O))}}const N=function(){return["id","name","shortName"]};function y(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,E,3,3,"div",2),a.Hc(2,A,3,3,"div",2),a.Nb(3,"perun-web-apps-vos-list",9),a.Hc(4,M,4,6,"div",10),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",!e.showDescription),a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(5,N))("vos",e.vos),a.Ab(1),a.kc("ngIf",e.users.length)}}function k(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getSelfData()})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",7),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,I,1,0,"mat-spinner",1),a.Hc(8,y,5,6,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.SELF")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function U(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function C(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}const P=function(){return["select","menu","expiration","recent"]};function L(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,C,3,3,"div",2),a.Nb(2,"perun-web-apps-groups-list",14),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("groups",e.groups)("hideColumns",a.oc(3,P))}}function w(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getAdminGroupsAndVos()})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",13),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,U,1,0,"mat-spinner",1),a.Hc(8,L,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.GROUPADMIN")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function H(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function D(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}const F=function(){return["select","menu","expiration"]};function V(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,D,3,3,"div",2),a.Nb(2,"perun-web-apps-groups-list",14),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("groups",e.groups)("hideColumns",a.oc(3,F))}}function _(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getGroupsAndVos("GROUPOBSERVER")})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",13),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,H,1,0,"mat-spinner",1),a.Hc(8,V,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.GROUPOBSERVER")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function x(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function G(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.VOADMIN_VOS")," "))}function z(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,G,3,3,"div",2),a.Nb(2,"perun-web-apps-vos-list",9),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,N))("vos",e.vos)}}function B(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getAdminVos()})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",15),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,x,1,0,"mat-spinner",1),a.Hc(8,z,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.VOADMIN")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function J(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function Z(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.VOOBSERVER_VOS")," "))}function Y(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,Z,3,3,"div",2),a.Nb(2,"perun-web-apps-vos-list",9),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,N))("vos",e.vos)}}function K(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){a.xc(e);const t=a.dc(2);return t.getVos(t.roles.get("VOOBSERVER").get("Vo"))})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",15),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,J,1,0,"mat-spinner",1),a.Hc(8,Y,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.VOOBSERVER")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function j(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function Q(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function W(e,t){if(1&e&&(a.Sb(0,"div"),a.Sb(1,"div"),a.Hc(2,Q,3,3,"div",2),a.Nb(3,"perun-web-apps-vos-list",9),a.Rb(),a.Rb()),2&e){const e=a.dc(3);a.Ab(2),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,N))("vos",e.vos)}}function X(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){a.xc(e);const t=a.dc(2);return t.getVos(t.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",15),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,j,1,0,"mat-spinner",1),a.Hc(8,W,4,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.TRUSTEDFACILITYADMIN")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function q(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function $(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function ee(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,$,3,3,"div",2),a.Nb(2,"perun-web-apps-vos-list",9),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,N))("vos",e.vos)}}function te(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){a.xc(e);const t=a.dc(2);return t.getVos(t.roles.get("TOPGROUPCREATOR").get("Vo"))})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",15),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,q,1,0,"mat-spinner",1),a.Hc(8,ee,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.TOPGROUPCREATOR")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function se(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function ie(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}const ne=function(){return["id","name","vo","facility","description"]};function ae(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,ie,3,3,"div",2),a.Nb(2,"perun-web-apps-resources-list",17),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("resources",e.resources)("routingVo",!0)("displayedColumns",a.oc(4,ne))}}function re(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getResourcesData("RESOURCEADMIN")})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",16),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,se,1,0,"mat-spinner",1),a.Hc(8,ae,3,5,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.RESOURCEADMIN")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function ce(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function oe(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function be(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,oe,3,3,"div",2),a.Nb(2,"perun-web-apps-resources-list",17),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("resources",e.resources)("routingVo",!0)("displayedColumns",a.oc(4,ne))}}function le(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getResourcesData("RESOURCEOBSERVER")})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",16),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,ce,1,0,"mat-spinner",1),a.Hc(8,be,3,5,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.RESOURCEOBSERVER")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function ue(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function pe(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function de(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,pe,3,3,"div",2),a.Nb(2,"perun-web-apps-resources-list",17),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("resources",e.resources)("routingVo",!0)("displayedColumns",a.oc(4,ne))}}function fe(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getResourcesData("RESOURCESELFSERVICE")})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",16),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,ue,1,0,"mat-spinner",1),a.Hc(8,de,3,5,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.RESOURCESELFSERVICE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function he(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function me(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}const Se=function(){return["id","name","description"]};function ge(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,me,3,3,"div",2),a.Nb(2,"perun-web-apps-facilities-list",19),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,Se))("facilities",e.facilities)}}function Re(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getAdminFacilities()})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",18),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,he,1,0,"mat-spinner",1),a.Hc(8,ge,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.FACILITYADMIN")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function Ie(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function Ee(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function Ae(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,Ee,3,3,"div",2),a.Nb(2,"perun-web-apps-facilities-list",19),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,Se))("facilities",e.facilities)}}function ve(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getFacilities("FACILITYOBSERVER")})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",18),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,Ie,1,0,"mat-spinner",1),a.Hc(8,Ae,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.FACILITYOBSERVER")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function Te(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function Oe(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}const Me=function(){return["checkbox","email","logins","status","groupStatus","organization","type"]};function Ne(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,Oe,3,3,"div",2),a.Nb(2,"perun-web-apps-members-list",20),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("members",e.members)("hideColumns",a.oc(3,Me))}}function ye(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){return a.xc(e),a.dc(2).getMembers()})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",7),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,Te,1,0,"mat-spinner",1),a.Hc(8,Ne,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.SPONSORSHIP")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function ke(e,t){1&e&&a.Nb(0,"mat-spinner",3)}function Ue(e,t){1&e&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&e&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"ROLES.SPONSOR_VOS")," "))}function Ce(e,t){if(1&e&&(a.Sb(0,"div"),a.Hc(1,Ue,3,3,"div",2),a.Nb(2,"perun-web-apps-vos-list",9),a.Rb()),2&e){const e=a.dc(3);a.Ab(1),a.kc("ngIf",e.showDescription),a.Ab(1),a.kc("displayedColumns",a.oc(3,N))("vos",e.vos)}}function Pe(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){a.xc(e);const t=a.dc(2);return t.getVos(t.roles.get("SPONSOR").get("Vo"))})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",7),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(7,ke,1,0,"mat-spinner",1),a.Hc(8,Ce,3,4,"div",2),a.Rb()}if(2&e){const e=a.dc(2);a.Ab(5),a.Kc(a.fc(6,3,"ROLES.SPONSOR")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading)}}function Le(e,t){1&e&&(a.Sb(0,"mat-expansion-panel"),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",7),a.Sb(4,"p",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()),2&e&&(a.Ab(5),a.Kc(a.fc(6,1,"ROLES.PERUN_ADMIN")))}function we(e,t){if(1&e&&(a.Sb(0,"p",22),a.Jc(1),a.Rb()),2&e){const e=t.$implicit;a.Ab(1),a.Mc("",e[0]," ids: ",e[1],"")}}function He(e,t){if(1&e){const e=a.Tb();a.Sb(0,"mat-expansion-panel",6),a.Zb("opened",(function(){a.xc(e);const s=t.$implicit;return a.dc(2).getInnerKeys(s)})),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"mat-icon",7),a.Sb(4,"p",8),a.Jc(5),a.Rb(),a.Rb(),a.Rb(),a.Hc(6,we,2,2,"p",21),a.Rb()}if(2&e){const e=t.$implicit,s=a.dc(2);a.Ab(5),a.Kc(e),a.Ab(1),a.kc("ngForOf",s.currentIds)}}function De(e,t){if(1&e&&(a.Sb(0,"mat-accordion"),a.Hc(1,k,9,5,"mat-expansion-panel",4),a.Hc(2,w,9,5,"mat-expansion-panel",4),a.Hc(3,_,9,5,"mat-expansion-panel",4),a.Hc(4,B,9,5,"mat-expansion-panel",4),a.Hc(5,K,9,5,"mat-expansion-panel",4),a.Hc(6,X,9,5,"mat-expansion-panel",4),a.Hc(7,te,9,5,"mat-expansion-panel",4),a.Hc(8,re,9,5,"mat-expansion-panel",4),a.Hc(9,le,9,5,"mat-expansion-panel",4),a.Hc(10,fe,9,5,"mat-expansion-panel",4),a.Hc(11,Re,9,5,"mat-expansion-panel",4),a.Hc(12,ve,9,5,"mat-expansion-panel",4),a.Hc(13,ye,9,5,"mat-expansion-panel",4),a.Hc(14,Pe,9,5,"mat-expansion-panel",4),a.Hc(15,Le,7,3,"mat-expansion-panel",2),a.Hc(16,He,7,2,"mat-expansion-panel",5),a.Rb()),2&e){const e=a.dc();a.Ab(1),a.kc("ngIf",e.isSelf),a.Ab(1),a.kc("ngIf",e.isGroupAdmin),a.Ab(1),a.kc("ngIf",e.isGroupObserver),a.Ab(1),a.kc("ngIf",e.isVoAdmin),a.Ab(1),a.kc("ngIf",e.isVoObserver),a.Ab(1),a.kc("ngIf",e.isTrustedFacilityAdmin),a.Ab(1),a.kc("ngIf",e.isTopGroupCreator),a.Ab(1),a.kc("ngIf",e.isResourceAdmin),a.Ab(1),a.kc("ngIf",e.isResourceObserver),a.Ab(1),a.kc("ngIf",e.isResourceSelfService),a.Ab(1),a.kc("ngIf",e.isFacilityAdmin),a.Ab(1),a.kc("ngIf",e.isFacilityObserver),a.Ab(1),a.kc("ngIf",e.hasSponsorship),a.Ab(1),a.kc("ngIf",e.isSponsor),a.Ab(1),a.kc("ngIf",e.isPerunAdmin),a.Ab(1),a.kc("ngForOf",e.roleNames)}}let Fe=(()=>{class e{constructor(e,t,s,i,n,a,r,c,o){this.authzResolverService=e,this.usersManagerService=t,this.vosManagerService=s,this.facilitiesManagerService=i,this.resourcesManagerService=n,this.membersManagerService=a,this.groupsManagerService=r,this.route=c,this.store=o,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN"],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}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)(a.Mb(i.d),a.Mb(i.q),a.Mb(i.r),a.Mb(i.g),a.Mb(i.m),a.Mb(i.i),a.Mb(i.h),a.Mb(r.a),a.Mb(n.m))},e.\u0275cmp=a.Gb({type:e,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(e,t){2&e&&a.Eb("router-component",!0)},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","hideColumns"],["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","hideColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(e,t){1&e&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Hc(3,R,1,0,"mat-spinner",1),a.Hc(4,De,17,16,"mat-accordion",2)),2&e&&(a.Ab(1),a.Kc(a.fc(2,3,"ROLES.TITLE")),a.Ab(2),a.kc("ngIf",t.outerLoading),a.Ab(1),a.kc("ngIf",!t.outerLoading))},directives:[c.t,o.c,b.a,c.s,b.c,b.g,b.h,l.a,u.c,p.a,d.a,f.a,h.a,m.a,S.a],pipes:[g.d],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),e})()},zrcO:function(e,t,s){"use strict";s.r(t),s.d(t,"UsersModule",(function(){return pe}));var i=s("2kYt"),n=s("sEIs"),a=s("S5du"),r=s("BAI5"),c=s("faZ6"),o=s("m1kt"),b=s("Q/gj"),l=s("ECIY"),u=s("HHEo"),p=s("8clQ"),d=s("iyZ4"),f=s("EM62"),h=s("29Wa"),m=s("R7+U"),S=s("mFH5"),g=s("s2Ay");function R(e,t){if(1&e&&(f.Sb(0,"mat-option",5),f.Jc(1),f.Rb()),2&e){const e=t.$implicit;f.kc("value",e),f.Ab(1),f.Lc(" ",e," ")}}let I=(()=>{class e{constructor(e){this.guiConfigService=e,this.tablePageSizeOptions=p.a}ngOnInit(){this.preferredTablePageSize=this.guiConfigService.getNumber(d.c)}updatePreferredTablePageSize(){this.guiConfigService.setNumber(d.c,this.preferredTablePageSize)}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(d.b))},e.\u0275cmp=f.Gb({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&&(f.Sb(0,"h1",0),f.Jc(1),f.ec(2,"translate"),f.Rb(),f.Sb(3,"div",1),f.Sb(4,"mat-form-field",2),f.Sb(5,"mat-label"),f.Jc(6),f.ec(7,"translate"),f.Rb(),f.Sb(8,"mat-select",3),f.Zb("valueChange",(function(e){return t.preferredTablePageSize=e}))("valueChange",(function(){return t.updatePreferredTablePageSize()})),f.Hc(9,R,2,2,"mat-option",4),f.Rb(),f.Rb(),f.Rb()),2&e&&(f.Ab(1),f.Kc(f.fc(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),f.Ab(5),f.Kc(f.fc(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),f.Ab(2),f.kc("value",t.preferredTablePageSize),f.Ab(1),f.kc("ngForOf",t.tablePageSizeOptions))},directives:[h.c,h.g,m.a,i.s,S.n],pipes:[g.d],styles:[""]}),e})();var E=s("QOlj"),A=s("4sdY"),v=s("Ssnw"),T=s("EtYo"),O=s("bFHC"),M=s("Y2X+"),N=s("ma6z"),y=s("j+u3");const k=function(){return{color:"black"}},U=function(){return["/myProfile"]};function C(e,t){if(1&e&&(f.Sb(0,"div",1),f.Nb(1,"perun-web-apps-back-button"),f.Sb(2,"div",2),f.Nb(3,"mat-icon",3),f.ec(4,"translate"),f.Sb(5,"div",4),f.Sb(6,"div",5),f.Sb(7,"a",6),f.Jc(8),f.ec(9,"userFullName"),f.Rb(),f.Sb(10,"span",7),f.Jc(11),f.Rb(),f.Rb(),f.Sb(12,"span",8),f.Jc(13),f.ec(14,"translate"),f.ec(15,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Nb(16,"app-animated-router-outlet"),f.Rb()),2&e){const e=f.dc();f.Ab(3),f.lc("matTooltip",f.fc(4,8,"MENU_ITEMS.USER.ENTITY")),f.kc("ngStyle",f.oc(16,k)),f.Ab(4),f.kc("routerLink",f.oc(17,U)),f.Ab(1),f.Lc(" ",f.fc(9,10,e.user)," "),f.Ab(3),f.Lc(" \xa0#",e.user.id," "),f.Ab(2),f.Nc(" ",f.fc(14,12,"MENU_ITEMS.USER.ENTITY"),", ",f.fc(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",e.getUserType()," ")}}let P=(()=>{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(e=>{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)(f.Mb(A.a),f.Mb(v.m),f.Mb(n.f))},e.\u0275cmp=f.Gb({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&&f.Hc(0,C,17,18,"div",0),2&e&&f.kc("ngIf",void 0!==t.user)},directives:[i.t,T.a,O.a,M.a,i.w,n.i,N.a],pipes:[g.d,y.a],styles:[""]}),e})();var L=s("oXY0");const w=[{path:"",component:P,children:[{path:"",component:E.a,data:{animation:"UserOverviewPage"}},{path:"attributes",component:b.a,data:{animation:"UserAttributesPage"}},{path:"organizations",component:a.a,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:r.a,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:L.a,data:{animation:"UserRolesPage"}},{path:"settings",component:c.a,children:[{path:"",component:o.a,data:{animation:"UserSettingsOverviewPage"}},{path:"facilityAttributes",component:l.a,data:{animation:"UserSettingsFacilityAttributesPage",showPrincipal:!0}},{path:"passwordReset",component:u.c,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:I,data:{animation:"UserAppConfigurationPage"}}]}]}];let H=(()=>{class e{}return e.\u0275mod=f.Kb({type:e}),e.\u0275inj=f.Jb({factory:function(t){return new(t||e)},imports:[[n.j.forChild(w)],n.j]}),e})();var D=s("ulve"),F=s("Cd2c"),V=s("nIj0"),_=s("lQ7A"),x=s("3Uyd"),G=s("PBFl"),z=s("cePI"),B=s("FlRo"),J=s("KZIX"),Z=s("QcI7"),Y=s("+Tre"),K=s("OZ4H"),j=s("W1gw"),Q=s("csyo"),W=s("66mq"),X=s("k8N0"),q=s("gcUQ"),$=s("F1o0"),ee=s("zmEM"),te=s("iAde"),se=s("Meci"),ie=s("x9Az"),ne=s("oqI+"),ae=s("S17y"),re=s("Jb3d"),ce=s("qvOF"),oe=s("KoHB"),be=s("f3iV"),le=s("t47Z"),ue=s("PCNd");let pe=(()=>{class e{constructor(e){this.translate=e,e.addLangs(["en","cs"])}}return e.\u0275mod=f.Kb({type:e}),e.\u0275inj=f.Jb({factory:function(t){return new(t||e)(f.Wb(g.e))},imports:[[i.c,H,D.b,F.c,h.e,V.B,V.l,O.b,_.g,x.b,g.c.forChild({}),G.c,z.c,B.p,J.g,Z.e,G.c,Y.b,K.h,m.b,j.b,Q.b,W.b,M.b,X.b,q.g,S.l,$.c,ee.b,S.t,te.b,se.j,ie.g,ne.g,se.j,ae.g,re.c,ce.g,oe.a,be.b,u.d,d.a,le.b,ue.a]]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/1-es5.ff630ea1a94cc3190a04.js b/dist/apps/admin-gui/1-es5.ff630ea1a94cc3190a04.js new file mode 100644 index 000000000..46ea93da9 --- /dev/null +++ b/dist/apps/admin-gui/1-es5.ff630ea1a94cc3190a04.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&&Symbol.iterator in Object(e))return Array.from(e)}(e)||t(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){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 n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},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(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return c=e.done,e},e:function(e){o=!0,r=e},f:function(){try{c||null==i.return||i.return()}finally{if(o)throw r}}}}(e.vos);try{var a=function(){var t=i.value;e.memberService.getMemberByUser(t.id,e.userId).subscribe((function(n){e.groupService.getMemberGroups(n.id).subscribe((function(n){e.membersGroups=e.membersGroups.concat(n),e.vos.indexOf(t)===e.vos.length-1&&(e.memberRefresh=!1)}))}))};for(s.s();!(i=s.n()).done;)a()}catch(r){s.e(r)}finally{s.f()}0===n.length&&(e.memberRefresh=!1)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(b.Mb(c.q),b.Mb(c.i),b.Mb(o.pb),b.Mb(c.h),b.Mb(r.m),b.Mb(u.a))},e.\u0275cmp=b.Gb({type:e,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(e,t){2&e&&b.Eb("router-component",!0)},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","hideColumns","disableMembers","filter","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","hideColumns","disableMembers","filter","page"],[1,"mt-5"]],template:function(e,t){1&e&&(b.Hc(0,g,3,3,"h1",0),b.Hc(1,h,3,3,"h1",0),b.Sb(2,"perun-web-apps-refresh-button",1),b.Zb("refresh",(function(){return t.refreshMemberTable()})),b.Rb(),b.Sb(3,"perun-web-apps-immediate-filter",2),b.Zb("filter",(function(e){return t.memberFilter(e)})),b.Rb(),b.Hc(4,v,1,0,"mat-spinner",3),b.Hc(5,R,1,6,"perun-web-apps-groups-list",4),b.Hc(6,y,8,6,"div",5)),2&e&&(b.kc("ngIf",t.showPrincipal),b.Ab(1),b.kc("ngIf",!t.showPrincipal),b.Ab(2),b.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),b.Ab(1),b.kc("ngIf",t.memberRefresh),b.Ab(1),b.kc("ngIf",!t.memberRefresh),b.Ab(1),b.kc("ngIf",!t.showPrincipal))},directives:[l.t,f.a,p.a,d.c,m.a],pipes:[S.d],styles:[""]}),e}()},ECIY:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var s=n("X2Q7"),r=n("Ssnw"),c=n("EM62"),o=n("sEIs"),b=n("2kYt"),u=n("bdug"),l=n("csyo"),f=n("s2Ay");function p(e,t){if(1&e&&c.Nb(0,"app-two-entity-attribute-page",3),2&e){var n=c.dc();c.kc("entityValues",n.facilities)("firstEntity","user")("firstEntityId",n.userId)("secondEntity","facility")}}function d(e,t){1&e&&c.Nb(0,"mat-spinner",4)}var m=function(){var e=function(){function e(t,n,s,a){i(this,e),this.route=t,this.storage=n,this.facilitiesManagerService=s,this.store=a,this.facilities=[]}return a(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,!0===(this.showPrincipal=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.parent.params.subscribe((function(t){return e.userId=t.userId})),this.facilitiesManagerService.getAssignedFacilitiesByUser(this.userId).subscribe((function(t){e.facilities=t,e.loading=!1}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Mb(o.a),c.Mb(r.m),c.Mb(s.g),c.Mb(r.m))},e.\u0275cmp=c.Gb({type:e,selectors:[["app-user-settings-facility-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Hc(3,p,1,4,"app-two-entity-attribute-page",1),c.Hc(4,d,1,0,"mat-spinner",2)),2&e&&(c.Ab(1),c.Kc(c.fc(2,3,"USER_DETAIL.SETTINGS.FACILITY_ATTRIBUTES.TITLE")),c.Ab(2),c.kc("ngIf",!t.loading),c.Ab(1),c.kc("ngIf",t.loading))},directives:[b.t,u.a,l.c],pipes:[f.d],styles:[""]}),e}()},"Q/gj":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var s=n("Ssnw"),r=(n("HHEo"),n("cqs0")),c=n("8clQ"),o=n("mEf3"),b=n("X2Q7"),u=n("iyZ4"),l=n("+0js"),f=n("IDQ9"),p=n("EM62"),d=n("sEIs"),m=n("OZ4H"),S=n("s2Ay"),g=n("KZIX"),h=n("0XDM"),v=n("PBFl"),I=n("A8Ay"),R=n("2kYt"),E=n("csyo"),A=n("LKLE"),y=n("bdug"),T=["list"];function k(e,t){1&e&&(p.Jc(0),p.ec(1,"translate")),2&e&&p.Lc(" ",p.fc(1,1,"ADMIN_USER.ENTITY")," ")}function O(e,t){1&e&&p.Nb(0,"mat-spinner",11)}function M(e,t){if(1&e){var n=p.Tb();p.Sb(0,"perun-web-apps-attributes-list",12,13),p.Zb("page",(function(e){return p.xc(n),p.dc().pageChanged(e)})),p.Rb()}if(2&e){var i=p.dc();p.kc("pageSize",i.pageSize)("filterValue",i.filterValue)("attributes",i.attributes)("selection",i.selection)}}function N(e,t){1&e&&(p.Jc(0),p.ec(1,"translate"),p.ec(2,"translate")),2&e&&p.Mc(" ",p.fc(1,2,"ADMIN_USER.ENTITY")," - ",p.fc(2,4,"FACILITY_DETAIL.ENTITY")," ")}function U(e,t){if(1&e&&p.Nb(0,"app-two-entity-attribute-page",16),2&e){var n=p.dc(3);p.kc("firstEntity","user")("firstEntityId",n.userId)("secondEntity","facility")}}function C(e,t){if(1&e&&p.Hc(0,U,1,3,"app-two-entity-attribute-page",15),2&e){var n=p.dc(2);p.kc("ngIf",!n.loading)}}function P(e,t){1&e&&(p.Sb(0,"mat-tab"),p.Hc(1,N,3,6,"ng-template",2),p.Hc(2,C,1,1,"ng-template",14),p.Rb())}var w=function(){var e=function(){function e(t,n,s,a,c,o,b,l){var f=this;i(this,e),this.route=t,this.attributesManager=n,this.notificator=s,this.dialog=a,this.translate=c,this.tableConfigService=o,this.store=b,this.authResolver=l,this.selection=new r.c(!0,[]),this.attributes=[],this.filterValue="",this.tableId=u.r,this.translate.get("USER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe((function(e){return f.saveSuccessMessage=e})),this.translate.get("USER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe((function(e){return f.deleteSuccessMessage=e}))}return a(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe((function(t){e.userId=t.userId,void 0===e.userId&&(e.userId=e.store.getPerunPrincipal().userId),e.userFacilityAttAuth=e.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{id:e.userId,beanName:"User"}]),e.refreshTable()}))}},{key:"onCreate",value:function(){var e=this,t=Object(c.o)();t.width="1050px",t.data={entityId:this.userId,entity:"user",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(f.a,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"onSave",value:function(){var e=this;this.list.updateMapAttributes();var t=Object(c.o)();t.width="450px",t.data={entityId:this.userId,entity:"user",attributes:this.selection.selected},this.dialog.open(l.f,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"onDelete",value:function(){var e=this,t=Object(c.o)();t.width="450px",t.data={entityId:this.userId,entity:"user",attributes:this.selection.selected},this.dialog.open(o.a,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.attributesManager.getUserAttributes(this.userId).subscribe((function(t){e.attributes=t,e.selection.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)(p.Mb(d.a),p.Mb(b.c),p.Mb(s.l),p.Mb(m.b),p.Mb(S.e),p.Mb(u.pb),p.Mb(s.m),p.Mb(s.h))},e.\u0275cmp=p.Gb({type:e,selectors:[["app-user-settings-attributes"]],viewQuery:function(e,t){var n;1&e&&p.Qc(T,!0),2&e&&p.sc(n=p.ac())&&(t.list=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&p.Eb("router-component",!0)},decls:20,vars:18,consts:[[1,"page-subtitle"],[1,"mb-2"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(p.Sb(0,"h1",0),p.Jc(1),p.ec(2,"translate"),p.Rb(),p.Sb(3,"mat-tab-group"),p.Sb(4,"mat-tab",1),p.Hc(5,k,2,3,"ng-template",2),p.Sb(6,"perun-web-apps-refresh-button",3),p.Zb("refresh",(function(){return t.refreshTable()})),p.Rb(),p.Sb(7,"button",4),p.Zb("click",(function(){return t.onCreate()})),p.Jc(8),p.ec(9,"translate"),p.Rb(),p.Sb(10,"button",5),p.Zb("click",(function(){return t.onSave()})),p.Jc(11),p.ec(12,"translate"),p.Rb(),p.Sb(13,"button",6),p.Zb("click",(function(){return t.onDelete()})),p.Jc(14),p.ec(15,"translate"),p.Rb(),p.Sb(16,"perun-web-apps-immediate-filter",7),p.Zb("filter",(function(e){return t.applyFilter(e)})),p.Rb(),p.Hc(17,O,1,0,"mat-spinner",8),p.Hc(18,M,2,4,"perun-web-apps-attributes-list",9),p.Rb(),p.Hc(19,P,3,0,"mat-tab",10),p.Rb()),2&e&&(p.Ab(1),p.Kc(p.fc(2,10,"USER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),p.Ab(7),p.Lc(" ",p.fc(9,12,"USER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),p.Ab(2),p.kc("disabled",0===t.selection.selected.length),p.Ab(1),p.Lc(" ",p.fc(12,14,"USER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),p.Ab(2),p.kc("disabled",0===t.selection.selected.length),p.Ab(1),p.Lc(" ",p.fc(15,16,"USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),p.Ab(2),p.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),p.Ab(1),p.kc("ngIf",t.loading),p.Ab(1),p.kc("ngIf",!t.loading),p.Ab(1),p.kc("ngIf",t.userFacilityAttAuth))},directives:[g.c,g.a,g.d,h.a,v.b,I.a,R.t,E.c,A.a,g.b,y.a],pipes:[S.d],styles:[""]}),e}()},QOlj:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var s=n("X2Q7"),r=n("FlRo"),c=n("Ssnw"),o=n("nyAh"),b=n("8clQ"),u=n("+0js"),l=n("EM62"),f=n("sEIs"),p=n("OZ4H"),d=n("2kYt"),m=n("ZG5M"),S=n("Meci"),g=n("PBFl"),h=n("bFHC"),v=n("s2Ay");function I(e,t){1&e&&l.Nb(0,"th",12)}function R(e,t){if(1&e&&(l.Sb(0,"td",13),l.Jc(1),l.Rb()),2&e){var n=t.$implicit;l.Ab(1),l.Lc(" ",n.displayName,": ")}}function E(e,t){1&e&&l.Nb(0,"th",12)}function A(e,t){if(1&e){var n=l.Tb();l.Sb(0,"td",14),l.Jc(1),l.Sb(2,"button",15),l.Zb("click",(function(){return l.xc(n),l.dc(2).changeEmail()})),l.Sb(3,"mat-icon"),l.Jc(4,"edit"),l.Rb(),l.Rb(),l.Rb()}if(2&e){var i=t.$implicit;l.Ab(1),l.Lc(" ",i.value," ")}}function y(e,t){1&e&&l.Nb(0,"tr",16)}function T(e,t){if(1&e&&(l.Sb(0,"div",2),l.Sb(1,"mat-card",3),l.Sb(2,"mat-card-header"),l.Sb(3,"mat-card-title"),l.Sb(4,"h1",4),l.Jc(5),l.ec(6,"translate"),l.Rb(),l.Rb(),l.Rb(),l.Sb(7,"mat-card-content"),l.Sb(8,"table",5),l.Qb(9,6),l.Hc(10,I,1,0,"th",7),l.Hc(11,R,2,1,"td",8),l.Pb(),l.Qb(12,9),l.Hc(13,E,1,0,"th",7),l.Hc(14,A,5,1,"td",10),l.Pb(),l.Hc(15,y,1,0,"tr",11),l.Rb(),l.Rb(),l.Rb(),l.Rb()),2&e){var n=l.dc();l.Ab(5),l.Kc(l.fc(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),l.Ab(3),l.kc("dataSource",n.mailDataSource),l.Ab(7),l.kc("matRowDefColumns",n.displayedColumns)}}var k=function(){var e=function(){function e(t,n,s,a,r){i(this,e),this.userService=t,this.attributeService=n,this.storeService=s,this.route=a,this.dialog=r,this.navItems=[],this.displayedColumns=["name","value"],this.inMyProfile=!1}return a(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe((function(t){void 0!==t.userId?e.userService.getUserById(t.userId).subscribe((function(t){e.user=t,e.initNavItems()})):(e.inMyProfile=!0,e.userID=e.storeService.getPerunPrincipal().user.id,e.attributeService.getUserAttributeByName(e.userID,o.a.USER_DEF_PREFERRED_MAIL).subscribe((function(t){e.preferredMail=t,e.handleMailNotDefined(),e.mailDataSource=new r.o([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-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,t=Object(b.o)();t.width="350px",t.data={userId:this.userID},this.dialog.open(u.c,t).afterClosed().subscribe((function(t){t&&e.attributeService.getUserAttributeByName(e.userID,o.a.USER_DEF_PREFERRED_MAIL).subscribe((function(t){e.preferredMail=t,e.handleMailNotDefined(),e.mailDataSource=new r.o([e.preferredMail])}))}))}},{key:"handleMailNotDefined",value:function(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:Object(b.t)(o.a.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Mb(s.q),l.Mb(s.c),l.Mb(c.m),l.Mb(f.a),l.Mb(p.b))},e.\u0275cmp=l.Gb({type:e,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&l.Eb("router-component",!0)},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&&(l.Hc(0,T,16,5,"div",0),l.Nb(1,"perun-web-apps-menu-buttons-field",1)),2&e&&(l.kc("ngIf",t.inMyProfile),l.Ab(1),l.kc("items",t.navItems)("size","small"))},directives:[d.t,m.a,S.a,S.f,S.m,S.d,r.n,r.c,r.i,r.b,r.m,r.h,r.a,g.b,h.a,r.l],pipes:[v.d],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),e}()},S5du:function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var s=n("X2Q7"),r=n("Ssnw"),c=n("iyZ4"),o=n("EM62"),b=n("sEIs"),u=n("2kYt"),l=n("0XDM"),f=n("A8Ay"),p=n("csyo"),d=n("qySP"),m=n("s2Ay");function S(e,t){1&e&&(o.Sb(0,"h1",6),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function g(e,t){1&e&&(o.Sb(0,"h1",6),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function h(e,t){1&e&&o.Nb(0,"mat-spinner",7)}function v(e,t){if(1&e){var n=o.Tb();o.Sb(0,"perun-web-apps-vos-list",8),o.Zb("page",(function(e){return o.xc(n),o.dc().memberPageChanged(e)})),o.Rb()}if(2&e){var i=o.dc();o.kc("displayedColumns",i.displayedColumns)("pageSize",i.memberPageSize)("filterValue",i.memberFilterValue)("vos",i.vosWhereIsMember)}}function I(e,t){1&e&&o.Nb(0,"mat-spinner",7)}function R(e,t){if(1&e){var n=o.Tb();o.Sb(0,"perun-web-apps-vos-list",8),o.Zb("page",(function(e){return o.xc(n),o.dc(2).adminPageChanged(e)})),o.Rb()}if(2&e){var i=o.dc(2);o.kc("displayedColumns",i.displayedColumns)("pageSize",i.adminPageSize)("filterValue",i.adminFilterValue)("vos",i.vosWhereIsAdmin)}}function E(e,t){if(1&e){var n=o.Tb();o.Sb(0,"div",9),o.Sb(1,"h1",6),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Sb(4,"perun-web-apps-refresh-button",1),o.Zb("refresh",(function(){return o.xc(n),o.dc().refreshAdminTable()})),o.Rb(),o.Sb(5,"perun-web-apps-immediate-filter",2),o.Zb("filter",(function(e){return o.xc(n),o.dc().applyAdminFilter(e)})),o.Rb(),o.Hc(6,I,1,0,"mat-spinner",3),o.Hc(7,R,1,4,"perun-web-apps-vos-list",4),o.Rb()}if(2&e){var i=o.dc();o.Ab(2),o.Kc(o.fc(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),o.Ab(3),o.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),o.Ab(1),o.kc("ngIf",i.adminRefresh),o.Ab(1),o.kc("ngIf",!i.adminRefresh)}}var A=function(){var e=function(){function e(t,n,s,a,r){i(this,e),this.usersService=t,this.authResolver=n,this.tableConfigService=s,this.store=a,this.route=r,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=c.db,this.memberTableId=c.eb}return a(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(t){return e.userId=t.userId})),this.refreshAdminTable(),this.refreshMemberTable()}},{key:"refreshMemberTable",value:function(){var e=this;this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe((function(t){e.vosWhereIsMember=t,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(t){e.vosWhereIsAdmin=t,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(t){return new(t||e)(o.Mb(s.q),o.Mb(r.h),o.Mb(c.pb),o.Mb(r.m),o.Mb(b.a))},e.\u0275cmp=o.Gb({type:e,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(e,t){2&e&&o.Eb("router-component",!0)},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&&(o.Hc(0,S,3,3,"h1",0),o.Hc(1,g,3,3,"h1",0),o.Sb(2,"perun-web-apps-refresh-button",1),o.Zb("refresh",(function(){return t.refreshMemberTable()})),o.Rb(),o.Sb(3,"perun-web-apps-immediate-filter",2),o.Zb("filter",(function(e){return t.applyMemberFilter(e)})),o.Rb(),o.Hc(4,h,1,0,"mat-spinner",3),o.Hc(5,v,1,4,"perun-web-apps-vos-list",4),o.Hc(6,E,8,6,"div",5)),2&e&&(o.kc("ngIf",t.isMyProfile),o.Ab(1),o.kc("ngIf",!t.isMyProfile),o.Ab(2),o.kc("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),o.Ab(1),o.kc("ngIf",t.memberRefresh),o.Ab(1),o.kc("ngIf",!t.memberRefresh),o.Ab(1),o.kc("ngIf",!t.isMyProfile))},directives:[u.t,l.a,f.a,p.c,d.a],pipes:[m.d],styles:[""]}),e}()},faZ6:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var s=n("EM62"),r=n("ma6z"),c=function(){var e=function(){function e(){i(this,e)}return a(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Gb({type:e,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&s.Eb("router-component",!0)},decls:1,vars:0,template:function(e,t){1&e&&s.Nb(0,"app-animated-router-outlet")},directives:[r.a],styles:[""]}),e}()},m1kt:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var s=n("X2Q7"),r=n("EM62"),c=n("sEIs"),o=n("2kYt"),b=n("csyo"),u=n("ZG5M");function l(e,t){1&e&&r.Nb(0,"mat-spinner",2)}function f(e,t){if(1&e&&(r.Sb(0,"div"),r.Nb(1,"perun-web-apps-menu-buttons-field",3),r.Rb()),2&e){var n=r.dc();r.Ab(1),r.kc("items",n.navItems)("size","small")}}var p=function(){var e=function(){function e(t,n){i(this,e),this.route=t,this.userManager=n,this.navItems=[],this.loading=!1}return a(e,[{key:"ngOnInit",value:function(){var e=this;window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe((function(t){e.userManager.getUserById(t.userId).subscribe((function(t){e.isServiceUser=t.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(t){return new(t||e)(r.Mb(c.a),r.Mb(s.q))},e.\u0275cmp=r.Gb({type:e,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Eb("router-component",!0)},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&&(r.Hc(0,l,1,0,"mat-spinner",0),r.Hc(1,f,2,2,"div",1)),2&e&&(r.kc("ngIf",t.loading),r.Ab(1),r.kc("ngIf",!t.loading))},directives:[o.t,b.c,u.a],styles:[""]}),e}()},oXY0:function(t,n,s){"use strict";s.d(n,"a",(function(){return xe}));var r=s("X2Q7"),c=s("Ssnw"),o=s("EM62"),b=s("sEIs"),u=s("2kYt"),l=s("csyo"),f=s("3Uyd"),p=s("bFHC"),d=s("Meci"),m=s("qySP"),S=s("NC8S"),g=s("K9kF"),h=s("23RZ"),v=s("w+DT"),I=s("nz2m"),R=s("s2Ay");function E(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function A(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function y(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function T(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.SELF_VOS")," "))}function k(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function O(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.SELF_IDENTITIES")," "))}var M=function(){return["user","id","name"]};function N(e,t){if(1&e&&(o.Sb(0,"div",11),o.Hc(1,k,3,3,"div",2),o.Hc(2,O,3,3,"div",2),o.Nb(3,"app-users-list",12),o.Rb()),2&e){var n=o.dc(4);o.Ab(1),o.kc("ngIf",!n.showDescription),o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("users",n.users)("disableRouting",!0)("displayedColumns",o.oc(5,M))}}var U=function(){return["id","name","shortName"]};function C(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,y,3,3,"div",2),o.Hc(2,T,3,3,"div",2),o.Nb(3,"perun-web-apps-vos-list",9),o.Hc(4,N,4,6,"div",10),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",!n.showDescription),o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(5,U))("vos",n.vos),o.Ab(1),o.kc("ngIf",n.users.length)}}function P(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getSelfData()})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",7),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,A,1,0,"mat-spinner",1),o.Hc(8,C,5,6,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.SELF")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function w(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function L(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}var H=function(){return["select","menu","expiration","recent"]};function D(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,L,3,3,"div",2),o.Nb(2,"perun-web-apps-groups-list",14),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("groups",n.groups)("hideColumns",o.oc(3,H))}}function F(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getAdminGroupsAndVos()})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",13),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,w,1,0,"mat-spinner",1),o.Hc(8,D,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.GROUPADMIN")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function V(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function _(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}var x=function(){return["select","menu","expiration"]};function G(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,_,3,3,"div",2),o.Nb(2,"perun-web-apps-groups-list",14),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("groups",n.groups)("hideColumns",o.oc(3,x))}}function z(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getGroupsAndVos("GROUPOBSERVER")})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",13),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,V,1,0,"mat-spinner",1),o.Hc(8,G,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.GROUPOBSERVER")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function B(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function J(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.VOADMIN_VOS")," "))}function Z(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,J,3,3,"div",2),o.Nb(2,"perun-web-apps-vos-list",9),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,U))("vos",n.vos)}}function Y(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getAdminVos()})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",15),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,B,1,0,"mat-spinner",1),o.Hc(8,Z,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.VOADMIN")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function K(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function j(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.VOOBSERVER_VOS")," "))}function Q(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,j,3,3,"div",2),o.Nb(2,"perun-web-apps-vos-list",9),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,U))("vos",n.vos)}}function W(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){o.xc(n);var e=o.dc(2);return e.getVos(e.roles.get("VOOBSERVER").get("Vo"))})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",15),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,K,1,0,"mat-spinner",1),o.Hc(8,Q,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.VOOBSERVER")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function X(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function q(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function $(e,t){if(1&e&&(o.Sb(0,"div"),o.Sb(1,"div"),o.Hc(2,q,3,3,"div",2),o.Nb(3,"perun-web-apps-vos-list",9),o.Rb(),o.Rb()),2&e){var n=o.dc(3);o.Ab(2),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,U))("vos",n.vos)}}function ee(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){o.xc(n);var e=o.dc(2);return e.getVos(e.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",15),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,X,1,0,"mat-spinner",1),o.Hc(8,$,4,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.TRUSTEDFACILITYADMIN")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function te(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function ne(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function ie(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,ne,3,3,"div",2),o.Nb(2,"perun-web-apps-vos-list",9),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,U))("vos",n.vos)}}function se(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){o.xc(n);var e=o.dc(2);return e.getVos(e.roles.get("TOPGROUPCREATOR").get("Vo"))})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",15),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,te,1,0,"mat-spinner",1),o.Hc(8,ie,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.TOPGROUPCREATOR")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function ae(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function re(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}var ce=function(){return["id","name","vo","facility","description"]};function oe(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,re,3,3,"div",2),o.Nb(2,"perun-web-apps-resources-list",17),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("resources",n.resources)("routingVo",!0)("displayedColumns",o.oc(4,ce))}}function be(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getResourcesData("RESOURCEADMIN")})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",16),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,ae,1,0,"mat-spinner",1),o.Hc(8,oe,3,5,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.RESOURCEADMIN")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function ue(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function le(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function fe(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,le,3,3,"div",2),o.Nb(2,"perun-web-apps-resources-list",17),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("resources",n.resources)("routingVo",!0)("displayedColumns",o.oc(4,ce))}}function pe(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getResourcesData("RESOURCEOBSERVER")})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",16),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,ue,1,0,"mat-spinner",1),o.Hc(8,fe,3,5,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.RESOURCEOBSERVER")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function de(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function me(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function Se(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,me,3,3,"div",2),o.Nb(2,"perun-web-apps-resources-list",17),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("resources",n.resources)("routingVo",!0)("displayedColumns",o.oc(4,ce))}}function ge(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getResourcesData("RESOURCESELFSERVICE")})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",16),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,de,1,0,"mat-spinner",1),o.Hc(8,Se,3,5,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.RESOURCESELFSERVICE")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function he(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function ve(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}var Ie=function(){return["id","name","description"]};function Re(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,ve,3,3,"div",2),o.Nb(2,"perun-web-apps-facilities-list",19),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,Ie))("facilities",n.facilities)}}function Ee(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getAdminFacilities()})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",18),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,he,1,0,"mat-spinner",1),o.Hc(8,Re,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.FACILITYADMIN")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function Ae(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function ye(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function Te(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,ye,3,3,"div",2),o.Nb(2,"perun-web-apps-facilities-list",19),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,Ie))("facilities",n.facilities)}}function ke(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getFacilities("FACILITYOBSERVER")})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",18),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,Ae,1,0,"mat-spinner",1),o.Hc(8,Te,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.FACILITYOBSERVER")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function Oe(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function Me(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}var Ne=function(){return["checkbox","email","logins","status","groupStatus","organization","type"]};function Ue(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,Me,3,3,"div",2),o.Nb(2,"perun-web-apps-members-list",20),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("members",n.members)("hideColumns",o.oc(3,Ne))}}function Ce(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){return o.xc(n),o.dc(2).getMembers()})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",7),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,Oe,1,0,"mat-spinner",1),o.Hc(8,Ue,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.SPONSORSHIP")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function Pe(e,t){1&e&&o.Nb(0,"mat-spinner",3)}function we(e,t){1&e&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&e&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"ROLES.SPONSOR_VOS")," "))}function Le(e,t){if(1&e&&(o.Sb(0,"div"),o.Hc(1,we,3,3,"div",2),o.Nb(2,"perun-web-apps-vos-list",9),o.Rb()),2&e){var n=o.dc(3);o.Ab(1),o.kc("ngIf",n.showDescription),o.Ab(1),o.kc("displayedColumns",o.oc(3,U))("vos",n.vos)}}function He(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){o.xc(n);var e=o.dc(2);return e.getVos(e.roles.get("SPONSOR").get("Vo"))})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",7),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(7,Pe,1,0,"mat-spinner",1),o.Hc(8,Le,3,4,"div",2),o.Rb()}if(2&e){var i=o.dc(2);o.Ab(5),o.Kc(o.fc(6,3,"ROLES.SPONSOR")),o.Ab(2),o.kc("ngIf",i.loading),o.Ab(1),o.kc("ngIf",!i.loading)}}function De(e,t){1&e&&(o.Sb(0,"mat-expansion-panel"),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",7),o.Sb(4,"p",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Rb()),2&e&&(o.Ab(5),o.Kc(o.fc(6,1,"ROLES.PERUN_ADMIN")))}function Fe(e,t){if(1&e&&(o.Sb(0,"p",22),o.Jc(1),o.Rb()),2&e){var n=t.$implicit;o.Ab(1),o.Mc("",n[0]," ids: ",n[1],"")}}function Ve(e,t){if(1&e){var n=o.Tb();o.Sb(0,"mat-expansion-panel",6),o.Zb("opened",(function(){o.xc(n);var e=t.$implicit;return o.dc(2).getInnerKeys(e)})),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"mat-icon",7),o.Sb(4,"p",8),o.Jc(5),o.Rb(),o.Rb(),o.Rb(),o.Hc(6,Fe,2,2,"p",21),o.Rb()}if(2&e){var i=t.$implicit,s=o.dc(2);o.Ab(5),o.Kc(i),o.Ab(1),o.kc("ngForOf",s.currentIds)}}function _e(e,t){if(1&e&&(o.Sb(0,"mat-accordion"),o.Hc(1,P,9,5,"mat-expansion-panel",4),o.Hc(2,F,9,5,"mat-expansion-panel",4),o.Hc(3,z,9,5,"mat-expansion-panel",4),o.Hc(4,Y,9,5,"mat-expansion-panel",4),o.Hc(5,W,9,5,"mat-expansion-panel",4),o.Hc(6,ee,9,5,"mat-expansion-panel",4),o.Hc(7,se,9,5,"mat-expansion-panel",4),o.Hc(8,be,9,5,"mat-expansion-panel",4),o.Hc(9,pe,9,5,"mat-expansion-panel",4),o.Hc(10,ge,9,5,"mat-expansion-panel",4),o.Hc(11,Ee,9,5,"mat-expansion-panel",4),o.Hc(12,ke,9,5,"mat-expansion-panel",4),o.Hc(13,Ce,9,5,"mat-expansion-panel",4),o.Hc(14,He,9,5,"mat-expansion-panel",4),o.Hc(15,De,7,3,"mat-expansion-panel",2),o.Hc(16,Ve,7,2,"mat-expansion-panel",5),o.Rb()),2&e){var n=o.dc();o.Ab(1),o.kc("ngIf",n.isSelf),o.Ab(1),o.kc("ngIf",n.isGroupAdmin),o.Ab(1),o.kc("ngIf",n.isGroupObserver),o.Ab(1),o.kc("ngIf",n.isVoAdmin),o.Ab(1),o.kc("ngIf",n.isVoObserver),o.Ab(1),o.kc("ngIf",n.isTrustedFacilityAdmin),o.Ab(1),o.kc("ngIf",n.isTopGroupCreator),o.Ab(1),o.kc("ngIf",n.isResourceAdmin),o.Ab(1),o.kc("ngIf",n.isResourceObserver),o.Ab(1),o.kc("ngIf",n.isResourceSelfService),o.Ab(1),o.kc("ngIf",n.isFacilityAdmin),o.Ab(1),o.kc("ngIf",n.isFacilityObserver),o.Ab(1),o.kc("ngIf",n.hasSponsorship),o.Ab(1),o.kc("ngIf",n.isSponsor),o.Ab(1),o.kc("ngIf",n.isPerunAdmin),o.Ab(1),o.kc("ngForOf",n.roleNames)}}var xe=function(){var t=function(){function t(e,n,s,a,r,c,o,b,u){i(this,t),this.authzResolverService=e,this.usersManagerService=n,this.vosManagerService=s,this.facilitiesManagerService=a,this.resourcesManagerService=r,this.membersManagerService=c,this.groupsManagerService=o,this.route=b,this.store=u,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}return a(t,[{key:"ngOnInit",value:function(){var e=this;this.outerLoading=!0,this.route.parent.params.subscribe((function(t){t.userId?(e.userId=t.userId,e.authzResolverService.getUserRoleNames(e.userId).subscribe((function(t){e.roleNames=t.map((function(e){return e.toUpperCase()})),e.authzResolverService.getUserRoles(e.userId).subscribe((function(t){e.prepareRoles(t)}))}))):(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 t=this;this.roleNames.forEach((function(n){var i=new Map;switch(Object.keys(e[n]).forEach((function(t){i.set(t,e[n][t])})),n){case"SELF":t.isSelf=!0;break;case"GROUPADMIN":t.isGroupAdmin=!0;break;case"VOADMIN":t.isVoAdmin=!0;break;case"RESOURCEADMIN":t.isResourceAdmin=!0;break;case"FACILITYADMIN":t.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":t.isTopGroupCreator=!0;break;case"SPONSORSHIP":t.hasSponsorship=!0;break;case"SPONSOR":t.isSponsor=!0;break;case"RESOURCESELFSERVICE":t.isResourceSelfService=!0;break;case"VOOBSERVER":t.isVoObserver=!0;break;case"RESOURCEOBSERVER":t.isResourceObserver=!0;break;case"GROUPOBSERVER":t.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":t.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":t.isFacilityObserver=!0;break;case"PERUNADMIN":t.isPerunAdmin=!0}t.roles.set(n,i)})),this.roleNames=this.roleNames.filter((function(e){return!t.roleFilter.includes(e)})),this.outerLoading=!1}},{key:"getAdminGroupsAndVos",value:function(){var t=this;this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe((function(n){t.groups=n;var i=e(new Set(t.groups.map((function(e){return e.voId}))));t.getVos(i)}))}},{key:"getVos",value:function(e){var t=this;this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(e).subscribe((function(e){t.vos=e,t.loading=!1}))}},{key:"getInnerKeys",value:function(e){if(this.roles.get(e)){for(var t=this.roles.get(e).entries(),n=[],i=t.next().value;i;)n.push(i),i=t.next().value;this.currentIds=n}else this.currentIds=[]}},{key:"getAdminVos",value:function(){var e=this;this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe((function(t){e.vos=t,e.loading=!1}))}},{key:"getAdminFacilities",value:function(){var e=this;this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe((function(t){e.facilities=t.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(t){e.vos=t;var n=e.roles.get("SELF").get("User");n?e.usersManagerService.getUsersByIds(n).subscribe((function(t){e.users=t,e.loading=!1})):e.loading=!1}))}},{key:"getResourcesData",value:function(e){var t=this;this.loading=!0;var n=this.roles.get(e).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(n).subscribe((function(e){t.resources=e,t.vos=t.resources.map((function(e){return e.vo})).filter((function(e,t,n){return n.indexOf(e)===t})),t.facilities=t.resources.map((function(e){return{facility:e.facility}})).filter((function(e,t,n){return n.indexOf(e)===t})),t.loading=!1}))}},{key:"getMembers",value:function(){var e=this;this.loading=!0;var t=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(t).subscribe((function(t){e.members=t,e.loading=!1}))}},{key:"getGroupsAndVos",value:function(e){var t=this;this.loading=!0;var n=this.roles.get(e).get("Vo"),i=this.roles.get(e).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(i).subscribe((function(e){t.groups=e,t.vosManagerService.getVosByIds(n).subscribe((function(e){t.vos=e,t.loading=!1}))}))}},{key:"getFacilities",value:function(e){var t=this;this.loading=!0,this.facilities=[];var n=this.roles.get(e).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(n).subscribe((function(e){t.facilities=e.map((function(e){return{facility:e}})),t.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(r.d),o.Mb(r.q),o.Mb(r.r),o.Mb(r.g),o.Mb(r.m),o.Mb(r.i),o.Mb(r.h),o.Mb(b.a),o.Mb(c.m))},t.\u0275cmp=o.Gb({type:t,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(e,t){2&e&&o.Eb("router-component",!0)},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","hideColumns"],["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","hideColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(e,t){1&e&&(o.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Hc(3,E,1,0,"mat-spinner",1),o.Hc(4,_e,17,16,"mat-accordion",2)),2&e&&(o.Ab(1),o.Kc(o.fc(2,3,"ROLES.TITLE")),o.Ab(2),o.kc("ngIf",t.outerLoading),o.Ab(1),o.kc("ngIf",!t.outerLoading))},directives:[u.t,l.c,f.a,u.s,f.c,f.g,f.h,p.a,d.c,m.a,S.a,g.a,h.a,v.a,I.a],pipes:[R.d],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),t}()},zrcO:function(e,t,n){"use strict";n.r(t),n.d(t,"UsersModule",(function(){return he}));var s=n("2kYt"),r=n("sEIs"),c=n("S5du"),o=n("BAI5"),b=n("faZ6"),u=n("m1kt"),l=n("Q/gj"),f=n("ECIY"),p=n("HHEo"),d=n("8clQ"),m=n("iyZ4"),S=n("EM62"),g=n("29Wa"),h=n("R7+U"),v=n("mFH5"),I=n("s2Ay");function R(e,t){if(1&e&&(S.Sb(0,"mat-option",5),S.Jc(1),S.Rb()),2&e){var n=t.$implicit;S.kc("value",n),S.Ab(1),S.Lc(" ",n," ")}}var E,A=((E=function(){function e(t){i(this,e),this.guiConfigService=t,this.tablePageSizeOptions=d.a}return a(e,[{key:"ngOnInit",value:function(){this.preferredTablePageSize=this.guiConfigService.getNumber(m.c)}},{key:"updatePreferredTablePageSize",value:function(){this.guiConfigService.setNumber(m.c,this.preferredTablePageSize)}}]),e}()).\u0275fac=function(e){return new(e||E)(S.Mb(m.b))},E.\u0275cmp=S.Gb({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&&(S.Sb(0,"h1",0),S.Jc(1),S.ec(2,"translate"),S.Rb(),S.Sb(3,"div",1),S.Sb(4,"mat-form-field",2),S.Sb(5,"mat-label"),S.Jc(6),S.ec(7,"translate"),S.Rb(),S.Sb(8,"mat-select",3),S.Zb("valueChange",(function(e){return t.preferredTablePageSize=e}))("valueChange",(function(){return t.updatePreferredTablePageSize()})),S.Hc(9,R,2,2,"mat-option",4),S.Rb(),S.Rb(),S.Rb()),2&e&&(S.Ab(1),S.Kc(S.fc(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),S.Ab(5),S.Kc(S.fc(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),S.Ab(2),S.kc("value",t.preferredTablePageSize),S.Ab(1),S.kc("ngForOf",t.tablePageSizeOptions))},directives:[g.c,g.g,h.a,s.s,v.n],pipes:[I.d],styles:[""]}),E),y=n("QOlj"),T=n("4sdY"),k=n("Ssnw"),O=n("EtYo"),M=n("bFHC"),N=n("Y2X+"),U=n("ma6z"),C=n("j+u3"),P=function(){return{color:"black"}},w=function(){return["/myProfile"]};function L(e,t){if(1&e&&(S.Sb(0,"div",1),S.Nb(1,"perun-web-apps-back-button"),S.Sb(2,"div",2),S.Nb(3,"mat-icon",3),S.ec(4,"translate"),S.Sb(5,"div",4),S.Sb(6,"div",5),S.Sb(7,"a",6),S.Jc(8),S.ec(9,"userFullName"),S.Rb(),S.Sb(10,"span",7),S.Jc(11),S.Rb(),S.Rb(),S.Sb(12,"span",8),S.Jc(13),S.ec(14,"translate"),S.ec(15,"translate"),S.Rb(),S.Rb(),S.Rb(),S.Nb(16,"app-animated-router-outlet"),S.Rb()),2&e){var n=S.dc();S.Ab(3),S.lc("matTooltip",S.fc(4,8,"MENU_ITEMS.USER.ENTITY")),S.kc("ngStyle",S.oc(16,P)),S.Ab(4),S.kc("routerLink",S.oc(17,w)),S.Ab(1),S.Lc(" ",S.fc(9,10,n.user)," "),S.Ab(3),S.Lc(" \xa0#",n.user.id," "),S.Ab(2),S.Nc(" ",S.fc(14,12,"MENU_ITEMS.USER.ENTITY"),", ",S.fc(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",n.getUserType()," ")}}var H,D,F,V=((H=function(){function e(t,n,s){i(this,e),this.sideMenuService=t,this.store=n,this.router=s}return a(e,[{key:"ngOnInit",value:function(){var e=this;this.path=this.router.url,this.router.events.subscribe((function(t){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}()).\u0275fac=function(e){return new(e||H)(S.Mb(T.a),S.Mb(k.m),S.Mb(r.f))},H.\u0275cmp=S.Gb({type:H,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&&S.Hc(0,L,17,18,"div",0),2&e&&S.kc("ngIf",void 0!==t.user)},directives:[s.t,O.a,M.a,N.a,s.w,r.i,U.a],pipes:[I.d,C.a],styles:[""]}),H),_=n("oXY0"),x=[{path:"",component:V,children:[{path:"",component:y.a,data:{animation:"UserOverviewPage"}},{path:"attributes",component:l.a,data:{animation:"UserAttributesPage"}},{path:"organizations",component:c.a,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:o.a,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:_.a,data:{animation:"UserRolesPage"}},{path:"settings",component:b.a,children:[{path:"",component:u.a,data:{animation:"UserSettingsOverviewPage"}},{path:"facilityAttributes",component:f.a,data:{animation:"UserSettingsFacilityAttributesPage",showPrincipal:!0}},{path:"passwordReset",component:p.c,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:A,data:{animation:"UserAppConfigurationPage"}}]}]}],G=((D=function e(){i(this,e)}).\u0275mod=S.Kb({type:D}),D.\u0275inj=S.Jb({factory:function(e){return new(e||D)},imports:[[r.j.forChild(x)],r.j]}),D),z=n("ulve"),B=n("Cd2c"),J=n("nIj0"),Z=n("lQ7A"),Y=n("3Uyd"),K=n("PBFl"),j=n("cePI"),Q=n("FlRo"),W=n("KZIX"),X=n("QcI7"),q=n("+Tre"),$=n("OZ4H"),ee=n("W1gw"),te=n("csyo"),ne=n("66mq"),ie=n("k8N0"),se=n("gcUQ"),ae=n("F1o0"),re=n("zmEM"),ce=n("iAde"),oe=n("Meci"),be=n("x9Az"),ue=n("oqI+"),le=n("S17y"),fe=n("Jb3d"),pe=n("qvOF"),de=n("KoHB"),me=n("f3iV"),Se=n("t47Z"),ge=n("PCNd"),he=((F=function e(t){i(this,e),this.translate=t,t.addLangs(["en","cs"])}).\u0275mod=S.Kb({type:F}),F.\u0275inj=S.Jb({factory:function(e){return new(e||F)(S.Wb(I.e))},imports:[[s.c,G,z.b,B.c,g.e,J.B,J.l,M.b,Z.g,Y.b,I.c.forChild({}),K.c,j.c,Q.p,W.g,X.e,K.c,q.b,$.h,h.b,ee.b,te.b,ne.b,N.b,ie.b,se.g,v.l,ae.c,re.b,v.t,ce.b,oe.j,be.g,ue.g,oe.j,le.g,fe.c,pe.g,de.a,me.b,p.d,m.a,Se.b,ge.a]]}),F)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/2-es2015.51a51499a6a179093598.js b/dist/apps/admin-gui/2-es2015.51a51499a6a179093598.js new file mode 100644 index 000000000..967891258 --- /dev/null +++ b/dist/apps/admin-gui/2-es2015.51a51499a6a179093598.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{Fm3m:function(e,t,s){"use strict";s.d(t,"a",(function(){return l}));var i=s("X2Q7"),r=s("Ssnw"),c=s("EM62"),n=s("sEIs"),a=s("2kYt"),o=s("NU+N");function u(e,t){if(1&e&&c.Nb(0,"app-managers-page",1),2&e){const e=c.dc();c.kc("complementaryObject",e.resource)("complementaryObjectType",e.type)("theme",e.theme)("availableRoles",e.availableRoles)}}let l=(()=>{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)(c.Mb(n.a),c.Mb(i.m),c.Mb(r.h))},e.\u0275cmp=c.Gb({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&&c.Hc(0,u,1,4,"app-managers-page",0),2&e&&c.kc("ngIf",t.resource)},directives:[a.t,o.a],styles:[""]}),e})()},GyaY:function(e,t,s){"use strict";s.d(t,"a",(function(){return n}));var i=s("TkCa"),r=s("EM62"),c=s("ma6z");let n=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Gb({type:e,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Eb("router-component",!0)},decls:1,vars:0,template:function(e,t){1&e&&r.Nb(0,"app-animated-router-outlet")},directives:[c.a],styles:[""],data:{animation:[i.a]}}),e})()},HUrR:function(e,t,s){"use strict";s.d(t,"a",(function(){return h}));var i=s("X2Q7"),r=s("Ssnw"),c=s("EM62"),n=s("sEIs"),a=s("2kYt"),o=s("csyo"),u=s("ZG5M");function l(e,t){1&e&&c.Nb(0,"mat-spinner",2)}function b(e,t){if(1&e&&(c.Sb(0,"div"),c.Nb(1,"perun-web-apps-menu-buttons-field",3),c.Rb()),2&e){const e=c.dc();c.Ab(1),c.kc("items",e.items)("size","small")}}let h=(()=>{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)(c.Mb(n.a),c.Mb(i.m),c.Mb(r.h))},e.\u0275cmp=c.Gb({type:e,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&c.Eb("router-component",!0)},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&&(c.Hc(0,l,1,0,"mat-spinner",0),c.Hc(1,b,2,2,"div",1)),2&e&&(c.kc("ngIf",t.loading),c.Ab(1),c.kc("ngIf",!t.loading))},directives:[a.t,o.c,u.a],styles:[""]}),e})()},TNye:function(e,t,s){"use strict";s.d(t,"a",(function(){return M}));var i=s("X2Q7"),r=s("iyZ4"),c=s("cqs0"),n=s("8clQ"),a=s("/bE8"),o=s("ESXS"),u=s("Ssnw"),l=s("EM62"),b=s("sEIs"),h=s("OZ4H"),d=s("0XDM"),p=s("2kYt"),g=s("A8Ay"),f=s("PBFl"),m=s("csyo"),S=s("gcZR"),I=s("s2Ay");function R(e,t){if(1&e){const e=l.Tb();l.Sb(0,"button",7),l.Zb("click",(function(){return l.xc(e),l.dc().addService()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&e&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"RESOURCE_DETAIL.ASSIGNED_SERVICES.ADD_SERVICE"),"\n"))}function E(e,t){if(1&e){const e=l.Tb();l.Sb(0,"button",8),l.Zb("click",(function(){return l.xc(e),l.dc().removeServices()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}if(2&e){const e=l.dc();l.kc("disabled",0===e.selected.selected.length),l.Ab(1),l.Lc(" ",l.fc(2,2,"RESOURCE_DETAIL.ASSIGNED_SERVICES.REMOVE_SERVICE"),"\n")}}function A(e,t){1&e&&l.Nb(0,"mat-spinner",9)}const v=function(){return[]},T=function(){return["select"]};function y(e,t){if(1&e){const e=l.Tb();l.Sb(0,"app-services-list",10),l.Zb("page",(function(t){return l.xc(e),l.dc().pageChanged(t)})),l.Rb()}if(2&e){const e=l.dc();l.kc("pageSize",e.pageSize)("services",e.assignedServices)("selection",e.selected)("filterValue",e.filterValue)("hideColumns",e.removeServiceAuth?l.oc(6,v):l.oc(7,T))("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 c.c(!0,[]),this.tableId=r.T,this.filterValue=""}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=Object(n.o)();e.width="800px",e.data={theme:"resource-theme",resourceId:this.resourceId},this.dialog.open(a.a,e).afterClosed().subscribe(e=>{e&&this.loadAllServices()})}removeServices(){const e=Object(n.o)();e.width="500px",e.data={theme:"resource-theme",resourceId:this.resourceId,services:this.selected.selected},this.dialog.open(o.a,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.serviceRoutingAuth=this.guiAuthResolver.isPerunAdmin()}}return e.\u0275fac=function(t){return new(t||e)(l.Mb(b.a),l.Mb(i.m),l.Mb(r.pb),l.Mb(h.b),l.Mb(u.h))},e.\u0275cmp=l.Gb({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","hideColumns","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","hideColumns","disableRouting","page"]],template:function(e,t){1&e&&(l.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Sb(3,"perun-web-apps-refresh-button",1),l.Zb("refresh",(function(){return t.loadAllServices()})),l.Rb(),l.Hc(4,R,3,3,"button",2),l.Hc(5,E,3,4,"button",3),l.Sb(6,"perun-web-apps-immediate-filter",4),l.Zb("filter",(function(e){return t.applyFilter(e)})),l.Rb(),l.Hc(7,A,1,0,"mat-spinner",5),l.Hc(8,y,1,8,"app-services-list",6)),2&e&&(l.Ab(1),l.Kc(l.fc(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),l.Ab(3),l.kc("ngIf",!t.loadingResource&&t.assignServiceAuth),l.Ab(1),l.kc("ngIf",!t.loadingResource&&t.removeServiceAuth),l.Ab(1),l.kc("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),l.Ab(1),l.kc("ngIf",t.loading),l.Ab(1),l.kc("ngIf",!t.loading))},directives:[d.a,p.t,g.a,f.b,m.c,S.a],pipes:[I.d],styles:[""]}),e})()},gxIj:function(e,t,s){"use strict";s.d(t,"a",(function(){return U}));var i=s("Ssnw"),r=(s("HHEo"),s("cqs0")),c=s("mEf3"),n=s("8clQ"),a=s("X2Q7"),o=s("iyZ4"),u=s("+0js"),l=s("IDQ9"),b=s("EM62"),h=s("sEIs"),d=s("OZ4H"),p=s("s2Ay"),g=s("KZIX"),f=s("0XDM"),m=s("PBFl"),S=s("A8Ay"),I=s("2kYt"),R=s("csyo"),E=s("LKLE"),A=s("bdug");const v=["list"];function T(e,t){1&e&&(b.Jc(0),b.ec(1,"translate")),2&e&&b.Lc(" ",b.fc(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function y(e,t){1&e&&b.Nb(0,"mat-spinner",10)}function M(e,t){if(1&e){const e=b.Tb();b.Sb(0,"perun-web-apps-attributes-list",11,12),b.Zb("page",(function(t){return b.xc(e),b.dc().pageChanged(t)})),b.Rb()}if(2&e){const e=b.dc();b.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("attributes",e.attributes)("selection",e.selection)}}function k(e,t){1&e&&(b.Jc(0),b.ec(1,"translate"),b.ec(2,"translate")),2&e&&b.Mc(" ",b.fc(1,2,"RESOURCE_DETAIL.ENTITY")," - ",b.fc(2,4,"MEMBER_DETAIL.ENTITY")," ")}function _(e,t){if(1&e&&b.Nb(0,"app-two-entity-attribute-page",15),2&e){const e=b.dc(3);b.kc("firstEntity","resource")("firstEntityId",e.resourceId)("secondEntity","member")}}function C(e,t){if(1&e&&b.Hc(0,_,1,3,"app-two-entity-attribute-page",14),2&e){const e=b.dc(2);b.kc("ngIf",!e.loading)}}function O(e,t){1&e&&(b.Sb(0,"mat-tab"),b.Hc(1,k,3,6,"ng-template",1),b.Hc(2,C,1,1,"ng-template",13),b.Rb())}function G(e,t){1&e&&(b.Jc(0),b.ec(1,"translate"),b.ec(2,"translate")),2&e&&b.Mc(" ",b.fc(1,2,"RESOURCE_DETAIL.ENTITY")," - ",b.fc(2,4,"GROUP_DETAIL.ENTITY")," ")}function L(e,t){if(1&e&&b.Nb(0,"app-two-entity-attribute-page",15),2&e){const e=b.dc(3);b.kc("firstEntity","resource")("firstEntityId",e.resourceId)("secondEntity","group")}}function w(e,t){if(1&e&&b.Hc(0,L,1,3,"app-two-entity-attribute-page",14),2&e){const e=b.dc(2);b.kc("ngIf",!e.loading)}}function z(e,t){1&e&&(b.Sb(0,"mat-tab"),b.Hc(1,G,3,6,"ng-template",1),b.Hc(2,w,1,1,"ng-template",13),b.Rb())}let U=(()=>{class e{constructor(e,t,s,i,c,n,a,u){this.attributesManager=e,this.route=t,this.dialog=s,this.notificator=i,this.tableConfigService=c,this.translate=n,this.authResolver=a,this.resourceManager=u,this.attributes=[],this.selection=new r.c(!0,[]),this.filterValue="",this.tableId=o.r,this.translate.get("RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe(e=>this.saveSuccessMessage=e),this.translate.get("RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe(e=>this.deleteSuccessMessage=e)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),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]),this.refreshTable()})})}onDelete(){const e=Object(n.o)();e.width="450px",e.data={entityId:this.resourceId,entity:"resource",attributes:this.selection.selected,theme:"resource-theme"},this.dialog.open(c.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const e=Object(n.o)();e.width="450px",e.data={entityId:this.resourceId,entity:"resource",attributes:this.selection.selected},this.dialog.open(u.f,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onCreate(){const e=Object(n.o)();e.width="1050px",e.data={entityId:this.resourceId,entity:"resource",notEmptyAttributes:this.attributes,style:"resource-theme"},this.dialog.open(l.a,e).afterClosed().subscribe(e=>{"saved"===e&&this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getResourceAttributes(this.resourceId).subscribe(e=>{this.attributes=e,this.selection.clear(),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)(b.Mb(a.c),b.Mb(h.a),b.Mb(d.b),b.Mb(i.l),b.Mb(o.pb),b.Mb(p.e),b.Mb(i.h),b.Mb(a.m))},e.\u0275cmp=b.Gb({type:e,selectors:[["app-resource-attributes"]],viewQuery:function(e,t){var s;1&e&&b.Qc(v,!0),2&e&&b.sc(s=b.ac())&&(t.list=s.first)},hostVars:2,hostBindings:function(e,t){2&e&&b.Eb("router-component",!0)},decls:22,vars:19,consts:[[1,"page-subtitle"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(b.Sb(0,"div"),b.Sb(1,"h1",0),b.Jc(2),b.ec(3,"translate"),b.Rb(),b.Sb(4,"mat-tab-group"),b.Sb(5,"mat-tab"),b.Hc(6,T,2,3,"ng-template",1),b.Sb(7,"perun-web-apps-refresh-button",2),b.Zb("refresh",(function(){return t.refreshTable()})),b.Rb(),b.Sb(8,"button",3),b.Zb("click",(function(){return t.onCreate()})),b.Jc(9),b.ec(10,"translate"),b.Rb(),b.Sb(11,"button",4),b.Zb("click",(function(){return t.onSave()})),b.Jc(12),b.ec(13,"translate"),b.Rb(),b.Sb(14,"button",5),b.Zb("click",(function(){return t.onDelete()})),b.Jc(15),b.ec(16,"translate"),b.Rb(),b.Sb(17,"perun-web-apps-immediate-filter",6),b.Zb("filter",(function(e){return t.applyFilter(e)})),b.Rb(),b.Hc(18,y,1,0,"mat-spinner",7),b.Hc(19,M,2,4,"perun-web-apps-attributes-list",8),b.Rb(),b.Hc(20,O,3,0,"mat-tab",9),b.Hc(21,z,3,0,"mat-tab",9),b.Rb(),b.Rb()),2&e&&(b.Ab(2),b.Kc(b.fc(3,11,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),b.Ab(7),b.Lc(" ",b.fc(10,13,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),b.Ab(2),b.kc("disabled",0===t.selection.selected.length),b.Ab(1),b.Lc(" ",b.fc(13,15,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),b.Ab(2),b.kc("disabled",0===t.selection.selected.length),b.Ab(1),b.Lc(" ",b.fc(16,17,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),b.Ab(2),b.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),b.Ab(1),b.kc("ngIf",t.loading),b.Ab(1),b.kc("ngIf",!t.loading),b.Ab(1),b.kc("ngIf",t.resourceMemberAttAuth),b.Ab(1),b.kc("ngIf",t.resourceGroupAttAuth))},directives:[g.c,g.a,g.d,f.a,m.b,S.a,I.t,R.c,E.a,g.b,A.a],pipes:[p.d],styles:[""]}),e})()},jblC:function(e,t,s){"use strict";s.d(t,"a",(function(){return C}));var i=s("X2Q7"),r=s("cqs0"),c=s("ILoV"),n=s("VEwN"),a=s("iyZ4"),o=s("8clQ"),u=s("Ssnw"),l=s("EM62"),b=s("sEIs"),h=s("OZ4H"),d=s("0XDM"),p=s("2kYt"),g=s("PBFl"),f=s("Y2X+"),m=s("pynj"),S=s("csyo"),I=s("K9kF"),R=s("FcRk"),E=s("s2Ay");const A=["checkbox"];function v(e,t){if(1&e){const e=l.Tb();l.Sb(0,"button",9),l.Zb("click",(function(){return l.xc(e),l.dc().addGroup()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&e&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function T(e,t){1&e&&l.Nb(0,"mat-spinner",10)}const y=function(e){return[e]},M=function(){return["vo","recent","expiration","menu"]};function k(e,t){if(1&e){const e=l.Tb();l.Sb(0,"div",11),l.Sb(1,"perun-web-apps-groups-list",12),l.Zb("page",(function(t){return l.xc(e),l.dc().pageChanged(t)})),l.Rb(),l.Rb()}if(2&e){const e=l.dc();l.Ab(1),l.kc("pageSize",e.pageSize)("groups",e.assignedGroups)("filter",e.filteredValue)("selection",e.selected)("disableMembers",!1)("disableRouting",!e.guiAuthResolver.isAuthorized("getGroupById_int_policy",l.pc(7,y,e.assignedGroups[0])))("hideColumns",l.oc(9,M))}}function _(e,t){1&e&&(l.Sb(0,"app-alert",13),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&e&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.NO_GROUPS"),"\n"))}let C=(()=>{class e{constructor(e,t,s,i,c,n){this.route=e,this.resourcesManager=t,this.vosManagerService=s,this.tableConfigService=i,this.dialog=c,this.guiAuthResolver=n,this.assignedGroups=[],this.selected=new r.c(!0,[]),this.filteredValue="",this.tableId=a.S}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.getAssignedGroups(this.resourceId).subscribe(e=>{this.assignedGroups=e,this.selected.clear(),this.loading=!1})}addGroup(){const e=Object(o.o)();e.width="800px",e.data={theme:"resource-theme",resource:this.resource},this.dialog.open(n.a,e).afterClosed().subscribe(e=>{e&&this.loadAllGroups()})}removeGroups(){const e=Object(o.o)();e.width="500px",e.data={resourceId:this.resourceId,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(c.a,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.Mb(b.a),l.Mb(i.m),l.Mb(i.r),l.Mb(a.pb),l.Mb(h.b),l.Mb(u.h))},e.\u0275cmp=l.Gb({type:e,selectors:[["app-perun-web-apps-resource-groups"]],viewQuery:function(e,t){var s;1&e&&l.Dc(A,!0),2&e&&l.sc(s=l.ac())&&(t.checkbox=s.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","disableRouting","hideColumns","page"],["alert_type","warn"]],template:function(e,t){1&e&&(l.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Sb(3,"perun-web-apps-refresh-button",1),l.Zb("refresh",(function(){return t.loadAllGroups()})),l.Rb(),l.Hc(4,v,3,3,"button",2),l.Sb(5,"button",3),l.Zb("click",(function(){return t.removeGroups()})),l.Sb(6,"span",4),l.ec(7,"translate"),l.Jc(8),l.ec(9,"translate"),l.Rb(),l.Rb(),l.Sb(10,"perun-web-apps-debounce-filter",5),l.Zb("filter",(function(e){return t.applyFilter(e)})),l.Rb(),l.Hc(11,T,1,0,"mat-spinner",6),l.Hc(12,k,2,10,"div",7),l.Hc(13,_,3,3,"app-alert",8)),2&e&&(l.Ab(1),l.Kc(l.fc(2,10,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),l.Ab(3),l.kc("ngIf",!t.loadingResource&&t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",l.pc(16,y,t.resource))),l.Ab(1),l.kc("disabled",0===t.selected.selected.length||!t.canRemoveGroups()),l.Ab(1),l.lc("matTooltip",l.fc(7,12,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),l.kc("matTooltipDisabled",t.canRemoveGroups()),l.Ab(2),l.Lc(" ",l.fc(9,14,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),l.Ab(2),l.kc("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),l.Ab(1),l.kc("ngIf",t.loading),l.Ab(1),l.kc("ngIf",!t.loading&&0!==t.assignedGroups.length),l.Ab(1),l.kc("ngIf",0===t.assignedGroups.length&&!t.loading))},directives:[d.a,p.t,g.b,f.a,m.a,S.c,I.a,R.a],pipes:[E.d],styles:[""]}),e})()},lfUW:function(e,t,s){"use strict";s.d(t,"a",(function(){return I}));var i=s("X2Q7"),r=s("iyZ4"),c=s("Ssnw"),n=s("EM62"),a=s("sEIs"),o=s("2kYt"),u=s("0XDM"),l=s("A8Ay"),b=s("csyo"),h=s("nz2m"),d=s("s2Ay");function p(e,t){if(1&e){const e=n.Tb();n.Sb(0,"perun-web-apps-refresh-button",5),n.Zb("refresh",(function(){return n.xc(e),n.dc().refreshTable()})),n.Rb()}}function g(e,t){if(1&e){const e=n.Tb();n.Sb(0,"perun-web-apps-immediate-filter",6),n.Zb("filter",(function(t){return n.xc(e),n.dc().applyFilter(t)})),n.Rb()}2&e&&n.kc("placeholder","RESOURCE_DETAIL.ASSIGNED_MEMBERS.FILTER")}function f(e,t){1&e&&n.Nb(0,"mat-spinner",7)}const m=function(){return["checkbox","email","status","groupStatus","sponsored","organization","logins","type"]};function S(e,t){if(1&e){const e=n.Tb();n.Sb(0,"perun-web-apps-members-list",8),n.Zb("page",(function(t){return n.xc(e),n.dc().pageChanged(t)}))("updateTable",(function(){return n.xc(e),n.dc().refreshTable()})),n.Rb()}if(2&e){const e=n.dc();n.kc("disableRouting",!e.routeAuth)("filter",e.filterValue)("hideColumns",n.oc(5,m))("members",e.members)("pageSize",e.pageSize)}}let 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=r.V}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.Mb(a.a),n.Mb(i.m),n.Mb(r.pb),n.Mb(c.h))},e.\u0275cmp=n.Gb({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","hideColumns","members","pageSize","page","updateTable",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filter","hideColumns","members","pageSize","page","updateTable"]],template:function(e,t){1&e&&(n.Sb(0,"h1",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Hc(3,p,1,0,"perun-web-apps-refresh-button",1),n.Hc(4,g,1,1,"perun-web-apps-immediate-filter",2),n.Hc(5,f,1,0,"mat-spinner",3),n.Hc(6,S,1,6,"perun-web-apps-members-list",4)),2&e&&(n.Ab(1),n.Kc(n.fc(2,5,"RESOURCE_DETAIL.ASSIGNED_MEMBERS.TITLE")),n.Ab(2),n.kc("ngIf",!t.loading),n.Ab(1),n.kc("ngIf",!t.loading),n.Ab(1),n.kc("ngIf",t.loading),n.Ab(1),n.kc("ngIf",!t.loading))},directives:[o.t,u.a,l.a,b.c,h.a],pipes:[d.d],styles:[""]}),e})()},nSPi:function(e,t,s){"use strict";s.d(t,"a",(function(){return U}));var i=s("TkCa"),r=s("4sdY"),c=s("EkAj"),n=s("X2Q7"),a=s("8clQ"),o=s("Ssnw"),u=s("t47Z"),l=s("+0js"),b=s("V78E"),h=s("EM62"),d=s("sEIs"),p=s("OZ4H"),g=s("EtYo"),f=s("2kYt"),m=s("csyo"),S=s("bFHC"),I=s("Y2X+"),R=s("ma6z"),E=s("PBFl"),A=s("s2Ay");function v(e,t){1&e&&h.Nb(0,"mat-spinner",3)}function T(e,t){if(1&e){const e=h.Tb();h.Sb(0,"button",15),h.Zb("click",(function(){return h.xc(e),h.dc(2).editResource()})),h.Sb(1,"mat-icon"),h.Jc(2,"edit"),h.Rb(),h.Rb()}}function y(e,t){if(1&e){const e=h.Tb();h.Sb(0,"button",16),h.Zb("click",(function(){return h.xc(e),h.dc(2).deleteResource()})),h.Sb(1,"mat-icon"),h.Jc(2,"delete_forever"),h.Rb(),h.Rb()}}const M=function(e){return["/organizations",e]};function k(e,t){if(1&e&&(h.Sb(0,"a",8),h.Jc(1),h.Rb()),2&e){const e=h.dc(2);h.kc("routerLink",h.pc(2,M,e.resource.vo.id)),h.Ab(1),h.Kc(e.resource.vo.name)}}function _(e,t){if(1&e&&(h.Sb(0,"span"),h.Jc(1),h.Rb()),2&e){const e=h.dc(2);h.Ab(1),h.Lc(" ",e.resource.vo.name," ")}}const C=function(e){return["/facilities",e]};function O(e,t){if(1&e&&(h.Sb(0,"a",8),h.Jc(1),h.Rb()),2&e){const e=h.dc(2);h.kc("routerLink",h.pc(2,C,e.resource.facilityId)),h.Ab(1),h.Kc(e.resource.facility.name)}}function G(e,t){if(1&e&&(h.Sb(0,"span"),h.Jc(1),h.Rb()),2&e){const e=h.dc(2);h.Ab(1),h.Lc(" ",e.resource.facility.name," ")}}const L=function(){return{color:"black"}},w=function(e){return[e]};function z(e,t){if(1&e&&(h.Sb(0,"div"),h.Sb(1,"div",4),h.Nb(2,"mat-icon",5),h.ec(3,"translate"),h.Sb(4,"div",6),h.Sb(5,"div",7),h.Sb(6,"a",8),h.Jc(7),h.Rb(),h.Sb(8,"span",9),h.Jc(9),h.Rb(),h.Hc(10,T,3,0,"button",10),h.Hc(11,y,3,0,"button",11),h.Rb(),h.Sb(12,"span",12),h.Jc(13),h.ec(14,"translate"),h.ec(15,"translate"),h.Hc(16,k,2,4,"a",13),h.Hc(17,_,2,1,"span",2),h.Jc(18),h.ec(19,"translate"),h.Hc(20,O,2,4,"a",14),h.Hc(21,G,2,1,"span",2),h.Jc(22),h.ec(23,"translate"),h.Rb(),h.Rb(),h.Rb(),h.Nb(24,"app-animated-router-outlet"),h.Rb()),2&e){const e=h.dc();h.Ab(2),h.lc("matTooltip",h.fc(3,18,"RESOURCE_DETAIL.ENTITY")),h.kc("ngStyle",h.oc(28,L)),h.Ab(4),h.kc("routerLink",h.pc(29,w,e.baseUrl)),h.Ab(1),h.Lc(" ",e.resource.name," "),h.Ab(2),h.Lc(" \xa0#",e.resource.id," "),h.Ab(1),h.kc("ngIf",e.editResourceAuth),h.Ab(1),h.kc("ngIf",e.deleteAuth),h.Ab(2),h.Mc(" ",h.fc(14,20,"RESOURCE_DETAIL.ENTITY"),", ",h.fc(15,22,"RESOURCE_DETAIL.VO"),": "),h.Ab(3),h.kc("ngIf",e.voLinkAuth),h.Ab(1),h.kc("ngIf",!e.voLinkAuth),h.Ab(1),h.Mc(" #",e.resource.voId,", ",h.fc(19,24,"RESOURCE_DETAIL.FACILITY"),": "),h.Ab(2),h.kc("ngIf",e.facilityLinkAuth),h.Ab(1),h.kc("ngIf",!e.facilityLinkAuth),h.Ab(1),h.Nc(" #",e.resource.facilityId,", ",h.fc(23,26,"RESOURCE_DETAIL.DESCRIPTION"),": ",e.resource.description," ")}}let U=(()=>{class e{constructor(e,t,s,i,r,c,n,a,o){this.route=e,this.facilityManager=t,this.vosManagerService=s,this.resourcesManager=i,this.sideMenuService=r,this.sideMenuItemService=c,this.dialog=n,this.guiAuthResolver=a,this.router=o,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 u.a).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 u.a).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)),Object(a.b)("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=Object(a.o)();s.width="450px",s.data={theme:"resource-theme",resource:e,dialogType:l.h.RESOURCE},this.dialog.open(l.g,s).afterClosed().subscribe(e=>{e&&this.resourcesManager.getRichResourceById(this.resource.id).subscribe(e=>{this.resource=e})})})}deleteResource(){const e=Object(a.o)();e.width="500px",e.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(b.a,e).afterClosed().subscribe(e=>{e&&this.router.navigate(["../"],{relativeTo:this.route})})}}return e.\u0275fac=function(t){return new(t||e)(h.Mb(d.a),h.Mb(n.g),h.Mb(n.r),h.Mb(n.m),h.Mb(r.a),h.Mb(c.a),h.Mb(p.b),h.Mb(o.h),h.Mb(d.f))},e.\u0275cmp=h.Gb({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&&(h.Sb(0,"div",0),h.Nb(1,"perun-web-apps-back-button"),h.Hc(2,v,1,0,"mat-spinner",1),h.Hc(3,z,25,31,"div",2),h.Rb()),2&e&&(h.Ab(2),h.kc("ngIf",t.loading),h.Ab(1),h.kc("ngIf",!t.loading&&void 0!==t.resource))},directives:[g.a,f.t,m.c,S.a,I.a,f.w,d.i,R.a,E.b],pipes:[A.d],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[i.a]}}),e})()},"y/MV":function(e,t,s){"use strict";s.d(t,"a",(function(){return h}));var i=s("X2Q7"),r=s("Ssnw"),c=s("EM62"),n=s("sEIs"),a=s("2kYt"),o=s("csyo"),u=s("ZG5M");function l(e,t){1&e&&c.Nb(0,"mat-spinner",2)}function b(e,t){if(1&e&&(c.Sb(0,"div"),c.Nb(1,"perun-web-apps-menu-buttons-field",3),c.Rb()),2&e){const e=c.dc();c.Ab(1),c.kc("items",e.navItems)("size","small")}}let h=(()=>{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.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)(c.Mb(i.m),c.Mb(n.a),c.Mb(r.h))},e.\u0275cmp=c.Gb({type:e,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&c.Eb("router-component",!0)},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&&(c.Hc(0,l,1,0,"mat-spinner",0),c.Hc(1,b,2,2,"div",1)),2&e&&(c.kc("ngIf",t.loading),c.Ab(1),c.kc("ngIf",!t.loading))},directives:[a.t,o.c,u.a],styles:[""]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/2-es5.51a51499a6a179093598.js b/dist/apps/admin-gui/2-es5.51a51499a6a179093598.js new file mode 100644 index 000000000..09d5b9816 --- /dev/null +++ b/dist/apps/admin-gui/2-es5.51a51499a6a179093598.js @@ -0,0 +1 @@ +!function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var i=0;i_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdmin()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(f.Mb(d.a),f.Mb(n.m),f.Mb(c.pb),f.Mb(h.b),f.Mb(b.h))},t.\u0275cmp=f.Gb({type:t,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","hideColumns","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","hideColumns","disableRouting","page"]],template:function(e,t){1&e&&(f.Sb(0,"h1",0),f.Jc(1),f.ec(2,"translate"),f.Rb(),f.Sb(3,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.loadAllServices()})),f.Rb(),f.Hc(4,E,3,3,"button",2),f.Hc(5,A,3,4,"button",3),f.Sb(6,"perun-web-apps-immediate-filter",4),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.Rb(),f.Hc(7,y,1,0,"mat-spinner",5),f.Hc(8,M,1,8,"app-services-list",6)),2&e&&(f.Ab(1),f.Kc(f.fc(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),f.Ab(3),f.kc("ngIf",!t.loadingResource&&t.assignServiceAuth),f.Ab(1),f.kc("ngIf",!t.loadingResource&&t.removeServiceAuth),f.Ab(1),f.kc("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[p.a,g.t,v.a,m.b,S.c,I.a],pipes:[R.d],styles:[""]}),t}()},gxIj:function(t,r,s){"use strict";s.d(r,"a",(function(){return N}));var n=s("Ssnw"),c=(s("HHEo"),s("cqs0")),a=s("mEf3"),o=s("8clQ"),u=s("X2Q7"),l=s("iyZ4"),b=s("+0js"),f=s("IDQ9"),d=s("EM62"),h=s("sEIs"),p=s("OZ4H"),g=s("s2Ay"),v=s("KZIX"),m=s("0XDM"),S=s("PBFl"),I=s("A8Ay"),R=s("2kYt"),E=s("csyo"),A=s("LKLE"),y=s("bdug"),T=["list"];function k(e,t){1&e&&(d.Jc(0),d.ec(1,"translate")),2&e&&d.Lc(" ",d.fc(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function M(e,t){1&e&&d.Nb(0,"mat-spinner",10)}function _(e,t){if(1&e){var i=d.Tb();d.Sb(0,"perun-web-apps-attributes-list",11,12),d.Zb("page",(function(e){return d.xc(i),d.dc().pageChanged(e)})),d.Rb()}if(2&e){var r=d.dc();d.kc("pageSize",r.pageSize)("filterValue",r.filterValue)("attributes",r.attributes)("selection",r.selection)}}function C(e,t){1&e&&(d.Jc(0),d.ec(1,"translate"),d.ec(2,"translate")),2&e&&d.Mc(" ",d.fc(1,2,"RESOURCE_DETAIL.ENTITY")," - ",d.fc(2,4,"MEMBER_DETAIL.ENTITY")," ")}function O(e,t){if(1&e&&d.Nb(0,"app-two-entity-attribute-page",15),2&e){var i=d.dc(3);d.kc("firstEntity","resource")("firstEntityId",i.resourceId)("secondEntity","member")}}function w(e,t){if(1&e&&d.Hc(0,O,1,3,"app-two-entity-attribute-page",14),2&e){var i=d.dc(2);d.kc("ngIf",!i.loading)}}function G(e,t){1&e&&(d.Sb(0,"mat-tab"),d.Hc(1,C,3,6,"ng-template",1),d.Hc(2,w,1,1,"ng-template",13),d.Rb())}function L(e,t){1&e&&(d.Jc(0),d.ec(1,"translate"),d.ec(2,"translate")),2&e&&d.Mc(" ",d.fc(1,2,"RESOURCE_DETAIL.ENTITY")," - ",d.fc(2,4,"GROUP_DETAIL.ENTITY")," ")}function z(e,t){if(1&e&&d.Nb(0,"app-two-entity-attribute-page",15),2&e){var i=d.dc(3);d.kc("firstEntity","resource")("firstEntityId",i.resourceId)("secondEntity","group")}}function U(e,t){if(1&e&&d.Hc(0,z,1,3,"app-two-entity-attribute-page",14),2&e){var i=d.dc(2);d.kc("ngIf",!i.loading)}}function D(e,t){1&e&&(d.Sb(0,"mat-tab"),d.Hc(1,L,3,6,"ng-template",1),d.Hc(2,U,1,1,"ng-template",13),d.Rb())}var N=function(){var t=function(){function t(i,r,s,n,a,o,u,b){var f=this;e(this,t),this.attributesManager=i,this.route=r,this.dialog=s,this.notificator=n,this.tableConfigService=a,this.translate=o,this.authResolver=u,this.resourceManager=b,this.attributes=[],this.selection=new c.c(!0,[]),this.filterValue="",this.tableId=l.r,this.translate.get("RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe((function(e){return f.saveSuccessMessage=e})),this.translate.get("RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe((function(e){return f.deleteSuccessMessage=e}))}return i(t,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),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.refreshTable()}))}))}},{key:"onDelete",value:function(){var e=this,t=Object(o.o)();t.width="450px",t.data={entityId:this.resourceId,entity:"resource",attributes:this.selection.selected,theme:"resource-theme"},this.dialog.open(a.a,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"onSave",value:function(){var e=this;this.list.updateMapAttributes();var t=Object(o.o)();t.width="450px",t.data={entityId:this.resourceId,entity:"resource",attributes:this.selection.selected},this.dialog.open(b.f,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"onCreate",value:function(){var e=this,t=Object(o.o)();t.width="1050px",t.data={entityId:this.resourceId,entity:"resource",notEmptyAttributes:this.attributes,style:"resource-theme"},this.dialog.open(f.a,t).afterClosed().subscribe((function(t){"saved"===t&&e.refreshTable()}))}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.attributesManager.getResourceAttributes(this.resourceId).subscribe((function(t){e.attributes=t,e.selection.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)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Mb(u.c),d.Mb(h.a),d.Mb(p.b),d.Mb(n.l),d.Mb(l.pb),d.Mb(g.e),d.Mb(n.h),d.Mb(u.m))},t.\u0275cmp=d.Gb({type:t,selectors:[["app-resource-attributes"]],viewQuery:function(e,t){var i;1&e&&d.Qc(T,!0),2&e&&d.sc(i=d.ac())&&(t.list=i.first)},hostVars:2,hostBindings:function(e,t){2&e&&d.Eb("router-component",!0)},decls:22,vars:19,consts:[[1,"page-subtitle"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(d.Sb(0,"div"),d.Sb(1,"h1",0),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Sb(4,"mat-tab-group"),d.Sb(5,"mat-tab"),d.Hc(6,k,2,3,"ng-template",1),d.Sb(7,"perun-web-apps-refresh-button",2),d.Zb("refresh",(function(){return t.refreshTable()})),d.Rb(),d.Sb(8,"button",3),d.Zb("click",(function(){return t.onCreate()})),d.Jc(9),d.ec(10,"translate"),d.Rb(),d.Sb(11,"button",4),d.Zb("click",(function(){return t.onSave()})),d.Jc(12),d.ec(13,"translate"),d.Rb(),d.Sb(14,"button",5),d.Zb("click",(function(){return t.onDelete()})),d.Jc(15),d.ec(16,"translate"),d.Rb(),d.Sb(17,"perun-web-apps-immediate-filter",6),d.Zb("filter",(function(e){return t.applyFilter(e)})),d.Rb(),d.Hc(18,M,1,0,"mat-spinner",7),d.Hc(19,_,2,4,"perun-web-apps-attributes-list",8),d.Rb(),d.Hc(20,G,3,0,"mat-tab",9),d.Hc(21,D,3,0,"mat-tab",9),d.Rb(),d.Rb()),2&e&&(d.Ab(2),d.Kc(d.fc(3,11,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),d.Ab(7),d.Lc(" ",d.fc(10,13,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),d.Ab(2),d.kc("disabled",0===t.selection.selected.length),d.Ab(1),d.Lc(" ",d.fc(13,15,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),d.Ab(2),d.kc("disabled",0===t.selection.selected.length),d.Ab(1),d.Lc(" ",d.fc(16,17,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),d.Ab(2),d.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),d.Ab(1),d.kc("ngIf",t.loading),d.Ab(1),d.kc("ngIf",!t.loading),d.Ab(1),d.kc("ngIf",t.resourceMemberAttAuth),d.Ab(1),d.kc("ngIf",t.resourceGroupAttAuth))},directives:[v.c,v.a,v.d,m.a,S.b,I.a,R.t,E.c,A.a,v.b,y.a],pipes:[g.d],styles:[""]}),t}()},jblC:function(t,r,s){"use strict";s.d(r,"a",(function(){return w}));var n=s("X2Q7"),c=s("cqs0"),a=s("ILoV"),o=s("VEwN"),u=s("iyZ4"),l=s("8clQ"),b=s("Ssnw"),f=s("EM62"),d=s("sEIs"),h=s("OZ4H"),p=s("0XDM"),g=s("2kYt"),v=s("PBFl"),m=s("Y2X+"),S=s("pynj"),I=s("csyo"),R=s("K9kF"),E=s("FcRk"),A=s("s2Ay"),y=["checkbox"];function T(e,t){if(1&e){var i=f.Tb();f.Sb(0,"button",9),f.Zb("click",(function(){return f.xc(i),f.dc().addGroup()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function k(e,t){1&e&&f.Nb(0,"mat-spinner",10)}var M=function(e){return[e]},_=function(){return["vo","recent","expiration","menu"]};function C(e,t){if(1&e){var i=f.Tb();f.Sb(0,"div",11),f.Sb(1,"perun-web-apps-groups-list",12),f.Zb("page",(function(e){return f.xc(i),f.dc().pageChanged(e)})),f.Rb(),f.Rb()}if(2&e){var r=f.dc();f.Ab(1),f.kc("pageSize",r.pageSize)("groups",r.assignedGroups)("filter",r.filteredValue)("selection",r.selected)("disableMembers",!1)("disableRouting",!r.guiAuthResolver.isAuthorized("getGroupById_int_policy",f.pc(7,M,r.assignedGroups[0])))("hideColumns",f.oc(9,_))}}function O(e,t){1&e&&(f.Sb(0,"app-alert",13),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.NO_GROUPS"),"\n"))}var w=function(){var t=function(){function t(i,r,s,n,a,o){e(this,t),this.route=i,this.resourcesManager=r,this.vosManagerService=s,this.tableConfigService=n,this.dialog=a,this.guiAuthResolver=o,this.assignedGroups=[],this.selected=new c.c(!0,[]),this.filteredValue="",this.tableId=u.S}return i(t,[{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.getAssignedGroups(this.resourceId).subscribe((function(t){e.assignedGroups=t,e.selected.clear(),e.loading=!1}))}},{key:"addGroup",value:function(){var e=this,t=Object(l.o)();t.width="800px",t.data={theme:"resource-theme",resource:this.resource},this.dialog.open(o.a,t).afterClosed().subscribe((function(t){t&&e.loadAllGroups()}))}},{key:"removeGroups",value:function(){var e=this,t=Object(l.o)();t.width="500px",t.data={resourceId:this.resourceId,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(a.a,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}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(f.Mb(d.a),f.Mb(n.m),f.Mb(n.r),f.Mb(u.pb),f.Mb(h.b),f.Mb(b.h))},t.\u0275cmp=f.Gb({type:t,selectors:[["app-perun-web-apps-resource-groups"]],viewQuery:function(e,t){var i;1&e&&f.Dc(y,!0),2&e&&f.sc(i=f.ac())&&(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","disableRouting","hideColumns","page"],["alert_type","warn"]],template:function(e,t){1&e&&(f.Sb(0,"h1",0),f.Jc(1),f.ec(2,"translate"),f.Rb(),f.Sb(3,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.loadAllGroups()})),f.Rb(),f.Hc(4,T,3,3,"button",2),f.Sb(5,"button",3),f.Zb("click",(function(){return t.removeGroups()})),f.Sb(6,"span",4),f.ec(7,"translate"),f.Jc(8),f.ec(9,"translate"),f.Rb(),f.Rb(),f.Sb(10,"perun-web-apps-debounce-filter",5),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.Rb(),f.Hc(11,k,1,0,"mat-spinner",6),f.Hc(12,C,2,10,"div",7),f.Hc(13,O,3,3,"app-alert",8)),2&e&&(f.Ab(1),f.Kc(f.fc(2,10,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),f.Ab(3),f.kc("ngIf",!t.loadingResource&&t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",f.pc(16,M,t.resource))),f.Ab(1),f.kc("disabled",0===t.selected.selected.length||!t.canRemoveGroups()),f.Ab(1),f.lc("matTooltip",f.fc(7,12,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),f.kc("matTooltipDisabled",t.canRemoveGroups()),f.Ab(2),f.Lc(" ",f.fc(9,14,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),f.Ab(2),f.kc("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading&&0!==t.assignedGroups.length),f.Ab(1),f.kc("ngIf",0===t.assignedGroups.length&&!t.loading))},directives:[p.a,g.t,v.b,m.a,S.a,I.c,R.a,E.a],pipes:[A.d],styles:[""]}),t}()},lfUW:function(t,r,s){"use strict";s.d(r,"a",(function(){return R}));var n=s("X2Q7"),c=s("iyZ4"),a=s("Ssnw"),o=s("EM62"),u=s("sEIs"),l=s("2kYt"),b=s("0XDM"),f=s("A8Ay"),d=s("csyo"),h=s("nz2m"),p=s("s2Ay");function g(e,t){if(1&e){var i=o.Tb();o.Sb(0,"perun-web-apps-refresh-button",5),o.Zb("refresh",(function(){return o.xc(i),o.dc().refreshTable()})),o.Rb()}}function v(e,t){if(1&e){var i=o.Tb();o.Sb(0,"perun-web-apps-immediate-filter",6),o.Zb("filter",(function(e){return o.xc(i),o.dc().applyFilter(e)})),o.Rb()}2&e&&o.kc("placeholder","RESOURCE_DETAIL.ASSIGNED_MEMBERS.FILTER")}function m(e,t){1&e&&o.Nb(0,"mat-spinner",7)}var S=function(){return["checkbox","email","status","groupStatus","sponsored","organization","logins","type"]};function I(e,t){if(1&e){var i=o.Tb();o.Sb(0,"perun-web-apps-members-list",8),o.Zb("page",(function(e){return o.xc(i),o.dc().pageChanged(e)}))("updateTable",(function(){return o.xc(i),o.dc().refreshTable()})),o.Rb()}if(2&e){var r=o.dc();o.kc("disableRouting",!r.routeAuth)("filter",r.filterValue)("hideColumns",o.oc(5,S))("members",r.members)("pageSize",r.pageSize)}}var R=function(){var t=function(){function t(i,r,s,n){e(this,t),this.route=i,this.resourceService=r,this.tableConfigService=s,this.authResolver=n,this.loading=!1,this.filterValue="",this.tableId=c.V}return i(t,[{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.resourceId=t.resourceId,e.refreshTable()}))}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.resourceService.getAssignedRichMembers(this.resourceId).subscribe((function(t){e.members=t,e.setAuthRights(),e.loading=!1}))}},{key:"setAuthRights",value:function(){0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.members[0]]))}},{key:"applyFilter",value:function(e){this.filterValue=e}},{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)(o.Mb(u.a),o.Mb(n.m),o.Mb(c.pb),o.Mb(a.h))},t.\u0275cmp=o.Gb({type:t,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","hideColumns","members","pageSize","page","updateTable",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filter","hideColumns","members","pageSize","page","updateTable"]],template:function(e,t){1&e&&(o.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Hc(3,g,1,0,"perun-web-apps-refresh-button",1),o.Hc(4,v,1,1,"perun-web-apps-immediate-filter",2),o.Hc(5,m,1,0,"mat-spinner",3),o.Hc(6,I,1,6,"perun-web-apps-members-list",4)),2&e&&(o.Ab(1),o.Kc(o.fc(2,5,"RESOURCE_DETAIL.ASSIGNED_MEMBERS.TITLE")),o.Ab(2),o.kc("ngIf",!t.loading),o.Ab(1),o.kc("ngIf",!t.loading),o.Ab(1),o.kc("ngIf",t.loading),o.Ab(1),o.kc("ngIf",!t.loading))},directives:[l.t,b.a,f.a,d.c,h.a],pipes:[p.d],styles:[""]}),t}()},nSPi:function(t,r,s){"use strict";s.d(r,"a",(function(){return N}));var n=s("TkCa"),c=s("4sdY"),a=s("EkAj"),o=s("X2Q7"),u=s("8clQ"),l=s("Ssnw"),b=s("t47Z"),f=s("+0js"),d=s("V78E"),h=s("EM62"),p=s("sEIs"),g=s("OZ4H"),v=s("EtYo"),m=s("2kYt"),S=s("csyo"),I=s("bFHC"),R=s("Y2X+"),E=s("ma6z"),A=s("PBFl"),y=s("s2Ay");function T(e,t){1&e&&h.Nb(0,"mat-spinner",3)}function k(e,t){if(1&e){var i=h.Tb();h.Sb(0,"button",15),h.Zb("click",(function(){return h.xc(i),h.dc(2).editResource()})),h.Sb(1,"mat-icon"),h.Jc(2,"edit"),h.Rb(),h.Rb()}}function M(e,t){if(1&e){var i=h.Tb();h.Sb(0,"button",16),h.Zb("click",(function(){return h.xc(i),h.dc(2).deleteResource()})),h.Sb(1,"mat-icon"),h.Jc(2,"delete_forever"),h.Rb(),h.Rb()}}var _=function(e){return["/organizations",e]};function C(e,t){if(1&e&&(h.Sb(0,"a",8),h.Jc(1),h.Rb()),2&e){var i=h.dc(2);h.kc("routerLink",h.pc(2,_,i.resource.vo.id)),h.Ab(1),h.Kc(i.resource.vo.name)}}function O(e,t){if(1&e&&(h.Sb(0,"span"),h.Jc(1),h.Rb()),2&e){var i=h.dc(2);h.Ab(1),h.Lc(" ",i.resource.vo.name," ")}}var w=function(e){return["/facilities",e]};function G(e,t){if(1&e&&(h.Sb(0,"a",8),h.Jc(1),h.Rb()),2&e){var i=h.dc(2);h.kc("routerLink",h.pc(2,w,i.resource.facilityId)),h.Ab(1),h.Kc(i.resource.facility.name)}}function L(e,t){if(1&e&&(h.Sb(0,"span"),h.Jc(1),h.Rb()),2&e){var i=h.dc(2);h.Ab(1),h.Lc(" ",i.resource.facility.name," ")}}var z=function(){return{color:"black"}},U=function(e){return[e]};function D(e,t){if(1&e&&(h.Sb(0,"div"),h.Sb(1,"div",4),h.Nb(2,"mat-icon",5),h.ec(3,"translate"),h.Sb(4,"div",6),h.Sb(5,"div",7),h.Sb(6,"a",8),h.Jc(7),h.Rb(),h.Sb(8,"span",9),h.Jc(9),h.Rb(),h.Hc(10,k,3,0,"button",10),h.Hc(11,M,3,0,"button",11),h.Rb(),h.Sb(12,"span",12),h.Jc(13),h.ec(14,"translate"),h.ec(15,"translate"),h.Hc(16,C,2,4,"a",13),h.Hc(17,O,2,1,"span",2),h.Jc(18),h.ec(19,"translate"),h.Hc(20,G,2,4,"a",14),h.Hc(21,L,2,1,"span",2),h.Jc(22),h.ec(23,"translate"),h.Rb(),h.Rb(),h.Rb(),h.Nb(24,"app-animated-router-outlet"),h.Rb()),2&e){var i=h.dc();h.Ab(2),h.lc("matTooltip",h.fc(3,18,"RESOURCE_DETAIL.ENTITY")),h.kc("ngStyle",h.oc(28,z)),h.Ab(4),h.kc("routerLink",h.pc(29,U,i.baseUrl)),h.Ab(1),h.Lc(" ",i.resource.name," "),h.Ab(2),h.Lc(" \xa0#",i.resource.id," "),h.Ab(1),h.kc("ngIf",i.editResourceAuth),h.Ab(1),h.kc("ngIf",i.deleteAuth),h.Ab(2),h.Mc(" ",h.fc(14,20,"RESOURCE_DETAIL.ENTITY"),", ",h.fc(15,22,"RESOURCE_DETAIL.VO"),": "),h.Ab(3),h.kc("ngIf",i.voLinkAuth),h.Ab(1),h.kc("ngIf",!i.voLinkAuth),h.Ab(1),h.Mc(" #",i.resource.voId,", ",h.fc(19,24,"RESOURCE_DETAIL.FACILITY"),": "),h.Ab(2),h.kc("ngIf",i.facilityLinkAuth),h.Ab(1),h.kc("ngIf",!i.facilityLinkAuth),h.Ab(1),h.Nc(" #",i.resource.facilityId,", ",h.fc(23,26,"RESOURCE_DETAIL.DESCRIPTION"),": ",i.resource.description," ")}}var N=function(){var t=function(){function t(i,r,s,n,c,a,o,u,l){e(this,t),this.route=i,this.facilityManager=r,this.vosManagerService=s,this.resourcesManager=n,this.sideMenuService=c,this.sideMenuItemService=a,this.dialog=o,this.guiAuthResolver=u,this.router=l,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}return i(t,[{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 b.a).transform(t,!1),e.facilityManager.getFacilityById(t.facilityId).subscribe((function(i){var r=e.sideMenuItemService.parseFacility(i),s=e.sideMenuItemService.parseResource(t,!1);e.sideMenuService.setFacilityMenuItems([r,s]),e.loading=!1}),(function(){return e.loading=!1}))):(e.baseUrl=(new b.a).transform(t,!0),e.vosManagerService.getVoById(t.voId).subscribe((function(i){var r=e.sideMenuItemService.parseVo(i),s=e.sideMenuItemService.parseResource(t,!0);e.sideMenuService.setAccessMenuItems([r,s]),e.loading=!1}),(function(){return e.loading=!1}))),Object(u.b)("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 r=Object(u.o)();r.width="450px",r.data={theme:"resource-theme",resource:e,dialogType:f.h.RESOURCE},t.dialog.open(f.g,r).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=Object(u.o)();t.width="500px",t.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(d.a,t).afterClosed().subscribe((function(t){t&&e.router.navigate(["../"],{relativeTo:e.route})}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Mb(p.a),h.Mb(o.g),h.Mb(o.r),h.Mb(o.m),h.Mb(c.a),h.Mb(a.a),h.Mb(g.b),h.Mb(l.h),h.Mb(p.f))},t.\u0275cmp=h.Gb({type:t,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&&(h.Sb(0,"div",0),h.Nb(1,"perun-web-apps-back-button"),h.Hc(2,T,1,0,"mat-spinner",1),h.Hc(3,D,25,31,"div",2),h.Rb()),2&e&&(h.Ab(2),h.kc("ngIf",t.loading),h.Ab(1),h.kc("ngIf",!t.loading&&void 0!==t.resource))},directives:[v.a,m.t,S.c,I.a,R.a,m.w,p.i,E.a,A.b],pipes:[y.d],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[n.a]}}),t}()},"y/MV":function(t,r,s){"use strict";s.d(r,"a",(function(){return h}));var n=s("X2Q7"),c=s("Ssnw"),a=s("EM62"),o=s("sEIs"),u=s("2kYt"),l=s("csyo"),b=s("ZG5M");function f(e,t){1&e&&a.Nb(0,"mat-spinner",2)}function d(e,t){if(1&e&&(a.Sb(0,"div"),a.Nb(1,"perun-web-apps-menu-buttons-field",3),a.Rb()),2&e){var i=a.dc();a.Ab(1),a.kc("items",i.navItems)("size","small")}}var h=function(){var t=function(){function t(i,r,s){e(this,t),this.resourcesManager=i,this.route=r,this.guiAuthResolver=s,this.navItems=[],this.loading=!1}return i(t,[{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/"+this.resource.voId:"/facilities/"+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.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"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.m),a.Mb(o.a),a.Mb(c.h))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&a.Eb("router-component",!0)},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&&(a.Hc(0,f,1,0,"mat-spinner",0),a.Hc(1,d,2,2,"div",1)),2&e&&(a.kc("ngIf",t.loading),a.Ab(1),a.kc("ngIf",!t.loading))},directives:[u.t,l.c,b.a],styles:[""]}),t}()}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/3rdpartylicenses.txt b/dist/apps/admin-gui/3rdpartylicenses.txt new file mode 100644 index 000000000..5d5d74c6f --- /dev/null +++ b/dist/apps/admin-gui/3rdpartylicenses.txt @@ -0,0 +1,1952 @@ +@angular-devkit/build-angular +MIT +The MIT License + +Copyright (c) 2017 Google, Inc. + +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. + + +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +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. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +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. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@hpcc-js/wasm +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 [yyyy] [name of copyright owner] + + 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. + + +@ngx-translate/core +MIT + +@ngx-translate/http-loader +MIT + +@swimlane/ngx-charts +MIT +MIT License + +Copyright (c) 2017 Swimlane + +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. + + +@swimlane/ngx-graph +MIT +(The MIT License) + +Copyright (c) 2016 Swimlane + +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) + +Copyright (c) 2011-2020 Twitter, Inc. +Copyright (c) 2011-2020 The Bootstrap Authors + +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. + + +core-js +MIT +Copyright (c) 2014-2020 Denis Pushkarev + +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. + + +css-loader +MIT +Copyright JS Foundation and other contributors + +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. + + +d3-array +BSD-3-Clause +Copyright 2010-2018 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-brush +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-collection +BSD-3-Clause +Copyright 2010-2016, Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-color +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-dispatch +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-drag +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-ease +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +Copyright 2001 Robert Penner +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-force +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-format +BSD-3-Clause +Copyright 2010-2015 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-graphviz +BSD-3-Clause +Copyright 2017, Magnus Jacobsson +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-hierarchy +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-interpolate +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-path +BSD-3-Clause +Copyright 2015-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-quadtree +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-scale +BSD-3-Clause +Copyright 2010-2015 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-selection +BSD-3-Clause +Copyright (c) 2010-2018, Michael Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* The name Michael Bostock may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-shape +BSD-3-Clause +Copyright 2010-2015 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-time +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-time-format +BSD-3-Clause +Copyright 2010-2017 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-timer +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-transition +BSD-3-Clause +Copyright (c) 2010-2015, Michael Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* The name Michael Bostock may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +TERMS OF USE - EASING EQUATIONS + +Open source under the BSD License. + +Copyright 2001 Robert Penner +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +- Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +d3-zoom +BSD-3-Clause +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +dagre +MIT +Copyright (c) 2012-2014 Chris Pettitt + +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. + + +file-saver +MIT +The MIT License + +Copyright © 2016 [Eli Grey][1]. + +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. + + [1]: http://eligrey.com + + +graphlib +MIT +Copyright (c) 2012-2014 Chris Pettitt + +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. + + +lodash +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +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. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +ngx-mat-select-search +MIT +MIT License + +Copyright (c) 2018 Bithost GmbH + +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. + + +ngx-perfect-scrollbar +MIT + +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. + +perfect-scrollbar +MIT +The MIT License (MIT) Copyright (c) 2012-2019 Hyunje Jun, MDBootstrap.com and other contributors + +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. + + +perun-web-apps +MIT + 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 [yyyy] [name of copyright owner] + + 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. + + +querystring +MIT + +Copyright 2012 Irakli Gozalishvili. All rights reserved. +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. + + +regenerator-runtime +MIT +MIT License + +Copyright (c) 2014-present, Facebook, Inc. + +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. + + +resize-observer-polyfill +MIT +The MIT License (MIT) + +Copyright (c) 2016 Denis Rul + +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. + + +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. + + + +transformation-matrix +MIT +MIT License + +Copyright (c) 2017 https://github.com/chrvadala + +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. + + +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. + +webcola +MIT +The MIT License (MIT) + +Copyright (c) 2013 Tim Dwyer + +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. + +webpack +MIT +Copyright JS Foundation and other contributors + +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. + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2020 Google LLC. http://angular.io/license + +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. diff --git a/dist/apps/admin-gui/7-es2015.33d4007cb80c99d3d00a.js b/dist/apps/admin-gui/7-es2015.33d4007cb80c99d3d00a.js new file mode 100644 index 000000000..45640b3cb --- /dev/null +++ b/dist/apps/admin-gui/7-es2015.33d4007cb80c99d3d00a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"+7q0":function(t,e,n){var r=n("eN33"),i=n("Pz+s"),o=n("zWgn");t.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o},"+DnP":function(t,e,n){var r=n("W0vE"),i=n("sjzV"),o=n("S3pA"),s=n("wxYD");t.exports=function(t,e){return(s(t)?r:i)(t,o(e,3))}},"+WAL":function(t,e,n){var r=n("0Jj1");t.exports=function(t){try{r(t)}catch(e){if(e instanceof r.CycleException)return!1;throw e}return!0}},"+fUG":function(t,e,n){var r=n("5pfJ"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},"+jFT":function(t,e,n){"use strict";var r=n("gjtd");function i(t){r.forEach(t.nodes(),(function(e){o(t.node(e))})),r.forEach(t.edges(),(function(e){o(t.edge(e))}))}function o(t){var e=t.width;t.width=t.height,t.height=e}function s(t){t.y=-t.y}function a(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||i(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.forEach(t.nodes(),(function(e){s(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"y")&&s(n)}))}(t),"lr"!==e&&"rl"!==e||(function(t){r.forEach(t.nodes(),(function(e){a(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,a),r.has(n,"x")&&a(n)}))}(t),i(t))}}},"+ooz":function(t,e,n){var r=n("8Zrg"),i=n("kwr2"),o=n("5VYK"),s=n("Coc+"),a=n("LzM7");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1?a[c?e[u]:u]:void 0}}},"1mr4":function(t,e,n){var r=n("SJov"),i=n("z+TE");t.exports=function(t,e){return null!=t&&i(t,e,r)}},"1qSF":function(t,e,n){t.exports={Graph:n("buMw"),version:n("5AdH")}},"1rRp":function(t,e,n){"use strict";var r=Math.PI,i=2*r,o=i-1e-6;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new s}s.prototype=a.prototype={constructor:s,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,i,o){var s=this._x1,a=this._y1,c=(n=+n)-(t=+t),u=(i=+i)-(e=+e),l=s-t,h=a-e,f=l*l+h*h;if((o=+o)<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>1e-6)if(Math.abs(h*c-u*l)>1e-6&&o){var d=n-s,p=i-a,g=c*c+u*u,m=d*d+p*p,v=Math.sqrt(g),b=Math.sqrt(f),y=o*Math.tan((r-Math.acos((g+f-m)/(2*v*b)))/2),w=y/b,_=y/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+_*c)+","+(this._y1=e+_*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,s,a,c){t=+t,e=+e,c=!!c;var u=(n=+n)*Math.cos(s),l=n*Math.sin(s),h=t+u,f=e+l,d=1^c,p=c?s-a:a-s;if(n<0)throw new Error("negative radius: "+n);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),n&&(p<0&&(p=p%i+i),p>o?this._+="A"+n+","+n+",0,1,"+d+","+(t-u)+","+(e-l)+"A"+n+","+n+",0,1,"+d+","+(this._x1=h)+","+(this._y1=f):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+d+","+(this._x1=t+n*Math.cos(a))+","+(this._y1=e+n*Math.sin(a))))},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.a=a},"1xil":function(t,e,n){var r=n("YpBQ");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},"1yUy":function(t,e,n){"use strict";var r=n("gjtd"),i=n("fd5j");t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?i(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.forEach(t.nodes(),(function o(s){r.has(i,s)||(i[s]=!0,n[s]=!0,r.forEach(t.outEdges(s),(function(t){r.has(n,t.w)?e.push(t):o(t.w)})),delete n[s])})),e}(t);r.forEach(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}}},"21zJ":function(t,e,n){var r=n("5Ck4");t.exports=function(t,e){return r(t,e,"post")}},"2Fbm":function(t,e,n){var r=n("5pfJ");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},"2M3I":function(t,e,n){var r=n("9au6"),i=n("R5u7"),o=n("fWyh");t.exports=function(t){return function(e,n,s){return s&&"number"!=typeof s&&i(e,n,s)&&(n=s=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),s=void 0===s?e=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),s=0;si.length&&(i.length=c,i.si=s-c+1,i.ti=a-c+1)}else o[s][a]=0}return i},t.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},t}();e.LongestCommonSubsequence=c,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 s(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}))),c=this.midPoints(this.rows.map((function(t){return t.pos}))),u=o[0],l=o[o.length-1],h=c[0],f=c[c.length-1],d=this.rows.map((function(t){return{x1:u,x2:l,y1:t.pos,y2:t.pos}})).concat(c.map((function(t){return{x1:u,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 a(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],s=o.rect,c=Math.abs(n.x-s.cx()),u=Math.abs(n.y-s.cy());if(c0;){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)&&a.push(c={pos:l[0][e],segments:[]}),c.segments.push(l)}return a},t.nudgeSegs=function(t,e,n,r,o,s){var a=r.length;if(!(a<=1)){for(var c=r.map((function(e){return new i.Variable(e[0][t])})),u=[],l=0;l=0&&u.push(new i.Constraint(c[g],c[m],s))}new i.Solver(c,u).solve(),c.forEach((function(e,i){var o=r[i],s=e.position();o[0][t]=o[1][t]=s;var a=n[o.edgeid];o.i>0&&(a[o.i-1][1][t]=s),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=u.length||h.ti+h.length>=l.length)?n.push({l:r,r:i}):(h.si+h.length>=u.length||h.ti+h.length>=l.length?(o=u[h.si+1],a=u[h.si-1],s=l[h.ti-1]):(o=u[h.si+h.length-2],s=u[h.si+h.length],a=l[h.ti+h.length]),t.isLeft(o,s,a)?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 c.push(this.nodes[i.id].ports[0]),c.filter((function(t,e){return!(e0&&t.node===i&&c[e-1].node===i)}))},t.getRoutePath=function(e,n,r,i){var o,s,a,c,u,l={routepath:"M "+e[0][0].x+" "+e[0][0].y+" ",arrowpath:""};if(e.length>1)for(var h=0;h0?s-=f/Math.abs(f)*n:a-=d/Math.abs(d)*n,l.routepath+="L "+s+" "+a+" ";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,b,y=t.angleBetween2Lines(o,p)<0?1:0;Math.abs(f)>0?(v=g+f/Math.abs(f)*n,b=m):(v=g,b=m+d/Math.abs(d)*n);var w=Math.abs(v-s),_=Math.abs(b-a);l.routepath+="A "+w+" "+_+" 0 0 "+y+" "+v+" "+b+" "}else{var x=[s,a];Math.abs(f)>0?(c=[s-=f/Math.abs(f)*i,a+r],u=[s,a-r]):(c=[s+r,a-=d/Math.abs(d)*i],u=[s-r,a]),l.routepath+="L "+s+" "+a+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+c[0]+" "+c[1]+" L "+u[0]+" "+u[1])}}else f=(s=(o=e[0])[1].x)-o[0].x,d=(a=o[1].y)-o[0].y,x=[s,a],Math.abs(f)>0?(c=[s-=f/Math.abs(f)*i,a+r],u=[s,a-r]):(c=[s+r,a-=d/Math.abs(d)*i],u=[s-r,a]),l.routepath+="L "+s+" "+a+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+c[0]+" "+c[1]+" L "+u[0]+" "+u[1]);return l},t}()},"4+Vk":function(t,e,n){var r=n("vxC8")(n("IBsm"),"WeakMap");t.exports=r},"4/ik":function(t,e,n){var r=n("+ooz"),i=n("qeCs"),o=n("hyzI");t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(t,e),this.size=n.size,this}},"4CxS":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("aj3f"),i=n("Lm04"),o=n("gbTj"),s=n("bJjD");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=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.a.hasOwnProperty(e)?{space:r.a[e],local:t}:t}},"4ScB":function(t,e,n){var r=n("LtXa"),i=n("zH+d");t.exports=function(t){return r(t,i(t))}},"4e6e":function(t,e,n){t.exports={graphlib:n("vC4J"),layout:n("Pivv"),debug:n("zmx7"),util:{time:n("xxjf").time,notime:n("xxjf").notime},version:n("VQMV")}},"4jPf":function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"4p/L":function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},"4uJK":function(t,e,n){var r=n("CbIe"),i=n("OtNC"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},"58Ui":function(t,e,n){"use strict";var r=n("gjtd"),i=n("vC4J").Graph,o=n("K8/D").slack;function s(t,e){return r.forEach(t.nodes(),(function n(i){r.forEach(e.nodeEdges(i),(function(r){var s=r.v,a=i===s?r.w:s;t.hasNode(a)||o(e,r)||(t.setNode(a,{}),t.setEdge(i,a,{}),n(a))}))})),t.nodeCount()}function a(t,e){return r.minBy(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return o(e,n)}))}function c(t,e,n){r.forEach(t.nodes(),(function(t){e.node(t).rank+=n}))}t.exports=function(t){var e,n,r=new i({directed:!1}),u=t.nodes()[0],l=t.nodeCount();for(r.setNode(u,{});s(r,t)=c?u:u*("desc"==n[i]?-1:1)}return t.index-e.index}},"5nKN":function(t,e,n){var r=n("2q8g"),i=n("9vbJ"),o=n("tQYX"),s=n("c18h"),a=/^\[object .+?Constructor\]$/,c=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?c:a).test(s(t))}},"5pfJ":function(t,e,n){var r=n("vxC8")(Object,"create");t.exports=r},"5q8j":function(t,e){t.exports=function(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}},"6I2w":function(t,e,n){var r=n("kkM+"),i=n("tLQN");t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},"6QIk":function(t,e,n){var r=n("pPzx");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},"6R5o":function(t,e,n){var r=n("1aYn")(n("FllU"));t.exports=r},"6Rtw":function(t,e,n){var r=n("EAGB");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},"6UKJ":function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"6YE2":function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}},"7/jS":function(t,e,n){var r=n("Dhk8"),i=n("t0L4"),o=n("tLQN"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!s[r(t)]}},"7/we":function(t,e,n){var r=n("ZjRn"),i=n("hMsr"),o=n("0Ss3");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},"70Le":function(t,e,n){var r=n("W0vE"),i=n("X4R2"),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;t.exports=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(e){return o.call(t,e)})))}:i},"7No3":function(t,e,n){var r=n("EAGB"),i=n("lN3w"),o=n("Bstx"),s=n("bVbG"),a=n("6Rtw");t.exports=function(t,e,n){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,n);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return o(t);case"[object Set]":return new c;case"[object Symbol]":return s(t)}}},"7Pat":function(t,e,n){var r=n("+7q0"),i=n("kG2z")(r);t.exports=i},"7SLq":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return l}));var r={},i=null;function o(t,e,n){return t=s(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function s(t,e,n){return function(r){var o=i;i=r;try{t.call(this,this.__data__,e,n)}finally{i=o}}}function a(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function c(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r1?r[0]+r.slice(2):r,+t.slice(n+1)]}},"7seP":function(t,e,n){var r=n("4uJK"),i=n("kkM+"),o=n("9y2L"),s=n("nDih"),a=n("GVul");t.exports=function(t){if(null==t)return 0;if(o(t))return s(t)?a(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},"8MQl":function(t,e,n){"use strict";n.r(e),n.d(e,"transition",(function(){return $})),n.d(e,"active",(function(){return it})),n.d(e,"interrupt",(function(){return d}));var r=n("PQEP"),i=n("z0Nn"),o=n("o815"),s=n("DMvL"),a=Object(i.a)("start","end","cancel","interrupt"),c=[],u=function(t,e,n,r,i,u){var l=t.__transition;if(l){if(n in l)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(o){var l,h,f,d;if(1!==n.state)return u();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return Object(s.a)(a);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}var d=function(t,e){var n,r,i,o=t.__transition,s=!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]):s=!1;s&&delete t.__transition}},p=n("xgqZ"),g=n("4SAC");function m(t,e){var n,r;return function(){var i=h(this,t),o=i.tween;if(o!==n)for(var s=0,a=(r=n=o).length;s=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?l:h;return function(){var s=o(this,t),a=s.on;a!==r&&(i=(r=a).copy()).on(e,n),s.on=i}}var U=n("D2D4"),G=n("q6e+"),V=r.b.prototype.constructor,H=n("PaYb");function Y(t){return function(){this.style.removeProperty(t)}}function W(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function J(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&W(t,o,n)),r}return o._value=e,o}function q(t){return function(e){this.textContent=t.call(this,e)}}function Z(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&q(r)),e}return r._value=t,r}var X=0;function K(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function $(t){return Object(r.b)().transition(t)}function Q(){return++X}var tt=r.b.prototype;K.prototype=$.prototype={constructor:K,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Object(U.a)(t));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s1&&n.name===e)return new K([[t]],rt,e,+r);return null}},"8Zrg":function(t,e){t.exports=function(){this.__data__=[],this.size=0}},"98dg":function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}},"9SCj":function(t,e,n){var r=n("LmOH"),i=n("Q4oW"),o=n("D49j"),s=n("wxYD");t.exports=function(t,e){return(s(t)?r:i)(t,o(e))}},"9SKQ":function(t,e,n){var r=n("JNqh");t.exports=function(t){return r(this,t).has(t)}},"9TP6":function(t,e,n){var r=n("OBn4"),i=n("nnm9"),o=n("XlL0"),s=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=s},"9au6":function(t,e){var n=Math.ceil,r=Math.max;t.exports=function(t,e,i,o){for(var s=-1,a=r(n((e-t)/(i||1)),0),c=Array(a);a--;)c[o?a:++s]=t,t+=i;return c}},"9vbJ":function(t,e,n){var r,i=n("3KBa"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},"9y2L":function(t,e,n){var r=n("2q8g"),i=n("t0L4");t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},AjPR:function(t,e,n){var r=n("LtXa"),i=n("70Le");t.exports=function(t,e){return r(t,i(t),e)}},AonO:function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,"b",(function(){return r})),e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},BSbB:function(t,e,n){"use strict";var r=n("4SAC"),i=n("YKAa");function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.b&&e.documentElement.namespaceURI===i.b?e.createElement(t):e.createElementNS(n,t)}}function s(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}e.a=function(t){var e=Object(r.a)(t);return(e.local?s:o)(e)}},BSqe:function(t,e){t.exports=function(t){return this.__data__.get(t)}},Bitd:function(t,e,n){"use strict";var r=n("CQYr"),i=n("pmbw");e.a=function(t,e,n){arguments.length<3&&(n=e,e=Object(r.a)().changedTouches);for(var o,s=0,a=e?e.length:0;s=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-u>-1e-4&&(u=t.x+t.width-0)}0!=t.length&&(function(t){t.forEach((function(t){var e,n,r,o,s;e=t,n=Number.MAX_VALUE,r=Number.MAX_VALUE,o=0,s=0,e.array.forEach((function(t){var e=void 0!==t.width?t.width:i,a=void 0!==t.height?t.height:i;e/=2,a/=2,o=Math.max(t.x+e,o),n=Math.min(t.x-e,n),s=Math.max(t.y+a,s),r=Math.min(t.y-a,r)})),e.width=o-n,e.height=s-r}))}(t),function(t,e){var n=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=s-(s-o)/r;c=p(t,g)}if(0!=l){var m=o+(s-o)/r;u=p(t,m)}if(f=Math.abs(g-m),d=Math.abs(c-u),cu?(o=g,g=m,c=u,l=1):(s=m,m=g,u=c,l=0),a++>100)break}p(t,i)}(t),s&&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)+a/2-u/2,r=t.y-(e.y-t.height/2)+c/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,s=0;s-1}},D2D4:function(t,e,n){"use strict";function r(){}e.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},D49j:function(t,e,n){var r=n("zWgn");t.exports=function(t){return"function"==typeof t?t:r}},D5rW:function(t,e,n){var r=n("gjtd"),i=n("vC4J").Graph;t.exports=function(t,e,n){var o=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),s=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.forEach(t.nodes(),(function(i){var a=t.node(i),c=t.parent(i);(a.rank===e||a.minRank<=e&&e<=a.maxRank)&&(s.setNode(i),s.setParent(i,c||o),r.forEach(t[n](i),(function(e){var n=e.v===i?e.w:e.v,o=s.edge(n,i),a=r.isUndefined(o)?0:o.weight;s.setEdge(n,i,{weight:t.edge(e).weight+a})})),r.has(a,"minRank")&&s.setNode(i,{borderLeft:a.borderLeft[e],borderRight:a.borderRight[e]}))})),s}},DMvL:function(t,e,n){"use strict";var r=n("o815");e.a=function(t,e,n){var i=new r.a;return i.restart((function(n){i.stop(),t(n+e)}),e=null==e?0:+e,n),i}},Dhk8:function(t,e,n){var r=n("Syyo"),i=n("KCLV"),o=n("kHoZ"),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},DjCF:function(t,e){t.exports=function(){return!1}},DuXo:function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++oc.lim&&(u=c,l=!0);var h=r.filter(e.edges(),(function(e){return l===b(0,t.node(e.v),u)&&l!==b(0,t.node(e.w),u)}));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=a(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 b(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},ENE1:function(t,e,n){var r=n("IBsm");t.exports=function(){return r.Date.now()}},FaiA:function(t,e){t.exports=function(t,e){return t>e}},FllU:function(t,e,n){var r=n("DuXo"),i=n("S3pA"),o=n("m2YG"),s=Math.max;t.exports=function(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var c=null==n?0:o(n);return c<0&&(c=s(a+c,0)),r(t,i(e,3),c)}},GEHm:function(t,e,n){"use strict";var r=n("157b"),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var n,s,a,c=i.lastIndex=o.lastIndex=0,u=-1,l=[],h=[];for(t+="",e+="";(n=i.exec(t))&&(s=o.exec(e));)(a=s.index)>c&&(a=e.slice(c,a),l[u]?l[u]+=a:l[++u]=a),(n=n[0])===(s=s[0])?l[u]?l[u]+=s:l[++u]=s:(l[++u]=null,h.push({i:u,x:Object(r.a)(n,s)})),c=o.lastIndex;return c=t.barycenter)&&(o=0,s=0,(n=t).weight&&(o+=n.barycenter*n.weight,s+=n.weight),(i=e).weight&&(o+=i.barycenter*i.weight,s+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/s,n.weight=s,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})))}},HsnV:function(t,e,n){var r=n("+ooz"),i=n("RNlM"),o=n("E4ao"),s=n("BSqe"),a=n("L6um"),c=n("4/ik");function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,t.exports=u},I6Yn:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u}));var r=n("PvqL"),i=n("zL3f"),o=n("v+BR"),s=n("Lgd7");function a(t){return function(e){var n,i,o=e.length,s=new Array(o),a=new Array(o),c=new Array(o);for(n=0;nc||u>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)a.push(i);return{path:s.concat(a.reverse()),lca:o}}(t,e,i.v,i.w),s=o.path,a=o.lca,c=0,u=s[c],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(u=s[c])!==a&&t.node(u).maxRank=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,n=[];return function t(e,n,r){e.forAll((function(e){if(e.isLeaf())n.leaves||(n.leaves=[]),n.leaves.push(e.id);else{var i=n;if(e.gid=r.length,!e.isIsland()||e.isPredefined()){if(i={id:e.gid},e.isPredefined())for(var o in e.definition)i[o]=e.definition[o];n.groups||(n.groups=[]),n.groups.push(e.gid),r.push(i)}t(e.children,i,r)}}))}(this.roots[0],{},n),this.allEdges().forEach((function(i){var o=e.modules[i.source],s=e.modules[i.target];t.push(new r(void 0===o.gid?i.source:n[o.gid],void 0===s.gid?i.target:n[s.gid],i.type))})),n},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}();e.Configuration=i;var o=function(){function t(t,e,n,r,i){void 0===e&&(e=new a),void 0===n&&(n=new a),void 0===r&&(r=new s),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(n,i){n.forAll((function(n){t.push(new r(e.id,n.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 s=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=s;var a=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 s).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=a,e.getGroups=function(t,e,n,r){for(var o=new i(t.length,e,n,r);o.greedyMerge(););var s=[],a=o.getGroupHierarchy(s);return s.forEach((function(e){var n=function(n){var r=e[n];"number"==typeof r&&(e[n]=t[r])};n("source"),n("target")})),{groups:a,powerEdges:s}}},JYmt:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},JcJ6:function(t,e,n){var r=n("Syyo"),i=n("H87J"),o=n("wxYD"),s=n("a88S"),a=r?r.prototype:void 0,c=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(s(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},Jl0P:function(t,e,n){var r;try{r={clone:n("zr3P"),constant:n("eN33"),each:n("h4um"),filter:n("+DnP"),has:n("1mr4"),isArray:n("wxYD"),isEmpty:n("MwrP"),isFunction:n("2q8g"),isUndefined:n("CZlo"),keys:n("BlJA"),map:n("mbB6"),reduce:n("veKZ"),size:n("7seP"),transform:n("cZX/"),union:n("aGtI"),values:n("0iyY")}}catch(i){}r||(r=window._),t.exports=r},"K8/D":function(t,e,n){"use strict";var r=n("gjtd");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 s=r.min(r.map(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return s!==Number.POSITIVE_INFINITY&&null!=s||(s=0),o.rank=s}))},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},"KAo/":function(t,e,n){var r=n("NYSw"),i=n("2srY"),o=n("NW/2"),s=n("i7nn"),a=n("+tCn"),c=n("0Ss3"),u=n("Ypsa");t.exports=function(t,e){return s(t)&&a(e)?c(u(t),e):function(n){var s=i(n,t);return void 0===s&&s===e?o(n,t):r(e,s,3)}}},KCLV:function(t,e,n){var r=n("Syyo"),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(c){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i}},KLrH:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r,i,o,s=n("c4If");function a(t){return r=Object(s.a)(t),i=r.format,o=r.formatPrefix,r}a({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},Kkar:function(t,e,n){var r=n("Dhk8"),i=n("/wCD"),o=n("tLQN"),s=Function.prototype.toString,a=Object.prototype.hasOwnProperty,c=s.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=a.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}},L6um:function(t,e){t.exports=function(t){return this.__data__.has(t)}},LL3N:function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},"LPC+":function(t,e,n){var r=n("JElN"),i=n("FaiA"),o=n("zWgn");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},Lgd7:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var r=n("PXG9");function i(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?i(t,n>180||n<-180?n-360*Math.round(n/360):n):Object(r.a)(isNaN(t)?e:t)}function s(t){return 1==(t=+t)?a: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):Object(r.a)(isNaN(e)?n:e)}}function a(t,e){var n=e-t;return n?i(t,n):Object(r.a)(isNaN(t)?e:t)}},Lm04:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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=r,e.Descent=function(){function t(t,e,n){void 0===n&&(n=null),this.D=e,this.G=n,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new i,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 r,this.minD=Number.MAX_VALUE;for(var s,a=o;a--;)for(s=o;--s>a;){var c=e[a][s];c>0&&c1e-9)break;var d=this.offsetDir();for(r=0;r1&&p>g||!isFinite(g))for(r=0;r1&&(m=1);var v=g*g,b=2*m*(p-g)/(v*p),y=p*p*p,w=2*-m/(v*y);for(isFinite(b)||console.log(b),r=0;r0?k-(T+1)*x:k-(T-1)*x)&&f<=_&&(this.scaleSnapByMaxH?(this.g[r][c]+=a*E*f,this.H[r][c][c]+=a*E):(this.g[r][c]+=E*f,this.H[r][c][c]+=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=i},LmOH:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n0}function l(t,e,n){return c(t,e,n)<0}function h(t,e){var n,r,i,o,s=e.length-1;if(l(t,e[1],e[0])&&!u(t,e[s-1],e[0]))return 0;for(n=0,r=s;;){if(r-n==1)return u(t,e[n],e[r])?n:r;if((o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]))&&!u(t,e[i-1],e[i]))return i;u(t,e[n+1],e[n])?o||u(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,s=e.length-1;if(u(t,e[s-1],e[0])&&!l(t,e[1],e[0]))return 0;for(n=0,r=s;;){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]),u(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:u(t,e[n],e[i])?r=i:n=i}}function d(t,e,n,r,i,o){var s,a;a=r(t[s=n(e[0],t)],e);for(var c=!1;!c;){for(c=!0;s===t.length-1&&(s=0),!i(e[a],t[s],t[s+1]);)++s;for(;0===a&&(a=e.length-1),!o(t[s],e[a],e[a-1]);)--a,c=!1}return{t1:s,t2:a}}function p(t,e){return d(t,e,h,f,u,l)}e.LineSegment=a,e.PolyPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(s),e.isLeft=c,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(a=e+1,e=o;++e<=a;)if(!(c(n[0],n[a],n[e])>=0&&e1&&!(c(s[s.length-2],s[s.length-1],n[e])>0);)s.length-=1;0!=e&&s.push(n[e])}u!=a&&s.push(n[u]);var h=s.length;for(e=a;--e>=o;)if(!(c(n[u],n[o],n[e])>=0&&e>o)){for(;s.length>h&&!(c(s[s.length-2],s[s.length-1],n[e])>0);)s.length-=1;0!=e&&s.push(n[e])}}return s},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,u,u)};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}(s);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 b=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 y(t,e){for(var n=[],r=1,i=e.length;r=0&&v>=0&&b<0&&y>=0&&w>=0&&_<0?i.ll=new g(o,s):p<=0&&v<=0&&b>0&&y<=0&&w<=0&&_>0?i.rr=new g(o,s):p<=0&&v>0&&b<=0&&y>=0&&w<0&&_>=0?i.rl=new g(o,s):p>=0&&v<0&&b>=0&&y<=0&&w>0&&_<=0&&(i.lr=new g(o,s))}return i}function _(t,e){return!t.every((function(t){return!function(t,e){for(var n=1,r=e.length;n0&&this.E.push(new b(i[o-1].vv,s))}i.length>1&&this.E.push(new b(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(_(t,e))return!0;if(_(e,t))return!0;for(var n=1,r=t.length;n0)return!0}return!1}},OBn4:function(t,e,n){var r=n("vxC8")(n("IBsm"),"Set");t.exports=r},OSyp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("zyX+"),i=n("3vZi");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,s=[],a=t.nodes.slice(0);return a.forEach((function(t,e){return t.index=e})),i.groups.forEach((function(t){var e=t.index=t.id+o;a.push(t),void 0!==t.leaves&&t.leaves.forEach((function(t){return s.push({source:e,target:t.index})})),void 0!==t.groups&&t.groups.forEach((function(t){return s.push({source:e,target:t.id+o})}))})),i.powerEdges.forEach((function(t){s.push({source:t.source.index,target:t.target.index})})),(new r.Layout).size(e).nodes(a).links(s).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}}},OUo6:function(t,e,n){var r=n("c72w"),i=n("WvmI");t.exports=function(t,e){return i(t||[],e||[],r)}},OfKG:function(t,e,n){var r=n("c7Qd");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},OtNC:function(t,e,n){var r=n("TAtK")(Object.keys,Object);t.exports=r},PKEM:function(t,e,n){var r=n("JElN"),i=n("S3pA"),o=n("n+p3");t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},PQEP:function(t,e,n){"use strict";n.d(e,"c",(function(){return q})),n.d(e,"a",(function(){return Z}));var r=n("D2D4"),i=n("q6e+"),o=n("XlMc"),s=function(t){return new Array(t.length)};function a(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function c(t,e,n,r,i,o){for(var s,c=0,u=e.length,l=o.length;ce?1:t>=e?0:NaN}a.prototype={constructor:a,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("4SAC");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 b=n("PaYb");function y(t){return function(){delete this[t]}}function w(t,e){return function(){this[t]=e}}function _(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 S(t)}function S(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function k(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 z=n("BSbB");function F(){return null}function B(){var t=this.parentNode;t&&t.removeChild(this)}function U(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function G(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var V=n("7SLq"),H=n("MysN");function Y(t,e,n){var r=Object(H.a)(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 W(t,e){return function(){return Y(this,t,e)}}function J(t,e){return function(){return Y(this,t,e.apply(this,arguments))}}var q=[null];function Z(t,e){this._groups=t,this._parents=e}function X(){return new Z([[document.documentElement]],q)}Z.prototype=X.prototype={constructor:Z,select:function(t){"function"!=typeof t&&(t=Object(r.a)(t));for(var e=this._groups,n=e.length,i=new Array(n),o=0;o=E&&(E=x+1);!(_=y[E])&&++E=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=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?y:"function"==typeof e?_: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.008856451679035631?Math.pow(t,1/3):t/T+M}function N(t){return t>A?t*t*t:T*(t-M)}function j(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 P(t){if(t instanceof z)return new z(t.h,t.c,t.l,t.opacity);if(t instanceof O||(t=D(t)),0===t.a&&0===t.b)return new z(NaN,01?this.each((null==e?i:"function"==typeof e?s:o)(t,e,null==n?"":n)):a(this.node(),t)}},Pivv:function(t,e,n){"use strict";var r=n("gjtd"),i=n("1yUy"),o=n("RmLA"),s=n("4DVH"),a=n("xxjf").normalizeRanks,c=n("JUZX"),u=n("xxjf").removeEmptyRanks,l=n("wHMW"),h=n("0gKz"),f=n("+jFT"),d=n("erCh"),p=n("Nebv"),g=n("xxjf"),m=n("vC4J").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=M(t.graph());return e.setGraph(r.merge({},b,k(n,v),r.pick(n,y))),r.forEach(t.nodes(),(function(n){var i=M(t.node(n));e.setNode(n,r.defaults(k(i,w),_)),e.setParent(n,t.parent(n))})),r.forEach(t.edges(),(function(n){var i=M(t.edge(n));e.setEdge(n,r.merge({},E,k(i,x),r.pick(i,S)))})),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(){s(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(){u(t)})),e(" nestingGraph.cleanup",(function(){l.cleanup(t)})),e(" normalizeRanks",(function(){a(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(){c(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,s=n.x-i,a=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*s/3,y:o-a},{x:i+5*s/6,y:o-a},{x:i+s,y:o},{x:i+5*s/6,y:o+a},{x:i+2*s/3,y:o+a}],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),s=t.node(r.last(n.borderLeft)),a=t.node(r.last(n.borderRight));n.width=Math.abs(a.x-s.x),n.height=Math.abs(o.y-i.y),n.x=s.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,s=t.graph(),a=s.marginx||0,c=s.marginy||0;function u(t){var r=t.x,s=t.y,a=t.width,c=t.height;e=Math.min(e,r-a/2),n=Math.max(n,r+a/2),i=Math.min(i,s-c/2),o=Math.max(o,s+c/2)}r.forEach(t.nodes(),(function(e){u(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.has(n,"x")&&u(n)})),e-=a,i-=c,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)})),s.width=n-e+a,s.height=o-i+c}(t)})),e(" assignNodeIntersects",(function(){!function(t){r.forEach(t.edges(),(function(e){var n,r,i=t.edge(e),o=t.node(e.v),s=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=s,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(s,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"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],w=["width","height"],_={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"];function k(t,e){return r.mapValues(r.pick(t,e),Number)}function M(t){var e={};return r.forEach(t,(function(t,n){e[n.toLowerCase()]=t})),e}},PvqL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return w})),n.d(e,"h",(function(){return E})),n.d(e,"g",(function(){return S})),n.d(e,"b",(function(){return k})),n.d(e,"f",(function(){return O}));var r=n("AonO");function i(){}var o=.7,s=1/o,a="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,h=new RegExp("^rgb\\("+[a,a,a]+"\\)$"),f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgba\\("+[a,a,a,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),g=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function w(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?_(e):3===n?new k(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 k(e[1],e[2],e[3],1):(e=f.exec(t))?new k(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)?_(v[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function _(t){return new k(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new k(t,e,n,r)}function E(t){return t instanceof i||(t=w(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function S(t,e,n,r){return 1===arguments.length?E(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function M(){return"#"+T(this.r)+T(this.g)+T(this.b)}function A(){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 T(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 C(t,e,n,r)}function I(t){if(t instanceof C)return new C(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new C;if(t instanceof C)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),s=Math.max(e,n,r),a=NaN,c=s-o,u=(s+o)/2;return c?(a=e===s?(n-r)/c+6*(n0&&u<1?0:a,new C(a,c,u,t.opacity)}function O(t,e,n,r){return 1===arguments.length?I(t):new C(t,e,n,null==r?1:r)}function C(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function N(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Object(r.a)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return I(this).formatHsl()},formatRgb:y,toString:y}),Object(r.a)(k,S,Object(r.b)(i,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new k(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:M,formatHex:M,formatRgb:A,toString:A})),Object(r.a)(C,O,Object(r.b)(i,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new C(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new C(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 k(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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+")")}}))},"Pz+s":function(t,e,n){var r=n("vxC8"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},Q4oW:function(t,e,n){var r=n("zKkv"),i=n("bz5b")(r);t.exports=i},Q7Qd:function(t,e,n){!function(t,e,n,r,i,o,s,a,c,u){"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 s=0;s0?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){u[t.id]=t}function b(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 y(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(),s=i.getTotalLength(),a=(o.setAttribute("d",e),o).getTotalLength(),c=[0],u=0,l=r?n:n/Math.max(s,a);(u+=l)<1;)c.push(u);return c.push(1),c.map((function(t){var e=i.getPointAtLength(t*s),n=o.getPointAtLength(t*a);return[[e.x,e.y],[n.x,n.y]]}))}(r,n,s,a)}}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),b(t,n),y(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 _(t){(function(t){if(c&&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(c&&!l[t.id]&&t.parent&&A(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],s=h[o],a=f[o];if(a){if((p=s.children.findIndex((function(t,e){return"g"==t.tag})))>=0){var u=s.children[p].children.findIndex((function(t,e){return"a"==t.tag}));s=s.children[p].children[u]}(p=a.children.findIndex((function(t,e){return"g"==t.tag})))>=0&&(u=a.children[p].children.findIndex((function(t,e){return"a"==t.tag})),a=a.children[p].children[u]);for(var d=s.children,p=0;p0&&this._queue.shift().call(this)}function N(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 j(t,e,n,r,i,o,s){var a=d(z.call(this,o));t.data([a]),y.call(t.node(),a),R(t,e,n,r,i,o,s)}function R(t,e,n,r,i,o,s){var a=s.shortening||0,c=[[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-a-10-.1)*d,i=n+(f-a-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 b=u.path();b.moveTo(e,n),b.lineTo(r,i),m.attr("d",b),r=e+(f-a-10)*d,i=n+(f-a-10)*p;for(var y=0;y b ["+n+"]}","svg","dot"),a=(new window.DOMParser).parseFromString(s,"image/svg+xml");return e.select(document.createDocumentFragment()).append((function(){return a.documentElement})).select(".edge")}function F(t,e,n,r,i,o){var s=d(V.call(this,r,i));return t.data([s]),y.call(t.node(),s),B(t,e,n,i),this}function B(t,n,r,i,o){if(i.URL||i.tooltip)var s=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else s=t;var a=s.selectAll("ellipse,polygon,path,polyline"),c=t.selectWithoutDataPropagation("text");if(0!=a.size()){var u=a.node().getBBox();u.cx=u.x+u.width/2,u.cy=u.y+u.height/2}else 0!=c.size()&&(u={x:+c.attr("x"),y:+c.attr("y"),width:0,height:0,cx:+c.attr("x"),cy:+c.attr("y")});return a.each((function(t,i){var o=e.select(this);if(o.attr("cx"))o.attr("cx",_(n)).attr("cy",_(r));else if(o.attr("points")){var s=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[_(+e+ +t.split(",")[0]),_(+n+ +t.split(",")[1])]})),(r=i.map((function(t){return t.join(",")}))).join(" ")}(s,n-u.cx,r-u.cy))}else{var a=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[_(+e+ +t.split(",")[0]),_(+n+ +t.split(",")[1])]})).map((function(t){return t.join(",")})));return r.reduce((function(t,e,n){return t.concat(e,i[n])}),[]).join("")}(a,n-u.cx,r-u.cy))}})),0!=c.size()&&c.attr("x",_(+c.attr("x")+n-u.cx)).attr("y",_(+c.attr("y")+r-u.cy)),this}function U(){if(!this._drawnNode)return this;var t=this._drawnNode.g;return t.empty()||t.remove(),this._drawnNode=null,this}function G(){return this._drawnNode?this._drawnNode.g:e.select(null)}function V(t,n){for(var r="",i=0,o=Object.keys(n);i2")(s)+" ",i+=a+" ".repeat(o-a.length),i+=c.format(" >5")(t-n)+" ","initEnd"!=a&&(i+=c.format(" >5")(t-r.start[e])),"dataProcessEnd"==a&&(i+=" prepare "+c.format(" >5")(t-r.layoutEnd[e])),"renderEnd"==a&&u._transition&&(i+=" transition start margin "+c.format(" >5")(u._transition.delay()-(t-r.renderStart[e])),l=u._transition.delay(),f=u._transition.duration()),"transitionStart"==a){var h=t-r.renderStart[e];i+=" transition delay "+c.format(" >5")(t-r.renderStart[e]),i+=" expected "+c.format(" >5")(l),i+=" diff "+c.format(" >5")(h-l)}if("transitionEnd"==a){var d=t-r.transitionStart[e];i+=" transition duration "+c.format(" >5")(d),i+=" expected "+c.format(" >5")(f),i+=" diff "+c.format(" >5")(d-f)}console.log(i),n=t}:null)},a=0;a5&&void 0!==arguments[5]?arguments[5]:{};if((o=Object.assign({},o)).style&&o.style.includes("invis"))var a=e.select(null);else{var c=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),u=d(z.call(this,o));a=c.append("g").data([u]),y.call(a.node(),u),j.call(this,a,t,n,r,i,o,s)}return this._drawnEdge={g:a,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 s=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,!s.empty()||i.style&&i.style.includes("invis")||(s=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=s),s.empty()||j.call(this,s,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,s=this._drawnEdge.attributes;return this._drawnEdge.x2=t,this._drawnEdge.y2=e,R(r,i,o,t,e,s,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:P},"removeDrawnEdge",P),l(J,"drawnEdgeSelection",L),l(J,"drawnEdgeSelection",L),l(J,"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 s=e.select(null);else{var a=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),c=d(V.call(this,r,i));s=a.append("g").data([c]),y.call(s.node(),c),F.call(this,s,t,n,r,i,o)}return this._drawnNode={g:s,nodeId:r,x:t,y:n,attributes:i},this})),l(J,"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(J,"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()||B(n,t,e,r),this})),l(J,"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"),s=o.datum(),a=this._extractData(e,s.children.length,o.datum());return s.children.push(a),v(e,a),this._drawnNode=null,this})),l(J,"removeDrawnNode",U),l(J,"removeDrawnNode",U),l(J,"drawnNodeSelection",G),l(J,"drawnNodeSelection",G),J),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 q(this,t),e},e.selection.prototype.selectWithoutDataPropagation=function(t){return e.select(this.size()>0?this.node().querySelector(t):null)},t.graphviz=Z,Object.defineProperty(t,"__esModule",{value:!0})}(e,n("bqB3"),n("ge/T"),n("8MQl"),n("wAkE"),n("PRIO"),n("uoq0"),n("Uzsj"),n("3QYS"),n("UKUc"))},QF3D:function(t,e,n){var r=n("vxC8")(n("IBsm"),"DataView");t.exports=r},QMz8:function(t,e,n){var r=n("5pfJ"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},QT01:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n=r);)++i;if(i-e>16&&t.subarray&&w)return w.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&u)}}else o+=String.fromCharCode((31&s)<<6|a)}else o+=String.fromCharCode(s)}return o}function x(t,e){return t?_(v,t,e):""}function E(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,s=0;s=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++s)),a<=127){if(n>=o)break;e[n++]=a}else if(a<=2047){if(n+1>=o)break;e[n++]=192|a>>6,e[n++]=128|63&a}else if(a<=65535){if(n+2>=o)break;e[n++]=224|a>>12,e[n++]=128|a>>6&63,e[n++]=128|63&a}else{if(n+3>=o)break;e[n++]=240|a>>18,e[n++]=128|a>>12&63,e[n++]=128|a>>6&63,e[n++]=128|63&a}}return e[n]=0,n-i}function S(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 k(t){g=t,r.HEAP8=m=new Int8Array(t),r.HEAP16=new Int16Array(t),r.HEAP32=b=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=y=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var M=r.TOTAL_MEMORY||16777216;function A(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()}}(u=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:M/65536}))&&(g=u.buffer),M=g.byteLength,k(g),b[2080]=5251360;var T=[],D=[],I=[],O=[],C=!1,N=Math.abs,j=Math.ceil,R=Math.floor,P=Math.min,L=0,z=null;function F(t){L++,r.monitorRunDependencies&&r.monitorRunDependencies(L)}function B(t){if(L--,r.monitorRunDependencies&&r.monitorRunDependencies(L),0==L&&z){var e=z;z=null,e()}}function U(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 G(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 V,H,Y,W="expatlib.wasm";function J(){try{if(c)return new Uint8Array(c);throw"both async and sync fetching of the wasm failed"}catch(h){U(h)}}G(W)||(V=W,W=r.locateFile?r.locateFile(V,a):a+V);var q={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 Z={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=Z.normalizeArray(t.split("/").filter((function(t){return!!t})),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=Z.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 Z.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return Z.normalize(t.join("/"))},join2:function(t,e){return Z.normalize(t+"/"+e)}};function X(t){return r.___errno_location&&(b[r.___errno_location()>>2]=t),t}var K={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=Z.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=K.resolve(t).substr(1),e=K.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),s=o,a=0;a0&&(l(_(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(h(_(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(h(_(t.output,0)),t.output=[])}}},Q={ops_table:null,mount:function(t){return Q.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(tt.isBlkdev(n)||tt.isFIFO(n))throw new tt.ErrnoError(63);Q.ops_table||(Q.ops_table={dir:{node:{getattr:Q.node_ops.getattr,setattr:Q.node_ops.setattr,lookup:Q.node_ops.lookup,mknod:Q.node_ops.mknod,rename:Q.node_ops.rename,unlink:Q.node_ops.unlink,rmdir:Q.node_ops.rmdir,readdir:Q.node_ops.readdir,symlink:Q.node_ops.symlink},stream:{llseek:Q.stream_ops.llseek}},file:{node:{getattr:Q.node_ops.getattr,setattr:Q.node_ops.setattr},stream:{llseek:Q.stream_ops.llseek,read:Q.stream_ops.read,write:Q.stream_ops.write,allocate:Q.stream_ops.allocate,mmap:Q.stream_ops.mmap,msync:Q.stream_ops.msync}},link:{node:{getattr:Q.node_ops.getattr,setattr:Q.node_ops.setattr,readlink:Q.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Q.node_ops.getattr,setattr:Q.node_ops.setattr},stream:tt.chrdev_stream_ops}});var i=tt.createNode(t,e,n,r);return tt.isDir(i.mode)?(i.node_ops=Q.ops_table.dir.node,i.stream_ops=Q.ops_table.dir.stream,i.contents={}):tt.isFile(i.mode)?(i.node_ops=Q.ops_table.file.node,i.stream_ops=Q.ops_table.file.stream,i.usedBytes=0,i.contents=null):tt.isLink(i.mode)?(i.node_ops=Q.ops_table.link.node,i.stream_ops=Q.ops_table.link.stream):tt.isChrdev(i.mode)&&(i.node_ops=Q.ops_table.chrdev.node,i.stream_ops=Q.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 s=Math.min(t.node.usedBytes-i,r);if(s>8&&o.subarray)e.set(o.subarray(i,i+s),n);else for(var a=0;a0||i+r8)throw new tt.ErrnoError(32);for(var i=Z.normalizeArray(t.split("/").filter((function(t){return!!t})),!1),o=tt.root,s="/",a=0;a40)throw new tt.ErrnoError(32)}}return{path:s,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 s=tt.lookupPath(n,{follow_mount:!1});if(n=s.path,tt.isMountpoint(r=s.node))throw new tt.ErrnoError(10);if(!tt.isDir(r.mode))throw new tt.ErrnoError(54)}var a={type:t,opts:e,mountpoint:n,mounts:[]},c=t.mount(a);return c.mount=a,a.root=c,i?tt.root=c:r&&(r.mounted=a,r.mount&&r.mount.mounts.push(a)),c},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=Z.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,s=1048576;i||(s=r);var a=this;a.setDataGetter((function(t){var e=t*s,i=(t+1)*s-1;if(i=Math.min(i,r-1),void 0===a.chunks[t]&&(a.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!==s&&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||[]):st(i.responseText||"",!0)}(e,i)),void 0===a.chunks[t])throw new Error("doXHR failed!");return a.chunks[t]})),!o&&r||(s=r=1,r=this.getter(0).length,s=r,l("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=s,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 s,a=tt.createFile(t,e,s={isDevice:!1,url:n},r,i);s.contents?a.contents=s.contents:s.url&&(a.contents=null,a.url=s.url),Object.defineProperties(a,{usedBytes:{get:function(){return this.contents.length}}});var c={};return Object.keys(a.stream_ops).forEach((function(t){var e=a.stream_ops[t];c[t]=function(){if(!tt.forceLoadFile(a))throw new tt.ErrnoError(29);return e.apply(null,arguments)}})),c.read=function(t,e,n,r,i){if(!tt.forceLoadFile(a))throw new tt.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var s=Math.min(o.length-i,r);if(o.slice)for(var c=0;c>2]=r.dev,b[n+4>>2]=0,b[n+8>>2]=r.ino,b[n+12>>2]=r.mode,b[n+16>>2]=r.nlink,b[n+20>>2]=r.uid,b[n+24>>2]=r.gid,b[n+28>>2]=r.rdev,b[n+32>>2]=0,Y=[r.size>>>0,(H=r.size,+N(H)>=1?H>0?(0|P(+R(H/4294967296),4294967295))>>>0:~~+j((H-+(~~H>>>0))/4294967296)>>>0:0)],b[n+40>>2]=Y[0],b[n+44>>2]=Y[1],b[n+48>>2]=4096,b[n+52>>2]=r.blocks,b[n+56>>2]=r.atime.getTime()/1e3|0,b[n+60>>2]=0,b[n+64>>2]=r.mtime.getTime()/1e3|0,b[n+68>>2]=0,b[n+72>>2]=r.ctime.getTime()/1e3|0,b[n+76>>2]=0,Y=[r.ino>>>0,(H=r.ino,+N(H)>=1?H>0?(0|P(+R(H/4294967296),4294967295))>>>0:~~+j((H-+(~~H>>>0))/4294967296)>>>0:0)],b[n+80>>2]=Y[0],b[n+84>>2]=Y[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=Z.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,S(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],a=tt.read(t,m,b[e+8*o>>2],s,r);if(a<0)return-1;if(i+=a,a>2],b[e+(8*o+4)>>2],r);if(s<0)return-1;i+=s}return i},varargs:0,get:function(t){return et.varargs+=4,b[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 u.grow(t-g.byteLength+65535>>16),k(u.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",_:s||"./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(y[(e=e+7&-8)>>3]),e+=8):(r.push(b[(e=e+3&-4)>>2]),e+=4);return r}function st(t,e,n){var r=n>0?n:S(t)+1,i=new Array(r),o=E(t,i,0,i.length);return e&&(i.length=o),i}tt.staticInit();var at={h:function(t,e){et.varargs=e;try{return 42}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||U(n),-n.errno}},e:function(){U()},a:function(t,e,n){var r=ot(e,n);return q[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;b[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();b[t>>2]=n.length;var r=0;return n.forEach((function(t){r+=t.length+1})),b[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||U(n),n.errno}},i:function(t,e,n,r,i){try{var o=et.getStreamFromFD(t),s=4294967296*n+(e>>>0);return s<=-9007199254740992||s>=9007199254740992?-61:(tt.llseek(o,s,r),Y=[o.position>>>0,(H=o.position,+N(H)>=1?H>0?(0|P(+R(H/4294967296),4294967295))>>>0:~~+j((H-+(~~H>>>0))/4294967296)>>>0:0)],b[i>>2]=Y[0],b[i+4>>2]=Y[1],o.getdents&&0===s&&0===r&&(o.getdents=null),0)}catch(a){return void 0!==tt&&a instanceof tt.ErrnoError||U(a),a.errno}},b:function(t,e,n,r){try{var i=et.getStreamFromFD(t),o=et.doWritev(i,e,n);return b[r>>2]=o,0}catch(s){return void 0!==tt&&s instanceof tt.ErrnoError||U(s),s.errno}},k:function(t){var e=Date.now();return b[t>>2]=e/1e3|0,b[t+4>>2]=e%1e3*1e3|0,0},memory:u,table:f},ct=function(){var t={a:at};function e(t,e){r.asm=t.exports,B()}function n(t){e(t.instance)}function i(e){return(c||"function"!=typeof fetch?new Promise((function(t,e){t(J())})):fetch(W,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+W+"'";return t.arrayBuffer()})).catch((function(){return J()}))).then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){h("failed to asynchronously prepare wasm: "+t),U(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(c||"function"!=typeof WebAssembly.instantiateStreaming||G(W)||"function"!=typeof fetch)return i(n);fetch(W,{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=ct;var ut,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)},bt=r._emscripten_bind_CExpat_startElement_0=function(){return(bt=r._emscripten_bind_CExpat_startElement_0=r.asm.t).apply(null,arguments)},yt=r._emscripten_bind_CExpat_endElement_0=function(){return(yt=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)},_t=r._emscripten_bind_CExpat___destroy___0=function(){return(_t=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)},St=r._emscripten_bind_CExpatJS_endElement_0=function(){return(St=r._emscripten_bind_CExpatJS_endElement_0=r.asm.z).apply(null,arguments)},kt=r._emscripten_bind_CExpatJS_characterData_0=function(){return(kt=r._emscripten_bind_CExpatJS_characterData_0=r.asm.A).apply(null,arguments)},Mt=r._emscripten_bind_CExpatJS___destroy___0=function(){return(Mt=r._emscripten_bind_CExpatJS___destroy___0=r.asm.B).apply(null,arguments)},At=r._emscripten_bind_VoidPtr___destroy___0=function(){return(At=r._emscripten_bind_VoidPtr___destroy___0=r.asm.C).apply(null,arguments)},Tt=r._malloc=function(){return(Tt=r._malloc=r.asm.D).apply(null,arguments)};function Dt(t){function e(){ut||(ut=!0,d||(C=!0,r.noFSInit||tt.init.initialized||tt.init(),$.init(),A(D),tt.ignorePermissions=!1,A(I),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),O.unshift(t);var t;A(O)}()))}L>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),T.unshift(t);var t;A(T)}(),L>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=ct,r.then=function(t){if(ut)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},z=function t(){ut||Dt(),ut||(z=t)},r.run=Dt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function It(){}function Ot(t){return(t||It).__cache__}function Ct(t,e){var n=Ot(e),r=n[t];return r||((r=Object.create((e||It).prototype)).ptr=t,n[t]=r)}Dt(),(It.prototype=Object.create(It.prototype)).constructor=It,It.prototype.__class__=It,It.__cache__={},r.WrapperObject=It,r.getCache=Ot,r.wrapPointer=Ct,r.castObject=function(t,e){return Ct(t.ptr,e)},r.NULL=Ct(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Ot(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 Nt={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Nt.needed){for(var t=0;t=Nt.size?(p(i>0),Nt.needed+=i,n=r._malloc(i),Nt.temps.push(n)):(n=Nt.buffer+Nt.pos,Nt.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&&k)return k.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&u)}}else o+=String.fromCharCode((31&s)<<6|a)}else o+=String.fromCharCode(s)}return o}function A(t,e){return t?M(_,t,e):""}function T(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,s=0;s=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++s)),a<=127){if(n>=o)break;e[n++]=a}else if(a<=2047){if(n+1>=o)break;e[n++]=192|a>>6,e[n++]=128|63&a}else if(a<=65535){if(n+2>=o)break;e[n++]=224|a>>12,e[n++]=128|a>>6&63,e[n++]=128|63&a}else{if(n+3>=o)break;e[n++]=240|a>>18,e[n++]=128|a>>12&63,e[n++]=128|a>>6&63,e[n++]=128|63&a}}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 I(t){y=t,r.HEAP8=w=new Int8Array(t),r.HEAP16=x=new Int16Array(t),r.HEAP32=E=new Int32Array(t),r.HEAPU8=_=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=S=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var O=r.TOTAL_MEMORY||16777216;function C(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:O/65536}))&&(y=d.buffer),O=y.byteLength,I(y),E[54772]=5462128;var N=[],j=[],R=[],P=[],L=!1,z=Math.abs,F=Math.ceil,B=Math.floor,U=Math.min,G=0,V=null;function H(t){G++,r.monitorRunDependencies&&r.monitorRunDependencies(G)}function Y(t){if(G--,r.monitorRunDependencies&&r.monitorRunDependencies(G),0==G&&V){var e=V;V=null,e()}}function W(t){throw r.onAbort&&r.onAbort(t),u(t+=""),l(t),v=!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 q,Z,X,K="graphvizlib.wasm";function $(){try{if(h)return new Uint8Array(h);throw"both async and sync fetching of the wasm failed"}catch(l){W(l)}}J(K)||(q=K,K=r.locateFile?r.locateFile(q,c):c+q);var Q={1088:function(t,e){var n=A(t),r=A(e);st.createPath("/",nt.dirname(n)),st.writeFile(nt.join("/",n),r)}};function tt(){W()}function et(t){return r.___errno_location&&(E[r.___errno_location()>>2]=t),t}j.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]:st.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),s=o,a=0;a0&&(u(M(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(l(M(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(l(M(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(st.isBlkdev(n)||st.isFIFO(n))throw new st.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:st.chrdev_stream_ops}});var i=st.createNode(t,e,n,r);return st.isDir(i.mode)?(i.node_ops=ot.ops_table.dir.node,i.stream_ops=ot.ops_table.dir.stream,i.contents={}):st.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):st.isLink(i.mode)?(i.node_ops=ot.ops_table.link.node,i.stream_ops=ot.ops_table.link.stream):st.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 s=Math.min(t.node.usedBytes-i,r);if(s>8&&o.subarray)e.set(o.subarray(i,i+s),n);else for(var a=0;a0||i+r8)throw new st.ErrnoError(32);for(var i=nt.normalizeArray(t.split("/").filter((function(t){return!!t})),!1),o=st.root,s="/",a=0;a40)throw new st.ErrnoError(32)}}return{path:s,node:o}},getPath:function(t){for(var e;;){if(st.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)%st.nameTable.length},hashAddNode:function(t){var e=st.hashName(t.parent.id,t.name);t.name_next=st.nameTable[e],st.nameTable[e]=t},hashRemoveNode:function(t){var e=st.hashName(t.parent.id,t.name);if(st.nameTable[e]===t)st.nameTable[e]=t.name_next;else for(var n=st.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=st.mayLookup(t);if(n)throw new st.ErrnoError(n,t);for(var r=st.hashName(t.id,e),i=st.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return st.lookup(t,e)},createNode:function(t,e,n,r){st.FSNode||(st.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=st.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},st.FSNode.prototype={},Object.defineProperties(st.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 st.isDir(this.mode)}},isDevice:{get:function(){return st.isChrdev(this.mode)}}}));var i=new st.FSNode(t,e,n,r);return st.hashAddNode(i),i},destroyNode:function(t){st.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=st.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 st.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 st.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return st.lookupNode(t,e),20}catch(n){}return st.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=st.lookupNode(t,e)}catch(o){return o.errno}var i=st.nodePermissions(t,"wx");if(i)return i;if(n){if(!st.isDir(r.mode))return 54;if(st.isRoot(r)||st.getPath(r)===st.cwd())return 10}else if(st.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?st.isLink(t.mode)?32:st.isDir(t.mode)&&("r"!==st.flagsToPermissionString(e)||512&e)?31:st.nodePermissions(t,st.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||st.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!st.streams[n])return n;throw new st.ErrnoError(33)},getStream:function(t){return st.streams[t]},createStream:function(t,e,n){st.FSStream||(st.FSStream=function(){},st.FSStream.prototype={},Object.defineProperties(st.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 st.FSStream;for(var i in t)r[i]=t[i];t=r;var o=st.nextfd(e,n);return t.fd=o,st.streams[o]=t,t},closeStream:function(t){st.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=st.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new st.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){st.devices[t]={stream_ops:e}},getDevice:function(t){return st.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),st.syncFSRequests++,st.syncFSRequests>1&&l("warning: "+st.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=st.getMounts(st.root.mount),r=0;function i(t){return st.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&&st.root)throw new st.ErrnoError(10);if(!i&&!o){var s=st.lookupPath(n,{follow_mount:!1});if(n=s.path,st.isMountpoint(r=s.node))throw new st.ErrnoError(10);if(!st.isDir(r.mode))throw new st.ErrnoError(54)}var a={type:t,opts:e,mountpoint:n,mounts:[]},c=t.mount(a);return c.mount=a,a.root=c,i?st.root=c:r&&(r.mounted=a,r.mount&&r.mount.mounts.push(a)),c},unmount:function(t){var e=st.lookupPath(t,{follow_mount:!1});if(!st.isMountpoint(e.node))throw new st.ErrnoError(28);var n=e.node,r=n.mounted,i=st.getMounts(r);Object.keys(st.nameTable).forEach((function(t){for(var e=st.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&st.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=st.lookupPath(t,{parent:!0}).node,i=nt.basename(t);if(!i||"."===i||".."===i)throw new st.ErrnoError(28);var o=st.mayCreate(r,i);if(o)throw new st.ErrnoError(o);if(!r.node_ops.mknod)throw new st.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,st.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,st.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,s=1048576;i||(s=r);var a=this;a.setDataGetter((function(t){var e=t*s,i=(t+1)*s-1;if(i=Math.min(i,r-1),void 0===a.chunks[t]&&(a.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!==s&&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||[]):yt(i.responseText||"",!0)}(e,i)),void 0===a.chunks[t])throw new Error("doXHR failed!");return a.chunks[t]})),!o&&r||(s=r=1,r=this.getter(0).length,s=r,u("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=s,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 s,a=st.createFile(t,e,s={isDevice:!1,url:n},r,i);s.contents?a.contents=s.contents:s.url&&(a.contents=null,a.url=s.url),Object.defineProperties(a,{usedBytes:{get:function(){return this.contents.length}}});var c={};return Object.keys(a.stream_ops).forEach((function(t){var e=a.stream_ops[t];c[t]=function(){if(!st.forceLoadFile(a))throw new st.ErrnoError(29);return e.apply(null,arguments)}})),c.read=function(t,e,n,r,i){if(!st.forceLoadFile(a))throw new st.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var s=Math.min(o.length-i,r);if(o.slice)for(var c=0;c>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,X=[r.size>>>0,(Z=r.size,+z(Z)>=1?Z>0?(0|U(+B(Z/4294967296),4294967295))>>>0:~~+F((Z-+(~~Z>>>0))/4294967296)>>>0:0)],E[n+40>>2]=X[0],E[n+44>>2]=X[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,X=[r.ino>>>0,(Z=r.ino,+z(Z)>=1?Z>0?(0|U(+B(Z/4294967296),4294967295))>>>0:~~+F((Z-+(~~Z>>>0))/4294967296)>>>0:0)],E[n+80>>2]=X[0],E[n+84>>2]=X[1],0},doMsync:function(t,e,n,r,i){var o=_.slice(t,t+n);st.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)),st.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 st.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=st.readlink(t),i=Math.min(n,D(r)),o=w[e+i];return T(r,_,e,n+1),w[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=st.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&st.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=st.getStream(n);return r&&st.close(r),st.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],a=st.read(t,w,E[e+8*o>>2],s,r);if(a<0)return-1;if(i+=a,a>2],E[e+(8*o+4)>>2],r);if(s<0)return-1;i+=s}return i},varargs:0,get:function(t){return at.varargs+=4,E[at.varargs-4>>2]},getStr:function(){return A(at.get())},getStreamFromFD:function(t){void 0===t&&(t=at.get());var e=st.getStream(t);if(!e)throw new st.ErrnoError(8);return e},get64:function(){var t=at.get();return at.get(),t},getZero:function(){at.get()}};function ct(t,e,n){e|=0;var r,i=0,o=0,s=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(s=e|e<<8|e<<16|e<<24,o=(i=-4&r|0)-64|0;(0|t)<=(0|o);)E[t>>2]=s,E[t+4>>2]=s,E[t+8>>2]=s,E[t+12>>2]=s,E[t+16>>2]=s,E[t+20>>2]=s,E[t+24>>2]=s,E[t+28>>2]=s,E[t+32>>2]=s,E[t+36>>2]=s,E[t+40>>2]=s,E[t+44>>2]=s,E[t+48>>2]=s,E[t+52>>2]=s,E[t+56>>2]=s,E[t+60>>2]=s,t=t+64|0;for(;(0|t)<(0|i);)E[t>>2]=s,t=t+4|0}for(;(0|t)<(0|r);)w[t>>0]=e,t=t+1|0;return r-n|0}var ut=0;function lt(t){try{return d.grow(t-y.byteLength+65535>>16),I(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",_:s||"./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 bt(t,e){bt.array||(bt.array=[]);var n,r=bt.array;for(r.length=0;n=_[t++];)100===n||102===n?(r.push(S[(e=e+7&-8)>>3]),e+=8):(r.push(E[(e=e+3&-4)>>2]),e+=4);return r}function yt(t,e,n){var r=n>0?n:D(t)+1,i=new Array(r),o=T(t,i,0,i.length);return e&&(i.length=o),i}tt=function(){return performance.now()},st.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 Nt?Nt.uncaught_exceptions++:Nt.uncaught_exceptions=1,t},q:function(){},U:function(t,e){return et(63),-1},P:function(t,e){at.varargs=e;try{var n=at.getStr();return st.unlink(n),0}catch(r){return void 0!==st&&r instanceof st.ErrnoError||W(r),-r.errno}},R:function(t,e){at.varargs=e;try{return function(t,e,n,r,i,o){var s;o<<=12;var a=!1;if(0!=(16&r)&&t%16384!=0)return-28;if(0!=(32&r)){if(!(s=jt(16384,e)))return-48;ct(s,0,e),a=!0}else{var c=st.getStream(i);if(!c)return-8;var u=st.mmap(c,_,t,e,o,n,r);s=u.ptr,a=u.allocated}return at.mappings[s]={malloc:s,len:e,allocated:a,fd:i,flags:r,offset:o},s}(at.get(),at.get(),at.get(),at.get(),at.get(),at.get())}catch(n){return void 0!==st&&n instanceof st.ErrnoError||W(n),-n.errno}},S:function(t,e){at.varargs=e;try{var n=at.getStr(),r=at.get();return at.doStat(st.stat,n,r)}catch(i){return void 0!==st&&i instanceof st.ErrnoError||W(i),-i.errno}},T:function(t,e){at.varargs=e;try{var n=at.getStreamFromFD(),r=at.get();return at.doStat(st.stat,n.path,r)}catch(i){return void 0!==st&&i instanceof st.ErrnoError||W(i),-i.errno}},L:function(t,e){at.varargs=e;try{return 42}catch(n){return void 0!==st&&n instanceof st.ErrnoError||W(n),-n.errno}},y:function(t,e){at.varargs=e;try{var n=at.getStreamFromFD();switch(at.get()){case 0:return(r=at.get())<0?-28:st.open(n.path,n.flags,0,r).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var r=at.get();return n.flags|=r,0;case 12:return r=at.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!==st&&i instanceof st.ErrnoError||W(i),-i.errno}},K:function(t,e){at.varargs=e;try{var n=at.getStr(),r=at.get();return at.doAccess(n,r)}catch(i){return void 0!==st&&i instanceof st.ErrnoError||W(i),-i.errno}},z:function(t,e){at.varargs=e;try{var n=at.getStr(),r=at.get(),i=at.get();return st.open(n,r,i).fd}catch(o){return void 0!==st&&o instanceof st.ErrnoError||W(o),-o.errno}},O:function(t,e){at.varargs=e;try{var n=at.getStreamFromFD(),r=at.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=at.get();return E[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:return i=at.get(),st.ioctl(n,r,i);case 21523:case 21524:return n.tty?0:-59;default:W("bad ioctl syscall "+r)}}catch(o){return void 0!==st&&o instanceof st.ErrnoError||W(o),-o.errno}},Q:function(t,e){at.varargs=e;try{return function(t,e){if(-1===t||0===e)return-28;var n=at.mappings[t];if(!n)return 0;if(e===n.len){var r=st.getStream(n.fd);at.doMsync(t,r,e,n.flags,n.offset),st.munmap(r),at.mappings[t]=null,n.allocated&&It(n.malloc)}return 0}(at.get(),at.get())}catch(n){return void 0!==st&&n instanceof st.ErrnoError||W(n),-n.errno}},m:function(){},w:function(){W()},C:function(t,e,n){var r=bt(e,n);return Q[t].apply(null,r)},d:function(t,e){!function(t,e){throw Ct(t,e||1),"longjmp"}(t,e)},E:function(t,e,n){_.set(_.subarray(e,e+n),t)},F:function(t){var e=_.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)),a(t,new Kt(t))}(t)},p:function(t){try{var e=at.getStreamFromFD(t);return st.close(e),0}catch(n){return void 0!==st&&n instanceof st.ErrnoError||W(n),n.errno}},H:function(t,e){try{var n=at.getStreamFromFD(t),r=n.tty?2:st.isDir(n.mode)?3:st.isLink(n.mode)?7:4;return w[e>>0]=r,0}catch(i){return void 0!==st&&i instanceof st.ErrnoError||W(i),i.errno}},N:function(t,e,n,r){try{var i=at.getStreamFromFD(t),o=at.doReadv(i,e,n);return E[r>>2]=o,0}catch(s){return void 0!==st&&s instanceof st.ErrnoError||W(s),s.errno}},D:function(t,e,n,r,i){try{var o=at.getStreamFromFD(t),s=4294967296*n+(e>>>0);return s<=-9007199254740992||s>=9007199254740992?-61:(st.llseek(o,s,r),X=[o.position>>>0,(Z=o.position,+z(Z)>=1?Z>0?(0|U(+B(Z/4294967296),4294967295))>>>0:~~+F((Z-+(~~Z>>>0))/4294967296)>>>0:0)],E[i>>2]=X[0],E[i+4>>2]=X[1],o.getdents&&0===s&&0===r&&(o.getdents=null),0)}catch(a){return void 0!==st&&a instanceof st.ErrnoError||W(a),a.errno}},x:function(t,e,n,r){try{var i=at.getStreamFromFD(t),o=at.doWritev(i,e,n);return E[r>>2]=o,0}catch(s){return void 0!==st&&s instanceof st.ErrnoError||W(s),s.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=Zt();try{return Jt(t)}catch(n){if(Xt(e),n!==n+0&&"longjmp"!==n)throw n;Ct(1,0)}},V:function(t,e){var n=Zt();try{return qt(t,e)}catch(r){if(Xt(n),r!==r+0&&"longjmp"!==r)throw r;Ct(1,0)}},v:function(t){var e=Zt();try{return Ut(t)}catch(n){if(Xt(e),n!==n+0&&"longjmp"!==n)throw n;Ct(1,0)}},f:function(t,e){var n=Zt();try{return Gt(t,e)}catch(r){if(Xt(n),r!==r+0&&"longjmp"!==r)throw r;Ct(1,0)}},e:function(t,e,n){var r=Zt();try{return Vt(t,e,n)}catch(i){if(Xt(r),i!==i+0&&"longjmp"!==i)throw i;Ct(1,0)}},g:function(t,e,n,r){var i=Zt();try{return Ht(t,e,n,r)}catch(o){if(Xt(i),o!==o+0&&"longjmp"!==o)throw o;Ct(1,0)}},n:function(t,e,n,r,i){var o=Zt();try{return Yt(t,e,n,r,i)}catch(s){if(Xt(o),s!==s+0&&"longjmp"!==s)throw s;Ct(1,0)}},W:function(t,e,n,r,i,o,s){var a=Zt();try{return Wt(t,e,n,r,i,o,s)}catch(c){if(Xt(a),c!==c+0&&"longjmp"!==c)throw c;Ct(1,0)}},s:function(t){var e=Zt();try{Rt(t)}catch(n){if(Xt(e),n!==n+0&&"longjmp"!==n)throw n;Ct(1,0)}},h:function(t,e){var n=Zt();try{Pt(t,e)}catch(r){if(Xt(n),r!==r+0&&"longjmp"!==r)throw r;Ct(1,0)}},o:function(t,e,n){var r=Zt();try{Lt(t,e,n)}catch(i){if(Xt(r),i!==i+0&&"longjmp"!==i)throw i;Ct(1,0)}},u:function(t,e,n,r){var i=Zt();try{zt(t,e,n,r)}catch(o){if(Xt(i),o!==o+0&&"longjmp"!==o)throw o;Ct(1,0)}},t:function(t,e,n,r,i){var o=Zt();try{Ft(t,e,n,r,i)}catch(s){if(Xt(o),s!==s+0&&"longjmp"!==s)throw s;Ct(1,0)}},r:function(t,e,n,r,i,o){var s=Zt();try{Bt(t,e,n,r,i,o)}catch(a){if(Xt(s),a!==a+0&&"longjmp"!==a)throw a;Ct(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]=ut=ut+1|0;(0|o)<(0|i);){if(0==(0|E[r+(o<<3)>>2]))return E[r+(o<<3)>>2]=ut,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|Ot(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?A(i):""},s=A(n),a={"%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 c in a)s=s.replace(new RegExp(c,"g"),a[c]);var u=["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 u[t.tm_wday].substring(0,3)},"%A":function(t){return u[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),s=vt(new Date(t.tm_year+1900,0,1),t.tm_yday);return d(s,i)<0?"53":d(o,s)<=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 c in m)s.indexOf(c)>=0&&(s=s.replace(new RegExp(c,"g"),m[c](o)));var v=yt(s,!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&&ct(t,0,16),0}},_t=function(){var t={a:wt};function e(t,e){r.asm=t.exports,Y()}function n(t){e(t.instance)}function i(e){return(h||"function"!=typeof fetch?new Promise((function(t,e){t($())})):fetch(K,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+K+"'";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),W(t)}))}if(H(),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||J(K)||"function"!=typeof fetch)return i(n);fetch(K,{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=_t;var xt,Et=r.___wasm_call_ctors=function(){return(Et=r.___wasm_call_ctors=r.asm.Z).apply(null,arguments)},St=r._emscripten_bind_VoidPtr___destroy___0=function(){return(St=r._emscripten_bind_VoidPtr___destroy___0=r.asm._).apply(null,arguments)},kt=r._emscripten_bind_Main_layout_3=function(){return(kt=r._emscripten_bind_Main_layout_3=r.asm.$).apply(null,arguments)},Mt=r._emscripten_bind_Main_lastError_0=function(){return(Mt=r._emscripten_bind_Main_lastError_0=r.asm.aa).apply(null,arguments)},At=r._emscripten_bind_Main_createFile_2=function(){return(At=r._emscripten_bind_Main_createFile_2=r.asm.ba).apply(null,arguments)},Tt=r._emscripten_bind_Main___destroy___0=function(){return(Tt=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)},It=r._free=function(){return(It=r._free=r.asm.ea).apply(null,arguments)},Ot=r._realloc=function(){return(Ot=r._realloc=r.asm.fa).apply(null,arguments)},Ct=(r.___errno_location=function(){return(r.___errno_location=r.asm.ga).apply(null,arguments)},r._setThrew=function(){return(Ct=r._setThrew=r.asm.ha).apply(null,arguments)}),Nt=r.__ZSt18uncaught_exceptionv=function(){return(Nt=r.__ZSt18uncaught_exceptionv=r.asm.ia).apply(null,arguments)},jt=r._memalign=function(){return(jt=r._memalign=r.asm.ja).apply(null,arguments)},Rt=r.dynCall_v=function(){return(Rt=r.dynCall_v=r.asm.ka).apply(null,arguments)},Pt=r.dynCall_vi=function(){return(Pt=r.dynCall_vi=r.asm.la).apply(null,arguments)},Lt=r.dynCall_vii=function(){return(Lt=r.dynCall_vii=r.asm.ma).apply(null,arguments)},zt=r.dynCall_viii=function(){return(zt=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)},Bt=r.dynCall_viiiii=function(){return(Bt=r.dynCall_viiiii=r.asm.pa).apply(null,arguments)},Ut=r.dynCall_i=function(){return(Ut=r.dynCall_i=r.asm.qa).apply(null,arguments)},Gt=r.dynCall_ii=function(){return(Gt=r.dynCall_ii=r.asm.ra).apply(null,arguments)},Vt=r.dynCall_iii=function(){return(Vt=r.dynCall_iii=r.asm.sa).apply(null,arguments)},Ht=r.dynCall_iiii=function(){return(Ht=r.dynCall_iiii=r.asm.ta).apply(null,arguments)},Yt=r.dynCall_iiiii=function(){return(Yt=r.dynCall_iiiii=r.asm.ua).apply(null,arguments)},Wt=r.dynCall_iiiiiii=function(){return(Wt=r.dynCall_iiiiiii=r.asm.va).apply(null,arguments)},Jt=r.dynCall_d=function(){return(Jt=r.dynCall_d=r.asm.wa).apply(null,arguments)},qt=r.dynCall_di=function(){return(qt=r.dynCall_di=r.asm.xa).apply(null,arguments)},Zt=r.stackSave=function(){return(Zt=r.stackSave=r.asm.ya).apply(null,arguments)},Xt=(r.stackAlloc=function(){return(r.stackAlloc=r.asm.za).apply(null,arguments)},r.stackRestore=function(){return(Xt=r.stackRestore=r.asm.Aa).apply(null,arguments)});function Kt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function $t(t){function e(){xt||(xt=!0,v||(L=!0,r.noFSInit||st.init.initialized||st.init(),it.init(),C(j),st.ignorePermissions=!1,C(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(),P.unshift(t);var t;C(P)}()))}G>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),N.unshift(t);var t;C(N)}(),G>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),e()}),1)):e()))}if(r.asm=_t,r.then=function(t){if(xt)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},V=function t(){xt||$t(),xt||(V=t)},r.run=$t,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Qt(){}function te(t){return(t||Qt).__cache__}function ee(t,e){var n=te(e),r=n[t];return r||((r=Object.create((e||Qt).prototype)).ptr=t,n[t]=r)}f=!0,$t(),(Qt.prototype=Object.create(Qt.prototype)).constructor=Qt,Qt.prototype.__class__=Qt,Qt.__cache__={},r.WrapperObject=Qt,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?(b(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;e0&&(o=c.removeMin(),(s=a[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(u);return a}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},VPai:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},VQMV:function(t,e){t.exports="0.8.5"},VhCv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.elem=t,this.subheaps=[]}return t.prototype.toString=function(t){for(var e="",n=!1,r=0;r1||1===e.length&&t.hasEdge(e[0],e[0])}))}},WHWN:function(t,e,n){var r=n("R3TX"),i=n("pPzx"),o=n("R5u7"),s=n("zH+d"),a=Object.prototype,c=a.hasOwnProperty,u=r((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&o(e[0],e[1],u)&&(r=1);++n=^]))?([+\-( ])?([$#])?(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}},Xidw:function(t,e,n){var r=n("y/9h"),i=n("/wCD"),o=n("70Le"),s=n("X4R2");t.exports=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:s},XlL0:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},XlMc:function(t,e,n){"use strict";e.a=function(t){return function(){return this.matches(t)}}},"Xq/B":function(t,e,n){"use strict";var r=n("PvqL"),i=n("I6Yn"),o=n("waXG"),s=n("6YE2"),a=n("157b"),c=n("rr+a"),u=n("GEHm"),l=n("PXG9"),h=n("pNP6");e.a=function(t,e){var n,f=typeof e;return null==e||"boolean"===f?Object(l.a)(e):("number"===f?a.a:"string"===f?(n=Object(r.e)(e))?(e=n,i.a):u.a:e instanceof r.e?i.a:e instanceof Date?s.a:Object(h.b)(e)?h.a:Array.isArray(e)?o.b:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?c.a:a.a)(t,e)}},YKAa:function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));var r="http://www.w3.org/1999/xhtml";e.a={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/"}},YZb2:function(t,e,n){"use strict";var r=n("gjtd");function i(t,e,n){for(var i=r.zipObject(n,r.map(n,(function(t,e){return e}))),o=r.flatten(r.map(e,(function(e){return r.sortBy(r.map(t.outEdges(e),(function(e){return{pos:i[e.w],weight:t.edge(e).weight}})),"pos")})),!0),s=1;s0;)e%2&&(n+=c[e+1]),c[e=e-1>>1]+=t.weight;u+=t.weight*n}))),u}t.exports=function(t,e){for(var n=0,r=1;r0&&o(l)?n>1?t(l,n-1,o,s,a):r(a,l):s||(a[a.length]=l)}return a}},Ypsa:function(t,e,n){var r=n("a88S");t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},Z3AG:function(t,e,n){var r=n("JElN"),i=n("n+p3"),o=n("zWgn");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},ZCKZ:function(t,e,n){t.exports={components:n("qC43"),dijkstra:n("V9bN"),dijkstraAll:n("a271"),findCycles:n("W8B9"),floydWarshall:n("hq5n"),isAcyclic:n("+WAL"),postorder:n("21zJ"),preorder:n("j+bJ"),prim:n("xGdc"),tarjan:n("Pa7R"),topsort:n("0Jj1")}},ZVKf:function(t,e,n){var r=n("UdtX"),i=n("D49j"),o=n("zH+d");t.exports=function(t,e){return null==t?t:r(t,i(e),o)}},"ZZ+W":function(t,e,n){var r=n("JBn+"),i=n("myUI"),o=n("S0iI");t.exports=function(t,e,n,s,a,c){var u=1&n,l=t.length,h=e.length;if(l!=h&&!(u&&h>l))return!1;var f=c.get(t);if(f&&c.get(e))return f==e;var d=-1,p=!0,g=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++dh&&(u.d=h,u.prev=a,n.reduceKey(u.q,u,(function(t,e){return t.q=e})))}}return o},t}()},amiU:function(t,e,n){var r=n("wC3K"),i=n("pPzx");t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},bFjY:function(t,e,n){var r=n("Q4oW"),i=n("9y2L");t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},bJjD:function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)n[r]={};for(var r in e)n[r]={};return Object.keys(n).length}function i(t,e){var n=0;for(var r in t)void 0!==e[r]&&++n;return n}function o(t,e,n,r){var i=function(t,e){var n={},r=function(t,e){void 0===n[t]&&(n[t]={}),n[t][e]={}};return t.forEach((function(t){var n=e.getSourceIndex(t),i=e.getTargetIndex(t);r(n,i),r(i,n)})),n}(t,r);t.forEach((function(t){var o=i[r.getSourceIndex(t)],s=i[r.getTargetIndex(t)];r.setLength(t,1+e*n(o,s))}))}function s(t,e,n){var r=[],i=0,o=[],s=[];function a(t){t.index=t.lowlink=i++,o.push(t),t.onStack=!0;for(var e=0,n=t.out;es){var a=o;o=s,s=a}return o+"\x01"+s+"\x01"+(r.isUndefined(i)?"\0":i)}function c(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var s=i;i=o,o=s}var a={v:i,w:o};return r&&(a.name=r),a}function u(t,e){return a(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={};return this._isCompound&&r.each(e.nodes(),(function(t){e.setParent(t,function t(r){var o=n.parent(r);return void 0===o||e.hasNode(o)?(i[r]=o,o):o in i?i[o]: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,s=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(t=u.v,e=u.w,n=u.name,2===arguments.length&&(i=arguments[1],s=!0)):(t=u,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var l=a(this._isDirected,t,e,n);if(r.has(this._edgeLabels,l))return s&&(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]=s?i:this._defaultEdgeLabelFn(t,e,n);var h=c(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?u(this._isDirected,arguments[0]):a(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?u(this._isDirected,arguments[0]):a(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?u(this._isDirected,arguments[0]):a(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],s(this._preds[e],t),s(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))}},bvyN:function(t,e,n){var r=n("/30y"),i=n("tLQN"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},bz5b:function(t,e,n){var r=n("9y2L");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,s=e?o:-1,a=Object(n);(e?s--:++si+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},c={"%":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 a(100*t,e)},r:a,s:function(t,e){var n=Object(s.a)(t,e);if(!n)return t+"";var i=n[0],o=n[1],a=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return a===c?i:a>c?i+new Array(a-c+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Object(s.a)(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},u=function(t){return t},l=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){var e,n,s=void 0===t.grouping||void 0===t.thousands?u:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],s=0,a=e[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(n)}),a=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?u: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 b(t){var e=(t=Object(o.b)(t)).fill,n=t.align,i=t.sign,u=t.symbol,l=t.zero,b=t.width,y=t.comma,w=t.precision,_=t.trim,x=t.type;"n"===x?(y=!0,x="g"):c[x]||(void 0===w&&(w=12),_=!0,x="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var E="$"===u?a:"#"===u&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",S="$"===u?f:/[%p]/.test(x)?g:"",k=c[x],M=/[defgprs%]/.test(x);function A(t){var o,a,c,u=E,f=S;if("c"===x)f=k(t)+f,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:k(Math.abs(t),w),_&&(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),u=(g?"("===i?i:m:"-"===i||"("===i?"":i)+u,f=("s"===x?h[8+r/3]:"")+f+(g&&"("===i?")":""),M)for(o=-1,a=t.length;++o(c=t.charCodeAt(o))||c>57){f=(46===c?d+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}y&&!l&&(t=s(t,1/0));var A=u.length+t.length+f.length,T=A>1)+u+t+f+T.slice(A);break;default:t=T+u+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)),A.toString=function(){return t+""},A}return{format:b,formatPrefix:function(t,e){var n=b(((t=Object(o.b)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(e)/3))),s=Math.pow(10,-r),a=h[8+r/3];return function(t){return n(s*t)+a}}}}},c72w:function(t,e,n){var r=n("wC3K"),i=n("pPzx"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var s=t[e];o.call(t,e)&&i(s,n)&&(void 0!==n||e in t)||r(t,e,n)}},c7Qd:function(t,e,n){var r=n("DuXo"),i=n("z9Jh"),o=n("n1QJ");t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},c9kG:function(t,e,n){var r=n("Jl0P");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].prioritye||s&&a&&u&&!c&&!l||i&&a&&u||!n&&u||!o)return 1;if(!i&&!s&&!l&&t=2),a=l.buildLayerMatrix(t);var m=o(t,a);m0;--c)if(r=e[c].dequeue()){i=i.concat(a(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(u,(function(e){return t.outEdges(e.v,e.w)})),!0)};var s=r.constant(1);function a(t,e,n,i,o){var s=o?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),a=t.node(r.v);o&&s.push({v:r.v,w:r.w}),a.out-=i,c(e,n,a)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),o=t.node(r.w);o.in-=i,c(e,n,o)})),t.removeNode(i.v),s}function c(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)}},gEWz:function(t,e,n){var r=n("kkM+"),i=n("tLQN");t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},gP9q:function(t,e,n){var r=n("gjtd");t.exports=function(t,e){return r.map(e,(function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}},gbTj: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("keXZ"),s=n("vpOK");function a(t){return t.bounds=void 0!==t.leaves?t.leaves.reduce((function(t,e){return e.bounds.union(t)}),c.empty()):c.empty(),void 0!==t.groups&&(t.bounds=t.groups.reduce((function(t,e){return a(e).union(t)}),t.bounds)),t.bounds=t.bounds.inflate(t.padding),t.bounds}e.computeGroupBounds=a;var c=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,s,a){var c=n-t,u=s-i,l=r-e,h=a-o,f=h*c-u*l;if(0==f)return null;var d=t-i,p=e-o,g=(u*p-h*d)/f,m=(c*p-l*d)/f;return g>=0&&g<=1&&m>=0&&m<=1?{x:t+g*c,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=c,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,s=i.y-r.y,a=Math.sqrt(o*o+s*s),c=a-n;return{sourceIntersection:r,targetIntersection:i,arrowStart:{x:r.x+c*o/a,y:r.y+c*s/a}}},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,s=Math.sqrt(i*i+o*o);return{x:r.x-n*i/s,y:r.y-n*o/s}};var u=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,s=void 0!==t.leaves?t.leaves.length:0,a=o?t.groups.reduce((function(t,r){return t.concat(g(r,e,n,!0))}),[]):[],c=(r?2:0)+s+o,u=new Array(c),l=new Array(c),h=0,f=function(t,e){l[h]=t,u[h++]=e};if(r){var d=t.bounds,p=e.getCentre(d),v=e.getSize(d)/2,b=e.getOpen(d),y=e.getClose(d),w=p-v+i/2,_=p+v-i/2;t.minVar.desiredPosition=w,f(e.makeRect(b,y,w,i),t.minVar),t.maxVar.desiredPosition=_,f(e.makeRect(b,y,_,i),t.maxVar)}s&&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,u,e,n);return o&&(u.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}))}))),a.concat(x)}function m(t,e,n,r){var i,s=t.length,a=2*s;console.assert(e.length>=s);var c=new Array(a);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 s=(i.width||0)/2,a=(i.height||0)/2,u=t[o],l=e[o];i.bounds=new c(u-s,u+s,l-a,l+a)}))},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,y,(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,s,c,u){this.setupVariablesAndBounds(t,e,r,i),this.rootGroup&&this.avoidOverlaps&&(a(this.rootGroup),o=o.concat(s(this.rootGroup))),this.solve(this.variables,o,n,r),this.nodes.forEach(c),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(u),a(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}()},"ge/T":function(t,e,n){"use strict";n.r(e);var r=n("z0Nn");n.d(e,"dispatch",(function(){return r.a}))},"ge/d":function(t,e){function n(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function i(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return r(e),e},n.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&r(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},n.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,i)),n=n._prev;return"["+t.join(", ")+"]"}},gjtd:function(t,e,n){var r;try{r={cloneDeep:n("c2re"),constant:n("eN33"),defaults:n("WHWN"),each:n("h4um"),filter:n("+DnP"),find:n("6R5o"),flatten:n("1xil"),forEach:n("9SCj"),forIn:n("ZVKf"),has:n("1mr4"),isUndefined:n("CZlo"),last:n("p1C/"),map:n("mbB6"),mapValues:n("y2Ah"),max:n("LPC+"),merge:n("H8sf"),min:n("Z3AG"),minBy:n("PKEM"),now:n("ENE1"),pick:n("//nZ"),range:n("Cmkl"),reduce:n("veKZ"),sortBy:n("u6DZ"),uniqueId:n("w0mW"),values:n("0iyY"),zipObject:n("OUo6")}}catch(i){}r||(r=window._),t.exports=r},h4um:function(t,e,n){t.exports=n("9SCj")},hMsr:function(t,e,n){var r=n("+tCn"),i=n("BlJA");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],s=t[o];e[n]=[o,s,r(s)]}return e}},hq5n:function(t,e,n){var r=n("Jl0P");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],s=o[t].distance+r.distance;s{class t{constructor(t,e){this.sideMenuService=t,this.sideMenuItemService=e}ngOnInit(){this.sideMenuService.setAdminItems([])}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(s.a),c.Mb(a.a))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div",0),c.Nb(1,"perun-web-apps-back-button"),c.Sb(2,"h1",1),c.Nb(3,"mat-icon",2),c.Jc(4),c.ec(5,"translate"),c.Rb(),c.Nb(6,"app-animated-router-outlet"),c.Rb()),2&t&&(c.Ab(3),c.kc("ngStyle",c.oc(4,d)),c.Ab(1),c.Lc(" ",c.fc(5,2,"ADMIN.TITLE")," "))},directives:[u.a,l.a,i.w,h.a],pipes:[f.d],styles:[""]}),t})();var g=n("ZG5M");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"}]}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Nb(1,"perun-web-apps-menu-buttons-field",0),c.Rb()),2&t&&(c.Ab(1),c.kc("items",e.navItems)("size","small"))},directives:[g.a],styles:[""]}),t})();var v=n("cqs0"),b=n("MP6f"),y=n("zldI"),w=n("8clQ"),_=n("X2Q7"),x=n("iyZ4"),E=n("yWI2"),S=n("OZ4H"),k=n("0XDM"),M=n("PBFl"),A=n("A8Ay"),T=n("csyo"),D=n("eakH");function I(t,e){1&t&&c.Nb(0,"mat-spinner",7)}function O(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-attr-def-list",8),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)}))("refreshEvent",(function(){return c.xc(t),c.dc().refreshTable()})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("definitions",t.attrDefinitions)("selection",t.selected)("filterValue",t.filterValue)}}let C=(()=>{class t{constructor(t,e,n){this.dialog=t,this.attributesManager=e,this.tableConfigService=n,this.attrDefinitions=[],this.selected=new v.c(!0,[]),this.filterValue="",this.tableId=x.i}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}onCreate(){const t=Object(w.o)();t.width="500px",this.dialog.open(y.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=Object(w.o)();t.width="450px",t.data={attributes:this.selected.selected,theme:"admin-theme"},this.dialog.open(b.a,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=Object(w.o)();t.width="700px",this.dialog.open(E.a,t).afterClosed().subscribe(t=>{!0===t&&this.refreshTable()})}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(S.b),c.Mb(_.c),c.Mb(x.pb))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:17,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","definitions","selection","filterValue","page","refreshEvent",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","page","refreshEvent"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"perun-web-apps-refresh-button",1),c.Zb("refresh",(function(){return e.refreshTable()})),c.Rb(),c.Sb(5,"button",2),c.Zb("click",(function(){return e.onCreate()})),c.Jc(6),c.ec(7,"translate"),c.Rb(),c.Sb(8,"button",2),c.Zb("click",(function(){return e.onImport()})),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Sb(11,"button",3),c.Zb("click",(function(){return e.onDelete()})),c.Jc(12),c.ec(13,"translate"),c.Rb(),c.Sb(14,"perun-web-apps-immediate-filter",4),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(15,I,1,0,"mat-spinner",5),c.Hc(16,O,1,4,"app-attr-def-list",6),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,8,"ADMIN.ATTRIBUTES.TITLE")),c.Ab(4),c.Lc(" ",c.fc(7,10,"ADMIN.ATTRIBUTES.CREATE")," "),c.Ab(3),c.Lc(" ",c.fc(10,12,"ADMIN.ATTRIBUTES.IMPORT")," "),c.Ab(2),c.kc("disabled",0===e.selected.selected.length),c.Ab(1),c.Lc(" ",c.fc(13,14,"ADMIN.ATTRIBUTES.DELETE")," "),c.Ab(2),c.kc("placeholder","ADMIN.ATTRIBUTES.SEARCH"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[k.a,M.b,A.a,i.t,T.c,D.a],pipes:[f.d],styles:[""]}),t})(),N=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-visualizer"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&c.Nb(0,"app-animated-router-outlet")},directives:[h.a],styles:[""]}),t})();var j=n("Q7Qd");let R=(()=>{class t{constructor(t){this.attributesManager=t}ngOnInit(){this.attributesManager.getAttributeModulesDependenciesGraphText("DOT").subscribe(t=>{const e=t.graph.replace("\\t","").replace("\\n","").replace("\\","");Object(j.graphviz)("#dependenciesGraph",{zoom:!1}).renderDot(e)})}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(_.c))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-visualizer-attr-modules"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:4,vars:3,consts:[[1,"page-subtitle"],["id","dependenciesGraph",1,"card"]],template:function(t,e){1&t&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Nb(3,"div",1)),2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"ADMIN.VISUALIZER.ATTR_DEPENDENCIES.TITLE"),"\n"))},pipes:[f.d],styles:["#dependenciesGraph[_ngcontent-%COMP%]{overflow-y:scroll}"]}),t})(),P=(()=>{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=c.Gb({type:t,selectors:[["app-visualizer-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Nb(1,"perun-web-apps-menu-buttons-field",0),c.Rb()),2&t&&(c.Ab(1),c.kc("items",e.items)("size","small"))},directives:[g.a],styles:[""]}),t})();var L=n("nIj0"),z=n("mWib"),F=n("Ohay"),B=n("8j5Y"),U=n("TLy2"),G=n("Ssnw"),V=n("x9Az"),H=n("29Wa"),Y=n("Cd2c"),W=n("ulve"),J=n("F1o0"),q=n("mFH5");function Z(t,e){1&t&&(c.Jc(0),c.ec(1,"translate")),2&t&&c.Kc(c.fc(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_USER"))}function X(t,e){1&t&&c.Nb(0,"mat-spinner",17),2&t&&c.kc("diameter",20)("strokeWidth",2)}function K(t,e){if(1&t&&(c.Sb(0,"mat-option",18),c.Sb(1,"span",19),c.Jc(2),c.Rb(),c.Jc(3),c.Rb()),2&t){const t=e.$implicit;c.kc("value",t.firstName+" "+t.lastName),c.Ab(2),c.Lc("#",t.id,""),c.Ab(1),c.Mc(" ",t.firstName," ",t.lastName," ")}}function $(t,e){1&t&&(c.Jc(0),c.ec(1,"translate")),2&t&&c.Kc(c.fc(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_DESTINATION"))}function Q(t,e){1&t&&(c.Jc(0),c.ec(1,"translate")),2&t&&c.Kc(c.fc(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_SERVICE"))}function tt(t,e){if(1&t&&(c.Sb(0,"mat-radio-button",20),c.Jc(1),c.Rb()),2&t){const t=e.$implicit;c.kc("value",t),c.Ab(1),c.Lc(" ",t," ")}}let et=(()=>{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.g,this.chosenService="",this.availableServices=[],this.loading=!1,this.destination=""}ngOnInit(){this.searchField.setValue(""),this.users=this.searchField.valueChanges.pipe(Object(z.a)(400),Object(F.a)(),Object(B.a)(t=>this.loading=!0),Object(U.a)(t=>this.usersService.findUsers(t)),Object(B.a)(t=>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)(c.Mb(_.q),c.Mb(f.e),c.Mb(_.g),c.Mb(_.n),c.Mb(o.f),c.Mb(G.l))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-user-destination-relationship"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},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=c.Tb();c.Sb(0,"div",0),c.Sb(1,"h1",1),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"mat-vertical-stepper",2,3),c.Sb(6,"mat-step",4),c.Hc(7,Z,2,3,"ng-template",5),c.Sb(8,"mat-form-field",6),c.Sb(9,"input",7),c.Zb("ngModelChange",(function(){c.xc(t);const n=c.tc(5);return e.notCompleted(n)}))("keydown.enter",(function(){c.xc(t);const n=c.tc(5);return e.validateName(n)})),c.ec(10,"translate"),c.Rb(),c.Hc(11,X,1,2,"mat-spinner",8),c.Sb(12,"mat-hint",9),c.Jc(13),c.ec(14,"translate"),c.Rb(),c.Sb(15,"mat-autocomplete",null,10),c.Hc(17,K,4,4,"mat-option",11),c.ec(18,"async"),c.Rb(),c.Rb(),c.Sb(19,"div"),c.Sb(20,"button",12),c.Zb("click",(function(){c.xc(t);const n=c.tc(5);return e.validateName(n)})),c.Jc(21),c.ec(22,"translate"),c.Rb(),c.Rb(),c.Rb(),c.Sb(23,"mat-step",4),c.Hc(24,$,2,3,"ng-template",5),c.Sb(25,"mat-form-field",6),c.Sb(26,"input",13),c.Zb("ngModelChange",(function(t){return e.destination=t}))("ngModelChange",(function(){c.xc(t);const n=c.tc(5);return e.notCompleted(n)}))("keydown.enter",(function(){c.xc(t);const n=c.tc(5);return e.validateDestination(n)})),c.ec(27,"translate"),c.Rb(),c.Rb(),c.Sb(28,"div"),c.Sb(29,"button",14),c.Jc(30),c.ec(31,"translate"),c.Rb(),c.Sb(32,"button",12),c.Zb("click",(function(){c.xc(t);const n=c.tc(5);return e.validateDestination(n)})),c.Jc(33),c.ec(34,"translate"),c.Rb(),c.Rb(),c.Rb(),c.Sb(35,"mat-step"),c.Hc(36,Q,2,3,"ng-template",5),c.Sb(37,"mat-radio-group",15),c.Zb("ngModelChange",(function(t){return e.chosenService=t})),c.Hc(38,tt,2,2,"mat-radio-button",16),c.Rb(),c.Sb(39,"div"),c.Sb(40,"button",14),c.Jc(41),c.ec(42,"translate"),c.Rb(),c.Sb(43,"button",12),c.Zb("click",(function(){return e.getGraph()})),c.Jc(44),c.ec(45,"translate"),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb()}if(2&t){const t=c.tc(16);c.Ab(2),c.Lc(" ",c.fc(3,16,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE")," "),c.Ab(7),c.lc("placeholder",c.fc(10,18,"ADMIN.VISUALIZER.USER_DESTINATION.USER_EXAMPLE")),c.kc("formControl",e.searchField)("matAutocomplete",t),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(2),c.Kc(c.fc(14,20,"ADMIN.VISUALIZER.USER_DESTINATION.USER_HINT")),c.Ab(4),c.kc("ngForOf",c.fc(18,22,e.users)),c.Ab(4),c.Lc(" ",c.fc(22,24,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),c.Ab(5),c.lc("placeholder",c.fc(27,26,"ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION_EXAMPLE")),c.kc("ngModel",e.destination),c.Ab(4),c.Lc(" ",c.fc(31,28,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),c.Ab(3),c.Lc(" ",c.fc(34,30,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),c.Ab(4),c.kc("ngModel",e.chosenService),c.Ab(1),c.kc("ngForOf",e.availableServices),c.Ab(3),c.Lc(" ",c.fc(42,32,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),c.Ab(3),c.Lc(" ",c.fc(45,34,"ADMIN.VISUALIZER.USER_DESTINATION.SUBMIT_BUTTON")," ")}},directives:[V.j,V.b,V.d,H.c,Y.b,L.c,W.d,L.r,L.h,i.t,H.f,W.a,i.s,M.b,L.u,V.i,J.b,T.c,H.j,q.n,J.a],pipes:[f.d,i.b],styles:[""]}),t})();var nt=n("D57K");function rt(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 it(t){this._context=t}function ot(t,e){this._basis=new it(t),this._beta=e}it.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:rt(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:rt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ot.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],s=t[n]-i,a=e[n]-o,c=-1;++c<=n;)this._basis.point(this._beta*t[c]+(1-this._beta)*(i+(r=c/n)*s),this._beta*e[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var st=function t(e){function n(t){return 1===e?new it(t):new ot(t,e)}return n.beta=function(e){return t(+e)},n}(.85),at=n("ZTXN");function ct(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function ut(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var lt=n("f7+R"),ht=n("Sv/w"),ft=n("KTx3"),dt=n("dr5/"),pt=(n("7SLq"),n("z0Nn")),gt=(n("chUO"),n("Xq/B"));function mt(t){return{type:t}}n("Bitd"),n("xpD5"),n("8MQl"),["w","e"].map(mt),["n","s"].map(mt),["n","w","e","s","nw","ne","sw","se"].map(mt);var vt=function(t,e){return te?1:t>=e?0:NaN},bt=Math.sqrt(50),yt=Math.sqrt(10),wt=Math.sqrt(2);function _t(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>=bt?10:o>=yt?5:o>=wt?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=bt?10:o>=yt?5:o>=wt?2:1)}var xt=new Date,Et=new Date;function St(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 a;do{a.push(s=new Date(+n)),e(n,o),t(n)}while(s=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 xt.setTime(+e),Et.setTime(+r),t(xt),t(Et),Math.floor(n(xt,Et))},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 kt=St((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()}));kt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?St((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 Mt=kt;function At(t){return St((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}))}St((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()}));var Tt=At(0),Dt=At(1),It=(At(2),At(3),At(4)),Ot=(At(5),At(6),St((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}))),Ct=(St((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()})),St((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()})),St((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()})),St((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t})));function Nt(t){return St((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}))}Ct.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?St((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Ct:null};var jt=Nt(0),Rt=Nt(1),Pt=(Nt(2),Nt(3),Nt(4)),Lt=(Nt(5),Nt(6),St((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}))),zt=St((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()}));zt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?St((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 Ft=zt;var Bt={"-":"",_:" ",0:"0"},Ut=/[\\^$*+?|[\]().{}]/g;function Gt(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o=4||0===n?It(t):It.ceil(t),Gt(It.count(Mt(t),t)+(4===Mt(t).getDay()),e,2)}function ie(t){return t.getDay()}function oe(t,e){return Gt(Dt.count(Mt(t)-1,t),e,2)}function se(t,e){return Gt(t.getFullYear()%100,e,2)}function ae(t,e){return Gt(t.getFullYear()%1e4,e,4)}function ce(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Gt(e/60|0,"0",2)+Gt(e%60,"0",2)}function ue(t,e){return Gt(t.getUTCDate(),e,2)}function le(t,e){return Gt(t.getUTCHours(),e,2)}function he(t,e){return Gt(t.getUTCHours()%12||12,e,2)}function fe(t,e){return Gt(1+Lt.count(Ft(t),t),e,3)}function de(t,e){return Gt(t.getUTCMilliseconds(),e,3)}function pe(t,e){return de(t,e)+"000"}function ge(t,e){return Gt(t.getUTCMonth()+1,e,2)}function me(t,e){return Gt(t.getUTCMinutes(),e,2)}function ve(t,e){return Gt(t.getUTCSeconds(),e,2)}function be(t){var e=t.getUTCDay();return 0===e?7:e}function ye(t,e){return Gt(jt.count(Ft(t)-1,t),e,2)}function we(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Pt(t):Pt.ceil(t),Gt(Pt.count(Ft(t),t)+(4===Ft(t).getUTCDay()),e,2)}function _e(t){return t.getUTCDay()}function xe(t,e){return Gt(Rt.count(Ft(t)-1,t),e,2)}function Ee(t,e){return Gt(t.getUTCFullYear()%100,e,2)}function Se(t,e){return Gt(t.getUTCFullYear()%1e4,e,4)}function ke(){return"+0000"}function Me(){return"%"}function Ae(t){return+t}function Te(t){return Math.floor(+t/1e3)}!function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,s=t.shortDays,a=t.months,c=t.shortMonths,u=(Ht(i),Yt(i),Ht(o),Yt(o),Ht(s),Yt(s),Ht(a),Yt(a),Ht(c),Yt(c),{a:function(t){return s[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:Wt,e:Wt,f:Kt,H:Jt,I:qt,j:Zt,L:Xt,m:$t,M:Qt,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ae,s:Te,S:te,u:ee,U:ne,V:re,w:ie,W:oe,x:null,X:null,y:se,Y:ae,Z:ce,"%":Me}),l={a:function(t){return s[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:ue,e:ue,f:pe,H:le,I:he,j:fe,L:de,m:ge,M:me,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ae,s:Te,S:ve,u:be,U:ye,V:we,w:_e,W:xe,x:null,X:null,y:Ee,Y:Se,Z:ke,"%":Me};function h(t,e){return function(n){var r,i,o,s=[],a=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++a>>1;De(t[i],e)<0?n=i+1:r=i}return n},right:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n>>1;De(t[i],e)>0?r=i:n=i+1}return n}}).right,Ce=n("157b"),Ne=n("98dg"),je=function(t){return+t},Re=[0,1];function Pe(t){return t}function Le(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function ze(t,e,n){var r=t[0],i=t[1],o=e[0],s=e[1];return i(e=s[c-1])&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?Fe:ze,i=o=null,h}function h(e){return isNaN(e=+e)?n:(i||(i=r(s.map(t),a,c)))(t(u(e)))}return h.invert=function(n){return u(e((o||(o=r(a,s.map(t),Ce.a)))(n)))},h.domain=function(t){return arguments.length?(s=Array.from(t,je),l()):s.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),l()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),c=Ne.a,l()},h.clamp=function(t){return arguments.length?(u=!!t||Pe,l()):u!==Pe},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}()(Pe,Pe)}function Ge(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Ve=n("XYeE"),He=n("iDVY"),Ye=n("KLrH"),We=n("HKZs"),Je=n("q5AZ");function qe(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,o,s,a=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),o=new Array(i=Math.ceil(e-t+1));++a=bt?i*=10:o>=yt?i*=5:o>=wt&&(i*=2),e0?r=_t(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=_t(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,n)),r>0?(i[o]=Math.floor(a/r)*r,i[s]=Math.ceil(c/r)*r,e(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[s]=Math.floor(c*r)/r,e(i)),t},t}function Ze(){var t=Ue();return t.copy=function(){return Be(t,Ze())},Ge.apply(t,arguments),qe(t)}var Xe=function(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=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function tn(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function en(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function nn(t,e,n){if(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).length){if((e=+e)<=0||r<2)return tn(t);if(e>=1)return Qe(t);var r,i=(r-1)*e,o=Math.floor(i),s=Qe(function t(e,n,r=0,i=e.length-1,o=vt){for(;i>r;){if(i-r>600){const s=i-r+1,a=n-r+1,c=Math.log(s),u=.5*Math.exp(2*c/3),l=.5*Math.sqrt(c*u*(s-u)/s)*(a-s/2<0?-1:1);t(e,n,Math.max(r,Math.floor(n-a*u/s+l)),Math.min(i,Math.floor(n+(s-a)*u/s+l)),o)}const s=e[n];let a=r,c=i;for(en(e,r,n),o(e[i],s)>0&&en(e,r,i);a0;)--c}0===o(e[r],s)?en(e,r,c):(++c,en(e,c,i)),c<=n&&(r=c+1),n<=c&&(i=c-1)}return e}(t,o).subarray(0,o+1));return s+(tn(t.subarray(o+1))-s)*(i-o)}}function rn(t){this._context=t}rn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(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;default:this._context.lineTo(t,e)}}};var on=function(t){return new rn(t)},sn=n("1rRp"),an=function(t){return function(){return t}};function cn(t){return t[0]}function un(t){return t[1]}var ln=function(){};function hn(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function fn(t,e){this._context=t,this._k=(1-e)/6}function dn(t,e){this._context=t,this._k=(1-e)/6}function pn(t){this._curve=t}fn.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:hn(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:hn(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 fn(t,e)}return n.tension=function(e){return t(+e)},n}(0),dn.prototype={areaStart:ln,areaEnd:ln,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:hn(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 dn(t,e)}return n.tension=function(e){return t(+e)},n}(0),pn.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("PvqL");var gn=function(t,e,n,r,i){for(var o,s=t.children,a=-1,c=s.length,u=t.value&&(r-e)/t.value;++a=0;)e+=n[r].value;else e=1;t.value=e}function bn(t,e){var n,r,i,o,s,a=new xn(t),c=+t.value&&(a.value=t.value),u=[a];for(null==e&&(e=yn);n=u.pop();)if(c&&(n.value=+n.data.value),(i=e(n.data))&&(s=i.length))for(n.children=new Array(s),o=s-1;o>=0;--o)u.push(r=n.children[o]=new xn(i[o])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(_n)}function yn(t){return t.children}function wn(t){t.data=t.data.data}function _n(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function xn(t){this.data=t,this.depth=this.height=0,this.parent=null}!function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var s,a,c,u,l,h,f,d,p,g,m,v=[],b=e.children,y=0,w=0,_=b.length,x=e.value;y<_;){c=i-n,u=o-r;do{l=b[w++].value}while(!l&&w<_);for(h=f=l,m=l*l*(g=Math.max(u/c,c/u)/(x*t)),p=Math.max(f/m,m/h);w<_;++w){if(l+=a=b[w].value,af&&(f=a),m=l*l*g,(d=Math.max(f/m,m/h))>p){l-=a;break}p=d}v.push(s={value:l,dice:c1?e:1)},n}((1+Math.sqrt(5))/2),xn.prototype=bn.prototype={constructor:xn,count:function(){return this.eachAfter(vn)},each:function(t){var e,n,r,i,o=this,s=[o];do{for(e=s.reverse(),s=[];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 bn(this).eachBefore(wn)}};var En=n("e4iD");const Sn=["caretElm"];function kn(t,e){}const Mn=function(t){return{model:t}};function An(t,e){if(1&t&&(c.Sb(0,"span"),c.Hc(1,kn,0,0,"ng-template",5),c.Rb()),2&t){const t=c.dc();c.Ab(1),c.kc("ngTemplateOutlet",t.template)("ngTemplateOutletContext",c.pc(2,Mn,t.context))}}function Tn(t,e){if(1&t&&c.Nb(0,"span",6),2&t){const t=c.dc();c.kc("innerHTML",t.title,c.yc)}}function Dn(t,e){if(1&t&&(c.cc(),c.bc(),c.Nb(0,"ngx-charts-scale-legend",4)),2&t){const t=c.dc();c.kc("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("valueRange",t.legendOptions.domain)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)}}function In(t,e){if(1&t){const t=c.Tb();c.cc(),c.bc(),c.Sb(0,"ngx-charts-legend",5),c.Zb("labelClick",(function(e){return c.xc(t),c.dc().legendLabelClick.emit(e)}))("labelActivate",(function(e){return c.xc(t),c.dc().legendLabelActivate.emit(e)}))("labelDeactivate",(function(e){return c.xc(t),c.dc().legendLabelDeactivate.emit(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("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 On=["*"];function Cn(t,e){if(1&t&&(c.Sb(0,"header",4),c.Sb(1,"span",5),c.Jc(2),c.Rb(),c.Rb()),2&t){const t=c.dc();c.Ab(2),c.Kc(t.title)}}function Nn(t,e){if(1&t){const t=c.Tb();c.Sb(0,"li",6),c.Sb(1,"ngx-charts-legend-entry",7),c.Zb("select",(function(e){return c.xc(t),c.dc().labelClick.emit(e)}))("activate",(function(e){return c.xc(t),c.dc().activate(e)}))("deactivate",(function(e){return c.xc(t),c.dc().deactivate(e)})),c.Rb(),c.Rb()}if(2&t){const t=e.$implicit,n=c.dc();c.Ab(1),c.kc("label",t.label)("formattedLabel",t.formattedLabel)("color",t.color)("isActive",n.isActive(t))}}let jn=(()=>{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 ht.e(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new ht.d(t),s=i.attach(o);return this.projectComponentBindings(s,e),s}}return t.\u0275fac=function(e){return new(e||t)(c.Wb(c.g),c.Wb(c.j),c.Wb(c.s))},t.\u0275prov=c.Ib({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function Rn(t,e,n){let r,i,o;n=n||{};let s=null,a=0;function c(){a=!1===n.leading?0:+new Date,s=null,o=t.apply(r,i)}return function(){const u=+new Date;a||!1!==n.leading||(a=u);const l=e-(u-a);return r=this,i=arguments,l<=0?(clearTimeout(s),s=null,a=u,o=t.apply(r,i)):s||!1===n.trailing||(s=setTimeout(c,l)),o}}var Pn=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 Ln(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 zn(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 Fn{static calculateVerticalAlignment(t,e,n){let r=Ln(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=Ln(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}static calculateHorizontalAlignment(t,e,n){let r=zn(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=zn(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,s=0;return t===Pn.right?(s=-7,o=Fn.calculateVerticalCaret(n,e,r,i)):t===Pn.left?(s=e.width,o=Fn.calculateVerticalCaret(n,e,r,i)):t===Pn.top?(o=e.height,s=Fn.calculateHorizontalCaret(n,e,r,i)):t===Pn.bottom&&(o=-7,s=Fn.calculateHorizontalCaret(n,e,r,i)),{top:o,left:s}}static positionContent(t,e,n,r,i){let o=0,s=0;return t===Pn.right?(s=n.left+n.width+r,o=Fn.calculateVerticalAlignment(n,e,i)):t===Pn.left?(s=n.left-e.width-r,o=Fn.calculateVerticalAlignment(n,e,i)):t===Pn.top?(o=n.top-e.height-r,s=Fn.calculateHorizontalAlignment(n,e,i)):t===Pn.bottom&&(o=n.top+n.height+r,s=Fn.calculateHorizontalAlignment(n,e,i)),{top:o,left:s}}static determinePlacement(t,e,n,r){if(Fn.shouldFlip(n,e,t,r)){if(t===Pn.right)return Pn.left;if(t===Pn.left)return Pn.right;if(t===Pn.top)return Pn.bottom;if(t===Pn.bottom)return Pn.top}return t}}let Bn,Un=(()=>{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}=Fn.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}=Fn.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=Fn.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l),c.Mb(c.F))},t.\u0275cmp=c.Gb({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;1&t&&c.Qc(Sn,!0),2&t&&c.sc(n=c.ac())&&(e.caretElm=n.first)},hostVars:2,hostBindings:function(t,e){1&t&&c.Zb("resize",(function(){return e.onWindowResize()}),!1,c.wc),2&t&&c.Cb(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&&(c.Sb(0,"div"),c.Nb(1,"span",0,1),c.Sb(3,"div",2),c.Hc(4,An,2,4,"span",3),c.Hc(5,Tn,1,1,"span",4),c.Rb(),c.Rb()),2&t&&(c.Ab(1),c.Db("tooltip-caret position-",e.placement,""),c.kc("hidden",!e.showCaret),c.Ab(3),c.kc("ngIf",!e.title),c.Ab(1),c.kc("ngIf",e.title))},directives:[i.t,i.A],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}),ct([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Rn(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t})(),Gn=(()=>{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=Un}}return t.\u0275fac=function(e){return new(e||t)(c.Wb(jn))},t.\u0275prov=c.Ib({token:t,factory:t.\u0275fac}),t})(),Vn=(()=>{class t{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new c.o,this.legendLabelActivate=new c.o,this.legendLabelDeactivate=new c.o}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=c.Gb({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:[c.zb([Gn]),c.yb],ngContentSelectors:On,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&&(c.jc(),c.Sb(0,"div",0),c.cc(),c.Sb(1,"svg",1),c.ic(2),c.Rb(),c.Hc(3,Dn,1,5,"ngx-charts-scale-legend",2),c.Hc(4,In,1,7,"ngx-charts-legend",3),c.Rb()),2&t&&(c.Ec("width",e.view[0],"px"),c.kc("@animationState","active")("@.disabled",!e.animations),c.Ab(1),c.Bb("width",e.chartWidth)("height",e.view[1]),c.Ab(2),c.kc("ngIf",e.showLegend&&"scaleLegend"===e.legendType),c.Ab(1),c.kc("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[i.t,Kn,Zn]},encapsulation:2,data:{animation:[Object(lt.n)("animationState",[Object(lt.m)(":enter",[Object(lt.l)({opacity:0}),Object(lt.e)("500ms 100ms",Object(lt.l)({opacity:1}))])])]},changeDetection:0}),t})(),Hn=(()=>{class t{constructor(t,e){this.element=t,this.zone=e,this.visible=new c.o,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)(c.Mb(c.l),c.Mb(c.A))},t.\u0275dir=c.Hb({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t})(),Yn=(()=>{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 c.o}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Hn(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)(c.Mb(c.l),c.Mb(c.A),c.Mb(c.h))},t.\u0275cmp=c.Gb({type:t,selectors:[["base-chart"]],inputs:{scheme:"scheme",schemeType:"schemeType",animations:"animations",results:"results",view:"view",customColors:"customColors"},outputs:{select:"select"},features:[c.yb],decls:1,vars:0,template:function(t,e){1&t&&c.Nb(0,"div")},encapsulation:2}),t})(),Wn=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[i.c]]}),t})(),Jn=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},providers:[jn,Gn],imports:[[i.c]]}),t})();function qn(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}"undefined"!=typeof window?Bn=window:"undefined"!=typeof global&&(Bn=global);let Zn=(()=>{class t{constructor(t){this.cd=t,this.horizontal=!1,this.labelClick=new c.o,this.labelActivate=new c.o,this.labelDeactivate=new c.o,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=qn(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)(c.Mb(c.h))},t.\u0275cmp=c.Gb({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:[c.yb],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&&(c.Sb(0,"div"),c.Hc(1,Cn,3,1,"header",0),c.Sb(2,"div",1),c.Sb(3,"ul",2),c.Hc(4,Nn,2,4,"li",3),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Ec("width",e.width,"px"),c.Ab(1),c.kc("ngIf",(null==e.title?null:e.title.length)>0),c.Ab(2),c.Ec("max-height",e.height-45,"px"),c.Eb("horizontal-legend",e.horizontal),c.Ab(1),c.kc("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[i.t,i.s,Xn]},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})(),Xn=(()=>{class t{constructor(){this.isActive=!1,this.select=new c.o,this.activate=new c.o,this.deactivate=new c.o,this.toggle=new c.o}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=c.Gb({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&c.Zb("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&&(c.Sb(0,"span",0),c.Zb("click",(function(){return e.select.emit(e.formattedLabel)})),c.Sb(1,"span",1),c.Zb("click",(function(){return e.toggle.emit(e.formattedLabel)})),c.Rb(),c.Sb(2,"span",2),c.Jc(3),c.Rb(),c.Rb()),2&t&&(c.Eb("active",e.isActive),c.kc("title",e.formattedLabel),c.Ab(1),c.Ec("background-color",e.color),c.Ab(2),c.Lc(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t})(),Kn=(()=>{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)(c.Mb(En.b))},t.\u0275cmp=c.Gb({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[c.yb],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(c.Sb(0,"div",0),c.Sb(1,"div",1),c.Sb(2,"span"),c.Jc(3),c.Rb(),c.Rb(),c.Nb(4,"div",2),c.Sb(5,"div",1),c.Sb(6,"span"),c.Jc(7),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Ec("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),c.Eb("horizontal-legend",e.horizontal),c.Ab(3),c.Kc(e.valueRange[1].toLocaleString()),c.Ab(1),c.Ec("background",e.gradient),c.Ab(3),c.Kc(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})(),$n=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[i.c,Wn,Jn],i.c,Wn,Jn]}),t})(),Qn=[{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 tr{constructor(t,e,n,r){"string"==typeof t&&(t=Qn.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=Qn.find(e=>e.name===t)),"quantile"===e)r=function t(){var e,n=[],r=[],i=[];function o(){var t=0,e=Math.max(1,r.length);for(i=new Array(e-1);++t0?i[e-1]:n[0],e0&&(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=Ze().domain(this.domain).range([0,1]),r=function t(){var e,n,r=$e().unknown(void 0),i=r.domain,o=r.range,s=0,a=1,c=!1,u=0,l=0,h=.5;function f(){var t=i().length,r=a=(a-r.bandwidth()).toFixed(4))break;l.push({color:t,offset:e,opacity:1}),u=e,c++}}if(l[l.length-1].offset<100&&l.push({color:i,offset:a,opacity:1}),a===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)/(a-o)*100;return l}}let er=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),nr=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),rr=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),ir=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),or=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})();Math;let sr=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),ar=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n,sr,or]]}),t})(),cr=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),ur=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n]]}),t})(),lr=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[$n,sr,nr]]}),t})(),hr=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[$n,er,nr,rr,ir,or,ar,cr,sr,ur,lr]}),t})();var fr=Math.PI;function dr(t){return(1-Math.cos(fr*t))/2}var pr=n("bwdy"),gr=n("IdLP"),mr=n("ROBh"),vr=n("jOdJ");function br(t){return void 0===t}function yr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:t,b:0,d:1,f:e}}function wr(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e=(o=(g+v)/2))?g=o:v=o,(l=n>=(s=(m+b)/2))?m=s:b=s,i=d,!(d=d[h=l<<1|u]))return i[h]=p,t;if(a=+t._x.call(null,d.data),c=+t._y.call(null,d.data),e===a&&n===c)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),(u=e>=(o=(g+v)/2))?g=o:v=o,(l=n>=(s=(m+b)/2))?m=s:b=s}while((h=l<<1|u)==(f=(c>=s)<<1|a>=o));return i[f]=d,i[h]=p,t}var Tr=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function Dr(t){return t[0]}function Ir(t){return t[1]}function Or(t,e,n){var r=new Cr(null==e?Dr:e,null==n?Ir:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Cr(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 Nr(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var jr=Or.prototype=Cr.prototype;function Rr(t){return t.x+t.vx}function Pr(t){return t.y+t.vy}jr.copy=function(){var t,e,n=new Cr(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Nr(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=Nr(e));return n},jr.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return Ar(this.cover(e,n),e,n,t)},jr.addAll=function(t){var e,n,r,i,o=t.length,s=new Array(o),a=new Array(o),c=1/0,u=1/0,l=-1/0,h=-1/0;for(n=0;nl&&(l=r),ih&&(h=i));if(c>l||u>h)return this;for(this.cover(c,u).cover(l,h),n=0;nt||t>=i||r>e||e>=o;)switch(a=(ef||(o=c.y0)>d||(s=c.x1)=v)<<1|t>=m)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=c)}else{var b=t-+this._x.call(null,g.data),y=e-+this._y.call(null,g.data),w=b*b+y*y;if(w=(a=(p+m)/2))?p=a:m=a,(l=s>=(c=(g+v)/2))?g=c:v=c,e=d,!(d=d[h=l<<1|u]))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)},jr.removeAll=function(t){for(var e=0,n=t.length;ec+d||iu+d||oa.index){var p=c-s.x-s.vx,g=u-s.y-s.vy,m=p*p+g*g;mt.r&&(t.r=t[e].r)}function a(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r1?(null==n?a.remove(t):a.set(t,d(n)),e):a.get(t)},find:function(e,n,r){var i,o,s,a,c,u=0,l=t.length;for(null==r?r=1/0:r*=r,u=0;u1?(u.on(t,n),e):u.on(t)}}},Kr=function(){var t,e,n,r,i=kr(-30),o=1,s=1/0,a=.81;function c(r){var i,o=t.length,s=Or(t,Jr,qr).visitAfter(l);for(n=r,i=0;i=s)){(t.data!==e||t.next)&&(0===l&&(d+=(l=Mr())*l),0===h&&(d+=(h=Mr())*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 Er.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=Ci()),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:Ni.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(t){this.createDagreGraph(t),Object(Er.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 Er.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=Ci()),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:Ni.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),Object(Er.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",s="y"===i?"height":"width",a=n.position[i]<=r.position[i]?-1:1,c={[o]:n.position[o],[i]:n.position[i]-a*(n.dimension[s]/2)},u={[o]:r.position[o],[i]:r.position[i]+a*(r.dimension[s]/2)},l=this.settings.curveDistance||this.defaultSettings.curveDistance;e.points=[c,{[o]:c[o],[i]:c[i]-a*l},{[o]:u[o],[i]:u[i]+a*l},u];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 Er.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=Ci()),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:Xr().force("charge",Kr().strength(-150)).force("collide",Lr(5)),forceLink:Yr().id(t=>t.id).distance(()=>100)},this.settings={},this.outputGraph$=new at.a}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||Ci(),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:ji(t.source).id,target:ji(t.target).id,points:[{x:ji(t.source).x,y:ji(t.source).y},{x:ji(t.target).x,y:ji(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:Object(ei.d3adaptor)(Object.assign(Object.assign(Object.assign({},ni),r),ri)).linkDistance(150).avoidOverlaps(!0),viewDimensions:{width:600,height:600,xOffset:0}},this.settings={},this.outputGraph$=new at.a}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||Ci(),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=Ri(t.nodes,e.source),r=Ri(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 Li=(()=>{class t{getLayout(t){if(Pi[t])return new Pi[t];throw new Error(`Unknown layout type '${t}'`)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=c.Ib({token:t,factory:t.\u0275fac}),t})();var zi=function(t){return t.Both="both",t.Horizontal="horizontal",t.Vertical="vertical",t}({}),Fi=function(t){return t.UpperLeft="UpperLeft",t.UpperRight="UpperRight",t}({});function Bi(t,e,n){let r,i,o;n=n||{};let s=null,a=0;function c(){a=!1===n.leading?0:+new Date,s=null,o=t.apply(r,i)}return function(){const u=+new Date;a||!1!==n.leading||(a=u);const l=e-(u-a);return r=this,i=arguments,l<=0?(clearTimeout(s),s=null,a=u,o=t.apply(r,i)):s||!1===n.trailing||(s=setTimeout(c,l)),o}}let Ui=(()=>{class t extends Yn{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=zi.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=Fi.UpperRight,this.activate=new c.o,this.deactivate=new c.o,this.zoomChange=new c.o,this.clickHandler=new c.o,this.isMouseMoveCalled=!1,this.graphSubscription=new pr.a,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"+Ci()}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=st.beta(1)),this.zone.run(()=>{this.dims=function({width:t,height:e,margins:n,showXAxis:r=!1,showYAxis:i=!1,xAxisHeight:o=0,yAxisWidth:s=0,showXLabel:a=!1,showYLabel:c=!1,showLegend:u=!1,legendType:l="ordinal",legendPosition:h="right",columns:f=12}){let d=n[3],p=t,g=e-n[0]-n[2];if(u&&"right"===h&&(f-="ordinal"===l?2:1),p=p*f/12,p=p-n[1]-n[3],r&&(g-=5,g-=o,a)&&(g-=30),i&&(p-=5,p-=s,d+=s,d+=10,c)){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 pr.a;const t=t=>(t.meta||(t.meta={}),t.id||(t.id=Ci()),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=Ci()),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 gr.a?t:Object(mr.a)(t);this.graphSubscription.add(e.subscribe(t=>{this.graph=t,this.tick()})),0!==this.graph.nodes.length&&e.pipe(Object(vr.a)()).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 s=this.graph.edges.find(i?t=>`${t.source}${t.target}${t.id}`===e:t=>`${t.source}${t.target}`===e);o?o.data&&s&&s.data&&JSON.stringify(o.data)!==JSON.stringify(s.data)&&(o.data=s.data):o=s||t,o.oldLine=o.line;const a=t.points,c=this.generateLine(a),u=Object.assign({},o);u.line=c,u.points=a,this.updateMidpointOnEdge(u,a);const l=a[Math.floor(a.length/2)];l&&(u.textTransform=`translate(${l.x||0},${l.y||0})`),u.textAngle=0,u.oldLine||(u.oldLine=u.line),this.calcDominantBaseline(u),n.push(u)}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 Fi.UpperLeft:return"";case Fi.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&&(Object(dt.a)(e.nativeElement).select(".line").attr("d",n.oldLine).transition().ease(dr).duration(t?500:0).attr("d",n.line),Object(dt.a)(this.chartElement.nativeElement).select("#"+n.id).attr("d",n.oldTextPath).transition().ease(dr).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"),s=i.createSVGPoint();s.x=e,s.y=r;const a=s.matrixTransform(o.getScreenCTM().inverse());this.pan(a.x,a.y,!0),this.zoom(n),this.pan(-a.x,-a.y,!0)}else this.zoom(n)}pan(t,e,n=!1){const r=n?1:this.zoomLevel;this.transformationMatrix=xr(this.transformationMatrix,yr(t/r,e/r)),this.updateTransform()}panTo(t,e){null==t||isNaN(t)||null==e||isNaN(e)||(this.transformationMatrix=xr(this.transformationMatrix,yr((-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=xr(this.transformationMatrix,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return br(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 gr.a?t:Object(mr.a)(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 tr(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 zi.Horizontal:this.pan(n,0);break;case zi.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)(c.Mb(c.l),c.Mb(c.A),c.Mb(c.h),c.Mb(Li))},t.\u0275cmp=c.Gb({type:t,selectors:[["ngx-graph"]],contentQueries:function(t,e,n){var r;1&t&&(c.Fb(n,ii,!0),c.Fb(n,oi,!0),c.Fb(n,si,!0),c.Fb(n,ai,!0),c.Fb(n,ci,!0)),2&t&&(c.sc(r=c.ac())&&(e.linkTemplate=r.first),c.sc(r=c.ac())&&(e.nodeTemplate=r.first),c.sc(r=c.ac())&&(e.clusterTemplate=r.first),c.sc(r=c.ac())&&(e.defsTemplate=r.first),c.sc(r=c.ac())&&(e.miniMapNodeTemplate=r.first))},viewQuery:function(t,e){var n;1&t&&(c.Dc(Vn,!0,c.l),c.Qc(ui,!0),c.Qc(li,!0)),2&t&&(c.sc(n=c.ac())&&(e.chart=n.first),c.sc(n=c.ac())&&(e.nodeElements=n),c.sc(n=c.ac())&&(e.linkElements=n))},hostBindings:function(t,e){1&t&&c.Zb("mousemove",(function(t){return e.onMouseMove(t)}),!1,c.vc)("mousedown",(function(t){return e.onMouseDown(t)}),!1,c.vc)("click",(function(t){return e.graphClick(t)}),!1,c.vc)("touchmove",(function(t){return e.onTouchMove(t)}),!1,c.vc)("mouseup",(function(t){return e.onMouseUp(t)}),!1,c.vc)},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:[c.xb,c.yb],ngContentSelectors:Ii,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&&(c.jc(),c.Sb(0,"ngx-charts-chart",0),c.Zb("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")})),c.Hc(1,Ei,12,12,"g",1),c.cc(),c.Sb(2,"clipPath"),c.Nb(3,"rect"),c.Rb(),c.Hc(4,Ti,6,15,"g",2),c.Rb()),2&t&&(c.kc("view",c.qc(8,Di,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions),c.Ab(1),c.kc("ngIf",e.initialized&&e.graph),c.Ab(1),c.Bb("id",e.minimapClipPathId),c.Ab(1),c.Bb("width",e.graphDims.width/e.minimapScaleCoefficient)("height",e.graphDims.height/e.minimapScaleCoefficient),c.Ab(1),c.kc("ngIf",e.showMiniMap))},directives:function(){return[Vn,Gi,i.t,i.s,i.A]},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}),ct([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Bi(n.value,500,void 0)}),this[e]}}},ut("design:type",Function),ut("design:paramtypes",[]),ut("design:returntype",void 0)],t.prototype,"updateMinimap",null),t})(),Gi=(()=>{class t{constructor(){this.mouseWheelUp=new c.o,this.mouseWheelDown=new c.o}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=c.Hb({type:t,selectors:[["","mouseWheel",""]],hostBindings:function(t,e){1&t&&c.Zb("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})(),Vi=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},providers:[Li],imports:[[$n]]}),t})(),Hi=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[hr],Vi]}),t})();const Yi=["caretElm"];function Wi(t,e){}const Ji=function(t){return{model:t}};function qi(t,e){if(1&t&&(c.Sb(0,"span"),c.Hc(1,Wi,0,0,"ng-template",5),c.Rb()),2&t){const t=c.dc();c.Ab(1),c.kc("ngTemplateOutlet",t.template)("ngTemplateOutletContext",c.pc(2,Ji,t.context))}}function Zi(t,e){if(1&t&&c.Nb(0,"span",6),2&t){const t=c.dc();c.kc("innerHTML",t.title,c.yc)}}var Xi;let Ki=(()=>{let t=Xi=class{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(t){Xi.globalRootViewContainer=t}getRootViewContainer(){if(this._container)return this._container;if(Xi.globalRootViewContainer)return Xi.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 ht.e(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new ht.d(t),s=i.attach(o);return this.projectComponentBindings(s,e),s}};return t.\u0275fac=function(e){return new(e||t)(c.Wb(c.g),c.Wb(c.j),c.Wb(c.s))},t.\u0275prov=c.Ib({token:t,factory:function(e){return t.\u0275fac(e)}}),t.globalRootViewContainer=null,t})();function $i(t,e,n){let r,i,o;n=n||{};let s=null,a=0;function c(){a=!1===n.leading?0:+new Date,s=null,o=t.apply(r,i)}return function(){const u=+new Date;a||!1!==n.leading||(a=u);const l=e-(u-a);return r=this,i=arguments,l<=0?(clearTimeout(s),s=null,a=u,o=t.apply(r,i)):s||!1===n.trailing||(s=setTimeout(c,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 to(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 eo(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 no{static calculateVerticalAlignment(t,e,n){let r=to(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=to(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}static calculateHorizontalAlignment(t,e,n){let r=eo(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=eo(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,s=0;return t===Qi.right?(s=-7,o=no.calculateVerticalCaret(n,e,r,i)):t===Qi.left?(s=e.width,o=no.calculateVerticalCaret(n,e,r,i)):t===Qi.top?(o=e.height,s=no.calculateHorizontalCaret(n,e,r,i)):t===Qi.bottom&&(o=-7,s=no.calculateHorizontalCaret(n,e,r,i)),{top:o,left:s}}static positionContent(t,e,n,r,i){let o=0,s=0;return t===Qi.right?(s=n.left+n.width+r,o=no.calculateVerticalAlignment(n,e,i)):t===Qi.left?(s=n.left-e.width-r,o=no.calculateVerticalAlignment(n,e,i)):t===Qi.top?(o=n.top-e.height-r,s=no.calculateHorizontalAlignment(n,e,i)):t===Qi.bottom&&(o=n.top+n.height+r,s=no.calculateHorizontalAlignment(n,e,i)),{top:o,left:s}}static determinePlacement(t,e,n,r){if(no.shouldFlip(n,e,t,r)){if(t===Qi.right)return Qi.left;if(t===Qi.left)return Qi.right;if(t===Qi.top)return Qi.bottom;if(t===Qi.bottom)return Qi.top}return t}}let ro=(()=>{let t=class{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}=no.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}=no.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=no.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}};return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l),c.Mb(c.F))},t.\u0275cmp=c.Gb({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;1&t&&c.Qc(Yi,!0),2&t&&c.sc(n=c.ac())&&(e.caretElm=n.first)},hostVars:2,hostBindings:function(t,e){1&t&&c.Zb("resize",(function(){return e.onWindowResize()}),!1,c.wc),2&t&&c.Cb(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&&(c.Sb(0,"div"),c.Nb(1,"span",0,1),c.Sb(3,"div",2),c.Hc(4,qi,2,4,"span",3),c.Hc(5,Zi,1,1,"span",4),c.Rb(),c.Rb()),2&t&&(c.Ab(1),c.Db("tooltip-caret position-",e.placement,""),c.kc("hidden",!e.showCaret),c.Ab(3),c.kc("ngIf",!e.title),c.Ab(1),c.kc("ngIf",e.title))},directives:[i.t,i.A],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;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);font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.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-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.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-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.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{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}"],encapsulation:2}),Object(nt.b)([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:$i(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t})(),io=(()=>{let t=class 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=ro}};return t.\u0275fac=function(e){return new(e||t)(c.Wb(Ki))},t.\u0275prov=c.Ib({token:t,factory:function(e){return t.\u0275fac(e)}}),t})(),oo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[i.c]]}),t})();var so=function(t){return t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip",t}({}),ao=function(t){return t[t.left="left"]="left",t[t.center="center"]="center",t[t.right="right"]="right",t}({}),co=function(t){return t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover",t}({});let uo,lo=(()=>{let t=class{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=Qi.top,this.tooltipAlignment=ao.center,this.tooltipType=so.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=co.all,this.tooltipImmediateExit=!1,this.show=new c.o,this.hide=new c.o}get listensForFocus(){return this.tooltipShowEvent===co.all||this.tooltipShowEvent===co.focus}get listensForHover(){return this.tooltipShowEvent===co.all||this.tooltipShowEvent===co.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;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(document,"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)(c.Mb(io),c.Mb(c.Q),c.Mb(c.F))},t.\u0275dir=c.Hb({type:t,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&c.Zb("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})(),ho=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},providers:[Ki,io],imports:[[i.c]]}),t})();"undefined"!=typeof window?uo=window:"undefined"!=typeof global&&(uo=global);let fo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[i.c,oo,ho],i.c,oo,ho]}),t})(),po=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),go=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),mo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),vo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),bo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})();Math;let yo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),wo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo,yo,bo]]}),t})(),_o=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),xo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo]]}),t})(),Eo=(()=>{let t=class{};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[fo,yo,go]]}),t})(),So=(()=>{let t=class{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[fo,po,go,mo,vo,bo,wo,_o,yo,xo,Eo]}),t})();function ko(t,e){1&t&&(c.Sb(0,"div"),c.Nb(1,"mat-spinner",3),c.Rb())}function Mo(t,e){if(1&t&&(c.Sb(0,"span"),c.Jc(1),c.ec(2,"translate"),c.Sb(3,"strong"),c.Jc(4),c.Rb(),c.Rb()),2&t){const t=c.dc(3);c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),c.Ab(3),c.Kc(t.service)}}function Ao(t,e){1&t&&(c.cc(),c.Sb(0,"marker",10),c.Nb(1,"path",11),c.Rb())}function To(t,e){if(1&t&&(c.cc(),c.Sb(0,"g",12),c.Nb(1,"rect"),c.Sb(2,"text",13),c.Jc(3),c.Rb(),c.Rb()),2&t){const t=e.$implicit;c.kc("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",t.tooltip),c.Ab(1),c.Bb("width",t.dimension.width)("height",t.dimension.height)("fill",t.color),c.Ab(1),c.Bb("x",10)("y",t.dimension.height/2),c.Ab(1),c.Kc(t.label)}}function Do(t,e){if(1&t&&(c.cc(),c.Sb(0,"g",14),c.Nb(1,"path",15),c.Sb(2,"text",16),c.Sb(3,"textPath",17),c.Jc(4),c.Rb(),c.Rb(),c.Rb()),2&t){const t=e.$implicit;c.Ab(3),c.Bb("href","#"+t.id),c.Ab(1),c.Lc(" ",t.label," ")}}const Io=function(t,e){return[t,e]};function Oo(t,e){if(1&t&&(c.Sb(0,"div"),c.Jc(1),c.ec(2,"translate"),c.Sb(3,"strong"),c.Jc(4),c.Rb(),c.Jc(5),c.ec(6,"translate"),c.Sb(7,"strong"),c.Jc(8),c.Rb(),c.Hc(9,Mo,5,4,"span",4),c.Sb(10,"div",5),c.Sb(11,"ngx-graph",6),c.Hc(12,Ao,2,0,"ng-template",null,7,c.Ic),c.Hc(14,To,4,9,"ng-template",null,8,c.Ic),c.Hc(16,Do,5,2,"ng-template",null,9,c.Ic),c.Rb(),c.Rb(),c.Rb()),2&t){const t=c.dc(2);c.Ab(1),c.Lc(" ",c.fc(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),c.Ab(3),c.Mc("",t.user.firstName," ",t.user.lastName,""),c.Ab(1),c.Lc(" ",c.fc(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),c.Ab(3),c.Kc(t.destination),c.Ab(1),c.kc("ngIf","noService"!==t.service),c.Ab(2),c.kc("links",t.hierarchialGraph.links)("nodes",t.hierarchialGraph.nodes)("curve",t.curve)("draggingEnabled",!1)("zoomToFit$",t.zoomToFit$)("view",c.qc(16,Io,t.innerWidth,t.innerHeight))}}function Co(t,e){if(1&t&&(c.Sb(0,"span"),c.Jc(1),c.ec(2,"translate"),c.Sb(3,"strong"),c.Jc(4),c.Rb(),c.Rb()),2&t){const t=c.dc(3);c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),c.Ab(3),c.Kc(t.service)}}function No(t,e){if(1&t&&(c.Jc(0),c.ec(1,"translate"),c.Sb(2,"strong"),c.Jc(3),c.Rb(),c.Jc(4),c.ec(5,"translate"),c.Sb(6,"strong"),c.Jc(7),c.Rb(),c.Hc(8,Co,5,4,"span",4),c.Jc(9),c.ec(10,"translate")),2&t){const t=c.dc(2);c.Lc(" ",c.fc(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),c.Ab(3),c.Mc("",t.user.firstName," ",t.user.lastName,""),c.Ab(1),c.Lc(" ",c.fc(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),c.Ab(3),c.Kc(t.destination),c.Ab(1),c.kc("ngIf","noService"!==t.service),c.Ab(1),c.Lc(" ",c.fc(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function jo(t,e){if(1&t&&(c.Hc(0,Oo,18,19,"div",1),c.Hc(1,No,11,13,"ng-template",null,2,c.Ic)),2&t){const t=c.tc(2),e=c.dc();c.kc("ngIf",e.isConnected)("ngIfElse",t)}}let Ro=(()=>{class t{constructor(t,e,n,r,i,o,s,a,c){this.route=t,this.facilityManager=e,this.userService=n,this.membersService=r,this.serviceService=i,this.resourceManager=o,this.groupService=s,this.voService=a,this.translate=c,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=st,this.zoomToFit$=new at.a}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)(c.Mb(o.a),c.Mb(_.g),c.Mb(_.q),c.Mb(_.i),c.Mb(_.n),c.Mb(_.m),c.Mb(_.h),c.Mb(_.r),c.Mb(f.e))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-user-destination-graph"]],hostVars:2,hostBindings:function(t,e){1&t&&c.Zb("resize",(function(t){return e.onResize(t)}),!1,c.wc),2&t&&c.Eb("router-component",!0)},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&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Hc(3,ko,2,0,"div",1),c.Hc(4,jo,3,2,"ng-template",null,2,c.Ic)),2&t){const t=c.tc(5);c.Ab(1),c.Lc(" ",c.fc(2,3,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE"),"\n"),c.Ab(2),c.kc("ngIf",e.loading)("ngIfElse",t)}},directives:[i.t,T.c,Ui,lo],pipes:[f.d],styles:[""]}),t})();var Po=n("D+oT"),Lo=n("ozd/"),zo=n("Y2X+"),Fo=n("j+u3");function Bo(t,e){1&t&&c.Nb(0,"mat-spinner",3)}const Uo=function(){return{color:"black"}},Go=function(t){return["/admin/users",t]};function Vo(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div",4),c.Nb(1,"mat-icon",5),c.ec(2,"translate"),c.Sb(3,"div",6),c.Sb(4,"div",7),c.Sb(5,"a",8),c.Jc(6),c.ec(7,"userFullName"),c.Rb(),c.Sb(8,"span",9),c.Jc(9),c.Rb(),c.Sb(10,"button",10),c.Zb("click",(function(){return c.xc(t),c.dc().editUser()})),c.Sb(11,"mat-icon"),c.Jc(12,"edit"),c.Rb(),c.Rb(),c.Rb(),c.Sb(13,"span",11),c.Jc(14),c.ec(15,"translate"),c.ec(16,"translate"),c.Rb(),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.lc("matTooltip",c.fc(2,8,"ADMIN_USER.ENTITY")),c.kc("ngStyle",c.oc(16,Uo)),c.Ab(4),c.kc("routerLink",c.pc(17,Go,t.user.id)),c.Ab(1),c.Lc(" ",c.fc(7,10,t.user)," "),c.Ab(3),c.Lc(" \xa0#",t.user.id," "),c.Ab(5),c.Nc(" ",c.fc(15,12,"ADMIN_USER.ENTITY"),", ",c.fc(16,14,"ADMIN_USER.USER_TYPE"),": ",t.getUserType()," ")}}let Ho=(()=>{class t{constructor(t,e,n,r,i){this.route=t,this.usersService=e,this.sideMenuService=n,this.sideMenuItemService=r,this.dialog=i,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=Object(w.o)();t.width="450px",t.data={theme:"admin-theme",user:this.user},this.dialog.open(Lo.a,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)(c.Mb(o.a),c.Mb(_.q),c.Mb(s.a),c.Mb(a.a),c.Mb(S.b))},t.\u0275cmp=c.Gb({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"],[1,"mt-1","entity-info"]],template:function(t,e){1&t&&(c.Sb(0,"div",0),c.Nb(1,"perun-web-apps-back-button"),c.Hc(2,Bo,1,0,"mat-spinner",1),c.Hc(3,Vo,17,19,"div",2),c.Nb(4,"app-animated-router-outlet"),c.Rb()),2&t&&(c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading&&void 0!==e.user))},directives:[u.a,i.t,h.a,T.c,l.a,zo.a,i.w,o.i,M.b],pipes:[f.d,Fo.a],styles:[""]}),t})();var Yo=n("QOlj"),Wo=n("S5du"),Jo=n("BAI5"),qo=n("faZ6"),Zo=n("Q/gj"),Xo=n("m1kt"),Ko=n("ZWyU");function $o(t,e){1&t&&c.Nb(0,"mat-spinner",5)}const Qo=function(){return["select"]};function ts(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-ext-sources-list",6),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("extSources",t.extSources)("filterValue",t.filterValue)("hideColumns",c.oc(4,Qo))("pageSize",t.pageSize)}}let es=(()=>{class t{constructor(t,e,n,r){this.extSourceService=t,this.notificator=e,this.tableConfigService=n,this.translate=r,this.extSources=[],this.filterValue="",this.loading=!1,this.tableId=x.j,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)(c.Mb(_.f),c.Mb(G.l),c.Mb(x.pb),c.Mb(f.e))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-ext-sources"]],decls:10,vars:9,consts:[[1,"page-subtitle"],["mat-stroked-button","",1,"mr-2",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"extSources","filterValue","hideColumns","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"extSources","filterValue","hideColumns","pageSize","page"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"button",1),c.Zb("click",(function(){return e.onLoad()})),c.Jc(5),c.ec(6,"translate"),c.Rb(),c.Sb(7,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(8,$o,1,0,"mat-spinner",3),c.Hc(9,ts,1,5,"app-ext-sources-list",4),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,5,"ADMIN.EXT_SOURCES.TITLE")),c.Ab(3),c.Lc(" ",c.fc(6,7,"ADMIN.EXT_SOURCES.LOAD")," "),c.Ab(2),c.kc("placeholder","ADMIN.EXT_SOURCES.SEARCH"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[M.b,A.a,i.t,T.c,Ko.a],pipes:[f.d],styles:[""]}),t})();var ns=n("oXY0"),rs=n("ECIY"),is=n("h7zu"),os=n("Q2p/"),ss=n("NC8S"),as=n("FcRk");function cs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-refresh-button",7),c.Zb("refresh",(function(){return c.xc(t),c.dc().refreshTable()})),c.Rb()}}function us(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onAdd()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE")," "))}function ls(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().onRemove()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE")," ")}}function hs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-users-list",10),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("users",t.identities)("selection",t.selection)("displayedColumns",t.displayedColumns)}}function fs(t,e){1&t&&(c.Sb(0,"app-alert",11),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES")," "))}function ds(t,e){1&t&&c.Nb(0,"mat-spinner",12)}let ps=(()=>{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.c(!1,[]),this.identities=[],this.tableId=x.fb,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=Object(w.o)();t.width="1250px",t.data={userId:this.userId,theme:"user-theme",isService:!1},this.dialog.open(is.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=Object(w.o)();t.width="650px",t.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme"},this.dialog.open(os.a,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)(c.Mb(o.a),c.Mb(S.b),c.Mb(o.f),c.Mb(x.pb),c.Mb(_.q))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,cs,1,0,"perun-web-apps-refresh-button",1),c.Hc(5,us,3,3,"button",2),c.Hc(6,ls,3,4,"button",3),c.Hc(7,hs,1,4,"app-users-list",4),c.Hc(8,fs,3,3,"app-alert",5),c.Rb(),c.Hc(9,ds,1,0,"mat-spinner",6)),2&t&&(c.Ab(2),c.Kc(c.fc(3,7,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),c.Ab(2),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",void 0!==e.identities&&e.identities.length>0),c.Ab(1),c.kc("ngIf",!e.loading&&(void 0===e.identities||0===e.identities.length)),c.Ab(1),c.kc("ngIf",e.loading))},directives:[i.t,k.a,M.b,ss.a,as.a,T.c],pipes:[f.d],styles:[""]}),t})();var gs=n("bATb"),ms=n("+0js"),vs=n("YFHD");function bs(t,e){1&t&&c.Nb(0,"mat-spinner",7)}function ys(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div"),c.Sb(1,"perun-web-apps-user-ext-sources-list",8),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.kc("hideColumns",t.hiddenColumns)("selection",t.selection)("userExtSources",t.userExtSources)("pageSize",t.pageSize)}}let ws=(()=>{class t{constructor(t,e,n,r,i,o){this.usersManagerService=t,this.storage=e,this.registrarManagerService=n,this.dialog=r,this.route=i,this.tableConfigService=o,this.userExtSources=[],this.selection=new v.c(!1,[]),this.hiddenColumns=["mail"],this.tableId=x.cb}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=Object(w.o)();t.width="400px",t.data={userId:this.userId},this.dialog.open(gs.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeIdentity(){const t=Object(w.o)();t.width="400px",t.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(ms.m,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)(c.Mb(_.q),c.Mb(G.m),c.Mb(_.l),c.Mb(S.b),c.Mb(o.a),c.Mb(x.pb))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-user-identities"]],decls:13,vars:12,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"hideColumns","selection","userExtSources","pageSize","page"]],template:function(t,e){1&t&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Sb(3,"perun-web-apps-refresh-button",1),c.Zb("refresh",(function(){return e.refreshTable()})),c.Rb(),c.Sb(4,"button",2),c.Zb("click",(function(){return e.addIdentity()})),c.Jc(5),c.ec(6,"translate"),c.Rb(),c.Sb(7,"button",3),c.Zb("click",(function(){return e.removeIdentity()})),c.Jc(8),c.ec(9,"translate"),c.Rb(),c.Sb(10,"div",4),c.Hc(11,bs,1,0,"mat-spinner",5),c.Rb(),c.Hc(12,ys,2,4,"div",6)),2&t&&(c.Ab(1),c.Kc(c.fc(2,6,"USER_DETAIL.IDENTITIES.TITLE")),c.Ab(4),c.Kc(c.fc(6,8,"USER_DETAIL.IDENTITIES.ADD")),c.Ab(2),c.kc("disabled",0===e.selection.selected.length),c.Ab(1),c.Kc(c.fc(9,10,"USER_DETAIL.IDENTITIES.REMOVE")),c.Ab(3),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[k.a,M.b,i.t,T.c,vs.a],pipes:[f.d],styles:[""]}),t})();var _s=n("pU19"),xs=n("r3xl"),Es=n("gcZR");function Ss(t,e){1&t&&c.Nb(0,"mat-spinner",7)}function ks(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-services-list",8),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("selection",t.selection)("services",t.services)("filterValue",t.filterValue)}}let Ms=(()=>{class t{constructor(t,e,n){this.tableConfigService=t,this.serviceManager=e,this.dialog=n,this.selection=new v.c(!0,[]),this.loading=!1,this.filterValue="",this.tableId=x.l}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.serviceManager.getServices().subscribe(t=>{this.services=t,this.refreshTable()})}createService(){const t=Object(w.o)();t.width="600px",t.data={theme:"admin-theme"},this.dialog.open(_s.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}deleteService(){const t=Object(w.o)();t.width="600px",t.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(xs.a,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)(c.Mb(x.pb),c.Mb(_.n),c.Mb(S.b))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-services"]],decls:14,vars:13,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-2",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","selection","services","filterValue","page",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"pageSize","selection","services","filterValue","page"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"perun-web-apps-refresh-button",1),c.Zb("refresh",(function(){return e.refreshTable()})),c.Rb(),c.Sb(5,"button",2),c.Zb("click",(function(){return e.createService()})),c.Jc(6),c.ec(7,"translate"),c.Rb(),c.Sb(8,"button",3),c.Zb("click",(function(){return e.deleteService()})),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Sb(11,"perun-web-apps-immediate-filter",4),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(12,Ss,1,0,"mat-spinner",5),c.Hc(13,ks,1,4,"app-services-list",6),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,7,"ADMIN.SERVICES.TITLE")),c.Ab(4),c.Lc(" ",c.fc(7,9,"ADMIN.SERVICES.CREATE"),""),c.Ab(2),c.kc("disabled",0===e.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(10,11,"ADMIN.SERVICES.DELETE"),""),c.Ab(2),c.kc("placeholder","ADMIN.SERVICES.FILTER"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[k.a,M.b,A.a,i.t,T.c,Es.a],pipes:[f.d],styles:[""]}),t})();var As=n("23RZ");function Ts(t,e){1&t&&c.Nb(0,"mat-spinner",5)}const Ds=function(){return["id","name","vo","facility","description"]};function Is(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-resources-list",6),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("resources",t.resources)("filterValue",t.filterValue)("displayedColumns",c.oc(4,Ds))}}let Os=(()=>{class t{constructor(t,e,n){this.userManager=t,this.tableConfigService=e,this.route=n,this.resources=[],this.tableId=x.m,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)(c.Mb(_.q),c.Mb(x.pb),c.Mb(o.a))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"perun-web-apps-refresh-button",1),c.Zb("refresh",(function(){return e.refreshTable()})),c.Rb(),c.Sb(5,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.resourceFilter(t)})),c.Rb(),c.Hc(6,Ts,1,0,"mat-spinner",3),c.Hc(7,Is,1,5,"perun-web-apps-resources-list",4),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,4,"USER_DETAIL.RESOURCES.TITLE")),c.Ab(3),c.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[k.a,A.a,i.t,T.c,As.a],pipes:[f.d],styles:[""]}),t})();var Cs=n("EkHC"),Ns=n("TkCa");function js(t,e){1&t&&c.Nb(0,"mat-spinner",3)}const Rs=function(){return{color:"black"}},Ps=function(t){return["/admin/services",t]};function Ls(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div",4),c.Nb(1,"mat-icon",5),c.ec(2,"translate"),c.Sb(3,"div",6),c.Sb(4,"div",7),c.Sb(5,"a",8),c.Jc(6),c.Rb(),c.Sb(7,"span",9),c.Jc(8),c.Rb(),c.Sb(9,"button",10),c.Zb("click",(function(){return c.xc(t),c.dc().editService()})),c.Sb(10,"mat-icon"),c.Jc(11,"edit"),c.Rb(),c.Rb(),c.Rb(),c.Sb(12,"span",11),c.Jc(13),c.ec(14,"translate"),c.Rb(),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.lc("matTooltip",c.fc(2,7,"SERVICE_DETAIL.ENTITY")),c.kc("ngStyle",c.oc(11,Rs)),c.Ab(4),c.kc("routerLink",c.pc(12,Ps,t.service.id)),c.Ab(1),c.Lc(" ",t.service.name," "),c.Ab(2),c.Lc(" \xa0 #",t.service.id," "),c.Ab(5),c.Mc(" ",c.fc(14,9,"SERVICE_DETAIL.DESCRIPTION"),": ",t.service.description," ")}}let zs=(()=>{class t{constructor(t,e,n,r,i){this.route=t,this.serviceManager=e,this.sideMenuService=n,this.sideMenuItemService=r,this.dialog=i,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=Object(w.o)();t.width="600px",t.data={theme:"service-theme",service:this.service},this.dialog.open(_s.a,t).afterClosed().subscribe(t=>{t&&this.ngOnInit()})}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(o.a),c.Mb(_.n),c.Mb(s.a),c.Mb(a.a),c.Mb(S.b))},t.\u0275cmp=c.Gb({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"],[1,"mt-1","entity-info"]],template:function(t,e){1&t&&(c.Sb(0,"div",0),c.Nb(1,"perun-web-apps-back-button"),c.Hc(2,js,1,0,"mat-spinner",1),c.Hc(3,Ls,15,14,"div",2),c.Nb(4,"app-animated-router-outlet"),c.Rb()),2&t&&(c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading&&void 0!==e.service))},directives:[u.a,i.t,h.a,T.c,l.a,zo.a,i.w,o.i,M.b],pipes:[f.d],styles:[""],data:{animation:[Ns.a]}}),t})(),Fs=(()=>{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=c.Gb({type:t,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&c.Nb(0,"perun-web-apps-menu-buttons-field",0),2&t&&c.kc("items",e.navItems)("size","small")},directives:[g.a],styles:[""]}),t})();var Bs=n("amZv"),Us=n("kLAD");function Gs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-refresh-button",7),c.Zb("refresh",(function(){return c.xc(t),c.dc().refreshTable()})),c.Rb()}}function Vs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onAdd()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function Hs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().onRemove()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function Ys(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-immediate-filter",10),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.Rb()}2&t&&c.kc("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER")}function Ws(t,e){1&t&&c.Nb(0,"mat-spinner",11)}function Js(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-attr-def-list",12),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)}))("refreshEvent",(function(){return c.xc(t),c.dc().refreshTable()})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("definitions",t.attrDefinitions)("selection",t.selection)("filterValue",t.filterValue)}}let qs=(()=>{class t{constructor(t,e,n,r){this.route=t,this.tableConfigService=e,this.attributeManager=n,this.dialog=r,this.loading=!1,this.filterValue="",this.selection=new v.c(!0,[]),this.attrDefinitions=[],this.tableId=x.R}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=Object(w.o)();t.width="950px",t.data={serviceId:this.serviceId,theme:"service-theme"},this.dialog.open(Bs.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=Object(w.o)();t.width="650px",t.data={serviceId:this.serviceId,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(Us.a,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)(c.Mb(o.a),c.Mb(x.pb),c.Mb(_.c),c.Mb(S.b))},t.\u0275cmp=c.Gb({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","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","page","refreshEvent"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,Gs,1,0,"perun-web-apps-refresh-button",1),c.Hc(5,Vs,3,3,"button",2),c.Hc(6,Hs,3,4,"button",3),c.Hc(7,Ys,1,1,"perun-web-apps-immediate-filter",4),c.Hc(8,Ws,1,0,"mat-spinner",5),c.Hc(9,Js,1,4,"app-attr-def-list",6),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,7,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),c.Ab(2),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[i.t,k.a,M.b,A.a,T.c,D.a],pipes:[f.d],styles:[""]}),t})();function Zs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-refresh-button",7),c.Zb("refresh",(function(){return c.xc(t),c.dc().refreshTable()})),c.Rb()}}function Xs(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onAdd()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "))}function Ks(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().onRemove()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," ")}}function $s(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-users-list",10),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("users",t.associatedUsers)("selection",t.selection)("displayedColumns",t.displayedColumns)}}function Qs(t,e){1&t&&(c.Sb(0,"app-alert",11),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS")," "))}function ta(t,e){1&t&&c.Nb(0,"mat-spinner",12)}let ea=(()=>{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.c(!1,[]),this.associatedUsers=[],this.tableId=x.Z,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=Object(w.o)();t.width="1250px",t.data={userId:this.userId,theme:"user-theme",isService:!0},this.dialog.open(is.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=Object(w.o)();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(os.a,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)(c.Mb(o.a),c.Mb(S.b),c.Mb(o.f),c.Mb(x.pb),c.Mb(_.q))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,Zs,1,0,"perun-web-apps-refresh-button",1),c.Hc(5,Xs,3,3,"button",2),c.Hc(6,Ks,3,4,"button",3),c.Hc(7,$s,1,4,"app-users-list",4),c.Hc(8,Qs,3,3,"app-alert",5),c.Rb(),c.Hc(9,ta,1,0,"mat-spinner",6)),2&t&&(c.Ab(2),c.Kc(c.fc(3,7,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),c.Ab(2),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",void 0!==e.associatedUsers&&e.associatedUsers.length>0),c.Ab(1),c.kc("ngIf",!e.loading&&(void 0===e.associatedUsers||0===e.associatedUsers.length)),c.Ab(1),c.kc("ngIf",e.loading))},directives:[i.t,k.a,M.b,ss.a,as.a,T.c],pipes:[f.d],styles:[""]}),t})();var na=n("/nwi"),ra=n("pgvo");function ia(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-refresh-button",7),c.Zb("refresh",(function(){return c.xc(t),c.dc().refreshTable()})),c.Rb()}}function oa(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onRemove()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function sa(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().onAllow()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function aa(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onBlock()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function ca(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-immediate-filter",10),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.Rb()}2&t&&c.kc("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER")}function ua(t,e){1&t&&c.Nb(0,"mat-spinner",11)}const la=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function ha(t,e){if(1&t&&c.Nb(0,"app-perun-web-apps-destination-list",12),2&t){const t=c.dc();c.kc("destinations",t.destinations)("selection",t.selection)("pageSize",t.pageSize)("displayedColumns",c.oc(5,la))("filterValue",t.filterValue)}}let fa=(()=>{class t{constructor(t,e,n,r,i,o){this.route=t,this.tableConfigService=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.dialog=o,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new v.c(!0,[]),this.tableId=x.C}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=Object(w.o)();t.width="500px",t.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(na.a,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)(c.Mb(o.a),c.Mb(x.pb),c.Mb(_.n),c.Mb(G.l),c.Mb(f.e),c.Mb(S.b))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,ia,1,0,"perun-web-apps-refresh-button",1),c.Hc(5,oa,3,4,"button",2),c.Hc(6,sa,3,4,"button",3),c.Hc(7,aa,3,4,"button",2),c.Hc(8,ca,1,1,"perun-web-apps-immediate-filter",4),c.Hc(9,ua,1,0,"mat-spinner",5),c.Hc(10,ha,1,6,"app-perun-web-apps-destination-list",6),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,8,"SERVICE_DETAIL.DESTINATIONS.TITLE")),c.Ab(2),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[i.t,k.a,M.b,A.a,T.c,ra.a],pipes:[f.d],styles:[""]}),t})();var da=n("/VkC"),pa=n("P2UU"),ga=n("9Iem");function ma(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().addOwner()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"ADMIN.OWNERS.ADD")," "))}function va(t,e){if(1&t){const t=c.Tb();c.Sb(0,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().removeOwner()})),c.Jc(1),c.ec(2,"translate"),c.Rb()}if(2&t){const t=c.dc();c.kc("disabled",!t.selected.selected.length),c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.OWNERS.DELETE")," ")}}function ba(t,e){1&t&&c.Nb(0,"mat-spinner",10)}function ya(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-owners-list",11),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("owners",t.owners)("selection",t.selected)}}let wa=(()=>{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.c(!0,[]),this.filterValue="",this.tableId=x.J}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=Object(w.o)();t.width="400px",t.data={},this.dialog.open(pa.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeOwner(){const t=Object(w.o)();t.width="400px",t.data=this.selected.selected,this.dialog.open(da.a,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(_.j),c.Mb(x.pb),c.Mb(S.b),c.Mb(G.h))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div",0),c.Sb(1,"h1",1),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"perun-web-apps-refresh-button",2),c.Zb("refresh",(function(){return e.refreshTable()})),c.Rb(),c.Hc(5,ma,3,3,"button",3),c.Hc(6,va,3,4,"button",4),c.Sb(7,"perun-web-apps-immediate-filter",5),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(8,ba,1,0,"mat-spinner",6),c.Hc(9,ya,1,4,"perun-web-apps-owners-list",7),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,6,"ADMIN.OWNERS.TITLE")),c.Ab(3),c.kc("ngIf",e.addAuth),c.Ab(1),c.kc("ngIf",e.removeAuth),c.Ab(1),c.kc("placeholder","ADMIN.OWNERS.FILTER"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[k.a,i.t,A.a,M.b,T.c,ga.a],pipes:[f.d],styles:[""]}),t})();var _a=n("w+DT");function xa(t,e){1&t&&c.Nb(0,"mat-spinner",5)}function Ea(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-facilities-list",6),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("filterValue",t.filterValue)("facilities",t.facilities)("displayedColumns",t.displayedColumns)("pageSize",t.pageSize)}}const Sa=[{path:"",component:p,children:[{path:"",component:m,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:C,data:{animation:"AdminAttributesPage"}},{path:"users",component:Po.a,data:{animation:"AdminUsersPage"}},{path:"owners",component:wa,data:{animation:"AdminOwnersPage"}},{path:"services",component:Ms,data:{animation:"AdminServicesPage"}},{path:"visualizer",component:N,children:[{path:"",component:P,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:R,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:et,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Ro,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:es,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:Ho,children:[{path:"",component:Yo.a,data:{animation:"UserOverviewPage"}},{path:"attributes",component:Zo.a,data:{animation:"UserAttributesPage"}},{path:"organizations",component:Wo.a,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:Jo.a,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:ws,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:(()=>{class t{constructor(t,e,n){this.facilityManager=t,this.tableConfigService=e,this.route=n,this.facilities=[],this.filterValue="",this.tableId=x.k,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)(c.Mb(_.g),c.Mb(x.pb),c.Mb(o.a))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"perun-web-apps-refresh-button",1),c.Zb("refresh",(function(){return e.refreshTable()})),c.Rb(),c.Sb(5,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(6,xa,1,0,"mat-spinner",3),c.Hc(7,Ea,1,4,"perun-web-apps-facilities-list",4),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,4,"USER_DETAIL.FACILITIES.TITLE")),c.Ab(3),c.kc("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[k.a,A.a,i.t,T.c,_a.a],pipes:[f.d],styles:[""]}),t})(),data:{animation:"UserFacilitiesPage"}},{path:"resources",component:Os,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:Cs.a,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:ns.a,data:{animation:"UserRolesPage"}},{path:"settings",component:qo.a,children:[{path:"",component:Xo.a,data:{animation:"UserSettingsOverviewPage"}},{path:"facilityAttributes",component:rs.a,data:{animation:"UserSettingsFacilityAttributesPage",showPrincipal:!1}},{path:"service-identities",component:ps,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:ea,data:{animation:"AssociatedUsersPage"}}]}]},{path:"services/:serviceId",component:zs,children:[{path:"",component:Fs,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:qs,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:fa,data:{animation:"ServiceDestinationsPage"}}]}];let ka=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[o.j.forChild(Sa)],o.j]}),t})();var Ma=n("PCNd"),Aa=n("KoHB"),Ta=n("HHEo"),Da=n("t47Z"),Ia=n("zrcO");let Oa=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[Hi,So,i.c,ka,Ma.a,Aa.a,Ta.d,Da.b,Ia.UsersModule]]}),t})()},kG2z:function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},kHoZ:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},keXZ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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=r;var i=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=i;var o=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=o;var s=function(){function t(t){this.vars=[],t.offset=0,this.ps=new r(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=c,e.removeOverlapInOneDimension=function(t,e,n){for(var r=t.map((function(t){return new o(t.desiredCenter)})),s=[],a=t.length,u=0;u=0&&e._call.call(null,t),e=e._next;--o}function b(){u=(c=h.now())+l,o=s=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)}(),u=0}}function y(){var t=h.now(),e=t-c;e>1e3&&(l-=e,c=t)}function w(t){o||(s&&(s=clearTimeout(s)),t-u>24?(t<1/0&&(s=setTimeout(b,t-h.now()-l)),a&&(a=clearInterval(a))):(a||(c=h.now(),a=setInterval(y,1e3)),o=1,f(b)))}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())}}},oCTG:function(t,e,n){var r=n("Syyo"),i=n("bvyN"),o=n("wxYD"),s=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(s&&t&&t[s])}},osTN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Tx5e"),i=n("WcC/");e.d3adaptor=function(t){return!t||function(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new r.D3StyleLayoutAdaptor:new i.D3StyleLayoutAdaptor(t)}},"p1C/":function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},p2lg:function(t,e,n){var r=n("tQYX"),i=n("CbIe"),o=n("/UTG"),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&n.push(a);return n}},pFSi:function(t,e,n){var r=n("hyzI");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 s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},pIod:function(t,e,n){var r=n("y/9h"),i=n("wxYD");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},pNP6:function(t,e,n){"use strict";function r(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}n.d(e,"b",(function(){return r})),e.a=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n-1&&t%1==0&&t=200){var g=e?null:a(t);if(g)return c(g);f=!1,l=s,p=new r}else p=e?[]:d;t:for(;++u-1&&t%1==0&&t<=9007199254740991}},tLQN:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},tPQG:function(t,e,n){var r=n("LtXa"),i=n("BlJA");t.exports=function(t,e){return t&&r(e,i(e),t)}},tQYX:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},tlBq:function(t,e,n){var r=n("pIod"),i=n("70Le"),o=n("BlJA");t.exports=function(t){return r(t,o,i)}},u6DZ:function(t,e,n){var r=n("YpBQ"),i=n("eHpp"),o=n("R3TX"),s=n("R5u7"),a=o((function(t,e){if(null==t)return[];var n=e.length;return n>1&&s(t,e[0],e[1])?e=[]:n>2&&s(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=a},uoq0:function(t,e,n){"use strict";n.r(e),n.d(e,"zoom",(function(){return S})),n.d(e,"zoomTransform",(function(){return g})),n.d(e,"zoomIdentity",(function(){return p}));var r=n("z0Nn"),i=n("chUO"),o=n("nJRJ"),s=n("7SLq"),a=n("xpD5"),c=n("dr5/"),u=n("Bitd"),l=n("8MQl"),h=function(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(){s.c.stopImmediatePropagation()}g.prototype=d.prototype;var v=function(){s.c.preventDefault(),s.c.stopImmediatePropagation()};function b(){return!s.c.button}function y(){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 _(){return-s.c.deltaY*(s.c.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],s=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}var S=function(){var t,e,n=b,g=y,S=E,k=_,M=x,A=[0,1/0],T=[[-1/0,-1/0],[1/0,1/0]],D=250,I=o.a,O=[],C=Object(r.a)("start","zoom","end"),N=0;function j(t){t.property("__zoom",w).on("wheel.zoom",U).on("mousedown.zoom",G).on("dblclick.zoom",V).filter(M).on("touchstart.zoom",H).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",W).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,e){return(e=Math.max(A[0],Math.min(A[1],e)))===t.k?t:new d(e,t.x,t.y)}function P(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 L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function z(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),s=n||L(o),a=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=t.__zoom,u="function"==typeof e?e.apply(t,r):e,l=I(c.invert(s).concat(a/c.k),u.invert(s).concat(a/u.k));return function(t){if(1===t)t=u;else{var e=l(t),n=a/e[2];t=new d(n,s[0]-e[0]*n,s[1]-e[1]*n)}i.zoom(null,t)}}))}function F(t,e){for(var n,r=0,i=O.length;rN}t.zoom("mouse",S(P(t.that.__zoom,t.mouse[0]=Object(a.a)(t.that),t.mouse[1]),t.extent,T))}function d(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.b)(s.c.view,t.moved),v(),t.end()}}function V(){if(n.apply(this,arguments)){var t=this.__zoom,e=Object(a.a)(this),r=t.invert(e),i=t.k*(s.c.shiftKey?.5:2),o=S(P(R(t,i),e,r),g.apply(this,arguments),T);v(),D>0?Object(c.a)(this).transition().duration(D).call(z,o,e):Object(c.a)(this).call(j.transform,o)}}function H(){if(n.apply(this,arguments)){var e,r,i,o,a=F(this,arguments),h=s.c.changedTouches,f=h.length;for(m(),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 s(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=o;var s=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=s;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 i(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,c=r,u=null,l=this._root;for(c.right=this._root;;){if(null===l?(l=new a(t),u.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(u)){var h=c.right===s;l===u.get_child(o)?c.set_child(h,e.single_rotate(s,!o)):c.set_child(h,e.double_rotate(s,!o))}var f=this._comparator(l.data,t);if(0===f)break;o=i,null!==s&&(c=s),s=u,u=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,c=!0;null!==r.get_child(c);){var u=c;o=i,i=r,r=r.get_child(c);var l=this._comparator(t,r.data);if(c=l>0,0===l&&(s=r),!e.is_red(r)&&!e.is_red(r.get_child(c)))if(e.is_red(r.get_child(!c))){var h=e.single_rotate(r,c);i.set_child(u,h),i=h}else if(!e.is_red(r.get_child(!c))){var f=i.get_child(!u);if(null!==f)if(e.is_red(f.get_child(!u))||e.is_red(f.get_child(u))){var d=o.right===i;e.is_red(f.get_child(u))?o.set_child(d,e.double_rotate(i,u)):e.is_red(f.get_child(!u))&&o.set_child(d,e.single_rotate(i,u));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}(o)},vxC8:function(t,e,n){var r=n("5nKN"),i=n("4p/L");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},w0mW:function(t,e,n){var r=n("dw5g"),i=0;t.exports=function(t){var e=++i;return r(t)+e}},w2Tz:function(t,e,n){var r=n("xoyU"),i=n("Ypsa");t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++r0;){if(n=c.removeMin(),r.has(a,n))s.setEdge(n,a[n]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(n).forEach(u)}return s}},xaOS:function(t,e,n){"use strict";var r=n("gjtd"),i=n("vC4J").Graph,o=n("xxjf");function s(t,e){var n={};return r.reduce(e,(function(e,i){var o=0,s=0,a=e.length,u=r.last(i);return r.forEach(i,(function(e,l){var h=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),f=h?t.node(h).order:a;(h||e===u)&&(r.forEach(i.slice(s,l+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),s=i.order;!(sa)&&c(n,e,u)}))}))}return r.reduce(e,(function(e,n){var o,s=-1,a=0;return r.forEach(n,(function(r,c){if("border"===t.node(r).dummy){var u=t.predecessors(r);u.length&&(o=t.node(u[0]).order,i(n,a,c,s,o),a=c,s=o)}i(n,a,n.length,o,e.length)})),n})),n}function c(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 u(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={},s={},a={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){o[t]=t,s[t]=t,a[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var c=i(t);if(c.length)for(var l=((c=r.sortBy(c,(function(t){return a[t]}))).length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=c[h];s[t]===t&&e180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Object(a.a)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,s.rotate,c,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Object(a.a)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,s.skewX,c,u),function(t,e,n,r,o,s){if(t!==n||e!==r){var c=o.push(i(o)+"scale(",null,",",null,")");s.push({i:c-4,x:Object(a.a)(t,n)},{i:c-2,x:Object(a.a)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,c,u),o=s=null,function(t){for(var e,n=-1,r=u.length;++nMath.abs(s)*u?(a<0&&(u=-u),n=u*s/a,r=u):(s<0&&(c=-c),n=c,r=c*a/s),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(s(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:s,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()}}},"y/9h":function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n=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;oe.barycenter?1:n?e.i-t.i:t.i-e.i})),f=o(u,c,f),r.forEach(a,(function(t){f+=t.vs.length,u.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(u,c,f)}));var d={vs:r.flatten(u,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},zF5n:function(t,e,n){var r=n("pIod"),i=n("Xidw"),o=n("zH+d");t.exports=function(t){return r(t,o,i)}},"zH+d":function(t,e,n){var r=n("rmhs"),i=n("p2lg"),o=n("9y2L");t.exports=function(t){return o(t)?r(t,!0):i(t)}},zKkv:function(t,e,n){var r=n("UdtX"),i=n("BlJA");t.exports=function(t,e){return t&&r(t,e,i)}},zL3f:function(t,e,n){"use strict";function r(t,e,n,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*r+s*i)/6}n.d(e,"a",(function(){return r})),e.b=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[i],s=t[i+1];return r((n-i/e)*e,i>0?t[i-1]:2*o-s,o,s,i0){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,c,u,l){var h=this;void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===c&&(c=0),void 0===u&&(u=!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),b=new Array(p),y=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,b[e]=t.y})),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?f=this._distanceMatrix:(f=new a.Calculator(p,this._links,t.getSourceIndex,t.getTargetIndex,(function(t){return h.getLinkLength(t)})).DistanceMatrix(),y=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);y[n][r]=y[r][n]=e.weight||1})));var _=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){y[t][e]=y[e][t]=n,_[t][e]=_[e][t]=.1}(x,x+1,h._groupCompactness),v[x]=0,b[x++]=0,v[x]=0,b[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,b],_),this._descent.locks.clear(),x=0;x0&&(this._descent.project=new s.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=b[e]})),this._descent.project=new s.Projection(this._nodes,this._groups,this._rootGroup,E,!0).projectFunctions(),this._nodes.forEach((function(t,e){v[e]=t.x,b[e]=t.y}))),this._descent.G=y,this._descent.run(r),c){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=d,this._descent.scaleSnapByMaxH=d!=p;var k=o.Descent.createSquareMatrix(p,(function(t,e){return t>=d||e>=d?y[t][e]:0}));this._descent.G=k,this._descent.run(c)}return this.updateNodePositions(),this.separateOverlappingComponents(g,m,l),u?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}})),s=this._nodes.map((function(t){return{index:t.index}}));this._groups.forEach((function(t,e){s.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(s).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]=s[t.index].x,r[t.index]=s[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 s=u.separateGraphs(this._nodes,this._links);u.applyPacking(s,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 c.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 c.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),o={x:t.source.x,y:t.source.y},u={x:t.target.x,y:t.target.y},l=i.addPoint(o,t.source.index),h=i.addPoint(u,t.target.index);i.addEdgeIfVisible(o,u,t.source.index,t.target.index),void 0!==n&&n(i);var f=new a.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=s.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(s.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}()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/7-es5.33d4007cb80c99d3d00a.js b/dist/apps/admin-gui/7-es5.33d4007cb80c99d3d00a.js new file mode 100644 index 000000000..7b6e59ecc --- /dev/null +++ b/dist/apps/admin-gui/7-es5.33d4007cb80c99d3d00a.js @@ -0,0 +1 @@ +!function(){function t(e,n,r){return(t="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(e,n,r||e)}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||l(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 r(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||l(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 i(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&&o(t,e)}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=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=t[Symbol.iterator]()},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);n-1?s[u?e[c]:c]:void 0}}},"1mr4":function(t,e,n){var r=n("SJov"),i=n("z+TE");t.exports=function(t,e){return null!=t&&i(t,e,r)}},"1qSF":function(t,e,n){t.exports={Graph:n("buMw"),version:n("5AdH")}},"1rRp":function(t,e,n){"use strict";var r=Math.PI,i=2*r,o=i-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new a}a.prototype=s.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,i,o){var a=this._x1,s=this._y1,u=(n=+n)-(t=+t),c=(i=+i)-(e=+e),l=a-t,h=s-e,f=l*l+h*h;if((o=+o)<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>1e-6)if(Math.abs(h*u-c*l)>1e-6&&o){var d=n-a,p=i-s,g=u*u+c*c,v=d*d+p*p,m=Math.sqrt(g),y=Math.sqrt(f),b=o*Math.tan((r-Math.acos((g+f-v)/(2*m*y)))/2),w=b/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+_*u)+","+(this._y1=e+_*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,a,s,u){t=+t,e=+e,u=!!u;var c=(n=+n)*Math.cos(a),l=n*Math.sin(a),h=t+c,f=e+l,d=1^u,p=u?a-s:s-a;if(n<0)throw new Error("negative radius: "+n);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),n&&(p<0&&(p=p%i+i),p>o?this._+="A"+n+","+n+",0,1,"+d+","+(t-c)+","+(e-l)+"A"+n+","+n+",0,1,"+d+","+(this._x1=h)+","+(this._y1=f):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+d+","+(this._x1=t+n*Math.cos(s))+","+(this._y1=e+n*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.a=s},"1xil":function(t,e,n){var r=n("YpBQ");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},"1yUy":function(t,e,n){"use strict";var r=n("gjtd"),i=n("fd5j");t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?i(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.forEach(t.nodes(),(function o(a){r.has(i,a)||(i[a]=!0,n[a]=!0,r.forEach(t.outEdges(a),(function(t){r.has(n,t.w)?e.push(t):o(t.w)})),delete n[a])})),e}(t);r.forEach(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}}},"21zJ":function(t,e,n){var r=n("5Ck4");t.exports=function(t,e){return r(t,e,"post")}},"2Fbm":function(t,e,n){var r=n("5pfJ");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},"2M3I":function(t,e,n){var r=n("9au6"),i=n("R5u7"),o=n("fWyh");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?e=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,b=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),_=Math.abs(y-s);l.routepath+="A "+w+" "+_+" 0 0 "+b+" "+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}()},"4+Vk":function(t,e,n){var r=n("vxC8")(n("IBsm"),"WeakMap");t.exports=r},"4/ik":function(t,e,n){var r=n("+ooz"),i=n("qeCs"),o=n("hyzI");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}},"4CxS":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("aj3f"),i=n("Lm04"),o=n("gbTj"),a=n("bJjD");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=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.a.hasOwnProperty(e)?{space:r.a[e],local:t}:t}},"4ScB":function(t,e,n){var r=n("LtXa"),i=n("zH+d");t.exports=function(t){return r(t,i(t))}},"4e6e":function(t,e,n){t.exports={graphlib:n("vC4J"),layout:n("Pivv"),debug:n("zmx7"),util:{time:n("xxjf").time,notime:n("xxjf").notime},version:n("VQMV")}},"4jPf":function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"4p/L":function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},"4uJK":function(t,e,n){var r=n("CbIe"),i=n("OtNC"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},"58Ui":function(t,e,n){"use strict";var r=n("gjtd"),i=n("vC4J").Graph,o=n("K8/D").slack;function a(t,e){return r.forEach(t.nodes(),(function n(i){r.forEach(e.nodeEdges(i),(function(r){var a=r.v,s=i===a?r.w:a;t.hasNode(s)||o(e,r)||(t.setNode(s,{}),t.setEdge(i,s,{}),n(s))}))})),t.nodeCount()}function s(t,e){return r.minBy(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return o(e,n)}))}function u(t,e,n){r.forEach(t.nodes(),(function(t){e.node(t).rank+=n}))}t.exports=function(t){var e,n,r=new i({directed:!1}),c=t.nodes()[0],l=t.nodeCount();for(r.setNode(c,{});a(r,t)=u?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},"5nKN":function(t,e,n){var r=n("2q8g"),i=n("9vbJ"),o=n("tQYX"),a=n("c18h"),s=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?u:s).test(a(t))}},"5pfJ":function(t,e,n){var r=n("vxC8")(Object,"create");t.exports=r},"5q8j":function(t,e){t.exports=function(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}},"6I2w":function(t,e,n){var r=n("kkM+"),i=n("tLQN");t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},"6QIk":function(t,e,n){var r=n("pPzx");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},"6R5o":function(t,e,n){var r=n("1aYn")(n("FllU"));t.exports=r},"6Rtw":function(t,e,n){var r=n("EAGB");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},"6UKJ":function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"6YE2":function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}},"7/jS":function(t,e,n){var r=n("Dhk8"),i=n("t0L4"),o=n("tLQN"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},"7/we":function(t,e,n){var r=n("ZjRn"),i=n("hMsr"),o=n("0Ss3");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},"70Le":function(t,e,n){var r=n("W0vE"),i=n("X4R2"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i},"7No3":function(t,e,n){var r=n("EAGB"),i=n("lN3w"),o=n("Bstx"),a=n("bVbG"),s=n("6Rtw");t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},"7Pat":function(t,e,n){var r=n("+7q0"),i=n("kG2z")(r);t.exports=i},"7SLq":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return l}));var r={},i=null;function o(t,e,n){return t=a(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function a(t,e,n){return function(r){var o=i;i=r;try{t.call(this,this.__data__,e,n)}finally{i=o}}}function s(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=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?r[0]+r.slice(2):r,+t.slice(n+1)]}},"7seP":function(t,e,n){var r=n("4uJK"),i=n("kkM+"),o=n("9y2L"),a=n("nDih"),s=n("GVul");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}},"8MQl":function(t,e,n){"use strict";n.r(e),n.d(e,"transition",(function(){return Q})),n.d(e,"active",(function(){return it})),n.d(e,"interrupt",(function(){return d}));var r=n("PQEP"),i=n("z0Nn"),o=n("o815"),a=n("DMvL"),s=Object(i.a)("start","end","cancel","interrupt"),u=[],c=function(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 Object(a.a)(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}var d=function(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}},p=n("xgqZ"),g=n("4SAC");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 U=n("D2D4"),G=n("q6e+"),V=r.b.prototype.constructor,H=n("PaYb");function Y(t){return function(){this.style.removeProperty(t)}}function W(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function J(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&W(t,o,n)),r}return o._value=e,o}function q(t){return function(e){this.textContent=t.call(this,e)}}function Z(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&q(r)),e}return r._value=t,r}var X=0;function K(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Q(t){return Object(r.b)().transition(t)}function $(){return++X}var tt=r.b.prototype;K.prototype=Q.prototype={constructor:K,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Object(U.a)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===e)return new K([[t]],rt,e,+r);return null}},"8Zrg":function(t,e){t.exports=function(){this.__data__=[],this.size=0}},"98dg":function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}},"9SCj":function(t,e,n){var r=n("LmOH"),i=n("Q4oW"),o=n("D49j"),a=n("wxYD");t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},"9SKQ":function(t,e,n){var r=n("JNqh");t.exports=function(t){return r(this,t).has(t)}},"9TP6":function(t,e,n){var r=n("OBn4"),i=n("nnm9"),o=n("XlL0"),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},"9au6":function(t,e){var n=Math.ceil,r=Math.max;t.exports=function(t,e,i,o){for(var a=-1,s=r(n((e-t)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=t,t+=i;return u}},"9vbJ":function(t,e,n){var r,i=n("3KBa"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},"9y2L":function(t,e,n){var r=n("2q8g"),i=n("t0L4");t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},AjPR:function(t,e,n){var r=n("LtXa"),i=n("70Le");t.exports=function(t,e){return r(t,i(t),e)}},AonO:function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,"b",(function(){return r})),e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},BSbB:function(t,e,n){"use strict";var r=n("4SAC"),i=n("YKAa");function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.b&&e.documentElement.namespaceURI===i.b?e.createElement(t):e.createElementNS(n,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}e.a=function(t){var e=Object(r.a)(t);return(e.local?a:o)(e)}},BSqe:function(t,e){t.exports=function(t){return this.__data__.get(t)}},Bitd:function(t,e,n){"use strict";var r=n("CQYr"),i=n("pmbw");e.a=function(t,e,n){arguments.length<3&&(n=e,e=Object(r.a)().changedTouches);for(var o,a=0,s=e?e.length:0;a=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 n=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)/r;u=p(t,g)}if(0!=l){var v=o+(a-o)/r;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;a-1}},D2D4:function(t,e,n){"use strict";function r(){}e.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},D49j:function(t,e,n){var r=n("zWgn");t.exports=function(t){return"function"==typeof t?t:r}},D5rW:function(t,e,n){var r=n("gjtd"),i=n("vC4J").Graph;t.exports=function(t,e,n){var o=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.forEach(t.nodes(),(function(i){var s=t.node(i),u=t.parent(i);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(a.setNode(i),a.setParent(i,u||o),r.forEach(t[n](i),(function(e){var n=e.v===i?e.w:e.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:t.edge(e).weight+s})})),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))})),a}},DMvL:function(t,e,n){"use strict";var r=n("o815");e.a=function(t,e,n){var i=new r.a;return i.restart((function(n){i.stop(),t(n+e)}),e=null==e?0:+e,n),i}},Dhk8:function(t,e,n){var r=n("Syyo"),i=n("KCLV"),o=n("kHoZ"),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},DjCF:function(t,e){t.exports=function(){return!1}},DuXo:function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++ou.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},ENE1:function(t,e,n){var r=n("IBsm");t.exports=function(){return r.Date.now()}},FaiA:function(t,e){t.exports=function(t,e){return t>e}},FllU:function(t,e,n){var r=n("DuXo"),i=n("S3pA"),o=n("m2YG"),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(t,i(e,3),u)}},GEHm:function(t,e,n){"use strict";var r=n("157b"),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var n,a,s,u=i.lastIndex=o.lastIndex=0,c=-1,l=[],h=[];for(t+="",e+="";(n=i.exec(t))&&(a=o.exec(e));)(s=a.index)>u&&(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:Object(r.a)(n,a)})),u=o.lastIndex;return u=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})))}},HsnV:function(t,e,n){var r=n("+ooz"),i=n("RNlM"),o=n("E4ao"),a=n("BSqe"),s=n("L6um"),u=n("4/ik");function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,t.exports=c},I6Yn:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var r=n("PvqL"),i=n("zL3f"),o=n("v+BR"),a=n("Lgd7");function s(t){return function(e){var n,i,o=e.length,a=new Array(o),s=new Array(o),u=new Array(o);for(n=0;nu||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).maxRank=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,n=[];return function t(e,n,r){e.forAll((function(e){if(e.isLeaf())n.leaves||(n.leaves=[]),n.leaves.push(e.id);else{var i=n;if(e.gid=r.length,!e.isIsland()||e.isPredefined()){if(i={id:e.gid},e.isPredefined())for(var o in e.definition)i[o]=e.definition[o];n.groups||(n.groups=[]),n.groups.push(e.gid),r.push(i)}t(e.children,i,r)}}))}(this.roots[0],{},n),this.allEdges().forEach((function(i){var o=e.modules[i.source],a=e.modules[i.target];t.push(new r(void 0===o.gid?i.source:n[o.gid],void 0===a.gid?i.target:n[a.gid],i.type))})),n},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}();e.Configuration=i;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(n,i){n.forAll((function(n){t.push(new r(e.id,n.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,r){for(var o=new i(t.length,e,n,r);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}}},JYmt:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},JcJ6:function(t,e,n){var r=n("Syyo"),i=n("H87J"),o=n("wxYD"),a=n("a88S"),s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return u?u.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},Jl0P:function(t,e,n){var r;try{r={clone:n("zr3P"),constant:n("eN33"),each:n("h4um"),filter:n("+DnP"),has:n("1mr4"),isArray:n("wxYD"),isEmpty:n("MwrP"),isFunction:n("2q8g"),isUndefined:n("CZlo"),keys:n("BlJA"),map:n("mbB6"),reduce:n("veKZ"),size:n("7seP"),transform:n("cZX/"),union:n("aGtI"),values:n("0iyY")}}catch(i){}r||(r=window._),t.exports=r},"K8/D":function(t,e,n){"use strict";var r=n("gjtd");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}}},"KAo/":function(t,e,n){var r=n("NYSw"),i=n("2srY"),o=n("NW/2"),a=n("i7nn"),s=n("+tCn"),u=n("0Ss3"),c=n("Ypsa");t.exports=function(t,e){return a(t)&&s(e)?u(c(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},KCLV:function(t,e,n){var r=n("Syyo"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(u){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},KLrH:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return s}));var r,i,o,a=n("c4If");function s(t){return r=Object(a.a)(t),i=r.format,o=r.formatPrefix,r}s({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},Kkar:function(t,e,n){var r=n("Dhk8"),i=n("/wCD"),o=n("tLQN"),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}},L6um:function(t,e){t.exports=function(t){return this.__data__.has(t)}},LL3N:function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},"LPC+":function(t,e,n){var r=n("JElN"),i=n("FaiA"),o=n("zWgn");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},Lgd7:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n("PXG9");function i(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?i(t,n>180||n<-180?n-360*Math.round(n/360):n):Object(r.a)(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):Object(r.a)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?i(t,n):Object(r.a)(isNaN(t)?e:t)}},Lm04:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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=r,e.Descent=function(){function t(t,e,n){void 0===n&&(n=null),this.D=e,this.G=n,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new i,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 r,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),b=p*p*p,w=2*-v/(m*b);for(isFinite(y)||console.log(y),r=0;r0?S-(T+1)*x:S-(T-1)*x)&&f<=_&&(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=i},LmOH:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n0}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 b(t,e){for(var n=[],r=1,i=e.length;r=0&&m>=0&&y<0&&b>=0&&w>=0&&_<0?i.ll=new g(o,a):p<=0&&m<=0&&y>0&&b<=0&&w<=0&&_>0?i.rr=new g(o,a):p<=0&&m>0&&y<=0&&b>=0&&w<0&&_>=0?i.rl=new g(o,a):p>=0&&m<0&&y>=0&&b<=0&&w>0&&_<=0&&(i.lr=new g(o,a))}return i}function _(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(_(t,e))return!0;if(_(e,t))return!0;for(var n=1,r=t.length;n0)return!0}return!1}},OBn4:function(t,e,n){var r=n("vxC8")(n("IBsm"),"Set");t.exports=r},OSyp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("zyX+"),i=n("3vZi");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}}},OUo6:function(t,e,n){var r=n("c72w"),i=n("WvmI");t.exports=function(t,e){return i(t||[],e||[],r)}},OfKG:function(t,e,n){var r=n("c7Qd");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},OtNC:function(t,e,n){var r=n("TAtK")(Object.keys,Object);t.exports=r},PKEM:function(t,e,n){var r=n("JElN"),i=n("S3pA"),o=n("n+p3");t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},PQEP:function(t,e,n){"use strict";n.d(e,"c",(function(){return q})),n.d(e,"a",(function(){return Z}));var r=n("D2D4"),i=n("q6e+"),o=n("XlMc"),a=function(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("4SAC");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("PaYb");function b(t){return function(){delete this[t]}}function w(t,e){return function(){this[t]=e}}function _(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 k(t)}function k(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function S(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 z=n("BSbB");function F(){return null}function B(){var t=this.parentNode;t&&t.removeChild(this)}function U(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function G(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var V=n("7SLq"),H=n("MysN");function Y(t,e,n){var r=Object(H.a)(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 W(t,e){return function(){return Y(this,t,e)}}function J(t,e){return function(){return Y(this,t,e.apply(this,arguments))}}var q=[null];function Z(t,e){this._groups=t,this._parents=e}function X(){return new Z([[document.documentElement]],q)}Z.prototype=X.prototype={constructor:Z,select:function(t){"function"!=typeof t&&(t=Object(r.a)(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?b:"function"==typeof e?_: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.008856451679035631?Math.pow(t,1/3):t/T+M}function N(t){return t>A?t*t*t:T*(t-M)}function j(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 P(t){if(t instanceof z)return new z(t.h,t.c,t.l,t.opacity);if(t instanceof O||(t=D(t)),0===t.a&&0===t.b)return new z(NaN,01?this.each((null==e?i:"function"==typeof e?a:o)(t,e,null==n?"":n)):s(this.node(),t)}},Pivv:function(t,e,n){"use strict";var r=n("gjtd"),i=n("1yUy"),o=n("RmLA"),a=n("4DVH"),s=n("xxjf").normalizeRanks,u=n("JUZX"),c=n("xxjf").removeEmptyRanks,l=n("wHMW"),h=n("0gKz"),f=n("+jFT"),d=n("erCh"),p=n("Nebv"),g=n("xxjf"),v=n("vC4J").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=M(t.graph());return e.setGraph(r.merge({},y,S(n,m),r.pick(n,b))),r.forEach(t.nodes(),(function(n){var i=M(t.node(n));e.setNode(n,r.defaults(S(i,w),_)),e.setParent(n,t.parent(n))})),r.forEach(t.edges(),(function(n){var i=M(t.edge(n));e.setEdge(n,r.merge({},E,S(i,x),r.pick(i,k)))})),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"},b=["acyclicer","ranker","rankdir","align"],w=["width","height"],_={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},k=["labelpos"];function S(t,e){return r.mapValues(r.pick(t,e),Number)}function M(t){var e={};return r.forEach(t,(function(t,n){e[n.toLowerCase()]=t})),e}},PvqL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return w})),n.d(e,"h",(function(){return E})),n.d(e,"g",(function(){return k})),n.d(e,"b",(function(){return S})),n.d(e,"f",(function(){return O}));var r=n("AonO");function i(){}var o=.7,a=1/o,s="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,h=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),f=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,u]+"\\)$"),p=new RegExp("^rgba\\("+[c,c,c,u]+"\\)$"),g=new RegExp("^hsl\\("+[u,c,c]+"\\)$"),v=new RegExp("^hsla\\("+[u,c,c,u]+"\\)$"),m={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function w(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?_(e):3===n?new S(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 S(e[1],e[2],e[3],1):(e=f.exec(t))?new S(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=v.exec(t))?D(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?_(m[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function _(t){return new S(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new S(t,e,n,r)}function E(t){return t instanceof i||(t=w(t)),t?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function k(t,e,n,r){return 1===arguments.length?E(t):new S(t,e,n,null==r?1:r)}function S(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function M(){return"#"+T(this.r)+T(this.g)+T(this.b)}function A(){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 T(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 C(t,e,n,r)}function I(t){if(t instanceof C)return new C(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new C;if(t instanceof C)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 C(s,u,c,t.opacity)}function O(t,e,n,r){return 1===arguments.length?I(t):new C(t,e,n,null==r?1:r)}function C(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function N(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Object(r.a)(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 I(this).formatHsl()},formatRgb:b,toString:b}),Object(r.a)(S,k,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new S(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:M,formatHex:M,formatRgb:A,toString:A})),Object(r.a)(C,O,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new C(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new C(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 S(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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+")")}}))},"Pz+s":function(t,e,n){var r=n("vxC8"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},Q4oW:function(t,e,n){var r=n("zKkv"),i=n("bz5b")(r);t.exports=i},Q7Qd: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=D(e,t)),"path"!=t.tag&&(t.alternativeNew=D(t,e))))}function b(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),b(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 _(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&&A(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 N(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 j(t,e,n,r,i,o,a){var s=d(z.call(this,o));t.data([s]),b.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 b=0;b 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(V.call(this,r,i));return t.data([a]),b.call(t.node(),a),B(t,e,n,i),this}function B(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",_(n)).attr("cy",_(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[_(+e+ +t.split(",")[0]),_(+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[_(+e+ +t.split(",")[0]),_(+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",_(+u.attr("x")+n-c.cx)).attr("y",_(+u.attr("y")+r-c.cy)),this}function U(){if(!this._drawnNode)return this;var t=this._drawnNode.g;return t.empty()||t.remove(),this._drawnNode=null,this}function G(){return this._drawnNode?this._drawnNode.g:e.select(null)}function V(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(z.call(this,o));s=u.append("g").data([c]),b.call(s.node(),c),j.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()||j.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:P},"removeDrawnEdge",P),l(J,"drawnEdgeSelection",L),l(J,"drawnEdgeSelection",L),l(J,"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(V.call(this,r,i));a=s.append("g").data([u]),b.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(J,"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(J,"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()||B(n,t,e,r),this})),l(J,"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(J,"removeDrawnNode",U),l(J,"removeDrawnNode",U),l(J,"drawnNodeSelection",G),l(J,"drawnNodeSelection",G),J),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 q(this,t),e},e.selection.prototype.selectWithoutDataPropagation=function(t){return e.select(this.size()>0?this.node().querySelector(t):null)},t.graphviz=Z,Object.defineProperty(t,"__esModule",{value:!0})}(e,n("bqB3"),n("ge/T"),n("8MQl"),n("wAkE"),n("PRIO"),n("uoq0"),n("Uzsj"),n("3QYS"),n("UKUc"))},QF3D:function(t,e,n){var r=n("vxC8")(n("IBsm"),"DataView");t.exports=r},QMz8:function(t,e,n){var r=n("5pfJ"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},QT01:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n=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?_(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 k(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 S(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=b=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var M=r.TOTAL_MEMORY||16777216;function A(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:M/65536}))&&(g=c.buffer),M=g.byteLength,S(g),y[2080]=5251360;var T=[],D=[],I=[],O=[],C=!1,N=Math.abs,j=Math.ceil,R=Math.floor,P=Math.min,L=0,z=null;function F(t){L++,r.monitorRunDependencies&&r.monitorRunDependencies(L)}function B(t){if(L--,r.monitorRunDependencies&&r.monitorRunDependencies(L),0==L&&z){var e=z;z=null,e()}}function U(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 G(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 V,H,Y,W="expatlib.wasm";function J(){try{if(u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}catch(h){U(h)}}G(W)||(V=W,W=r.locateFile?r.locateFile(V,s):s+V);var q={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 Z={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=Z.normalizeArray(t.split("/").filter((function(t){return!!t})),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=Z.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 Z.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return Z.normalize(t.join("/"))},join2:function(t,e){return Z.normalize(t+"/"+e)}};function X(t){return r.___errno_location&&(y[r.___errno_location()>>2]=t),t}var K={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=Z.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=K.resolve(t).substr(1),e=K.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(_(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(h(_(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(h(_(t.output,0)),t.output=[])}}},$={ops_table:null,mount:function(t){return $.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(tt.isBlkdev(n)||tt.isFIFO(n))throw new tt.ErrnoError(63);$.ops_table||($.ops_table={dir:{node:{getattr:$.node_ops.getattr,setattr:$.node_ops.setattr,lookup:$.node_ops.lookup,mknod:$.node_ops.mknod,rename:$.node_ops.rename,unlink:$.node_ops.unlink,rmdir:$.node_ops.rmdir,readdir:$.node_ops.readdir,symlink:$.node_ops.symlink},stream:{llseek:$.stream_ops.llseek}},file:{node:{getattr:$.node_ops.getattr,setattr:$.node_ops.setattr},stream:{llseek:$.stream_ops.llseek,read:$.stream_ops.read,write:$.stream_ops.write,allocate:$.stream_ops.allocate,mmap:$.stream_ops.mmap,msync:$.stream_ops.msync}},link:{node:{getattr:$.node_ops.getattr,setattr:$.node_ops.setattr,readlink:$.node_ops.readlink},stream:{}},chrdev:{node:{getattr:$.node_ops.getattr,setattr:$.node_ops.setattr},stream:tt.chrdev_stream_ops}});var i=tt.createNode(t,e,n,r);return tt.isDir(i.mode)?(i.node_ops=$.ops_table.dir.node,i.stream_ops=$.ops_table.dir.stream,i.contents={}):tt.isFile(i.mode)?(i.node_ops=$.ops_table.file.node,i.stream_ops=$.ops_table.file.stream,i.usedBytes=0,i.contents=null):tt.isLink(i.mode)?(i.node_ops=$.ops_table.link.node,i.stream_ops=$.ops_table.link.stream):tt.isChrdev(i.mode)&&(i.node_ops=$.ops_table.chrdev.node,i.stream_ops=$.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=Z.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=Z.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,Y=[r.size>>>0,(H=r.size,+N(H)>=1?H>0?(0|P(+R(H/4294967296),4294967295))>>>0:~~+j((H-+(~~H>>>0))/4294967296)>>>0:0)],y[n+40>>2]=Y[0],y[n+44>>2]=Y[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,Y=[r.ino>>>0,(H=r.ino,+N(H)>=1?H>0?(0|P(+R(H/4294967296),4294967295))>>>0:~~+j((H-+(~~H>>>0))/4294967296)>>>0:0)],y[n+80>>2]=Y[0],y[n+84>>2]=Y[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=Z.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,k(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),S(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(b[(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:k(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||U(n),-n.errno}},e:function(){U()},a:function(t,e,n){var r=ot(e,n);return q[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||U(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),Y=[o.position>>>0,(H=o.position,+N(H)>=1?H>0?(0|P(+R(H/4294967296),4294967295))>>>0:~~+j((H-+(~~H>>>0))/4294967296)>>>0:0)],y[i>>2]=Y[0],y[i+4>>2]=Y[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==tt&&s instanceof tt.ErrnoError||U(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||U(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,B()}function n(t){e(t.instance)}function i(e){return(u||"function"!=typeof fetch?new Promise((function(t,e){t(J())})):fetch(W,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+W+"'";return t.arrayBuffer()})).catch((function(){return J()}))).then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){h("failed to asynchronously prepare wasm: "+t),U(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||G(W)||"function"!=typeof fetch)return i(n);fetch(W,{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)},bt=r._emscripten_bind_CExpat_endElement_0=function(){return(bt=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)},_t=r._emscripten_bind_CExpat___destroy___0=function(){return(_t=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)},kt=r._emscripten_bind_CExpatJS_endElement_0=function(){return(kt=r._emscripten_bind_CExpatJS_endElement_0=r.asm.z).apply(null,arguments)},St=r._emscripten_bind_CExpatJS_characterData_0=function(){return(St=r._emscripten_bind_CExpatJS_characterData_0=r.asm.A).apply(null,arguments)},Mt=r._emscripten_bind_CExpatJS___destroy___0=function(){return(Mt=r._emscripten_bind_CExpatJS___destroy___0=r.asm.B).apply(null,arguments)},At=r._emscripten_bind_VoidPtr___destroy___0=function(){return(At=r._emscripten_bind_VoidPtr___destroy___0=r.asm.C).apply(null,arguments)},Tt=r._malloc=function(){return(Tt=r._malloc=r.asm.D).apply(null,arguments)};function Dt(t){function e(){ct||(ct=!0,d||(C=!0,r.noFSInit||tt.init.initialized||tt.init(),Q.init(),A(D),tt.ignorePermissions=!1,A(I),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),O.unshift(t);var t;A(O)}()))}L>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),T.unshift(t);var t;A(T)}(),L>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},z=function t(){ct||Dt(),ct||(z=t)},r.run=Dt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function It(){}function Ot(t){return(t||It).__cache__}function Ct(t,e){var n=Ot(e),r=n[t];return r||((r=Object.create((e||It).prototype)).ptr=t,n[t]=r)}Dt(),(It.prototype=Object.create(It.prototype)).constructor=It,It.prototype.__class__=It,It.__cache__={},r.WrapperObject=It,r.getCache=Ot,r.wrapPointer=Ct,r.castObject=function(t,e){return Ct(t.ptr,e)},r.NULL=Ct(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Ot(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 Nt={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Nt.needed){for(var t=0;t=Nt.size?(p(i>0),Nt.needed+=i,n=r._malloc(i),Nt.temps.push(n)):(n=Nt.buffer+Nt.pos,Nt.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&&S)return S.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 A(t,e){return t?M(_,t,e):""}function T(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 I(t){b=t,r.HEAP8=w=new Int8Array(t),r.HEAP16=x=new Int16Array(t),r.HEAP32=E=new Int32Array(t),r.HEAPU8=_=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=k=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var O=r.TOTAL_MEMORY||16777216;function C(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:O/65536}))&&(b=d.buffer),O=b.byteLength,I(b),E[54772]=5462128;var N=[],j=[],R=[],P=[],L=!1,z=Math.abs,F=Math.ceil,B=Math.floor,U=Math.min,G=0,V=null;function H(t){G++,r.monitorRunDependencies&&r.monitorRunDependencies(G)}function Y(t){if(G--,r.monitorRunDependencies&&r.monitorRunDependencies(G),0==G&&V){var e=V;V=null,e()}}function W(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 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 q,Z,X,K="graphvizlib.wasm";function Q(){try{if(h)return new Uint8Array(h);throw"both async and sync fetching of the wasm failed"}catch(l){W(l)}}J(K)||(q=K,K=r.locateFile?r.locateFile(q,u):u+q);var $={1088:function(t,e){var n=A(t),r=A(e);at.createPath("/",nt.dirname(n)),at.writeFile(nt.join("/",n),r)}};function tt(){W()}function et(t){return r.___errno_location&&(E[r.___errno_location()>>2]=t),t}j.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(M(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(l(M(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(l(M(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||[]):bt(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,X=[r.size>>>0,(Z=r.size,+z(Z)>=1?Z>0?(0|U(+B(Z/4294967296),4294967295))>>>0:~~+F((Z-+(~~Z>>>0))/4294967296)>>>0:0)],E[n+40>>2]=X[0],E[n+44>>2]=X[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,X=[r.ino>>>0,(Z=r.ino,+z(Z)>=1?Z>0?(0|U(+B(Z/4294967296),4294967295))>>>0:~~+F((Z-+(~~Z>>>0))/4294967296)>>>0:0)],E[n+80>>2]=X[0],E[n+84>>2]=X[1],0},doMsync:function(t,e,n,r,i){var o=_.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 T(r,_,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 A(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-b.byteLength+65535>>16),I(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=_[t++];)100===n||102===n?(r.push(k[(e=e+7&-8)>>3]),e+=8):(r.push(E[(e=e+3&-4)>>2]),e+=4);return r}function bt(t,e,n){var r=n>0?n:D(t)+1,i=new Array(r),o=T(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 Nt?Nt.uncaught_exceptions++:Nt.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||W(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=jt(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,_,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||W(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||W(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||W(i),-i.errno}},L:function(t,e){st.varargs=e;try{return 42}catch(n){return void 0!==at&&n instanceof at.ErrnoError||W(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||W(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||W(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||W(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:W("bad ioctl syscall "+r)}}catch(o){return void 0!==at&&o instanceof at.ErrnoError||W(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&&It(n.malloc)}return 0}(st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||W(n),-n.errno}},m:function(){},w:function(){W()},C:function(t,e,n){var r=yt(e,n);return $[t].apply(null,r)},d:function(t,e){!function(t,e){throw Ct(t,e||1),"longjmp"}(t,e)},E:function(t,e,n){_.set(_.subarray(e,e+n),t)},F:function(t){var e=_.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 Kt(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||W(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||W(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||W(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),X=[o.position>>>0,(Z=o.position,+z(Z)>=1?Z>0?(0|U(+B(Z/4294967296),4294967295))>>>0:~~+F((Z-+(~~Z>>>0))/4294967296)>>>0:0)],E[i>>2]=X[0],E[i+4>>2]=X[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==at&&s instanceof at.ErrnoError||W(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||W(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=Zt();try{return Jt(t)}catch(n){if(Xt(e),n!==n+0&&"longjmp"!==n)throw n;Ct(1,0)}},V:function(t,e){var n=Zt();try{return qt(t,e)}catch(r){if(Xt(n),r!==r+0&&"longjmp"!==r)throw r;Ct(1,0)}},v:function(t){var e=Zt();try{return Ut(t)}catch(n){if(Xt(e),n!==n+0&&"longjmp"!==n)throw n;Ct(1,0)}},f:function(t,e){var n=Zt();try{return Gt(t,e)}catch(r){if(Xt(n),r!==r+0&&"longjmp"!==r)throw r;Ct(1,0)}},e:function t(e,n,r){var i=Zt();try{return Vt(e,n,r)}catch(t){if(Xt(i),t!==t+0&&"longjmp"!==t)throw t;Ct(1,0)}},g:function(t,e,n,r){var i=Zt();try{return Ht(t,e,n,r)}catch(o){if(Xt(i),o!==o+0&&"longjmp"!==o)throw o;Ct(1,0)}},n:function(t,e,n,r,i){var o=Zt();try{return Yt(t,e,n,r,i)}catch(a){if(Xt(o),a!==a+0&&"longjmp"!==a)throw a;Ct(1,0)}},W:function(t,e,n,r,i,o,a){var s=Zt();try{return Wt(t,e,n,r,i,o,a)}catch(u){if(Xt(s),u!==u+0&&"longjmp"!==u)throw u;Ct(1,0)}},s:function(t){var e=Zt();try{Rt(t)}catch(n){if(Xt(e),n!==n+0&&"longjmp"!==n)throw n;Ct(1,0)}},h:function(t,e){var n=Zt();try{Pt(t,e)}catch(r){if(Xt(n),r!==r+0&&"longjmp"!==r)throw r;Ct(1,0)}},o:function(t,e,n){var r=Zt();try{Lt(t,e,n)}catch(i){if(Xt(r),i!==i+0&&"longjmp"!==i)throw i;Ct(1,0)}},u:function(t,e,n,r){var i=Zt();try{zt(t,e,n,r)}catch(o){if(Xt(i),o!==o+0&&"longjmp"!==o)throw o;Ct(1,0)}},t:function(t,e,n,r,i){var o=Zt();try{Ft(t,e,n,r,i)}catch(a){if(Xt(o),a!==a+0&&"longjmp"!==a)throw a;Ct(1,0)}},r:function(t,e,n,r,i,o){var a=Zt();try{Bt(t,e,n,r,i,o)}catch(s){if(Xt(a),s!==s+0&&"longjmp"!==s)throw s;Ct(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|Ot(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?A(i):""},a=A(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=bt(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}},_t=function(){var t={a:wt};function e(t,e){r.asm=t.exports,Y()}function n(t){e(t.instance)}function i(e){return(h||"function"!=typeof fetch?new Promise((function(t,e){t(Q())})):fetch(K,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+K+"'";return t.arrayBuffer()})).catch((function(){return Q()}))).then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){l("failed to asynchronously prepare wasm: "+t),W(t)}))}if(H(),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||J(K)||"function"!=typeof fetch)return i(n);fetch(K,{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=_t;var xt,Et=r.___wasm_call_ctors=function(){return(Et=r.___wasm_call_ctors=r.asm.Z).apply(null,arguments)},kt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(kt=r._emscripten_bind_VoidPtr___destroy___0=r.asm._).apply(null,arguments)},St=r._emscripten_bind_Main_layout_3=function(){return(St=r._emscripten_bind_Main_layout_3=r.asm.$).apply(null,arguments)},Mt=r._emscripten_bind_Main_lastError_0=function(){return(Mt=r._emscripten_bind_Main_lastError_0=r.asm.aa).apply(null,arguments)},At=r._emscripten_bind_Main_createFile_2=function(){return(At=r._emscripten_bind_Main_createFile_2=r.asm.ba).apply(null,arguments)},Tt=r._emscripten_bind_Main___destroy___0=function(){return(Tt=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)},It=r._free=function(){return(It=r._free=r.asm.ea).apply(null,arguments)},Ot=r._realloc=function(){return(Ot=r._realloc=r.asm.fa).apply(null,arguments)},Ct=(r.___errno_location=function(){return(r.___errno_location=r.asm.ga).apply(null,arguments)},r._setThrew=function(){return(Ct=r._setThrew=r.asm.ha).apply(null,arguments)}),Nt=r.__ZSt18uncaught_exceptionv=function(){return(Nt=r.__ZSt18uncaught_exceptionv=r.asm.ia).apply(null,arguments)},jt=r._memalign=function(){return(jt=r._memalign=r.asm.ja).apply(null,arguments)},Rt=r.dynCall_v=function(){return(Rt=r.dynCall_v=r.asm.ka).apply(null,arguments)},Pt=r.dynCall_vi=function(){return(Pt=r.dynCall_vi=r.asm.la).apply(null,arguments)},Lt=r.dynCall_vii=function(){return(Lt=r.dynCall_vii=r.asm.ma).apply(null,arguments)},zt=r.dynCall_viii=function(){return(zt=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)},Bt=r.dynCall_viiiii=function(){return(Bt=r.dynCall_viiiii=r.asm.pa).apply(null,arguments)},Ut=r.dynCall_i=function(){return(Ut=r.dynCall_i=r.asm.qa).apply(null,arguments)},Gt=r.dynCall_ii=function(){return(Gt=r.dynCall_ii=r.asm.ra).apply(null,arguments)},Vt=r.dynCall_iii=function(){return(Vt=r.dynCall_iii=r.asm.sa).apply(null,arguments)},Ht=r.dynCall_iiii=function(){return(Ht=r.dynCall_iiii=r.asm.ta).apply(null,arguments)},Yt=r.dynCall_iiiii=function(){return(Yt=r.dynCall_iiiii=r.asm.ua).apply(null,arguments)},Wt=r.dynCall_iiiiiii=function(){return(Wt=r.dynCall_iiiiiii=r.asm.va).apply(null,arguments)},Jt=r.dynCall_d=function(){return(Jt=r.dynCall_d=r.asm.wa).apply(null,arguments)},qt=r.dynCall_di=function(){return(qt=r.dynCall_di=r.asm.xa).apply(null,arguments)},Zt=r.stackSave=function(){return(Zt=r.stackSave=r.asm.ya).apply(null,arguments)},Xt=(r.stackAlloc=function(){return(r.stackAlloc=r.asm.za).apply(null,arguments)},r.stackRestore=function(){return(Xt=r.stackRestore=r.asm.Aa).apply(null,arguments)});function Kt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function Qt(t){function e(){xt||(xt=!0,m||(L=!0,r.noFSInit||at.init.initialized||at.init(),it.init(),C(j),at.ignorePermissions=!1,C(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(),P.unshift(t);var t;C(P)}()))}G>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),N.unshift(t);var t;C(N)}(),G>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),e()}),1)):e()))}if(r.asm=_t,r.then=function(t){if(xt)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},V=function t(){xt||Qt(),xt||(V=t)},r.run=Qt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function $t(){}function te(t){return(t||$t).__cache__}function ee(t,e){var n=te(e),r=n[t];return r||((r=Object.create((e||$t).prototype)).ptr=t,n[t]=r)}f=!0,Qt(),($t.prototype=Object.create($t.prototype)).constructor=$t,$t.prototype.__class__=$t,$t.__cache__={},r.WrapperObject=$t,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;e0&&(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)},VPai:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},VQMV:function(t,e){t.exports="0.8.5"},VhCv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.elem=t,this.subheaps=[]}return t.prototype.toString=function(t){for(var e="",n=!1,r=0;r1||1===e.length&&t.hasEdge(e[0],e[0])}))}},WHWN:function(t,e,n){var r=n("R3TX"),i=n("pPzx"),o=n("R5u7"),a=n("zH+d"),s=Object.prototype,u=s.hasOwnProperty,c=r((function(t,e){t=Object(t);var n=-1,r=e.length,c=r>2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n=^]))?([+\-( ])?([$#])?(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}},Xidw:function(t,e,n){var r=n("y/9h"),i=n("/wCD"),o=n("70Le"),a=n("X4R2");t.exports=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a},XlL0:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},XlMc:function(t,e,n){"use strict";e.a=function(t){return function(){return this.matches(t)}}},"Xq/B":function(t,e,n){"use strict";var r=n("PvqL"),i=n("I6Yn"),o=n("waXG"),a=n("6YE2"),s=n("157b"),u=n("rr+a"),c=n("GEHm"),l=n("PXG9"),h=n("pNP6");e.a=function(t,e){var n,f=typeof e;return null==e||"boolean"===f?Object(l.a)(e):("number"===f?s.a:"string"===f?(n=Object(r.e)(e))?(e=n,i.a):c.a:e instanceof r.e?i.a:e instanceof Date?a.a:Object(h.b)(e)?h.a:Array.isArray(e)?o.b:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?u.a:s.a)(t,e)}},YKAa:function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));var r="http://www.w3.org/1999/xhtml";e.a={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/"}},YZb2:function(t,e,n){"use strict";var r=n("gjtd");function i(t,e,n){for(var i=r.zipObject(n,r.map(n,(function(t,e){return e}))),o=r.flatten(r.map(e,(function(e){return r.sortBy(r.map(t.outEdges(e),(function(e){return{pos:i[e.w],weight:t.edge(e).weight}})),"pos")})),!0),a=1;a0;)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;r0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},Ypsa:function(t,e,n){var r=n("a88S");t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},Z3AG:function(t,e,n){var r=n("JElN"),i=n("n+p3"),o=n("zWgn");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},ZCKZ:function(t,e,n){t.exports={components:n("qC43"),dijkstra:n("V9bN"),dijkstraAll:n("a271"),findCycles:n("W8B9"),floydWarshall:n("hq5n"),isAcyclic:n("+WAL"),postorder:n("21zJ"),preorder:n("j+bJ"),prim:n("xGdc"),tarjan:n("Pa7R"),topsort:n("0Jj1")}},ZVKf:function(t,e,n){var r=n("UdtX"),i=n("D49j"),o=n("zH+d");t.exports=function(t,e){return null==t?t:r(t,i(e),o)}},"ZZ+W":function(t,e,n){var r=n("JBn+"),i=n("myUI"),o=n("S0iI");t.exports=function(t,e,n,a,s,u){var c=1&n,l=t.length,h=e.length;if(l!=h&&!(c&&h>l))return!1;var f=u.get(t);if(f&&u.get(e))return f==e;var d=-1,p=!0,g=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++dh&&(c.d=h,c.prev=s,n.reduceKey(c.q,c,(function(t,e){return t.q=e})))}}return o},t}()},amiU:function(t,e,n){var r=n("wC3K"),i=n("pPzx");t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},bFjY:function(t,e,n){var r=n("Q4oW"),i=n("9y2L");t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},bJjD:function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)n[r]={};for(var r in e)n[r]={};return Object.keys(n).length}function i(t,e){var n=0;for(var r in t)void 0!==e[r]&&++n;return n}function o(t,e,n,r){var i=function(t,e){var n={},r=function(t,e){void 0===n[t]&&(n[t]={}),n[t][e]={}};return t.forEach((function(t){var n=e.getSourceIndex(t),i=e.getTargetIndex(t);r(n,i),r(i,n)})),n}(t,r);t.forEach((function(t){var o=i[r.getSourceIndex(t)],a=i[r.getTargetIndex(t)];r.setLength(t,1+e*n(o,a))}))}function a(t,e,n){var r=[],i=0,o=[],a=[];function s(t){t.index=t.lowlink=i++,o.push(t),t.onStack=!0;for(var e=0,n=t.out;ea){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={};return this._isCompound&&r.each(e.nodes(),(function(t){e.setParent(t,function t(r){var o=n.parent(r);return void 0===o||e.hasNode(o)?(i[r]=o,o):o in i?i[o]: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))}},bvyN:function(t,e,n){var r=n("/30y"),i=n("tLQN"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},bz5b:function(t,e,n){var r=n("9y2L");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++ai+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},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=Object(a.a)(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")+Object(a.a)(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)}},c=function(t){return t},l=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];e.a=function(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=Object(o.b)(t)).fill,n=t.align,i=t.sign,c=t.symbol,l=t.zero,y=t.width,b=t.comma,w=t.precision,_=t.trim,x=t.type;"n"===x?(b=!0,x="g"):u[x]||(void 0===w&&(w=12),_=!0,x="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var E="$"===c?s:"#"===c&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",k="$"===c?f:/[%p]/.test(x)?g:"",S=u[x],M=/[defgprs%]/.test(x);function A(t){var o,s,u,c=E,f=k;if("c"===x)f=S(t)+f,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?m:S(Math.abs(t),w),_&&(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?")":""),M)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}}b&&!l&&(t=a(t,1/0));var A=c.length+t.length+f.length,T=A>1)+c+t+f+T.slice(A);break;default:t=T+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)),A.toString=function(){return t+""},A}return{format:y,formatPrefix:function(t,e){var n=y(((t=Object(o.b)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(e)/3))),a=Math.pow(10,-r),s=h[8+r/3];return function(t){return n(a*t)+s}}}}},c72w:function(t,e,n){var r=n("wC3K"),i=n("pPzx"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},c7Qd:function(t,e,n){var r=n("DuXo"),i=n("z9Jh"),o=n("n1QJ");t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},c9kG:function(t,e,n){var r=n("Jl0P");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].prioritye||a&&s&&c&&!u&&!l||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t=2),s=l.buildLayerMatrix(t);var v=o(t,s);v0;--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)}},gEWz:function(t,e,n){var r=n("kkM+"),i=n("tLQN");t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},gP9q:function(t,e,n){var r=n("gjtd");t.exports=function(t,e){return r.map(e,(function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}},gbTj: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("keXZ"),a=n("vpOK");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),b=e.getClose(d),w=p-m+i/2,_=p+m-i/2;t.minVar.desiredPosition=w,f(e.makeRect(y,b,w,i),t.minVar),t.maxVar.desiredPosition=_,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,b,(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}()},"ge/T":function(t,e,n){"use strict";n.r(e);var r=n("z0Nn");n.d(e,"dispatch",(function(){return r.a}))},"ge/d":function(t,e){function n(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function i(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return r(e),e},n.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&r(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},n.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,i)),n=n._prev;return"["+t.join(", ")+"]"}},gjtd:function(t,e,n){var r;try{r={cloneDeep:n("c2re"),constant:n("eN33"),defaults:n("WHWN"),each:n("h4um"),filter:n("+DnP"),find:n("6R5o"),flatten:n("1xil"),forEach:n("9SCj"),forIn:n("ZVKf"),has:n("1mr4"),isUndefined:n("CZlo"),last:n("p1C/"),map:n("mbB6"),mapValues:n("y2Ah"),max:n("LPC+"),merge:n("H8sf"),min:n("Z3AG"),minBy:n("PKEM"),now:n("ENE1"),pick:n("//nZ"),range:n("Cmkl"),reduce:n("veKZ"),sortBy:n("u6DZ"),uniqueId:n("w0mW"),values:n("0iyY"),zipObject:n("OUo6")}}catch(i){}r||(r=window._),t.exports=r},h4um:function(t,e,n){t.exports=n("9SCj")},hMsr:function(t,e,n){var r=n("+tCn"),i=n("BlJA");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},hq5n:function(t,e,n){var r=n("Jl0P");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)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 Et=function t(e){function n(t){return 1===e?new _t(t):new xt(t,e)}return n.beta=function(e){return t(+e)},n}(.85),kt=l("ZTXN");function St(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 Mt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var At=l("f7+R"),Tt=l("Sv/w"),Dt=l("KTx3"),It=l("dr5/"),Ot=(l("7SLq"),l("z0Nn")),Ct=(l("chUO"),l("Xq/B"));function Nt(t){return{type:t}}l("Bitd"),l("xpD5"),l("8MQl"),["w","e"].map(Nt),["n","s"].map(Nt),["n","w","e","s","nw","ne","sw","se"].map(Nt);var jt=function(t,e){return te?1:t>=e?0:NaN},Rt=Math.sqrt(50),Pt=Math.sqrt(10),Lt=Math.sqrt(2);function zt(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>=Rt?10:o>=Pt?5:o>=Lt?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Rt?10:o>=Pt?5:o>=Lt?2:1)}var Ft=new Date,Bt=new Date;function Ut(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 Ft.setTime(+e),Bt.setTime(+r),t(Ft),t(Bt),Math.floor(n(Ft,Bt))},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 Gt=Ut((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()}));Gt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ut((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 Vt=Gt;function Ht(t){return Ut((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}))}Ut((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()}));var Yt=Ht(0),Wt=Ht(1),Jt=(Ht(2),Ht(3),Ht(4)),qt=(Ht(5),Ht(6),Ut((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}))),Zt=(Ut((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()})),Ut((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()})),Ut((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()})),Ut((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t})));function Xt(t){return Ut((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}))}Zt.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ut((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Zt:null};var Kt=Xt(0),Qt=Xt(1),$t=(Xt(2),Xt(3),Xt(4)),te=(Xt(5),Xt(6),Ut((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}))),ee=Ut((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()}));ee.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ut((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 ne=ee,re={"-":"",_:" ",0:"0"},ie=/[\\^$*+?|[\]().{}]/g;function oe(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o=4||0===n?Jt(t):Jt.ceil(t),oe(Jt.count(Vt(t),t)+(4===Vt(t).getDay()),e,2)}function _e(t){return t.getDay()}function xe(t,e){return oe(Wt.count(Vt(t)-1,t),e,2)}function Ee(t,e){return oe(t.getFullYear()%100,e,2)}function ke(t,e){return oe(t.getFullYear()%1e4,e,4)}function Se(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+oe(e/60|0,"0",2)+oe(e%60,"0",2)}function Me(t,e){return oe(t.getUTCDate(),e,2)}function Ae(t,e){return oe(t.getUTCHours(),e,2)}function Te(t,e){return oe(t.getUTCHours()%12||12,e,2)}function De(t,e){return oe(1+te.count(ne(t),t),e,3)}function Ie(t,e){return oe(t.getUTCMilliseconds(),e,3)}function Oe(t,e){return Ie(t,e)+"000"}function Ce(t,e){return oe(t.getUTCMonth()+1,e,2)}function Ne(t,e){return oe(t.getUTCMinutes(),e,2)}function je(t,e){return oe(t.getUTCSeconds(),e,2)}function Re(t){var e=t.getUTCDay();return 0===e?7:e}function Pe(t,e){return oe(Kt.count(ne(t)-1,t),e,2)}function Le(t,e){var n=t.getUTCDay();return t=n>=4||0===n?$t(t):$t.ceil(t),oe($t.count(ne(t),t)+(4===ne(t).getUTCDay()),e,2)}function ze(t){return t.getUTCDay()}function Fe(t,e){return oe(Qt.count(ne(t)-1,t),e,2)}function Be(t,e){return oe(t.getUTCFullYear()%100,e,2)}function Ue(t,e){return oe(t.getUTCFullYear()%1e4,e,4)}function Ge(){return"+0000"}function Ve(){return"%"}function He(t){return+t}function Ye(t){return Math.floor(+t/1e3)}!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=(se(i),ue(i),se(o),ue(o),se(a),ue(a),se(s),ue(s),se(u),ue(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:ce,e:ce,f:pe,H:le,I:he,j:fe,L:de,m:ge,M:ve,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:He,s:Ye,S:me,u:ye,U:be,V:we,w:_e,W:xe,x:null,X:null,y:Ee,Y:ke,Z:Se,"%":Ve}),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:Me,e:Me,f:Oe,H:Ae,I:Te,j:De,L:Ie,m:Ce,M:Ne,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:He,s:Ye,S:je,u:Re,U:Pe,V:Le,w:ze,W:Fe,x:null,X:null,y:Be,Y:Ue,Z:Ge,"%":Ve};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>>1;We(t[i],e)<0?n=i+1:r=i}return n},right:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n>>1;We(t[i],e)>0?r=i:n=i+1}return n}}).right,Ze=l("157b"),Xe=l("98dg"),Ke=function(t){return+t},Qe=[0,1];function $e(t){return t}function tn(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function en(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i(e=a[u-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?nn:en,i=o=null,h}function h(e){return 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),Ze.a)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,Ke),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=Xe.a,l()},h.clamp=function(t){return arguments.length?(c=!!t||$e,l()):c!==$e},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()}}()($e,$e)}function an(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var sn=l("XYeE"),un=l("iDVY"),cn=l("KLrH"),ln=l("HKZs"),hn=l("q5AZ");function fn(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)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s=Rt?i*=10:o>=Pt?i*=5:o>=Lt&&(i*=2),e0?r=zt(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,n):r<0&&(r=zt(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,e(i)),t},t}function dn(){var t=on();return t.copy=function(){return rn(t,dn())},an.apply(t,arguments),fn(t)}var pn=function(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=o)&&(n=o)}}catch(h){i.e(h)}finally{i.f()}}else{var a,s=-1,u=c(t);try{for(u.s();!(a=u.n()).done;){var l=a.value;null!=(l=e(l,++s,t))&&(n=l)&&(n=l)}}catch(h){u.e(h)}finally{u.f()}}return n}function yn(t,e){var n;if(void 0===e){var r,i=c(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;null!=o&&(n>o||void 0===n&&o>=o)&&(n=o)}}catch(h){i.e(h)}finally{i.f()}}else{var a,s=-1,u=c(t);try{for(u.s();!(a=u.n()).done;){var l=a.value;null!=(l=e(l,++s,t))&&(n>l||void 0===n&&l>=l)&&(n=l)}}catch(h){u.e(h)}finally{u.f()}}return n}function bn(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function wn(t,e,n){if(r=(t=Float64Array.from(regeneratorRuntime.mark((function t(e,n){var r,i,o,a,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==n){t.next=22;break}r=c(e),t.prev=2,r.s();case 4:if((i=r.n()).done){t.next=12;break}if(o=i.value,t.t0=null!=o&&(o=+o)>=o,!t.t0){t.next=10;break}return t.next=10,o;case 10:t.next=4;break;case 12:t.next=17;break;case 14:t.prev=14,t.t1=t.catch(2),r.e(t.t1);case 17:return t.prev=17,r.f(),t.finish(17);case 20:t.next=42;break;case 22:a=-1,s=c(e),t.prev=24,s.s();case 26:if((u=s.n()).done){t.next=34;break}if(l=u.value,t.t2=null!=(l=n(l,++a,e))&&(l=+l)>=l,!t.t2){t.next=32;break}return t.next=32,l;case 32:t.next=26;break;case 34:t.next=39;break;case 36:t.prev=36,t.t3=t.catch(24),s.e(t.t3);case 39:return t.prev=39,s.f(),t.finish(39);case 42:case"end":return t.stop()}}),t,null,[[2,14,17,20],[24,36,39,42]])}))(t,n))).length){if((e=+e)<=0||r<2)return yn(t);if(e>=1)return mn(t);var r,i=(r-1)*e,o=Math.floor(i),a=mn(function t(e,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:jt;i>r;){if(i-r>600){var a=i-r+1,s=n-r+1,u=Math.log(a),c=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*c*(a-c)/a)*(s-a/2<0?-1:1);t(e,n,Math.max(r,Math.floor(n-s*c/a+l)),Math.min(i,Math.floor(n+(a-s)*c/a+l)),o)}var h=e[n],f=r,d=i;for(bn(e,r,n),o(e[i],h)>0&&bn(e,r,i);f0;)--d}0===o(e[r],h)?bn(e,r,d):bn(e,++d,i),d<=n&&(r=d+1),n<=d&&(i=d-1)}return e}(t,o).subarray(0,o+1));return a+(yn(t.subarray(o+1))-a)*(i-o)}}function _n(t){this._context=t}_n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(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;default:this._context.lineTo(t,e)}}};var xn=function(t){return new _n(t)},En=l("1rRp"),kn=function(t){return function(){return t}};function Sn(t){return t[0]}function Mn(t){return t[1]}var An=function(){};function Tn(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Dn(t,e){this._context=t,this._k=(1-e)/6}function In(t,e){this._context=t,this._k=(1-e)/6}Dn.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:Tn(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:Tn(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 Dn(t,e)}return n.tension=function(e){return t(+e)},n}(0),In.prototype={areaStart:An,areaEnd:An,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:Tn(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 In(t,e)}return n.tension=function(e){return t(+e)},n}(0),Math,Math,Math,Math,Math,Math,Math,Math,l("PvqL");var On=function(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 jn(t,e){var n,r,i,o,a,s=new zn(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=Rn);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 zn(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Ln)}function Rn(t){return t.children}function Pn(t){t.data=t.data.data}function Ln(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function zn(t){this.data=t,this.depth=this.height=0,this.parent=null}!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,b=0,w=0,_=y.length,x=e.value;b<_;){u=i-n,c=o-r;do{l=y[w++].value}while(!l&&w<_);for(h=f=l,v=l*l*(g=Math.max(c/u,u/c)/(x*t)),p=Math.max(f/v,v/h);w<_;++w){if(l+=s=y[w].value,sf&&(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),zn.prototype=jn.prototype={constructor:zn,count:function(){return this.eachAfter(Nn)},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 jn(this).eachBefore(Pn)}};var Fn=l("e4iD"),Bn=["caretElm"];function Un(t,e){}var Gn=function(t){return{model:t}};function Vn(t,e){if(1&t&&(w.Sb(0,"span"),w.Hc(1,Un,0,0,"ng-template",5),w.Rb()),2&t){var n=w.dc();w.Ab(1),w.kc("ngTemplateOutlet",n.template)("ngTemplateOutletContext",w.pc(2,Gn,n.context))}}function Hn(t,e){if(1&t&&w.Nb(0,"span",6),2&t){var n=w.dc();w.kc("innerHTML",n.title,w.yc)}}function Yn(t,e){if(1&t&&(w.cc(),w.bc(),w.Nb(0,"ngx-charts-scale-legend",4)),2&t){var n=w.dc();w.kc("horizontal",n.legendOptions&&"below"===n.legendOptions.position)("valueRange",n.legendOptions.domain)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)}}function Wn(t,e){if(1&t){var n=w.Tb();w.cc(),w.bc(),w.Sb(0,"ngx-charts-legend",5),w.Zb("labelClick",(function(t){return w.xc(n),w.dc().legendLabelClick.emit(t)}))("labelActivate",(function(t){return w.xc(n),w.dc().legendLabelActivate.emit(t)}))("labelDeactivate",(function(t){return w.xc(n),w.dc().legendLabelDeactivate.emit(t)})),w.Rb()}if(2&t){var r=w.dc();w.kc("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 Jn=["*"];function qn(t,e){if(1&t&&(w.Sb(0,"header",4),w.Sb(1,"span",5),w.Jc(2),w.Rb(),w.Rb()),2&t){var n=w.dc();w.Ab(2),w.Kc(n.title)}}function Zn(t,e){if(1&t){var n=w.Tb();w.Sb(0,"li",6),w.Sb(1,"ngx-charts-legend-entry",7),w.Zb("select",(function(t){return w.xc(n),w.dc().labelClick.emit(t)}))("activate",(function(t){return w.xc(n),w.dc().activate(t)}))("deactivate",(function(t){return w.xc(n),w.dc().deactivate(t)})),w.Rb(),w.Rb()}if(2&t){var r=e.$implicit,i=w.dc();w.Ab(1),w.kc("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",i.isActive(r))}}var Xn,Kn=((Xn=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 Tt.e(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Tt.d(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}],[{key:"setGlobalRootViewContainer",value:function(e){t.globalRootViewContainer=e}}]),t}()).\u0275fac=function(t){return new(t||Xn)(w.Wb(w.g),w.Wb(w.j),w.Wb(w.s))},Xn.\u0275prov=w.Ib({token:Xn,factory:Xn.\u0275fac}),Xn.globalRootViewContainer=null,Xn);function Qn(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 $n=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 tr(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 er(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 nr,rr,ir,or,ar,sr,ur,cr=function(){function t(){f(this,t)}return p(t,null,[{key:"calculateVerticalAlignment",value:function(t,e,n){var r=tr(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=tr(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=er(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=er(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===$n.right?(s=-7,a=t.calculateVerticalCaret(r,n,i,o)):e===$n.left?(s=n.width,a=t.calculateVerticalCaret(r,n,i,o)):e===$n.top?(a=n.height,s=t.calculateHorizontalCaret(r,n,i,o)):e===$n.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===$n.right?(s=r.left+r.width+i,a=t.calculateVerticalAlignment(r,n,o)):e===$n.left?(s=r.left-n.width-i,a=t.calculateVerticalAlignment(r,n,o)):e===$n.top?(a=r.top-n.height-i,s=t.calculateHorizontalAlignment(r,n,o)):e===$n.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===$n.right)return $n.left;if(e===$n.left)return $n.right;if(e===$n.top)return $n.bottom;if(e===$n.bottom)return $n.top}return e}}]),t}(),lr=((ur=function(){function t(e,n){f(this,t),this.element=e,this.renderer=n}return p(t,[{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=cr.positionContent(this.placement,n,e,this.spacing,this.alignment),i=r.top,o=r.left;this.renderer.setStyle(t,"top",i+"px"),this.renderer.setStyle(t,"left",o+"px")}},{key:"positionCaret",value:function(t,e){var n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),i=cr.positionCaret(this.placement,e,t,r,this.alignment),o=i.top,a=i.left;this.renderer.setStyle(n,"top",o+"px"),this.renderer.setStyle(n,"left",a+"px")}},{key:"checkFlip",value:function(t,e){this.placement=cr.determinePlacement(this.placement,e,t,this.spacing)}},{key:"onWindowResize",value:function(){this.position()}},{key:"cssClasses",get:function(){var t="ngx-charts-tooltip-content";return t+=" position-"+this.placement,t+=" type-"+this.type,t+=" "+this.cssClass}}]),t}()).\u0275fac=function(t){return new(t||ur)(w.Mb(w.l),w.Mb(w.F))},ur.\u0275cmp=w.Gb({type:ur,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;1&t&&w.Qc(Bn,!0),2&t&&w.sc(n=w.ac())&&(e.caretElm=n.first)},hostVars:2,hostBindings:function(t,e){1&t&&w.Zb("resize",(function(){return e.onWindowResize()}),!1,w.wc),2&t&&w.Cb(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&&(w.Sb(0,"div"),w.Nb(1,"span",0,1),w.Sb(3,"div",2),w.Hc(4,Vn,2,4,"span",3),w.Hc(5,Hn,1,1,"span",4),w.Rb(),w.Rb()),2&t&&(w.Ab(1),w.Db("tooltip-caret position-",e.placement,""),w.kc("hidden",!e.showCaret),w.Ab(3),w.kc("ngIf",!e.title),w.Ab(1),w.kc("ngIf",e.title))},directives:[v.t,v.A],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}),St([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Qn(n.value,100,void 0)}),this[e]}}}],ur.prototype,"onWindowResize",null),ur),hr=((sr=function(t){i(n,t);var e=a(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).type=lr,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}())).\u0275fac=function(t){return new(t||sr)(w.Wb(Kn))},sr.\u0275prov=w.Ib({token:sr,factory:sr.\u0275fac}),sr),fr=((ar=function(){function t(){f(this,t),this.showLegend=!1,this.animations=!0,this.legendLabelClick=new w.o,this.legendLabelActivate=new w.o,this.legendLabelDeactivate=new w.o}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}()).\u0275fac=function(t){return new(t||ar)},ar.\u0275cmp=w.Gb({type:ar,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:[w.zb([hr]),w.yb],ngContentSelectors:Jn,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&&(w.jc(),w.Sb(0,"div",0),w.cc(),w.Sb(1,"svg",1),w.ic(2),w.Rb(),w.Hc(3,Yn,1,5,"ngx-charts-scale-legend",2),w.Hc(4,Wn,1,7,"ngx-charts-legend",3),w.Rb()),2&t&&(w.Ec("width",e.view[0],"px"),w.kc("@animationState","active")("@.disabled",!e.animations),w.Ab(1),w.Bb("width",e.chartWidth)("height",e.view[1]),w.Ab(2),w.kc("ngIf",e.showLegend&&"scaleLegend"===e.legendType),w.Ab(1),w.kc("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[v.t,Tr,Mr]},encapsulation:2,data:{animation:[Object(At.n)("animationState",[Object(At.m)(":enter",[Object(At.l)({opacity:0}),Object(At.e)("500ms 100ms",Object(At.l)({opacity:1}))])])]},changeDetection:0}),ar),dr=((or=function(){function t(e,n){f(this,t),this.element=e,this.zone=n,this.visible=new w.o,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;this.zone.runOutsideAngular((function(){t.timeout=setTimeout((function(){return 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)})))}}()}))}))}}]),t}()).\u0275fac=function(t){return new(t||or)(w.Mb(w.l),w.Mb(w.A))},or.\u0275dir=w.Hb({type:or,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),or),pr=((ir=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 w.o}return p(t,[{key:"ngAfterViewInit",value:function(){this.bindWindowResizeEvent(),this.visibilityObserver=new dr(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),w.Ab(2),w.Ec("max-height",e.height-45,"px"),w.Eb("horizontal-legend",e.horizontal),w.Ab(1),w.kc("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[v.t,v.s,Ar]},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}),wr),Ar=((br=function(){function t(){f(this,t),this.isActive=!1,this.select=new w.o,this.activate=new w.o,this.deactivate=new w.o,this.toggle=new w.o}return p(t,[{key:"onMouseEnter",value:function(){this.activate.emit({name:this.label})}},{key:"onMouseLeave",value:function(){this.deactivate.emit({name:this.label})}},{key:"trimmedLabel",get:function(){return this.formattedLabel||"(empty)"}}]),t}()).\u0275fac=function(t){return new(t||br)},br.\u0275cmp=w.Gb({type:br,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&w.Zb("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&&(w.Sb(0,"span",0),w.Zb("click",(function(){return e.select.emit(e.formattedLabel)})),w.Sb(1,"span",1),w.Zb("click",(function(){return e.toggle.emit(e.formattedLabel)})),w.Rb(),w.Sb(2,"span",2),w.Jc(3),w.Rb(),w.Rb()),2&t&&(w.Eb("active",e.isActive),w.kc("title",e.formattedLabel),w.Ab(1),w.Ec("background-color",e.color),w.Ab(2),w.Lc(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),br),Tr=((yr=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}()).\u0275fac=function(t){return new(t||yr)(w.Mb(Fn.b))},yr.\u0275cmp=w.Gb({type:yr,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[w.yb],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(w.Sb(0,"div",0),w.Sb(1,"div",1),w.Sb(2,"span"),w.Jc(3),w.Rb(),w.Rb(),w.Nb(4,"div",2),w.Sb(5,"div",1),w.Sb(6,"span"),w.Jc(7),w.Rb(),w.Rb(),w.Rb()),2&t&&(w.Ec("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),w.Eb("horizontal-legend",e.horizontal),w.Ab(3),w.Kc(e.valueRange[1].toLocaleString()),w.Ab(1),w.Ec("background",e.gradient),w.Ab(3),w.Kc(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}),yr),Dr=((mr=function t(){f(this,t)}).\u0275mod=w.Kb({type:mr}),mr.\u0275inj=w.Jb({factory:function(t){return new(t||mr)},imports:[[v.c,gr,vr],v.c,gr,vr]}),mr),Ir=[{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"]}],Or=function(){function t(e,n,r,i){f(this,t),"string"==typeof e&&(e=Ir.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,n){var i;if("string"==typeof t&&(t=Ir.find((function(e){return e.name===t}))),"quantile"===e)i=function t(){var e,n=[],r=[],i=[];function o(){var t=0,e=Math.max(1,r.length);for(i=new Array(e-1);++t0?i[e-1]:n[0],e0&&(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 r=dn().domain(this.domain).range([0,1]),i=function t(){var e,r,i=vn().unknown(void 0),o=i.domain,a=i.range,s=0,u=1,c=!1,l=0,h=0,f=.5;function d(){var t=o().length,n=u=(u-i.bandwidth()).toFixed(4))break;f.push({color:d,offset:p,opacity:1}),h=p,l++}}if(f[f.length-1].offset<100&&f.push({color:o,offset:u,opacity:1}),u===a)f[0].offset=0,f[1].offset=100;else if(100!==f[f.length-1].offset){var g,v=c(f);try{for(v.s();!(g=v.n()).done;){var m=g.value;m.offset=(m.offset-a)/(u-a)*100}}catch(y){v.e(y)}finally{v.f()}}return f}}]),t}(),Cr=((Sr=function t(){f(this,t)}).\u0275mod=w.Kb({type:Sr}),Sr.\u0275inj=w.Jb({factory:function(t){return new(t||Sr)},imports:[[Dr]]}),Sr),Nr=((kr=function t(){f(this,t)}).\u0275mod=w.Kb({type:kr}),kr.\u0275inj=w.Jb({factory:function(t){return new(t||kr)},imports:[[Dr]]}),kr),jr=((Er=function t(){f(this,t)}).\u0275mod=w.Kb({type:Er}),Er.\u0275inj=w.Jb({factory:function(t){return new(t||Er)},imports:[[Dr]]}),Er),Rr=((xr=function t(){f(this,t)}).\u0275mod=w.Kb({type:xr}),xr.\u0275inj=w.Jb({factory:function(t){return new(t||xr)},imports:[[Dr]]}),xr),Pr=((_r=function t(){f(this,t)}).\u0275mod=w.Kb({type:_r}),_r.\u0275inj=w.Jb({factory:function(t){return new(t||_r)},imports:[[Dr]]}),_r);Math;var Lr,zr,Fr,Br,Ur,Gr,Vr=((Gr=function t(){f(this,t)}).\u0275mod=w.Kb({type:Gr}),Gr.\u0275inj=w.Jb({factory:function(t){return new(t||Gr)},imports:[[Dr]]}),Gr),Hr=((Ur=function t(){f(this,t)}).\u0275mod=w.Kb({type:Ur}),Ur.\u0275inj=w.Jb({factory:function(t){return new(t||Ur)},imports:[[Dr,Vr,Pr]]}),Ur),Yr=((Br=function t(){f(this,t)}).\u0275mod=w.Kb({type:Br}),Br.\u0275inj=w.Jb({factory:function(t){return new(t||Br)},imports:[[Dr]]}),Br),Wr=((Fr=function t(){f(this,t)}).\u0275mod=w.Kb({type:Fr}),Fr.\u0275inj=w.Jb({factory:function(t){return new(t||Fr)},imports:[[Dr]]}),Fr),Jr=((zr=function t(){f(this,t)}).\u0275mod=w.Kb({type:zr}),zr.\u0275inj=w.Jb({factory:function(t){return new(t||zr)},imports:[[Dr,Vr,Nr]]}),zr),qr=((Lr=function t(){f(this,t),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}).\u0275mod=w.Kb({type:Lr}),Lr.\u0275inj=w.Jb({factory:function(t){return new(t||Lr)},imports:[Dr,Cr,Nr,jr,Rr,Pr,Hr,Yr,Vr,Wr,Jr]}),Lr),Zr=Math.PI;function Xr(t){return(1-Math.cos(Zr*t))/2}var Kr=l("bwdy"),Qr=l("IdLP"),$r=l("ROBh"),ti=l("jOdJ");function ei(t){return void 0===t}function ni(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:t,b:0,d:1,f:e}}function ri(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e=(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}var hi=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function fi(t){return t[0]}function di(t){return t[1]}function pi(t,e,n){var r=new gi(null==e?fi:e,null==n?di:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function gi(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 vi(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var mi=pi.prototype=gi.prototype;function yi(t){return t.x+t.vx}function bi(t){return t.y+t.vy}mi.copy=function(){var t,e,n=new gi(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=vi(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=vi(e));return n},mi.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return li(this.cover(e,n),e,n,t)},mi.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),u=1/0,c=1/0,l=-1/0,h=-1/0;for(n=0;nl&&(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),b=e-+this._y.call(null,g.data),w=y*y+b*b;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)},mi.removeAll=function(t){for(var e=0,n=t.length;eu+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;r1?(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)}}},ji=function(){var t,e,n,r,i=ui(-30),o=1,a=1/0,s=.81;function u(r){var i,o=t.length,a=pi(t,Ii,Oi).visitAfter(l);for(n=r,i=0;i=a)){(t.data!==e||t.next)&&(0===l&&(d+=(l=ci())*l),0===h&&(d+=(h=ci())*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:r(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:r(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||vo(),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=bo(t.nodes,e.source),r=bo(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}()},xo=((wo=function(){function t(){f(this,t)}return p(t,[{key:"getLayout",value:function(t){if(_o[t])return new _o[t];throw new Error("Unknown layout type '".concat(t,"'"))}}]),t}()).\u0275fac=function(t){return new(t||wo)},wo.\u0275prov=w.Ib({token:wo,factory:wo.\u0275fac}),wo),Eo=function(t){return t.Both="both",t.Horizontal="horizontal",t.Vertical="vertical",t}({}),ko=function(t){return t.UpperLeft="UpperLeft",t.UpperRight="UpperRight",t}({});function So(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 Mo,Ao,To,Do,Io=((Do=function(e){i(o,e);var n=a(o);function o(t,e,r,i){var a;return f(this,o),(a=n.call(this,t,e,r)).el=t,a.zone=e,a.cd=r,a.layoutService=i,a.legend=!1,a.nodes=[],a.clusters=[],a.links=[],a.activeEntries=[],a.draggingEnabled=!0,a.panningEnabled=!0,a.panningAxis=Eo.Both,a.enableZoom=!0,a.zoomSpeed=.1,a.minZoomLevel=.1,a.maxZoomLevel=4,a.autoZoom=!1,a.panOnZoom=!0,a.animate=!1,a.autoCenter=!1,a.enableTrackpadSupport=!1,a.showMiniMap=!1,a.miniMapMaxWidth=100,a.miniMapPosition=ko.UpperRight,a.activate=new w.o,a.deactivate=new w.o,a.zoomChange=new w.o,a.clickHandler=new w.o,a.isMouseMoveCalled=!1,a.graphSubscription=new Kr.a,a.subscriptions=[],a.margin=[0,0,0,0],a.results=[],a.isPanning=!1,a.isDragging=!1,a.initialized=!1,a.graphDims={width:0,height:0},a._oldLinks=[],a.oldNodes=new Set,a.oldClusters=new Set,a.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},a._touchLastX=null,a._touchLastY=null,a.minimapScaleCoefficient=3,a.minimapOffsetX=0,a.minimapOffsetY=0,a.isMinimapPanning=!1,a.groupResultsBy=function(t){return t.label},a}return p(o,[{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"+vo()}},{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(u(o.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(u(o.prototype),"ngAfterViewInit",this).call(this),setTimeout((function(){return e.update()}))}},{key:"update",value:function(){var e=this;t(u(o.prototype),"update",this).call(this),this.curve||(this.curve=Et.beta(1)),this.zone.run((function(){var t,n,r,i,o,a,s,u,c,l,h,f,d,p,g,v,m,y,b,w,_,x,E,k,S,M,A;e.dims=(t={width:e.width,height:e.height,margins:e.margin,showLegend:e.legend},n=t.width,r=t.height,a=void 0!==(o=t.showXAxis)&&o,u=void 0!==(s=t.showYAxis)&&s,l=void 0===(c=t.xAxisHeight)?0:c,f=void 0===(h=t.yAxisWidth)?0:h,p=void 0!==(d=t.showXLabel)&&d,v=void 0!==(g=t.showYLabel)&&g,y=void 0!==(m=t.showLegend)&&m,w=void 0===(b=t.legendType)?"ordinal":b,x=void 0===(_=t.legendPosition)?"right":_,k=void 0===(E=t.columns)?12:E,S=(i=t.margins)[3],M=n,A=r-i[0]-i[2],y&&"right"===x&&(k-="ordinal"===w?2:1),M=(M=M*k/12)-i[1]-i[3],a&&(A-=5,A-=l,p)&&(A-=30),u&&(M-=5,M-=f,S+=f,S+=10,v)&&(M-=30,S+=30),M=Math.max(0,M),A=Math.max(0,A),{width:Math.floor(M),height:Math.floor(A),xOffset:Math.floor(S)}),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 Kr.a;var e=function(e){return e.meta||(e.meta={}),e.id||(e.id=vo()),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?r(this.nodes).map(e):[],clusters:this.clusters&&this.clusters.length>0?r(this.clusters).map(e):[],edges:this.links.length>0?r(this.links).map((function(t){return t.id||(t.id=vo()),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 Qr.a?e:Object($r.a)(e);this.graphSubscription.add(n.subscribe((function(e){t.graph=e,t.tick()}))),0!==this.graph.nodes.length&&n.pipe(Object(ti.a)()).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 ko.UpperLeft:return"";case ko.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&&(Object(It.a)(n.nativeElement).select(".line").attr("d",r.oldLine).transition().ease(Xr).duration(e?500:0).attr("d",r.line),Object(It.a)(t.chartElement.nativeElement).select("#"+r.id).attr("d",r.oldTextPath).transition().ease(Xr).duration(e?500:0).attr("d",r.textPath),t.updateMidpointOnEdge(r,r.points))}))}},{key:"calcDominantBaseline",value:function(t){var e=t.points[0],n=t.points[t.points.length-1];t.oldTextPath=t.textPath,n.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=oi(this.transformationMatrix,ni(t/r,e/r)),this.updateTransform()}},{key:"panTo",value:function(t,e){null==t||isNaN(t)||null==e||isNaN(e)||(this.transformationMatrix=oi(this.transformationMatrix,ni((-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=oi(this.transformationMatrix,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return ei(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 Qr.a?i:Object($r.a)(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(r(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=r(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 Or(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 Eo.Horizontal:this.pan(n,0);break;case Eo.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}}}},{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))}}]),o}(pr)).\u0275fac=function(t){return new(t||Do)(w.Mb(w.l),w.Mb(w.A),w.Mb(w.h),w.Mb(xo))},Do.\u0275cmp=w.Gb({type:Do,selectors:[["ngx-graph"]],contentQueries:function(t,e,n){var r;1&t&&(w.Fb(n,Ui,!0),w.Fb(n,Gi,!0),w.Fb(n,Vi,!0),w.Fb(n,Hi,!0),w.Fb(n,Yi,!0)),2&t&&(w.sc(r=w.ac())&&(e.linkTemplate=r.first),w.sc(r=w.ac())&&(e.nodeTemplate=r.first),w.sc(r=w.ac())&&(e.clusterTemplate=r.first),w.sc(r=w.ac())&&(e.defsTemplate=r.first),w.sc(r=w.ac())&&(e.miniMapNodeTemplate=r.first))},viewQuery:function(t,e){var n;1&t&&(w.Dc(fr,!0,w.l),w.Qc(Wi,!0),w.Qc(Ji,!0)),2&t&&(w.sc(n=w.ac())&&(e.chart=n.first),w.sc(n=w.ac())&&(e.nodeElements=n),w.sc(n=w.ac())&&(e.linkElements=n))},hostBindings:function(t,e){1&t&&w.Zb("mousemove",(function(t){return e.onMouseMove(t)}),!1,w.vc)("mousedown",(function(t){return e.onMouseDown(t)}),!1,w.vc)("click",(function(t){return e.graphClick(t)}),!1,w.vc)("touchmove",(function(t){return e.onTouchMove(t)}),!1,w.vc)("mouseup",(function(t){return e.onMouseUp(t)}),!1,w.vc)},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:[w.xb,w.yb],ngContentSelectors:po,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&&(w.jc(),w.Sb(0,"ngx-charts-chart",0),w.Zb("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")})),w.Hc(1,ao,12,12,"g",1),w.cc(),w.Sb(2,"clipPath"),w.Nb(3,"rect"),w.Rb(),w.Hc(4,ho,6,15,"g",2),w.Rb()),2&t&&(w.kc("view",w.qc(8,fo,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions),w.Ab(1),w.kc("ngIf",e.initialized&&e.graph),w.Ab(1),w.Bb("id",e.minimapClipPathId),w.Ab(1),w.Bb("width",e.graphDims.width/e.minimapScaleCoefficient)("height",e.graphDims.height/e.minimapScaleCoefficient),w.Ab(1),w.kc("ngIf",e.showMiniMap))},directives:function(){return[fr,Oo,v.t,v.s,v.A]},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}),St([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:So(n.value,500,void 0)}),this[e]}}},Mt("design:type",Function),Mt("design:paramtypes",[]),Mt("design:returntype",void 0)],Do.prototype,"updateMinimap",null),Do),Oo=((To=function(){function t(){f(this,t),this.mouseWheelUp=new w.o,this.mouseWheelDown=new w.o}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}()).\u0275fac=function(t){return new(t||To)},To.\u0275dir=w.Hb({type:To,selectors:[["","mouseWheel",""]],hostBindings:function(t,e){1&t&&w.Zb("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"}}),To),Co=((Ao=function t(){f(this,t)}).\u0275mod=w.Kb({type:Ao}),Ao.\u0275inj=w.Jb({factory:function(t){return new(t||Ao)},providers:[xo],imports:[[Dr]]}),Ao),No=((Mo=function t(){f(this,t)}).\u0275mod=w.Kb({type:Mo}),Mo.\u0275inj=w.Jb({factory:function(t){return new(t||Mo)},imports:[[qr],Co]}),Mo),jo=["caretElm"];function Ro(t,e){}var Po,Lo=function(t){return{model:t}};function zo(t,e){if(1&t&&(w.Sb(0,"span"),w.Hc(1,Ro,0,0,"ng-template",5),w.Rb()),2&t){var n=w.dc();w.Ab(1),w.kc("ngTemplateOutlet",n.template)("ngTemplateOutletContext",w.pc(2,Lo,n.context))}}function Fo(t,e){if(1&t&&w.Nb(0,"span",6),2&t){var n=w.dc();w.kc("innerHTML",n.title,w.yc)}}var Bo=function(){var t=Po=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(Po.globalRootViewContainer)return Po.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 Tt.e(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Tt.d(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}],[{key:"setGlobalRootViewContainer",value:function(t){Po.globalRootViewContainer=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(w.Wb(w.g),w.Wb(w.j),w.Wb(w.s))},t.\u0275prov=w.Ib({token:t,factory:function(e){return t.\u0275fac(e)}}),t.globalRootViewContainer=null,t}();function Uo(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 Go=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 Vo(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 Ho(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 Yo,Wo,Jo,qo,Zo=function(){function t(){f(this,t)}return p(t,null,[{key:"calculateVerticalAlignment",value:function(t,e,n){var r=Vo(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=Vo(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=Ho(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=Ho(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===Go.right?(s=-7,a=t.calculateVerticalCaret(r,n,i,o)):e===Go.left?(s=n.width,a=t.calculateVerticalCaret(r,n,i,o)):e===Go.top?(a=n.height,s=t.calculateHorizontalCaret(r,n,i,o)):e===Go.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===Go.right?(s=r.left+r.width+i,a=t.calculateVerticalAlignment(r,n,o)):e===Go.left?(s=r.left-n.width-i,a=t.calculateVerticalAlignment(r,n,o)):e===Go.top?(a=r.top-n.height-i,s=t.calculateHorizontalAlignment(r,n,o)):e===Go.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===Go.right)return Go.left;if(e===Go.left)return Go.right;if(e===Go.top)return Go.bottom;if(e===Go.bottom)return Go.top}return e}}]),t}(),Xo=function(){var t=function(){function t(e,n){f(this,t),this.element=e,this.renderer=n}return p(t,[{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=Zo.positionContent(this.placement,n,e,this.spacing,this.alignment),i=r.top,o=r.left;this.renderer.setStyle(t,"top",i+"px"),this.renderer.setStyle(t,"left",o+"px")}},{key:"positionCaret",value:function(t,e){var n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),i=Zo.positionCaret(this.placement,e,t,r,this.alignment),o=i.top,a=i.left;this.renderer.setStyle(n,"top",o+"px"),this.renderer.setStyle(n,"left",a+"px")}},{key:"checkFlip",value:function(t,e){this.placement=Zo.determinePlacement(this.placement,e,t,this.spacing)}},{key:"onWindowResize",value:function(){this.position()}},{key:"cssClasses",get:function(){var t="ngx-charts-tooltip-content";return t+=" position-"+this.placement,t+=" type-"+this.type,t+=" "+this.cssClass}}]),t}();return t.\u0275fac=function(e){return new(e||t)(w.Mb(w.l),w.Mb(w.F))},t.\u0275cmp=w.Gb({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;1&t&&w.Qc(jo,!0),2&t&&w.sc(n=w.ac())&&(e.caretElm=n.first)},hostVars:2,hostBindings:function(t,e){1&t&&w.Zb("resize",(function(){return e.onWindowResize()}),!1,w.wc),2&t&&w.Cb(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&&(w.Sb(0,"div"),w.Nb(1,"span",0,1),w.Sb(3,"div",2),w.Hc(4,zo,2,4,"span",3),w.Hc(5,Fo,1,1,"span",4),w.Rb(),w.Rb()),2&t&&(w.Ab(1),w.Db("tooltip-caret position-",e.placement,""),w.kc("hidden",!e.showCaret),w.Ab(3),w.kc("ngIf",!e.title),w.Ab(1),w.kc("ngIf",e.title))},directives:[v.t,v.A],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;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);font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.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-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.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-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.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{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}"],encapsulation:2}),Object(bt.b)([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Uo(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t}(),Ko=function(){var t=function(t){i(n,t);var e=a(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).type=Xo,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)(w.Wb(Bo))},t.\u0275prov=w.Ib({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Qo=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[v.c]]}),t}(),$o=((Jo={})[Jo.popover="popover"]="popover",Jo[Jo.tooltip="tooltip"]="tooltip",Jo),ta=((Wo={})[Wo.left="left"]="left",Wo[Wo.center="center"]="center",Wo[Wo.right="right"]="right",Wo),ea=((Yo={})[Yo.all="all"]="all",Yo[Yo.focus="focus"]="focus",Yo[Yo.mouseover="mouseover"]="mouseover",Yo),na=((qo=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=Go.top,this.tooltipAlignment=ta.center,this.tooltipType=$o.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=ea.all,this.tooltipImmediateExit=!1,this.show=new w.o,this.hide=new w.o}return p(t,[{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;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(document,"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}}},{key:"listensForFocus",get:function(){return this.tooltipShowEvent===ea.all||this.tooltipShowEvent===ea.focus}},{key:"listensForHover",get:function(){return this.tooltipShowEvent===ea.all||this.tooltipShowEvent===ea.mouseover}}]),t}()).\u0275fac=function(t){return new(t||qo)(w.Mb(Ko),w.Mb(w.Q),w.Mb(w.F))},qo.\u0275dir=w.Hb({type:qo,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&w.Zb("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"}}),qo),ra=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},providers:[Bo,Ko],imports:[[v.c]]}),t}();"undefined"!=typeof window?window:"undefined"!=typeof global&&global;var ia=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[v.c,Qo,ra],v.c,Qo,ra]}),t}(),oa=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),aa=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),sa=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),ua=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),ca=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}();Math;var la=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),ha=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia,la,ca]]}),t}(),fa=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),da=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia]]}),t}(),pa=function(){var t=function t(){f(this,t)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[ia,la,aa]]}),t}(),ga=function(){var t=function t(){f(this,t),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)};return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[ia,oa,aa,sa,ua,ca,ha,fa,la,da,pa]}),t}();function va(t,e){1&t&&(w.Sb(0,"div"),w.Nb(1,"mat-spinner",3),w.Rb())}function ma(t,e){if(1&t&&(w.Sb(0,"span"),w.Jc(1),w.ec(2,"translate"),w.Sb(3,"strong"),w.Jc(4),w.Rb(),w.Rb()),2&t){var n=w.dc(3);w.Ab(1),w.Lc(" ",w.fc(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),w.Ab(3),w.Kc(n.service)}}function ya(t,e){1&t&&(w.cc(),w.Sb(0,"marker",10),w.Nb(1,"path",11),w.Rb())}function ba(t,e){if(1&t&&(w.cc(),w.Sb(0,"g",12),w.Nb(1,"rect"),w.Sb(2,"text",13),w.Jc(3),w.Rb(),w.Rb()),2&t){var n=e.$implicit;w.kc("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",n.tooltip),w.Ab(1),w.Bb("width",n.dimension.width)("height",n.dimension.height)("fill",n.color),w.Ab(1),w.Bb("x",10)("y",n.dimension.height/2),w.Ab(1),w.Kc(n.label)}}function wa(t,e){if(1&t&&(w.cc(),w.Sb(0,"g",14),w.Nb(1,"path",15),w.Sb(2,"text",16),w.Sb(3,"textPath",17),w.Jc(4),w.Rb(),w.Rb(),w.Rb()),2&t){var n=e.$implicit;w.Ab(3),w.Bb("href","#"+n.id),w.Ab(1),w.Lc(" ",n.label," ")}}var _a=function(t,e){return[t,e]};function xa(t,e){if(1&t&&(w.Sb(0,"div"),w.Jc(1),w.ec(2,"translate"),w.Sb(3,"strong"),w.Jc(4),w.Rb(),w.Jc(5),w.ec(6,"translate"),w.Sb(7,"strong"),w.Jc(8),w.Rb(),w.Hc(9,ma,5,4,"span",4),w.Sb(10,"div",5),w.Sb(11,"ngx-graph",6),w.Hc(12,ya,2,0,"ng-template",null,7,w.Ic),w.Hc(14,ba,4,9,"ng-template",null,8,w.Ic),w.Hc(16,wa,5,2,"ng-template",null,9,w.Ic),w.Rb(),w.Rb(),w.Rb()),2&t){var n=w.dc(2);w.Ab(1),w.Lc(" ",w.fc(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),w.Ab(3),w.Mc("",n.user.firstName," ",n.user.lastName,""),w.Ab(1),w.Lc(" ",w.fc(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),w.Ab(3),w.Kc(n.destination),w.Ab(1),w.kc("ngIf","noService"!==n.service),w.Ab(2),w.kc("links",n.hierarchialGraph.links)("nodes",n.hierarchialGraph.nodes)("curve",n.curve)("draggingEnabled",!1)("zoomToFit$",n.zoomToFit$)("view",w.qc(16,_a,n.innerWidth,n.innerHeight))}}function Ea(t,e){if(1&t&&(w.Sb(0,"span"),w.Jc(1),w.ec(2,"translate"),w.Sb(3,"strong"),w.Jc(4),w.Rb(),w.Rb()),2&t){var n=w.dc(3);w.Ab(1),w.Lc(" ",w.fc(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),w.Ab(3),w.Kc(n.service)}}function ka(t,e){if(1&t&&(w.Jc(0),w.ec(1,"translate"),w.Sb(2,"strong"),w.Jc(3),w.Rb(),w.Jc(4),w.ec(5,"translate"),w.Sb(6,"strong"),w.Jc(7),w.Rb(),w.Hc(8,Ea,5,4,"span",4),w.Jc(9),w.ec(10,"translate")),2&t){var n=w.dc(2);w.Lc(" ",w.fc(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),w.Ab(3),w.Mc("",n.user.firstName," ",n.user.lastName,""),w.Ab(1),w.Lc(" ",w.fc(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),w.Ab(3),w.Kc(n.destination),w.Ab(1),w.kc("ngIf","noService"!==n.service),w.Ab(1),w.Lc(" ",w.fc(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Sa(t,e){if(1&t&&(w.Hc(0,xa,18,19,"div",1),w.Hc(1,ka,11,13,"ng-template",null,2,w.Ic)),2&t){var n=w.tc(2),r=w.dc();w.kc("ngIf",r.isConnected)("ngIfElse",n)}}var Ma,Aa=((Ma=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=Et,this.zoomToFit$=new kt.a}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(r(this.hierarchialGraph.nodes),[{id:e,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}]);var n=""+this.id(),i="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[].concat(r(this.hierarchialGraph.nodes),[{id:n,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:i}]):[].concat(r(this.hierarchialGraph.nodes),[{id:n,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),w.Ab(1),w.kc("ngIf",!e.loading&&(void 0===e.identities||0===e.identities.length)),w.Ab(1),w.kc("ngIf",e.loading))},directives:[v.t,L.a,z.b,ts.a,es.a,B.c],pipes:[k.d],styles:[""]}),us),ls=l("bATb"),hs=l("+0js"),fs=l("YFHD");function ds(t,e){1&t&&w.Nb(0,"mat-spinner",7)}function ps(t,e){if(1&t){var n=w.Tb();w.Sb(0,"div"),w.Sb(1,"perun-web-apps-user-ext-sources-list",8),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)})),w.Rb(),w.Rb()}if(2&t){var r=w.dc();w.Ab(1),w.kc("hideColumns",r.hiddenColumns)("selection",r.selection)("userExtSources",r.userExtSources)("pageSize",r.pageSize)}}var gs,vs=((gs=function(){function t(e,n,r,i,o,a){f(this,t),this.usersManagerService=e,this.storage=n,this.registrarManagerService=r,this.dialog=i,this.route=o,this.tableConfigService=a,this.userExtSources=[],this.selection=new D.c(!1,[]),this.hiddenColumns=["mail"],this.tableId=j.cb}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=Object(C.o)();e.width="400px",e.data={userId:this.userId},this.dialog.open(ls.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"removeIdentity",value:function(){var t=this,e=Object(C.o)();e.width="400px",e.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(hs.m,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}()).\u0275fac=function(t){return new(t||gs)(w.Mb(N.q),w.Mb(it.m),w.Mb(N.l),w.Mb(P.b),w.Mb(m.a),w.Mb(j.pb))},gs.\u0275cmp=w.Gb({type:gs,selectors:[["app-user-identities"]],decls:13,vars:12,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"hideColumns","selection","userExtSources","pageSize","page"]],template:function(t,e){1&t&&(w.Sb(0,"h1",0),w.Jc(1),w.ec(2,"translate"),w.Rb(),w.Sb(3,"perun-web-apps-refresh-button",1),w.Zb("refresh",(function(){return e.refreshTable()})),w.Rb(),w.Sb(4,"button",2),w.Zb("click",(function(){return e.addIdentity()})),w.Jc(5),w.ec(6,"translate"),w.Rb(),w.Sb(7,"button",3),w.Zb("click",(function(){return e.removeIdentity()})),w.Jc(8),w.ec(9,"translate"),w.Rb(),w.Sb(10,"div",4),w.Hc(11,ds,1,0,"mat-spinner",5),w.Rb(),w.Hc(12,ps,2,4,"div",6)),2&t&&(w.Ab(1),w.Kc(w.fc(2,6,"USER_DETAIL.IDENTITIES.TITLE")),w.Ab(4),w.Kc(w.fc(6,8,"USER_DETAIL.IDENTITIES.ADD")),w.Ab(2),w.kc("disabled",0===e.selection.selected.length),w.Ab(1),w.Kc(w.fc(9,10,"USER_DETAIL.IDENTITIES.REMOVE")),w.Ab(3),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[L.a,z.b,v.t,B.c,fs.a],pipes:[k.d],styles:[""]}),gs),ms=l("pU19"),ys=l("r3xl"),bs=l("gcZR");function ws(t,e){1&t&&w.Nb(0,"mat-spinner",7)}function _s(t,e){if(1&t){var n=w.Tb();w.Sb(0,"app-services-list",8),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)})),w.Rb()}if(2&t){var r=w.dc();w.kc("pageSize",r.pageSize)("selection",r.selection)("services",r.services)("filterValue",r.filterValue)}}var xs,Es=((xs=function(){function t(e,n,r){f(this,t),this.tableConfigService=e,this.serviceManager=n,this.dialog=r,this.selection=new D.c(!0,[]),this.loading=!1,this.filterValue="",this.tableId=j.l}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=Object(C.o)();e.width="600px",e.data={theme:"admin-theme"},this.dialog.open(ms.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"deleteService",value:function(){var t=this,e=Object(C.o)();e.width="600px",e.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(ys.a,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}()).\u0275fac=function(t){return new(t||xs)(w.Mb(j.pb),w.Mb(N.n),w.Mb(P.b))},xs.\u0275cmp=w.Gb({type:xs,selectors:[["app-admin-services"]],decls:14,vars:13,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-2",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","selection","services","filterValue","page",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"pageSize","selection","services","filterValue","page"]],template:function(t,e){1&t&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Sb(4,"perun-web-apps-refresh-button",1),w.Zb("refresh",(function(){return e.refreshTable()})),w.Rb(),w.Sb(5,"button",2),w.Zb("click",(function(){return e.createService()})),w.Jc(6),w.ec(7,"translate"),w.Rb(),w.Sb(8,"button",3),w.Zb("click",(function(){return e.deleteService()})),w.Jc(9),w.ec(10,"translate"),w.Rb(),w.Sb(11,"perun-web-apps-immediate-filter",4),w.Zb("filter",(function(t){return e.applyFilter(t)})),w.Rb(),w.Hc(12,ws,1,0,"mat-spinner",5),w.Hc(13,_s,1,4,"app-services-list",6),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.fc(3,7,"ADMIN.SERVICES.TITLE")),w.Ab(4),w.Lc(" ",w.fc(7,9,"ADMIN.SERVICES.CREATE"),""),w.Ab(2),w.kc("disabled",0===e.selection.selected.length),w.Ab(1),w.Lc(" ",w.fc(10,11,"ADMIN.SERVICES.DELETE"),""),w.Ab(2),w.kc("placeholder","ADMIN.SERVICES.FILTER"),w.Ab(1),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[L.a,z.b,F.a,v.t,B.c,bs.a],pipes:[k.d],styles:[""]}),xs),ks=l("23RZ");function Ss(t,e){1&t&&w.Nb(0,"mat-spinner",5)}var Ms=function(){return["id","name","vo","facility","description"]};function As(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-resources-list",6),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)})),w.Rb()}if(2&t){var r=w.dc();w.kc("pageSize",r.pageSize)("resources",r.resources)("filterValue",r.filterValue)("displayedColumns",w.oc(4,Ms))}}var Ts,Ds=((Ts=function(){function t(e,n,r){f(this,t),this.userManager=e,this.tableConfigService=n,this.route=r,this.resources=[],this.tableId=j.m,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}()).\u0275fac=function(t){return new(t||Ts)(w.Mb(N.q),w.Mb(j.pb),w.Mb(m.a))},Ts.\u0275cmp=w.Gb({type:Ts,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&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Sb(4,"perun-web-apps-refresh-button",1),w.Zb("refresh",(function(){return e.refreshTable()})),w.Rb(),w.Sb(5,"perun-web-apps-immediate-filter",2),w.Zb("filter",(function(t){return e.resourceFilter(t)})),w.Rb(),w.Hc(6,Ss,1,0,"mat-spinner",3),w.Hc(7,As,1,5,"perun-web-apps-resources-list",4),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.fc(3,4,"USER_DETAIL.RESOURCES.TITLE")),w.Ab(3),w.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),w.Ab(1),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[L.a,F.a,v.t,B.c,ks.a],pipes:[k.d],styles:[""]}),Ts),Is=l("EkHC"),Os=l("TkCa");function Cs(t,e){1&t&&w.Nb(0,"mat-spinner",3)}var Ns=function(){return{color:"black"}},js=function(t){return["/admin/services",t]};function Rs(t,e){if(1&t){var n=w.Tb();w.Sb(0,"div",4),w.Nb(1,"mat-icon",5),w.ec(2,"translate"),w.Sb(3,"div",6),w.Sb(4,"div",7),w.Sb(5,"a",8),w.Jc(6),w.Rb(),w.Sb(7,"span",9),w.Jc(8),w.Rb(),w.Sb(9,"button",10),w.Zb("click",(function(){return w.xc(n),w.dc().editService()})),w.Sb(10,"mat-icon"),w.Jc(11,"edit"),w.Rb(),w.Rb(),w.Rb(),w.Sb(12,"span",11),w.Jc(13),w.ec(14,"translate"),w.Rb(),w.Rb(),w.Rb()}if(2&t){var r=w.dc();w.Ab(1),w.lc("matTooltip",w.fc(2,7,"SERVICE_DETAIL.ENTITY")),w.kc("ngStyle",w.oc(11,Ns)),w.Ab(4),w.kc("routerLink",w.pc(12,js,r.service.id)),w.Ab(1),w.Lc(" ",r.service.name," "),w.Ab(2),w.Lc(" \xa0 #",r.service.id," "),w.Ab(5),w.Mc(" ",w.fc(14,9,"SERVICE_DETAIL.DESCRIPTION"),": ",r.service.description," ")}}var Ps,Ls,zs=((Ls=function(){function t(e,n,r,i,o){f(this,t),this.route=e,this.serviceManager=n,this.sideMenuService=r,this.sideMenuItemService=i,this.dialog=o,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=Object(C.o)();e.width="600px",e.data={theme:"service-theme",service:this.service},this.dialog.open(ms.a,e).afterClosed().subscribe((function(e){e&&t.ngOnInit()}))}}]),t}()).\u0275fac=function(t){return new(t||Ls)(w.Mb(m.a),w.Mb(N.n),w.Mb(y.a),w.Mb(b.a),w.Mb(P.b))},Ls.\u0275cmp=w.Gb({type:Ls,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"],[1,"mt-1","entity-info"]],template:function(t,e){1&t&&(w.Sb(0,"div",0),w.Nb(1,"perun-web-apps-back-button"),w.Hc(2,Cs,1,0,"mat-spinner",1),w.Hc(3,Rs,15,14,"div",2),w.Nb(4,"app-animated-router-outlet"),w.Rb()),2&t&&(w.Ab(2),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading&&void 0!==e.service))},directives:[_.a,v.t,E.a,B.c,x.a,Ia.a,v.w,m.i,z.b],pipes:[k.d],styles:[""],data:{animation:[Os.a]}}),Ls),Fs=((Ps=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}()).\u0275fac=function(t){return new(t||Ps)},Ps.\u0275cmp=w.Gb({type:Ps,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&w.Nb(0,"perun-web-apps-menu-buttons-field",0),2&t&&w.kc("items",e.navItems)("size","small")},directives:[A.a],styles:[""]}),Ps),Bs=l("amZv"),Us=l("kLAD");function Gs(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-refresh-button",7),w.Zb("refresh",(function(){return w.xc(n),w.dc().refreshTable()})),w.Rb()}}function Vs(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",8),w.Zb("click",(function(){return w.xc(n),w.dc().onAdd()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}2&t&&(w.Ab(1),w.Lc(" ",w.fc(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function Hs(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",9),w.Zb("click",(function(){return w.xc(n),w.dc().onRemove()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}if(2&t){var r=w.dc();w.kc("disabled",0===r.selection.selected.length),w.Ab(1),w.Lc(" ",w.fc(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function Ys(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-immediate-filter",10),w.Zb("filter",(function(t){return w.xc(n),w.dc().applyFilter(t)})),w.Rb()}2&t&&w.kc("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER")}function Ws(t,e){1&t&&w.Nb(0,"mat-spinner",11)}function Js(t,e){if(1&t){var n=w.Tb();w.Sb(0,"app-attr-def-list",12),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)}))("refreshEvent",(function(){return w.xc(n),w.dc().refreshTable()})),w.Rb()}if(2&t){var r=w.dc();w.kc("pageSize",r.pageSize)("definitions",r.attrDefinitions)("selection",r.selection)("filterValue",r.filterValue)}}var qs,Zs=((qs=function(){function t(e,n,r,i){f(this,t),this.route=e,this.tableConfigService=n,this.attributeManager=r,this.dialog=i,this.loading=!1,this.filterValue="",this.selection=new D.c(!0,[]),this.attrDefinitions=[],this.tableId=j.R}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=Object(C.o)();e.width="950px",e.data={serviceId:this.serviceId,theme:"service-theme"},this.dialog.open(Bs.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onRemove",value:function(){var t=this,e=Object(C.o)();e.width="650px",e.data={serviceId:this.serviceId,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(Us.a,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}()).\u0275fac=function(t){return new(t||qs)(w.Mb(m.a),w.Mb(j.pb),w.Mb(N.c),w.Mb(P.b))},qs.\u0275cmp=w.Gb({type:qs,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","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","page","refreshEvent"]],template:function(t,e){1&t&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Hc(4,Gs,1,0,"perun-web-apps-refresh-button",1),w.Hc(5,Vs,3,3,"button",2),w.Hc(6,Hs,3,4,"button",3),w.Hc(7,Ys,1,1,"perun-web-apps-immediate-filter",4),w.Hc(8,Ws,1,0,"mat-spinner",5),w.Hc(9,Js,1,4,"app-attr-def-list",6),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.fc(3,7,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),w.Ab(2),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[v.t,L.a,z.b,F.a,B.c,U.a],pipes:[k.d],styles:[""]}),qs);function Xs(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-refresh-button",7),w.Zb("refresh",(function(){return w.xc(n),w.dc().refreshTable()})),w.Rb()}}function Ks(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",8),w.Zb("click",(function(){return w.xc(n),w.dc().onAdd()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}2&t&&(w.Ab(1),w.Lc(" ",w.fc(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "))}function Qs(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",9),w.Zb("click",(function(){return w.xc(n),w.dc().onRemove()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}if(2&t){var r=w.dc();w.kc("disabled",0===r.selection.selected.length),w.Ab(1),w.Lc(" ",w.fc(2,2,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," ")}}function $s(t,e){if(1&t){var n=w.Tb();w.Sb(0,"app-users-list",10),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)})),w.Rb()}if(2&t){var r=w.dc();w.kc("pageSize",r.pageSize)("users",r.associatedUsers)("selection",r.selection)("displayedColumns",r.displayedColumns)}}function tu(t,e){1&t&&(w.Sb(0,"app-alert",11),w.Jc(1),w.ec(2,"translate"),w.Rb()),2&t&&(w.Ab(1),w.Lc(" ",w.fc(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS")," "))}function eu(t,e){1&t&&w.Nb(0,"mat-spinner",12)}var nu,ru=((nu=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 D.c(!1,[]),this.associatedUsers=[],this.tableId=j.Z,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=Object(C.o)();e.width="1250px",e.data={userId:this.userId,theme:"user-theme",isService:!0},this.dialog.open(Qa.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onRemove",value:function(){var t=this,e=Object(C.o)();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($a.a,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}()).\u0275fac=function(t){return new(t||nu)(w.Mb(m.a),w.Mb(P.b),w.Mb(m.f),w.Mb(j.pb),w.Mb(N.q))},nu.\u0275cmp=w.Gb({type:nu,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&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Hc(4,Xs,1,0,"perun-web-apps-refresh-button",1),w.Hc(5,Ks,3,3,"button",2),w.Hc(6,Qs,3,4,"button",3),w.Hc(7,$s,1,4,"app-users-list",4),w.Hc(8,tu,3,3,"app-alert",5),w.Rb(),w.Hc(9,eu,1,0,"mat-spinner",6)),2&t&&(w.Ab(2),w.Kc(w.fc(3,7,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),w.Ab(2),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",void 0!==e.associatedUsers&&e.associatedUsers.length>0),w.Ab(1),w.kc("ngIf",!e.loading&&(void 0===e.associatedUsers||0===e.associatedUsers.length)),w.Ab(1),w.kc("ngIf",e.loading))},directives:[v.t,L.a,z.b,ts.a,es.a,B.c],pipes:[k.d],styles:[""]}),nu),iu=l("/nwi"),ou=l("pgvo");function au(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-refresh-button",7),w.Zb("refresh",(function(){return w.xc(n),w.dc().refreshTable()})),w.Rb()}}function su(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",8),w.Zb("click",(function(){return w.xc(n),w.dc().onRemove()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}if(2&t){var r=w.dc();w.kc("disabled",0===r.selection.selected.length),w.Ab(1),w.Lc(" ",w.fc(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function uu(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",9),w.Zb("click",(function(){return w.xc(n),w.dc().onAllow()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}if(2&t){var r=w.dc();w.kc("disabled",0===r.selection.selected.length),w.Ab(1),w.Lc(" ",w.fc(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function cu(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",8),w.Zb("click",(function(){return w.xc(n),w.dc().onBlock()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}if(2&t){var r=w.dc();w.kc("disabled",0===r.selection.selected.length),w.Ab(1),w.Lc(" ",w.fc(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function lu(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-immediate-filter",10),w.Zb("filter",(function(t){return w.xc(n),w.dc().applyFilter(t)})),w.Rb()}2&t&&w.kc("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER")}function hu(t,e){1&t&&w.Nb(0,"mat-spinner",11)}var fu=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function du(t,e){if(1&t&&w.Nb(0,"app-perun-web-apps-destination-list",12),2&t){var n=w.dc();w.kc("destinations",n.destinations)("selection",n.selection)("pageSize",n.pageSize)("displayedColumns",w.oc(5,fu))("filterValue",n.filterValue)}}var pu,gu=((pu=function(){function t(e,n,r,i,o,a){f(this,t),this.route=e,this.tableConfigService=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.dialog=a,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new D.c(!0,[]),this.tableId=j.C}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=Object(C.o)();e.width="500px",e.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(iu.a,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}()).\u0275fac=function(t){return new(t||pu)(w.Mb(m.a),w.Mb(j.pb),w.Mb(N.n),w.Mb(it.l),w.Mb(k.e),w.Mb(P.b))},pu.\u0275cmp=w.Gb({type:pu,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&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Hc(4,au,1,0,"perun-web-apps-refresh-button",1),w.Hc(5,su,3,4,"button",2),w.Hc(6,uu,3,4,"button",3),w.Hc(7,cu,3,4,"button",2),w.Hc(8,lu,1,1,"perun-web-apps-immediate-filter",4),w.Hc(9,hu,1,0,"mat-spinner",5),w.Hc(10,du,1,6,"app-perun-web-apps-destination-list",6),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.fc(3,8,"SERVICE_DETAIL.DESTINATIONS.TITLE")),w.Ab(2),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(1),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[v.t,L.a,z.b,F.a,B.c,ou.a],pipes:[k.d],styles:[""]}),pu),vu=l("/VkC"),mu=l("P2UU"),yu=l("9Iem");function bu(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",8),w.Zb("click",(function(){return w.xc(n),w.dc().addOwner()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}2&t&&(w.Ab(1),w.Lc(" ",w.fc(2,1,"ADMIN.OWNERS.ADD")," "))}function wu(t,e){if(1&t){var n=w.Tb();w.Sb(0,"button",9),w.Zb("click",(function(){return w.xc(n),w.dc().removeOwner()})),w.Jc(1),w.ec(2,"translate"),w.Rb()}if(2&t){var r=w.dc();w.kc("disabled",!r.selected.selected.length),w.Ab(1),w.Lc(" ",w.fc(2,2,"ADMIN.OWNERS.DELETE")," ")}}function _u(t,e){1&t&&w.Nb(0,"mat-spinner",10)}function xu(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-owners-list",11),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)})),w.Rb()}if(2&t){var r=w.dc();w.kc("pageSize",r.pageSize)("filterValue",r.filterValue)("owners",r.owners)("selection",r.selected)}}var Eu,ku=((Eu=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 D.c(!0,[]),this.filterValue="",this.tableId=j.J}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=Object(C.o)();e.width="400px",e.data={},this.dialog.open(mu.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"removeOwner",value:function(){var t=this,e=Object(C.o)();e.width="400px",e.data=this.selected.selected,this.dialog.open(vu.a,e).afterClosed().subscribe((function(e){e&&(t.selected.clear(),t.refreshTable())}))}}]),t}()).\u0275fac=function(t){return new(t||Eu)(w.Mb(N.j),w.Mb(j.pb),w.Mb(P.b),w.Mb(it.h))},Eu.\u0275cmp=w.Gb({type:Eu,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&&(w.Sb(0,"div",0),w.Sb(1,"h1",1),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Sb(4,"perun-web-apps-refresh-button",2),w.Zb("refresh",(function(){return e.refreshTable()})),w.Rb(),w.Hc(5,bu,3,3,"button",3),w.Hc(6,wu,3,4,"button",4),w.Sb(7,"perun-web-apps-immediate-filter",5),w.Zb("filter",(function(t){return e.applyFilter(t)})),w.Rb(),w.Hc(8,_u,1,0,"mat-spinner",6),w.Hc(9,xu,1,4,"perun-web-apps-owners-list",7),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.fc(3,6,"ADMIN.OWNERS.TITLE")),w.Ab(3),w.kc("ngIf",e.addAuth),w.Ab(1),w.kc("ngIf",e.removeAuth),w.Ab(1),w.kc("placeholder","ADMIN.OWNERS.FILTER"),w.Ab(1),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[L.a,v.t,F.a,z.b,B.c,yu.a],pipes:[k.d],styles:[""]}),Eu),Su=l("w+DT");function Mu(t,e){1&t&&w.Nb(0,"mat-spinner",5)}function Au(t,e){if(1&t){var n=w.Tb();w.Sb(0,"perun-web-apps-facilities-list",6),w.Zb("page",(function(t){return w.xc(n),w.dc().pageChanged(t)})),w.Rb()}if(2&t){var r=w.dc();w.kc("filterValue",r.filterValue)("facilities",r.facilities)("displayedColumns",r.displayedColumns)("pageSize",r.pageSize)}}var Tu,Du,Iu,Ou=[{path:"",component:M,children:[{path:"",component:T,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:q,data:{animation:"AdminAttributesPage"}},{path:"users",component:Ta.a,data:{animation:"AdminUsersPage"}},{path:"owners",component:ku,data:{animation:"AdminOwnersPage"}},{path:"services",component:Es,data:{animation:"AdminServicesPage"}},{path:"visualizer",component:Z,children:[{path:"",component:Q,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:K,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:yt,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Aa,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:Za,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:La,children:[{path:"",component:za.a,data:{animation:"UserOverviewPage"}},{path:"attributes",component:Ga.a,data:{animation:"UserAttributesPage"}},{path:"organizations",component:Fa.a,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:Ba.a,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:vs,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:(Tu=function(){function t(e,n,r){f(this,t),this.facilityManager=e,this.tableConfigService=n,this.route=r,this.facilities=[],this.filterValue="",this.tableId=j.k,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}(),Tu.\u0275fac=function(t){return new(t||Tu)(w.Mb(N.g),w.Mb(j.pb),w.Mb(m.a))},Tu.\u0275cmp=w.Gb({type:Tu,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&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Sb(4,"perun-web-apps-refresh-button",1),w.Zb("refresh",(function(){return e.refreshTable()})),w.Rb(),w.Sb(5,"perun-web-apps-immediate-filter",2),w.Zb("filter",(function(t){return e.applyFilter(t)})),w.Rb(),w.Hc(6,Mu,1,0,"mat-spinner",3),w.Hc(7,Au,1,4,"perun-web-apps-facilities-list",4),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.fc(3,4,"USER_DETAIL.FACILITIES.TITLE")),w.Ab(3),w.kc("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),w.Ab(1),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading))},directives:[L.a,F.a,v.t,B.c,Su.a],pipes:[k.d],styles:[""]}),Tu),data:{animation:"UserFacilitiesPage"}},{path:"resources",component:Ds,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:Is.a,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:Xa.a,data:{animation:"UserRolesPage"}},{path:"settings",component:Ua.a,children:[{path:"",component:Va.a,data:{animation:"UserSettingsOverviewPage"}},{path:"facilityAttributes",component:Ka.a,data:{animation:"UserSettingsFacilityAttributesPage",showPrincipal:!1}},{path:"service-identities",component:cs,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:ru,data:{animation:"AssociatedUsersPage"}}]}]},{path:"services/:serviceId",component:zs,children:[{path:"",component:Fs,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:Zs,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:gu,data:{animation:"ServiceDestinationsPage"}}]}],Cu=((Du=function t(){f(this,t)}).\u0275mod=w.Kb({type:Du}),Du.\u0275inj=w.Jb({factory:function(t){return new(t||Du)},imports:[[m.j.forChild(Ou)],m.j]}),Du),Nu=l("PCNd"),ju=l("KoHB"),Ru=l("HHEo"),Pu=l("t47Z"),Lu=l("zrcO"),zu=((Iu=function t(){f(this,t)}).\u0275mod=w.Kb({type:Iu}),Iu.\u0275inj=w.Jb({factory:function(t){return new(t||Iu)},imports:[[No,ga,v.c,Cu,Nu.a,ju.a,Ru.d,Pu.b,Lu.UsersModule]]}),Iu)},kG2z:function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},kHoZ:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},keXZ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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=r;var i=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=i;var o=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=o;var a=function(){function t(t){this.vars=[],t.offset=0,this.ps=new r(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=u,e.removeOverlapInOneDimension=function(t,e,n){for(var r=t.map((function(t){return new o(t.desiredCenter)})),a=[],s=t.length,c=0;c=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 b(){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(b,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())}}},oCTG:function(t,e,n){var r=n("Syyo"),i=n("bvyN"),o=n("wxYD"),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},osTN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Tx5e"),i=n("WcC/");e.d3adaptor=function(t){return!t||function(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new r.D3StyleLayoutAdaptor:new i.D3StyleLayoutAdaptor(t)}},"p1C/":function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},p2lg:function(t,e,n){var r=n("tQYX"),i=n("CbIe"),o=n("/UTG"),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},pFSi:function(t,e,n){var r=n("hyzI");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},pIod:function(t,e,n){var r=n("y/9h"),i=n("wxYD");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},pNP6:function(t,e,n){"use strict";function r(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}n.d(e,"b",(function(){return r})),e.a=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n-1&&t%1==0&&t=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(;++c-1&&t%1==0&&t<=9007199254740991}},tLQN:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},tPQG:function(t,e,n){var r=n("LtXa"),i=n("BlJA");t.exports=function(t,e){return t&&r(e,i(e),t)}},tQYX:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},tlBq:function(t,e,n){var r=n("pIod"),i=n("70Le"),o=n("BlJA");t.exports=function(t){return r(t,o,i)}},u6DZ:function(t,e,n){var r=n("YpBQ"),i=n("eHpp"),o=n("R3TX"),a=n("R5u7"),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},uoq0:function(t,e,n){"use strict";n.r(e),n.d(e,"zoom",(function(){return k})),n.d(e,"zoomTransform",(function(){return g})),n.d(e,"zoomIdentity",(function(){return p}));var r=n("z0Nn"),i=n("chUO"),o=n("nJRJ"),a=n("7SLq"),s=n("xpD5"),u=n("dr5/"),c=n("Bitd"),l=n("8MQl"),h=function(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.c.stopImmediatePropagation()}g.prototype=d.prototype;var m=function(){a.c.preventDefault(),a.c.stopImmediatePropagation()};function y(){return!a.c.button}function b(){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 _(){return-a.c.deltaY*(a.c.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))}var k=function(){var t,e,n=y,g=b,k=E,S=_,M=x,A=[0,1/0],T=[[-1/0,-1/0],[1/0,1/0]],D=250,I=o.a,O=[],C=Object(r.a)("start","zoom","end"),N=0;function j(t){t.property("__zoom",w).on("wheel.zoom",U).on("mousedown.zoom",G).on("dblclick.zoom",V).filter(M).on("touchstart.zoom",H).on("touchmove.zoom",Y).on("touchend.zoom touchcancel.zoom",W).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,e){return(e=Math.max(A[0],Math.min(A[1],e)))===t.k?t:new d(e,t.x,t.y)}function P(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 L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function z(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||L(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=I(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=O.length;rN}t.zoom("mouse",k(P(t.that.__zoom,t.mouse[0]=Object(s.a)(t.that),t.mouse[1]),t.extent,T))}function d(){r.on("mousemove.zoom mouseup.zoom",null),Object(i.b)(a.c.view,t.moved),m(),t.end()}}function V(){if(n.apply(this,arguments)){var t=this.__zoom,e=Object(s.a)(this),r=t.invert(e),i=t.k*(a.c.shiftKey?.5:2),o=k(P(R(t,i),e,r),g.apply(this,arguments),T);m(),D>0?Object(u.a)(this).transition().duration(D).call(z,o,e):Object(u.a)(this).call(j.transform,o)}}function H(){if(n.apply(this,arguments)){var e,r,i,o,s=F(this,arguments),h=a.c.changedTouches,f=h.length;for(v(),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 a(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=o;var a=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=a;var s=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 i(e,t),e.prototype.insert=function(t){var n=!1;if(null===this._root)this._root=new s(t),n=!0,this.size++;else{var r=new s(void 0),i=!1,o=!1,a=null,u=r,c=null,l=this._root;for(u.right=this._root;;){if(null===l?(l=new s(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===a;l===c.get_child(o)?u.set_child(h,e.single_rotate(a,!o)):u.set_child(h,e.double_rotate(a,!o))}var f=this._comparator(l.data,t);if(0===f)break;o=i,null!==a&&(u=a),a=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 s(void 0),r=n;r.right=this._root;for(var i=null,o=null,a=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&&(a=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!==a&&(a.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!==a},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}(o)},vxC8:function(t,e,n){var r=n("5nKN"),i=n("4p/L");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},w0mW:function(t,e,n){var r=n("dw5g"),i=0;t.exports=function(t){var e=++i;return r(t)+e}},w2Tz:function(t,e,n){var r=n("xoyU"),i=n("Ypsa");t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&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);++r0;){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}},xaOS:function(t,e,n){"use strict";var r=n("gjtd"),i=n("vC4J").Graph,o=n("xxjf");function a(t,e){var n={};return r.reduce(e,(function(e,i){var o=0,a=0,s=e.length,c=r.last(i);return r.forEach(i,(function(e,l){var h=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),f=h?t.node(h).order:s;(h||e===c)&&(r.forEach(i.slice(a,l+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),a=i.order;!(as)&&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&&e180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Object(s.a)(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:Object(s.a)(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:Object(s.a)(t,n)},{i:u-2,x:Object(s.a)(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;++nMath.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()}}},"y/9h":function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n=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 s(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;oe.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}},zF5n:function(t,e,n){var r=n("pIod"),i=n("Xidw"),o=n("zH+d");t.exports=function(t){return r(t,o,i)}},"zH+d":function(t,e,n){var r=n("rmhs"),i=n("p2lg"),o=n("9y2L");t.exports=function(t){return o(t)?r(t,!0):i(t)}},zKkv:function(t,e,n){var r=n("UdtX"),i=n("BlJA");t.exports=function(t,e){return t&&r(t,e,i)}},zL3f:function(t,e,n){"use strict";function r(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}n.d(e,"a",(function(){return r})),e.b=function(t){var e=t.length-1;return function(n){var i=n<=0?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,i0){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),b=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(),b=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);b[n][r]=b[r][n]=e.weight||1})));var _=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){b[t][e]=b[e][t]=n,_[t][e]=_[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],_),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=b,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 S=o.Descent.createSquareMatrix(p,(function(t,e){return t>=d||e>=d?b[t][e]:0}));this._descent.G=S,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}()}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/8-es2015.03a25cf20894a129f2a7.js b/dist/apps/admin-gui/8-es2015.03a25cf20894a129f2a7.js new file mode 100644 index 000000000..383f7e9be --- /dev/null +++ b/dist/apps/admin-gui/8-es2015.03a25cf20894a129f2a7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"pjY/":function(e,t,i){"use strict";i.r(t),i.d(t,"FacilitiesModule",(function(){return ti}));var s=i("2kYt"),a=i("sEIs"),c=i("VFai"),n=i("TkCa"),l=i("4sdY"),r=i("EkAj"),o=i("X2Q7"),b=i("8clQ"),u=i("Ssnw"),h=i("+0js"),d=i("49Zq"),f=i("EM62"),p=i("OZ4H"),g=i("EtYo"),m=i("csyo"),I=i("bFHC"),S=i("Y2X+"),y=i("ma6z"),T=i("PBFl"),A=i("s2Ay");function v(e,t){1&e&&f.Nb(0,"mat-spinner",3)}function E(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",12),f.Zb("click",(function(){return f.xc(e),f.dc(2).editFacility()})),f.Sb(1,"mat-icon"),f.Jc(2,"edit"),f.Rb(),f.Rb()}}function R(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",12),f.Zb("click",(function(){return f.xc(e),f.dc(2).deleteFacility()})),f.Sb(1,"mat-icon"),f.Jc(2,"delete_forever"),f.Rb(),f.Rb()}}const C=function(){return{color:"black"}},L=function(e){return["/facilities",e]};function k(e,t){if(1&e&&(f.Sb(0,"div"),f.Sb(1,"div",4),f.Nb(2,"mat-icon",5),f.ec(3,"translate"),f.Sb(4,"div",6),f.Sb(5,"div",7),f.Sb(6,"a",8),f.Jc(7),f.Rb(),f.Sb(8,"span",9),f.Jc(9),f.Rb(),f.Hc(10,E,3,0,"button",10),f.Hc(11,R,3,0,"button",10),f.Rb(),f.Sb(12,"span",11),f.Jc(13),f.ec(14,"translate"),f.ec(15,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Nb(16,"app-animated-router-outlet"),f.Rb()),2&e){const e=f.dc();f.Ab(2),f.lc("matTooltip",f.fc(3,10,"FACILITY_DETAIL.ENTITY")),f.kc("ngStyle",f.oc(16,C)),f.Ab(4),f.kc("routerLink",f.pc(17,L,e.facility.id)),f.Ab(1),f.Kc(e.facility.name),f.Ab(2),f.Lc(" \xa0#",e.facility.id," "),f.Ab(1),f.kc("ngIf",e.editFacilityAuth),f.Ab(1),f.kc("ngIf",e.deleteAuth),f.Ab(2),f.Nc(" ",f.fc(14,12,"FACILITY_DETAIL.ENTITY"),", ",f.fc(15,14,"FACILITY_DETAIL.DESCRIPTION"),": ",e.facility.description," ")}}let F=(()=>{class e{constructor(e,t,i,s,a,c,n){this.dialog=e,this.facilityManager=t,this.route=i,this.sideMenuService=s,this.sideMenuItemService=a,this.guiAuthResolver=c,this.router=n,this.editFacilityAuth=!1,this.deleteAuth=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.facilityManager.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e;const t=this.sideMenuItemService.parseFacility(e);this.sideMenuService.setFacilityMenuItems([t]),this.editFacilityAuth=this.guiAuthResolver.isAuthorized("updateFacility_Facility_policy",[this.facility]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteFacility_Facility_Boolean_policy",[this.facility]),Object(b.b)("facilities",this.facility),Object(b.c)(this.facility),this.loading=!1},()=>this.loading=!1)})}editFacility(){const e=Object(b.o)();e.width="450px",e.data={theme:"facility-theme",facility:this.facility,dialogType:h.h.FACILITY},this.dialog.open(h.g,e).afterClosed().subscribe(e=>{e&&this.facilityManager.getFacilityById(this.facility.id).subscribe(e=>{this.facility=e})})}deleteFacility(){const e=Object(b.o)();e.width="500px",e.data={theme:"facility-theme",facility:this.facility},this.dialog.open(d.a,e).afterClosed().subscribe(e=>{e&&this.router.navigate([""])})}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(p.b),f.Mb(o.g),f.Mb(a.a),f.Mb(l.a),f.Mb(r.a),f.Mb(u.h),f.Mb(a.f))},e.\u0275cmp=f.Gb({type:e,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(e,t){1&e&&(f.Sb(0,"div",0),f.Nb(1,"perun-web-apps-back-button"),f.Hc(2,v,1,0,"mat-spinner",1),f.Hc(3,k,17,19,"div",2),f.Rb()),2&e&&(f.Ab(2),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading&&void 0!==t.facility))},directives:[g.a,s.t,m.c,I.a,S.a,s.w,a.i,y.a,T.b],pipes:[A.d],styles:[""],data:{animation:[n.a]}}),e})();var _=i("ZG5M");function M(e,t){1&e&&f.Nb(0,"mat-spinner",2)}function w(e,t){if(1&e&&(f.Sb(0,"div"),f.Nb(1,"perun-web-apps-menu-buttons-field",3),f.Rb()),2&e){const e=f.dc();f.Ab(1),f.kc("items",e.navItems)("size","small")}}let O=(()=>{class e{constructor(e,t,i){this.facilityManager=e,this.route=t,this.authResolver=i,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.facilityManager.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e,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 e.\u0275fac=function(t){return new(t||e)(f.Mb(o.g),f.Mb(a.a),f.Mb(u.h))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-facility-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&f.Eb("router-component",!0)},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&&(f.Hc(0,M,1,0,"mat-spinner",0),f.Hc(1,w,2,2,"div",1)),2&e&&(f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[s.t,m.c,_.a],styles:[""]}),e})();var D=i("s8L6"),z=i("Wq+4"),N=i("nSPi"),V=i("y/MV");let H=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=f.Gb({type:e,selectors:[["app-facility-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&f.Eb("router-component",!0)},decls:1,vars:0,template:function(e,t){1&e&&f.Nb(0,"app-animated-router-outlet")},directives:[y.a],styles:[""],data:{animation:[n.a]}}),e})();function Y(e,t){1&e&&f.Nb(0,"mat-spinner",2)}function U(e,t){if(1&e&&(f.Sb(0,"div"),f.Nb(1,"perun-web-apps-menu-buttons-field",3),f.Rb()),2&e){const e=f.dc();f.Ab(1),f.kc("items",e.items)("size","small")}}let B=(()=>{class e{constructor(e,t,i){this.route=e,this.facilityManager=t,this.authResolver=i,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.facilityManager.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e,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 e.\u0275fac=function(t){return new(t||e)(f.Mb(a.a),f.Mb(o.g),f.Mb(u.h))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-facility-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&f.Eb("router-component",!0)},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&&(f.Hc(0,Y,1,0,"mat-spinner",0),f.Hc(1,U,2,2,"div",1)),2&e&&(f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[s.t,m.c,_.a],styles:[""]}),e})();var x=i("HHEo"),P=i("cqs0"),G=i("mEf3"),Z=i("iyZ4"),J=i("IDQ9"),j=i("KZIX"),W=i("0XDM"),K=i("A8Ay"),$=i("LKLE"),q=i("bdug");const Q=["list"];function X(e,t){1&e&&(f.Jc(0),f.ec(1,"translate")),2&e&&f.Lc(" ",f.fc(1,1,"FACILITY_DETAIL.ENTITY")," ")}function ee(e,t){1&e&&f.Nb(0,"mat-spinner",10)}function te(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-attributes-list",11,12),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("attributes",e.attributes)("selection",e.selection)}}function ie(e,t){1&e&&(f.Jc(0),f.ec(1,"translate"),f.ec(2,"translate")),2&e&&f.Mc(" ",f.fc(1,2,"FACILITY_DETAIL.ENTITY")," - ",f.fc(2,4,"ADMIN_USER.ENTITY")," ")}function se(e,t){if(1&e&&f.Nb(0,"app-two-entity-attribute-page",15),2&e){const e=f.dc(3);f.kc("firstEntity","facility")("firstEntityId",e.facilityId)("secondEntity","user")}}function ae(e,t){if(1&e&&f.Hc(0,se,1,3,"app-two-entity-attribute-page",14),2&e){const e=f.dc(2);f.kc("ngIf",!e.loading)}}function ce(e,t){1&e&&(f.Sb(0,"mat-tab"),f.Hc(1,ie,3,6,"ng-template",1),f.Hc(2,ae,1,1,"ng-template",13),f.Rb())}let ne=(()=>{class e{constructor(e,t,i,s,a,c,n){this.attributesManager=e,this.route=t,this.dialog=i,this.notificator=s,this.tableConfigService=a,this.translate=c,this.authResolver=n,this.attributes=[],this.selection=new P.c(!0,[]),this.filterValue="",this.tableId=Z.r,this.translate.get("FACILITY_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe(e=>this.saveSuccessMessage=e),this.translate.get("FACILITY_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe(e=>this.deleteSuccessMessage=e)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.facilityId=e.facilityId,this.facilityUserAttAuth=this.authResolver.isAuthorized("getAssignedUsers_Facility_policy",[{id:this.facilityId,beanName:"Facility"}]),this.refreshTable()})}onDelete(){const e=Object(b.o)();e.width="450px",e.data={entityId:this.facilityId,entity:"facility",attributes:this.selection.selected,theme:"facility-theme"},this.dialog.open(G.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const e=Object(b.o)();e.width="450px",e.data={entityId:this.facilityId,entity:"facility",attributes:this.selection.selected},this.dialog.open(h.f,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onCreate(){const e=Object(b.o)();e.width="1050px",e.data={entityId:this.facilityId,entity:"facility",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(J.a,e).afterClosed().subscribe(e=>{"saved"===e&&this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getFacilityAttributes(this.facilityId).subscribe(e=>{this.attributes=e,this.selection.clear(),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)(f.Mb(o.c),f.Mb(a.a),f.Mb(p.b),f.Mb(u.l),f.Mb(Z.pb),f.Mb(A.e),f.Mb(u.h))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-facility-attributes"]],viewQuery:function(e,t){var i;1&e&&f.Qc(Q,!0),2&e&&f.sc(i=f.ac())&&(t.list=i.first)},hostVars:2,hostBindings:function(e,t){2&e&&f.Eb("router-component",!0)},decls:22,vars:20,consts:[[1,"page-subtitle"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"mat-tab-group"),f.Sb(5,"mat-tab"),f.Hc(6,X,2,3,"ng-template",1),f.Sb(7,"perun-web-apps-refresh-button",2),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Sb(8,"button",3),f.Zb("click",(function(){return t.onCreate()})),f.Jc(9),f.ec(10,"translate"),f.Rb(),f.Sb(11,"button",4),f.Zb("click",(function(){return t.onSave()})),f.Jc(12),f.ec(13,"translate"),f.Rb(),f.Sb(14,"button",5),f.Zb("click",(function(){return t.onDelete()})),f.Jc(15),f.ec(16,"translate"),f.Rb(),f.Sb(17,"perun-web-apps-immediate-filter",6),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.ec(18,"translate"),f.Rb(),f.Hc(19,ee,1,0,"mat-spinner",7),f.Hc(20,te,2,4,"perun-web-apps-attributes-list",8),f.Rb(),f.Hc(21,ce,3,0,"mat-tab",9),f.Rb(),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,10,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),f.Ab(7),f.Lc(" ",f.fc(10,12,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),f.Ab(2),f.kc("disabled",0===t.selection.selected.length),f.Ab(1),f.Lc(" ",f.fc(13,14,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),f.Ab(2),f.kc("disabled",0===t.selection.selected.length),f.Ab(1),f.Lc(" ",f.fc(16,16,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),f.Ab(2),f.kc("placeholder",f.fc(18,18,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER")),f.Ab(2),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading),f.Ab(1),f.kc("ngIf",t.facilityUserAttAuth))},directives:[j.c,j.a,j.d,W.a,T.b,K.a,s.t,m.c,$.a,j.b,q.a],pipes:[A.d],styles:[""]}),e})();var le=i("GyaY"),re=i("HUrR"),oe=i("gxIj"),be=i("jblC"),ue=i("nIj0"),he=i("jIqt"),de=i("YtkY"),fe=i("t47Z"),pe=i("+Tre"),ge=i("29Wa"),me=i("Cd2c"),Ie=i("ulve"),Se=i("mFH5"),ye=i("j+u3");function Te(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-option",10),f.Zb("onSelectionChange",(function(){f.xc(e);const i=t.$implicit;return f.dc(3).onSelectedService(i)})),f.Jc(1),f.Rb()}if(2&e){const e=t.$implicit;f.kc("value",e),f.Ab(1),f.Lc(" ",e.name," ")}}function Ae(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-form-field",6),f.Sb(1,"input",7),f.Zb("keyup",(function(t){return f.xc(e),f.dc(2).updatedSerVal(t)})),f.ec(2,"translate"),f.Rb(),f.Sb(3,"mat-autocomplete",8,9),f.Sb(5,"mat-option",10),f.Zb("onSelectionChange",(function(){return f.xc(e),f.dc(2).onSelectedService("NOT_SELECTED")})),f.Jc(6),f.ec(7,"translate"),f.Rb(),f.Sb(8,"mat-option",10),f.Zb("onSelectionChange",(function(){return f.xc(e),f.dc(2).onSelectedService("ALL")})),f.Jc(9),f.ec(10,"translate"),f.Rb(),f.Hc(11,Te,2,2,"mat-option",11),f.ec(12,"async"),f.Rb(),f.Rb()}if(2&e){const e=f.tc(4),t=f.dc(2);f.Ab(1),f.lc("placeholder",f.fc(2,9,"FACILITY_DETAIL.SERVICE_CONFIG.SERVICE_SELECT")),f.kc("formControl",t.serviceField)("matAutocomplete",e),f.Ab(2),f.kc("displayWith",t.serviceDisplayFn.bind(t)),f.Ab(2),f.kc("value","NOT_SELECTED"),f.Ab(1),f.Lc(" ",f.fc(7,11,"FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED")," "),f.Ab(2),f.kc("value","ALL"),f.Ab(1),f.Lc(" ",f.fc(10,13,"FACILITY_DETAIL.SERVICE_CONFIG.ALL")," "),f.Ab(2),f.kc("ngForOf",f.fc(12,15,t.filteredServices))}}function ve(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-option",10),f.Zb("onSelectionChange",(function(){f.xc(e);const i=t.$implicit;return f.dc(3).onSelectedResource(i)})),f.Jc(1),f.Rb()}if(2&e){const e=t.$implicit;f.kc("value",e),f.Ab(1),f.Lc(" ",e.name," ")}}function Ee(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-form-field",6),f.Sb(1,"input",12),f.Zb("keyup",(function(t){return f.xc(e),f.dc(2).updatedResVal(t)})),f.ec(2,"translate"),f.Rb(),f.Sb(3,"mat-autocomplete",8,9),f.Hc(5,ve,2,2,"mat-option",11),f.ec(6,"async"),f.Rb(),f.Rb()}if(2&e){const e=f.tc(4),t=f.dc(2);f.Ab(1),f.lc("placeholder",f.fc(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.RES_SELECT")),f.kc("matAutocomplete",e)("formControl",t.resourceField),f.Ab(2),f.kc("displayWith",t.resourceDisplayFn.bind(t)),f.Ab(2),f.kc("ngForOf",f.fc(6,7,t.filteredResources))}}function Re(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-option",10),f.Zb("onSelectionChange",(function(){f.xc(e);const i=t.$implicit;return f.dc(3).onSelectedGroup(i)})),f.Jc(1),f.Rb()}if(2&e){const e=t.$implicit;f.kc("value",e),f.Ab(1),f.Lc(" ",e.name," ")}}function Ce(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-form-field",6),f.Sb(1,"input",12),f.Zb("keyup",(function(t){return f.xc(e),f.dc(2).updatedGroupVal(t)})),f.ec(2,"translate"),f.Rb(),f.Sb(3,"mat-autocomplete",13,9),f.Hc(5,Re,2,2,"mat-option",11),f.ec(6,"async"),f.Rb(),f.Rb()}if(2&e){const e=f.tc(4),t=f.dc(2);f.Ab(1),f.lc("placeholder",f.fc(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.GROUP_SELECT")),f.kc("matAutocomplete",e)("formControl",t.groupField),f.Ab(2),f.kc("displayWith",t.groupDisplayFn.bind(t)),f.Ab(2),f.kc("ngForOf",f.fc(6,7,t.filteredGroups))}}function Le(e,t){if(1&e){const e=f.Tb();f.Sb(0,"mat-option",10),f.Zb("onSelectionChange",(function(){f.xc(e);const i=t.$implicit;return f.dc(3).onSelectedMember(i)})),f.Jc(1),f.ec(2,"userFullName"),f.Rb()}if(2&e){const e=t.$implicit;f.kc("value",e),f.Ab(1),f.Lc(" ",f.fc(2,2,e.user)," ")}}function ke(e,t){if(1&e&&(f.Sb(0,"mat-form-field",6),f.Nb(1,"input",14),f.ec(2,"translate"),f.Sb(3,"mat-autocomplete",8,9),f.Hc(5,Le,3,4,"mat-option",11),f.ec(6,"async"),f.Rb(),f.Rb()),2&e){const e=f.tc(4),t=f.dc(2);f.Ab(1),f.lc("placeholder",f.fc(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.MEMBER_SELECT")),f.kc("formControl",t.memberField)("matAutocomplete",e),f.Ab(2),f.kc("displayWith",t.memberDisplayFn.bind(t)),f.Ab(2),f.kc("ngForOf",f.fc(6,7,t.filteredMembers))}}function Fe(e,t){if(1&e){const e=f.Tb();f.Sb(0,"div",3),f.Hc(1,Ae,13,17,"mat-form-field",4),f.Sb(2,"mat-checkbox",5),f.Zb("change",(function(t){return f.xc(e),f.dc().onOfferAllServices(t)})),f.Jc(3),f.ec(4,"translate"),f.Rb(),f.Hc(5,Ee,7,9,"mat-form-field",4),f.Hc(6,Ce,7,9,"mat-form-field",4),f.Hc(7,ke,7,9,"mat-form-field",4),f.Rb()}if(2&e){const e=f.dc();f.Ab(1),f.kc("ngIf",void 0!==e.services),f.Ab(2),f.Lc(" ",f.fc(4,5,"FACILITY_DETAIL.SERVICE_CONFIG.ALL_SERVICES")," "),f.Ab(2),f.kc("ngIf",void 0!==e.resources&&0!=e.resources.length),f.Ab(1),f.kc("ngIf",void 0!==e.selectedResource&&void 0!==e.groups&&0!=e.groups.length),f.Ab(1),f.kc("ngIf",void 0!==e.selectedGroup&&void 0!==e.members&&0!==e.members.length)}}function _e(e,t){if(1&e&&f.Nb(0,"perun-web-apps-service-configurator",15),2&e){const e=f.dc();f.kc("facility",e.facility)("resource",e.selectedResource)("group",e.selectedGroup)("service",e.selectedService)("member",e.selectedMember)}}let Me=(()=>{class e{constructor(e,t,i,s,a,c,n){this.route=e,this.facilityManager=t,this.resourceManager=i,this.serviceManager=s,this.membersManager=a,this.namePipe=c,this.translate=n,this.selectedService="NOT_SELECTED",this.attrNames=[],this.serviceField=new ue.g,this.resourceField=new ue.g,this.groupField=new ue.g,this.memberField=new ue.g,this.allowedStatuses=["INVALID","VALID"],this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.ALL").subscribe(e=>this.serviceAllTranslation=e),this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED").subscribe(e=>this.serviceNotSelectedTranslation=e)}ngOnInit(){this.route.parent.params.subscribe(e=>{this.facilityManager.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e,this.facilityManager.getAssignedResourcesForFacility(e.id).subscribe(e=>this.resources=e),this.serviceManager.getAssignedServices(e.id).subscribe(e=>this.services=e)})}),this.filteredServices=this.serviceField.valueChanges.pipe(Object(he.a)(""),Object(de.a)(e=>this._filterServices(e))),this.filteredResources=this.resourceField.valueChanges.pipe(Object(he.a)(""),Object(de.a)(e=>this._filterResources(e))),this.filteredGroups=this.groupField.valueChanges.pipe(Object(he.a)(""),Object(de.a)(e=>this._filterGroups(e))),this.filteredMembers=this.memberField.valueChanges.pipe(Object(he.a)(""),Object(de.a)(e=>this._filterMembers(e)))}onSelectedService(e){this.selectedService=e}onSelectedResource(e){this.selectedResource=e,void 0!==this.selectedResource?(this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(e=>this.groups=e),this.selectedGroup=void 0,this.selectedMember=void 0):this.groups=void 0}onOfferAllServices(e){e.checked||this.serviceManager.getAssignedServices(this.facility.id).subscribe(e=>this.services=e)}onSelectedGroup(e){this.selectedGroup=e,void 0!==this.selectedGroup?(this.membersManager.getCompleteRichMembersForGroup(this.selectedGroup.id,!1,this.allowedStatuses,this.attrNames).subscribe(e=>this.members=e),this.selectedMember=void 0):this.members=void 0}onSelectedMember(e){this.selectedMember=e}_filterServices(e){const t=e.toString().toLowerCase();return this.services.filter(e=>e.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(t))}_filterResources(e){const t=e.toString().toLowerCase();return this.resources.filter(e=>e.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(t))}_filterGroups(e){const t=e.toString().toLowerCase();return this.groups.filter(e=>e.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(t))}_filterMembers(e){const t=e.toString().toLowerCase();return this.members.filter(e=>this.namePipe.transform(e.user).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(t))}serviceDisplayFn(e){if(null!==e)return"ALL"===e?this.serviceAllTranslation:"NOT_SELECTED"===e?this.serviceNotSelectedTranslation:e.name}resourceDisplayFn(e){if(null!==e)return e.name}groupDisplayFn(e){if(null!==e)return e.name}memberDisplayFn(e){if(null!==e)return this.namePipe.transform(e.user)}updatedSerVal(e){""===e.target.value&&(this.selectedService="NOT_SELECTED")}updatedResVal(e){""===e.target.value&&(this.groups=void 0,this.members=void 0)}updatedGroupVal(e){""===e.target.value&&(this.members=void 0)}updatedMemVal(e){}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(a.a),f.Mb(o.g),f.Mb(o.m),f.Mb(o.n),f.Mb(o.i),f.Mb(fe.c),f.Mb(A.e))},e.\u0275cmp=f.Gb({type:e,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(e,t){1&e&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Hc(4,Fe,8,7,"div",1),f.Hc(5,_e,1,5,"perun-web-apps-service-configurator",2),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,3,"FACILITY_DETAIL.SERVICE_CONFIG.TITLE")),f.Ab(2),f.kc("ngIf",!!t.facility),f.Ab(1),f.kc("ngIf",!!t.facility))},directives:[s.t,pe.a,ge.c,me.b,ue.c,Ie.d,ue.r,ue.h,Ie.a,Se.n,s.s,s.q],pipes:[A.d,s.b,ye.a],styles:[""]}),e})();var we=i("NU+N");function Oe(e,t){if(1&e&&f.Nb(0,"app-managers-page",1),2&e){const e=f.dc();f.kc("complementaryObject",e.facility)("complementaryObjectType",e.type)("theme",e.theme)("availableRoles",e.availableRoles)}}let De=(()=>{class e{constructor(e,t,i){this.facilityService=e,this.route=t,this.guiAuthResolver=i,this.availableRoles=[],this.selected="user",this.type="Facility",this.theme="facility-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(e=>{this.facilityService.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility")}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(o.g),f.Mb(a.a),f.Mb(u.h))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-perun-web-apps-facility-settings-managers"]],hostVars:2,hostBindings:function(e,t){2&e&&f.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,t){1&e&&f.Hc(0,Oe,1,4,"app-managers-page",0),2&e&&f.kc("ngIf",t.facility)},directives:[s.t,we.a],styles:[""]}),e})();var ze=i("/nwi"),Ne=i("Dkjx"),Ve=i("pgvo");function He(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",8),f.Zb("click",(function(){return f.xc(e),f.dc().addDestination()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD")," "))}function Ye(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",9),f.Zb("click",(function(){return f.xc(e),f.dc().removeDestination()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.REMOVE")," ")}}function Ue(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",10),f.Zb("click",(function(){return f.xc(e),f.dc().onAllow()})),f.Sb(1,"mat-icon"),f.Jc(2," check_circle_outline "),f.Rb(),f.Jc(3),f.ec(4,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length||e.allSelectedAllowed()),f.Ab(3),f.Lc(" ",f.fc(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW")," ")}}function Be(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",10),f.Zb("click",(function(){return f.xc(e),f.dc().onBlock()})),f.Sb(1,"mat-icon"),f.Jc(2," block "),f.Rb(),f.Jc(3),f.ec(4,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length||e.allSelectedBlocked()),f.Ab(3),f.Lc(" ",f.fc(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK")," ")}}function xe(e,t){1&e&&f.Nb(0,"mat-spinner",11)}function Pe(e,t){if(1&e){const e=f.Tb();f.Sb(0,"app-perun-web-apps-destination-list",12),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("destinations",e.destinations)("selection",e.selected)("displayedColumns",e.displayedColumns)}}let Ge=(()=>{class e{constructor(e,t,i,s,a,c,n,l,r){this.dialog=e,this.facilitiesManager=t,this.servicesManager=i,this.tableConfigService=s,this.translate=a,this.notificator=c,this.route=n,this.authResolver=l,this.serviceManager=r,this.selected=new P.c(!0,[]),this.displayedColumns=["select","destinationId","service","destination","type","propagationType"],this.filterValue="",this.tableId=Z.C}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(e=>{this.facilitiesManager.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e,this.refreshTable()})})}refreshTable(){this.loading=!0,this.servicesManager.getAllRichDestinationsForFacility(this.facility.id).subscribe(e=>{this.destinations=e,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 e=Object(b.o)();e.width="600px",e.data={facility:this.facility,theme:"facility-theme"},this.dialog.open(Ne.a,e).afterClosed().subscribe(e=>{e&&this.translate.get("FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD_SUCCESS").subscribe(e=>{this.refreshTable(),this.notificator.showSuccess(e)})})}removeDestination(){const e=Object(b.o)();e.width="600px",e.data={destinations:this.selected.selected,theme:"facility-theme"},this.dialog.open(ze.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}blockServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const t=e.pop();this.serviceManager.blockServiceOnDestination(t.service.id,t.id).subscribe(()=>{this.blockServiceOnDestinations(e)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selected.selected)}allowServiceOnDestinations(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const t=e.pop();this.serviceManager.unblockServiceOnDestinationById(t.service.id,t.id).subscribe(()=>{this.allowServiceOnDestinations(e)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selected.selected)}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}allSelectedAllowed(){return this.selected.selected.reduce((e,t)=>e&&!t.blocked,!0)}allSelectedBlocked(){return this.selected.selected.reduce((e,t)=>e&&t.blocked,!0)}}return e.id="FacilityServicesDestinationsComponent",e.\u0275fac=function(t){return new(t||e)(f.Mb(p.b),f.Mb(o.g),f.Mb(o.n),f.Mb(Z.pb),f.Mb(A.e),f.Mb(u.l),f.Mb(a.a),f.Mb(u.h),f.Mb(o.n))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-perun-web-apps-facility-services-destinations"]],hostVars:2,hostBindings:function(e,t){2&e&&f.Eb("router-component",!0)},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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Hc(5,He,3,3,"button",2),f.Hc(6,Ye,3,4,"button",3),f.Hc(7,Ue,5,4,"button",4),f.Hc(8,Be,5,4,"button",4),f.Sb(9,"perun-web-apps-immediate-filter",5),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.Rb(),f.Hc(10,xe,1,0,"mat-spinner",6),f.Hc(11,Pe,1,5,"app-perun-web-apps-destination-list",7),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,8,"FACILITY_DETAIL.SERVICES_DESTINATIONS.TITLE")),f.Ab(3),f.kc("ngIf",!t.loading&&t.addAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.removeAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.allowAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.blockAuth),f.Ab(1),f.kc("placeholder","FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER"),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[W.a,s.t,K.a,T.b,I.a,m.c,Ve.a],pipes:[A.d],styles:[""]}),e})();var Ze=i("st5j"),Je=i("noDS"),je=i("9Iem");function We(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-refresh-button",7),f.Zb("refresh",(function(){return f.xc(e),f.dc().refreshTable()})),f.Rb()}}function Ke(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",8),f.Zb("click",(function(){return f.xc(e),f.dc().onCreate()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"FACILITY_DETAIL.SETTINGS.OWNERS.ADD"),"\n"))}function $e(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",9),f.Zb("click",(function(){return f.xc(e),f.dc().onRemove()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selection.selected.length),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.SETTINGS.OWNERS.DELETE"),"\n")}}function qe(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-immediate-filter",10),f.Zb("filter",(function(t){return f.xc(e),f.dc().applyFilter(t)})),f.Rb()}2&e&&f.kc("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function Qe(e,t){1&e&&f.Nb(0,"mat-spinner",11)}function Xe(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-owners-list",12),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("owners",e.owners)("displayedColumns",e.displayedColumns)("selection",e.selection)}}let et=(()=>{class e{constructor(e,t,i,s,a){this.facilitiesManagerService=e,this.tableConfigService=t,this.route=i,this.dialog=s,this.authResolver=a,this.owners=[],this.selection=new P.c(!0,[]),this.displayedColumns=["id","name","contact","type"],this.tableId=Z.y}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.filterValue="",this.route.parent.parent.params.subscribe(e=>{this.facilityId=parseInt(e.facilityId,10),this.facility={id:this.facilityId,beanName:"Facility"},this.refreshTable()})}refreshTable(){this.loading=!0,this.selection.clear(),this.facilitiesManagerService.getFacilityOwners(this.facilityId).subscribe(e=>{this.owners=e,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(e){this.filterValue=e}onCreate(){const e=Object(b.o)();e.width="800px",e.data={theme:"facility-theme",facilityId:this.facilityId,forbiddenOwners:this.owners.map(e=>e.id)},this.dialog.open(Ze.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}onRemove(){const e=Object(b.o)();e.width="600px",e.data={theme:"facility-theme",owners:this.selection.selected,facilityId:this.facilityId},this.dialog.open(Je.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(o.g),f.Mb(Z.pb),f.Mb(a.a),f.Mb(p.b),f.Mb(u.h))},e.\u0275cmp=f.Gb({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&&(f.Sb(0,"h1",0),f.Jc(1),f.ec(2,"translate"),f.Rb(),f.Hc(3,We,1,0,"perun-web-apps-refresh-button",1),f.Hc(4,Ke,3,3,"button",2),f.Hc(5,$e,3,4,"button",3),f.Hc(6,qe,1,1,"perun-web-apps-immediate-filter",4),f.Hc(7,Qe,1,0,"mat-spinner",5),f.Hc(8,Xe,1,5,"perun-web-apps-owners-list",6)),2&e&&(f.Ab(1),f.Kc(f.fc(2,7,"FACILITY_DETAIL.SETTINGS.OWNERS.TITLE")),f.Ab(2),f.kc("ngIf",!t.loading),f.Ab(1),f.kc("ngIf",!t.loading&&t.addAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.removeAuth),f.Ab(1),f.kc("ngIf",!t.loading),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[s.t,W.a,T.b,K.a,m.c,je.a],pipes:[A.d],styles:[""]}),e})();var tt=i("dnAU"),it=i("vUrr"),st=i("gdiH");function at(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",7),f.Zb("click",(function(){return f.xc(e),f.dc().addHost()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"FACILITY_DETAIL.HOSTS.ADD")," "))}function ct(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",8),f.Zb("click",(function(){return f.xc(e),f.dc().removeHost()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.HOSTS.REMOVE")," ")}}function nt(e,t){1&e&&f.Nb(0,"mat-spinner",9)}function lt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"app-hosts-list",10),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("hosts",e.hosts)("selection",e.selected)("displayedColumns",e.displayedColumns)("disableRouting",!e.routeAuth)("facilityId",e.facilityId)}}let rt=(()=>{class e{constructor(e,t,i,s,a){this.dialog=e,this.facilitiesManager=t,this.tableConfigService=i,this.route=s,this.authResolver=a,this.hosts=[],this.selected=new P.c(!0,[]),this.filterValue="",this.tableId=Z.x,this.displayedColumns=["id","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.facilityId=e.facilityId,this.facilitiesManager.getFacilityById(this.facilityId).subscribe(e=>{this.facility=e,this.refreshTable()})})}refreshTable(){this.loading=!0,this.facilitiesManager.getHosts(this.facilityId).subscribe(e=>{this.hosts=e,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 e=Object(b.o)();e.width="600px",e.data={facilityId:this.facility.id,facilityName:this.facility.name,theme:"facility-theme"},this.dialog.open(tt.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}removeHost(){const e=Object(b.o)();e.width="600px",e.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(it.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}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)(f.Mb(p.b),f.Mb(o.g),f.Mb(Z.pb),f.Mb(a.a),f.Mb(u.h))},e.\u0275cmp=f.Gb({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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Hc(5,at,3,3,"button",2),f.Hc(6,ct,3,4,"button",3),f.Sb(7,"perun-web-apps-immediate-filter",4),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.Rb(),f.Hc(8,nt,1,0,"mat-spinner",5),f.Hc(9,lt,1,7,"app-hosts-list",6),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),f.Ab(3),f.kc("ngIf",!t.loading&&t.addAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.removeAuth),f.Ab(1),f.kc("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[W.a,s.t,K.a,T.b,m.c,st.a],pipes:[A.d],styles:[""]}),e})();var ot=i("77So");function bt(e,t){1&e&&f.Nb(0,"mat-spinner",5)}function ut(e,t){if(1&e){const e=f.Tb();f.Sb(0,"app-perun-web-apps-blacklist-list",6),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("bansOnFacilitiesWithUsers",e.bansOnFacilitiesWithUsers)("selection",e.selected)}}let ht=(()=>{class e{constructor(e,t,i,s){this.facilitiesManager=e,this.usersManager=t,this.tableConfigService=i,this.route=s,this.bansOnFacilitiesWithUsers=[],this.selected=new P.c(!0,[]),this.filterValue="",this.tableId=Z.w}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.facilitiesManager.getBansForFacility(e.facilityId).subscribe(e=>{const t=e;for(const i of t){let e;this.usersManager.getUserById(i.userId).subscribe(t=>{e=t}),this.bansOnFacilitiesWithUsers.push([i,e])}this.selected.clear(),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)(f.Mb(o.g),f.Mb(o.q),f.Mb(Z.pb),f.Mb(a.a))},e.\u0275cmp=f.Gb({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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Sb(5,"perun-web-apps-immediate-filter",2),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.ec(6,"translate"),f.Rb(),f.Hc(7,bt,1,0,"mat-spinner",3),f.Hc(8,ut,1,4,"app-perun-web-apps-blacklist-list",4),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),f.Ab(3),f.kc("placeholder",f.fc(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),f.Ab(2),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[W.a,K.a,s.t,m.c,ot.a],pipes:[A.d],styles:[""]}),e})();const dt=["list"];function ft(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-attributes-list",6,7),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("attributes",e.attributes)("selection",e.selected)}}let pt=(()=>{class e{constructor(e,t,i,s,a){this.dialog=e,this.attributesManager=t,this.facilityManager=i,this.tableConfigService=s,this.route=a,this.attributes=[],this.selected=new P.c(!0,[]),this.host={beanName:"",id:0},this.tableId=Z.r}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(e=>{this.hostId=e.hostId,this.facilityManager.getHostById(this.hostId).subscribe(e=>{this.host=e}),this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(e=>{this.attributes=Object(b.j)(e),this.selected.clear(),this.loading=!1})}onSave(){this.list.updateMapAttributes();const e=Object(b.o)();e.width="450px",e.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(h.f,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}addAttribute(){const e=Object(b.o)();e.width="1050px",e.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(J.a,e).afterClosed().subscribe(e=>{"saved"===e&&this.refreshTable()})}removeAttribute(){const e=Object(b.o)();e.width="450px",e.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(G.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(p.b),f.Mb(o.c),f.Mb(o.g),f.Mb(Z.pb),f.Mb(a.a))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-facility-hosts-detail"]],viewQuery:function(e,t){var i;1&e&&f.Qc(dt,!0),2&e&&f.sc(i=f.ac())&&(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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Sb(5,"button",2),f.Zb("click",(function(){return t.addAttribute()})),f.Jc(6),f.ec(7,"translate"),f.Rb(),f.Sb(8,"button",3),f.Zb("click",(function(){return t.onSave()})),f.Jc(9),f.ec(10,"translate"),f.Rb(),f.Sb(11,"button",4),f.Zb("click",(function(){return t.removeAttribute()})),f.Jc(12),f.ec(13,"translate"),f.Rb(),f.Hc(14,ft,2,3,"perun-web-apps-attributes-list",5),f.Rb()),2&e&&(f.Ab(2),f.Mc(" ",f.fc(3,8,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",t.host.hostname,""),f.Ab(4),f.Lc(" ",f.fc(7,10,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),f.Ab(2),f.kc("disabled",0===t.selected.selected.length),f.Ab(1),f.Lc(" ",f.fc(10,12,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),f.Ab(2),f.kc("disabled",0===t.selected.selected.length),f.Ab(1),f.Lc(" ",f.fc(13,14,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),f.Ab(2),f.kc("ngIf",!t.loading))},directives:[W.a,T.b,s.t,$.a],pipes:[A.d],styles:[""]}),e})();var gt=i("iT3j");function mt(e,t){1&e&&f.Nb(0,"mat-spinner",5)}function It(e,t){if(1&e){const e=f.Tb();f.Sb(0,"app-security-teams-list",6),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("securityTeams",e.securityTeams)("displayedColumns",e.displayedColumns)("selection",e.selected)}}let St=(()=>{class e{constructor(e,t,i,s,a){this.dialog=e,this.facilitiesManager=t,this.tableConfigService=i,this.route=s,this.authResolver=a,this.securityTeams=[],this.selected=new P.c(!0,[]),this.filterValue="",this.tableId=Z.A,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.facilitiesManager.getFacilityById(e.facilityId).subscribe(e=>{this.facility=e,this.refreshTable()})})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(e=>{this.securityTeams=e,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(e){this.filterValue=e}addSecurityTeam(){}removeSecurityTeam(){}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(p.b),f.Mb(o.g),f.Mb(Z.pb),f.Mb(a.a),f.Mb(u.h))},e.\u0275cmp=f.Gb({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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Sb(5,"perun-web-apps-immediate-filter",2),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.Rb(),f.Hc(6,mt,1,0,"mat-spinner",3),f.Hc(7,It,1,5,"app-security-teams-list",4),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),f.Ab(3),f.kc("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[W.a,K.a,s.t,m.c,gt.a],pipes:[A.d],styles:[""]}),e})();var yt=i("Fm3m"),Tt=i("TNye"),At=i("CIWc"),vt=i("RCwe"),Et=i("NMas"),Rt=i("Jb3d"),Ct=i("WLDY");function Lt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",11),f.Zb("click",(function(){return f.xc(e),f.dc().forcePropagation()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function kt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",11),f.Zb("click",(function(){return f.xc(e),f.dc().allow()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length||e.disableAllowButton),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function Ft(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",12),f.Zb("click",(function(){return f.xc(e),f.dc().block()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc();f.kc("disabled",0===e.selected.selected.length||e.disableBlockButton),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function _t(e,t){if(1&e&&(f.Sb(0,"button",13),f.ec(1,"translate"),f.Jc(2),f.ec(3,"translate"),f.Rb()),2&e){const e=f.dc(),t=f.tc(10);f.lc("matTooltip",f.fc(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),f.kc("matTooltipDisabled",!e.disableRemoveButton)("disabled",e.disableRemoveButton)("matMenuTriggerFor",t),f.Ab(2),f.Lc(" ",f.fc(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Mt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",7),f.Zb("click",(function(){return f.xc(e),f.dc().removeTaskResults()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function wt(e,t){1&e&&f.Nb(0,"mat-spinner",14)}function Ot(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-services-status-list",15),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)}))("selectionChange",(function(){return f.xc(e),f.dc().selectionChanged()})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("filterValue",e.filterValue)("servicesStatus",e.servicesStates)("selection",e.selected)("disableRouting",!e.routeAuth)}}let Dt=(()=>{class e{constructor(e,t,i,s,a,c,n,l,r,o){this.route=e,this.tasksManager=t,this.tableConfigService=i,this.servicesManager=s,this.notificator=a,this.translate=c,this.authResolver=n,this.facilityManager=l,this.resourcesManager=r,this.dialog=o,this.servicesStates=[],this.selected=new P.c(!0,[]),this.filterValue="",this.tableId=Z.D,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,c.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(e=>this.successFPMessage=e),c.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(e=>this.successAllowMessage=e),c.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(e=>this.successBlockMessage=e),c.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(e=>this.successDeleteMessage=e),c.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(e=>this.allreadyDeletedMessage=e)}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.facilityId=parseInt(e.facilityId,10),this.facility={id:this.facilityId,beanName:"Facility"},this.refreshTable()})}forcePropagation(){for(const e of this.selected.selected)this.servicesManager.forceServicePropagation(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successFPMessage)})}allow(){for(const e of this.selected.selected)this.servicesManager.unblockServiceOnFacility(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successAllowMessage)})}block(){for(const e of this.selected.selected)this.servicesManager.blockServiceOnFacility(e.service.id,e.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successBlockMessage)})}removeTaskResults(){this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(e=>{const t=Object(b.o)();t.width="600px",t.data={theme:"facility-theme",taskResults:e},this.dialog.open(At.a,t)})}removeServiceFromFacility(){this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(e=>{const t=Object(b.o)();t.width="600px",this.taskId=this.taskIsNull?null:this.selected.selected[0].task.id,0===e.length?(t.data={theme:"facility-theme",taskId:this.taskId},this.dialog.open(Et.a,t).afterClosed().subscribe(e=>{e&&(this.disableRemoveButton=!0,this.refreshTable())})):this.resourcesManager.getRichResourcesByIds(e.map(e=>e.id)).subscribe(e=>{t.data={theme:"facility-theme",taskId:this.taskId,serviceId:this.selected.selected[0].service.id,facilityId:this.selected.selected[0].facility.id,resource:e},this.dialog.open(vt.a,t).afterClosed().subscribe(e=>{e&&(this.disableRemoveButton=!0,this.refreshTable())})})})}refreshTable(){this.loading=!0,this.tasksManager.getFacilityServicesState(this.facilityId).subscribe(e=>{this.servicesStates=e,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(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.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 e of this.selected.selected)e.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}return e.\u0275fac=function(t){return new(t||e)(f.Mb(a.a),f.Mb(o.o),f.Mb(Z.pb),f.Mb(o.n),f.Mb(u.l),f.Mb(A.e),f.Mb(u.h),f.Mb(o.g),f.Mb(o.m),f.Mb(p.b))},e.\u0275cmp=f.Gb({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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return t.refreshTable()})),f.Rb(),f.Hc(5,Lt,3,4,"button",2),f.Hc(6,kt,3,4,"button",2),f.Hc(7,Ft,3,4,"button",3),f.Hc(8,_t,4,9,"button",4),f.Sb(9,"mat-menu",null,5),f.Hc(11,Mt,3,3,"button",6),f.Sb(12,"button",7),f.Zb("click",(function(){return t.removeServiceFromFacility()})),f.Jc(13),f.ec(14,"translate"),f.Rb(),f.Rb(),f.Sb(15,"perun-web-apps-immediate-filter",8),f.Zb("filter",(function(e){return t.applyFilter(e)})),f.Rb(),f.Hc(16,wt,1,0,"mat-spinner",9),f.Hc(17,Ot,1,5,"perun-web-apps-services-status-list",10),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),f.Ab(3),f.kc("ngIf",!t.loading&&t.propagationAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.allowAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.blockAuth),f.Ab(1),f.kc("ngIf",!t.loading&&t.deleteAuth),f.Ab(3),f.kc("ngIf",!t.taskIsNull),f.Ab(2),f.Kc(f.fc(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")),f.Ab(2),f.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading))},directives:[W.a,s.t,Rt.e,Rt.b,K.a,T.b,S.a,Rt.d,m.c,Ct.a],pipes:[A.d],styles:[""]}),e})();var zt=i("FcRk"),Nt=i("NC8S");function Vt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-refresh-button",6),f.Zb("refresh",(function(){return f.xc(e),f.dc().refreshTable()})),f.Rb()}}function Ht(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-immediate-filter",7),f.Zb("filter",(function(t){return f.xc(e),f.dc().applyFilter(t)})),f.Rb()}2&e&&f.kc("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER")}function Yt(e,t){1&e&&f.Nb(0,"mat-spinner",8)}function Ut(e,t){1&e&&(f.Sb(0,"app-alert",9),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&e&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"FACILITY_DETAIL.ALLOWED_USERS.NO_USERS")," "))}const Bt=function(){return["id","name"]};function xt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"app-users-list",10),f.Zb("page",(function(t){return f.xc(e),f.dc().pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc();f.kc("pageSize",e.pageSize)("users",e.users)("displayedColumns",f.oc(5,Bt))("disableRouting",!e.routeAuth)("filter",e.filterValue)}}let Pt=(()=>{class e{constructor(e,t,i,s){this.route=e,this.facilityService=t,this.tableConfigService=i,this.authResolver=s,this.loading=!1,this.filterValue="",this.tableId=Z.v}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.facilityId=e.facilityId,this.routeAuth=this.authResolver.isPerunAdmin(),this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityService.getAssignedUsers(this.facilityId).subscribe(e=>{this.users=e,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)(f.Mb(a.a),f.Mb(o.g),f.Mb(Z.pb),f.Mb(u.h))},e.\u0275cmp=f.Gb({type:e,selectors:[["app-facility-allowed-users"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page"]],template:function(e,t){1&e&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Hc(4,Vt,1,0,"perun-web-apps-refresh-button",1),f.Hc(5,Ht,1,1,"perun-web-apps-immediate-filter",2),f.Hc(6,Yt,1,0,"mat-spinner",3),f.Hc(7,Ut,3,3,"app-alert",4),f.Hc(8,xt,1,6,"app-users-list",5),f.Rb()),2&e&&(f.Ab(2),f.Kc(f.fc(3,6,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),f.Ab(2),f.kc("ngIf",!t.loading),f.Ab(1),f.kc("ngIf",!t.loading),f.Ab(1),f.kc("ngIf",t.loading),f.Ab(1),f.kc("ngIf",!t.loading&&(void 0===t.users||0===t.users.length)),f.Ab(1),f.kc("ngIf",!t.loading&&0!==t.users.length))},directives:[s.t,W.a,K.a,m.c,zt.a,Nt.a],pipes:[A.d],styles:[""]}),e})();var Gt=i("lfUW"),Zt=i("COMt");function Jt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"button",8),f.Zb("click",(function(){return f.xc(e),f.dc(2).removeTaskResult()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&e){const e=f.dc(2);f.kc("disabled",0===e.selection.selected.length),f.Ab(1),f.Lc(" ",f.fc(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE")," ")}}function jt(e,t){1&e&&f.Nb(0,"mat-spinner",9)}function Wt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"perun-web-apps-task-results-list",10),f.Zb("page",(function(t){return f.xc(e),f.dc(2).pageChanged(t)})),f.Rb()}if(2&e){const e=f.dc(2);f.kc("displayedColumns",e.displayedColumns)("filterValue",e.filterValue)("pageSize",e.pageSize)("selection",e.selection)("taskResults",e.taskResults)}}function Kt(e,t){if(1&e){const e=f.Tb();f.Sb(0,"div"),f.Sb(1,"h1",1),f.Jc(2),f.ec(3,"translate"),f.Sb(4,"span",2),f.Jc(5),f.Rb(),f.Rb(),f.Sb(6,"perun-web-apps-refresh-button",3),f.Zb("refresh",(function(){return f.xc(e),f.dc().refreshTable()})),f.Rb(),f.Hc(7,Jt,3,4,"button",4),f.Sb(8,"perun-web-apps-immediate-filter",5),f.Zb("filter",(function(t){return f.xc(e),f.dc().applyFilter(t)})),f.Rb(),f.Hc(9,jt,1,0,"mat-spinner",6),f.Hc(10,Wt,1,5,"perun-web-apps-task-results-list",7),f.Rb()}if(2&e){const e=f.dc();f.Ab(2),f.Mc("",f.fc(3,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",e.task.service.name," "),f.Ab(3),f.Lc(" \xa0#",e.task.id," "),f.Ab(2),f.kc("ngIf",!e.loading&&e.removeAuth),f.Ab(1),f.kc("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),f.Ab(1),f.kc("ngIf",e.loading),f.Ab(1),f.kc("ngIf",!e.loading)}}const $t=[{path:"",component:c.a},{path:":facilityId",component:F,children:[{path:"",component:O,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:ne,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:D.a,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:Pt,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:z.a,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:Dt,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:(()=>{class e{constructor(e,t,i,s,a){this.route=e,this.tableConfigService=t,this.taskManager=i,this.authResolver=s,this.dialog=a,this.loading=!1,this.filterValue="",this.selection=new P.c(!0,[]),this.tableId=Z.Y,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(e=>{this.facility={id:parseInt(e.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(e=>{this.taskId=e.taskId,this.taskManager.getTaskById(this.taskId).subscribe(e=>{this.task=e,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(e=>{this.selection.clear(),this.taskResults=e,this.loading=!1})}removeTaskResult(){const e=Object(b.o)();e.width="600px",e.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(At.a,e).afterClosed().subscribe(e=>{e&&this.refreshTable()})}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)(f.Mb(a.a),f.Mb(Z.pb),f.Mb(o.o),f.Mb(u.h),f.Mb(p.b))},e.\u0275cmp=f.Gb({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&&f.Hc(0,Kt,11,9,"div",0),2&e&&f.kc("ngIf",!t.loading)},directives:[s.t,W.a,K.a,T.b,m.c,Zt.a],pipes:[A.d],styles:[""]}),e})(),data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:Me,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:Ge,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:rt,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:pt,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:H,children:[{path:"",component:B,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:et,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:De,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:St,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:ht,data:{animation:"FacilitySettingsBlackListPage"}}]}]},{path:":facilityId/resources/:resourceId",component:N.a,children:[{path:"",component:V.a,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:oe.a,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:be.a,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Tt.a,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:Gt.a,data:{animation:"ResourceAssignedMembersComponent"}},{path:"settings",component:le.a,children:[{path:"",component:re.a,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:yt.a,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let qt=(()=>{class e{}return e.\u0275mod=f.Kb({type:e}),e.\u0275inj=f.Jb({factory:function(t){return new(t||e)},imports:[[a.j.forChild($t)],a.j]}),e})();var Qt=i("PCNd"),Xt=i("KoHB"),ei=i("zrcO");let ti=(()=>{class e{}return e.\u0275mod=f.Kb({type:e}),e.\u0275inj=f.Jb({factory:function(t){return new(t||e)},providers:[fe.c],imports:[[s.c,qt,Qt.a,Xt.a,x.d,fe.b,ei.UsersModule]]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/8-es5.03a25cf20894a129f2a7.js b/dist/apps/admin-gui/8-es5.03a25cf20894a129f2a7.js new file mode 100644 index 000000000..a0e2cc181 --- /dev/null +++ b/dist/apps/admin-gui/8-es5.03a25cf20894a129f2a7.js @@ -0,0 +1 @@ +!function(){function e(e,i){var a;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){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 s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}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 c,r=!0,l=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return r=e.done,e},e:function(e){l=!0,c=e},f:function(){try{r||null==a.return||a.return()}finally{if(l)throw c}}}}function t(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=Object(d.o)();t.width="600px",t.data={facilityId:this.facility.id,facilityName:this.facility.name,theme:"facility-theme"},this.dialog.open(dt.a,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"removeHost",value:function(){var e=this,t=Object(d.o)();t.width="600px",t.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(ht.a,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}()).\u0275fac=function(e){return new(e||It)(m.Mb(y.b),m.Mb(f.g),m.Mb(Q.pb),m.Mb(r.a),m.Mb(h.h))},It.\u0275cmp=m.Gb({type:It,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&&(m.Sb(0,"div"),m.Sb(1,"h1",0),m.Jc(2),m.ec(3,"translate"),m.Rb(),m.Sb(4,"perun-web-apps-refresh-button",1),m.Zb("refresh",(function(){return t.refreshTable()})),m.Rb(),m.Hc(5,gt,3,3,"button",2),m.Hc(6,mt,3,4,"button",3),m.Sb(7,"perun-web-apps-immediate-filter",4),m.Zb("filter",(function(e){return t.applyFilter(e)})),m.Rb(),m.Hc(8,yt,1,0,"mat-spinner",5),m.Hc(9,vt,1,7,"app-hosts-list",6),m.Rb()),2&e&&(m.Ab(2),m.Kc(m.fc(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),m.Ab(3),m.kc("ngIf",!t.loading&&t.addAuth),m.Ab(1),m.kc("ngIf",!t.loading&&t.removeAuth),m.Ab(1),m.kc("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),m.Ab(1),m.kc("ngIf",t.loading),m.Ab(1),m.kc("ngIf",!t.loading))},directives:[te.a,c.t,ie.a,k.b,I.c,pt.a],pipes:[E.d],styles:[""]}),It),Tt=n("77So");function At(e,t){1&e&&m.Nb(0,"mat-spinner",5)}function kt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"app-perun-web-apps-blacklist-list",6),m.Zb("page",(function(e){return m.xc(i),m.dc().pageChanged(e)})),m.Rb()}if(2&e){var a=m.dc();m.kc("pageSize",a.pageSize)("filterValue",a.filterValue)("bansOnFacilitiesWithUsers",a.bansOnFacilitiesWithUsers)("selection",a.selected)}}var Et,Rt=((Et=function(){function t(e,a,s,n){i(this,t),this.facilitiesManager=e,this.usersManager=a,this.tableConfigService=s,this.route=n,this.bansOnFacilitiesWithUsers=[],this.selected=new $.c(!0,[]),this.filterValue="",this.tableId=Q.w}return s(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.parent.params.subscribe((function(i){t.facilitiesManager.getBansForFacility(i.facilityId).subscribe((function(i){var a,s=e(i);try{for(s.s();!(a=s.n()).done;){var n=a.value,c=void 0;t.usersManager.getUserById(n.userId).subscribe((function(e){c=e})),t.bansOnFacilitiesWithUsers.push([n,c])}}catch(r){s.e(r)}finally{s.f()}t.selected.clear(),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)}}]),t}()).\u0275fac=function(e){return new(e||Et)(m.Mb(f.g),m.Mb(f.q),m.Mb(Q.pb),m.Mb(r.a))},Et.\u0275cmp=m.Gb({type:Et,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&&(m.Sb(0,"div"),m.Sb(1,"h1",0),m.Jc(2),m.ec(3,"translate"),m.Rb(),m.Sb(4,"perun-web-apps-refresh-button",1),m.Zb("refresh",(function(){return t.refreshTable()})),m.Rb(),m.Sb(5,"perun-web-apps-immediate-filter",2),m.Zb("filter",(function(e){return t.applyFilter(e)})),m.ec(6,"translate"),m.Rb(),m.Hc(7,At,1,0,"mat-spinner",3),m.Hc(8,kt,1,4,"app-perun-web-apps-blacklist-list",4),m.Rb()),2&e&&(m.Ab(2),m.Kc(m.fc(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),m.Ab(3),m.kc("placeholder",m.fc(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),m.Ab(2),m.kc("ngIf",t.loading),m.Ab(1),m.kc("ngIf",!t.loading))},directives:[te.a,ie.a,c.t,I.c,Tt.a],pipes:[E.d],styles:[""]}),Et),Ct=["list"];function Lt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"perun-web-apps-attributes-list",6,7),m.Zb("page",(function(e){return m.xc(i),m.dc().pageChanged(e)})),m.Rb()}if(2&e){var a=m.dc();m.kc("pageSize",a.pageSize)("attributes",a.attributes)("selection",a.selected)}}var Ft,_t=((Ft=function(){function e(t,a,s,n,c){i(this,e),this.dialog=t,this.attributesManager=a,this.facilityManager=s,this.tableConfigService=n,this.route=c,this.attributes=[],this.selected=new $.c(!0,[]),this.host={beanName:"",id:0},this.tableId=Q.r}return s(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=Object(d.j)(t),e.selected.clear(),e.loading=!1}))}},{key:"onSave",value:function(){var e=this;this.list.updateMapAttributes();var t=Object(d.o)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(p.f,t).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}},{key:"addAttribute",value:function(){var e=this,t=Object(d.o)();t.width="1050px",t.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(X.a,t).afterClosed().subscribe((function(t){"saved"===t&&e.refreshTable()}))}},{key:"removeAttribute",value:function(){var e=this,t=Object(d.o)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(q.a,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}()).\u0275fac=function(e){return new(e||Ft)(m.Mb(y.b),m.Mb(f.c),m.Mb(f.g),m.Mb(Q.pb),m.Mb(r.a))},Ft.\u0275cmp=m.Gb({type:Ft,selectors:[["app-facility-hosts-detail"]],viewQuery:function(e,t){var i;1&e&&m.Qc(Ct,!0),2&e&&m.sc(i=m.ac())&&(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&&(m.Sb(0,"div"),m.Sb(1,"h1",0),m.Jc(2),m.ec(3,"translate"),m.Rb(),m.Sb(4,"perun-web-apps-refresh-button",1),m.Zb("refresh",(function(){return t.refreshTable()})),m.Rb(),m.Sb(5,"button",2),m.Zb("click",(function(){return t.addAttribute()})),m.Jc(6),m.ec(7,"translate"),m.Rb(),m.Sb(8,"button",3),m.Zb("click",(function(){return t.onSave()})),m.Jc(9),m.ec(10,"translate"),m.Rb(),m.Sb(11,"button",4),m.Zb("click",(function(){return t.removeAttribute()})),m.Jc(12),m.ec(13,"translate"),m.Rb(),m.Hc(14,Lt,2,3,"perun-web-apps-attributes-list",5),m.Rb()),2&e&&(m.Ab(2),m.Mc(" ",m.fc(3,8,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",t.host.hostname,""),m.Ab(4),m.Lc(" ",m.fc(7,10,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),m.Ab(2),m.kc("disabled",0===t.selected.selected.length),m.Ab(1),m.Lc(" ",m.fc(10,12,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),m.Ab(2),m.kc("disabled",0===t.selected.selected.length),m.Ab(1),m.Lc(" ",m.fc(13,14,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),m.Ab(2),m.kc("ngIf",!t.loading))},directives:[te.a,k.b,c.t,ae.a],pipes:[E.d],styles:[""]}),Ft),Mt=n("iT3j");function wt(e,t){1&e&&m.Nb(0,"mat-spinner",5)}function Ot(e,t){if(1&e){var i=m.Tb();m.Sb(0,"app-security-teams-list",6),m.Zb("page",(function(e){return m.xc(i),m.dc().pageChanged(e)})),m.Rb()}if(2&e){var a=m.dc();m.kc("pageSize",a.pageSize)("filterValue",a.filterValue)("securityTeams",a.securityTeams)("displayedColumns",a.displayedColumns)("selection",a.selected)}}var Dt,zt=((Dt=function(){function e(t,a,s,n,c){i(this,e),this.dialog=t,this.facilitiesManager=a,this.tableConfigService=s,this.route=n,this.authResolver=c,this.securityTeams=[],this.selected=new $.c(!0,[]),this.filterValue="",this.tableId=Q.A,this.displayedColumns=[]}return s(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}()).\u0275fac=function(e){return new(e||Dt)(m.Mb(y.b),m.Mb(f.g),m.Mb(Q.pb),m.Mb(r.a),m.Mb(h.h))},Dt.\u0275cmp=m.Gb({type:Dt,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&&(m.Sb(0,"div"),m.Sb(1,"h1",0),m.Jc(2),m.ec(3,"translate"),m.Rb(),m.Sb(4,"perun-web-apps-refresh-button",1),m.Zb("refresh",(function(){return t.refreshTable()})),m.Rb(),m.Sb(5,"perun-web-apps-immediate-filter",2),m.Zb("filter",(function(e){return t.applyFilter(e)})),m.Rb(),m.Hc(6,wt,1,0,"mat-spinner",3),m.Hc(7,Ot,1,5,"app-security-teams-list",4),m.Rb()),2&e&&(m.Ab(2),m.Kc(m.fc(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),m.Ab(3),m.kc("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),m.Ab(1),m.kc("ngIf",t.loading),m.Ab(1),m.kc("ngIf",!t.loading))},directives:[te.a,ie.a,c.t,I.c,Mt.a],pipes:[E.d],styles:[""]}),Dt),Nt=n("Fm3m"),Vt=n("TNye"),Ht=n("CIWc"),Yt=n("RCwe"),Ut=n("NMas"),Bt=n("Jb3d"),xt=n("WLDY");function Pt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"button",11),m.Zb("click",(function(){return m.xc(i),m.dc().forcePropagation()})),m.Jc(1),m.ec(2,"translate"),m.Rb()}if(2&e){var a=m.dc();m.kc("disabled",0===a.selected.selected.length),m.Ab(1),m.Lc(" ",m.fc(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function Gt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"button",11),m.Zb("click",(function(){return m.xc(i),m.dc().allow()})),m.Jc(1),m.ec(2,"translate"),m.Rb()}if(2&e){var a=m.dc();m.kc("disabled",0===a.selected.selected.length||a.disableAllowButton),m.Ab(1),m.Lc(" ",m.fc(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function Zt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"button",12),m.Zb("click",(function(){return m.xc(i),m.dc().block()})),m.Jc(1),m.ec(2,"translate"),m.Rb()}if(2&e){var a=m.dc();m.kc("disabled",0===a.selected.selected.length||a.disableBlockButton),m.Ab(1),m.Lc(" ",m.fc(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function Jt(e,t){if(1&e&&(m.Sb(0,"button",13),m.ec(1,"translate"),m.Jc(2),m.ec(3,"translate"),m.Rb()),2&e){var i=m.dc(),a=m.tc(10);m.lc("matTooltip",m.fc(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),m.kc("matTooltipDisabled",!i.disableRemoveButton)("disabled",i.disableRemoveButton)("matMenuTriggerFor",a),m.Ab(2),m.Lc(" ",m.fc(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function jt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"button",7),m.Zb("click",(function(){return m.xc(i),m.dc().removeTaskResults()})),m.Jc(1),m.ec(2,"translate"),m.Rb()}2&e&&(m.Ab(1),m.Lc(" ",m.fc(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function Wt(e,t){1&e&&m.Nb(0,"mat-spinner",14)}function Kt(e,t){if(1&e){var i=m.Tb();m.Sb(0,"perun-web-apps-services-status-list",15),m.Zb("page",(function(e){return m.xc(i),m.dc().pageChanged(e)}))("selectionChange",(function(){return m.xc(i),m.dc().selectionChanged()})),m.Rb()}if(2&e){var a=m.dc();m.kc("pageSize",a.pageSize)("filterValue",a.filterValue)("servicesStatus",a.servicesStates)("selection",a.selected)("disableRouting",!a.routeAuth)}}var $t,qt=(($t=function(){function t(e,a,s,n,c,r,l,o,u,b){var f=this;i(this,t),this.route=e,this.tasksManager=a,this.tableConfigService=s,this.servicesManager=n,this.notificator=c,this.translate=r,this.authResolver=l,this.facilityManager=o,this.resourcesManager=u,this.dialog=b,this.servicesStates=[],this.selected=new $.c(!0,[]),this.filterValue="",this.tableId=Q.D,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe((function(e){return f.successFPMessage=e})),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe((function(e){return f.successAllowMessage=e})),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe((function(e){return f.successBlockMessage=e})),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe((function(e){return f.successDeleteMessage=e})),r.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe((function(e){return f.allreadyDeletedMessage=e}))}return s(t,[{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 t,i=this,a=e(this.selected.selected);try{for(a.s();!(t=a.n()).done;){var s=t.value;this.servicesManager.forceServicePropagation(s.service.id,s.facility.id).subscribe((function(){i.refreshTable(),i.notificator.showSuccess(i.successFPMessage)}))}}catch(n){a.e(n)}finally{a.f()}}},{key:"allow",value:function(){var t,i=this,a=e(this.selected.selected);try{for(a.s();!(t=a.n()).done;){var s=t.value;this.servicesManager.unblockServiceOnFacility(s.service.id,s.facility.id).subscribe((function(){i.refreshTable(),i.notificator.showSuccess(i.successAllowMessage)}))}}catch(n){a.e(n)}finally{a.f()}}},{key:"block",value:function(){var t,i=this,a=e(this.selected.selected);try{for(a.s();!(t=a.n()).done;){var s=t.value;this.servicesManager.blockServiceOnFacility(s.service.id,s.facility.id).subscribe((function(){i.refreshTable(),i.notificator.showSuccess(i.successBlockMessage)}))}}catch(n){a.e(n)}finally{a.f()}}},{key:"removeTaskResults",value:function(){var e=this;this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe((function(t){var i=Object(d.o)();i.width="600px",i.data={theme:"facility-theme",taskResults:t},e.dialog.open(Ht.a,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=Object(d.o)();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(Ut.a,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(Yt.a,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 t,i=e(this.selected.selected);try{for(i.s();!(t=i.n()).done;)t.value.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}catch(a){i.e(a)}finally{i.f()}}}]),t}()).\u0275fac=function(e){return new(e||$t)(m.Mb(r.a),m.Mb(f.o),m.Mb(Q.pb),m.Mb(f.n),m.Mb(h.l),m.Mb(E.e),m.Mb(h.h),m.Mb(f.g),m.Mb(f.m),m.Mb(y.b))},$t.\u0275cmp=m.Gb({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(e,t){1&e&&(m.Sb(0,"div"),m.Sb(1,"h1",0),m.Jc(2),m.ec(3,"translate"),m.Rb(),m.Sb(4,"perun-web-apps-refresh-button",1),m.Zb("refresh",(function(){return t.refreshTable()})),m.Rb(),m.Hc(5,Pt,3,4,"button",2),m.Hc(6,Gt,3,4,"button",2),m.Hc(7,Zt,3,4,"button",3),m.Hc(8,Jt,4,9,"button",4),m.Sb(9,"mat-menu",null,5),m.Hc(11,jt,3,3,"button",6),m.Sb(12,"button",7),m.Zb("click",(function(){return t.removeServiceFromFacility()})),m.Jc(13),m.ec(14,"translate"),m.Rb(),m.Rb(),m.Sb(15,"perun-web-apps-immediate-filter",8),m.Zb("filter",(function(e){return t.applyFilter(e)})),m.Rb(),m.Hc(16,Wt,1,0,"mat-spinner",9),m.Hc(17,Kt,1,5,"perun-web-apps-services-status-list",10),m.Rb()),2&e&&(m.Ab(2),m.Kc(m.fc(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),m.Ab(3),m.kc("ngIf",!t.loading&&t.propagationAuth),m.Ab(1),m.kc("ngIf",!t.loading&&t.allowAuth),m.Ab(1),m.kc("ngIf",!t.loading&&t.blockAuth),m.Ab(1),m.kc("ngIf",!t.loading&&t.deleteAuth),m.Ab(3),m.kc("ngIf",!t.taskIsNull),m.Ab(2),m.Kc(m.fc(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")),m.Ab(2),m.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),m.Ab(1),m.kc("ngIf",t.loading),m.Ab(1),m.kc("ngIf",!t.loading))},directives:[te.a,c.t,Bt.e,Bt.b,ie.a,k.b,T.a,Bt.d,I.c,xt.a],pipes:[E.d],styles:[""]}),$t),Qt=n("FcRk"),Xt=n("NC8S");function ei(e,t){if(1&e){var i=m.Tb();m.Sb(0,"perun-web-apps-refresh-button",6),m.Zb("refresh",(function(){return m.xc(i),m.dc().refreshTable()})),m.Rb()}}function ti(e,t){if(1&e){var i=m.Tb();m.Sb(0,"perun-web-apps-immediate-filter",7),m.Zb("filter",(function(e){return m.xc(i),m.dc().applyFilter(e)})),m.Rb()}2&e&&m.kc("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER")}function ii(e,t){1&e&&m.Nb(0,"mat-spinner",8)}function ai(e,t){1&e&&(m.Sb(0,"app-alert",9),m.Jc(1),m.ec(2,"translate"),m.Rb()),2&e&&(m.Ab(1),m.Lc(" ",m.fc(2,1,"FACILITY_DETAIL.ALLOWED_USERS.NO_USERS")," "))}var si=function(){return["id","name"]};function ni(e,t){if(1&e){var i=m.Tb();m.Sb(0,"app-users-list",10),m.Zb("page",(function(e){return m.xc(i),m.dc().pageChanged(e)})),m.Rb()}if(2&e){var a=m.dc();m.kc("pageSize",a.pageSize)("users",a.users)("displayedColumns",m.oc(5,si))("disableRouting",!a.routeAuth)("filter",a.filterValue)}}var ci,ri=((ci=function(){function e(t,a,s,n){i(this,e),this.route=t,this.facilityService=a,this.tableConfigService=s,this.authResolver=n,this.loading=!1,this.filterValue="",this.tableId=Q.v}return s(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.isPerunAdmin(),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}()).\u0275fac=function(e){return new(e||ci)(m.Mb(r.a),m.Mb(f.g),m.Mb(Q.pb),m.Mb(h.h))},ci.\u0275cmp=m.Gb({type:ci,selectors:[["app-facility-allowed-users"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page"]],template:function(e,t){1&e&&(m.Sb(0,"div"),m.Sb(1,"h1",0),m.Jc(2),m.ec(3,"translate"),m.Rb(),m.Hc(4,ei,1,0,"perun-web-apps-refresh-button",1),m.Hc(5,ti,1,1,"perun-web-apps-immediate-filter",2),m.Hc(6,ii,1,0,"mat-spinner",3),m.Hc(7,ai,3,3,"app-alert",4),m.Hc(8,ni,1,6,"app-users-list",5),m.Rb()),2&e&&(m.Ab(2),m.Kc(m.fc(3,6,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),m.Ab(2),m.kc("ngIf",!t.loading),m.Ab(1),m.kc("ngIf",!t.loading),m.Ab(1),m.kc("ngIf",t.loading),m.Ab(1),m.kc("ngIf",!t.loading&&(void 0===t.users||0===t.users.length)),m.Ab(1),m.kc("ngIf",!t.loading&&0!==t.users.length))},directives:[c.t,te.a,ie.a,I.c,Qt.a,Xt.a],pipes:[E.d],styles:[""]}),ci),li=n("lfUW"),oi=n("COMt");function ui(e,t){if(1&e){var i=m.Tb();m.Sb(0,"button",8),m.Zb("click",(function(){return m.xc(i),m.dc(2).removeTaskResult()})),m.Jc(1),m.ec(2,"translate"),m.Rb()}if(2&e){var a=m.dc(2);m.kc("disabled",0===a.selection.selected.length),m.Ab(1),m.Lc(" ",m.fc(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE")," ")}}function bi(e,t){1&e&&m.Nb(0,"mat-spinner",9)}function fi(e,t){if(1&e){var i=m.Tb();m.Sb(0,"perun-web-apps-task-results-list",10),m.Zb("page",(function(e){return m.xc(i),m.dc(2).pageChanged(e)})),m.Rb()}if(2&e){var a=m.dc(2);m.kc("displayedColumns",a.displayedColumns)("filterValue",a.filterValue)("pageSize",a.pageSize)("selection",a.selection)("taskResults",a.taskResults)}}function di(e,t){if(1&e){var i=m.Tb();m.Sb(0,"div"),m.Sb(1,"h1",1),m.Jc(2),m.ec(3,"translate"),m.Sb(4,"span",2),m.Jc(5),m.Rb(),m.Rb(),m.Sb(6,"perun-web-apps-refresh-button",3),m.Zb("refresh",(function(){return m.xc(i),m.dc().refreshTable()})),m.Rb(),m.Hc(7,ui,3,4,"button",4),m.Sb(8,"perun-web-apps-immediate-filter",5),m.Zb("filter",(function(e){return m.xc(i),m.dc().applyFilter(e)})),m.Rb(),m.Hc(9,bi,1,0,"mat-spinner",6),m.Hc(10,fi,1,5,"perun-web-apps-task-results-list",7),m.Rb()}if(2&e){var a=m.dc();m.Ab(2),m.Mc("",m.fc(3,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",a.task.service.name," "),m.Ab(3),m.Lc(" \xa0#",a.task.id," "),m.Ab(2),m.kc("ngIf",!a.loading&&a.removeAuth),m.Ab(1),m.kc("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),m.Ab(1),m.kc("ngIf",a.loading),m.Ab(1),m.kc("ngIf",!a.loading)}}var hi,pi,gi,mi=[{path:"",component:l.a},{path:":facilityId",component:O,children:[{path:"",component:Y,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:he,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:U.a,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:ri,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:B.a,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:qt,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:(hi=function(){function e(t,a,s,n,c){i(this,e),this.route=t,this.tableConfigService=a,this.taskManager=s,this.authResolver=n,this.dialog=c,this.loading=!1,this.filterValue="",this.selection=new $.c(!0,[]),this.tableId=Q.Y,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}return s(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=Object(d.o)();t.width="600px",t.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(Ht.a,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}(),hi.\u0275fac=function(e){return new(e||hi)(m.Mb(r.a),m.Mb(Q.pb),m.Mb(f.o),m.Mb(h.h),m.Mb(y.b))},hi.\u0275cmp=m.Gb({type:hi,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&&m.Hc(0,di,11,9,"div",0),2&e&&m.kc("ngIf",!t.loading)},directives:[c.t,te.a,ie.a,k.b,I.c,oi.a],pipes:[E.d],styles:[""]}),hi),data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:Ue,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:tt,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:St,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:_t,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:G,children:[{path:"",component:W,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:ft,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:Ge,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:zt,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:Rt,data:{animation:"FacilitySettingsBlackListPage"}}]}]},{path:":facilityId/resources/:resourceId",component:x.a,children:[{path:"",component:P.a,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:me.a,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:ye.a,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Vt.a,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:li.a,data:{animation:"ResourceAssignedMembersComponent"}},{path:"settings",component:pe.a,children:[{path:"",component:ge.a,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:Nt.a,data:{animation:"ResourceSettingsManagersPage"}}]}]}],yi=((pi=function e(){i(this,e)}).\u0275mod=m.Kb({type:pi}),pi.\u0275inj=m.Jb({factory:function(e){return new(e||pi)},imports:[[r.j.forChild(mi)],r.j]}),pi),vi=n("PCNd"),Ii=n("KoHB"),Si=n("zrcO"),Ti=((gi=function e(){i(this,e)}).\u0275mod=m.Kb({type:gi}),gi.\u0275inj=m.Jb({factory:function(e){return new(e||gi)},providers:[Te.c],imports:[[c.c,yi,vi.a,Ii.a,K.d,Te.b,Si.UsersModule]]}),gi)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/9-es2015.9236940931b2b0e5deab.js b/dist/apps/admin-gui/9-es2015.9236940931b2b0e5deab.js new file mode 100644 index 000000000..b69ecae9e --- /dev/null +++ b/dist/apps/admin-gui/9-es2015.9236940931b2b0e5deab.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"B2++":function(t,e,i){"use strict";i.r(e),i.d(e,"VosModule",(function(){return Pn}));var s=i("2kYt"),a=i("sEIs"),o=i("7TQF"),n=i("4sdY"),c=i("EkAj"),r=i("TkCa"),l=i("X2Q7"),b=i("8clQ"),u=i("Ssnw"),p=i("nyAh"),d=i("+0js"),h=i("RUSO"),g=i("EM62"),m=i("OZ4H"),f=i("EtYo"),I=i("csyo"),A=i("bFHC"),S=i("Y2X+"),T=i("ma6z"),E=i("PBFl"),R=i("s2Ay"),v=i("jEFW"),M=i("iD4z"),O=i("py76");function N(t,e){1&t&&g.Nb(0,"mat-spinner",3)}function _(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",13),g.Zb("click",(function(){return g.xc(t),g.dc(2).editGroup()})),g.Sb(1,"mat-icon"),g.Jc(2,"edit"),g.Rb(),g.Rb()}}function L(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",14),g.Zb("click",(function(){return g.xc(t),g.dc(2).deleteGroup()})),g.Sb(1,"mat-icon"),g.Jc(2,"delete_forever"),g.Rb(),g.Rb()}}function y(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",17),g.Zb("click",(function(){return g.xc(t),g.dc(3).onSyncDetail()})),g.ec(1,"groupSyncIcon"),g.Sb(2,"mat-icon"),g.ec(3,"groupSyncIconColor"),g.Jc(4),g.ec(5,"groupSyncIcon"),g.Rb(),g.Rb()}if(2&t){const t=g.dc(3);g.kc("disabled","sync_disabled"===g.fc(1,5,t.group)),g.Ab(2),g.Cb(g.fc(3,7,t.group)),g.Ab(2),g.Lc(" ",g.fc(5,9,t.group)," ")}}function P(t,e){if(1&t&&(g.Sb(0,"span"),g.Jc(1),g.ec(2,"translate"),g.Sb(3,"span",15),g.ec(4,"translate"),g.ec(5,"groupSyncToolTip"),g.Hc(6,y,6,11,"button",16),g.Rb(),g.Rb()),2&t){const t=g.dc(2);g.Ab(1),g.Lc(" , ",g.fc(2,4,"GROUP_DETAIL.SYNCHRONIZATION"),": "),g.Ab(2),g.kc("matTooltipPosition","above")("matTooltip",g.fc(4,6,g.fc(5,8,t.group))),g.Ab(3),g.kc("ngIf",t.syncAuth)}}const C=function(){return{color:"black"}},k=function(t,e){return["/organizations",t,"groups",e]},D=function(t){return["/organizations",t]};function G(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"div",4),g.Nb(2,"mat-icon",5),g.ec(3,"translate"),g.Sb(4,"div",6),g.Sb(5,"div",7),g.Sb(6,"a",8),g.Jc(7),g.Rb(),g.Sb(8,"span",9),g.Jc(9),g.Rb(),g.Hc(10,_,3,0,"button",10),g.Hc(11,L,3,0,"button",11),g.Rb(),g.Sb(12,"span",12),g.Jc(13),g.ec(14,"translate"),g.ec(15,"translate"),g.Sb(16,"a",8),g.Jc(17),g.Rb(),g.Jc(18),g.ec(19,"translate"),g.Hc(20,P,7,10,"span",2),g.Rb(),g.Rb(),g.Rb(),g.Nb(21,"app-animated-router-outlet"),g.Rb()),2&t){const t=g.dc();g.Ab(2),g.lc("matTooltip",g.fc(3,14,"GROUP_DETAIL.ENTITY")),g.kc("ngStyle",g.oc(22,C)),g.Ab(4),g.kc("routerLink",g.qc(23,k,t.vo.id,t.group.id)),g.Ab(1),g.Lc(" ",t.group.shortName," "),g.Ab(2),g.Lc(" \xa0#",t.group.id," "),g.Ab(1),g.kc("ngIf","members"!=t.group.name&&t.editAuth),g.Ab(1),g.kc("ngIf","members"!=t.group.name&&t.deleteAuth),g.Ab(2),g.Mc(" ",g.fc(14,16,"GROUP_DETAIL.ENTITY"),", ",g.fc(15,18,"GROUP_DETAIL.VO_NAME"),": "),g.Ab(3),g.kc("routerLink",g.pc(26,D,t.vo.id)),g.Ab(1),g.Kc(t.vo.name),g.Ab(1),g.Mc(", ",g.fc(19,20,"GROUP_DETAIL.DESCRIPTION"),": ",t.group.description," "),g.Ab(2),g.kc("ngIf",t.syncEnabled)}}let V=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.sideMenuService=t,this.voService=e,this.route=i,this.sideMenuItemService=s,this.groupService=a,this.dialog=o,this.guiAuthResolver=n,this.router=c,this.editAuth=!1,this.deleteAuth=!1,this.loading=!1,this.syncAuth=!1,this.syncEnabled=!1,this.attrNames=[p.a.GROUP_SYNC_ENABLED,p.a.GROUP_LAST_SYNC_STATE,p.a.GROUP_LAST_SYNC_TIMESTAMP,p.a.GROUP_STRUCTURE_SYNC_ENABLED,p.a.GROUP_LAST_STRUCTURE_SYNC_STATE,p.a.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,Object(b.b)("groups",this.group),Object(b.c)(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 s=this.sideMenuItemService.parseVo(t),a=this.sideMenuItemService.parseGroup(i);this.sideMenuService.setAccessMenuItems([s,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=Object(b.o)();t.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(d.i,t)}editGroup(){const t=Object(b.o)();t.width="450px",t.data={theme:"group-theme",group:this.group,dialogType:d.h.GROUP},this.dialog.open(d.g,t).afterClosed().subscribe(t=>{t&&this.groupService.getGroupById(this.group.id).subscribe(t=>{this.group=t})})}deleteGroup(){const t=Object(b.o)();t.width="500px",t.data={theme:"group-theme",groups:[this.group]},this.dialog.open(h.a,t).afterClosed().subscribe(t=>{t&&this.router.navigate(["../"],{relativeTo:this.route})})}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(n.a),g.Mb(l.r),g.Mb(a.a),g.Mb(c.a),g.Mb(l.h),g.Mb(m.b),g.Mb(u.h),g.Mb(a.f))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"div",0),g.Nb(1,"perun-web-apps-back-button"),g.Hc(2,N,1,0,"mat-spinner",1),g.Hc(3,G,22,28,"div",2),g.Rb()),2&t&&(g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.group))},directives:[f.a,s.t,I.c,A.a,S.a,s.w,a.i,T.a,E.b],pipes:[R.d,v.a,M.a,O.a],styles:[""],data:{animation:[r.a]}}),t})();function w(t,e){1&t&&g.Nb(0,"mat-spinner",3)}const x=function(t){return["/admin","users",t]};function H(t,e){if(1&t&&(g.Sb(0,"a",8),g.Jc(1),g.Rb()),2&t){const t=g.dc(2);g.kc("routerLink",g.pc(2,x,t.member.userId)),g.Ab(1),g.Lc(" ",t.member.userId," ")}}function z(t,e){if(1&t&&(g.Sb(0,"span"),g.Jc(1),g.Rb()),2&t){const t=g.dc(2);g.Ab(1),g.Kc(t.member.userId)}}const J=function(){return{color:"black"}},U=function(t,e){return["/organizations",t,"members",e]};function B(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"div",4),g.Nb(2,"mat-icon",5),g.ec(3,"translate"),g.Sb(4,"div",6),g.Sb(5,"div",7),g.Sb(6,"a",8),g.Jc(7),g.Rb(),g.Sb(8,"span",9),g.Jc(9),g.Rb(),g.Rb(),g.Sb(10,"span",10),g.Jc(11),g.ec(12,"translate"),g.ec(13,"translate"),g.Hc(14,H,2,4,"a",11),g.Hc(15,z,2,1,"span",2),g.Rb(),g.Rb(),g.Rb(),g.Nb(16,"app-animated-router-outlet"),g.Rb()),2&t){const t=g.dc();g.Ab(2),g.lc("matTooltip",g.fc(3,9,"MEMBER_DETAIL.ENTITY")),g.kc("ngStyle",g.oc(15,J)),g.Ab(4),g.kc("routerLink",g.qc(16,U,t.vo.id,t.member.id)),g.Ab(1),g.Lc(" ",t.fullName," "),g.Ab(2),g.Lc(" \xa0#",t.member.id," "),g.Ab(2),g.Mc(" ",g.fc(12,11,"MEMBER_DETAIL.ENTITY"),", ",g.fc(13,13,"MEMBER_DETAIL.USER_ID"),": "),g.Ab(3),g.kc("ngIf",t.isAuthorized),g.Ab(1),g.kc("ngIf",!t.isAuthorized)}}let F=(()=>{class t{constructor(t,e,i,s,a,o,n){this.sideMenuItemService=t,this.translate=e,this.sideMenuService=i,this.membersService=s,this.voService=a,this.route=o,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.isPerunAdmin(),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)(g.Mb(c.a),g.Mb(R.e),g.Mb(n.a),g.Mb(l.i),g.Mb(l.r),g.Mb(a.a),g.Mb(u.h))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"div",0),g.Nb(1,"perun-web-apps-back-button"),g.Hc(2,w,1,0,"mat-spinner",1),g.Hc(3,B,17,19,"div",2),g.Rb()),2&t&&(g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.member))},directives:[f.a,s.t,I.c,A.a,S.a,s.w,a.i,T.a],pipes:[R.d],styles:[""],data:{animation:[r.a]}}),t})();var $=i("hiWg"),Z=i("ZG5M");function W(t,e){1&t&&g.Nb(0,"mat-spinner",2)}function K(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"perun-web-apps-menu-buttons-field",3),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("items",t.navItems)("size","small")}}let Y=(()=>{class t{constructor(t,e,i,s,a){this.sideMenuService=t,this.voService=e,this.route=i,this.router=s,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.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"})}initItems(){this.items=[{cssIcon:"perun-invite-member",label:"VO_DETAIL.OVERVIEW.INVITE_MEMBER",style:"vo-btn",url:`/organizations/${this.vo.id}/invite-member`,clickAction:function(t,e){const i=Object(b.o)();i.width="450px",i.data={voId:e},t.open($.a,i)}},{cssIcon:"perun-service-identity",label:"VO_DETAIL.OVERVIEW.CREATE_SERVICE_MEMBER",style:"vo-btn",url:`/organizations/${this.vo.id}/create-service-member`,clickAction:function(t,e){}},{cssIcon:"perun-manager",label:"VO_DETAIL.OVERVIEW.ADD_MANAGER",style:"vo-btn",url:`/organizations/${this.vo.id}/add-manager`,clickAction:function(t,e){}},{cssIcon:"perun-group",label:"VO_DETAIL.OVERVIEW.CREATE_GROUP",style:"vo-btn",url:`/organizations/${this.vo.id}/create-group`,clickAction:function(t,e){}},{cssIcon:"perun-create1",label:"VO_DETAIL.OVERVIEW.ADD_MEMBER",style:"vo-btn",url:`/organizations/${this.vo.id}/invite-member`,clickAction:function(t,e){}}]}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(n.a),g.Mb(l.r),g.Mb(a.a),g.Mb(a.f),g.Mb(u.h))},t.\u0275cmp=g.Gb({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&&(g.Hc(0,W,1,0,"mat-spinner",0),g.Hc(1,K,2,2,"div",1)),2&t&&(g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,Z.a],styles:[""]}),t})();var j=i("tT6Y"),X=i("M7la"),Q=i("4zkG");function q(t,e){1&t&&g.Nb(0,"mat-spinner",3)}function tt(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",13),g.Zb("click",(function(){return g.xc(t),g.dc(2).editVo()})),g.Sb(1,"mat-icon"),g.Jc(2,"edit"),g.Rb(),g.Rb()}}function et(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",14),g.Zb("click",(function(){return g.xc(t),g.dc(2).removeVo()})),g.Sb(1,"mat-icon"),g.Jc(2,"delete_forever"),g.Rb(),g.Rb()}}const it=function(){return{color:"black"}},st=function(t){return["/organizations/",t]};function at(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"div",4),g.Nb(2,"mat-icon",5),g.ec(3,"translate"),g.Sb(4,"div",6),g.Sb(5,"div",7),g.Sb(6,"a",8),g.Jc(7),g.Rb(),g.Sb(8,"span",9),g.Jc(9),g.Rb(),g.Hc(10,tt,3,0,"button",10),g.Hc(11,et,3,0,"button",11),g.Rb(),g.Sb(12,"span",12),g.Jc(13),g.ec(14,"translate"),g.ec(15,"translate"),g.Rb(),g.Rb(),g.Rb(),g.Nb(16,"app-animated-router-outlet"),g.Rb()),2&t){const t=g.dc();g.Ab(2),g.lc("matTooltip",g.fc(3,10,"VO_DETAIL.ENTITY")),g.kc("ngStyle",g.oc(16,it)),g.Ab(4),g.kc("routerLink",g.pc(17,st,t.vo.id)),g.Ab(1),g.Lc(" ",t.vo.name," "),g.Ab(2),g.Lc(" \xa0#",t.vo.id," "),g.Ab(1),g.kc("ngIf",t.editAuth),g.Ab(1),g.kc("ngIf",t.removeAuth),g.Ab(2),g.Nc(" ",g.fc(14,12,"VO_DETAIL.ENTITY"),", ",g.fc(15,14,"VO_DETAIL.SHORT_NAME"),": ",t.vo.shortName," ")}}let ot=(()=>{class t{constructor(t,e,i,s,a,o,n){this.sideMenuService=t,this.voService=e,this.route=i,this.router=s,this.sideMenuItemService=a,this.dialog=o,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]),Object(b.b)("vos",this.vo),Object(b.c)(this.vo),this.loading=!1},()=>this.loading=!1)})}editVo(){const t=Object(b.o)();t.width="450px",t.data={theme:"vo-theme",vo:this.vo,dialogType:d.h.VO},this.dialog.open(d.g,t).afterClosed().subscribe(t=>{t&&this.voService.getVoById(this.vo.id).subscribe(t=>{this.vo=t})})}removeVo(){const t=Object(b.o)();t.width="500px",t.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(Q.a,t).afterClosed().subscribe(t=>{t&&this.router.navigate([""])})}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(n.a),g.Mb(l.r),g.Mb(a.a),g.Mb(a.f),g.Mb(c.a),g.Mb(m.b),g.Mb(u.h))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"div",0),g.Nb(1,"perun-web-apps-back-button"),g.Hc(2,q,1,0,"mat-spinner",1),g.Hc(3,at,17,19,"div",2),g.Rb()),2&t&&(g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading&&void 0!==e.vo))},directives:[f.a,s.t,I.c,A.a,S.a,s.w,a.i,T.a,E.b],pipes:[R.d],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[r.a]}}),t})();var nt=i("FlRo"),ct=i("mjJC"),rt=i("OL2r"),lt=i("Meci"),bt=i("A6H7"),ut=i("7o/y"),pt=i("SAuR"),dt=i("j+u3");function ht(t,e){1&t&&g.Nb(0,"mat-spinner",2)}function gt(t,e){1&t&&g.Nb(0,"th",18)}function mt(t,e){if(1&t&&(g.Sb(0,"span"),g.Jc(1),g.Rb()),2&t){const t=g.dc().$implicit,e=g.dc(2);g.Ab(1),g.Lc(" ",e.attributes.get(t)[0],": ")}}function ft(t,e){if(1&t&&(g.Sb(0,"span"),g.Jc(1),g.ec(2,"attributeFriendlyName"),g.Rb()),2&t){const t=g.dc().$implicit;g.Ab(1),g.Lc(" ",g.fc(2,1,t),": ")}}function It(t,e){if(1&t&&(g.Sb(0,"td",19),g.Hc(1,mt,2,1,"span",1),g.Hc(2,ft,3,3,"span",1),g.Rb()),2&t){const t=e.$implicit,i=g.dc(2);g.Ab(1),g.kc("ngIf",null!==i.attributes.get(t)[0]),g.Ab(1),g.kc("ngIf",null===i.attributes.get(t)[0])}}function At(t,e){1&t&&g.Nb(0,"th",18)}function St(t,e){if(1&t&&(g.Sb(0,"td",20),g.Jc(1),g.Rb()),2&t){const t=e.$implicit,i=g.dc(2);g.Ab(1),g.Lc(" ",i.attributes.get(t)[1]," ")}}function Tt(t,e){1&t&&g.Nb(0,"tr",21)}function Et(t,e){1&t&&g.Nb(0,"th",18)}function Rt(t,e){if(1&t&&(g.Sb(0,"td",19),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.Ab(1),g.Lc(" ",t,": ")}}function vt(t,e){1&t&&g.Nb(0,"th",18)}function Mt(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"mat-icon",22),g.Jc(2),g.Rb(),g.Sb(3,"b",23),g.Jc(4),g.ec(5,"transformMemberStatus"),g.Rb(),g.Rb()),2&t){const t=g.dc(3);g.Ab(1),g.kc("color",t.statusIconColor),g.Ab(1),g.Lc(" ",t.statusIcon," "),g.Ab(2),g.Lc(" ",g.fc(5,3,t.member.status)," ")}}function Ot(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",26),g.Zb("click",(function(){return g.xc(t),g.dc(4).changeExpiration()})),g.Sb(1,"mat-icon"),g.Jc(2,"edit"),g.Rb(),g.Rb()}}function Nt(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"i",24),g.Jc(2),g.ec(3,"parseDate"),g.Rb(),g.Hc(4,Ot,3,0,"button",25),g.Rb()),2&t){const t=g.dc(3);g.Ab(2),g.Lc(" ",g.fc(3,2,t.expiration)," "),g.Ab(2),g.kc("ngIf",t.authResolver.isThisVoAdmin(t.vo.id))}}function _t(t,e){if(1&t&&(g.Sb(0,"td",20),g.Hc(1,Mt,6,5,"div",1),g.Hc(2,Nt,5,4,"div",1),g.Rb()),2&t){const t=e.$implicit;g.Ab(1),g.kc("ngIf","Status"===t),g.Ab(1),g.kc("ngIf","Expiration"===t)}}function Lt(t,e){1&t&&g.Nb(0,"tr",21)}function yt(t,e){if(1&t){const t=g.Tb();g.Sb(0,"mat-card",27),g.Sb(1,"mat-card-header"),g.Sb(2,"mat-card-title"),g.Sb(3,"h1",6),g.Jc(4),g.ec(5,"translate"),g.Rb(),g.Rb(),g.Rb(),g.Sb(6,"mat-card-content",24),g.Sb(7,"div",28),g.ec(8,"translate"),g.Sb(9,"button",29),g.Zb("click",(function(){return g.xc(t),g.dc(2).requestPwdReset()})),g.Jc(10),g.ec(11,"translate"),g.Rb(),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.dc(2);g.Ab(4),g.Kc(g.fc(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),g.Ab(3),g.kc("matTooltip",g.fc(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",t.logins.length>0),g.Ab(2),g.kc("disabled",!t.logins.length),g.Ab(1),g.Lc(" ",g.fc(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Pt(t,e){1&t&&(g.Sb(0,"th",18),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Kc(g.fc(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")))}function Ct(t,e){if(1&t&&(g.Sb(0,"td",38),g.Jc(1),g.ec(2,"userFullName"),g.Rb()),2&t){const t=e.$implicit;g.Ab(1),g.Lc(" ",g.fc(2,1,t.user)," ")}}function kt(t,e){1&t&&(g.Sb(0,"th",18),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Kc(g.fc(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")))}function Dt(t,e){if(1&t&&(g.Sb(0,"td",38),g.Sb(1,"span",39),g.Jc(2),g.ec(3,"parseDate"),g.Rb(),g.Rb()),2&t){const t=e.$implicit;g.Ab(2),g.Kc(g.fc(3,1,t.validityTo))}}function Gt(t,e){1&t&&g.Nb(0,"tr",40)}function Vt(t,e){1&t&&g.Nb(0,"tr",21)}const wt=function(){return["sponsors","expiration"]};function xt(t,e){if(1&t){const t=g.Tb();g.Sb(0,"mat-card-content"),g.Sb(1,"h6",31),g.Jc(2),g.ec(3,"translate"),g.Sb(4,"button",32),g.Zb("click",(function(){return g.xc(t),g.dc(3).changeSponsors()})),g.Sb(5,"mat-icon"),g.Jc(6,"edit"),g.Rb(),g.Rb(),g.Rb(),g.Sb(7,"table",33),g.Qb(8,34),g.Hc(9,Pt,3,3,"th",9),g.Hc(10,Ct,3,3,"td",35),g.Pb(),g.Qb(11,36),g.Hc(12,kt,3,3,"th",9),g.Hc(13,Dt,4,3,"td",35),g.Pb(),g.Hc(14,Gt,1,0,"tr",37),g.Hc(15,Vt,1,0,"tr",13),g.Rb(),g.Rb()}if(2&t){const t=g.dc(3);g.Ab(2),g.Lc(" ",g.fc(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),g.Ab(5),g.kc("dataSource",t.sponsorsDataSource),g.Ab(7),g.kc("matHeaderRowDef",g.oc(6,wt)),g.Ab(1),g.kc("matRowDefColumns",g.oc(7,wt))}}function Ht(t,e){if(1&t&&(g.Sb(0,"div",4),g.Sb(1,"mat-card",5),g.Sb(2,"mat-card-header"),g.Sb(3,"mat-card-title"),g.Sb(4,"h1",6),g.Jc(5),g.ec(6,"translate"),g.Rb(),g.Rb(),g.Sb(7,"mat-card-subtitle",30),g.Jc(8),g.ec(9,"translate"),g.Rb(),g.Rb(),g.Hc(10,xt,16,8,"mat-card-content",1),g.Rb(),g.Rb()),2&t){const t=g.dc(2);g.Ab(5),g.Kc(g.fc(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),g.Ab(3),g.Lc(" ",g.fc(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),g.Ab(2),g.kc("ngIf",0!==t.sponsors.length)}}function zt(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"div",3),g.Sb(2,"div",4),g.Sb(3,"mat-card",5),g.Sb(4,"mat-card-header"),g.Sb(5,"mat-card-title"),g.Sb(6,"h1",6),g.Jc(7),g.ec(8,"translate"),g.Rb(),g.Rb(),g.Rb(),g.Sb(9,"mat-card-content"),g.Sb(10,"table",7),g.Qb(11,8),g.Hc(12,gt,1,0,"th",9),g.Hc(13,It,3,2,"td",10),g.Pb(),g.Qb(14,11),g.Hc(15,At,1,0,"th",9),g.Hc(16,St,2,1,"td",12),g.Pb(),g.Hc(17,Tt,1,0,"tr",13),g.Rb(),g.Rb(),g.Rb(),g.Rb(),g.Sb(18,"div",4),g.Sb(19,"mat-card",5),g.Sb(20,"mat-card-header"),g.Sb(21,"mat-card-title"),g.Sb(22,"h1",6),g.Jc(23),g.ec(24,"translate"),g.Rb(),g.Rb(),g.Rb(),g.Sb(25,"mat-card-content"),g.Sb(26,"table",14),g.Qb(27,8),g.Hc(28,Et,1,0,"th",9),g.Hc(29,Rt,2,1,"td",10),g.Pb(),g.Qb(30,11),g.Hc(31,vt,1,0,"th",9),g.Hc(32,_t,3,2,"td",12),g.Pb(),g.Hc(33,Lt,1,0,"tr",13),g.Rb(),g.Rb(),g.Rb(),g.Hc(34,yt,12,11,"mat-card",15),g.Rb(),g.Hc(35,Ht,11,7,"div",16),g.Rb(),g.Sb(36,"div"),g.Nb(37,"perun-web-apps-menu-buttons-field",17),g.Rb(),g.Rb()),2&t){const t=g.dc();g.Ab(7),g.Kc(g.fc(8,10,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),g.Ab(3),g.kc("dataSource",t.dataSource),g.Ab(7),g.kc("matRowDefColumns",t.displayedColumns),g.Ab(6),g.Kc(g.fc(24,12,"MEMBER_DETAIL.OVERVIEW.MEMBERSHIP")),g.Ab(3),g.kc("dataSource",t.membershipDataSource),g.Ab(7),g.kc("matRowDefColumns",t.displayedColumns),g.Ab(1),g.kc("ngIf",t.pwdResetAuth),g.Ab(1),g.kc("ngIf",t.member.sponsored),g.Ab(2),g.kc("items",t.navItems)("size","small")}}let Jt=(()=>{class t{constructor(t,e,i,s,a,o,n,c,r,l){this.attributesManager=t,this.membersService=e,this.usersManager=i,this.translate=s,this.route=a,this.dialog=o,this.authResolver=n,this.storeService=c,this.apiRequest=r,this.notificator=l,this.fullName="",this.statusIcon="",this.statusIconColor="",this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new nt.o,this.membershipDataSource=new nt.o,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new nt.o,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.fullName=Object(b.w)(this.member.user),this.statusIcon=Object(b.C)(this.member),this.statusIconColor=Object(b.B)(this.member),this.initAttributes(),this.dataSource=new nt.o(Array.from(this.attributes.keys())),this.membershipDataSource=new nt.o(["Status","Expiration"]),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 nt.o(this.sponsors),this.initNavItems(),this.refreshData()}):(this.initNavItems(),this.refreshData())},()=>this.loading=!1)})})}changeExpiration(){const t=Object(b.o)();t.width="400px",t.data={memberId:this.member.id,expirationAttr:this.expirationAtt,mode:"vo"},this.dialog.open(d.d,t).afterClosed().subscribe(t=>{t&&this.refreshData()})}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.apiRequest.dontHandleErrorForNext(),this.attributesManager.getMemberAttributeByName(this.member.id,p.a.MEMBER_DEF_EXPIRATION).subscribe(t=>{this.expirationAtt=t,this.expiration=t.value?t.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES"),this.loading=!1},t=>{"PrivilegeException"!==t.error.name?this.notificator.showError(t):this.membershipDataSource=new nt.o(["Status"]),this.loading=!1})},()=>this.loading=!1)}requestPwdReset(){const t=Object(b.o)();t.width="400px",t.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(ct.a,t)}changeSponsors(){const t=Object(b.o)();t.width="650px",t.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(rt.a,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)(g.Mb(l.c),g.Mb(l.i),g.Mb(l.q),g.Mb(R.e),g.Mb(a.a),g.Mb(m.b),g.Mb(u.h),g.Mb(u.m),g.Mb(u.b),g.Mb(u.l))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["class","mat-elevation-z3 mt-4",4,"ngIf"],["class","align-cards",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"vert-top","mr-1",3,"color"],[1,"vert-top"],[1,"column-center"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[1,"mat-elevation-z3","mt-4"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",3,"disabled","click"],[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&&(g.Hc(0,ht,1,0,"mat-spinner",0),g.Hc(1,zt,38,14,"div",1)),2&t&&(g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,lt.a,lt.f,lt.m,lt.d,nt.n,nt.c,nt.i,nt.b,nt.m,Z.a,nt.h,nt.a,nt.l,A.a,E.b,S.a,lt.l,nt.k,nt.j],pipes:[R.d,bt.a,ut.a,pt.a,dt.a],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 Ut=i("hQLc");function Bt(t,e){1&t&&g.Nb(0,"mat-spinner",2)}const Ft=function(t,e){return["/organizations",t,"groups",e]};function $t(t,e){if(1&t&&(g.Sb(0,"p"),g.Jc(1),g.ec(2,"translate"),g.Sb(3,"a",4),g.Jc(4),g.Rb(),g.Rb()),2&t){const t=g.dc(2);g.Ab(1),g.Lc(" ",g.fc(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),g.Ab(2),g.kc("routerLink",g.qc(5,Ft,t.parentGroup.voId,t.parentGroup.id)),g.Ab(1),g.Lc(" ",t.parentGroup.name," ")}}function Zt(t,e){if(1&t&&(g.Sb(0,"div"),g.Hc(1,$t,5,8,"p",1),g.Nb(2,"perun-web-apps-menu-buttons-field",3),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("ngIf",null!==t.parentGroup),g.Ab(1),g.kc("items",t.navItems)("size","small")}}let Wt=(()=>{class t{constructor(t,e,i,s,a,o,n){this.route=t,this.groupService=e,this.voService=i,this.guiAuthResolver=s,this.apiRequest=a,this.attributesManager=o,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 s=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,p.a.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{s=!0},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)});const a=this.guiAuthResolver.isManagerPagePrivileged(this.group),o=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),n=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),c=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(s||a||o||n||c)&&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)(g.Mb(a.a),g.Mb(l.h),g.Mb(l.r),g.Mb(u.h),g.Mb(u.b),g.Mb(l.c),g.Mb(u.l))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Hc(0,Bt,1,0,"mat-spinner",0),g.Hc(1,Zt,3,3,"div",1)),2&t&&(g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,Z.a,a.i],pipes:[R.d],styles:[""]}),t})();var Kt=i("HdwC");let Yt=(()=>{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)(g.Mb(a.a))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&g.Nb(0,"app-animated-router-outlet")},directives:[T.a],styles:[""],data:{animation:[r.a]}}),t})();var jt=i("Sv31");let Xt=(()=>{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.b&&(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)(g.Mb(a.a),g.Mb(a.f))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&g.Nb(0,"app-animated-router-outlet")},directives:[T.a],styles:[""],data:{animation:[r.a]}}),t})();var Qt=i("cqs0"),qt=i("mEf3"),te=i("HHEo"),ee=i("iyZ4"),ie=i("IDQ9"),se=i("0XDM"),ae=i("A8Ay"),oe=i("LKLE");const ne=["list"];function ce(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc().onCreate()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "))}function re(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",9),g.Zb("click",(function(){return g.xc(t),g.dc().onSave()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"VO_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," ")}}function le(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",10),g.Zb("click",(function(){return g.xc(t),g.dc().onDelete()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"VO_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," ")}}function be(t,e){1&t&&g.Nb(0,"mat-spinner",11)}function ue(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-attributes-list",12,13),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("attributes",t.attributes)("selection",t.selection)}}let pe=(()=>{class t{constructor(t,e,i,s,a,o){this.attributesManager=t,this.route=e,this.dialog=i,this.notificator=s,this.tableConfigService=a,this.translate=o,this.attributes=[],this.selection=new Qt.c(!0,[]),this.filterValue="",this.tableId=ee.r,this.translate.get("VO_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe(t=>this.saveSuccessMessage=t),this.translate.get("VO_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe(t=>this.deleteSuccessMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.refreshTable()})}onDelete(){const t=Object(b.o)();t.width="450px",t.data={entityId:this.voId,entity:"vo",attributes:this.selection.selected},this.dialog.open(qt.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onCreate(){const t=Object(b.o)();t.width="1050px",t.data={entityId:this.voId,entity:"vo",notEmptyAttributes:this.attributes,style:"vo-theme"},this.dialog.open(ie.a,t).afterClosed().subscribe(t=>{"saved"===t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=Object(b.o)();t.width="450px",t.data={entityId:this.voId,entity:"vo",attributes:this.selection.selected},this.dialog.open(d.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getVoAttributes(this.voId).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)}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(l.c),g.Mb(a.a),g.Mb(m.b),g.Mb(u.l),g.Mb(ee.pb),g.Mb(R.e))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-attributes"]],viewQuery:function(t,e){var i;1&t&&g.Qc(ne,!0),2&t&&g.sc(i=g.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"disabled","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","attributes","selection","page",4,"ngIf"],["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"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Sb(4,"perun-web-apps-refresh-button",1),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Hc(5,ce,3,3,"button",2),g.Hc(6,re,3,4,"button",3),g.Hc(7,le,3,4,"button",4),g.Sb(8,"perun-web-apps-immediate-filter",5),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Hc(9,be,1,0,"mat-spinner",6),g.Hc(10,ue,2,4,"perun-web-apps-attributes-list",7),g.Rb()),2&t&&(g.Ab(2),g.Kc(g.fc(3,7,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),g.Ab(3),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[se.a,s.t,ae.a,E.b,I.c,oe.a],pipes:[R.d],styles:[""]}),t})();function de(t,e){1&t&&g.Nb(0,"mat-spinner",2)}function he(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"perun-web-apps-menu-buttons-field",3),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("items",t.items)("size","small")}}let ge=(()=>{class t{constructor(t,e,i,s,a){this.sideMenuService=t,this.voService=e,this.authResolver=i,this.route=s,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)(g.Mb(n.a),g.Mb(l.r),g.Mb(u.h),g.Mb(a.a),g.Mb(a.f))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Hc(0,de,1,0,"mat-spinner",0),g.Hc(1,he,2,2,"div",1)),2&t&&(g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,Z.a],styles:[""]}),t})();var me=i("k8N0"),fe=i("nIj0"),Ie=i("F1o0"),Ae=i("alep"),Se=i("29Wa"),Te=i("R7+U"),Ee=i("Cd2c"),Re=i("mFH5"),ve=i("+Tre");function Me(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",25),g.Sb(1,"mat-form-field",26),g.Sb(2,"input",20),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(2).currentConfiguration.periodStatic=e})),g.ec(3,"translate"),g.Rb(),g.Sb(4,"mat-hint"),g.Jc(5),g.ec(6,"translate"),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.dc(2);g.Ab(2),g.lc("pattern",t.datePattern),g.lc("placeholder",g.fc(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),g.kc("ngModel",t.currentConfiguration.periodStatic),g.Ab(3),g.Kc(g.fc(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Oe(t,e){if(1&t&&(g.Sb(0,"mat-option",27),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.kc("value",t.value),g.Ab(1),g.Kc(t.text)}}function Ne(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",18),g.Sb(1,"mat-form-field",19),g.Sb(2,"input",20),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(2).currentConfiguration.periodDynamic=e})),g.ec(3,"translate"),g.Rb(),g.Rb(),g.Sb(4,"mat-form-field"),g.Sb(5,"mat-label"),g.Jc(6),g.ec(7,"translate"),g.Rb(),g.Sb(8,"mat-select",8),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(2).currentConfiguration.periodDynamicUnit=e})),g.Hc(9,Oe,2,2,"mat-option",17),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.dc(2);g.Ab(2),g.lc("pattern",t.dynamicAmountPattern),g.lc("placeholder",g.fc(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),g.kc("ngModel",t.currentConfiguration.periodDynamic),g.Ab(4),g.Kc(g.fc(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),g.Ab(2),g.kc("ngModel",t.currentConfiguration.periodDynamicUnit),g.Ab(1),g.kc("ngForOf",t.amountOptions)}}function _e(t,e){if(1&t&&(g.Sb(0,"mat-option",27),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.kc("value",t),g.Ab(1),g.Kc(t)}}function Le(t,e){if(1&t&&(g.Sb(0,"mat-option",27),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.kc("value",t),g.Ab(1),g.Kc(t)}}function ye(t,e){if(1&t&&(g.Sb(0,"mat-option",27),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.kc("value",t.value),g.Ab(1),g.Kc(t.text)}}function Pe(t,e){if(1&t&&(g.Sb(0,"mat-option",27),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.kc("value",t),g.Ab(1),g.Lc(" ",t," ")}}function Ce(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",25),g.Sb(1,"mat-form-field",26),g.Sb(2,"input",20),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(3).currentConfiguration.specialLoaPeriodStatic=e})),g.ec(3,"translate"),g.Rb(),g.Sb(4,"mat-hint"),g.Jc(5),g.ec(6,"translate"),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.dc(3);g.Ab(2),g.lc("pattern",t.datePattern),g.lc("placeholder",g.fc(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),g.kc("ngModel",t.currentConfiguration.specialLoaPeriodStatic),g.Ab(3),g.Kc(g.fc(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function ke(t,e){if(1&t&&(g.Sb(0,"mat-option",27),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.kc("value",t.value),g.Ab(1),g.Kc(t.text)}}function De(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",18),g.Sb(1,"mat-form-field",19),g.Sb(2,"input",20),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(3).currentConfiguration.specialLoaPeriodDynamic=e})),g.ec(3,"translate"),g.Rb(),g.Rb(),g.Sb(4,"mat-form-field"),g.Sb(5,"mat-label"),g.Jc(6),g.ec(7,"translate"),g.Rb(),g.Sb(8,"mat-select",8),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(3).currentConfiguration.specialLoaPeriodDynamicUnit=e})),g.Hc(9,ke,2,2,"mat-option",17),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.dc(3);g.Ab(2),g.lc("pattern",t.dynamicAmountPattern),g.lc("placeholder",g.fc(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),g.kc("ngModel",t.currentConfiguration.specialLoaPeriodDynamic),g.Ab(4),g.Kc(g.fc(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),g.Ab(2),g.kc("ngModel",t.currentConfiguration.specialLoaPeriodDynamicUnit),g.Ab(1),g.kc("ngForOf",t.amountOptions)}}function Ge(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",28),g.Sb(1,"mat-radio-group",8),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(2).currentConfiguration.specialLoaPeriodType=e})),g.Sb(2,"mat-radio-button",9,29),g.Jc(4),g.ec(5,"translate"),g.Rb(),g.Sb(6,"mat-radio-button",11,30),g.Jc(8),g.ec(9,"translate"),g.Rb(),g.Rb(),g.Hc(10,Ce,7,8,"div",13),g.Hc(11,De,10,10,"div",14),g.Sb(12,"div"),g.Sb(13,"mat-checkbox",31),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=e})),g.Jc(14),g.ec(15,"translate"),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.tc(3),e=g.tc(7),i=g.dc(2);g.Ab(1),g.kc("ngModel",i.currentConfiguration.specialLoaPeriodType),g.Ab(3),g.Lc(" ",g.fc(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),g.Ab(4),g.Lc(" ",g.fc(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),g.Ab(2),g.kc("ngIf",t.checked),g.Ab(1),g.kc("ngIf",e.checked),g.Ab(2),g.kc("ngModel",i.currentConfiguration.specialLoaPeriodExtendExpiredMembers),g.Ab(1),g.Lc(" ",g.fc(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function Ve(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",1),g.Sb(1,"div",2),g.Sb(2,"h1",3),g.Zb("click",(function(){return g.xc(t),g.tc(6).toggle()})),g.Jc(3),g.ec(4,"translate"),g.Rb(),g.Sb(5,"mat-slide-toggle",4,5),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.enabled=e})),g.Rb(),g.Rb(),g.Sb(7,"div"),g.Sb(8,"label",6),g.Jc(9),g.ec(10,"translate"),g.Rb(),g.Sb(11,"div",7),g.Sb(12,"mat-radio-group",8),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.periodType=e})),g.Sb(13,"mat-radio-button",9,10),g.Jc(15),g.ec(16,"translate"),g.Rb(),g.Sb(17,"mat-radio-button",11,12),g.Jc(19),g.ec(20,"translate"),g.Rb(),g.Rb(),g.Hc(21,Me,7,8,"div",13),g.Hc(22,Ne,10,10,"div",14),g.Rb(),g.Sb(23,"app-settings-toggle-item",15),g.Zb("modelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.doNotAllowLoasEnabled=e})),g.ec(24,"translate"),g.Sb(25,"mat-form-field"),g.Sb(26,"mat-placeholder"),g.Jc(27),g.ec(28,"translate"),g.Rb(),g.Sb(29,"mat-select",16),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.doNotAllowLoas=e})),g.Hc(30,_e,2,2,"mat-option",17),g.Rb(),g.Rb(),g.Rb(),g.Sb(31,"app-settings-toggle-item",15),g.Zb("modelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.doNotExtendLoasEnabled=e})),g.ec(32,"translate"),g.Sb(33,"mat-form-field"),g.Sb(34,"mat-placeholder"),g.Jc(35),g.ec(36,"translate"),g.Rb(),g.Sb(37,"mat-select",16),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.doNotExtendLoas=e})),g.Hc(38,Le,2,2,"mat-option",17),g.Rb(),g.Rb(),g.Rb(),g.Sb(39,"app-settings-toggle-item",15),g.Zb("modelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.gracePeriodEnabled=e})),g.ec(40,"translate"),g.Sb(41,"div",18),g.Sb(42,"mat-form-field",19),g.Sb(43,"input",20),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.gracePeriod=e})),g.ec(44,"translate"),g.Rb(),g.Rb(),g.Sb(45,"mat-form-field"),g.Sb(46,"mat-label"),g.Jc(47),g.ec(48,"translate"),g.Rb(),g.Sb(49,"mat-select",8),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.gracePeriodUnit=e})),g.Hc(50,ye,2,2,"mat-option",17),g.Rb(),g.Rb(),g.Rb(),g.Rb(),g.Sb(51,"app-settings-toggle-item",15),g.Zb("modelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.specialLoaPeriodEnabled=e})),g.ec(52,"translate"),g.Sb(53,"div",7),g.Sb(54,"div"),g.Sb(55,"mat-form-field"),g.Sb(56,"mat-label"),g.Jc(57),g.ec(58,"translate"),g.Rb(),g.Sb(59,"mat-select",8,21),g.Zb("ngModelChange",(function(e){return g.xc(t),g.dc().currentConfiguration.specialLoa=e})),g.Hc(61,Pe,2,2,"mat-option",17),g.Rb(),g.Rb(),g.Hc(62,Ge,16,13,"div",22),g.Rb(),g.Rb(),g.Rb(),g.Rb(),g.Sb(63,"div",23),g.ec(64,"translate"),g.Sb(65,"button",24),g.Zb("click",(function(){return g.xc(t),g.dc().saveChanges()})),g.Jc(66),g.ec(67,"translate"),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.tc(6),e=g.tc(14),i=g.tc(18),s=g.dc();g.Ab(2),g.Eb("unselected-setting",!t.checked),g.Ab(1),g.Lc(" ",g.fc(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),g.Ab(2),g.kc("ngModel",s.currentConfiguration.enabled),g.Ab(2),g.kc("@openClose",t.checked?"open":"closed"),g.Ab(2),g.Kc(g.fc(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),g.Ab(3),g.kc("ngModel",s.currentConfiguration.periodType),g.Ab(3),g.Lc(" ",g.fc(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),g.Ab(4),g.Lc(" ",g.fc(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),g.Ab(2),g.kc("ngIf",e.checked),g.Ab(1),g.kc("ngIf",i.checked),g.Ab(1),g.kc("model",s.currentConfiguration.doNotAllowLoasEnabled)("title",g.fc(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),g.Ab(4),g.Kc(g.fc(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),g.Ab(2),g.kc("ngModel",s.currentConfiguration.doNotAllowLoas),g.Ab(1),g.kc("ngForOf",s.LOAS),g.Ab(1),g.kc("model",s.currentConfiguration.doNotExtendLoasEnabled)("title",g.fc(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),g.Ab(4),g.Kc(g.fc(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),g.Ab(2),g.kc("ngModel",s.currentConfiguration.doNotExtendLoas),g.Ab(1),g.kc("ngForOf",s.LOAS),g.Ab(1),g.kc("model",s.currentConfiguration.gracePeriodEnabled)("title",g.fc(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),g.Ab(4),g.lc("pattern",s.dynamicAmountPattern),g.lc("placeholder",g.fc(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),g.kc("ngModel",s.currentConfiguration.gracePeriod),g.Ab(4),g.Kc(g.fc(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),g.Ab(2),g.kc("ngModel",s.currentConfiguration.gracePeriodUnit),g.Ab(1),g.kc("ngForOf",s.amountOptions),g.Ab(1),g.kc("model",s.currentConfiguration.specialLoaPeriodEnabled)("title",g.fc(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),g.Ab(6),g.Kc(g.fc(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),g.Ab(2),g.kc("ngModel",s.currentConfiguration.specialLoa),g.Ab(2),g.kc("ngForOf",s.LOAS),g.Ab(1),g.kc("ngIf",null!==s.currentConfiguration.specialLoa),g.Ab(1),g.lc("matTooltip",g.fc(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),g.kc("matTooltipDisabled",s.expirationAttribute.writable)("matTooltipPosition","above"),g.Ab(2),g.kc("disabled",!s.areChangesMade()||!s.expirationAttribute.writable),g.Ab(1),g.Lc(" ",g.fc(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}let we=(()=>{class t{constructor(){this.saveAttribute=new g.o,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),s=this.parseDontExtendLoas(t),a=this.parseGracePeriod(t),o=this.parseSpecialLoaPeriod(t),n={period:e};return null!==s&&(n.doNotExtendLoa=s),null!==i&&(n.doNotAllowLoa=i),null!==a&&(n.gracePeriod=a),null!==o&&(n.periodLoa=o),n}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=g.Gb({type:t,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[g.yb],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&&g.Hc(0,Ve,68,70,"div",0),2&t&&g.kc("ngIf",e.currentConfiguration)},directives:[s.t,me.a,fe.r,fe.u,Ie.b,Ie.a,Ae.a,Se.c,Se.h,Te.a,s.s,Ee.b,fe.c,fe.y,Se.g,S.a,E.b,Se.f,Re.n,ve.a],pipes:[R.d],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;-ms-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[r.c]}}),t})();function xe(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-expiration-settings",1),g.Zb("saveAttribute",(function(e){return g.xc(t),g.dc().saveExpirationAttribute(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("expirationAttribute",t.expirationAttribute)}}let He=(()=>{class t{constructor(t,e,i,s,a){this.attributesManager=t,this.route=e,this.translate=i,this.notificator=s,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.a.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)(g.Mb(l.c),g.Mb(a.a),g.Mb(R.e),g.Mb(u.l),g.Mb(u.b))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&g.Hc(0,xe,1,1,"app-expiration-settings",0),2&t&&g.kc("ngIf",void 0!==e.expirationAttribute)},directives:[s.t,we],styles:[""],data:{animation:[r.c]}}),t})();var ze=i("dWQl"),Je=i("NU+N");function Ue(t,e){if(1&t&&g.Nb(0,"app-managers-page",1),2&t){const t=g.dc();g.kc("complementaryObject",t.vo)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Be=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.voService=e,this.route=i,this.guiAuthResolver=s,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)(g.Mb(m.b),g.Mb(l.r),g.Mb(a.a),g.Mb(u.h))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&g.Hc(0,Ue,1,4,"app-managers-page",0),2&t&&g.kc("ngIf",e.vo)},directives:[s.t,Je.a],styles:[""]}),t})();var Fe=i("JVFj"),$e=i("ZTj5"),Ze=i("vNdQ"),We=i("zmEM"),Ke=i("e+sS");function Ye(t,e){if(1&t&&(g.Sb(0,"span",5),g.Jc(1),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.Lc(" #",t.application.id," ")}}function je(t,e){1&t&&g.Nb(0,"mat-spinner",6)}function Xe(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",17),g.Zb("click",(function(){return g.xc(t),g.dc(2).verifyApplication()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function Qe(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",17),g.Zb("click",(function(){return g.xc(t),g.dc(2).approveApplication()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function qe(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",18),g.Zb("click",(function(){return g.xc(t),g.dc(2).rejectApplication()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function ti(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",18),g.Zb("click",(function(){return g.xc(t),g.dc(2).deleteApplication()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function ei(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",19),g.Zb("click",(function(){return g.xc(t),g.dc(2).resendNotification()})),g.Sb(1,"i",14),g.Jc(2," mail_outline "),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function ii(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"span",10),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Jc(4),g.Rb()),2&t){const t=g.dc(2);g.Ab(2),g.Kc(g.fc(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),g.Ab(2),g.Lc(": ",t.application.vo.name," ")}}function si(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"span",10),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Jc(4),g.Sb(5,"span",10),g.Jc(6),g.ec(7,"translate"),g.Rb(),g.Jc(8),g.Rb()),2&t){const t=g.dc(2);g.Ab(2),g.Kc(g.fc(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),g.Ab(2),g.Lc(": ",t.application.group.name," "),g.Ab(2),g.Kc(g.fc(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),g.Ab(2),g.Lc(": ",t.application.vo.name," ")}}function ai(t,e){1&t&&(g.Sb(0,"span"),g.Sb(1,"mat-icon",20),g.Jc(2,"arrow_right_alt"),g.Rb(),g.Jc(3," Initial "),g.Rb())}function oi(t,e){1&t&&(g.Sb(0,"span"),g.Sb(1,"mat-icon",20),g.Jc(2,"restore"),g.Rb(),g.Jc(3," Extension "),g.Rb())}function ni(t,e){1&t&&(g.Sb(0,"span"),g.Sb(1,"mat-icon",20),g.Jc(2,"nat"),g.Rb(),g.Jc(3," Embedded "),g.Rb())}function ci(t,e){if(1&t&&(g.Sb(0,"div",21),g.Sb(1,"mat-card-title"),g.Sb(2,"i",22),g.Jc(3,"clear"),g.Rb(),g.Jc(4),g.ec(5,"translate"),g.Rb(),g.Sb(6,"div"),g.Sb(7,"span",10),g.Jc(8),g.ec(9,"translate"),g.Rb(),g.Jc(10),g.ec(11,"date"),g.Rb(),g.Rb()),2&t){const t=g.dc(2);g.Ab(4),g.Mc(" ",g.fc(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",t.getModifiedAtName(t.application.modifiedBy),""),g.Ab(4),g.Kc(g.fc(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),g.Ab(2),g.Lc(": ",g.gc(11,8,t.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function ri(t,e){if(1&t&&(g.Sb(0,"div",21),g.Sb(1,"mat-card-title"),g.Sb(2,"i",23),g.Jc(3,"done"),g.Rb(),g.Jc(4),g.ec(5,"translate"),g.Rb(),g.Sb(6,"div"),g.Sb(7,"span",10),g.Jc(8),g.ec(9,"translate"),g.Rb(),g.Jc(10),g.ec(11,"date"),g.Rb(),g.Rb()),2&t){const t=g.dc(2);g.Ab(4),g.Mc(" ",g.fc(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",t.getModifiedAtName(t.application.modifiedBy),""),g.Ab(4),g.Kc(g.fc(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),g.Ab(2),g.Lc(": ",g.gc(11,8,t.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function li(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"span",10),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Jc(4),g.Rb()),2&t){const t=g.dc(2);g.Ab(2),g.Kc(g.fc(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),g.Ab(2),g.Lc(": ",t.userMail,"")}}function bi(t,e){1&t&&g.Nb(0,"th",32)}function ui(t,e){if(1&t&&(g.Sb(0,"td",33),g.Jc(1),g.Rb()),2&t){const t=e.$implicit,i=g.dc(3);g.Ab(1),g.Mc("",i.getLabel(t.formItem),"",t.formItem.type.startsWith("FROM_FEDERATION")?"*":"","")}}function pi(t,e){1&t&&g.Nb(0,"th",32)}function di(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",36),g.Zb("click",(function(){g.xc(t);const e=g.dc().$implicit;return g.dc(3).editApplicationData(e)})),g.Sb(1,"mat-icon"),g.Jc(2,"edit"),g.Rb(),g.Rb()}}function hi(t,e){if(1&t&&(g.Sb(0,"td",34),g.Jc(1),g.Hc(2,di,3,0,"button",35),g.Rb()),2&t){const t=e.$implicit,i=g.dc(3);g.Ab(1),g.Lc(" ",t.value," "),g.Ab(1),g.kc("ngIf",!t.formItem.type.startsWith("FROM_FEDERATION")&&("NEW"===i.application.state||"VERIFIED"===i.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==t.formItem.type)}}function gi(t,e){1&t&&g.Nb(0,"tr",37)}function mi(t,e){1&t&&g.Nb(0,"tr",38)}function fi(t,e){if(1&t&&(g.Sb(0,"table",24),g.Qb(1,25),g.Hc(2,bi,1,0,"th",26),g.Hc(3,ui,2,2,"td",27),g.Pb(),g.Qb(4,28),g.Hc(5,pi,1,0,"th",26),g.Hc(6,hi,3,2,"td",29),g.Pb(),g.Hc(7,gi,1,0,"tr",30),g.Hc(8,mi,1,0,"tr",31),g.Rb()),2&t){const t=g.dc(2);g.kc("dataSource",t.dataSource),g.Ab(7),g.kc("matHeaderRowDef",t.displayedColumns),g.Ab(1),g.kc("matRowDefColumns",t.displayedColumns)}}function Ii(t,e){1&t&&(g.Sb(0,"div",39),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Lc("*",g.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VALUE_BY_EXTERNALS"),""))}function Ai(t,e){if(1&t&&(g.Sb(0,"div"),g.Hc(1,Xe,3,3,"button",7),g.Hc(2,Qe,3,3,"button",7),g.Hc(3,qe,3,3,"button",8),g.Hc(4,ti,3,3,"button",8),g.Hc(5,ei,5,3,"button",9),g.Hc(6,ii,5,4,"div",4),g.Hc(7,si,9,8,"div",4),g.Sb(8,"div"),g.Sb(9,"span",10),g.Jc(10),g.ec(11,"translate"),g.Rb(),g.Jc(12,": "),g.Nb(13,"span",11),g.ec(14,"applicationState"),g.Rb(),g.Sb(15,"div"),g.Sb(16,"span",10),g.Jc(17),g.ec(18,"translate"),g.Rb(),g.Jc(19,": "),g.Hc(20,ai,4,0,"span",4),g.Hc(21,oi,4,0,"span",4),g.Hc(22,ni,4,0,"span",4),g.Rb(),g.Hc(23,ci,12,11,"div",12),g.Hc(24,ri,12,11,"div",12),g.Sb(25,"div",13),g.Sb(26,"mat-card-title"),g.Sb(27,"i",14),g.Jc(28,"redo"),g.Rb(),g.Jc(29),g.ec(30,"translate"),g.ec(31,"userFullName"),g.Rb(),g.Hc(32,li,5,4,"div",4),g.Sb(33,"div"),g.Sb(34,"span",10),g.Jc(35),g.ec(36,"translate"),g.Rb(),g.Jc(37),g.Rb(),g.Sb(38,"div"),g.Sb(39,"span",10),g.Jc(40),g.ec(41,"translate"),g.Rb(),g.Jc(42),g.Rb(),g.Sb(43,"div"),g.Sb(44,"span",10),g.Jc(45),g.ec(46,"translate"),g.Rb(),g.Jc(47),g.ec(48,"date"),g.Rb(),g.Hc(49,fi,9,3,"table",15),g.Hc(50,Ii,3,3,"div",16),g.Rb(),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("ngIf","NEW"==t.application.state&&t.verifyAuth),g.Ab(1),g.kc("ngIf",("VERIFIED"==t.application.state||"NEW"==t.application.state)&&t.approveAuth),g.Ab(1),g.kc("ngIf",("VERIFIED"==t.application.state||"NEW"==t.application.state)&&t.rejectAuth),g.Ab(1),g.kc("ngIf",("REJECTED"==t.application.state||"NEW"==t.application.state)&&t.deleteAuth),g.Ab(1),g.kc("ngIf",t.resendAuth),g.Ab(1),g.kc("ngIf",!t.application.group),g.Ab(1),g.kc("ngIf",t.application.group),g.Ab(3),g.Kc(g.fc(11,26,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),g.Ab(3),g.kc("outerHTML",g.fc(14,28,t.application.state),g.yc),g.Ab(4),g.Kc(g.fc(18,30,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),g.Ab(3),g.kc("ngIf","INITIAL"==t.application.type),g.Ab(1),g.kc("ngIf","EXTENSION"==t.application.type),g.Ab(1),g.kc("ngIf","EMBEDDED"==t.application.type),g.Ab(1),g.kc("ngIf","REJECTED"==t.application.state),g.Ab(1),g.kc("ngIf","APPROVED"==t.application.state),g.Ab(5),g.Mc(" ",g.fc(30,32,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===t.application.user?t.submittedBy():g.fc(31,34,t.application.user),""),g.Ab(3),g.kc("ngIf",t.userMail),g.Ab(3),g.Kc(g.fc(36,36,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),g.Ab(2),g.Lc(": ",t.application.extSourceName,""),g.Ab(3),g.Kc(g.fc(41,38,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),g.Ab(2),g.Lc(": ",t.application.extSourceLoa,""),g.Ab(3),g.Kc(g.fc(46,40,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),g.Ab(2),g.Lc(": ",g.gc(48,42,t.application.createdAt,"d.M.y H:mm:ss"),""),g.Ab(2),g.kc("ngIf",0!==t.userData.length),g.Ab(1),g.kc("ngIf",0!==t.userData.length)}}let Si=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.registrarManager=t,this.dialog=e,this.translate=i,this.route=s,this.notificator=a,this.router=o,this.authResolver=n,this.usersService=c,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.dialogTheme=t.groupId?"group-theme":t.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 nt.o(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=Object(b.o)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(Fe.a,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=Object(b.o)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open($e.a,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=Object(b.o)();e.width="600px",e.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:t},this.dialog.open(Ze.a,e)}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(l.l),g.Mb(m.b),g.Mb(R.e),g.Mb(a.a),g.Mb(u.l),g.Mb(a.f),g.Mb(u.h),g.Mb(l.q))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Sb(0,"h2",0),g.Jc(1),g.ec(2,"translate"),g.Hc(3,Ye,2,1,"span",1),g.Rb(),g.Nb(4,"mat-divider",2),g.Hc(5,je,1,0,"mat-spinner",3),g.Hc(6,Ai,51,45,"div",4)),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),g.Ab(2),g.kc("ngIf",!!e.application),g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,We.a,I.c,lt.m,E.b,A.a,nt.n,nt.c,nt.i,nt.b,nt.k,nt.m,nt.h,nt.a,nt.j,nt.l],pipes:[R.d,Ke.a,dt.a,s.f],styles:[""]}),t})();var Ti=i("vUMc"),Ei=i("got8");let Ri=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&g.Nb(0,"app-animated-router-outlet")},directives:[T.a],styles:[""],data:{animation:[r.a]}}),t})();var vi=i("KZIX"),Mi=i("bdug");const Oi=["list"];function Ni(t,e){1&t&&(g.Jc(0),g.ec(1,"translate")),2&t&&g.Lc(" ",g.fc(1,1,"GROUP_DETAIL.ENTITY")," ")}function _i(t,e){1&t&&g.Nb(0,"mat-spinner",10)}function Li(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-attributes-list",11,12),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("attributes",t.attributes)("selection",t.selection)}}function yi(t,e){1&t&&(g.Jc(0),g.ec(1,"translate"),g.ec(2,"translate")),2&t&&g.Mc(" ",g.fc(1,2,"GROUP_DETAIL.ENTITY")," - ",g.fc(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Pi(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",15),2&t){const t=g.dc(3);g.kc("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","member")}}function Ci(t,e){if(1&t&&g.Hc(0,Pi,1,3,"app-two-entity-attribute-page",14),2&t){const t=g.dc(2);g.kc("ngIf",!t.loading)}}function ki(t,e){1&t&&(g.Sb(0,"mat-tab"),g.Hc(1,yi,3,6,"ng-template",1),g.Hc(2,Ci,1,1,"ng-template",13),g.Rb())}function Di(t,e){1&t&&(g.Jc(0),g.ec(1,"translate"),g.ec(2,"translate")),2&t&&g.Mc(" ",g.fc(1,2,"GROUP_DETAIL.ENTITY")," - ",g.fc(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Gi(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",15),2&t){const t=g.dc(3);g.kc("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","resource")}}function Vi(t,e){if(1&t&&g.Hc(0,Gi,1,3,"app-two-entity-attribute-page",14),2&t){const t=g.dc(2);g.kc("ngIf",!t.loading)}}function wi(t,e){1&t&&(g.Sb(0,"mat-tab"),g.Hc(1,Di,3,6,"ng-template",1),g.Hc(2,Vi,1,1,"ng-template",13),g.Rb())}let xi=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.route=t,this.attributesManager=e,this.groupManager=i,this.notificator=s,this.dialog=a,this.translate=o,this.tableConfigService=n,this.authResolver=c,this.selection=new Qt.c(!0,[]),this.attributes=[],this.filterValue="",this.tableId=ee.r,this.translate.get("GROUP_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe(t=>this.saveSuccessMessage=t),this.translate.get("GROUP_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe(t=>this.deleteSuccessMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),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_boolean_policy",[this.group]),this.refreshTable()})})}onCreate(){const t=Object(b.o)();t.width="1050px",t.data={entityId:this.groupId,entity:"group",notEmptyAttributes:this.attributes,style:"group-theme"},this.dialog.open(ie.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=Object(b.o)();t.width="450px",t.data={entityId:this.groupId,entity:"group",attributes:this.selection.selected},this.dialog.open(d.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=Object(b.o)();t.width="450px",t.data={entityId:this.groupId,entity:"group",attributes:this.selection.selected},this.dialog.open(qt.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getGroupAttributes(this.groupId).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)}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(a.a),g.Mb(l.c),g.Mb(l.h),g.Mb(u.l),g.Mb(m.b),g.Mb(R.e),g.Mb(ee.pb),g.Mb(u.h))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-attributes"]],viewQuery:function(t,e){var i;1&t&&g.Qc(Oi,!0),2&t&&g.sc(i=g.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:22,vars:19,consts:[[1,"page-subtitle"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Sb(4,"mat-tab-group"),g.Sb(5,"mat-tab"),g.Hc(6,Ni,2,3,"ng-template",1),g.Sb(7,"perun-web-apps-refresh-button",2),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Sb(8,"button",3),g.Zb("click",(function(){return e.onCreate()})),g.Jc(9),g.ec(10,"translate"),g.Rb(),g.Sb(11,"button",4),g.Zb("click",(function(){return e.onSave()})),g.Jc(12),g.ec(13,"translate"),g.Rb(),g.Sb(14,"button",5),g.Zb("click",(function(){return e.onDelete()})),g.Jc(15),g.ec(16,"translate"),g.Rb(),g.Sb(17,"perun-web-apps-immediate-filter",6),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Hc(18,_i,1,0,"mat-spinner",7),g.Hc(19,Li,2,4,"perun-web-apps-attributes-list",8),g.Rb(),g.Hc(20,ki,3,0,"mat-tab",9),g.Hc(21,wi,3,0,"mat-tab",9),g.Rb(),g.Rb()),2&t&&(g.Ab(2),g.Kc(g.fc(3,11,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),g.Ab(7),g.Lc(" ",g.fc(10,13,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),g.Ab(2),g.kc("disabled",0===e.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(13,15,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),g.Ab(2),g.kc("disabled",0===e.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(16,17,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),g.Ab(2),g.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",e.groupMemberAttAuth),g.Ab(1),g.kc("ngIf",e.groupResourceAttAuth))},directives:[vi.c,vi.a,vi.d,se.a,E.b,ae.a,s.t,I.c,oe.a,vi.b,Mi.a],pipes:[R.d],styles:[""]}),t})();function Hi(t,e){1&t&&g.Nb(0,"mat-spinner",2)}function zi(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"perun-web-apps-menu-buttons-field",3),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("items",t.items)("size","small")}}let Ji=(()=>{class t{constructor(t,e,i,s,a,o,n,c,r){this.sideMenuService=t,this.voService=e,this.groupService=i,this.route=s,this.router=a,this.guiAuthResolver=o,this.apiRequest=n,this.attributesManager=c,this.notificator=r,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.a.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)(g.Mb(n.a),g.Mb(l.r),g.Mb(l.h),g.Mb(a.a),g.Mb(a.f),g.Mb(u.h),g.Mb(u.b),g.Mb(l.c),g.Mb(u.l))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Hc(0,Hi,1,0,"mat-spinner",0),g.Hc(1,zi,2,2,"div",1)),2&t&&(g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,Z.a],styles:[""]}),t})();var Ui=i("IgBI");function Bi(t,e){1&t&&g.Nb(0,"mat-spinner",3)}function Fi(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc(2).switchToInitial()})),g.Sb(1,"i",9),g.Jc(2,"arrow_right_alt"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function $i(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc(2).switchToExtension()})),g.Sb(1,"i",9),g.Jc(2,"cached"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function Zi(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc(2).switchToEnglish()})),g.Sb(1,"i",9),g.Jc(2,"public"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_ENGLISH")," "))}function Wi(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc(2).switchToCzech()})),g.Sb(1,"i",9),g.Jc(2,"public"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_CZECH")," "))}function Ki(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Yi(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function ji(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Nb(5,"input",16),g.Rb(),g.Rb(),g.Sb(6,"div",17),g.Hc(7,Ki,2,1,"mat-icon",18),g.Hc(8,Yi,2,1,"mat-icon",18),g.Sb(9,"span",19),g.Jc(10),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(2),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(2),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function Xi(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Qi(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function qi(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Nb(5,"input",21),g.Rb(),g.Rb(),g.Sb(6,"div",17),g.Hc(7,Xi,2,1,"mat-icon",18),g.Hc(8,Qi,2,1,"mat-icon",18),g.Sb(9,"span",19),g.Jc(10),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(4),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function ts(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function es(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function is(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Nb(5,"input",22),g.Nb(6,"br"),g.Nb(7,"input",16),g.Rb(),g.Rb(),g.Sb(8,"div",17),g.Hc(9,ts,2,1,"mat-icon",18),g.Hc(10,es,2,1,"mat-icon",18),g.Sb(11,"span",19),g.Jc(12),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(2),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(2),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(2),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function ss(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"input",24),g.Jc(2),g.Nb(3,"br"),g.Rb()),2&t){const t=e.$implicit,i=g.dc(3).$implicit;g.Ab(1),g.kc("disabled","ALWAYS"===i.disabled),g.Ab(1),g.Lc(" ",t,"")}}function as(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function os(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function ns(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"form",15),g.Hc(5,ss,4,2,"div",7),g.Nb(6,"input",23),g.ec(7,"translate"),g.Rb(),g.Rb(),g.Sb(8,"div",17),g.Hc(9,as,2,1,"mat-icon",18),g.Hc(10,os,2,1,"mat-icon",18),g.Sb(11,"span",19),g.Jc(12),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(2),g.kc("ngForOf",e.getLocalizedOptions(t)),g.Ab(1),g.lc("value",g.fc(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(3),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function cs(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"span",25),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(1),g.kc("innerHTML",e.getLocalizedLabel(t),g.yc)}}function rs(t,e){if(1&t&&(g.Sb(0,"option"),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.Ab(1),g.Kc(t)}}function ls(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function bs(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function us(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Sb(5,"select",26),g.Hc(6,rs,2,1,"option",7),g.Rb(),g.Rb(),g.Rb(),g.Sb(7,"div",17),g.Hc(8,ls,2,1,"mat-icon",18),g.Hc(9,bs,2,1,"mat-icon",18),g.Sb(10,"span",19),g.Jc(11),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(2),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(1),g.kc("ngForOf",e.getLocalizedOptions(t)),g.Ab(2),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function ps(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function ds(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function hs(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Nb(4,"textarea",27),g.Rb(),g.Sb(5,"div",17),g.Hc(6,ps,2,1,"mat-icon",18),g.Hc(7,ds,2,1,"mat-icon",18),g.Sb(8,"span",19),g.Jc(9),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(1),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(2),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function gs(t,e){if(1&t&&(g.Sb(0,"option",32),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.Ab(1),g.Kc(t)}}function ms(t,e){1&t&&(g.Sb(0,"div",33),g.Sb(1,"form"),g.Nb(2,"input",34),g.Rb(),g.Rb())}function fs(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Is(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function As(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Sb(5,"select",28),g.Zb("ngModelChange",(function(e){g.xc(t);const i=g.dc(2).$implicit;return g.dc(2).mapForCombobox[i.id]=e})),g.Sb(6,"option",29),g.Jc(7),g.ec(8,"translate"),g.Rb(),g.Hc(9,gs,2,1,"option",30),g.Rb(),g.Hc(10,ms,3,0,"div",31),g.Rb(),g.Rb(),g.Sb(11,"div",17),g.Hc(12,fs,2,1,"mat-icon",18),g.Hc(13,Is,2,1,"mat-icon",18),g.Sb(14,"span",19),g.Jc(15),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(2),g.kc("ngModel",e.mapForCombobox[t.id])("disabled","ALWAYS"===t.disabled),g.Ab(2),g.Kc(g.fc(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),g.Ab(2),g.kc("ngForOf",e.getLocalizedOptions(t)),g.Ab(1),g.kc("ngIf","true"===e.mapForCombobox[t.id]),g.Ab(2),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function Ss(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"input",35),g.Jc(2),g.Rb()),2&t){const t=e.$implicit,i=g.dc(3).$implicit;g.Ab(1),g.kc("disabled","ALWAYS"===i.disabled),g.Ab(1),g.Lc(" ",t," ")}}function Ts(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Es(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function Rs(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Sb(5,"form",33),g.Hc(6,Ss,3,2,"div",7),g.Rb(),g.Rb(),g.Rb(),g.Sb(7,"div",17),g.Hc(8,Ts,2,1,"mat-icon",18),g.Hc(9,Es,2,1,"mat-icon",18),g.Sb(10,"span",19),g.Jc(11),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(3),g.kc("ngForOf",e.getLocalizedOptions(t)),g.Ab(2),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function vs(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Ms(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function Os(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Sb(5,"form",33),g.Nb(6,"input",35),g.Jc(7," example group1 "),g.Nb(8,"br"),g.Nb(9,"input",35),g.Jc(10," example group2 "),g.Nb(11,"br"),g.Nb(12,"input",35),g.Jc(13," example group3 "),g.Rb(),g.Rb(),g.Rb(),g.Sb(14,"div",17),g.Hc(15,vs,2,1,"mat-icon",18),g.Hc(16,Ms,2,1,"mat-icon",18),g.Sb(17,"span",19),g.Jc(18),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(3),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(3),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(3),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(3),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function Ns(t,e){if(1&t&&(g.Sb(0,"mat-icon",38),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function _s(t,e){if(1&t&&(g.Sb(0,"mat-icon",38),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function Ls(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"button",36),g.Jc(2),g.Rb(),g.Hc(3,Ns,2,1,"mat-icon",37),g.Hc(4,_s,2,1,"mat-icon",37),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(1),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(1),g.Kc(e.getLocalizedLabel(t)),g.Ab(1),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden)}}function ys(t,e){if(1&t&&(g.Sb(0,"mat-icon",38),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Ps(t,e){if(1&t&&(g.Sb(0,"mat-icon",38),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function Cs(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"button",36),g.Jc(2),g.Rb(),g.Hc(3,ys,2,1,"mat-icon",37),g.Hc(4,Ps,2,1,"mat-icon",37),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(1),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(1),g.Kc(e.getLocalizedLabel(t)),g.Ab(1),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden)}}function ks(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"lock"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.disabledTooltip(t))}}function Ds(t,e){if(1&t&&(g.Sb(0,"mat-icon",20),g.Jc(1,"visibility_off"),g.Rb()),2&t){const t=g.dc(3).$implicit,e=g.dc(2);g.kc("matTooltip",e.hiddenTooltip(t))}}function Gs(t,e){if(1&t&&(g.Sb(0,"div",13),g.Sb(1,"div",14),g.Sb(2,"span",15),g.Jc(3),g.Rb(),g.Sb(4,"div",15),g.Sb(5,"select",39),g.Sb(6,"option",40),g.Jc(7),g.ec(8,"translate"),g.Rb(),g.Sb(9,"option",41),g.Jc(10,"(GMT -12:00) Eniwetok, Kwajalein"),g.Rb(),g.Sb(11,"option",42),g.Jc(12,"(GMT -11:00) Midway Island, Samoa"),g.Rb(),g.Sb(13,"option",43),g.Jc(14,"(GMT -10:00) Hawaii"),g.Rb(),g.Sb(15,"option",44),g.Jc(16,"(GMT -9:30) Taiohae"),g.Rb(),g.Sb(17,"option",45),g.Jc(18,"(GMT -9:00) Alaska"),g.Rb(),g.Sb(19,"option",46),g.Jc(20,"(GMT -8:00) Pacific Time (US & Canada)"),g.Rb(),g.Sb(21,"option",47),g.Jc(22,"(GMT -7:00) Mountain Time (US & Canada)"),g.Rb(),g.Sb(23,"option",48),g.Jc(24,"(GMT -6:00) Central Time (US & Canada), Mexico City"),g.Rb(),g.Sb(25,"option",49),g.Jc(26,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),g.Rb(),g.Sb(27,"option",50),g.Jc(28,"(GMT -4:30) Caracas"),g.Rb(),g.Sb(29,"option",51),g.Jc(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),g.Rb(),g.Sb(31,"option",52),g.Jc(32,"(GMT -3:30) Newfoundland"),g.Rb(),g.Sb(33,"option",53),g.Jc(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),g.Rb(),g.Sb(35,"option",54),g.Jc(36,"(GMT -2:00) Mid-Atlantic"),g.Rb(),g.Sb(37,"option",55),g.Jc(38,"(GMT -1:00) Azores, Cape Verde Islands"),g.Rb(),g.Sb(39,"option",56),g.Jc(40,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),g.Rb(),g.Sb(41,"option",57),g.Jc(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),g.Rb(),g.Sb(43,"option",58),g.Jc(44,"(GMT +2:00) Kaliningrad, South Africa"),g.Rb(),g.Sb(45,"option",59),g.Jc(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),g.Rb(),g.Sb(47,"option",60),g.Jc(48,"(GMT +3:30) Tehran"),g.Rb(),g.Sb(49,"option",61),g.Jc(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),g.Rb(),g.Sb(51,"option",62),g.Jc(52,"(GMT +4:30) Kabul"),g.Rb(),g.Sb(53,"option",63),g.Jc(54,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),g.Rb(),g.Sb(55,"option",64),g.Jc(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),g.Rb(),g.Sb(57,"option",65),g.Jc(58,"(GMT +5:45) Kathmandu, Pokhara"),g.Rb(),g.Sb(59,"option",66),g.Jc(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),g.Rb(),g.Sb(61,"option",67),g.Jc(62,"(GMT +6:30) Yangon, Mandalay"),g.Rb(),g.Sb(63,"option",68),g.Jc(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),g.Rb(),g.Sb(65,"option",69),g.Jc(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),g.Rb(),g.Sb(67,"option",70),g.Jc(68,"(GMT +8:45) Eucla"),g.Rb(),g.Sb(69,"option",71),g.Jc(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),g.Rb(),g.Sb(71,"option",72),g.Jc(72,"(GMT +9:30) Adelaide, Darwin"),g.Rb(),g.Sb(73,"option",73),g.Jc(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),g.Rb(),g.Sb(75,"option",74),g.Jc(76,"(GMT +10:30) Lord Howe Island"),g.Rb(),g.Sb(77,"option",75),g.Jc(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),g.Rb(),g.Sb(79,"option",76),g.Jc(80,"(GMT +11:30) Norfolk Island"),g.Rb(),g.Sb(81,"option",77),g.Jc(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),g.Rb(),g.Sb(83,"option",78),g.Jc(84,"(GMT +12:45) Chatham Islands"),g.Rb(),g.Sb(85,"option",79),g.Jc(86,"(GMT +13:00) Apia, Nukualofa"),g.Rb(),g.Sb(87,"option",80),g.Jc(88,"(GMT +14:00) Line Islands, Tokelau"),g.Rb(),g.Rb(),g.Rb(),g.Rb(),g.Sb(89,"div",17),g.Hc(90,ks,2,1,"mat-icon",18),g.Hc(91,Ds,2,1,"mat-icon",18),g.Sb(92,"span",19),g.Jc(93),g.Rb(),g.Rb(),g.Rb()),2&t){const t=g.dc(2).$implicit,e=g.dc(2);g.Ab(3),g.Kc(e.getLocalizedLabel(t)),g.Ab(2),g.kc("disabled","ALWAYS"===t.disabled),g.Ab(2),g.Lc(" ",g.fc(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),g.Ab(83),g.kc("ngIf","NEVER"!==t.disabled),g.Ab(1),g.kc("ngIf","NEVER"!==t.hidden),g.Ab(2),g.Kc(e.getLocalizedHint(t))}}function Vs(t,e){if(1&t&&(g.Sb(0,"div",11),g.Hc(1,ji,11,5,"div",12),g.Hc(2,qi,11,4,"div",12),g.Hc(3,is,13,6,"div",12),g.Hc(4,ns,13,9,"div",12),g.Hc(5,cs,2,1,"div",2),g.Hc(6,us,12,6,"div",12),g.Hc(7,hs,10,5,"div",12),g.Hc(8,As,16,11,"div",12),g.Hc(9,Rs,12,5,"div",12),g.Hc(10,Os,19,7,"div",12),g.Hc(11,Ls,5,4,"div",12),g.Hc(12,Cs,5,4,"div",2),g.Hc(13,Gs,94,8,"div",12),g.Rb()),2&t){const t=g.dc().$implicit;g.Ab(1),g.kc("ngIf",("TEXTFIELD"===t.type||"VALIDATED_EMAIL"===t.type||"USERNAME"===t.type)&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","FROM_FEDERATION_SHOW"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","PASSWORD"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","RADIO"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf",("HEADING"===t.type||"HTML_COMMENT"===t.type)&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","SELECTIONBOX"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","TEXTAREA"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","COMBOBOX"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","CHECKBOX"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","SUBMIT_BUTTON"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","AUTO_SUBMIT_BUTTON"===t.type&&"ALWAYS"!==t.hidden),g.Ab(1),g.kc("ngIf","TIMEZONE"===t.type&&"ALWAYS"!==t.hidden)}}function ws(t,e){if(1&t&&(g.Sb(0,"div"),g.Hc(1,Vs,14,13,"div",10),g.Rb()),2&t){const t=e.$implicit,i=g.dc(2);g.Ab(1),g.kc("ngIf",i.isValid(t))}}function xs(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"div",4),g.Hc(2,Fi,5,3,"button",5),g.Hc(3,$i,5,3,"button",5),g.Hc(4,Zi,5,3,"button",5),g.Hc(5,Wi,5,3,"button",5),g.Rb(),g.Sb(6,"div",6),g.Hc(7,ws,2,1,"div",7),g.Rb(),g.Rb()),2&t){const t=g.dc();g.Ab(2),g.kc("ngIf",!t.initialPage),g.Ab(1),g.kc("ngIf",t.initialPage),g.Ab(1),g.kc("ngIf","cs"===t.language),g.Ab(1),g.kc("ngIf","en"===t.language),g.Ab(2),g.kc("ngForOf",t.applicationFormItems)}}let Hs=(()=>{class t{constructor(t,e){this.route=t,this.translate=e,this.loading=!0,this.applicationFormItems=[],this.language="en",this.initialPage=!0,this.mapForCombobox=new Map}ngOnInit(){this.route.queryParamMap.subscribe(t=>{this.applicationFormItems=JSON.parse(t.get("applicationFormItems")),this.loading=!1})}switchToInitial(){this.initialPage=!0}switchToExtension(){this.initialPage=!1}switchToEnglish(){this.language="en"}switchToCzech(){this.language="cs"}getLocalizedOptions(t){if(t.i18n[this.language]){const e=t.i18n[this.language].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,s;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,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${e} ${i} ${s}`;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,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${e} ${i} ${s}`;default:return""}}hiddenTooltip(t){let e,i,s;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,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${e} ${i} ${s}`;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,s=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${e} ${i} ${s}`;default:return""}}getLocalizedLabel(t){return t.i18n[this.language]?t.i18n[this.language].label:t.shortname}getLocalizedHint(t){return t.i18n[this.language]?t.i18n[this.language].help:""}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(a.a),g.Mb(R.e))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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","d-flex","mb-2"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],["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&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,Bi,1,0,"mat-spinner",1),g.Hc(4,xs,8,5,"div",2)),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,s.s,E.b,A.a,S.a,fe.H,fe.s,fe.t,fe.w,fe.G,fe.D,fe.r,fe.u],pipes:[R.d],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})(),zs=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=g.Gb({type:t,selectors:[["app-member-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&g.Nb(0,"app-animated-router-outlet")},directives:[T.a],styles:[""],data:{animation:[r.a]}}),t})();function Js(t,e){1&t&&g.Nb(0,"mat-spinner",2)}function Us(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"perun-web-apps-menu-buttons-field",3),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("items",t.items)("size","small")}}let Bs=(()=>{class t{constructor(t,e,i,s){this.sideMenuService=t,this.voService=e,this.memberManager=i,this.route=s,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{const e=t.voId;this.memberManager.getMemberById(t.memberId).subscribe(t=>{this.member=t,this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.initItems(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}initItems(){this.items=[]}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(n.a),g.Mb(l.r),g.Mb(l.i),g.Mb(a.a))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-member-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Hc(0,Js,1,0,"mat-spinner",0),g.Hc(1,Us,2,2,"div",1)),2&t&&(g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,Z.a],styles:[""]}),t})();const Fs=["list"];function $s(t,e){1&t&&(g.Jc(0),g.ec(1,"translate")),2&t&&g.Lc(" ",g.fc(1,1,"MEMBER_DETAIL.ENTITY")," ")}function Zs(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",10),g.Zb("click",(function(){return g.xc(t),g.dc().onCreate()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "))}function Ws(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",11),g.Zb("click",(function(){return g.xc(t),g.dc().onSave()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," ")}}function Ks(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",12),g.Zb("click",(function(){return g.xc(t),g.dc().onDelete()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," ")}}function Ys(t,e){1&t&&g.Nb(0,"mat-spinner",13)}function js(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-attributes-list",14,15),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("attributes",t.attributes)("selection",t.selection)}}function Xs(t,e){1&t&&(g.Jc(0),g.ec(1,"translate"),g.ec(2,"translate")),2&t&&g.Mc(" ",g.fc(1,2,"MEMBER_DETAIL.ENTITY")," - ",g.fc(2,4,"GROUP_DETAIL.ENTITY")," ")}function Qs(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",18),2&t){const t=g.dc(3);g.kc("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","group")}}function qs(t,e){if(1&t&&g.Hc(0,Qs,1,3,"app-two-entity-attribute-page",17),2&t){const t=g.dc(2);g.kc("ngIf",!t.loading)}}function ta(t,e){1&t&&(g.Sb(0,"mat-tab"),g.Hc(1,Xs,3,6,"ng-template",1),g.Hc(2,qs,1,1,"ng-template",16),g.Rb())}function ea(t,e){1&t&&(g.Jc(0),g.ec(1,"translate"),g.ec(2,"translate")),2&t&&g.Mc(" ",g.fc(1,2,"MEMBER_DETAIL.ENTITY")," - ",g.fc(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function ia(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",18),2&t){const t=g.dc(3);g.kc("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","resource")}}function sa(t,e){if(1&t&&g.Hc(0,ia,1,3,"app-two-entity-attribute-page",17),2&t){const t=g.dc(2);g.kc("ngIf",!t.loading)}}function aa(t,e){1&t&&(g.Sb(0,"mat-tab"),g.Hc(1,ea,3,6,"ng-template",1),g.Hc(2,sa,1,1,"ng-template",16),g.Rb())}let oa=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.route=t,this.attributesManager=e,this.notificator=i,this.dialog=s,this.translate=a,this.tableConfigService=o,this.authResolver=n,this.memberManager=c,this.selection=new Qt.c(!0,[]),this.attributes=[],this.filterValue="",this.tableId=ee.r,this.translate.get("MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe(t=>this.saveSuccessMessage=t),this.translate.get("MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe(t=>this.deleteSuccessMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),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.refreshTable()})})}onCreate(){const t=Object(b.o)();t.width="1050px",t.data={entityId:this.memberId,entity:"member",notEmptyAttributes:this.attributes,style:"member-theme"},this.dialog.open(ie.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=Object(b.o)();t.width="450px",t.data={entityId:this.memberId,entity:"member",attributes:this.selection.selected},this.dialog.open(d.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=Object(b.o)();t.width="450px",t.data={entityId:this.memberId,entity:"member",attributes:this.selection.selected},this.dialog.open(qt.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getMemberAttributes(this.memberId).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)}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(a.a),g.Mb(l.c),g.Mb(u.l),g.Mb(m.b),g.Mb(R.e),g.Mb(ee.pb),g.Mb(u.h),g.Mb(l.i))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-member-attributes"]],viewQuery:function(t,e){var i;1&t&&g.Qc(Fs,!0),2&t&&g.sc(i=g.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:16,vars:11,consts:[[1,"page-subtitle"],["matTabLabel",""],[1,"mt-2",3,"refresh"],["mat-flat-button","","class","mr-2 mt-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2 mt-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","mt-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","filterValue","attributes","selection","page",4,"ngIf"],[4,"ngIf"],["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"],[1,"mr-auto","ml-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Sb(4,"mat-tab-group"),g.Sb(5,"mat-tab"),g.Hc(6,$s,2,3,"ng-template",1),g.Sb(7,"perun-web-apps-refresh-button",2),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Hc(8,Zs,3,3,"button",3),g.Hc(9,Ws,3,4,"button",4),g.Hc(10,Ks,3,4,"button",5),g.Sb(11,"perun-web-apps-immediate-filter",6),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Hc(12,Ys,1,0,"mat-spinner",7),g.Hc(13,js,2,4,"perun-web-apps-attributes-list",8),g.Rb(),g.Hc(14,ta,3,0,"mat-tab",9),g.Hc(15,aa,3,0,"mat-tab",9),g.Rb(),g.Rb()),2&t&&(g.Ab(2),g.Kc(g.fc(3,9,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),g.Ab(6),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",e.memberGroupAttAuth),g.Ab(1),g.kc("ngIf",e.memberResourceAttAuth))},directives:[vi.c,vi.a,vi.d,se.a,s.t,ae.a,E.b,I.c,oe.a,vi.b,Mi.a],pipes:[R.d],styles:[""]}),t})(),na=(()=>{class t{constructor(t,e,i,s,a){this.sideMenuService=t,this.voService=e,this.authResolver=i,this.route=s,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)(g.Mb(n.a),g.Mb(l.r),g.Mb(u.h),g.Mb(a.a),g.Mb(a.f))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Nb(1,"perun-web-apps-menu-buttons-field",0),g.Rb()),2&t&&(g.Ab(1),g.kc("items",e.items)("size","small"))},directives:[Z.a],styles:[""]}),t})();var ca=i("5bHy"),ra=i("KSio"),la=i("yLXW"),ba=i("mPlY"),ua=i("Rbfv");function pa(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",7),g.Zb("click",(function(){return g.xc(t),g.dc().create()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function da(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc().deleteTag()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function ha(t,e){1&t&&g.Nb(0,"mat-spinner",9)}function ga(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-resources-tags-list",10),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("selection",t.selection)("pageSize",t.pageSize)("resourceTags",t.resourceTag)("filterValue",t.filterValue)("displayedColumns",t.displayedColumns)}}let ma=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.route=t,this.resourceManager=e,this.dialog=i,this.notificator=s,this.tableConfigService=a,this.translator=o,this.authResolver=n,this.voService=c,this.loading=!1,this.resourceTag=[],this.selection=new Qt.c(!0,[]),this.tableId=ee.mb,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=Object(b.o)();t.width="450px",t.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(ba.a,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=Object(b.o)();t.width="450px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(la.a,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)(g.Mb(a.a),g.Mb(l.m),g.Mb(m.b),g.Mb(u.l),g.Mb(ee.pb),g.Mb(R.e),g.Mb(u.h),g.Mb(l.r))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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","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","page"]],template:function(t,e){1&t&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Sb(3,"perun-web-apps-refresh-button",1),g.Zb("refresh",(function(){return e.updateData()})),g.Rb(),g.Hc(4,pa,3,3,"button",2),g.Hc(5,da,3,4,"button",3),g.Sb(6,"perun-web-apps-immediate-filter",4),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Hc(7,ha,1,0,"mat-spinner",5),g.Hc(8,ga,1,5,"app-resources-tags-list",6)),2&t&&(g.Ab(1),g.Kc(g.fc(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),g.Ab(3),g.kc("ngIf",e.createAuth),g.Ab(1),g.kc("ngIf",e.deleteAuth),g.Ab(1),g.kc("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[se.a,s.t,ae.a,E.b,I.c,ua.a],pipes:[R.d],styles:[""]}),t})();function fa(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-expiration-settings",1),g.Zb("saveAttribute",(function(e){return g.xc(t),g.dc().saveExpirationAttribute(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("expirationAttribute",t.expirationAttribute)}}let Ia=(()=>{class t{constructor(t,e,i,s,a){this.attributesManager=t,this.route=e,this.translate=i,this.notificator=s,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.a.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)(g.Mb(l.c),g.Mb(a.a),g.Mb(R.e),g.Mb(u.l),g.Mb(u.b))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&g.Hc(0,fa,1,1,"app-expiration-settings",0),2&t&&g.kc("ngIf",void 0!==e.expirationAttribute)},directives:[s.t,we],styles:[""]}),t})();function Aa(t,e){if(1&t&&g.Nb(0,"app-managers-page",1),2&t){const t=g.dc();g.kc("complementaryObject",t.group)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Sa=(()=>{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)(g.Mb(l.h),g.Mb(a.a),g.Mb(u.h))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&g.Hc(0,Aa,1,4,"app-managers-page",0),2&t&&g.kc("ngIf",e.group)},directives:[s.t,Je.a],styles:[""]}),t})();var Ta=i("zSH9"),Ea=i("Tsqg"),Ra=i("0N5F"),va=i("is9t"),Ma=i("iAde"),Oa=i("cePI");function Na(t,e){if(1&t){const t=g.Tb();g.Sb(0,"th",15),g.Sb(1,"mat-checkbox",16),g.Zb("change",(function(e){g.xc(t);const i=g.dc();return e?i.masterToggle():null})),g.Rb(),g.Rb()}if(2&t){const t=g.dc();g.Ab(1),g.kc("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=g.Tb();g.Sb(0,"td",17),g.Sb(1,"mat-checkbox",18),g.Zb("change",(function(i){g.xc(t);const s=e.$implicit,a=g.dc();return i?a.toggle(s):null}))("click",(function(e){return g.xc(t),e.stopPropagation()})),g.Rb(),g.Rb()}if(2&t){const t=e.$implicit,i=g.dc();g.Ab(1),g.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function La(t,e){1&t&&(g.Sb(0,"th",19),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_ID")," "))}function ya(t,e){if(1&t&&(g.Sb(0,"td",17),g.Jc(1),g.Rb()),2&t){const t=e.$implicit;g.Ab(1),g.Kc(t.id)}}function Pa(t,e){1&t&&(g.Sb(0,"th",19),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_TYPE")," "))}function Ca(t,e){if(1&t&&(g.Sb(0,"td",20),g.Jc(1),g.Rb()),2&t){const t=e.$implicit,i=g.dc();g.Ab(1),g.Kc(i.getMailType(t))}}function ka(t,e){1&t&&(g.Sb(0,"th",19),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE")," "))}function Da(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"mat-icon",23),g.Jc(2,"arrow_right_alt"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()),2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_INITIAL")," "))}function Ga(t,e){1&t&&(g.Sb(0,"mat-icon",24),g.Jc(1,"cached"),g.Rb(),g.Jc(2),g.ec(3,"translate")),2&t&&(g.Ab(2),g.Lc(" ",g.fc(3,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_EXTENSION")," "))}function Va(t,e){if(1&t&&(g.Sb(0,"td",20),g.Hc(1,Da,5,3,"div",21),g.Hc(2,Ga,4,3,"ng-template",null,22,g.Ic),g.Rb()),2&t){const t=e.$implicit,i=g.tc(3);g.Ab(1),g.kc("ngIf","INITIAL"==t.appType)("ngIfElse",i)}}function wa(t,e){1&t&&(g.Sb(0,"th",19),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_SENDING_ENABLED")," "))}function xa(t,e){if(1&t){const t=g.Tb();g.Sb(0,"td",20),g.Sb(1,"section"),g.Sb(2,"mat-checkbox",25),g.Zb("change",(function(){g.xc(t);const i=e.$implicit;return g.dc().changeSending(i)}))("click",(function(e){return g.xc(t),e.stopPropagation()})),g.ec(3,"translate"),g.Rb(),g.Rb(),g.Rb()}if(2&t){const t=e.$implicit,i=g.dc();g.Ab(2),g.lc("matTooltip",g.fc(3,4,"VO_DETAIL.SETTINGS.NOTIFICATIONS.DISABLED_HINT")),g.kc("disabled",i.disableSend)("matTooltipDisabled",!i.disableSend)("ngModel",t.send)}}function Ha(t,e){1&t&&g.Nb(0,"tr",26)}function za(t,e){if(1&t){const t=g.Tb();g.Sb(0,"tr",27),g.Zb("click",(function(){g.xc(t);const i=e.$implicit;return g.dc().openApplicationMailDetail(i)})),g.Rb()}2&t&&g.Eb("cursor-pointer",!0)}let Ja=(()=>{class t{constructor(t,e,i,s,a,o){this.registrarService=t,this.translate=e,this.notificator=i,this.dialog=s,this.authResolver=a,this.tableCheckbox=o,this.displayedColumns=["select","id","mailType","appType","send"],this.disableSend=!1,this.selection=new Qt.c(!0,[]),this.pageSize=10,this.selectionChange=new g.o,this.page=new g.o,this.pageSizeOptions=b.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new nt.o(this.applicationMails),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.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=Object(b.o)();e.width="1400px",e.height="700px",e.data={theme:this.theme,voId:this.voId,groupId:this.groupId,createMailNotification:!1,applicationMail:t},this.dialog.open(Ra.a,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 nt.o(this.applicationMails),this.setDataSource()}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(l.l),g.Mb(R.e),g.Mb(u.l),g.Mb(m.b),g.Mb(u.h),g.Mb(u.n))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-notification-list"]],viewQuery:function(t,e){var i;1&t&&(g.Dc(Oa.a,!0),g.Dc(Ma.a,!0)),2&t&&(g.sc(i=g.ac())&&(e.matSort=i.first),g.sc(i=g.ac())&&(e.matPaginator=i.first))},inputs:{applicationMails:"applicationMails",voId:"voId",groupId:"groupId",displayedColumns:"displayedColumns",disableSend:"disableSend",selection:"selection",pageSize:"pageSize",theme:"theme"},outputs:{selectionChange:"selectionChange",page:"page"},features:[g.yb],decls:21,vars:6,consts:[[1,"card-body"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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","matTooltip","matTooltipDisabled","ngModel","change","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"]],template:function(t,e){1&t&&(g.Sb(0,"div",0),g.Sb(1,"div",1),g.Sb(2,"table",2),g.Qb(3,3),g.Hc(4,Na,2,3,"th",4),g.Hc(5,_a,2,2,"td",5),g.Pb(),g.Qb(6,6),g.Hc(7,La,3,3,"th",7),g.Hc(8,ya,2,1,"td",5),g.Pb(),g.Qb(9,8),g.Hc(10,Pa,3,3,"th",7),g.Hc(11,Ca,2,1,"td",9),g.Pb(),g.Qb(12,10),g.Hc(13,ka,3,3,"th",7),g.Hc(14,Va,4,2,"td",9),g.Pb(),g.Qb(15,11),g.Hc(16,wa,3,3,"th",7),g.Hc(17,xa,4,6,"td",9),g.Pb(),g.Hc(18,Ha,1,0,"tr",12),g.Hc(19,za,1,2,"tr",13),g.Rb(),g.Rb(),g.Sb(20,"mat-paginator",14),g.Zb("page",(function(t){return e.page.emit(t)})),g.Rb(),g.Rb()),2&t&&(g.Ab(2),g.kc("dataSource",e.dataSource),g.Ab(16),g.kc("matHeaderRowDef",e.displayedColumns),g.Ab(1),g.kc("matRowDefColumns",e.displayedColumns),g.Ab(1),g.kc("length",e.applicationMails.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions))},directives:[nt.n,Oa.a,nt.c,nt.i,nt.b,nt.k,nt.m,Ma.a,nt.h,ve.a,nt.a,Oa.b,s.t,A.a,S.a,fe.r,fe.u,nt.j,nt.l],pipes:[R.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();var Ua=i("FcRk");function Ba(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",9),g.Zb("click",(function(){return g.xc(t),g.dc().add()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function Fa(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",10),g.Zb("click",(function(){return g.xc(t),g.dc().remove()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function $a(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",11),g.Zb("click",(function(){return g.xc(t),g.dc().changeEmailFooter()})),g.Sb(1,"i",12),g.Jc(2,"email"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "))}function Za(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",13),g.Zb("click",(function(){return g.xc(t),g.dc().copy()})),g.Sb(1,"i",12),g.Jc(2,"file_copy"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function Wa(t,e){1&t&&g.Nb(0,"mat-spinner",14)}function Ka(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",15),g.Sb(1,"app-notification-list",16),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)}))("selectionChange",(function(e){return g.xc(t),g.dc().changeSelection(e)})),g.Rb(),g.Rb()}if(2&t){const t=g.dc();g.Ab(1),g.kc("applicationMails",t.applicationMails)("pageSize",t.pageSize)("voId",t.voId)("displayedColumns",t.displayedColumns)("disableSend",!t.addAuth)("selection",t.selection)("theme","vo-theme")}}function Ya(t,e){1&t&&(g.Sb(0,"app-alert",17),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.kc("alert_type","warn"),g.Ab(1),g.Lc(" ",g.fc(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS"),"\n"))}let ja=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.route=t,this.registrarService=e,this.translate=i,this.dialog=s,this.tableConfigService=a,this.notificator=o,this.authResolver=n,this.voService=c,this.loading=!1,this.applicationMails=[],this.selection=new Qt.c(!0,[]),this.tableId=ee.ob,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=Object(b.e)();t.formId=this.applicationForm.id;const e=Object(b.o)();e.width="1400px",e.height="700px",e.data={theme:"vo-theme",voId:this.voId,createMailNotification:!0,applicationMail:t,applicationMails:this.applicationMails},this.dialog.open(Ra.a,e).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=Object(b.o)();t.width="500px",t.data={voId:this.voId,mails:this.selection.selected,theme:"vo-theme"},this.dialog.open(Ta.a,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=Object(b.o)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(va.a,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=Object(b.o)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Ea.a,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)(g.Mb(a.a),g.Mb(l.l),g.Mb(R.e),g.Mb(m.b),g.Mb(ee.pb),g.Mb(u.l),g.Mb(u.h),g.Mb(l.r))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-vo-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Sb(3,"div",1),g.Hc(4,Ba,3,3,"button",2),g.Hc(5,Fa,3,4,"button",3),g.Hc(6,$a,5,3,"button",4),g.Hc(7,Za,5,3,"button",5),g.Rb(),g.Hc(8,Wa,1,0,"mat-spinner",6),g.Hc(9,Ka,2,7,"div",7),g.Hc(10,Ya,3,4,"app-alert",8)),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,8,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),g.Ab(3),g.kc("ngIf",!e.loading&&e.addAuth),g.Ab(1),g.kc("ngIf",!e.loading&&e.removeAuth),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading&&e.copyAuth),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",0!==e.applicationMails.length&&!e.loading),g.Ab(1),g.kc("ngIf",0===e.applicationMails.length&&!e.loading))},directives:[s.t,E.b,I.c,Ja,Ua.a],pipes:[R.d],styles:[""]}),t})();var Xa=i("JKyc");function Qa(t,e){1&t&&g.Nb(0,"mat-spinner",3)}function qa(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",12),g.Zb("click",(function(){return g.xc(t),g.dc(2).add()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function to(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",13),g.Zb("click",(function(){return g.xc(t),g.dc(2).remove()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc(2);g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function eo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",14),g.Zb("click",(function(){return g.xc(t),g.dc(2).copy()})),g.Sb(1,"i",8),g.Jc(2,"file_copy"),g.Rb(),g.Jc(3),g.ec(4,"translate"),g.Rb()}2&t&&(g.Ab(3),g.Lc(" ",g.fc(4,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function io(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div",15),g.Sb(1,"app-notification-list",16),g.Zb("page",(function(e){return g.xc(t),g.dc(2).pageChanged(e)}))("selectionChange",(function(e){return g.xc(t),g.dc(2).changeSelection(e)})),g.Rb(),g.Rb()}if(2&t){const t=g.dc(2);g.Ab(1),g.kc("disableSend",!t.addAuth)("displayedColumns",t.displayedColumns)("applicationMails",t.applicationMails)("pageSize",t.pageSize)("groupId",t.groupId)("selection",t.selection)("theme","group-theme")}}function so(t,e){1&t&&(g.Sb(0,"app-alert",17),g.Jc(1),g.ec(2,"translate"),g.Rb()),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS")," "))}function ao(t,e){if(1&t){const t=g.Tb();g.Sb(0,"div"),g.Sb(1,"div",4),g.Hc(2,qa,3,3,"button",5),g.Hc(3,to,3,4,"button",6),g.Sb(4,"button",7),g.Zb("click",(function(){return g.xc(t),g.dc().changeEmailFooter()})),g.Sb(5,"i",8),g.Jc(6,"email"),g.Rb(),g.Jc(7),g.ec(8,"translate"),g.Rb(),g.Hc(9,eo,5,3,"button",9),g.Rb(),g.Hc(10,io,2,7,"div",10),g.Hc(11,so,3,3,"app-alert",11),g.Rb()}if(2&t){const t=g.dc();g.Ab(2),g.kc("ngIf",t.addAuth),g.Ab(1),g.kc("ngIf",t.removeAuth),g.Ab(4),g.Lc(" ",g.fc(8,6,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),g.Ab(2),g.kc("ngIf",t.copyAuth),g.Ab(1),g.kc("ngIf",0!==t.applicationMails.length),g.Ab(1),g.kc("ngIf",0===t.applicationMails.length)}}function oo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",19),g.Zb("click",(function(){return g.xc(t),g.dc(2).createEmptyApplicationForm()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.CREATE_APPLICATION_FORM")," "))}function no(t,e){if(1&t&&(g.Sb(0,"div"),g.Sb(1,"app-alert",17),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Hc(4,oo,3,3,"button",18),g.Rb()),2&t){const t=g.dc();g.Ab(2),g.Kc(g.fc(3,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_APPLICATION_FORM")),g.Ab(2),g.kc("ngIf",t.createFormAuth)}}let co=(()=>{class t{constructor(t,e,i,s,a,o,n,c,r,l){this.route=t,this.registrarService=e,this.translate=i,this.dialog=s,this.apiRequest=a,this.tableConfigService=o,this.notificator=n,this.groupsService=c,this.guiAuthResolver=r,this.attributesService=l,this.loading=!1,this.applicationMails=[],this.selection=new Qt.c(!0,[]),this.noApplicationForm=!1,this.editEmailFooterAuth=!1,this.addAuth=!1,this.removeAuth=!1,this.copyAuth=!1,this.createFormAuth=!1,this.displayedColumns=[],this.tableId=ee.K}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.a.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=Object(b.e)();t.formId=this.applicationForm.id;const e=Object(b.o)();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(Ra.a,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=Object(b.o)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,mails:this.selection.selected,theme:"group-theme"},this.dialog.open(Ta.a,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=Object(b.o)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(va.a,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=Object(b.o)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(Ea.a,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)(g.Mb(a.a),g.Mb(l.l),g.Mb(R.e),g.Mb(m.b),g.Mb(u.b),g.Mb(ee.pb),g.Mb(u.l),g.Mb(l.h),g.Mb(u.h),g.Mb(l.c))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,Qa,1,0,"mat-spinner",1),g.Hc(4,ao,12,8,"div",2),g.Hc(5,no,5,4,"div",2)),2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,4,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.noApplicationForm&&!e.loading),g.Ab(1),g.kc("ngIf",e.noApplicationForm&&!e.loading))},directives:[s.t,I.c,E.b,Ja,Ua.a],pipes:[R.d],styles:[""]}),t})();var ro=i("R0qJ"),lo=i("aYBX"),bo=i("ZWyU");function uo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",7),g.Zb("click",(function(){return g.xc(t),g.dc().onAdd()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function po(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc().onRemove()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"VO_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function ho(t,e){1&t&&g.Nb(0,"mat-spinner",9)}function go(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-ext-sources-list",10),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("extSources",t.extSources)("hideColumns",t.hideColumns)("filterValue",t.filterValue)("selection",t.selection)}}let mo=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.extSourceService=t,this.route=e,this.dialog=i,this.notificator=s,this.tableConfigService=a,this.translate=o,this.authResolver=n,this.voService=c,this.extSources=[],this.selection=new Qt.c(!0,[]),this.filterValue="",this.tableId=ee.ib,this.hideColumns=[],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.hideColumns=this.removeAuth?[]:["select"]}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=Object(b.o)();t.width="1000px",t.data={voId:this.voId,extSources:this.extSources,theme:"vo-theme"},this.dialog.open(ro.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=Object(b.o)();t.width="600px",t.data={voId:this.voId,extSources:this.selection.selected,theme:"vo-theme"},this.dialog.open(lo.a,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)(g.Mb(l.f),g.Mb(a.a),g.Mb(m.b),g.Mb(u.l),g.Mb(ee.pb),g.Mb(R.e),g.Mb(u.h),g.Mb(l.r))},t.\u0275cmp=g.Gb({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","hideColumns","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","hideColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Sb(4,"perun-web-apps-refresh-button",1),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Hc(5,uo,3,3,"button",2),g.Hc(6,po,3,4,"button",3),g.Sb(7,"perun-web-apps-immediate-filter",4),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Hc(8,ho,1,0,"mat-spinner",5),g.Hc(9,go,1,5,"app-ext-sources-list",6),g.Rb()),2&t&&(g.Ab(2),g.Kc(g.fc(3,6,"VO_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),g.Ab(3),g.kc("ngIf",e.addAuth),g.Ab(1),g.kc("ngIf",e.removeAuth),g.Ab(1),g.kc("placeholder","VO_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[se.a,s.t,ae.a,E.b,I.c,bo.a],pipes:[R.d],styles:[""]}),t})();var fo=i("KtsV"),Io=i("v0MX"),Ao=i("K9kF");const So=["list"];function To(t,e){1&t&&g.Nb(0,"mat-spinner",8)}const Eo=function(){return["expiration","menu","recent"]};function Ro(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-groups-list",9,10),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("groups",t.groups)("parentGroup",t.group)("authType","group-relations")("selection",t.selection)("filter",t.filterValue)("hideColumns",g.oc(8,Eo))("disableHeadCheckbox",!0)}}let vo=(()=>{class t{constructor(t,e,i,s){this.route=t,this.groupService=e,this.tableConfigService=i,this.dialog=s,this.selection=new Qt.c(!0,[]),this.groups=[],this.reverse=!1,this.filterValue="",this.tableId=ee.L}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=Object(b.o)();t.width="1050px",t.data={groups:this.groups,theme:"group-theme",group:this.group,voId:this.voId,reverse:this.reverse},this.dialog.open(fo.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=Object(b.o)();t.width="450px",t.data={groups:this.selection.selected,theme:"group-theme",groupId:+this.groupId,reverse:this.reverse},this.dialog.open(Io.a,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)(g.Mb(a.a),g.Mb(l.h),g.Mb(ee.pb),g.Mb(m.b))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings-relations"]],viewQuery:function(t,e){var i;1&t&&g.Qc(So,!0),2&t&&g.sc(i=g.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&g.Eb("router-component",!0)},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","hideColumns","disableHeadCheckbox","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","parentGroup","authType","selection","filter","hideColumns","disableHeadCheckbox","page"],["list",""]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Sb(4,"perun-web-apps-refresh-button",1),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Sb(5,"button",2),g.Zb("click",(function(){return e.onCreate()})),g.Jc(6),g.ec(7,"translate"),g.Rb(),g.Sb(8,"button",3),g.Zb("click",(function(){return e.onDelete()})),g.ec(9,"translate"),g.Jc(10),g.ec(11,"translate"),g.Rb(),g.Sb(12,"perun-web-apps-immediate-filter",4),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Sb(13,"mat-checkbox",5),g.Zb("change",(function(){return e.showReverseUnions()})),g.Jc(14),g.ec(15,"translate"),g.Rb(),g.Hc(16,To,1,0,"mat-spinner",6),g.Hc(17,Ro,2,9,"perun-web-apps-groups-list",7),g.Rb()),2&t&&(g.Ab(2),g.Kc(g.fc(3,10,"GROUP_DETAIL.SETTINGS.RELATIONS.TITLE")),g.Ab(4),g.Lc(" ",g.fc(7,12,"GROUP_DETAIL.SETTINGS.RELATIONS.CREATE")," "),g.Ab(2),g.lc("matTooltip",g.fc(9,14,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE_TOOLTIP")),g.kc("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),g.Ab(2),g.Lc(" ",g.fc(11,16,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE")," "),g.Ab(2),g.kc("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),g.Ab(2),g.Kc(g.fc(15,18,"GROUP_DETAIL.SETTINGS.RELATIONS.REVERSE_UNIONS")),g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[se.a,E.b,S.a,ae.a,ve.a,s.t,I.c,Ao.a],pipes:[R.d],styles:[""]}),t})();function Mo(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",3),2&t){const t=g.dc();g.kc("entityValues",t.resources)("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","resource")}}function Oo(t,e){1&t&&g.Nb(0,"mat-spinner",4)}let No=(()=>{class t{constructor(t,e){this.route=t,this.resourcesManagerService=e,this.resources=[]}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.memberId=t.memberId,this.resourcesManagerService.getAllowedResources(this.memberId).subscribe(t=>{this.resources=t,this.loading=!1})})}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(a.a),g.Mb(l.m))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-member-settings-resource-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,Mo,1,4,"app-two-entity-attribute-page",1),g.Hc(4,Oo,1,0,"mat-spinner",2)),2&t&&(g.Ab(1),g.Kc(g.fc(2,3,"MEMBER_DETAIL.SETTINGS.RESOURCE_PAGE.TITLE")),g.Ab(2),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",e.loading))},directives:[s.t,Mi.a,I.c],pipes:[R.d],styles:[""]}),t})();function _o(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",3),2&t){const t=g.dc();g.kc("entityValues",t.resources)("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","resource")}}function Lo(t,e){1&t&&g.Nb(0,"mat-spinner",4)}let yo=(()=>{class t{constructor(t,e){this.route=t,this.resourcesManagerService=e,this.resources=[]}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.groupId=t.groupId,this.resourcesManagerService.getAssignedResourcesWithGroup(this.groupId).subscribe(t=>{this.resources=t,this.loading=!1})})}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(a.a),g.Mb(l.m))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-group-settings-resource-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,_o,1,4,"app-two-entity-attribute-page",1),g.Hc(4,Lo,1,0,"mat-spinner",2)),2&t&&(g.Ab(1),g.Kc(g.fc(2,3,"GROUP_DETAIL.SETTINGS.RESOURCE_ATTRIBUTES.TITLE")),g.Ab(2),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",e.loading))},directives:[s.t,Mi.a,I.c],pipes:[R.d],styles:[""]}),t})();function Po(t,e){if(1&t&&g.Nb(0,"app-two-entity-attribute-page",3),2&t){const t=g.dc();g.kc("entityValues",t.groups)("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","group")}}function Co(t,e){1&t&&g.Nb(0,"mat-spinner",4)}let ko=(()=>{class t{constructor(t,e){this.route=t,this.groupsManagerService=e,this.groups=[]}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.memberId=t.memberId,this.groupsManagerService.getMemberGroups(this.memberId).subscribe(t=>{this.groups=t,this.loading=!1})})}}return t.\u0275fac=function(e){return new(e||t)(g.Mb(a.a),g.Mb(l.h))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-member-settings-group-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,Po,1,4,"app-two-entity-attribute-page",1),g.Hc(4,Co,1,0,"mat-spinner",2)),2&t&&(g.Ab(1),g.Kc(g.fc(2,3,"MEMBER_DETAIL.SETTINGS.GROUP_PAGE.TITLE")),g.Ab(2),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",e.loading))},directives:[s.t,Mi.a,I.c],pipes:[R.d],styles:[""]}),t})();var Do=i("aag5"),Go=i("oCM2");function Vo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",6),g.Zb("click",(function(){return g.xc(t),g.dc().showAllDetails=!0})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_ALL_DETAILS")," "))}function wo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",6),g.Zb("click",(function(){return g.xc(t),g.dc().showAllDetails=!1})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_LESS_DETAILS")," "))}function xo(t,e){1&t&&g.Nb(0,"mat-spinner",7)}function Ho(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-applications-list",10),g.Zb("page",(function(e){return g.xc(t),g.dc(2).pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc(2);g.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("applications",t.applications)("member",t.member)("displayedColumns",t.displayedColumns)}}function zo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-perun-web-apps-application-list-details",11),g.Zb("page",(function(e){return g.xc(t),g.dc(2).detailPageChanged(e)})),g.Rb()}if(2&t){const t=g.dc(2);g.kc("pageSize",t.detailPageSize)("filterValue",t.filterValue)("applications",t.applications)("member",t.member)}}function Jo(t,e){if(1&t&&(g.Sb(0,"div"),g.Hc(1,Ho,1,5,"app-applications-list",8),g.Hc(2,zo,1,4,"app-perun-web-apps-application-list-details",9),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("ngIf",!t.showAllDetails),g.Ab(1),g.kc("ngIf",t.showAllDetails)}}let Uo=(()=>{class t{constructor(t,e,i,s){this.registrarManager=t,this.memberManager=e,this.tableConfigService=i,this.route=s,this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=ee.N,this.tableId=ee.O}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)(g.Mb(l.l),g.Mb(l.i),g.Mb(ee.pb),g.Mb(a.a))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Sb(3,"div"),g.Sb(4,"perun-web-apps-refresh-button",1),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Hc(5,Vo,3,3,"button",2),g.Hc(6,wo,3,3,"button",2),g.Sb(7,"perun-web-apps-immediate-filter",3),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Rb(),g.Hc(8,xo,1,0,"mat-spinner",4),g.Hc(9,Jo,3,2,"div",5)),2&t&&(g.Ab(1),g.Kc(g.fc(2,6,"MEMBER_DETAIL.APPLICATIONS.TITLE")),g.Ab(4),g.kc("ngIf",!e.showAllDetails),g.Ab(1),g.kc("ngIf",e.showAllDetails),g.Ab(1),g.kc("placeholder","MEMBER_DETAIL.APPLICATIONS.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[se.a,s.t,ae.a,E.b,I.c,Do.a,Go.a],pipes:[R.d],styles:[""]}),t})();var Bo=i("HHqq"),Fo=i("23RZ");function $o(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-refresh-button",6),g.Zb("refresh",(function(){return g.xc(t),g.dc().refreshTable()})),g.Rb()}}function Zo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",7),g.Zb("click",(function(){return g.xc(t),g.dc().addResource()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function Wo(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-immediate-filter",8),g.Zb("filter",(function(e){return g.xc(t),g.dc().applyFilter(e)})),g.Rb()}2&t&&g.kc("placeholder","MEMBER_DETAIL.RESOURCES.FILTER")}function Ko(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-resources-list",9),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("displayedColumns",t.displayedColumns)("routingVo",!0)("disableRouting",!t.routeAuth)("resources",t.resources)}}function Yo(t,e){1&t&&g.Nb(0,"mat-spinner",10)}let jo=(()=>{class t{constructor(t,e,i,s,a,o){this.dialog=t,this.tableConfigService=e,this.memberManager=i,this.resourceManager=s,this.route=a,this.authResolver=o,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=ee.Q}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=Object(b.o)();t.width="1200px",t.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(Bo.a,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)(g.Mb(m.b),g.Mb(ee.pb),g.Mb(l.i),g.Mb(l.m),g.Mb(a.a),g.Mb(u.h))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Hc(4,$o,1,0,"perun-web-apps-refresh-button",1),g.Hc(5,Zo,3,3,"button",2),g.Hc(6,Wo,1,1,"perun-web-apps-immediate-filter",3),g.Hc(7,Ko,1,6,"perun-web-apps-resources-list",4),g.Rb(),g.Hc(8,Yo,1,0,"mat-spinner",5)),2&t&&(g.Ab(2),g.Kc(g.fc(3,6,"MEMBER_DETAIL.RESOURCES.TITLE")),g.Ab(2),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading&&e.addAuth),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",!e.loading),g.Ab(1),g.kc("ngIf",e.loading))},directives:[s.t,se.a,E.b,ae.a,Fo.a,I.c],pipes:[R.d],styles:[""]}),t})();var Xo=i("nSPi"),Qo=i("y/MV"),qo=i("jblC"),tn=i("GyaY"),en=i("HUrR"),sn=i("gxIj"),an=i("Fm3m"),on=i("TNye"),nn=i("lfUW"),cn=i("+Jyz");function rn(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",7),g.Zb("click",(function(){return g.xc(t),g.dc().onAdd()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function ln(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",8),g.Zb("click",(function(){return g.xc(t),g.dc().onRemove()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}if(2&t){const t=g.dc();g.kc("disabled",0===t.selection.selected.length),g.Ab(1),g.Lc(" ",g.fc(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function bn(t,e){1&t&&g.Nb(0,"mat-spinner",9)}function un(t,e){if(1&t){const t=g.Tb();g.Sb(0,"app-ext-sources-list",10),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("pageSize",t.pageSize)("extSources",t.extSources)("hideColumns",t.hideColumns)("filterValue",t.filterValue)("selection",t.selection)}}let pn=(()=>{class t{constructor(t,e,i,s,a,o,n,c){this.extSourceService=t,this.route=e,this.dialog=i,this.notificator=s,this.tableConfigService=a,this.translate=o,this.authResolver=n,this.groupService=c,this.extSources=[],this.selection=new Qt.c(!0,[]),this.filterValue="",this.tableId=ee.G,this.hideColumns=[],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.hideColumns=this.removeAuth?[]:["select"]}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=Object(b.o)();t.width="1000px",t.data={voId:this.voId,groupId:this.groupId,extSources:this.extSources,theme:"group-theme"},this.dialog.open(ro.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=Object(b.o)();t.width="600px",t.data={voId:this.voId,groupId:this.groupId,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(lo.a,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)(g.Mb(l.f),g.Mb(a.a),g.Mb(m.b),g.Mb(u.l),g.Mb(ee.pb),g.Mb(R.e),g.Mb(u.h),g.Mb(l.h))},t.\u0275cmp=g.Gb({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","hideColumns","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","hideColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(g.Sb(0,"div"),g.Sb(1,"h1",0),g.Jc(2),g.ec(3,"translate"),g.Rb(),g.Sb(4,"perun-web-apps-refresh-button",1),g.Zb("refresh",(function(){return e.refreshTable()})),g.Rb(),g.Hc(5,rn,3,3,"button",2),g.Hc(6,ln,3,4,"button",3),g.Sb(7,"perun-web-apps-immediate-filter",4),g.Zb("filter",(function(t){return e.applyFilter(t)})),g.Rb(),g.Hc(8,bn,1,0,"mat-spinner",5),g.Hc(9,un,1,5,"app-ext-sources-list",6),g.Rb()),2&t&&(g.Ab(2),g.Kc(g.fc(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),g.Ab(3),g.kc("ngIf",e.addAuth),g.Ab(1),g.kc("ngIf",e.removeAuth),g.Ab(1),g.kc("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[se.a,s.t,ae.a,E.b,I.c,bo.a],pipes:[R.d],styles:[""]}),t})();var dn=i("KF6X");function hn(t,e){1&t&&g.Nb(0,"mat-spinner",3)}function gn(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"app-statistics-card",4),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("rowNames",t.rowNames)("statistics",t.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}let mn=(()=>{class t{constructor(t,e){this.voService=t,this.route=e,this.loading=!1,this.dataSource=new nt.o,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 nt.o(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)(g.Mb(l.r),g.Mb(a.a))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,hn,1,0,"mat-spinner",1),g.Hc(4,gn,2,3,"div",2)),2&t&&(g.Ab(1),g.Kc(g.fc(2,3,"VO_DETAIL.STATISTICS.TITLE")),g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,dn.a],pipes:[R.d],styles:[""]}),t})();function fn(t,e){1&t&&g.Nb(0,"mat-spinner",3)}function In(t,e){if(1&t&&(g.Sb(0,"div"),g.Nb(1,"app-statistics-card",4),g.Nb(2,"app-statistics-card",4),g.Rb()),2&t){const t=g.dc();g.Ab(1),g.kc("rowNames",t.voStatusCountsRowNames)("statistics",t.membersCountsByVoStatus)("title","GROUP_DETAIL.STATISTICS.VO_STATUS_COUNT"),g.Ab(1),g.kc("rowNames",t.groupStatusCountsRowNames)("statistics",t.membersCountsByGroupStatus)("title","GROUP_DETAIL.STATISTICS.GROUP_STATUS_COUNT")}}let An=(()=>{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)(g.Mb(a.a),g.Mb(l.h))},t.\u0275cmp=g.Gb({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&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.Rb(),g.Hc(3,fn,1,0,"mat-spinner",1),g.Hc(4,In,3,6,"div",2)),2&t&&(g.Ab(1),g.Kc(g.fc(2,3,"GROUP_DETAIL.STATISTICS.TITLE")),g.Ab(2),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[s.t,I.c,dn.a],pipes:[R.d],styles:[""]}),t})();var Sn=i("Qu9H");const Tn=["list"];function En(t,e){if(1&t){const t=g.Tb();g.Sb(0,"button",9),g.Zb("click",(function(){return g.xc(t),g.dc().onAddGroup()})),g.Jc(1),g.ec(2,"translate"),g.Rb()}2&t&&(g.Ab(1),g.Lc(" ",g.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.ADD"),"\n"))}function Rn(t,e){1&t&&g.Nb(0,"mat-spinner",10)}const vn=function(){return["expiration","vo","recent","menu"]};function Mn(t,e){if(1&t){const t=g.Tb();g.Sb(0,"perun-web-apps-groups-list",11,12),g.Zb("page",(function(e){return g.xc(t),g.dc().pageChanged(e)})),g.Rb()}if(2&t){const t=g.dc();g.kc("selection",t.selected)("pageSize",t.pageSize)("hideColumns",g.oc(7,vn))("disableRouting",!0)("filter",t.filterValue)("authType","application-form-manage-groups")("groups",t.groups)}}const On=[{path:"",component:o.a},{path:":voId",component:ot,children:[{path:"",component:Y,data:{animation:"VoOverviewPage"}},{path:"attributes",component:pe,data:{animation:"VoAttributesPage"}},{path:"groups",component:j.a,data:{animation:"VoGroupsPage"}},{path:"members",component:X.a,data:{animation:"VoMembersPage"}},{path:"resources",component:Yt,children:[{path:"",component:na,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:ca.a,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:ra.a,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:ma,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:jt.a,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:Si,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:cn.a,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"statistics",component:mn,data:{animation:"VoStatisticsPage"}},{path:"settings",component:Xt,children:[{path:"",component:ge,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:He,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:Be,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:Ui.a,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Hs,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:(()=>{class t{constructor(t,e,i,s,a){this.tableConfigService=t,this.registrarService=e,this.authResolver=i,this.dialog=s,this.route=a,this.groups=[],this.selected=new Qt.c(!0,[]),this.tableId=ee.o,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=Object(b.o)();t.width="900px",t.data={voId:this.voId,assignedGroups:this.groups.map(t=>t.id),theme:"vo-theme"},this.dialog.open(Sn.a,t).afterClosed().subscribe(t=>{t&&this.loadGroups()})}removeGroup(){const t=Object(b.o)();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.o,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)(g.Mb(ee.pb),g.Mb(l.l),g.Mb(u.h),g.Mb(m.b),g.Mb(a.a))},t.\u0275cmp=g.Gb({type:t,selectors:[["app-application-form-manage-groups"]],viewQuery:function(t,e){var i;1&t&&g.Qc(Tn,!0),2&t&&g.sc(i=g.ac())&&(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","hideColumns","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","hideColumns","disableRouting","filter","authType","groups","page"],["list",""]],template:function(t,e){1&t&&(g.Sb(0,"h1",0),g.Jc(1),g.ec(2,"translate"),g.ec(3,"translate"),g.Rb(),g.Sb(4,"app-alert",1),g.Jc(5),g.ec(6,"translate"),g.Rb(),g.Sb(7,"perun-web-apps-refresh-button",2),g.Zb("refresh",(function(){return e.loadGroups()})),g.Rb(),g.Hc(8,En,3,3,"button",3),g.Sb(9,"span",4),g.ec(10,"translate"),g.Sb(11,"button",5),g.Zb("click",(function(){return e.removeGroup()})),g.Jc(12),g.ec(13,"translate"),g.Rb(),g.Rb(),g.Sb(14,"perun-web-apps-immediate-filter",6),g.Zb("filter",(function(t){return e.filterValue=t})),g.Rb(),g.Hc(15,Rn,1,0,"mat-spinner",7),g.Hc(16,Mn,2,8,"perun-web-apps-groups-list",8)),2&t&&(g.Ab(1),g.Mc(" ",g.fc(2,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",g.fc(3,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),g.Ab(3),g.kc("alert_type","info"),g.Ab(1),g.Lc(" ",g.fc(6,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),g.Ab(3),g.kc("ngIf",e.addAuth),g.Ab(1),g.lc("matTooltip",g.fc(10,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),g.kc("matTooltipDisabled",void 0===e.list||void 0!==e.list&&e.list.removeAuth),g.Ab(2),g.kc("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),g.Ab(1),g.Lc(" ",g.fc(13,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),g.Ab(2),g.kc("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),g.Ab(1),g.kc("ngIf",e.loading),g.Ab(1),g.kc("ngIf",!e.loading))},directives:[Ua.a,se.a,s.t,S.a,E.b,ae.a,I.c,Ao.a],pipes:[R.d],styles:[""]}),t})()},{path:"notifications",component:ja,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:mo,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:F,children:[{path:"",component:Jt,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:oa,data:{animation:"MemberAttributesPage"}},{path:"groups",component:Ut.a,data:{animation:"MemberGroupsPage"}},{path:"applications",component:Uo,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:Si,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:jo,data:{animation:"MemberResourcesPage"}},{path:"settings",component:zs,children:[{path:"",component:Bs,data:{animation:"MemberSettingsOverviewPage"}},{path:"resourceAttributes",component:No,data:{animation:"MemberSettingsResourceAttributesPage"}},{path:"groupAttributes",component:ko,data:{animation:"MemberSettingsGroupAttributesPage"}}]}]},{path:":voId/groups/:groupId",component:V,children:[{path:"",component:Wt,data:{animation:"GroupOverviewPage"}},{path:"members",component:Ti.a,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:Kt.a,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:ze.a,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:Ei.a,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:xi,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:An,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:Ri,children:[{path:"",component:Ji,data:{animation:"GroupSettingsOverviewPage"}},{path:"resourceAttributes",component:yo,data:{animation:"GroupSettingsResourceAttributesPage"}},{path:"groupAttributes",component:ko,data:{animation:"MemberSettingsGroupAttributesPage"}},{path:"expiration",component:Ia,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:Sa,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:Xa.a,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Hs},{path:"notifications",component:co,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:vo,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:pn,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:Si,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:Xo.a,children:[{path:"",component:Qo.a,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:qo.a,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:on.a,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:sn.a,data:{animation:"ResourceAttributesPage"}},{path:"members",component:nn.a,data:{animation:"ResourceAssignedMembersComponent"}},{path:"settings",component:tn.a,children:[{path:"",component:en.a,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:an.a,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let Nn=(()=>{class t{}return t.\u0275mod=g.Kb({type:t}),t.\u0275inj=g.Jb({factory:function(e){return new(e||t)},imports:[[a.j.forChild(On)],a.j]}),t})();var _n=i("PCNd"),Ln=i("KoHB"),yn=i("t47Z");let Pn=(()=>{class t{}return t.\u0275mod=g.Kb({type:t}),t.\u0275inj=g.Jb({factory:function(e){return new(e||t)},imports:[[s.c,Nn,_n.a,Ln.a,te.d,yn.b]]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/9-es5.9236940931b2b0e5deab.js b/dist/apps/admin-gui/9-es5.9236940931b2b0e5deab.js new file mode 100644 index 000000000..6be625f11 --- /dev/null +++ b/dist/apps/admin-gui/9-es5.9236940931b2b0e5deab.js @@ -0,0 +1 @@ +!function(){function t(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var i=[],n=!0,a=!1,o=void 0;try{for(var c,r=t[Symbol.iterator]();!(n=(c=r.next()).done)&&(i.push(c.value),!e||i.length!==e);n=!0);}catch(s){a=!0,o=s}finally{try{n||null==r.return||r.return()}finally{if(a)throw o}}return i}(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 n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=i(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var a=0,o=function(){};return{s:o,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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 c,r=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return r=t.done,t},e:function(t){s=!0,c=t},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw c}}}}function i(t,e){if(t){if("string"==typeof t)return n(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)?n(t,e):void 0}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=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 a=t.sideMenuItemService.parseVo(e),o=t.sideMenuItemService.parseGroup(n);t.sideMenuService.setAccessMenuItems([a,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=Object(f.o)();t.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(m.i,t)}},{key:"editGroup",value:function(){var t=this,e=Object(f.o)();e.width="450px",e.data={theme:"group-theme",group:this.group,dialogType:m.h.GROUP},this.dialog.open(m.g,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=Object(f.o)();e.width="500px",e.data={theme:"group-theme",groups:[this.group]},this.dialog.open(I.a,e).afterClosed().subscribe((function(e){e&&t.router.navigate(["../"],{relativeTo:t.route})}))}}]),t}()).\u0275fac=function(t){return new(t||z)(v.Mb(u.a),v.Mb(d.r),v.Mb(s.a),v.Mb(b.a),v.Mb(d.h),v.Mb(A.b),v.Mb(h.h),v.Mb(s.f))},z.\u0275cmp=v.Gb({type:z,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&&(v.Sb(0,"div",0),v.Nb(1,"perun-web-apps-back-button"),v.Hc(2,L,1,0,"mat-spinner",1),v.Hc(3,H,22,28,"div",2),v.Rb()),2&t&&(v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.group))},directives:[S.a,r.t,T.c,E.a,R.a,r.w,s.i,y.a,M.b],pipes:[O.d,N.a,k.a,_.a],styles:[""],data:{animation:[p.a]}}),z);function U(t,e){1&t&&v.Nb(0,"mat-spinner",3)}var B=function(t){return["/admin","users",t]};function F(t,e){if(1&t&&(v.Sb(0,"a",8),v.Jc(1),v.Rb()),2&t){var i=v.dc(2);v.kc("routerLink",v.pc(2,B,i.member.userId)),v.Ab(1),v.Lc(" ",i.member.userId," ")}}function Z(t,e){if(1&t&&(v.Sb(0,"span"),v.Jc(1),v.Rb()),2&t){var i=v.dc(2);v.Ab(1),v.Kc(i.member.userId)}}var W=function(){return{color:"black"}},j=function(t,e){return["/organizations",t,"members",e]};function K(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"div",4),v.Nb(2,"mat-icon",5),v.ec(3,"translate"),v.Sb(4,"div",6),v.Sb(5,"div",7),v.Sb(6,"a",8),v.Jc(7),v.Rb(),v.Sb(8,"span",9),v.Jc(9),v.Rb(),v.Rb(),v.Sb(10,"span",10),v.Jc(11),v.ec(12,"translate"),v.ec(13,"translate"),v.Hc(14,F,2,4,"a",11),v.Hc(15,Z,2,1,"span",2),v.Rb(),v.Rb(),v.Rb(),v.Nb(16,"app-animated-router-outlet"),v.Rb()),2&t){var i=v.dc();v.Ab(2),v.lc("matTooltip",v.fc(3,9,"MEMBER_DETAIL.ENTITY")),v.kc("ngStyle",v.oc(15,W)),v.Ab(4),v.kc("routerLink",v.qc(16,j,i.vo.id,i.member.id)),v.Ab(1),v.Lc(" ",i.fullName," "),v.Ab(2),v.Lc(" \xa0#",i.member.id," "),v.Ab(2),v.Mc(" ",v.fc(12,11,"MEMBER_DETAIL.ENTITY"),", ",v.fc(13,13,"MEMBER_DETAIL.USER_ID"),": "),v.Ab(3),v.kc("ngIf",i.isAuthorized),v.Ab(1),v.kc("ngIf",!i.isAuthorized)}}var Y,X=((Y=function(){function t(e,i,n,o,c,r,s){a(this,t),this.sideMenuItemService=e,this.translate=i,this.sideMenuService=n,this.membersService=o,this.voService=c,this.route=r,this.authResolver=s,this.fullName="",this.isAuthorized=!1,this.loading=!1}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe((function(e){var i=e.voId,n=e.memberId;t.isAuthorized=t.authResolver.isPerunAdmin(),t.voService.getVoById(i).subscribe((function(e){t.vo=e,t.membersService.getRichMemberWithAttributes(n).subscribe((function(e){t.member=e;var i=t.sideMenuItemService.parseVo(t.vo),n=t.sideMenuItemService.parseMember(t.member,t.vo);t.fullName=n.label,t.sideMenuService.setAccessMenuItems([i,n]),t.loading=!1}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1}))}))}}]),t}()).\u0275fac=function(t){return new(t||Y)(v.Mb(b.a),v.Mb(O.e),v.Mb(u.a),v.Mb(d.i),v.Mb(d.r),v.Mb(s.a),v.Mb(h.h))},Y.\u0275cmp=v.Gb({type:Y,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&&(v.Sb(0,"div",0),v.Nb(1,"perun-web-apps-back-button"),v.Hc(2,U,1,0,"mat-spinner",1),v.Hc(3,K,17,19,"div",2),v.Rb()),2&t&&(v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.member))},directives:[S.a,r.t,T.c,E.a,R.a,r.w,s.i,y.a],pipes:[O.d],styles:[""],data:{animation:[p.a]}}),Y),$=o("hiWg"),Q=o("ZG5M");function q(t,e){1&t&&v.Nb(0,"mat-spinner",2)}function tt(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"perun-web-apps-menu-buttons-field",3),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("items",i.navItems)("size","small")}}var et,it=((et=function(){function t(e,i,n,o,c){a(this,t),this.sideMenuService=e,this.voService=i,this.route=n,this.router=o,this.authResolver=c,this.items=[],this.navItems=[],this.loading=!1}return c(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.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"})}},{key:"initItems",value:function(){this.items=[{cssIcon:"perun-invite-member",label:"VO_DETAIL.OVERVIEW.INVITE_MEMBER",style:"vo-btn",url:"/organizations/".concat(this.vo.id,"/invite-member"),clickAction:function(t,e){var i=Object(f.o)();i.width="450px",i.data={voId:e},t.open($.a,i)}},{cssIcon:"perun-service-identity",label:"VO_DETAIL.OVERVIEW.CREATE_SERVICE_MEMBER",style:"vo-btn",url:"/organizations/".concat(this.vo.id,"/create-service-member"),clickAction:function(t,e){}},{cssIcon:"perun-manager",label:"VO_DETAIL.OVERVIEW.ADD_MANAGER",style:"vo-btn",url:"/organizations/".concat(this.vo.id,"/add-manager"),clickAction:function(t,e){}},{cssIcon:"perun-group",label:"VO_DETAIL.OVERVIEW.CREATE_GROUP",style:"vo-btn",url:"/organizations/".concat(this.vo.id,"/create-group"),clickAction:function(t,e){}},{cssIcon:"perun-create1",label:"VO_DETAIL.OVERVIEW.ADD_MEMBER",style:"vo-btn",url:"/organizations/".concat(this.vo.id,"/invite-member"),clickAction:function(t,e){}}]}}]),t}()).\u0275fac=function(t){return new(t||et)(v.Mb(u.a),v.Mb(d.r),v.Mb(s.a),v.Mb(s.f),v.Mb(h.h))},et.\u0275cmp=v.Gb({type:et,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&&(v.Hc(0,q,1,0,"mat-spinner",0),v.Hc(1,tt,2,2,"div",1)),2&t&&(v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,Q.a],styles:[""]}),et),nt=o("tT6Y"),at=o("M7la"),ot=o("4zkG");function ct(t,e){1&t&&v.Nb(0,"mat-spinner",3)}function rt(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",13),v.Zb("click",(function(){return v.xc(i),v.dc(2).editVo()})),v.Sb(1,"mat-icon"),v.Jc(2,"edit"),v.Rb(),v.Rb()}}function st(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",14),v.Zb("click",(function(){return v.xc(i),v.dc(2).removeVo()})),v.Sb(1,"mat-icon"),v.Jc(2,"delete_forever"),v.Rb(),v.Rb()}}var lt=function(){return{color:"black"}},ut=function(t){return["/organizations/",t]};function bt(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"div",4),v.Nb(2,"mat-icon",5),v.ec(3,"translate"),v.Sb(4,"div",6),v.Sb(5,"div",7),v.Sb(6,"a",8),v.Jc(7),v.Rb(),v.Sb(8,"span",9),v.Jc(9),v.Rb(),v.Hc(10,rt,3,0,"button",10),v.Hc(11,st,3,0,"button",11),v.Rb(),v.Sb(12,"span",12),v.Jc(13),v.ec(14,"translate"),v.ec(15,"translate"),v.Rb(),v.Rb(),v.Rb(),v.Nb(16,"app-animated-router-outlet"),v.Rb()),2&t){var i=v.dc();v.Ab(2),v.lc("matTooltip",v.fc(3,10,"VO_DETAIL.ENTITY")),v.kc("ngStyle",v.oc(16,lt)),v.Ab(4),v.kc("routerLink",v.pc(17,ut,i.vo.id)),v.Ab(1),v.Lc(" ",i.vo.name," "),v.Ab(2),v.Lc(" \xa0#",i.vo.id," "),v.Ab(1),v.kc("ngIf",i.editAuth),v.Ab(1),v.kc("ngIf",i.removeAuth),v.Ab(2),v.Nc(" ",v.fc(14,12,"VO_DETAIL.ENTITY"),", ",v.fc(15,14,"VO_DETAIL.SHORT_NAME"),": ",i.vo.shortName," ")}}var pt,dt=((pt=function(){function t(e,i,n,o,c,r,s){a(this,t),this.sideMenuService=e,this.voService=i,this.route=n,this.router=o,this.sideMenuItemService=c,this.dialog=r,this.authResolver=s,this.loading=!1}return c(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]),Object(f.b)("vos",t.vo),Object(f.c)(t.vo),t.loading=!1}),(function(){return t.loading=!1}))}))}},{key:"editVo",value:function(){var t=this,e=Object(f.o)();e.width="450px",e.data={theme:"vo-theme",vo:this.vo,dialogType:m.h.VO},this.dialog.open(m.g,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=Object(f.o)();e.width="500px",e.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(ot.a,e).afterClosed().subscribe((function(e){e&&t.router.navigate([""])}))}}]),t}()).\u0275fac=function(t){return new(t||pt)(v.Mb(u.a),v.Mb(d.r),v.Mb(s.a),v.Mb(s.f),v.Mb(b.a),v.Mb(A.b),v.Mb(h.h))},pt.\u0275cmp=v.Gb({type:pt,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&&(v.Sb(0,"div",0),v.Nb(1,"perun-web-apps-back-button"),v.Hc(2,ct,1,0,"mat-spinner",1),v.Hc(3,bt,17,19,"div",2),v.Rb()),2&t&&(v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading&&void 0!==e.vo))},directives:[S.a,r.t,T.c,E.a,R.a,r.w,s.i,y.a,M.b],pipes:[O.d],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[p.a]}}),pt),ft=o("FlRo"),ht=o("mjJC"),gt=o("OL2r"),mt=o("Meci"),It=o("A6H7"),vt=o("7o/y"),At=o("SAuR"),St=o("j+u3");function Tt(t,e){1&t&&v.Nb(0,"mat-spinner",2)}function Et(t,e){1&t&&v.Nb(0,"th",18)}function Rt(t,e){if(1&t&&(v.Sb(0,"span"),v.Jc(1),v.Rb()),2&t){var i=v.dc().$implicit,n=v.dc(2);v.Ab(1),v.Lc(" ",n.attributes.get(i)[0],": ")}}function yt(t,e){if(1&t&&(v.Sb(0,"span"),v.Jc(1),v.ec(2,"attributeFriendlyName"),v.Rb()),2&t){var i=v.dc().$implicit;v.Ab(1),v.Lc(" ",v.fc(2,1,i),": ")}}function Mt(t,e){if(1&t&&(v.Sb(0,"td",19),v.Hc(1,Rt,2,1,"span",1),v.Hc(2,yt,3,3,"span",1),v.Rb()),2&t){var i=e.$implicit,n=v.dc(2);v.Ab(1),v.kc("ngIf",null!==n.attributes.get(i)[0]),v.Ab(1),v.kc("ngIf",null===n.attributes.get(i)[0])}}function Ot(t,e){1&t&&v.Nb(0,"th",18)}function Nt(t,e){if(1&t&&(v.Sb(0,"td",20),v.Jc(1),v.Rb()),2&t){var i=e.$implicit,n=v.dc(2);v.Ab(1),v.Lc(" ",n.attributes.get(i)[1]," ")}}function kt(t,e){1&t&&v.Nb(0,"tr",21)}function _t(t,e){1&t&&v.Nb(0,"th",18)}function Lt(t,e){if(1&t&&(v.Sb(0,"td",19),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.Ab(1),v.Lc(" ",i,": ")}}function Pt(t,e){1&t&&v.Nb(0,"th",18)}function Ct(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"mat-icon",22),v.Jc(2),v.Rb(),v.Sb(3,"b",23),v.Jc(4),v.ec(5,"transformMemberStatus"),v.Rb(),v.Rb()),2&t){var i=v.dc(3);v.Ab(1),v.kc("color",i.statusIconColor),v.Ab(1),v.Lc(" ",i.statusIcon," "),v.Ab(2),v.Lc(" ",v.fc(5,3,i.member.status)," ")}}function Dt(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",26),v.Zb("click",(function(){return v.xc(i),v.dc(4).changeExpiration()})),v.Sb(1,"mat-icon"),v.Jc(2,"edit"),v.Rb(),v.Rb()}}function Gt(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"i",24),v.Jc(2),v.ec(3,"parseDate"),v.Rb(),v.Hc(4,Dt,3,0,"button",25),v.Rb()),2&t){var i=v.dc(3);v.Ab(2),v.Lc(" ",v.fc(3,2,i.expiration)," "),v.Ab(2),v.kc("ngIf",i.authResolver.isThisVoAdmin(i.vo.id))}}function Vt(t,e){if(1&t&&(v.Sb(0,"td",20),v.Hc(1,Ct,6,5,"div",1),v.Hc(2,Gt,5,4,"div",1),v.Rb()),2&t){var i=e.$implicit;v.Ab(1),v.kc("ngIf","Status"===i),v.Ab(1),v.kc("ngIf","Expiration"===i)}}function wt(t,e){1&t&&v.Nb(0,"tr",21)}function xt(t,e){if(1&t){var i=v.Tb();v.Sb(0,"mat-card",27),v.Sb(1,"mat-card-header"),v.Sb(2,"mat-card-title"),v.Sb(3,"h1",6),v.Jc(4),v.ec(5,"translate"),v.Rb(),v.Rb(),v.Rb(),v.Sb(6,"mat-card-content",24),v.Sb(7,"div",28),v.ec(8,"translate"),v.Sb(9,"button",29),v.Zb("click",(function(){return v.xc(i),v.dc(2).requestPwdReset()})),v.Jc(10),v.ec(11,"translate"),v.Rb(),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.dc(2);v.Ab(4),v.Kc(v.fc(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),v.Ab(3),v.kc("matTooltip",v.fc(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",n.logins.length>0),v.Ab(2),v.kc("disabled",!n.logins.length),v.Ab(1),v.Lc(" ",v.fc(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Ht(t,e){1&t&&(v.Sb(0,"th",18),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Kc(v.fc(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")))}function zt(t,e){if(1&t&&(v.Sb(0,"td",38),v.Jc(1),v.ec(2,"userFullName"),v.Rb()),2&t){var i=e.$implicit;v.Ab(1),v.Lc(" ",v.fc(2,1,i.user)," ")}}function Jt(t,e){1&t&&(v.Sb(0,"th",18),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Kc(v.fc(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")))}function Ut(t,e){if(1&t&&(v.Sb(0,"td",38),v.Sb(1,"span",39),v.Jc(2),v.ec(3,"parseDate"),v.Rb(),v.Rb()),2&t){var i=e.$implicit;v.Ab(2),v.Kc(v.fc(3,1,i.validityTo))}}function Bt(t,e){1&t&&v.Nb(0,"tr",40)}function Ft(t,e){1&t&&v.Nb(0,"tr",21)}var Zt=function(){return["sponsors","expiration"]};function Wt(t,e){if(1&t){var i=v.Tb();v.Sb(0,"mat-card-content"),v.Sb(1,"h6",31),v.Jc(2),v.ec(3,"translate"),v.Sb(4,"button",32),v.Zb("click",(function(){return v.xc(i),v.dc(3).changeSponsors()})),v.Sb(5,"mat-icon"),v.Jc(6,"edit"),v.Rb(),v.Rb(),v.Rb(),v.Sb(7,"table",33),v.Qb(8,34),v.Hc(9,Ht,3,3,"th",9),v.Hc(10,zt,3,3,"td",35),v.Pb(),v.Qb(11,36),v.Hc(12,Jt,3,3,"th",9),v.Hc(13,Ut,4,3,"td",35),v.Pb(),v.Hc(14,Bt,1,0,"tr",37),v.Hc(15,Ft,1,0,"tr",13),v.Rb(),v.Rb()}if(2&t){var n=v.dc(3);v.Ab(2),v.Lc(" ",v.fc(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),v.Ab(5),v.kc("dataSource",n.sponsorsDataSource),v.Ab(7),v.kc("matHeaderRowDef",v.oc(6,Zt)),v.Ab(1),v.kc("matRowDefColumns",v.oc(7,Zt))}}function jt(t,e){if(1&t&&(v.Sb(0,"div",4),v.Sb(1,"mat-card",5),v.Sb(2,"mat-card-header"),v.Sb(3,"mat-card-title"),v.Sb(4,"h1",6),v.Jc(5),v.ec(6,"translate"),v.Rb(),v.Rb(),v.Sb(7,"mat-card-subtitle",30),v.Jc(8),v.ec(9,"translate"),v.Rb(),v.Rb(),v.Hc(10,Wt,16,8,"mat-card-content",1),v.Rb(),v.Rb()),2&t){var i=v.dc(2);v.Ab(5),v.Kc(v.fc(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),v.Ab(3),v.Lc(" ",v.fc(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),v.Ab(2),v.kc("ngIf",0!==i.sponsors.length)}}function Kt(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"div",3),v.Sb(2,"div",4),v.Sb(3,"mat-card",5),v.Sb(4,"mat-card-header"),v.Sb(5,"mat-card-title"),v.Sb(6,"h1",6),v.Jc(7),v.ec(8,"translate"),v.Rb(),v.Rb(),v.Rb(),v.Sb(9,"mat-card-content"),v.Sb(10,"table",7),v.Qb(11,8),v.Hc(12,Et,1,0,"th",9),v.Hc(13,Mt,3,2,"td",10),v.Pb(),v.Qb(14,11),v.Hc(15,Ot,1,0,"th",9),v.Hc(16,Nt,2,1,"td",12),v.Pb(),v.Hc(17,kt,1,0,"tr",13),v.Rb(),v.Rb(),v.Rb(),v.Rb(),v.Sb(18,"div",4),v.Sb(19,"mat-card",5),v.Sb(20,"mat-card-header"),v.Sb(21,"mat-card-title"),v.Sb(22,"h1",6),v.Jc(23),v.ec(24,"translate"),v.Rb(),v.Rb(),v.Rb(),v.Sb(25,"mat-card-content"),v.Sb(26,"table",14),v.Qb(27,8),v.Hc(28,_t,1,0,"th",9),v.Hc(29,Lt,2,1,"td",10),v.Pb(),v.Qb(30,11),v.Hc(31,Pt,1,0,"th",9),v.Hc(32,Vt,3,2,"td",12),v.Pb(),v.Hc(33,wt,1,0,"tr",13),v.Rb(),v.Rb(),v.Rb(),v.Hc(34,xt,12,11,"mat-card",15),v.Rb(),v.Hc(35,jt,11,7,"div",16),v.Rb(),v.Sb(36,"div"),v.Nb(37,"perun-web-apps-menu-buttons-field",17),v.Rb(),v.Rb()),2&t){var i=v.dc();v.Ab(7),v.Kc(v.fc(8,10,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),v.Ab(3),v.kc("dataSource",i.dataSource),v.Ab(7),v.kc("matRowDefColumns",i.displayedColumns),v.Ab(6),v.Kc(v.fc(24,12,"MEMBER_DETAIL.OVERVIEW.MEMBERSHIP")),v.Ab(3),v.kc("dataSource",i.membershipDataSource),v.Ab(7),v.kc("matRowDefColumns",i.displayedColumns),v.Ab(1),v.kc("ngIf",i.pwdResetAuth),v.Ab(1),v.kc("ngIf",i.member.sponsored),v.Ab(2),v.kc("items",i.navItems)("size","small")}}var Yt,Xt=((Yt=function(){function t(e,i,n,o,c,r,s,l,u,b){a(this,t),this.attributesManager=e,this.membersService=i,this.usersManager=n,this.translate=o,this.route=c,this.dialog=r,this.authResolver=s,this.storeService=l,this.apiRequest=u,this.notificator=b,this.fullName="",this.statusIcon="",this.statusIconColor="",this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new ft.o,this.membershipDataSource=new ft.o,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new ft.o,this.loading=!1}return c(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(n){t.logins=n.filter((function(t){return i.includes(t.friendlyNameParameter)})),t.member=e,t.fullName=Object(f.w)(t.member.user),t.statusIcon=Object(f.C)(t.member),t.statusIconColor=Object(f.B)(t.member),t.initAttributes(),t.dataSource=new ft.o(Array.from(t.attributes.keys())),t.membershipDataSource=new ft.o(["Status","Expiration"]),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 ft.o(t.sponsors),t.initNavItems(),t.refreshData()})):(t.initNavItems(),t.refreshData())}),(function(){return t.loading=!1}))}))}))}},{key:"changeExpiration",value:function(){var t=this,e=Object(f.o)();e.width="400px",e.data={memberId:this.member.id,expirationAttr:this.expirationAtt,mode:"vo"},this.dialog.open(m.d,e).afterClosed().subscribe((function(e){e&&t.refreshData()}))}},{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.apiRequest.dontHandleErrorForNext(),t.attributesManager.getMemberAttributeByName(t.member.id,g.a.MEMBER_DEF_EXPIRATION).subscribe((function(e){t.expirationAtt=e,t.expiration=e.value?e.value:t.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES"),t.loading=!1}),(function(e){"PrivilegeException"!==e.error.name?t.notificator.showError(e):t.membershipDataSource=new ft.o(["Status"]),t.loading=!1}))}),(function(){return t.loading=!1}))}},{key:"requestPwdReset",value:function(){var t=Object(f.o)();t.width="400px",t.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(ht.a,t)}},{key:"changeSponsors",value:function(){var t=this,e=Object(f.o)();e.width="650px",e.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(gt.a,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}()).\u0275fac=function(t){return new(t||Yt)(v.Mb(d.c),v.Mb(d.i),v.Mb(d.q),v.Mb(O.e),v.Mb(s.a),v.Mb(A.b),v.Mb(h.h),v.Mb(h.m),v.Mb(h.b),v.Mb(h.l))},Yt.\u0275cmp=v.Gb({type:Yt,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["class","mat-elevation-z3 mt-4",4,"ngIf"],["class","align-cards",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"vert-top","mr-1",3,"color"],[1,"vert-top"],[1,"column-center"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[1,"mat-elevation-z3","mt-4"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",3,"disabled","click"],[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&&(v.Hc(0,Tt,1,0,"mat-spinner",0),v.Hc(1,Kt,38,14,"div",1)),2&t&&(v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,mt.a,mt.f,mt.m,mt.d,ft.n,ft.c,ft.i,ft.b,ft.m,Q.a,ft.h,ft.a,ft.l,E.a,M.b,R.a,mt.l,ft.k,ft.j],pipes:[O.d,It.a,vt.a,At.a,St.a],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}"]}),Yt),$t=o("hQLc");function Qt(t,e){1&t&&v.Nb(0,"mat-spinner",2)}var qt=function(t,e){return["/organizations",t,"groups",e]};function te(t,e){if(1&t&&(v.Sb(0,"p"),v.Jc(1),v.ec(2,"translate"),v.Sb(3,"a",4),v.Jc(4),v.Rb(),v.Rb()),2&t){var i=v.dc(2);v.Ab(1),v.Lc(" ",v.fc(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),v.Ab(2),v.kc("routerLink",v.qc(5,qt,i.parentGroup.voId,i.parentGroup.id)),v.Ab(1),v.Lc(" ",i.parentGroup.name," ")}}function ee(t,e){if(1&t&&(v.Sb(0,"div"),v.Hc(1,te,5,8,"p",1),v.Nb(2,"perun-web-apps-menu-buttons-field",3),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("ngIf",null!==i.parentGroup),v.Ab(1),v.kc("items",i.navItems)("size","small")}}var ie,ne,ae,oe=((ie=function(){function t(e,i,n,o,c,r,s){a(this,t),this.route=e,this.groupService=i,this.voService=n,this.guiAuthResolver=o,this.apiRequest=c,this.attributesManager=r,this.notificator=s,this.navItems=[],this.parentGroup=null,this.loading=!1}return c(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]),n=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);e&&n&&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 a=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,g.a.GROUP_DEF_EXPIRATION_RULES).subscribe((function(){a=!0}),(function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e)}));var o=this.guiAuthResolver.isManagerPagePrivileged(this.group),c=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),r=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),s=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(a||o||c||r||s)&&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}()).\u0275fac=function(t){return new(t||ie)(v.Mb(s.a),v.Mb(d.h),v.Mb(d.r),v.Mb(h.h),v.Mb(h.b),v.Mb(d.c),v.Mb(h.l))},ie.\u0275cmp=v.Gb({type:ie,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Hc(0,Qt,1,0,"mat-spinner",0),v.Hc(1,ee,3,3,"div",1)),2&t&&(v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,Q.a,s.i],pipes:[O.d],styles:[""]}),ie),ce=o("HdwC"),re=((ne=function(){function t(e){a(this,t),this.route=e}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe((function(e){t.voId=e.voId}))}}]),t}()).\u0275fac=function(t){return new(t||ne)(v.Mb(s.a))},ne.\u0275cmp=v.Gb({type:ne,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&v.Nb(0,"app-animated-router-outlet")},directives:[y.a],styles:[""],data:{animation:[p.a]}}),ne),se=o("Sv31"),le=((ae=function(){function t(e,i){var n=this;a(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 s.b&&(n.currentUrl=t.url,n.backButtonDisplayed=n.backButtonRegex.test(n.currentUrl))}))}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe((function(e){t.voId=e.voId}))}}]),t}()).\u0275fac=function(t){return new(t||ae)(v.Mb(s.a),v.Mb(s.f))},ae.\u0275cmp=v.Gb({type:ae,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&v.Nb(0,"app-animated-router-outlet")},directives:[y.a],styles:[""],data:{animation:[p.a]}}),ae),ue=o("cqs0"),be=o("mEf3"),pe=o("HHEo"),de=o("iyZ4"),fe=o("IDQ9"),he=o("0XDM"),ge=o("A8Ay"),me=o("LKLE"),Ie=["list"];function ve(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc().onCreate()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "))}function Ae(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",9),v.Zb("click",(function(){return v.xc(i),v.dc().onSave()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"VO_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," ")}}function Se(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",10),v.Zb("click",(function(){return v.xc(i),v.dc().onDelete()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"VO_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," ")}}function Te(t,e){1&t&&v.Nb(0,"mat-spinner",11)}function Ee(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-attributes-list",12,13),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("attributes",n.attributes)("selection",n.selection)}}var Re,ye=((Re=function(){function t(e,i,n,o,c,r){var s=this;a(this,t),this.attributesManager=e,this.route=i,this.dialog=n,this.notificator=o,this.tableConfigService=c,this.translate=r,this.attributes=[],this.selection=new ue.c(!0,[]),this.filterValue="",this.tableId=de.r,this.translate.get("VO_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe((function(t){return s.saveSuccessMessage=t})),this.translate.get("VO_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe((function(t){return s.deleteSuccessMessage=t}))}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe((function(e){t.voId=e.voId,t.refreshTable()}))}},{key:"onDelete",value:function(){var t=this,e=Object(f.o)();e.width="450px",e.data={entityId:this.voId,entity:"vo",attributes:this.selection.selected},this.dialog.open(be.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onCreate",value:function(){var t=this,e=Object(f.o)();e.width="1050px",e.data={entityId:this.voId,entity:"vo",notEmptyAttributes:this.attributes,style:"vo-theme"},this.dialog.open(fe.a,e).afterClosed().subscribe((function(e){"saved"===e&&t.refreshTable()}))}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e=Object(f.o)();e.width="450px",e.data={entityId:this.voId,entity:"vo",attributes:this.selection.selected},this.dialog.open(m.f,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributesManager.getVoAttributes(this.voId).subscribe((function(e){t.attributes=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}()).\u0275fac=function(t){return new(t||Re)(v.Mb(d.c),v.Mb(s.a),v.Mb(A.b),v.Mb(h.l),v.Mb(de.pb),v.Mb(O.e))},Re.\u0275cmp=v.Gb({type:Re,selectors:[["app-vo-attributes"]],viewQuery:function(t,e){var i;1&t&&v.Qc(Ie,!0),2&t&&v.sc(i=v.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"disabled","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","attributes","selection","page",4,"ngIf"],["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"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Sb(4,"perun-web-apps-refresh-button",1),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Hc(5,ve,3,3,"button",2),v.Hc(6,Ae,3,4,"button",3),v.Hc(7,Se,3,4,"button",4),v.Sb(8,"perun-web-apps-immediate-filter",5),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Hc(9,Te,1,0,"mat-spinner",6),v.Hc(10,Ee,2,4,"perun-web-apps-attributes-list",7),v.Rb()),2&t&&(v.Ab(2),v.Kc(v.fc(3,7,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),v.Ab(3),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[he.a,r.t,ge.a,M.b,T.c,me.a],pipes:[O.d],styles:[""]}),Re);function Me(t,e){1&t&&v.Nb(0,"mat-spinner",2)}function Oe(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"perun-web-apps-menu-buttons-field",3),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("items",i.items)("size","small")}}var Ne,ke=((Ne=function(){function t(e,i,n,o,c){a(this,t),this.sideMenuService=e,this.voService=i,this.authResolver=n,this.route=o,this.router=c,this.items=[],this.loading=!1}return c(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}()).\u0275fac=function(t){return new(t||Ne)(v.Mb(u.a),v.Mb(d.r),v.Mb(h.h),v.Mb(s.a),v.Mb(s.f))},Ne.\u0275cmp=v.Gb({type:Ne,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Hc(0,Me,1,0,"mat-spinner",0),v.Hc(1,Oe,2,2,"div",1)),2&t&&(v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,Q.a],styles:[""]}),Ne),_e=o("k8N0"),Le=o("nIj0"),Pe=o("F1o0"),Ce=o("alep"),De=o("29Wa"),Ge=o("R7+U"),Ve=o("Cd2c"),we=o("mFH5"),xe=o("+Tre");function He(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",25),v.Sb(1,"mat-form-field",26),v.Sb(2,"input",20),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(2).currentConfiguration.periodStatic=t})),v.ec(3,"translate"),v.Rb(),v.Sb(4,"mat-hint"),v.Jc(5),v.ec(6,"translate"),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.dc(2);v.Ab(2),v.lc("pattern",n.datePattern),v.lc("placeholder",v.fc(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),v.kc("ngModel",n.currentConfiguration.periodStatic),v.Ab(3),v.Kc(v.fc(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function ze(t,e){if(1&t&&(v.Sb(0,"mat-option",27),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.kc("value",i.value),v.Ab(1),v.Kc(i.text)}}function Je(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",18),v.Sb(1,"mat-form-field",19),v.Sb(2,"input",20),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(2).currentConfiguration.periodDynamic=t})),v.ec(3,"translate"),v.Rb(),v.Rb(),v.Sb(4,"mat-form-field"),v.Sb(5,"mat-label"),v.Jc(6),v.ec(7,"translate"),v.Rb(),v.Sb(8,"mat-select",8),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(2).currentConfiguration.periodDynamicUnit=t})),v.Hc(9,ze,2,2,"mat-option",17),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.dc(2);v.Ab(2),v.lc("pattern",n.dynamicAmountPattern),v.lc("placeholder",v.fc(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),v.kc("ngModel",n.currentConfiguration.periodDynamic),v.Ab(4),v.Kc(v.fc(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),v.Ab(2),v.kc("ngModel",n.currentConfiguration.periodDynamicUnit),v.Ab(1),v.kc("ngForOf",n.amountOptions)}}function Ue(t,e){if(1&t&&(v.Sb(0,"mat-option",27),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.kc("value",i),v.Ab(1),v.Kc(i)}}function Be(t,e){if(1&t&&(v.Sb(0,"mat-option",27),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.kc("value",i),v.Ab(1),v.Kc(i)}}function Fe(t,e){if(1&t&&(v.Sb(0,"mat-option",27),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.kc("value",i.value),v.Ab(1),v.Kc(i.text)}}function Ze(t,e){if(1&t&&(v.Sb(0,"mat-option",27),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.kc("value",i),v.Ab(1),v.Lc(" ",i," ")}}function We(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",25),v.Sb(1,"mat-form-field",26),v.Sb(2,"input",20),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(3).currentConfiguration.specialLoaPeriodStatic=t})),v.ec(3,"translate"),v.Rb(),v.Sb(4,"mat-hint"),v.Jc(5),v.ec(6,"translate"),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.dc(3);v.Ab(2),v.lc("pattern",n.datePattern),v.lc("placeholder",v.fc(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),v.kc("ngModel",n.currentConfiguration.specialLoaPeriodStatic),v.Ab(3),v.Kc(v.fc(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function je(t,e){if(1&t&&(v.Sb(0,"mat-option",27),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.kc("value",i.value),v.Ab(1),v.Kc(i.text)}}function Ke(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",18),v.Sb(1,"mat-form-field",19),v.Sb(2,"input",20),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(3).currentConfiguration.specialLoaPeriodDynamic=t})),v.ec(3,"translate"),v.Rb(),v.Rb(),v.Sb(4,"mat-form-field"),v.Sb(5,"mat-label"),v.Jc(6),v.ec(7,"translate"),v.Rb(),v.Sb(8,"mat-select",8),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(3).currentConfiguration.specialLoaPeriodDynamicUnit=t})),v.Hc(9,je,2,2,"mat-option",17),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.dc(3);v.Ab(2),v.lc("pattern",n.dynamicAmountPattern),v.lc("placeholder",v.fc(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),v.kc("ngModel",n.currentConfiguration.specialLoaPeriodDynamic),v.Ab(4),v.Kc(v.fc(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),v.Ab(2),v.kc("ngModel",n.currentConfiguration.specialLoaPeriodDynamicUnit),v.Ab(1),v.kc("ngForOf",n.amountOptions)}}function Ye(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",28),v.Sb(1,"mat-radio-group",8),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(2).currentConfiguration.specialLoaPeriodType=t})),v.Sb(2,"mat-radio-button",9,29),v.Jc(4),v.ec(5,"translate"),v.Rb(),v.Sb(6,"mat-radio-button",11,30),v.Jc(8),v.ec(9,"translate"),v.Rb(),v.Rb(),v.Hc(10,We,7,8,"div",13),v.Hc(11,Ke,10,10,"div",14),v.Sb(12,"div"),v.Sb(13,"mat-checkbox",31),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=t})),v.Jc(14),v.ec(15,"translate"),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.tc(3),a=v.tc(7),o=v.dc(2);v.Ab(1),v.kc("ngModel",o.currentConfiguration.specialLoaPeriodType),v.Ab(3),v.Lc(" ",v.fc(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),v.Ab(4),v.Lc(" ",v.fc(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),v.Ab(2),v.kc("ngIf",n.checked),v.Ab(1),v.kc("ngIf",a.checked),v.Ab(2),v.kc("ngModel",o.currentConfiguration.specialLoaPeriodExtendExpiredMembers),v.Ab(1),v.Lc(" ",v.fc(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function Xe(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",1),v.Sb(1,"div",2),v.Sb(2,"h1",3),v.Zb("click",(function(){return v.xc(i),v.tc(6).toggle()})),v.Jc(3),v.ec(4,"translate"),v.Rb(),v.Sb(5,"mat-slide-toggle",4,5),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.enabled=t})),v.Rb(),v.Rb(),v.Sb(7,"div"),v.Sb(8,"label",6),v.Jc(9),v.ec(10,"translate"),v.Rb(),v.Sb(11,"div",7),v.Sb(12,"mat-radio-group",8),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.periodType=t})),v.Sb(13,"mat-radio-button",9,10),v.Jc(15),v.ec(16,"translate"),v.Rb(),v.Sb(17,"mat-radio-button",11,12),v.Jc(19),v.ec(20,"translate"),v.Rb(),v.Rb(),v.Hc(21,He,7,8,"div",13),v.Hc(22,Je,10,10,"div",14),v.Rb(),v.Sb(23,"app-settings-toggle-item",15),v.Zb("modelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.doNotAllowLoasEnabled=t})),v.ec(24,"translate"),v.Sb(25,"mat-form-field"),v.Sb(26,"mat-placeholder"),v.Jc(27),v.ec(28,"translate"),v.Rb(),v.Sb(29,"mat-select",16),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.doNotAllowLoas=t})),v.Hc(30,Ue,2,2,"mat-option",17),v.Rb(),v.Rb(),v.Rb(),v.Sb(31,"app-settings-toggle-item",15),v.Zb("modelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.doNotExtendLoasEnabled=t})),v.ec(32,"translate"),v.Sb(33,"mat-form-field"),v.Sb(34,"mat-placeholder"),v.Jc(35),v.ec(36,"translate"),v.Rb(),v.Sb(37,"mat-select",16),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.doNotExtendLoas=t})),v.Hc(38,Be,2,2,"mat-option",17),v.Rb(),v.Rb(),v.Rb(),v.Sb(39,"app-settings-toggle-item",15),v.Zb("modelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.gracePeriodEnabled=t})),v.ec(40,"translate"),v.Sb(41,"div",18),v.Sb(42,"mat-form-field",19),v.Sb(43,"input",20),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.gracePeriod=t})),v.ec(44,"translate"),v.Rb(),v.Rb(),v.Sb(45,"mat-form-field"),v.Sb(46,"mat-label"),v.Jc(47),v.ec(48,"translate"),v.Rb(),v.Sb(49,"mat-select",8),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.gracePeriodUnit=t})),v.Hc(50,Fe,2,2,"mat-option",17),v.Rb(),v.Rb(),v.Rb(),v.Rb(),v.Sb(51,"app-settings-toggle-item",15),v.Zb("modelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.specialLoaPeriodEnabled=t})),v.ec(52,"translate"),v.Sb(53,"div",7),v.Sb(54,"div"),v.Sb(55,"mat-form-field"),v.Sb(56,"mat-label"),v.Jc(57),v.ec(58,"translate"),v.Rb(),v.Sb(59,"mat-select",8,21),v.Zb("ngModelChange",(function(t){return v.xc(i),v.dc().currentConfiguration.specialLoa=t})),v.Hc(61,Ze,2,2,"mat-option",17),v.Rb(),v.Rb(),v.Hc(62,Ye,16,13,"div",22),v.Rb(),v.Rb(),v.Rb(),v.Rb(),v.Sb(63,"div",23),v.ec(64,"translate"),v.Sb(65,"button",24),v.Zb("click",(function(){return v.xc(i),v.dc().saveChanges()})),v.Jc(66),v.ec(67,"translate"),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.tc(6),a=v.tc(14),o=v.tc(18),c=v.dc();v.Ab(2),v.Eb("unselected-setting",!n.checked),v.Ab(1),v.Lc(" ",v.fc(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),v.Ab(2),v.kc("ngModel",c.currentConfiguration.enabled),v.Ab(2),v.kc("@openClose",n.checked?"open":"closed"),v.Ab(2),v.Kc(v.fc(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),v.Ab(3),v.kc("ngModel",c.currentConfiguration.periodType),v.Ab(3),v.Lc(" ",v.fc(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),v.Ab(4),v.Lc(" ",v.fc(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),v.Ab(2),v.kc("ngIf",a.checked),v.Ab(1),v.kc("ngIf",o.checked),v.Ab(1),v.kc("model",c.currentConfiguration.doNotAllowLoasEnabled)("title",v.fc(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),v.Ab(4),v.Kc(v.fc(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),v.Ab(2),v.kc("ngModel",c.currentConfiguration.doNotAllowLoas),v.Ab(1),v.kc("ngForOf",c.LOAS),v.Ab(1),v.kc("model",c.currentConfiguration.doNotExtendLoasEnabled)("title",v.fc(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),v.Ab(4),v.Kc(v.fc(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),v.Ab(2),v.kc("ngModel",c.currentConfiguration.doNotExtendLoas),v.Ab(1),v.kc("ngForOf",c.LOAS),v.Ab(1),v.kc("model",c.currentConfiguration.gracePeriodEnabled)("title",v.fc(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),v.Ab(4),v.lc("pattern",c.dynamicAmountPattern),v.lc("placeholder",v.fc(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),v.kc("ngModel",c.currentConfiguration.gracePeriod),v.Ab(4),v.Kc(v.fc(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),v.Ab(2),v.kc("ngModel",c.currentConfiguration.gracePeriodUnit),v.Ab(1),v.kc("ngForOf",c.amountOptions),v.Ab(1),v.kc("model",c.currentConfiguration.specialLoaPeriodEnabled)("title",v.fc(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),v.Ab(6),v.Kc(v.fc(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),v.Ab(2),v.kc("ngModel",c.currentConfiguration.specialLoa),v.Ab(2),v.kc("ngForOf",c.LOAS),v.Ab(1),v.kc("ngIf",null!==c.currentConfiguration.specialLoa),v.Ab(1),v.lc("matTooltip",v.fc(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),v.kc("matTooltipDisabled",c.expirationAttribute.writable)("matTooltipPosition","above"),v.Ab(2),v.kc("disabled",!c.areChangesMade()||!c.expirationAttribute.writable),v.Ab(1),v.Lc(" ",v.fc(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}var $e,Qe=(($e=function(){function t(){a(this,t),this.saveAttribute=new v.o,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 c(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 n=i.charAt(i.length-1);e.specialLoaPeriodDynamic=i.substring(1,i.length-1),e.specialLoaPeriodDynamicUnit=n}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),n=this.parseDontExtendLoas(t),a=this.parseGracePeriod(t),o=this.parseSpecialLoaPeriod(t),c={period:e};return null!==n&&(c.doNotExtendLoa=n),null!==i&&(c.doNotAllowLoa=i),null!==a&&(c.gracePeriod=a),null!==o&&(c.periodLoa=o),c}}]),t}()).\u0275fac=function(t){return new(t||$e)},$e.\u0275cmp=v.Gb({type:$e,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[v.yb],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&&v.Hc(0,Xe,68,70,"div",0),2&t&&v.kc("ngIf",e.currentConfiguration)},directives:[r.t,_e.a,Le.r,Le.u,Pe.b,Pe.a,Ce.a,De.c,De.h,Ge.a,r.s,Ve.b,Le.c,Le.y,De.g,R.a,M.b,De.f,we.n,xe.a],pipes:[O.d],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;-ms-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[p.c]}}),$e);function qe(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-expiration-settings",1),v.Zb("saveAttribute",(function(t){return v.xc(i),v.dc().saveExpirationAttribute(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("expirationAttribute",n.expirationAttribute)}}var ti,ei=((ti=function(){function t(e,i,n,o,c){var r=this;a(this,t),this.attributesManager=e,this.route=i,this.translate=n,this.notificator=o,this.apiRequest=c,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe((function(t){return r.successMessage=t})),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe((function(t){return r.errorMessage=t}))}return c(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,g.a.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}()).\u0275fac=function(t){return new(t||ti)(v.Mb(d.c),v.Mb(s.a),v.Mb(O.e),v.Mb(h.l),v.Mb(h.b))},ti.\u0275cmp=v.Gb({type:ti,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&v.Hc(0,qe,1,1,"app-expiration-settings",0),2&t&&v.kc("ngIf",void 0!==e.expirationAttribute)},directives:[r.t,Qe],styles:[""],data:{animation:[p.c]}}),ti),ii=o("dWQl"),ni=o("NU+N");function ai(t,e){if(1&t&&v.Nb(0,"app-managers-page",1),2&t){var i=v.dc();v.kc("complementaryObject",i.vo)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var oi,ci=((oi=function(){function t(e,i,n,o){a(this,t),this.dialog=e,this.voService=i,this.route=n,this.guiAuthResolver=o,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}return c(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}()).\u0275fac=function(t){return new(t||oi)(v.Mb(A.b),v.Mb(d.r),v.Mb(s.a),v.Mb(h.h))},oi.\u0275cmp=v.Gb({type:oi,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&v.Hc(0,ai,1,4,"app-managers-page",0),2&t&&v.kc("ngIf",e.vo)},directives:[r.t,ni.a],styles:[""]}),oi),ri=o("JVFj"),si=o("ZTj5"),li=o("vNdQ"),ui=o("zmEM"),bi=o("e+sS");function pi(t,e){if(1&t&&(v.Sb(0,"span",5),v.Jc(1),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.Lc(" #",i.application.id," ")}}function di(t,e){1&t&&v.Nb(0,"mat-spinner",6)}function fi(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",17),v.Zb("click",(function(){return v.xc(i),v.dc(2).verifyApplication()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function hi(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",17),v.Zb("click",(function(){return v.xc(i),v.dc(2).approveApplication()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function gi(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",18),v.Zb("click",(function(){return v.xc(i),v.dc(2).rejectApplication()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function mi(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",18),v.Zb("click",(function(){return v.xc(i),v.dc(2).deleteApplication()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function Ii(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",19),v.Zb("click",(function(){return v.xc(i),v.dc(2).resendNotification()})),v.Sb(1,"i",14),v.Jc(2," mail_outline "),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function vi(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"span",10),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Jc(4),v.Rb()),2&t){var i=v.dc(2);v.Ab(2),v.Kc(v.fc(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),v.Ab(2),v.Lc(": ",i.application.vo.name," ")}}function Ai(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"span",10),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Jc(4),v.Sb(5,"span",10),v.Jc(6),v.ec(7,"translate"),v.Rb(),v.Jc(8),v.Rb()),2&t){var i=v.dc(2);v.Ab(2),v.Kc(v.fc(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),v.Ab(2),v.Lc(": ",i.application.group.name," "),v.Ab(2),v.Kc(v.fc(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),v.Ab(2),v.Lc(": ",i.application.vo.name," ")}}function Si(t,e){1&t&&(v.Sb(0,"span"),v.Sb(1,"mat-icon",20),v.Jc(2,"arrow_right_alt"),v.Rb(),v.Jc(3," Initial "),v.Rb())}function Ti(t,e){1&t&&(v.Sb(0,"span"),v.Sb(1,"mat-icon",20),v.Jc(2,"restore"),v.Rb(),v.Jc(3," Extension "),v.Rb())}function Ei(t,e){1&t&&(v.Sb(0,"span"),v.Sb(1,"mat-icon",20),v.Jc(2,"nat"),v.Rb(),v.Jc(3," Embedded "),v.Rb())}function Ri(t,e){if(1&t&&(v.Sb(0,"div",21),v.Sb(1,"mat-card-title"),v.Sb(2,"i",22),v.Jc(3,"clear"),v.Rb(),v.Jc(4),v.ec(5,"translate"),v.Rb(),v.Sb(6,"div"),v.Sb(7,"span",10),v.Jc(8),v.ec(9,"translate"),v.Rb(),v.Jc(10),v.ec(11,"date"),v.Rb(),v.Rb()),2&t){var i=v.dc(2);v.Ab(4),v.Mc(" ",v.fc(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",i.getModifiedAtName(i.application.modifiedBy),""),v.Ab(4),v.Kc(v.fc(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),v.Ab(2),v.Lc(": ",v.gc(11,8,i.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function yi(t,e){if(1&t&&(v.Sb(0,"div",21),v.Sb(1,"mat-card-title"),v.Sb(2,"i",23),v.Jc(3,"done"),v.Rb(),v.Jc(4),v.ec(5,"translate"),v.Rb(),v.Sb(6,"div"),v.Sb(7,"span",10),v.Jc(8),v.ec(9,"translate"),v.Rb(),v.Jc(10),v.ec(11,"date"),v.Rb(),v.Rb()),2&t){var i=v.dc(2);v.Ab(4),v.Mc(" ",v.fc(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",i.getModifiedAtName(i.application.modifiedBy),""),v.Ab(4),v.Kc(v.fc(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),v.Ab(2),v.Lc(": ",v.gc(11,8,i.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Mi(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"span",10),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Jc(4),v.Rb()),2&t){var i=v.dc(2);v.Ab(2),v.Kc(v.fc(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),v.Ab(2),v.Lc(": ",i.userMail,"")}}function Oi(t,e){1&t&&v.Nb(0,"th",32)}function Ni(t,e){if(1&t&&(v.Sb(0,"td",33),v.Jc(1),v.Rb()),2&t){var i=e.$implicit,n=v.dc(3);v.Ab(1),v.Mc("",n.getLabel(i.formItem),"",i.formItem.type.startsWith("FROM_FEDERATION")?"*":"","")}}function ki(t,e){1&t&&v.Nb(0,"th",32)}function _i(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",36),v.Zb("click",(function(){v.xc(i);var t=v.dc().$implicit;return v.dc(3).editApplicationData(t)})),v.Sb(1,"mat-icon"),v.Jc(2,"edit"),v.Rb(),v.Rb()}}function Li(t,e){if(1&t&&(v.Sb(0,"td",34),v.Jc(1),v.Hc(2,_i,3,0,"button",35),v.Rb()),2&t){var i=e.$implicit,n=v.dc(3);v.Ab(1),v.Lc(" ",i.value," "),v.Ab(1),v.kc("ngIf",!i.formItem.type.startsWith("FROM_FEDERATION")&&("NEW"===n.application.state||"VERIFIED"===n.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==i.formItem.type)}}function Pi(t,e){1&t&&v.Nb(0,"tr",37)}function Ci(t,e){1&t&&v.Nb(0,"tr",38)}function Di(t,e){if(1&t&&(v.Sb(0,"table",24),v.Qb(1,25),v.Hc(2,Oi,1,0,"th",26),v.Hc(3,Ni,2,2,"td",27),v.Pb(),v.Qb(4,28),v.Hc(5,ki,1,0,"th",26),v.Hc(6,Li,3,2,"td",29),v.Pb(),v.Hc(7,Pi,1,0,"tr",30),v.Hc(8,Ci,1,0,"tr",31),v.Rb()),2&t){var i=v.dc(2);v.kc("dataSource",i.dataSource),v.Ab(7),v.kc("matHeaderRowDef",i.displayedColumns),v.Ab(1),v.kc("matRowDefColumns",i.displayedColumns)}}function Gi(t,e){1&t&&(v.Sb(0,"div",39),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Lc("*",v.fc(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VALUE_BY_EXTERNALS"),""))}function Vi(t,e){if(1&t&&(v.Sb(0,"div"),v.Hc(1,fi,3,3,"button",7),v.Hc(2,hi,3,3,"button",7),v.Hc(3,gi,3,3,"button",8),v.Hc(4,mi,3,3,"button",8),v.Hc(5,Ii,5,3,"button",9),v.Hc(6,vi,5,4,"div",4),v.Hc(7,Ai,9,8,"div",4),v.Sb(8,"div"),v.Sb(9,"span",10),v.Jc(10),v.ec(11,"translate"),v.Rb(),v.Jc(12,": "),v.Nb(13,"span",11),v.ec(14,"applicationState"),v.Rb(),v.Sb(15,"div"),v.Sb(16,"span",10),v.Jc(17),v.ec(18,"translate"),v.Rb(),v.Jc(19,": "),v.Hc(20,Si,4,0,"span",4),v.Hc(21,Ti,4,0,"span",4),v.Hc(22,Ei,4,0,"span",4),v.Rb(),v.Hc(23,Ri,12,11,"div",12),v.Hc(24,yi,12,11,"div",12),v.Sb(25,"div",13),v.Sb(26,"mat-card-title"),v.Sb(27,"i",14),v.Jc(28,"redo"),v.Rb(),v.Jc(29),v.ec(30,"translate"),v.ec(31,"userFullName"),v.Rb(),v.Hc(32,Mi,5,4,"div",4),v.Sb(33,"div"),v.Sb(34,"span",10),v.Jc(35),v.ec(36,"translate"),v.Rb(),v.Jc(37),v.Rb(),v.Sb(38,"div"),v.Sb(39,"span",10),v.Jc(40),v.ec(41,"translate"),v.Rb(),v.Jc(42),v.Rb(),v.Sb(43,"div"),v.Sb(44,"span",10),v.Jc(45),v.ec(46,"translate"),v.Rb(),v.Jc(47),v.ec(48,"date"),v.Rb(),v.Hc(49,Di,9,3,"table",15),v.Hc(50,Gi,3,3,"div",16),v.Rb(),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("ngIf","NEW"==i.application.state&&i.verifyAuth),v.Ab(1),v.kc("ngIf",("VERIFIED"==i.application.state||"NEW"==i.application.state)&&i.approveAuth),v.Ab(1),v.kc("ngIf",("VERIFIED"==i.application.state||"NEW"==i.application.state)&&i.rejectAuth),v.Ab(1),v.kc("ngIf",("REJECTED"==i.application.state||"NEW"==i.application.state)&&i.deleteAuth),v.Ab(1),v.kc("ngIf",i.resendAuth),v.Ab(1),v.kc("ngIf",!i.application.group),v.Ab(1),v.kc("ngIf",i.application.group),v.Ab(3),v.Kc(v.fc(11,26,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),v.Ab(3),v.kc("outerHTML",v.fc(14,28,i.application.state),v.yc),v.Ab(4),v.Kc(v.fc(18,30,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),v.Ab(3),v.kc("ngIf","INITIAL"==i.application.type),v.Ab(1),v.kc("ngIf","EXTENSION"==i.application.type),v.Ab(1),v.kc("ngIf","EMBEDDED"==i.application.type),v.Ab(1),v.kc("ngIf","REJECTED"==i.application.state),v.Ab(1),v.kc("ngIf","APPROVED"==i.application.state),v.Ab(5),v.Mc(" ",v.fc(30,32,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===i.application.user?i.submittedBy():v.fc(31,34,i.application.user),""),v.Ab(3),v.kc("ngIf",i.userMail),v.Ab(3),v.Kc(v.fc(36,36,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),v.Ab(2),v.Lc(": ",i.application.extSourceName,""),v.Ab(3),v.Kc(v.fc(41,38,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),v.Ab(2),v.Lc(": ",i.application.extSourceLoa,""),v.Ab(3),v.Kc(v.fc(46,40,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),v.Ab(2),v.Lc(": ",v.gc(48,42,i.application.createdAt,"d.M.y H:mm:ss"),""),v.Ab(2),v.kc("ngIf",0!==i.userData.length),v.Ab(1),v.kc("ngIf",0!==i.userData.length)}}var wi,xi,Hi=((wi=function(){function t(e,i,n,o,c,r,s,l){a(this,t),this.registrarManager=e,this.dialog=i,this.translate=n,this.route=o,this.notificator=c,this.router=r,this.authResolver=s,this.usersService=l,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe((function(e){t.dialogTheme=e.groupId?"group-theme":e.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,n=e.userAttributes.find((function(t){return"preferredMail"===t.friendlyName}));t.userMail=null===(i=null==n?void 0:n.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 ft.o(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=Object(f.o)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(ri.a,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=Object(f.o)();e.width="500px",e.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(si.a,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=Object(f.o)();e.width="600px",e.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:t},this.dialog.open(li.a,e)}}]),t}()).\u0275fac=function(t){return new(t||wi)(v.Mb(d.l),v.Mb(A.b),v.Mb(O.e),v.Mb(s.a),v.Mb(h.l),v.Mb(s.f),v.Mb(h.h),v.Mb(d.q))},wi.\u0275cmp=v.Gb({type:wi,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Sb(0,"h2",0),v.Jc(1),v.ec(2,"translate"),v.Hc(3,pi,2,1,"span",1),v.Rb(),v.Nb(4,"mat-divider",2),v.Hc(5,di,1,0,"mat-spinner",3),v.Hc(6,Vi,51,45,"div",4)),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),v.Ab(2),v.kc("ngIf",!!e.application),v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,ui.a,T.c,mt.m,M.b,E.a,ft.n,ft.c,ft.i,ft.b,ft.k,ft.m,ft.h,ft.a,ft.j,ft.l],pipes:[O.d,bi.a,St.a,r.f],styles:[""]}),wi),zi=o("vUMc"),Ji=o("got8"),Ui=((xi=function(){function t(){a(this,t)}return c(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||xi)},xi.\u0275cmp=v.Gb({type:xi,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&v.Nb(0,"app-animated-router-outlet")},directives:[y.a],styles:[""],data:{animation:[p.a]}}),xi),Bi=o("KZIX"),Fi=o("bdug"),Zi=["list"];function Wi(t,e){1&t&&(v.Jc(0),v.ec(1,"translate")),2&t&&v.Lc(" ",v.fc(1,1,"GROUP_DETAIL.ENTITY")," ")}function ji(t,e){1&t&&v.Nb(0,"mat-spinner",10)}function Ki(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-attributes-list",11,12),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("attributes",n.attributes)("selection",n.selection)}}function Yi(t,e){1&t&&(v.Jc(0),v.ec(1,"translate"),v.ec(2,"translate")),2&t&&v.Mc(" ",v.fc(1,2,"GROUP_DETAIL.ENTITY")," - ",v.fc(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Xi(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",15),2&t){var i=v.dc(3);v.kc("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","member")}}function $i(t,e){if(1&t&&v.Hc(0,Xi,1,3,"app-two-entity-attribute-page",14),2&t){var i=v.dc(2);v.kc("ngIf",!i.loading)}}function Qi(t,e){1&t&&(v.Sb(0,"mat-tab"),v.Hc(1,Yi,3,6,"ng-template",1),v.Hc(2,$i,1,1,"ng-template",13),v.Rb())}function qi(t,e){1&t&&(v.Jc(0),v.ec(1,"translate"),v.ec(2,"translate")),2&t&&v.Mc(" ",v.fc(1,2,"GROUP_DETAIL.ENTITY")," - ",v.fc(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function tn(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",15),2&t){var i=v.dc(3);v.kc("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","resource")}}function en(t,e){if(1&t&&v.Hc(0,tn,1,3,"app-two-entity-attribute-page",14),2&t){var i=v.dc(2);v.kc("ngIf",!i.loading)}}function nn(t,e){1&t&&(v.Sb(0,"mat-tab"),v.Hc(1,qi,3,6,"ng-template",1),v.Hc(2,en,1,1,"ng-template",13),v.Rb())}var an,on=((an=function(){function t(e,i,n,o,c,r,s,l){var u=this;a(this,t),this.route=e,this.attributesManager=i,this.groupManager=n,this.notificator=o,this.dialog=c,this.translate=r,this.tableConfigService=s,this.authResolver=l,this.selection=new ue.c(!0,[]),this.attributes=[],this.filterValue="",this.tableId=de.r,this.translate.get("GROUP_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe((function(t){return u.saveSuccessMessage=t})),this.translate.get("GROUP_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe((function(t){return u.deleteSuccessMessage=t}))}return c(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.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_boolean_policy",[t.group]),t.refreshTable()}))}))}},{key:"onCreate",value:function(){var t=this,e=Object(f.o)();e.width="1050px",e.data={entityId:this.groupId,entity:"group",notEmptyAttributes:this.attributes,style:"group-theme"},this.dialog.open(fe.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e=Object(f.o)();e.width="450px",e.data={entityId:this.groupId,entity:"group",attributes:this.selection.selected},this.dialog.open(m.f,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onDelete",value:function(){var t=this,e=Object(f.o)();e.width="450px",e.data={entityId:this.groupId,entity:"group",attributes:this.selection.selected},this.dialog.open(be.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributesManager.getGroupAttributes(this.groupId).subscribe((function(e){t.attributes=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}()).\u0275fac=function(t){return new(t||an)(v.Mb(s.a),v.Mb(d.c),v.Mb(d.h),v.Mb(h.l),v.Mb(A.b),v.Mb(O.e),v.Mb(de.pb),v.Mb(h.h))},an.\u0275cmp=v.Gb({type:an,selectors:[["app-group-attributes"]],viewQuery:function(t,e){var i;1&t&&v.Qc(Zi,!0),2&t&&v.sc(i=v.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:22,vars:19,consts:[[1,"page-subtitle"],["matTabLabel",""],[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"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Sb(4,"mat-tab-group"),v.Sb(5,"mat-tab"),v.Hc(6,Wi,2,3,"ng-template",1),v.Sb(7,"perun-web-apps-refresh-button",2),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Sb(8,"button",3),v.Zb("click",(function(){return e.onCreate()})),v.Jc(9),v.ec(10,"translate"),v.Rb(),v.Sb(11,"button",4),v.Zb("click",(function(){return e.onSave()})),v.Jc(12),v.ec(13,"translate"),v.Rb(),v.Sb(14,"button",5),v.Zb("click",(function(){return e.onDelete()})),v.Jc(15),v.ec(16,"translate"),v.Rb(),v.Sb(17,"perun-web-apps-immediate-filter",6),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Hc(18,ji,1,0,"mat-spinner",7),v.Hc(19,Ki,2,4,"perun-web-apps-attributes-list",8),v.Rb(),v.Hc(20,Qi,3,0,"mat-tab",9),v.Hc(21,nn,3,0,"mat-tab",9),v.Rb(),v.Rb()),2&t&&(v.Ab(2),v.Kc(v.fc(3,11,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),v.Ab(7),v.Lc(" ",v.fc(10,13,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),v.Ab(2),v.kc("disabled",0===e.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(13,15,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),v.Ab(2),v.kc("disabled",0===e.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(16,17,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),v.Ab(2),v.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",e.groupMemberAttAuth),v.Ab(1),v.kc("ngIf",e.groupResourceAttAuth))},directives:[Bi.c,Bi.a,Bi.d,he.a,M.b,ge.a,r.t,T.c,me.a,Bi.b,Fi.a],pipes:[O.d],styles:[""]}),an);function cn(t,e){1&t&&v.Nb(0,"mat-spinner",2)}function rn(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"perun-web-apps-menu-buttons-field",3),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("items",i.items)("size","small")}}var sn,ln=((sn=function(){function t(e,i,n,o,c,r,s,l,u){a(this,t),this.sideMenuService=e,this.voService=i,this.groupService=n,this.route=o,this.router=c,this.guiAuthResolver=r,this.apiRequest=s,this.attributesManager=l,this.notificator=u,this.items=[],this.loading=!1}return c(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,g.a.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}()).\u0275fac=function(t){return new(t||sn)(v.Mb(u.a),v.Mb(d.r),v.Mb(d.h),v.Mb(s.a),v.Mb(s.f),v.Mb(h.h),v.Mb(h.b),v.Mb(d.c),v.Mb(h.l))},sn.\u0275cmp=v.Gb({type:sn,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Hc(0,cn,1,0,"mat-spinner",0),v.Hc(1,rn,2,2,"div",1)),2&t&&(v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,Q.a],styles:[""]}),sn),un=o("IgBI");function bn(t,e){1&t&&v.Nb(0,"mat-spinner",3)}function pn(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc(2).switchToInitial()})),v.Sb(1,"i",9),v.Jc(2,"arrow_right_alt"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function dn(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc(2).switchToExtension()})),v.Sb(1,"i",9),v.Jc(2,"cached"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function fn(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc(2).switchToEnglish()})),v.Sb(1,"i",9),v.Jc(2,"public"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_ENGLISH")," "))}function hn(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc(2).switchToCzech()})),v.Sb(1,"i",9),v.Jc(2,"public"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_CZECH")," "))}function gn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function mn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function In(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Nb(5,"input",16),v.Rb(),v.Rb(),v.Sb(6,"div",17),v.Hc(7,gn,2,1,"mat-icon",18),v.Hc(8,mn,2,1,"mat-icon",18),v.Sb(9,"span",19),v.Jc(10),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(2),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(2),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function vn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function An(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Sn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Nb(5,"input",21),v.Rb(),v.Rb(),v.Sb(6,"div",17),v.Hc(7,vn,2,1,"mat-icon",18),v.Hc(8,An,2,1,"mat-icon",18),v.Sb(9,"span",19),v.Jc(10),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(4),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function Tn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function En(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Rn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Nb(5,"input",22),v.Nb(6,"br"),v.Nb(7,"input",16),v.Rb(),v.Rb(),v.Sb(8,"div",17),v.Hc(9,Tn,2,1,"mat-icon",18),v.Hc(10,En,2,1,"mat-icon",18),v.Sb(11,"span",19),v.Jc(12),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(2),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(2),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(2),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function yn(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"input",24),v.Jc(2),v.Nb(3,"br"),v.Rb()),2&t){var i=e.$implicit,n=v.dc(3).$implicit;v.Ab(1),v.kc("disabled","ALWAYS"===n.disabled),v.Ab(1),v.Lc(" ",i,"")}}function Mn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function On(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Nn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"form",15),v.Hc(5,yn,4,2,"div",7),v.Nb(6,"input",23),v.ec(7,"translate"),v.Rb(),v.Rb(),v.Sb(8,"div",17),v.Hc(9,Mn,2,1,"mat-icon",18),v.Hc(10,On,2,1,"mat-icon",18),v.Sb(11,"span",19),v.Jc(12),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(2),v.kc("ngForOf",n.getLocalizedOptions(i)),v.Ab(1),v.lc("value",v.fc(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(3),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function kn(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"span",25),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(1),v.kc("innerHTML",n.getLocalizedLabel(i),v.yc)}}function _n(t,e){if(1&t&&(v.Sb(0,"option"),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.Ab(1),v.Kc(i)}}function Ln(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function Pn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Cn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Sb(5,"select",26),v.Hc(6,_n,2,1,"option",7),v.Rb(),v.Rb(),v.Rb(),v.Sb(7,"div",17),v.Hc(8,Ln,2,1,"mat-icon",18),v.Hc(9,Pn,2,1,"mat-icon",18),v.Sb(10,"span",19),v.Jc(11),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(2),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(1),v.kc("ngForOf",n.getLocalizedOptions(i)),v.Ab(2),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function Dn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function Gn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Vn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Nb(4,"textarea",27),v.Rb(),v.Sb(5,"div",17),v.Hc(6,Dn,2,1,"mat-icon",18),v.Hc(7,Gn,2,1,"mat-icon",18),v.Sb(8,"span",19),v.Jc(9),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(1),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(2),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function wn(t,e){if(1&t&&(v.Sb(0,"option",32),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.Ab(1),v.Kc(i)}}function xn(t,e){1&t&&(v.Sb(0,"div",33),v.Sb(1,"form"),v.Nb(2,"input",34),v.Rb(),v.Rb())}function Hn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function zn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Jn(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Sb(5,"select",28),v.Zb("ngModelChange",(function(t){v.xc(i);var e=v.dc(2).$implicit;return v.dc(2).mapForCombobox[e.id]=t})),v.Sb(6,"option",29),v.Jc(7),v.ec(8,"translate"),v.Rb(),v.Hc(9,wn,2,1,"option",30),v.Rb(),v.Hc(10,xn,3,0,"div",31),v.Rb(),v.Rb(),v.Sb(11,"div",17),v.Hc(12,Hn,2,1,"mat-icon",18),v.Hc(13,zn,2,1,"mat-icon",18),v.Sb(14,"span",19),v.Jc(15),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=v.dc(2).$implicit,a=v.dc(2);v.Ab(3),v.Kc(a.getLocalizedLabel(n)),v.Ab(2),v.kc("ngModel",a.mapForCombobox[n.id])("disabled","ALWAYS"===n.disabled),v.Ab(2),v.Kc(v.fc(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),v.Ab(2),v.kc("ngForOf",a.getLocalizedOptions(n)),v.Ab(1),v.kc("ngIf","true"===a.mapForCombobox[n.id]),v.Ab(2),v.kc("ngIf","NEVER"!==n.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==n.hidden),v.Ab(2),v.Kc(a.getLocalizedHint(n))}}function Un(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"input",35),v.Jc(2),v.Rb()),2&t){var i=e.$implicit,n=v.dc(3).$implicit;v.Ab(1),v.kc("disabled","ALWAYS"===n.disabled),v.Ab(1),v.Lc(" ",i," ")}}function Bn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function Fn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Zn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Sb(5,"form",33),v.Hc(6,Un,3,2,"div",7),v.Rb(),v.Rb(),v.Rb(),v.Sb(7,"div",17),v.Hc(8,Bn,2,1,"mat-icon",18),v.Hc(9,Fn,2,1,"mat-icon",18),v.Sb(10,"span",19),v.Jc(11),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(3),v.kc("ngForOf",n.getLocalizedOptions(i)),v.Ab(2),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function Wn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function jn(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function Kn(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Sb(5,"form",33),v.Nb(6,"input",35),v.Jc(7," example group1 "),v.Nb(8,"br"),v.Nb(9,"input",35),v.Jc(10," example group2 "),v.Nb(11,"br"),v.Nb(12,"input",35),v.Jc(13," example group3 "),v.Rb(),v.Rb(),v.Rb(),v.Sb(14,"div",17),v.Hc(15,Wn,2,1,"mat-icon",18),v.Hc(16,jn,2,1,"mat-icon",18),v.Sb(17,"span",19),v.Jc(18),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(3),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(3),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(3),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(3),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function Yn(t,e){if(1&t&&(v.Sb(0,"mat-icon",38),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function Xn(t,e){if(1&t&&(v.Sb(0,"mat-icon",38),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function $n(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"button",36),v.Jc(2),v.Rb(),v.Hc(3,Yn,2,1,"mat-icon",37),v.Hc(4,Xn,2,1,"mat-icon",37),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(1),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(1),v.Kc(n.getLocalizedLabel(i)),v.Ab(1),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden)}}function Qn(t,e){if(1&t&&(v.Sb(0,"mat-icon",38),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function qn(t,e){if(1&t&&(v.Sb(0,"mat-icon",38),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function ta(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"button",36),v.Jc(2),v.Rb(),v.Hc(3,Qn,2,1,"mat-icon",37),v.Hc(4,qn,2,1,"mat-icon",37),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(1),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(1),v.Kc(n.getLocalizedLabel(i)),v.Ab(1),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden)}}function ea(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"lock"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.disabledTooltip(i))}}function ia(t,e){if(1&t&&(v.Sb(0,"mat-icon",20),v.Jc(1,"visibility_off"),v.Rb()),2&t){var i=v.dc(3).$implicit,n=v.dc(2);v.kc("matTooltip",n.hiddenTooltip(i))}}function na(t,e){if(1&t&&(v.Sb(0,"div",13),v.Sb(1,"div",14),v.Sb(2,"span",15),v.Jc(3),v.Rb(),v.Sb(4,"div",15),v.Sb(5,"select",39),v.Sb(6,"option",40),v.Jc(7),v.ec(8,"translate"),v.Rb(),v.Sb(9,"option",41),v.Jc(10,"(GMT -12:00) Eniwetok, Kwajalein"),v.Rb(),v.Sb(11,"option",42),v.Jc(12,"(GMT -11:00) Midway Island, Samoa"),v.Rb(),v.Sb(13,"option",43),v.Jc(14,"(GMT -10:00) Hawaii"),v.Rb(),v.Sb(15,"option",44),v.Jc(16,"(GMT -9:30) Taiohae"),v.Rb(),v.Sb(17,"option",45),v.Jc(18,"(GMT -9:00) Alaska"),v.Rb(),v.Sb(19,"option",46),v.Jc(20,"(GMT -8:00) Pacific Time (US & Canada)"),v.Rb(),v.Sb(21,"option",47),v.Jc(22,"(GMT -7:00) Mountain Time (US & Canada)"),v.Rb(),v.Sb(23,"option",48),v.Jc(24,"(GMT -6:00) Central Time (US & Canada), Mexico City"),v.Rb(),v.Sb(25,"option",49),v.Jc(26,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),v.Rb(),v.Sb(27,"option",50),v.Jc(28,"(GMT -4:30) Caracas"),v.Rb(),v.Sb(29,"option",51),v.Jc(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),v.Rb(),v.Sb(31,"option",52),v.Jc(32,"(GMT -3:30) Newfoundland"),v.Rb(),v.Sb(33,"option",53),v.Jc(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),v.Rb(),v.Sb(35,"option",54),v.Jc(36,"(GMT -2:00) Mid-Atlantic"),v.Rb(),v.Sb(37,"option",55),v.Jc(38,"(GMT -1:00) Azores, Cape Verde Islands"),v.Rb(),v.Sb(39,"option",56),v.Jc(40,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),v.Rb(),v.Sb(41,"option",57),v.Jc(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),v.Rb(),v.Sb(43,"option",58),v.Jc(44,"(GMT +2:00) Kaliningrad, South Africa"),v.Rb(),v.Sb(45,"option",59),v.Jc(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),v.Rb(),v.Sb(47,"option",60),v.Jc(48,"(GMT +3:30) Tehran"),v.Rb(),v.Sb(49,"option",61),v.Jc(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),v.Rb(),v.Sb(51,"option",62),v.Jc(52,"(GMT +4:30) Kabul"),v.Rb(),v.Sb(53,"option",63),v.Jc(54,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),v.Rb(),v.Sb(55,"option",64),v.Jc(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),v.Rb(),v.Sb(57,"option",65),v.Jc(58,"(GMT +5:45) Kathmandu, Pokhara"),v.Rb(),v.Sb(59,"option",66),v.Jc(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),v.Rb(),v.Sb(61,"option",67),v.Jc(62,"(GMT +6:30) Yangon, Mandalay"),v.Rb(),v.Sb(63,"option",68),v.Jc(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),v.Rb(),v.Sb(65,"option",69),v.Jc(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),v.Rb(),v.Sb(67,"option",70),v.Jc(68,"(GMT +8:45) Eucla"),v.Rb(),v.Sb(69,"option",71),v.Jc(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),v.Rb(),v.Sb(71,"option",72),v.Jc(72,"(GMT +9:30) Adelaide, Darwin"),v.Rb(),v.Sb(73,"option",73),v.Jc(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),v.Rb(),v.Sb(75,"option",74),v.Jc(76,"(GMT +10:30) Lord Howe Island"),v.Rb(),v.Sb(77,"option",75),v.Jc(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),v.Rb(),v.Sb(79,"option",76),v.Jc(80,"(GMT +11:30) Norfolk Island"),v.Rb(),v.Sb(81,"option",77),v.Jc(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),v.Rb(),v.Sb(83,"option",78),v.Jc(84,"(GMT +12:45) Chatham Islands"),v.Rb(),v.Sb(85,"option",79),v.Jc(86,"(GMT +13:00) Apia, Nukualofa"),v.Rb(),v.Sb(87,"option",80),v.Jc(88,"(GMT +14:00) Line Islands, Tokelau"),v.Rb(),v.Rb(),v.Rb(),v.Rb(),v.Sb(89,"div",17),v.Hc(90,ea,2,1,"mat-icon",18),v.Hc(91,ia,2,1,"mat-icon",18),v.Sb(92,"span",19),v.Jc(93),v.Rb(),v.Rb(),v.Rb()),2&t){var i=v.dc(2).$implicit,n=v.dc(2);v.Ab(3),v.Kc(n.getLocalizedLabel(i)),v.Ab(2),v.kc("disabled","ALWAYS"===i.disabled),v.Ab(2),v.Lc(" ",v.fc(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),v.Ab(83),v.kc("ngIf","NEVER"!==i.disabled),v.Ab(1),v.kc("ngIf","NEVER"!==i.hidden),v.Ab(2),v.Kc(n.getLocalizedHint(i))}}function aa(t,e){if(1&t&&(v.Sb(0,"div",11),v.Hc(1,In,11,5,"div",12),v.Hc(2,Sn,11,4,"div",12),v.Hc(3,Rn,13,6,"div",12),v.Hc(4,Nn,13,9,"div",12),v.Hc(5,kn,2,1,"div",2),v.Hc(6,Cn,12,6,"div",12),v.Hc(7,Vn,10,5,"div",12),v.Hc(8,Jn,16,11,"div",12),v.Hc(9,Zn,12,5,"div",12),v.Hc(10,Kn,19,7,"div",12),v.Hc(11,$n,5,4,"div",12),v.Hc(12,ta,5,4,"div",2),v.Hc(13,na,94,8,"div",12),v.Rb()),2&t){var i=v.dc().$implicit;v.Ab(1),v.kc("ngIf",("TEXTFIELD"===i.type||"VALIDATED_EMAIL"===i.type||"USERNAME"===i.type)&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","FROM_FEDERATION_SHOW"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","PASSWORD"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","RADIO"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf",("HEADING"===i.type||"HTML_COMMENT"===i.type)&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","SELECTIONBOX"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","TEXTAREA"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","COMBOBOX"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","CHECKBOX"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","EMBEDDED_GROUP_APPLICATION"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","SUBMIT_BUTTON"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","AUTO_SUBMIT_BUTTON"===i.type&&"ALWAYS"!==i.hidden),v.Ab(1),v.kc("ngIf","TIMEZONE"===i.type&&"ALWAYS"!==i.hidden)}}function oa(t,e){if(1&t&&(v.Sb(0,"div"),v.Hc(1,aa,14,13,"div",10),v.Rb()),2&t){var i=e.$implicit,n=v.dc(2);v.Ab(1),v.kc("ngIf",n.isValid(i))}}function ca(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"div",4),v.Hc(2,pn,5,3,"button",5),v.Hc(3,dn,5,3,"button",5),v.Hc(4,fn,5,3,"button",5),v.Hc(5,hn,5,3,"button",5),v.Rb(),v.Sb(6,"div",6),v.Hc(7,oa,2,1,"div",7),v.Rb(),v.Rb()),2&t){var i=v.dc();v.Ab(2),v.kc("ngIf",!i.initialPage),v.Ab(1),v.kc("ngIf",i.initialPage),v.Ab(1),v.kc("ngIf","cs"===i.language),v.Ab(1),v.kc("ngIf","en"===i.language),v.Ab(2),v.kc("ngForOf",i.applicationFormItems)}}var ra,sa,la=((sa=function(){function t(e,i){a(this,t),this.route=e,this.translate=i,this.loading=!0,this.applicationFormItems=[],this.language="en",this.initialPage=!0,this.mapForCombobox=new Map}return c(t,[{key:"ngOnInit",value:function(){var t=this;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:"switchToEnglish",value:function(){this.language="en"}},{key:"switchToCzech",value:function(){this.language="cs"}},{key:"getLocalizedOptions",value:function(t){if(t.i18n[this.language]){var i=t.i18n[this.language].options;if(null!==i&&""!==i){var n,a=[],o=e(i.split("|"));try{for(o.s();!(n=o.n()).done;){var c=n.value;a.push(c.split("#")[1])}}catch(r){o.e(r)}finally{o.f()}return a}}return[]}},{key:"isValid",value:function(t){if(t.forDelete)return!1;var i,n=e(t.applicationTypes);try{for(n.s();!(i=n.n()).done;){var a=i.value;if("INITIAL"===a&&this.initialPage)return!0;if("EXTENSION"===a&&!this.initialPage)return!0}}catch(o){n.e(o)}finally{n.f()}return!1}},{key:"disabledTooltip",value:function(t){var e,i,n;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,n=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),"".concat(e," ").concat(i," ").concat(n);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,n=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),"".concat(e," ").concat(i," ").concat(n);default:return""}}},{key:"hiddenTooltip",value:function(t){var e,i,n;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,n=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),"".concat(e," ").concat(i," ").concat(n);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,n=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),"".concat(e," ").concat(i," ").concat(n);default:return""}}},{key:"getLocalizedLabel",value:function(t){return t.i18n[this.language]?t.i18n[this.language].label:t.shortname}},{key:"getLocalizedHint",value:function(t){return t.i18n[this.language]?t.i18n[this.language].help:""}}]),t}()).\u0275fac=function(t){return new(t||sa)(v.Mb(s.a),v.Mb(O.e))},sa.\u0275cmp=v.Gb({type:sa,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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","d-flex","mb-2"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],["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&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Hc(3,bn,1,0,"mat-spinner",1),v.Hc(4,ca,8,5,"div",2)),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,r.s,M.b,E.a,R.a,Le.H,Le.s,Le.t,Le.w,Le.G,Le.D,Le.r,Le.u],pipes:[O.d],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),sa),ua=((ra=function(){function t(){a(this,t)}return c(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||ra)},ra.\u0275cmp=v.Gb({type:ra,selectors:[["app-member-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:0,template:function(t,e){1&t&&v.Nb(0,"app-animated-router-outlet")},directives:[y.a],styles:[""],data:{animation:[p.a]}}),ra);function ba(t,e){1&t&&v.Nb(0,"mat-spinner",2)}function pa(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"perun-web-apps-menu-buttons-field",3),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("items",i.items)("size","small")}}var da,fa=((da=function(){function t(e,i,n,o){a(this,t),this.sideMenuService=e,this.voService=i,this.memberManager=n,this.route=o,this.items=[],this.loading=!1}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe((function(e){var i=e.voId;t.memberManager.getMemberById(e.memberId).subscribe((function(e){t.member=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(){this.items=[]}}]),t}()).\u0275fac=function(t){return new(t||da)(v.Mb(u.a),v.Mb(d.r),v.Mb(d.i),v.Mb(s.a))},da.\u0275cmp=v.Gb({type:da,selectors:[["app-member-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Hc(0,ba,1,0,"mat-spinner",0),v.Hc(1,pa,2,2,"div",1)),2&t&&(v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[r.t,T.c,Q.a],styles:[""]}),da),ha=["list"];function ga(t,e){1&t&&(v.Jc(0),v.ec(1,"translate")),2&t&&v.Lc(" ",v.fc(1,1,"MEMBER_DETAIL.ENTITY")," ")}function ma(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",10),v.Zb("click",(function(){return v.xc(i),v.dc().onCreate()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "))}function Ia(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",11),v.Zb("click",(function(){return v.xc(i),v.dc().onSave()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," ")}}function va(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",12),v.Zb("click",(function(){return v.xc(i),v.dc().onDelete()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," ")}}function Aa(t,e){1&t&&v.Nb(0,"mat-spinner",13)}function Sa(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-attributes-list",14,15),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("attributes",n.attributes)("selection",n.selection)}}function Ta(t,e){1&t&&(v.Jc(0),v.ec(1,"translate"),v.ec(2,"translate")),2&t&&v.Mc(" ",v.fc(1,2,"MEMBER_DETAIL.ENTITY")," - ",v.fc(2,4,"GROUP_DETAIL.ENTITY")," ")}function Ea(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",18),2&t){var i=v.dc(3);v.kc("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","group")}}function Ra(t,e){if(1&t&&v.Hc(0,Ea,1,3,"app-two-entity-attribute-page",17),2&t){var i=v.dc(2);v.kc("ngIf",!i.loading)}}function ya(t,e){1&t&&(v.Sb(0,"mat-tab"),v.Hc(1,Ta,3,6,"ng-template",1),v.Hc(2,Ra,1,1,"ng-template",16),v.Rb())}function Ma(t,e){1&t&&(v.Jc(0),v.ec(1,"translate"),v.ec(2,"translate")),2&t&&v.Mc(" ",v.fc(1,2,"MEMBER_DETAIL.ENTITY")," - ",v.fc(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Oa(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",18),2&t){var i=v.dc(3);v.kc("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","resource")}}function Na(t,e){if(1&t&&v.Hc(0,Oa,1,3,"app-two-entity-attribute-page",17),2&t){var i=v.dc(2);v.kc("ngIf",!i.loading)}}function ka(t,e){1&t&&(v.Sb(0,"mat-tab"),v.Hc(1,Ma,3,6,"ng-template",1),v.Hc(2,Na,1,1,"ng-template",16),v.Rb())}var _a,La,Pa=((La=function(){function t(e,i,n,o,c,r,s,l){var u=this;a(this,t),this.route=e,this.attributesManager=i,this.notificator=n,this.dialog=o,this.translate=c,this.tableConfigService=r,this.authResolver=s,this.memberManager=l,this.selection=new ue.c(!0,[]),this.attributes=[],this.filterValue="",this.tableId=de.r,this.translate.get("MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_SAVE").subscribe((function(t){return u.saveSuccessMessage=t})),this.translate.get("MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SUCCESS_DELETE").subscribe((function(t){return u.deleteSuccessMessage=t}))}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),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.refreshTable()}))}))}},{key:"onCreate",value:function(){var t=this,e=Object(f.o)();e.width="1050px",e.data={entityId:this.memberId,entity:"member",notEmptyAttributes:this.attributes,style:"member-theme"},this.dialog.open(fe.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e=Object(f.o)();e.width="450px",e.data={entityId:this.memberId,entity:"member",attributes:this.selection.selected},this.dialog.open(m.f,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onDelete",value:function(){var t=this,e=Object(f.o)();e.width="450px",e.data={entityId:this.memberId,entity:"member",attributes:this.selection.selected},this.dialog.open(be.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributesManager.getMemberAttributes(this.memberId).subscribe((function(e){t.attributes=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}()).\u0275fac=function(t){return new(t||La)(v.Mb(s.a),v.Mb(d.c),v.Mb(h.l),v.Mb(A.b),v.Mb(O.e),v.Mb(de.pb),v.Mb(h.h),v.Mb(d.i))},La.\u0275cmp=v.Gb({type:La,selectors:[["app-member-attributes"]],viewQuery:function(t,e){var i;1&t&&v.Qc(ha,!0),2&t&&v.sc(i=v.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:16,vars:11,consts:[[1,"page-subtitle"],["matTabLabel",""],[1,"mt-2",3,"refresh"],["mat-flat-button","","class","mr-2 mt-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2 mt-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","mt-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","filterValue","attributes","selection","page",4,"ngIf"],[4,"ngIf"],["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"],[1,"mr-auto","ml-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""],["matTabContent",""],[3,"firstEntity","firstEntityId","secondEntity",4,"ngIf"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Sb(4,"mat-tab-group"),v.Sb(5,"mat-tab"),v.Hc(6,ga,2,3,"ng-template",1),v.Sb(7,"perun-web-apps-refresh-button",2),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Hc(8,ma,3,3,"button",3),v.Hc(9,Ia,3,4,"button",4),v.Hc(10,va,3,4,"button",5),v.Sb(11,"perun-web-apps-immediate-filter",6),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Hc(12,Aa,1,0,"mat-spinner",7),v.Hc(13,Sa,2,4,"perun-web-apps-attributes-list",8),v.Rb(),v.Hc(14,ya,3,0,"mat-tab",9),v.Hc(15,ka,3,0,"mat-tab",9),v.Rb(),v.Rb()),2&t&&(v.Ab(2),v.Kc(v.fc(3,9,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),v.Ab(6),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",e.memberGroupAttAuth),v.Ab(1),v.kc("ngIf",e.memberResourceAttAuth))},directives:[Bi.c,Bi.a,Bi.d,he.a,r.t,ge.a,M.b,T.c,me.a,Bi.b,Fi.a],pipes:[O.d],styles:[""]}),La),Ca=((_a=function(){function t(e,i,n,o,c){a(this,t),this.sideMenuService=e,this.voService=i,this.authResolver=n,this.route=o,this.router=c,this.items=[]}return c(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}()).\u0275fac=function(t){return new(t||_a)(v.Mb(u.a),v.Mb(d.r),v.Mb(h.h),v.Mb(s.a),v.Mb(s.f))},_a.\u0275cmp=v.Gb({type:_a,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Nb(1,"perun-web-apps-menu-buttons-field",0),v.Rb()),2&t&&(v.Ab(1),v.kc("items",e.items)("size","small"))},directives:[Q.a],styles:[""]}),_a),Da=o("5bHy"),Ga=o("KSio"),Va=o("yLXW"),wa=o("mPlY"),xa=o("Rbfv");function Ha(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",7),v.Zb("click",(function(){return v.xc(i),v.dc().create()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function za(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc().deleteTag()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function Ja(t,e){1&t&&v.Nb(0,"mat-spinner",9)}function Ua(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-resources-tags-list",10),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("selection",n.selection)("pageSize",n.pageSize)("resourceTags",n.resourceTag)("filterValue",n.filterValue)("displayedColumns",n.displayedColumns)}}var Ba,Fa=((Ba=function(){function t(e,i,n,o,c,r,s,l){a(this,t),this.route=e,this.resourceManager=i,this.dialog=n,this.notificator=o,this.tableConfigService=c,this.translator=r,this.authResolver=s,this.voService=l,this.loading=!1,this.resourceTag=[],this.selection=new ue.c(!0,[]),this.tableId=de.mb,this.displayedColumns=[]}return c(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=Object(f.o)();e.width="450px",e.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(wa.a,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=Object(f.o)();e.width="450px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Va.a,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}()).\u0275fac=function(t){return new(t||Ba)(v.Mb(s.a),v.Mb(d.m),v.Mb(A.b),v.Mb(h.l),v.Mb(de.pb),v.Mb(O.e),v.Mb(h.h),v.Mb(d.r))},Ba.\u0275cmp=v.Gb({type:Ba,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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","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","page"]],template:function(t,e){1&t&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Sb(3,"perun-web-apps-refresh-button",1),v.Zb("refresh",(function(){return e.updateData()})),v.Rb(),v.Hc(4,Ha,3,3,"button",2),v.Hc(5,za,3,4,"button",3),v.Sb(6,"perun-web-apps-immediate-filter",4),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Hc(7,Ja,1,0,"mat-spinner",5),v.Hc(8,Ua,1,5,"app-resources-tags-list",6)),2&t&&(v.Ab(1),v.Kc(v.fc(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),v.Ab(3),v.kc("ngIf",e.createAuth),v.Ab(1),v.kc("ngIf",e.deleteAuth),v.Ab(1),v.kc("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[he.a,r.t,ge.a,M.b,T.c,xa.a],pipes:[O.d],styles:[""]}),Ba);function Za(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-expiration-settings",1),v.Zb("saveAttribute",(function(t){return v.xc(i),v.dc().saveExpirationAttribute(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("expirationAttribute",n.expirationAttribute)}}var Wa,ja=((Wa=function(){function t(e,i,n,o,c){var r=this;a(this,t),this.attributesManager=e,this.route=i,this.translate=n,this.notificator=o,this.apiRequest=c,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe((function(t){return r.successMessage=t})),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe((function(t){return r.errorMessage=t}))}return c(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,g.a.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}()).\u0275fac=function(t){return new(t||Wa)(v.Mb(d.c),v.Mb(s.a),v.Mb(O.e),v.Mb(h.l),v.Mb(h.b))},Wa.\u0275cmp=v.Gb({type:Wa,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&v.Hc(0,Za,1,1,"app-expiration-settings",0),2&t&&v.kc("ngIf",void 0!==e.expirationAttribute)},directives:[r.t,Qe],styles:[""]}),Wa);function Ka(t,e){if(1&t&&v.Nb(0,"app-managers-page",1),2&t){var i=v.dc();v.kc("complementaryObject",i.group)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var Ya,Xa=((Ya=function(){function t(e,i,n){a(this,t),this.groupService=e,this.route=i,this.guiAuthResolver=n,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}return c(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}()).\u0275fac=function(t){return new(t||Ya)(v.Mb(d.h),v.Mb(s.a),v.Mb(h.h))},Ya.\u0275cmp=v.Gb({type:Ya,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&v.Hc(0,Ka,1,4,"app-managers-page",0),2&t&&v.kc("ngIf",e.group)},directives:[r.t,ni.a],styles:[""]}),Ya),$a=o("zSH9"),Qa=o("Tsqg"),qa=o("0N5F"),to=o("is9t"),eo=o("iAde"),io=o("cePI");function no(t,e){if(1&t){var i=v.Tb();v.Sb(0,"th",15),v.Sb(1,"mat-checkbox",16),v.Zb("change",(function(t){v.xc(i);var e=v.dc();return t?e.masterToggle():null})),v.Rb(),v.Rb()}if(2&t){var n=v.dc();v.Ab(1),v.kc("aria-label",n.checkboxLabel())("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())}}function ao(t,e){if(1&t){var i=v.Tb();v.Sb(0,"td",17),v.Sb(1,"mat-checkbox",18),v.Zb("change",(function(t){v.xc(i);var n=e.$implicit,a=v.dc();return t?a.toggle(n):null}))("click",(function(t){return v.xc(i),t.stopPropagation()})),v.Rb(),v.Rb()}if(2&t){var n=e.$implicit,a=v.dc();v.Ab(1),v.kc("aria-label",a.checkboxLabel(n))("checked",a.selection.isSelected(n))}}function oo(t,e){1&t&&(v.Sb(0,"th",19),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_ID")," "))}function co(t,e){if(1&t&&(v.Sb(0,"td",17),v.Jc(1),v.Rb()),2&t){var i=e.$implicit;v.Ab(1),v.Kc(i.id)}}function ro(t,e){1&t&&(v.Sb(0,"th",19),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_TYPE")," "))}function so(t,e){if(1&t&&(v.Sb(0,"td",20),v.Jc(1),v.Rb()),2&t){var i=e.$implicit,n=v.dc();v.Ab(1),v.Kc(n.getMailType(i))}}function lo(t,e){1&t&&(v.Sb(0,"th",19),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE")," "))}function uo(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"mat-icon",23),v.Jc(2,"arrow_right_alt"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()),2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_INITIAL")," "))}function bo(t,e){1&t&&(v.Sb(0,"mat-icon",24),v.Jc(1,"cached"),v.Rb(),v.Jc(2),v.ec(3,"translate")),2&t&&(v.Ab(2),v.Lc(" ",v.fc(3,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_EXTENSION")," "))}function po(t,e){if(1&t&&(v.Sb(0,"td",20),v.Hc(1,uo,5,3,"div",21),v.Hc(2,bo,4,3,"ng-template",null,22,v.Ic),v.Rb()),2&t){var i=e.$implicit,n=v.tc(3);v.Ab(1),v.kc("ngIf","INITIAL"==i.appType)("ngIfElse",n)}}function fo(t,e){1&t&&(v.Sb(0,"th",19),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_SENDING_ENABLED")," "))}function ho(t,e){if(1&t){var i=v.Tb();v.Sb(0,"td",20),v.Sb(1,"section"),v.Sb(2,"mat-checkbox",25),v.Zb("change",(function(){v.xc(i);var t=e.$implicit;return v.dc().changeSending(t)}))("click",(function(t){return v.xc(i),t.stopPropagation()})),v.ec(3,"translate"),v.Rb(),v.Rb(),v.Rb()}if(2&t){var n=e.$implicit,a=v.dc();v.Ab(2),v.lc("matTooltip",v.fc(3,4,"VO_DETAIL.SETTINGS.NOTIFICATIONS.DISABLED_HINT")),v.kc("disabled",a.disableSend)("matTooltipDisabled",!a.disableSend)("ngModel",n.send)}}function go(t,e){1&t&&v.Nb(0,"tr",26)}function mo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"tr",27),v.Zb("click",(function(){v.xc(i);var t=e.$implicit;return v.dc().openApplicationMailDetail(t)})),v.Rb()}2&t&&v.Eb("cursor-pointer",!0)}var Io,vo=((Io=function(){function t(e,i,n,o,c,r){a(this,t),this.registrarService=e,this.translate=i,this.notificator=n,this.dialog=o,this.authResolver=c,this.tableCheckbox=r,this.displayedColumns=["select","id","mailType","appType","send"],this.disableSend=!1,this.selection=new ue.c(!0,[]),this.pageSize=10,this.selectionChange=new v.o,this.page=new v.o,this.pageSizeOptions=f.a}return c(t,[{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new ft.o(this.applicationMails),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.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:"changeSending",value:function(t){t.send?this.registrarService.setSendingEnabled({mails:[t],enabled:!1}).subscribe((function(){t.send=!1})):this.registrarService.setSendingEnabled({mails:[t],enabled:!0}).subscribe((function(){t.send=!0}))}},{key:"openApplicationMailDetail",value:function(t){var e=this,i=Object(f.o)();i.width="1400px",i.height="700px",i.data={theme:this.theme,voId:this.voId,groupId:this.groupId,createMailNotification:!1,applicationMail:t},this.dialog.open(qa.a,i).afterClosed().subscribe((function(t){t&&(e.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.EDIT_SUCCESS").subscribe((function(t){e.notificator.showSuccess(t)})),e.selection.clear(),e.selectionChange.emit(e.selection),e.update())}))}},{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}},{key:"update",value:function(){var t=this;this.groupId?this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe((function(e){t.updateTable(e)})):this.registrarService.getApplicationMailsForVo(this.voId).subscribe((function(e){t.updateTable(e)}))}},{key:"toggle",value:function(t){this.selection.toggle(t),this.selectionChange.emit(this.selection)}},{key:"updateTable",value:function(t){this.applicationMails=t,this.dataSource=new ft.o(this.applicationMails),this.setDataSource()}},{key:"setDataSource",value:function(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}()).\u0275fac=function(t){return new(t||Io)(v.Mb(d.l),v.Mb(O.e),v.Mb(h.l),v.Mb(A.b),v.Mb(h.h),v.Mb(h.n))},Io.\u0275cmp=v.Gb({type:Io,selectors:[["app-notification-list"]],viewQuery:function(t,e){var i;1&t&&(v.Dc(io.a,!0),v.Dc(eo.a,!0)),2&t&&(v.sc(i=v.ac())&&(e.matSort=i.first),v.sc(i=v.ac())&&(e.matPaginator=i.first))},inputs:{applicationMails:"applicationMails",voId:"voId",groupId:"groupId",displayedColumns:"displayedColumns",disableSend:"disableSend",selection:"selection",pageSize:"pageSize",theme:"theme"},outputs:{selectionChange:"selectionChange",page:"page"},features:[v.yb],decls:21,vars:6,consts:[[1,"card-body"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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","matTooltip","matTooltipDisabled","ngModel","change","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"]],template:function(t,e){1&t&&(v.Sb(0,"div",0),v.Sb(1,"div",1),v.Sb(2,"table",2),v.Qb(3,3),v.Hc(4,no,2,3,"th",4),v.Hc(5,ao,2,2,"td",5),v.Pb(),v.Qb(6,6),v.Hc(7,oo,3,3,"th",7),v.Hc(8,co,2,1,"td",5),v.Pb(),v.Qb(9,8),v.Hc(10,ro,3,3,"th",7),v.Hc(11,so,2,1,"td",9),v.Pb(),v.Qb(12,10),v.Hc(13,lo,3,3,"th",7),v.Hc(14,po,4,2,"td",9),v.Pb(),v.Qb(15,11),v.Hc(16,fo,3,3,"th",7),v.Hc(17,ho,4,6,"td",9),v.Pb(),v.Hc(18,go,1,0,"tr",12),v.Hc(19,mo,1,2,"tr",13),v.Rb(),v.Rb(),v.Sb(20,"mat-paginator",14),v.Zb("page",(function(t){return e.page.emit(t)})),v.Rb(),v.Rb()),2&t&&(v.Ab(2),v.kc("dataSource",e.dataSource),v.Ab(16),v.kc("matHeaderRowDef",e.displayedColumns),v.Ab(1),v.kc("matRowDefColumns",e.displayedColumns),v.Ab(1),v.kc("length",e.applicationMails.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions))},directives:[ft.n,io.a,ft.c,ft.i,ft.b,ft.k,ft.m,eo.a,ft.h,xe.a,ft.a,io.b,r.t,E.a,R.a,Le.r,Le.u,ft.j,ft.l],pipes:[O.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Io),Ao=o("FcRk");function So(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",9),v.Zb("click",(function(){return v.xc(i),v.dc().add()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function To(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",10),v.Zb("click",(function(){return v.xc(i),v.dc().remove()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function Eo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",11),v.Zb("click",(function(){return v.xc(i),v.dc().changeEmailFooter()})),v.Sb(1,"i",12),v.Jc(2,"email"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "))}function Ro(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",13),v.Zb("click",(function(){return v.xc(i),v.dc().copy()})),v.Sb(1,"i",12),v.Jc(2,"file_copy"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function yo(t,e){1&t&&v.Nb(0,"mat-spinner",14)}function Mo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",15),v.Sb(1,"app-notification-list",16),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)}))("selectionChange",(function(t){return v.xc(i),v.dc().changeSelection(t)})),v.Rb(),v.Rb()}if(2&t){var n=v.dc();v.Ab(1),v.kc("applicationMails",n.applicationMails)("pageSize",n.pageSize)("voId",n.voId)("displayedColumns",n.displayedColumns)("disableSend",!n.addAuth)("selection",n.selection)("theme","vo-theme")}}function Oo(t,e){1&t&&(v.Sb(0,"app-alert",17),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.kc("alert_type","warn"),v.Ab(1),v.Lc(" ",v.fc(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS"),"\n"))}var No,ko=((No=function(){function t(e,i,n,o,c,r,s,l){a(this,t),this.route=e,this.registrarService=i,this.translate=n,this.dialog=o,this.tableConfigService=c,this.notificator=r,this.authResolver=s,this.voService=l,this.loading=!1,this.applicationMails=[],this.selection=new ue.c(!0,[]),this.tableId=de.ob,this.displayedColumns=[]}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe((function(e){t.voId=e.voId,t.registrarService.getVoApplicationForm(t.voId).subscribe((function(e){t.applicationForm=e,t.registrarService.getApplicationMailsForVo(t.voId).subscribe((function(e){t.applicationMails=e,t.voService.getVoById(t.voId).subscribe((function(e){t.vo=e,t.setAuthRights(),t.loading=!1}))}))}))}))}},{key:"setAuthRights",value:function(){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"]}},{key:"add",value:function(){var t=this,e=Object(f.e)();e.formId=this.applicationForm.id;var i=Object(f.o)();i.width="1400px",i.height="700px",i.data={theme:"vo-theme",voId:this.voId,createMailNotification:!0,applicationMail:e,applicationMails:this.applicationMails},this.dialog.open(qa.a,i).afterClosed().subscribe((function(e){e&&(t.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe((function(e){t.notificator.showSuccess(e)})),t.selection.clear(),t.updateTable())}))}},{key:"remove",value:function(){var t=this,e=Object(f.o)();e.width="500px",e.data={voId:this.voId,mails:this.selection.selected,theme:"vo-theme"},this.dialog.open($a.a,e).afterClosed().subscribe((function(e){e&&(t.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe((function(e){t.notificator.showSuccess(e)})),t.selection.clear(),t.updateTable())}))}},{key:"copy",value:function(){var t=this,e=Object(f.o)();e.width="500px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(to.a,e).afterClosed().subscribe((function(e){e&&(t.selection.clear(),t.updateTable())}))}},{key:"updateTable",value:function(){var t=this;this.loading=!0,this.registrarService.getApplicationMailsForVo(this.voId).subscribe((function(e){t.applicationMails=e,t.loading=!1}))}},{key:"changeEmailFooter",value:function(){var t=Object(f.o)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Qa.a,t)}},{key:"changeSelection",value:function(t){this.selection=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}()).\u0275fac=function(t){return new(t||No)(v.Mb(s.a),v.Mb(d.l),v.Mb(O.e),v.Mb(A.b),v.Mb(de.pb),v.Mb(h.l),v.Mb(h.h),v.Mb(d.r))},No.\u0275cmp=v.Gb({type:No,selectors:[["app-vo-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Sb(3,"div",1),v.Hc(4,So,3,3,"button",2),v.Hc(5,To,3,4,"button",3),v.Hc(6,Eo,5,3,"button",4),v.Hc(7,Ro,5,3,"button",5),v.Rb(),v.Hc(8,yo,1,0,"mat-spinner",6),v.Hc(9,Mo,2,7,"div",7),v.Hc(10,Oo,3,4,"app-alert",8)),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,8,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),v.Ab(3),v.kc("ngIf",!e.loading&&e.addAuth),v.Ab(1),v.kc("ngIf",!e.loading&&e.removeAuth),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading&&e.copyAuth),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",0!==e.applicationMails.length&&!e.loading),v.Ab(1),v.kc("ngIf",0===e.applicationMails.length&&!e.loading))},directives:[r.t,M.b,T.c,vo,Ao.a],pipes:[O.d],styles:[""]}),No),_o=o("JKyc");function Lo(t,e){1&t&&v.Nb(0,"mat-spinner",3)}function Po(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",12),v.Zb("click",(function(){return v.xc(i),v.dc(2).add()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function Co(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",13),v.Zb("click",(function(){return v.xc(i),v.dc(2).remove()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc(2);v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function Do(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",14),v.Zb("click",(function(){return v.xc(i),v.dc(2).copy()})),v.Sb(1,"i",8),v.Jc(2,"file_copy"),v.Rb(),v.Jc(3),v.ec(4,"translate"),v.Rb()}2&t&&(v.Ab(3),v.Lc(" ",v.fc(4,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function Go(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div",15),v.Sb(1,"app-notification-list",16),v.Zb("page",(function(t){return v.xc(i),v.dc(2).pageChanged(t)}))("selectionChange",(function(t){return v.xc(i),v.dc(2).changeSelection(t)})),v.Rb(),v.Rb()}if(2&t){var n=v.dc(2);v.Ab(1),v.kc("disableSend",!n.addAuth)("displayedColumns",n.displayedColumns)("applicationMails",n.applicationMails)("pageSize",n.pageSize)("groupId",n.groupId)("selection",n.selection)("theme","group-theme")}}function Vo(t,e){1&t&&(v.Sb(0,"app-alert",17),v.Jc(1),v.ec(2,"translate"),v.Rb()),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS")," "))}function wo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"div"),v.Sb(1,"div",4),v.Hc(2,Po,3,3,"button",5),v.Hc(3,Co,3,4,"button",6),v.Sb(4,"button",7),v.Zb("click",(function(){return v.xc(i),v.dc().changeEmailFooter()})),v.Sb(5,"i",8),v.Jc(6,"email"),v.Rb(),v.Jc(7),v.ec(8,"translate"),v.Rb(),v.Hc(9,Do,5,3,"button",9),v.Rb(),v.Hc(10,Go,2,7,"div",10),v.Hc(11,Vo,3,3,"app-alert",11),v.Rb()}if(2&t){var n=v.dc();v.Ab(2),v.kc("ngIf",n.addAuth),v.Ab(1),v.kc("ngIf",n.removeAuth),v.Ab(4),v.Lc(" ",v.fc(8,6,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),v.Ab(2),v.kc("ngIf",n.copyAuth),v.Ab(1),v.kc("ngIf",0!==n.applicationMails.length),v.Ab(1),v.kc("ngIf",0===n.applicationMails.length)}}function xo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",19),v.Zb("click",(function(){return v.xc(i),v.dc(2).createEmptyApplicationForm()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.CREATE_APPLICATION_FORM")," "))}function Ho(t,e){if(1&t&&(v.Sb(0,"div"),v.Sb(1,"app-alert",17),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Hc(4,xo,3,3,"button",18),v.Rb()),2&t){var i=v.dc();v.Ab(2),v.Kc(v.fc(3,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_APPLICATION_FORM")),v.Ab(2),v.kc("ngIf",i.createFormAuth)}}var zo,Jo=((zo=function(){function t(e,i,n,o,c,r,s,l,u,b){a(this,t),this.route=e,this.registrarService=i,this.translate=n,this.dialog=o,this.apiRequest=c,this.tableConfigService=r,this.notificator=s,this.groupsService=l,this.guiAuthResolver=u,this.attributesService=b,this.loading=!1,this.applicationMails=[],this.selection=new ue.c(!0,[]),this.noApplicationForm=!1,this.editEmailFooterAuth=!1,this.addAuth=!1,this.removeAuth=!1,this.copyAuth=!1,this.createFormAuth=!1,this.displayedColumns=[],this.tableId=de.K}return c(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.voId=e.voId,t.groupId=e.groupId,t.groupsService.getGroupById(t.groupId).subscribe((function(e){t.group=e,t.apiRequest.dontHandleErrorForNext(),t.registrarService.getGroupApplicationForm(t.groupId).subscribe((function(e){t.applicationForm=e,t.registrarService.getApplicationMailsForGroup(t.groupId).subscribe((function(e){t.applicationMails=e,t.apiRequest.dontHandleErrorForNext(),t.attributesService.getGroupAttributeByName(t.groupId,g.a.GROUP_DEF_EXPIRATION_RULES).subscribe((function(){t.setAuthRights(),t.loading=!1}),(function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e),t.setAuthRights(),t.loading=!1}))}))}),(function(e){"FormNotExistsException"===e.error.name?(t.setAuthRights(),t.loading=!1):t.notificator.showRPCError(e)}))}))}))}},{key:"setAuthRights",value:function(){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"]}},{key:"add",value:function(){var t=this,e=Object(f.e)();e.formId=this.applicationForm.id;var i=Object(f.o)();i.width="1400px",i.height="700px",i.data={theme:"group-theme",voId:this.voId,groupId:this.groupId,createMailNotification:!0,applicationMail:e,applicationMails:this.applicationMails},this.dialog.open(qa.a,i).afterClosed().subscribe((function(e){e&&(t.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe((function(e){t.notificator.showSuccess(e)})),t.selection.clear(),t.updateTable())}))}},{key:"remove",value:function(){var t=this,e=Object(f.o)();e.width="500px",e.data={voId:this.voId,groupId:this.groupId,mails:this.selection.selected,theme:"group-theme"},this.dialog.open($a.a,e).afterClosed().subscribe((function(e){e&&(t.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe((function(e){t.notificator.showSuccess(e)})),t.selection.clear(),t.updateTable())}))}},{key:"copy",value:function(){var t=this,e=Object(f.o)();e.width="500px",e.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(to.a,e).afterClosed().subscribe((function(e){e&&(t.selection.clear(),t.updateTable())}))}},{key:"updateTable",value:function(){var t=this;this.loading=!0,this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe((function(e){t.applicationMails=e,t.loading=!1}))}},{key:"changeEmailFooter",value:function(){var t=Object(f.o)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(Qa.a,t)}},{key:"changeSelection",value:function(t){this.selection=t}},{key:"createEmptyApplicationForm",value:function(){var t=this;this.registrarService.createApplicationFormInGroup(this.groupId).subscribe((function(){t.noApplicationForm=!1,t.ngOnInit()}))}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}()).\u0275fac=function(t){return new(t||zo)(v.Mb(s.a),v.Mb(d.l),v.Mb(O.e),v.Mb(A.b),v.Mb(h.b),v.Mb(de.pb),v.Mb(h.l),v.Mb(d.h),v.Mb(h.h),v.Mb(d.c))},zo.\u0275cmp=v.Gb({type:zo,selectors:[["app-group-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Hc(3,Lo,1,0,"mat-spinner",1),v.Hc(4,wo,12,8,"div",2),v.Hc(5,Ho,5,4,"div",2)),2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,4,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.noApplicationForm&&!e.loading),v.Ab(1),v.kc("ngIf",e.noApplicationForm&&!e.loading))},directives:[r.t,T.c,M.b,vo,Ao.a],pipes:[O.d],styles:[""]}),zo),Uo=o("R0qJ"),Bo=o("aYBX"),Fo=o("ZWyU");function Zo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",7),v.Zb("click",(function(){return v.xc(i),v.dc().onAdd()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"VO_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function Wo(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc().onRemove()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"VO_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function jo(t,e){1&t&&v.Nb(0,"mat-spinner",9)}function Ko(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-ext-sources-list",10),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("extSources",n.extSources)("hideColumns",n.hideColumns)("filterValue",n.filterValue)("selection",n.selection)}}var Yo,Xo=((Yo=function(){function t(e,i,n,o,c,r,s,l){var u=this;a(this,t),this.extSourceService=e,this.route=i,this.dialog=n,this.notificator=o,this.tableConfigService=c,this.translate=r,this.authResolver=s,this.voService=l,this.extSources=[],this.selection=new ue.c(!0,[]),this.filterValue="",this.tableId=de.ib,this.hideColumns=[],this.translate.get("VO_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe((function(t){return u.successMessage=t}))}return c(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.refreshTable()}))}))}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Vo_ExtSource_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Vo_ExtSource_policy",[this.vo]),this.hideColumns=this.removeAuth?[]:["select"]}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.extSourceService.getVoExtSources(this.voId).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=Object(f.o)();e.width="1000px",e.data={voId:this.voId,extSources:this.extSources,theme:"vo-theme"},this.dialog.open(Uo.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onRemove",value:function(){var t=this,e=Object(f.o)();e.width="600px",e.data={voId:this.voId,extSources:this.selection.selected,theme:"vo-theme"},this.dialog.open(Bo.a,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}()).\u0275fac=function(t){return new(t||Yo)(v.Mb(d.f),v.Mb(s.a),v.Mb(A.b),v.Mb(h.l),v.Mb(de.pb),v.Mb(O.e),v.Mb(h.h),v.Mb(d.r))},Yo.\u0275cmp=v.Gb({type:Yo,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","hideColumns","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","hideColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Sb(4,"perun-web-apps-refresh-button",1),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Hc(5,Zo,3,3,"button",2),v.Hc(6,Wo,3,4,"button",3),v.Sb(7,"perun-web-apps-immediate-filter",4),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Hc(8,jo,1,0,"mat-spinner",5),v.Hc(9,Ko,1,5,"app-ext-sources-list",6),v.Rb()),2&t&&(v.Ab(2),v.Kc(v.fc(3,6,"VO_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),v.Ab(3),v.kc("ngIf",e.addAuth),v.Ab(1),v.kc("ngIf",e.removeAuth),v.Ab(1),v.kc("placeholder","VO_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[he.a,r.t,ge.a,M.b,T.c,Fo.a],pipes:[O.d],styles:[""]}),Yo),$o=o("KtsV"),Qo=o("v0MX"),qo=o("K9kF"),tc=["list"];function ec(t,e){1&t&&v.Nb(0,"mat-spinner",8)}var ic=function(){return["expiration","menu","recent"]};function nc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-groups-list",9,10),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("groups",n.groups)("parentGroup",n.group)("authType","group-relations")("selection",n.selection)("filter",n.filterValue)("hideColumns",v.oc(8,ic))("disableHeadCheckbox",!0)}}var ac,oc=((ac=function(){function t(e,i,n,o){a(this,t),this.route=e,this.groupService=i,this.tableConfigService=n,this.dialog=o,this.selection=new ue.c(!0,[]),this.groups=[],this.reverse=!1,this.filterValue="",this.tableId=de.L}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.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:"onCreate",value:function(){var t=this,e=Object(f.o)();e.width="1050px",e.data={groups:this.groups,theme:"group-theme",group:this.group,voId:this.voId,reverse:this.reverse},this.dialog.open($o.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onDelete",value:function(){var t=this,e=Object(f.o)();e.width="450px",e.data={groups:this.selection.selected,theme:"group-theme",groupId:+this.groupId,reverse:this.reverse},this.dialog.open(Qo.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.groupService.getGroupUnions(this.groupId,this.reverse).subscribe((function(e){t.groups=e,t.selection.clear(),t.loading=!1}),(function(){return t.loading=!1}))}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"showReverseUnions",value:function(){this.reverse=!this.reverse,this.refreshTable()}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}()).\u0275fac=function(t){return new(t||ac)(v.Mb(s.a),v.Mb(d.h),v.Mb(de.pb),v.Mb(A.b))},ac.\u0275cmp=v.Gb({type:ac,selectors:[["app-group-settings-relations"]],viewQuery:function(t,e){var i;1&t&&v.Qc(tc,!0),2&t&&v.sc(i=v.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&v.Eb("router-component",!0)},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","hideColumns","disableHeadCheckbox","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","parentGroup","authType","selection","filter","hideColumns","disableHeadCheckbox","page"],["list",""]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Sb(4,"perun-web-apps-refresh-button",1),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Sb(5,"button",2),v.Zb("click",(function(){return e.onCreate()})),v.Jc(6),v.ec(7,"translate"),v.Rb(),v.Sb(8,"button",3),v.Zb("click",(function(){return e.onDelete()})),v.ec(9,"translate"),v.Jc(10),v.ec(11,"translate"),v.Rb(),v.Sb(12,"perun-web-apps-immediate-filter",4),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Sb(13,"mat-checkbox",5),v.Zb("change",(function(){return e.showReverseUnions()})),v.Jc(14),v.ec(15,"translate"),v.Rb(),v.Hc(16,ec,1,0,"mat-spinner",6),v.Hc(17,nc,2,9,"perun-web-apps-groups-list",7),v.Rb()),2&t&&(v.Ab(2),v.Kc(v.fc(3,10,"GROUP_DETAIL.SETTINGS.RELATIONS.TITLE")),v.Ab(4),v.Lc(" ",v.fc(7,12,"GROUP_DETAIL.SETTINGS.RELATIONS.CREATE")," "),v.Ab(2),v.lc("matTooltip",v.fc(9,14,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE_TOOLTIP")),v.kc("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),v.Ab(2),v.Lc(" ",v.fc(11,16,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE")," "),v.Ab(2),v.kc("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),v.Ab(2),v.Kc(v.fc(15,18,"GROUP_DETAIL.SETTINGS.RELATIONS.REVERSE_UNIONS")),v.Ab(2),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[he.a,M.b,R.a,ge.a,xe.a,r.t,T.c,qo.a],pipes:[O.d],styles:[""]}),ac);function cc(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",3),2&t){var i=v.dc();v.kc("entityValues",i.resources)("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","resource")}}function rc(t,e){1&t&&v.Nb(0,"mat-spinner",4)}var sc,lc=((sc=function(){function t(e,i){a(this,t),this.route=e,this.resourcesManagerService=i,this.resources=[]}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe((function(e){t.memberId=e.memberId,t.resourcesManagerService.getAllowedResources(t.memberId).subscribe((function(e){t.resources=e,t.loading=!1}))}))}}]),t}()).\u0275fac=function(t){return new(t||sc)(v.Mb(s.a),v.Mb(d.m))},sc.\u0275cmp=v.Gb({type:sc,selectors:[["app-member-settings-resource-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Hc(3,cc,1,4,"app-two-entity-attribute-page",1),v.Hc(4,rc,1,0,"mat-spinner",2)),2&t&&(v.Ab(1),v.Kc(v.fc(2,3,"MEMBER_DETAIL.SETTINGS.RESOURCE_PAGE.TITLE")),v.Ab(2),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",e.loading))},directives:[r.t,Fi.a,T.c],pipes:[O.d],styles:[""]}),sc);function uc(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",3),2&t){var i=v.dc();v.kc("entityValues",i.resources)("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","resource")}}function bc(t,e){1&t&&v.Nb(0,"mat-spinner",4)}var pc,dc=((pc=function(){function t(e,i){a(this,t),this.route=e,this.resourcesManagerService=i,this.resources=[]}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe((function(e){t.groupId=e.groupId,t.resourcesManagerService.getAssignedResourcesWithGroup(t.groupId).subscribe((function(e){t.resources=e,t.loading=!1}))}))}}]),t}()).\u0275fac=function(t){return new(t||pc)(v.Mb(s.a),v.Mb(d.m))},pc.\u0275cmp=v.Gb({type:pc,selectors:[["app-group-settings-resource-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Hc(3,uc,1,4,"app-two-entity-attribute-page",1),v.Hc(4,bc,1,0,"mat-spinner",2)),2&t&&(v.Ab(1),v.Kc(v.fc(2,3,"GROUP_DETAIL.SETTINGS.RESOURCE_ATTRIBUTES.TITLE")),v.Ab(2),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",e.loading))},directives:[r.t,Fi.a,T.c],pipes:[O.d],styles:[""]}),pc);function fc(t,e){if(1&t&&v.Nb(0,"app-two-entity-attribute-page",3),2&t){var i=v.dc();v.kc("entityValues",i.groups)("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","group")}}function hc(t,e){1&t&&v.Nb(0,"mat-spinner",4)}var gc,mc=((gc=function(){function t(e,i){a(this,t),this.route=e,this.groupsManagerService=i,this.groups=[]}return c(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe((function(e){t.memberId=e.memberId,t.groupsManagerService.getMemberGroups(t.memberId).subscribe((function(e){t.groups=e,t.loading=!1}))}))}}]),t}()).\u0275fac=function(t){return new(t||gc)(v.Mb(s.a),v.Mb(d.h))},gc.\u0275cmp=v.Gb({type:gc,selectors:[["app-member-settings-group-attributes"]],decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityValues","firstEntity","firstEntityId","secondEntity",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"entityValues","firstEntity","firstEntityId","secondEntity"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Hc(3,fc,1,4,"app-two-entity-attribute-page",1),v.Hc(4,hc,1,0,"mat-spinner",2)),2&t&&(v.Ab(1),v.Kc(v.fc(2,3,"MEMBER_DETAIL.SETTINGS.GROUP_PAGE.TITLE")),v.Ab(2),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",e.loading))},directives:[r.t,Fi.a,T.c],pipes:[O.d],styles:[""]}),gc),Ic=o("aag5"),vc=o("oCM2");function Ac(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",6),v.Zb("click",(function(){return v.xc(i),v.dc().showAllDetails=!0})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_ALL_DETAILS")," "))}function Sc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",6),v.Zb("click",(function(){return v.xc(i),v.dc().showAllDetails=!1})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_LESS_DETAILS")," "))}function Tc(t,e){1&t&&v.Nb(0,"mat-spinner",7)}function Ec(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-applications-list",10),v.Zb("page",(function(t){return v.xc(i),v.dc(2).pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc(2);v.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("applications",n.applications)("member",n.member)("displayedColumns",n.displayedColumns)}}function Rc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-perun-web-apps-application-list-details",11),v.Zb("page",(function(t){return v.xc(i),v.dc(2).detailPageChanged(t)})),v.Rb()}if(2&t){var n=v.dc(2);v.kc("pageSize",n.detailPageSize)("filterValue",n.filterValue)("applications",n.applications)("member",n.member)}}function yc(t,e){if(1&t&&(v.Sb(0,"div"),v.Hc(1,Ec,1,5,"app-applications-list",8),v.Hc(2,Rc,1,4,"app-perun-web-apps-application-list-details",9),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("ngIf",!i.showAllDetails),v.Ab(1),v.kc("ngIf",i.showAllDetails)}}var Mc,Oc=((Mc=function(){function t(e,i,n,o){a(this,t),this.registrarManager=e,this.memberManager=i,this.tableConfigService=n,this.route=o,this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=de.N,this.tableId=de.O}return c(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.memberId=e.memberId,t.memberManager.getMemberById(t.memberId).subscribe((function(e){t.member=e})),t.registrarManager.getApplicationsForMember(t.memberId).subscribe((function(e){t.applications=e,t.loading=!1}))}))}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.registrarManager.getApplicationsForMember(this.memberId).subscribe((function(e){t.applications=e,t.loading=!1}))}},{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}()).\u0275fac=function(t){return new(t||Mc)(v.Mb(d.l),v.Mb(d.i),v.Mb(de.pb),v.Mb(s.a))},Mc.\u0275cmp=v.Gb({type:Mc,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&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.Rb(),v.Sb(3,"div"),v.Sb(4,"perun-web-apps-refresh-button",1),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Hc(5,Ac,3,3,"button",2),v.Hc(6,Sc,3,3,"button",2),v.Sb(7,"perun-web-apps-immediate-filter",3),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Rb(),v.Hc(8,Tc,1,0,"mat-spinner",4),v.Hc(9,yc,3,2,"div",5)),2&t&&(v.Ab(1),v.Kc(v.fc(2,6,"MEMBER_DETAIL.APPLICATIONS.TITLE")),v.Ab(4),v.kc("ngIf",!e.showAllDetails),v.Ab(1),v.kc("ngIf",e.showAllDetails),v.Ab(1),v.kc("placeholder","MEMBER_DETAIL.APPLICATIONS.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[he.a,r.t,ge.a,M.b,T.c,Ic.a,vc.a],pipes:[O.d],styles:[""]}),Mc),Nc=o("HHqq"),kc=o("23RZ");function _c(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-refresh-button",6),v.Zb("refresh",(function(){return v.xc(i),v.dc().refreshTable()})),v.Rb()}}function Lc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",7),v.Zb("click",(function(){return v.xc(i),v.dc().addResource()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function Pc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-immediate-filter",8),v.Zb("filter",(function(t){return v.xc(i),v.dc().applyFilter(t)})),v.Rb()}2&t&&v.kc("placeholder","MEMBER_DETAIL.RESOURCES.FILTER")}function Cc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"perun-web-apps-resources-list",9),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("displayedColumns",n.displayedColumns)("routingVo",!0)("disableRouting",!n.routeAuth)("resources",n.resources)}}function Dc(t,e){1&t&&v.Nb(0,"mat-spinner",10)}var Gc,Vc=((Gc=function(){function t(e,i,n,o,c,r){a(this,t),this.dialog=e,this.tableConfigService=i,this.memberManager=n,this.resourceManager=o,this.route=c,this.authResolver=r,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=de.Q}return c(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=Object(f.o)();e.width="1200px",e.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(Nc.a,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}()).\u0275fac=function(t){return new(t||Gc)(v.Mb(A.b),v.Mb(de.pb),v.Mb(d.i),v.Mb(d.m),v.Mb(s.a),v.Mb(h.h))},Gc.\u0275cmp=v.Gb({type:Gc,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&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Hc(4,_c,1,0,"perun-web-apps-refresh-button",1),v.Hc(5,Lc,3,3,"button",2),v.Hc(6,Pc,1,1,"perun-web-apps-immediate-filter",3),v.Hc(7,Cc,1,6,"perun-web-apps-resources-list",4),v.Rb(),v.Hc(8,Dc,1,0,"mat-spinner",5)),2&t&&(v.Ab(2),v.Kc(v.fc(3,6,"MEMBER_DETAIL.RESOURCES.TITLE")),v.Ab(2),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading&&e.addAuth),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",!e.loading),v.Ab(1),v.kc("ngIf",e.loading))},directives:[r.t,he.a,M.b,ge.a,kc.a,T.c],pipes:[O.d],styles:[""]}),Gc),wc=o("nSPi"),xc=o("y/MV"),Hc=o("jblC"),zc=o("GyaY"),Jc=o("HUrR"),Uc=o("gxIj"),Bc=o("Fm3m"),Fc=o("TNye"),Zc=o("lfUW"),Wc=o("+Jyz");function jc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",7),v.Zb("click",(function(){return v.xc(i),v.dc().onAdd()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}2&t&&(v.Ab(1),v.Lc(" ",v.fc(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function Kc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"button",8),v.Zb("click",(function(){return v.xc(i),v.dc().onRemove()})),v.Jc(1),v.ec(2,"translate"),v.Rb()}if(2&t){var n=v.dc();v.kc("disabled",0===n.selection.selected.length),v.Ab(1),v.Lc(" ",v.fc(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Yc(t,e){1&t&&v.Nb(0,"mat-spinner",9)}function Xc(t,e){if(1&t){var i=v.Tb();v.Sb(0,"app-ext-sources-list",10),v.Zb("page",(function(t){return v.xc(i),v.dc().pageChanged(t)})),v.Rb()}if(2&t){var n=v.dc();v.kc("pageSize",n.pageSize)("extSources",n.extSources)("hideColumns",n.hideColumns)("filterValue",n.filterValue)("selection",n.selection)}}var $c,Qc=(($c=function(){function t(e,i,n,o,c,r,s,l){var u=this;a(this,t),this.extSourceService=e,this.route=i,this.dialog=n,this.notificator=o,this.tableConfigService=c,this.translate=r,this.authResolver=s,this.groupService=l,this.extSources=[],this.selection=new ue.c(!0,[]),this.filterValue="",this.tableId=de.G,this.hideColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe((function(t){return u.successMessage=t}))}return c(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.hideColumns=this.removeAuth?[]:["select"]}},{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=Object(f.o)();e.width="1000px",e.data={voId:this.voId,groupId:this.groupId,extSources:this.extSources,theme:"group-theme"},this.dialog.open(Uo.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onRemove",value:function(){var t=this,e=Object(f.o)();e.width="600px",e.data={voId:this.voId,groupId:this.groupId,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(Bo.a,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}()).\u0275fac=function(t){return new(t||$c)(v.Mb(d.f),v.Mb(s.a),v.Mb(A.b),v.Mb(h.l),v.Mb(de.pb),v.Mb(O.e),v.Mb(h.h),v.Mb(d.h))},$c.\u0275cmp=v.Gb({type:$c,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","hideColumns","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","hideColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(v.Sb(0,"div"),v.Sb(1,"h1",0),v.Jc(2),v.ec(3,"translate"),v.Rb(),v.Sb(4,"perun-web-apps-refresh-button",1),v.Zb("refresh",(function(){return e.refreshTable()})),v.Rb(),v.Hc(5,jc,3,3,"button",2),v.Hc(6,Kc,3,4,"button",3),v.Sb(7,"perun-web-apps-immediate-filter",4),v.Zb("filter",(function(t){return e.applyFilter(t)})),v.Rb(),v.Hc(8,Yc,1,0,"mat-spinner",5),v.Hc(9,Xc,1,5,"app-ext-sources-list",6),v.Rb()),2&t&&(v.Ab(2),v.Kc(v.fc(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),v.Ab(3),v.kc("ngIf",e.addAuth),v.Ab(1),v.kc("ngIf",e.removeAuth),v.Ab(1),v.kc("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[he.a,r.t,ge.a,M.b,T.c,Fo.a],pipes:[O.d],styles:[""]}),$c),qc=o("KF6X");function tr(t,e){1&t&&v.Nb(0,"mat-spinner",3)}function er(t,e){if(1&t&&(v.Sb(0,"div"),v.Nb(1,"app-statistics-card",4),v.Rb()),2&t){var i=v.dc();v.Ab(1),v.kc("rowNames",i.rowNames)("statistics",i.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}var ir,nr=((ir=function(){function t(e,i){a(this,t),this.voService=e,this.route=i,this.loading=!1,this.dataSource=new ft.o,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 c(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 ft.o(t.rowNames),t.voService.getVoMembersCountsByStatus(t.voId).subscribe((function(e){t.allMembersCount=0;for(var i=0,n=Object.keys(e);i_policy",[{id:this.voId,beanName:"Vo"}])}}]),t}(),fr.\u0275fac=function(t){return new(t||fr)(v.Mb(de.pb),v.Mb(d.l),v.Mb(h.h),v.Mb(A.b),v.Mb(s.a))},fr.\u0275cmp=v.Gb({type:fr,selectors:[["app-application-form-manage-groups"]],viewQuery:function(t,e){var i;1&t&&v.Qc(lr,!0),2&t&&v.sc(i=v.ac())&&(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","hideColumns","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","hideColumns","disableRouting","filter","authType","groups","page"],["list",""]],template:function(t,e){1&t&&(v.Sb(0,"h1",0),v.Jc(1),v.ec(2,"translate"),v.ec(3,"translate"),v.Rb(),v.Sb(4,"app-alert",1),v.Jc(5),v.ec(6,"translate"),v.Rb(),v.Sb(7,"perun-web-apps-refresh-button",2),v.Zb("refresh",(function(){return e.loadGroups()})),v.Rb(),v.Hc(8,ur,3,3,"button",3),v.Sb(9,"span",4),v.ec(10,"translate"),v.Sb(11,"button",5),v.Zb("click",(function(){return e.removeGroup()})),v.Jc(12),v.ec(13,"translate"),v.Rb(),v.Rb(),v.Sb(14,"perun-web-apps-immediate-filter",6),v.Zb("filter",(function(t){return e.filterValue=t})),v.Rb(),v.Hc(15,br,1,0,"mat-spinner",7),v.Hc(16,dr,2,8,"perun-web-apps-groups-list",8)),2&t&&(v.Ab(1),v.Mc(" ",v.fc(2,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",v.fc(3,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),v.Ab(3),v.kc("alert_type","info"),v.Ab(1),v.Lc(" ",v.fc(6,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),v.Ab(3),v.kc("ngIf",e.addAuth),v.Ab(1),v.lc("matTooltip",v.fc(10,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),v.kc("matTooltipDisabled",void 0===e.list||void 0!==e.list&&e.list.removeAuth),v.Ab(2),v.kc("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),v.Ab(1),v.Lc(" ",v.fc(13,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),v.Ab(2),v.kc("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),v.Ab(1),v.kc("ngIf",e.loading),v.Ab(1),v.kc("ngIf",!e.loading))},directives:[Ao.a,he.a,r.t,R.a,M.b,ge.a,T.c,qo.a],pipes:[O.d],styles:[""]}),fr)},{path:"notifications",component:ko,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:Xo,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:X,children:[{path:"",component:Xt,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:Pa,data:{animation:"MemberAttributesPage"}},{path:"groups",component:$t.a,data:{animation:"MemberGroupsPage"}},{path:"applications",component:Oc,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:Hi,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:Vc,data:{animation:"MemberResourcesPage"}},{path:"settings",component:ua,children:[{path:"",component:fa,data:{animation:"MemberSettingsOverviewPage"}},{path:"resourceAttributes",component:lc,data:{animation:"MemberSettingsResourceAttributesPage"}},{path:"groupAttributes",component:mc,data:{animation:"MemberSettingsGroupAttributesPage"}}]}]},{path:":voId/groups/:groupId",component:J,children:[{path:"",component:oe,data:{animation:"GroupOverviewPage"}},{path:"members",component:zi.a,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:ce.a,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:ii.a,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:Ji.a,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:on,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:rr,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:Ui,children:[{path:"",component:ln,data:{animation:"GroupSettingsOverviewPage"}},{path:"resourceAttributes",component:dc,data:{animation:"GroupSettingsResourceAttributesPage"}},{path:"groupAttributes",component:mc,data:{animation:"MemberSettingsGroupAttributesPage"}},{path:"expiration",component:ja,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:Xa,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:_o.a,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:la},{path:"notifications",component:Jo,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:oc,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:Qc,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:Hi,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:wc.a,children:[{path:"",component:xc.a,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:Hc.a,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Fc.a,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:Uc.a,data:{animation:"ResourceAttributesPage"}},{path:"members",component:Zc.a,data:{animation:"ResourceAssignedMembersComponent"}},{path:"settings",component:zc.a,children:[{path:"",component:Jc.a,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:Bc.a,data:{animation:"ResourceSettingsManagersPage"}}]}]}],Ir=((hr=function t(){a(this,t)}).\u0275mod=v.Kb({type:hr}),hr.\u0275inj=v.Jb({factory:function(t){return new(t||hr)},imports:[[s.j.forChild(mr)],s.j]}),hr),vr=o("PCNd"),Ar=o("KoHB"),Sr=o("t47Z"),Tr=((gr=function t(){a(this,t)}).\u0275mod=v.Kb({type:gr}),gr.\u0275inj=v.Jb({factory:function(t){return new(t||gr)},imports:[[r.c,Ir,vr.a,Ar.a,pe.d,Sr.b]]}),gr)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/assets/config/defaultConfig.json b/dist/apps/admin-gui/assets/config/defaultConfig.json new file mode 100644 index 000000000..5cad223f4 --- /dev/null +++ b/dist/apps/admin-gui/assets/config/defaultConfig.json @@ -0,0 +1,117 @@ +{ + "config": "default", + "api_url": "http://localhost/krb/rpc", + "document_title": "Perun Web Gui", + "isDevel": 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, + "oidc_client" : { + "oauth_authority": "https://login.cesnet.cz/oidc/", + "oauth_callback": "http://gui-dev.org/api-callback", + "oauth_client_id": "411471d9-5e3d-48bd-9717-25f1fa634d20", + "oauth_post_logout_redirect_uri": "", + "oauth_redirect_uri": "http://gui-dev.org/api-callback", + "oauth_silent_redirect_uri": "http://gui-dev.org/silent-refresh.html", + "oauth_load_user_info": false, + "oauth_scopes": "openid profile perun_api perun_admin", + "oauth_response_type": "id_token token", + "filters": { + "muni": "urn:cesnet:proxyidp:idpentityid:https://idp2.ics.muni.cz/idp/shibboleth", + "soc_idp": "urn:cesnet:proxyidp:filter:eyJ2ZXIiOiIyIiwiYWxsb3dGZWVkcyI6eyJTb2NpYWxJZFBzIjp7fX19" + } + }, + "login_namespace_attributes": [ + "urn:perun:user:attribute-def:def:login-namespace:einfra", + "urn:perun:user:attribute-def:def:login-namespace:einfra-services", + "urn:perun:user:attribute-def:def:login-namespace:cesnet", + "urn:perun:user:attribute-def:def:login-namespace:mu" + ], + "sponsor_namespace_attributes": [], + "password_namespace_attributes": [ + "urn:perun:user:attribute-def:def:login-namespace:einfra", + "urn:perun:user:attribute-def:def:login-namespace:einfra-services", + "urn:perun:user:attribute-def:def:login-namespace:egi-ui", + "urn:perun:user:attribute-def:def:login-namespace:sitola" + ], + "allow_empty_sponsor_namespace": false, + "member_profile_attributes_friendly_names": [ + "organization", + "workplace", + "researchGroup", + "mail", + "phone", + "address", + "preferredLanguage", + "preferredMail" + ], + "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 '-'", + "footer_perun_web_web": "https://perun-aai.org/", + "footer_perun_team_web": "https://perun-aai.org/team", + "footer_privacy_policy_web": "https://perun-aai.org/", + "footer_users_documentation_web": "https://perun-aai.org/documentation/user-manual", + "footer_administrator_documentation": "https://perun-aai.org/documentation/technical-documentation", + "footer_github_releases": "https://github.com/CESNET/perun-web-apps/releases", + "footer_support_mail": "perun@cesnet.cz", + "footer_copyright": [ + { + "name": "CESNET", + "webpage": "https://www.cesnet.cz/" + }, + { + "name": "CERIT-SC", + "webpage": "https://www.cerit-sc.cz/" + } + ], + "log_out_enabled": true, + "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", + + "nav_bg_color": "#102027", + "nav_text_color": "#ffffff", + "nav_icon_color": "#ffffff", + "footer_bg_color": "#263238", + "footer_headers_text_color": "#ffffff", + "footer_links_text_color": "#e0e0e0", + "footer_copyright_text_color": "#9e9e9e", + "sidemenu_divider_color": "#263238", + "sidemenu_bg_color": "#263238", + "sidemenu_border_color": "#071e24", + "sidemenu_item_links_bg_color": "#1b2428", + "sidemenu_item_icon_color": "#ffffff", + "sidemenu_hover_color": "#566268", + "sidemenu_root_active_color": "#465258", + "sidemenu-link-hover": "#566268", + "sidemenu-link-active": "#465258", + "sidemenu_text_color":"#ffffff", + "sidemenu_vo_bg_color":"#283593", + "sidemenu_member_bg_color": "#ad1457", + "sidemenu_group_bg_color":"#33691e", + "sidemenu_facility_bg_color": "#d84315", + "sidemenu_resource_bg_color":"#6a1b9a", + "sidemenu_user_bg_color": "#00796b", + "sidemenu_service_bg_color": "#561335", + "sidemenu_item_links_text_color": "#ffffff", + "sidemenu_vo_text_color": "#ffffff", + "sidemenu_member_text_color":"#ffffff", + "sidemenu_group_text_color": "#ffffff", + "sidemenu_facility_text_color":"#ffffff", + "sidemenu_resource_text_color": "#ffffff", + "sidemenu_user_text_color":"#ffffff", + "sidemenu_service_text_color": "#ffffff", + "vo_color": "#283593", + "group_color": "#33691e", + "facility_color": "#d84315", + "resource_color": "#6a1b9a", + "user_color": "#00796b", + "member_color": "#ad1457", + "admin_color": "#c62828", + "service_color": "#561335" + } +} diff --git a/dist/apps/admin-gui/assets/config/instanceConfig.json b/dist/apps/admin-gui/assets/config/instanceConfig.json new file mode 100644 index 000000000..d1b49abfa --- /dev/null +++ b/dist/apps/admin-gui/assets/config/instanceConfig.json @@ -0,0 +1,3 @@ +{ + "api_url": "https://perun-dev.cesnet.cz/oauth/rpc" +} diff --git a/dist/apps/admin-gui/assets/config/version.json b/dist/apps/admin-gui/assets/config/version.json new file mode 100644 index 000000000..62ed50add --- /dev/null +++ b/dist/apps/admin-gui/assets/config/version.json @@ -0,0 +1 @@ +{"version":"0.24.0"} diff --git a/dist/apps/admin-gui/assets/i18n/en.json b/dist/apps/admin-gui/assets/i18n/en.json new file mode 100644 index 000000000..b20badc4a --- /dev/null +++ b/dist/apps/admin-gui/assets/i18n/en.json @@ -0,0 +1,2510 @@ +{ + "GENERAL": { + "PRINCIPAL_ERROR": { + "TITLE": "Server error", + "MESSAGE": "The server is not responding, because it is probably being restarted. Please, try it again later.", + "ACTION": "Refresh" + }, + "PAGE_NOT_FOUND": { + "TITLE": "404: Page not found" + }, + "PROXY_OVERLOAD_PREVENTION": { + "TITLE": "Page not found", + "MESSAGE": "The page you are trying to access is missing. If you wish to continue please click the button below that will redirect you to our home page.", + "ACTION": "Redirect" + } + }, + "NAV": { + "LOGOUT": "Log out", + "PROFILE": "Profile", + "NOTIFICATIONS_TOOLTIP": "Recent notifications", + "RELOAD_ROLES": "Reload roles", + "RELOAD_ROLES_SUCCESS": "Roles reloaded" + }, + "MAIN_MENU": { + "ACCESS": "Access management", + "FACILITIES": "Facilities management", + "ADMIN": "Perun admin", + "HOME": "Home", + "ACCESS_DESC": "Manage organizations, groups and members.", + "FACILITIES_DESC": "Manage facilities and resources.", + "ADMIN_DESC": "Manage attributes, users and do diagnostics.", + "PROFILE_DESC": "View information about you and your organizations and groups.", + "MY_PROFILE": "My profile" + }, + "VO_MANAGEMENT": { + "TITLE": "Select organization", + "CREATE_VO": "New", + "REMOVE_VO": "Remove", + "FILTER_PLACEHOLDER": "Filter by name", + "SETTINGS": { + "EXPIRATION": { + "TITLE": "Membership expiration", + "DISABLED": "Disabled", + "ENABLED": "Enabled", + "PERIOD_LABEL": "Period", + "PERIOD_TYPE_STATIC": "Static", + "PERIOD_TYPE_DYNAMIC": "Dynamic", + "PERIOD_INPUT_STATIC": "Date", + "DP_HINT": "Date in format DD.MM.", + "AMOUNT_VALUE": "Amount", + "AMOUNT_TYPE": "Unit", + "DONT_ALLOW_LOA_LABEL": "Don't allow LOAs", + "DONT_ALLOW_LOA_SELECT": "Choose LOAs", + "DONT_EXTEND_LOA_LABEL": "Don't extend LOAs", + "DONT_EXTEND_LOA_SELECT": "Choose LOAs", + "GRACE_PERIOD_LABEL": "Grace period", + "GRACE_AMOUNT_VALUE": "Amount", + "GRACE_AMOUNT_TYPE": "Unit", + "LOA_PERIOD_LABEL": "Special period for loa", + "SAVE": "Save", + "SPECIAL_LOA_SELECT": "Choose loa", + "EXTEND_EXPIRED_MEMBERS_CHECKBOX": "Extend already expired members", + "PERMISSION_DENIED_HINT": "You don't have permission to change expiration settings" + } + } + }, + "FACILITY_MANAGEMENT": { + "TITLE": "Select facility", + "FILTER_PLACEHOLDER": "Filter by name, id, description, owner, host or destination", + "CREATE": "Create", + "DELETE": "Delete" + }, + "USER_MANAGEMENT": { + "TITLE": "Users", + "INPUT_PLACEHOLDER": "Enter user's name, login or email...", + "NO_USERS_FOUND": "No users found." + }, + "FACILITY_DETAIL": { + "ENTITY": "Facility", + "DESCRIPTION": "Description", + "BACK": "Back", + "RESOURCES": { + "TITLE": "Resources", + "DELETE": "Remove selected", + "CREATE": "New", + "NO_RESOURCES_ALERT": "No resources found." + }, + "SERVICE_CONFIG": { + "UNSELECTED": "-- Unselect --", + "TITLE": "Service configuration", + "SERVICE_SELECT": "Service", + "SERVICE_SELECT_NO_SERVICE": "-- No services are assigned. --", + "FAC_SELECT": "Facility", + "RES_SELECT": "Resource", + "GROUP_SELECT": "Group", + "VO_SELECT": "Vo", + "MEMBER_SELECT": "Member", + "GROUP_SELECT_DEFAULT": " -- Select resource first -- ", + "VO_SELECT_DEFAULT": " -- Select resource first -- ", + "MEMBER_SELECT_DEFAULT": " -- Select member first -- ", + "ALL_SERVICES": "Select from all services", + "NOT_SELECTED": "Show all set attributes", + "ALL": "Show required attributes for all services" + }, + "ALLOWED_GROUPS": { + "SHOW_VOS_GROUPS": "Select organization", + "TABLE_GROUP_ID": "Id", + "TABLE_GROUP_NAME": "Name", + "ALL": "All", + "NO_GROUPS_ALERT": "No groups found.", + "FILTER": "Filter by name, id or description" + }, + "SERVICES_DESTINATIONS": { + "TITLE": "Services Destinations", + "ADD": "Add", + "REMOVE": "Remove", + "FILTER": "Filter", + "REMOVE_SUCCESS": "Destinations were successfully removed", + "ADD_SUCCESS": "Destinations were successfully added", + "ALLOW": "Allow", + "BLOCK": "Block", + "ALLOW_SUCCESS": "Service was successfully allowed on destination", + "BLOCK_SUCCESS": "Service was successfully blocked on destination" + }, + "SETTINGS": { + "ATTRIBUTES": { + "TITLE": "Attributes", + "DELETE": "Remove selected", + "FILTER": "Filter by id, name, value or description", + "SAVE": "Save selected", + "CREATE": "Add", + "CANCEL": "Cancel", + "SUCCESS_DELETE": "Attributes deleted successfully", + "SUCCESS_SAVE": "Attributes saved successfully" + }, + "BLACKLIST": { + "TITLE": "Blacklist", + "FILTER": "Filter" + }, + "OWNERS": { + "TITLE": "Owners", + "ADD": "Add", + "DELETE": "Delete", + "NO_OWNERS": "This facility does not have any owners" + } + }, + "HOSTS": { + "TITLE": "Hosts", + "ADD": "Add", + "REMOVE": "Remove", + "FILTER": "Filter", + "HOSTS_DETAIL": { + "TITLE": "Host detail - ", + "ADD": "Add", + "REMOVE": "Remove", + "SAVE": "Save" + } + }, + "SECURITY_TEAMS": { + "TITLE": "Security teams", + "ADD": "Add", + "REMOVE": "Remove", + "FILTER": "Filter" + }, + "SERVICES_STATUS": { + "TITLE": "Services status", + "FORCE_PROPAGATION": "Force propagation", + "ALLOW": "Allow", + "BLOCK": "Block", + "REMOVE": "Remove", + "REMOVE_TASK_RESULTS": "Task results", + "REMOVE_SERVICE_FROM_FACILITY": "Service from facility", + "SUCCESS_FORCE_PROPAGATION": "Service propagation forced", + "SUCCESS_ALLOW": "Services allowed", + "SUCCESS_BLOCK": "Services blocked", + "SUCCESS_DELETE": "Tasks deleted", + "ALREADY_DELETED": "Task was already deleted" + }, + "ALLOWED_USERS": { + "TITLE": "Allowed users", + "FILTER": "Filter allowed users", + "NO_USERS": "No users assigned." + }, + "TASK_RESULTS": { + "TITLE": "Task results", + "REMOVE": "Remove", + "FILTER": "Filter by id, destination, service or status" + } + }, + "RESOURCE_DETAIL": { + "ENTITY": "Resource", + "DESCRIPTION": "Description", + "VO": "Organization", + "FACILITY": "Facility", + "ASSIGNED_GROUPS": { + "TITLE": "Assigned groups", + "ADD_GROUP": "Add..", + "REMOVE_GROUP": "Remove groups", + "FILTER_GROUPS": "Filter groups", + "NO_GROUPS": "No groups.", + "REMOVE_TOOLTIP": "You are not authorized to remove one or more of the selected groups." + }, + "ASSIGNED_SERVICES": { + "TITLE": "Assigned services", + "ADD_SERVICE": "Add", + "REMOVE_SERVICE": "Remove services", + "FILTER_SERVICES": "Filter services", + "NO_SERVICES": "No services." + }, + "ASSIGNED_MEMBERS": { + "TITLE": "Assigned members", + "FILTER": "Filter members" + }, + "SETTINGS": { + "ATTRIBUTES": { + "TITLE": "Attributes", + "DELETE": "Remove selected", + "FILTER": "Filter by id, name, value or description", + "SAVE": "Save selected", + "CREATE": "Add", + "CANCEL": "Cancel", + "SUCCESS_DELETE": "Attributes deleted successfully", + "SUCCESS_SAVE": "Attributes saved successfully" + } + } + }, + "VO_DETAIL": { + "ENTITY": "Organization", + "SHORT_NAME": "Short name", + "BACK": "Back", + "RESOURCES": { + "LIST": { + "TITLE": "Resources", + "DELETE": "Remove selected", + "NO_RESOURCES_ALERT": "No resources found." + }, + "STATES": { + "TITLE": "Resources state", + "ERROR_RESOURCES": "Resources with tasks in error state", + "FROM": "from", + "TASKS_WITH_ERROR_STATE": "tasks with error state", + "OK_RESOURCES": "Resources with tasks in Ok state", + "NO_TASKS": "No service configuration was propagated to this resource.", + "NOT_YET": "Not yet", + "NO_RESOURCES_IN_ERROR": "No resources with task in error state", + "NO_RESOURCES_IN_OK": "No resources with task in success state", + "TABLE_ID": "Task Id", + "TABLE_SERVICE": "Service", + "TABLE_STATUS": "Status", + "TABLE_SCHEDULED": "Scheduled", + "TABLE_STARTED": "Started", + "TABLE_ENDED": "Ended" + }, + "TAGS": { + "TITLE": "Resource tags", + "TAG_ID": "Tag ID", + "TAG_NAME": "Tag name", + "CREATE_BUTTON": "Create", + "DELETE_BUTTON": "Delete", + "EDIT_BUTTON": "Edit", + "SAVE_BUTTON": "Save", + "SEARCH": "Filter by ID or name", + "DELETE_SUCCESS": "Resource tags were successfully deleted.", + "CREATE_SUCCESS": "Resource tag was successfully created.", + "NO_TAGS": "VO has no resource tags defined." + } + }, + "GROUPS": { + "TITLE": "Groups", + "CREATE_GROUP": "Create", + "DELETE_GROUP": "Delete", + "TITLE_SUBGROUPS": "Subgroups", + "LIST_VIEW": "List view", + "TREE_VIEW": "Tree view", + "FILTER": "Filter", + "NO_GROUPS": "No groups found", + "GROUP_SYNCED": "Synchronized", + "GROUP_NOT_SYNCED": "Not synchronized", + "GROUP_SYNC_FAILED": "Last synchronization failed", + "GROUP_NOT_YET_SYNCED": "Not yet synced", + "GROUP_STRUCTURE_SYNCED": "Group structure synchronized", + "DELETE_PERMISSION_HINT": "You don't have permission to delete some of the selected groups." + }, + "MEMBERS": { + "TITLE": "Members", + "ADD_MEMBER": "Add", + "ADD_MEMBER_DISABLED": "You cannot add members manually into this Vo.", + "REMOVE_MEMBERS": "Remove", + "SEARCH_DESCRIPTION": "Search by name, login or email", + "FILTER_STATUS": "Filter by Status", + "INVITE": "Invite" + }, + "OVERVIEW": { + "INVITE_MEMBER": "Invite member", + "CREATE_SERVICE_MEMBER": "Create service member", + "ADD_MANAGER": "Add manager", + "CREATE_GROUP": "Create group", + "ADD_MEMBER": "Add member" + }, + "SETTINGS": { + "EXPIRATION": { + "SUCCESS_MESSAGE": "Settings saved.", + "ERROR_MESSAGE": "Failed to save settings." + }, + "APPLICATION_FORM": { + "TITLE": "Application form", + "DRAG_AND_DROP_INFO": "You can move the table items by dragging them with the handle on the left side.", + "ADD_BUTTON": "Add", + "COPY_VO_BUTTON": "Copy from VO/Group", + "PREVIEW_BUTTON": "Preview", + "SETTINGS_BUTTON": "Change Settings", + "NO_APPLICATION_FORM": "Application form have no items.", + "SHORTNAME": "Short name", + "TYPE": "Type", + "DISABLED_HEADER": "Disabled", + "HIDDEN_HEADER": "Hidden", + "PREVIEW": "Preview", + "EDIT": "Edit", + "MANAGE_GROUPS": "Manage groups", + "DELETE": "Delete", + "MODULE_NAME": "Module name", + "APPLICATION_TYPE": "Approval style", + "MANUAL": "Manual", + "AUTOMATIC": "Automatic", + "CHANGE_SETTINGS_SUCCESS": "Settings were successfully changed", + "CHANGE_APPLICATION_FORM_ITEMS_SUCCESS": "Application form items were successfully changed", + "NOT_SELECTED": "Not selected", + "CLEAR_SELECTION": "Clear Selection", + "HIDDEN_VALUE": "Hidden", + "OTHER_VALUE": "-- other value --", + "SAVE_BUTTON": "Save Application Form", + "MARK_DELETE": "Marked for deletion", + "REVERT_DELETE": "Restore", + "CLEAR": "Clear form", + "CLEAR_TOOLTIP": "Removes all form items", + "TYPES": { + "HEADER": "Header", + "SUBMIT_BUTTON": "Submit button", + "HTML_COMMENT": "Custom HTML text", + "TEXTFIELD": "Input text field", + "FROM_FEDERATION_SHOW": "Input text field pre-filled from external source", + "FROM_FEDERATION_HIDDEN": "Hidden input text pre-filled from external source", + "VALIDATED_EMAIL": "Input text field for email", + "SELECTIONBOX": "Single value selection from list", + "USERNAME": "Input text field for username", + "PASSWORD": "Input text field for password", + "TEXTAREA": "Input text multi-line field", + "COMBOBOX": "Single value selection with opt. custom value", + "CHECKBOX": "Checkbox (multiple selection)", + "RADIO": "Radio (single selection)", + "TIMEZONE": "Selection of timezone", + "AUTO_SUBMIT_BUTTON": "Submit button with auto-submit", + "EMBEDDED_GROUP_APPLICATION": "Groups for embedded applications" + }, + "HIDDEN": { + "ALWAYS": "Always", + "NEVER": "Never", + "IF_PREFILLED": "If prefilled (self or other item, if dependency specified)", + "IF_EMPTY": "If empty (self or other item, if dependency specified)" + }, + "DISABLED": { + "ALWAYS": "Always", + "NEVER": "Never", + "IF_PREFILLED": "If prefilled (self or other item)", + "IF_EMPTY": "If empty (self or other item)" + }, + "WIDGET_DESCRIPTION": { + "HEADER": "Item is used to display customizable heading of form. Can have any HTML content.", + "SUBMIT_BUTTON": "Button used to submit the form with custom label. All other form items are checked on valid input before submission. If it fails, form is not sent.", + "HTML_COMMENT": "Item is used to display custom HTML content anywhere on form. Useful for explanation descriptions, dividing parts of form etc.", + "TEXTFIELD": "Editable text field useful to gather short text input, e.g. name, phone.", + "FROM_FEDERATION_SHOW": "Non-editable and visible form item. Form is submitted even on invalid input ! Useful to automatically gather information provided by AUTH mechanism (IdP federation, certificate).", + "FROM_FEDERATION_HIDDEN": "Non-editable and hidden form item. Form is submitted even on invalid input ! Useful to automatically gather information provided by AUTH mechanism (IdP federation, certificate).", + "VALIDATED_EMAIL": "Special text field to gather and verify user`s email address. Input is checked on email address format. If user enters new value, then validation email is sent. Application then can't be approved unless provided email address is validated.", + "SELECTIONBOX": "Simple selection box with defined custom values that user can choose.", + "USERNAME": "Special text field to gather user`s login. It checks login availability on user input.", + "PASSWORD": "Two password fields to gather user`s new password. Input is never displayed. User must type same password in both fields.", + "TEXTAREA": "Editable text area useful to gather longer text input with linebreaks, e.g. comments, SSH key", + "COMBOBOX": "Selection box with defined custom values and one special option: \"--custom value--\", which allows users to input own text (as simple text field).", + "CHECKBOX": "List of defined custom options with checkboxes. Selected values are gathered as comma separated string.", + "RADIO": "List of defined custom options with radio buttons. Single selection model. Value is stored as string.", + "TIMEZONE": "Selection box with pre-defined values of UTC timezones.", + "AUTO_SUBMIT_BUTTON": "Button used to auto-submit the form with custom label. All other form items are checked on valid input before submission. If validation fail (at least once) user must submit form manually. If it's OK, then form is automatically submitted.", + "EMBEDDED_GROUP_APPLICATION": "Checkbox of real organization groups which the user can check and thus submit an application to these groups" + }, + "DISABLED_HIDDEN_ICON": { + "IF_EMPTY": "If empty", + "IF_PREFILLED": "If prefilled", + "ALWAYS_DISABLED_HINT": "This item is always disabled", + "ALWAYS_HIDDEN_HINT": "This item is always hidden", + "DISABLED_IF_HINT": "This item is disabled if", + "HIDDEN_IF_HINT": "This item is hidden if", + "IS_EMPTY_HINT": "is empty", + "IS_PREFILLED_HINT": "is prefilled" + }, + "PREVIEW_PAGE": { + "TITLE": "Application form preview", + "SWITCH_ENGLISH": "Switch to English", + "SWITCH_CZECH": "Switch to Czech", + "SWITCH_EXTENSION": "Switch to Extension", + "SWITCH_INITIAL": "Switch to Initial", + "DISABLED_HIDDEN_ICON": { + "ALWAYS_DISABLED": "Always disabled", + "ALWAYS_HIDDEN": "Always hidden", + "DISABLED_WHEN": "Disabled when", + "HIDDEN_WHEN": "Hidden when", + "IS_EMPTY": "is empty", + "IS_PREFILLED": "is prefilled" + } + }, + "MANAGE_GROUPS_PAGE": { + "TITLE": "Manage groups for registration", + "ADD": "Add", + "REMOVE": "Remove", + "HELP": "On this page, you can set up a set of groups that will be displayed to users on an application to the organization. The user can select any set of these groups and for these selected groups, there will be applications submitted automatically.", + "FILTER": "Filter", + "REMOVE_GROUP_DIALOG_TITLE": "Confirm removing groups", + "REMOVE_GROUP_DIALOG_DESCRIPTION": "Following groups will be removed from the group list that is offered to users for registration.", + "REMOVE_PERMISSION_HINT": "You don't have permission to remove some of the selected groups." + } + }, + "ATTRIBUTES": { + "TITLE": "Attributes", + "DELETE": "Remove selected", + "FILTER": "Filter by id, name, value or description", + "SAVE": "Save selected", + "CREATE": "Add", + "CANCEL": "Cancel", + "SUCCESS_DELETE": "Attributes deleted successfully", + "SUCCESS_SAVE": "Attributes saved successfully" + }, + "NOTIFICATIONS": { + "TITLE": "Email notifications", + "ADD": "Add", + "REMOVE": "Remove", + "EMAIL_FOOTER": "E-mail footer", + "COPY_FROM_VO": "Copy from Vo", + "TABLE_EMAIL_ID": "E-Mail ID", + "TABLE_EMAIL_TYPE": "E-Mail type", + "TABLE_APPLICATION_TYPE": "Application type", + "TABLE_SENDING_ENABLED": "Sending enabled", + "TABLE_APPLICATION_TYPE_INITIAL": "Initial", + "TABLE_APPLICATION_TYPE_EXTENSION": "Extension", + "MAIL_TYPE_APP_CREATED_USER": "Created / user", + "MAIL_TYPE_APP_CREATED_VO_ADMIN": "Created / manager", + "MAIL_TYPE_MAIL_VALIDATION": "Mail validation / user", + "MAIL_TYPE_APP_APPROVED_USER": "Approved / user", + "MAIL_TYPE_APP_REJECTED_USER": "Rejected / user", + "MAIL_TYPE_APP_ERROR_VO_ADMIN": "Error / manager", + "MAIL_TYPE_USER_INVITE": "Invitation / user", + "DELETE_SUCCESS": "Email notification deleted.", + "NO_EMAILS": "No mail notifications found for this VO.", + "EDIT_SUCCESS": "Email notification was successfully edited", + "ADD_SUCCESS": "Email notification was successfully added", + "DISABLED_HINT": "You don't have permission to change sending settings." + }, + "EXT_SOURCES": { + "TITLE": "External sources", + "ADD": "Add", + "REMOVE": "Remove", + "FILTER": "Filter by ID, name or type", + "SUCCESS_REMOVED": "External source successfully removed: " + }, + "SPONSORED_MEMBERS": { + "TITLE": "Sponsored members", + "CREATE": "Create", + "CREATE_ONE": "Create sponsored member", + "GENERATE": "Generate sponsored members", + "FILTER": "Filter by name or ID", + "SPONSOR_EXISTING": "Sponsor existing member", + "NO_SPONSORS": "This organization has no members with the role SPONSOR" + } + }, + "APPLICATION": { + "TITLE": "Application", + "FILTER": "Filter", + "SELECTION_ALL": "All", + "SELECTION_WFMV": "Waiting for mail verification", + "SELECTION_SUBMITTED": "Submitted", + "SELECTION_PENDING": "Pending", + "SELECTION_APPROVED": "Approved", + "SELECTION_REJECTED": "Rejected", + "SHOW_GROUP_APPLICATIONS": "Show group applications", + "TABLE_ID": "App ID", + "TABLE_CREATED_DATE": "Created Date", + "TABLE_TYPE": "Type", + "TABLE_STATE": "State", + "TABLE_GROUPS_SELECTION": "Groups applications", + "TABLE_SUBMITTED_BY": "Submitted by", + "TABLE_LOA": "LoA", + "TABLE_GROUP_NAME": "Group name", + "TABLE_MODIFIED_BY": "Modified by", + "TABLE_VO_ID": "Vo ID", + "TABLE_GROUP_ID": "Group ID", + "TABLE_FEDINFO": "FedInfo", + "TABLE_EXTSOURCENAME": "extSourceName", + "TABLE_EXTSOURCETYPE": "extSourceType", + "TABLE_MODIFIED_AT": "Modified at", + "TABLE_USER": "User", + "TABLE_CREATED_BY": "Created by", + "TABLE_VO_NAME": "Vo name", + "NO_APPLICATION_FOUND": "No applications matching search criteria found for this VO or it's groups.", + "SHOW_ALL_DETAILS": "Show more details", + "SHOW_LESS_DETAILS": "Show less details", + "STATE": { + "APPROVED": "Approved", + "REJECTED": "Rejected", + "NEW": "Waiting for mail verification", + "VERIFIED": "Submitted" + }, + "DATE" : { + "START": "Start date", + "END": "End date" + }, + "APPLICATION_DETAIL": { + "TITLE": "Application detail", + "APPROVE": "Approve", + "REJECT": "Reject", + "SEND_NOTIFICATION": "Re-send notifications", + "DELETE": "Delete", + "TYPE": "Type", + "STATE": "State", + "SUBMITTED_BY": "Submitted by", + "EXT_SRC": "From External Source", + "LOA": "Level of Assurance", + "MAIL": "Preferred mail", + "APPLICATION_FOR_VO": "Application for Organization", + "APPLICATION_FOR_GROUP": "Application for Group", + "APPLICATION_IN_VO": "in Organization", + "APPROVED_BY": "Approved by", + "REJECTED_BY": "Rejected by", + "DATE": "Date", + "VALUE_BY_EXTERNALS": "Value provided by external source.", + "VERIFY": "Verify", + "DELETE_MESSAGE": "Application was deleted", + "APPROVE_MESSAGE": "Application was approved", + "VERIFY_MESSAGE": "Application was verified" + } + }, + "STATISTICS": { + "TITLE": "Statistics", + "MEMBERS_COUNT": "Members by status" + } + }, + "GROUP_DETAIL": { + "ENTITY": "Group", + "VO_NAME": "Organization", + "DESCRIPTION": "Description", + "SYNCHRONIZATION": "Synchronization", + "SUBGROUPS": { + "TITLE": "Subgroups", + "CREATE_GROUP": "Create subgroup", + "DELETE_GROUP": "Delete subgroup", + "NO_SUBGROUPS": "This group has no subgroups.", + "FILTER": "Filter", + "LIST_VIEW": "List view", + "TREE_VIEW": "Tree view", + "DELETE_PERMISSION_HINT": "You don't have permission to delete some of the selected subgroups." + }, + "SUBGROUP_INFO": "This group is a subgroup of ", + "STATS_BY_GROUP_STATUS": "Members by group status", + "STATS_BY_VO_STATUS": "Members by VO status", + "MEMBERS": { + "TITLE": "Members", + "ACTIONS_DISABLED": "Actions with members are disabled, because this group is filled with members from external source.", + "ADD_MEMBER": "Add", + "ADD_MEMBER_DISABLED": "You cannot add members manually into this group.", + "REMOVE_MEMBERS": "Remove", + "SEARCH_DESCRIPTION": "Search by name, login or email", + "LIST_ALL": "List all members", + "INVITE_MEMBER": "Invite", + "SYNCHRONIZED": "Action is disabled on this group, group is filled with members from external source.", + "FILTER_STATUS": "Filter by organizations status", + "FILTER_GROUP_STATUS": "Filter by group status" + }, + "RESOURCES": { + "TITLE": "Resources", + "DELETE": "Remove selected", + "ADD": "Add", + "DELETE_PERMISSION_HINT": "You don't have permission to remove some of the selected resources.", + "NO_RESOURCES_WARNING": "Group has no resources assigned." + }, + "SETTINGS": { + "ATTRIBUTES": { + "TITLE": "Attributes", + "DELETE": "Remove selected", + "FILTER": "Filter by id, name, value or description", + "SAVE": "Save selected", + "CREATE": "Add", + "CANCEL": "Cancel", + "SUCCESS_DELETE": "Attributes deleted successfully", + "SUCCESS_SAVE": "Attributes saved successfully" + }, + "RESOURCE_ATTRIBUTES": { + "TITLE": "Resource attributes" + }, + "EXPIRATION": { + "SUCCESS_MESSAGE": "Settings saved.", + "ERROR_MESSAGE": "Failed to save settings." + }, + "MANAGERS": { + "TITLE": "Managers", + "ADD": "Add", + "REMOVE": "Remove", + "SELECT_MODE": "Select mode", + "SELECT_ROLE": "Select role", + "USER": "User", + "GROUP": "Group", + "NO_MANAGERS": "This role has no managers.", + "NO_GROUP_MANAGERS": "This role has no group managers." + }, + "APPLICATION_FORM": { + "TITLE": "Application form", + "MODULE_NAME": "Module name", + "APPLICATION_TYPE": "Approval style", + "AUTOMATIC": "Automatic", + "MANUAL": "Manual", + "SETTINGS_BUTTON": "Change Settings", + "ADD_BUTTON": "Add", + "COPY_GROUP_BUTTON": "Copy from VO/Group", + "PREVIEW_BUTTON": "Preview", + "DRAG_AND_DROP_INFO": "You can move with table items by dragging and dropping", + "NO_APPLICATION_FORM": "Application form doesn't exists", + "CREATE_APPLICATION_FORM": "Create empty form", + "CLEAR": "Clear form", + "CLEAR_TOOLTIP": "Removes all form items", + "CHANGE_SETTINGS_SUCCESS": "Application form settings successfully changed.", + "ALLOW_EMBEDDED": "Allowed for embedded applications" + }, + "NOTIFICATIONS": { + "TITLE": "Email notifications", + "ADD": "Add", + "REMOVE": "Remove", + "EMAIL_FOOTER": "E-mail footer", + "COPY_FROM_VO": "Copy from Vo/Group", + "NO_EMAILS": "No mail notifications found for this group.", + "ADD_SUCCESS": "Email notification was successfully added", + "DELETE_SUCCESS": "Email notification deleted.", + "NO_APPLICATION_FORM": "Application form doesn't exist", + "CREATE_APPLICATION_FORM": "Create application form" + }, + "RELATIONS": { + "TITLE": "Relations", + "DELETE": "Remove selected", + "CREATE": "Add", + "FILTER": "Filter by name, id or description", + "REVERSE_UNIONS": "Show reverse unions", + "DELETE_TOOLTIP": "You don't have permission to remove some of the selected relations." + }, + "EXT_SOURCES": { + "TITLE": "External sources", + "ADD": "Add", + "REMOVE": "Remove", + "FILTER": "Filter by ID, name or type", + "SUCCESS_REMOVED": "External source successfully removed: " + } + }, + "STATISTICS":{ + "TITLE": "Statistics", + "VO_STATUS_COUNT": "Members by organization status", + "GROUP_STATUS_COUNT": "Members by group status" + } + }, + "MEMBER_DETAIL": { + "ENTITY": "Member", + "USER_ID": "User ID", + "USER_LINK": "See user detail", + "OVERVIEW": { + "NEVER_EXPIRES": "never", + "MEMBERSHIP": "Membership", + "STATUS": "Status:", + "EXPIRATION": "Expiration:", + "PERSONAL": "Personal information", + "SPONSORSHIP": "Sponsorship", + "SPONSORED_BY": "This member is sponsored", + "SPONSORS": "Sponsors", + "RESET_PASSWORD": "Reset password", + "RESET_DISABLED": "Unsupported functionality for user's namespaces", + "SEND_REQUEST": "Send request", + "SPONSOR_NAME": "Sponsor name", + "EXPIRATION_TABLE": "Expiration" + }, + "GROUPS": { + "TITLE": "Member groups", + "ADD": "Add", + "REMOVE": "Remove", + "REMOVE_PERMISSION_HINT": "You don't have permission to remove some of the selected groups." + }, + "APPLICATIONS": { + "TITLE": "Application", + "SHOW_ALL_DETAILS": "Show more details", + "SHOW_LESS_DETAILS": "Show less details", + "FILTER": "Filter" + }, + "RESOURCES": { + "TITLE": "Resources", + "FILTER": "Filter", + "ADD": "Add" + }, + "SETTINGS": { + "ATTRIBUTES": { + "TITLE": "Attributes", + "DELETE": "Remove selected", + "FILTER": "Filter by id, name, value or description", + "SAVE": "Save selected", + "CREATE": "Add", + "CANCEL": "Cancel", + "SUCCESS_DELETE": "Attributes deleted successfully", + "SUCCESS_SAVE": "Attributes saved successfully" + }, + "RESOURCE_PAGE": { + "TITLE": "Resource Attributes", + "DELETE": "Remove", + "FILTER": "Filter resources by name", + "SAVE": "Save", + "CREATE": "Add", + "NO_FILTERED_ENTITY_MESSAGE": "No resources that match the filter found", + "NO_ENTITY_MESSAGE": "No assigned resources" + }, + "USER_PAGE": { + "TITLE": "Facility Attributes", + "FILTER": "Filter facilities by name", + "NO_ENTITY_MESSAGE": "You have no assigned facilities", + "NO_FILTERED_ENTITY_MESSAGE": "No facilities that match the filter found" + }, + "GROUP_PAGE": { + "TITLE": "Group attributes", + "FILTER": "Filter groups by name", + "NO_ENTITY_MESSAGE": "No assigned groups", + "NO_FILTERED_ENTITY_MESSAGE": "No groups that match the filter found" + } + } + }, + "SERVICE_DETAIL": { + "ENTITY": "Service", + "DESCRIPTION": "Description", + "REQUIRED_ATTRIBUTES": { + "TITLE": "Required attributes", + "ADD": "Add", + "REMOVE": "Remove", + "FILTER": "Filter" + }, + "DESTINATIONS": { + "TITLE": "Service destinations", + "FILTER": "Filter by id, facility or destination", + "ALLOW": "Allow", + "BLOCK": "Block", + "REMOVE": "Remove", + "ALLOW_SUCCESS": "Service was successfully allowed on destination", + "BLOCK_SUCCESS": "Service was successfully blocked on destination" + } + }, + "MENU_ITEMS": { + "VO": { + "OVERVIEW": "Overview", + "MEMBERS": "Members", + "GROUPS": "Groups", + "APPLICATIONS": "Applications", + "RESOURCES": "Resources", + "RESOURCE_PREVIEW": "Resource list", + "RESOURCE_STATES": "Resource states", + "RESOURCE_TAGS": "Resource tags", + "SETTINGS": "Advanced settings", + "ATTRIBUTES": "Attributes", + "EXPIRATION": "Membership", + "MANAGERS": "Managers", + "APPLICATION_FORM": "Application form", + "NOTIFICATIONS": "Notifications", + "EXTSOURCES": "External sources", + "SPONSORS": "Sponsors", + "SPONSORED_MEMBERS": "Sponsored members", + "STATISTICS": "Statistics" + }, + "FACILITY": { + "OVERVIEW": "Overview", + "RESOURCES": "Resources", + "ALLOWED_GROUPS": "Allowed groups", + "SETTINGS": "Advanced settings", + "ATTRIBUTES": "Attributes", + "SERVICE_CONFIG": "Services configuration", + "OWNERS": "Owners", + "MANAGERS": "Managers", + "SERVICES_DESTINATIONS": "Services destinations", + "HOSTS": "Hosts", + "BLACKLIST": "Blacklist", + "SECURITY_TEAMS": "Security teams", + "SERVICES_STATUS": "Services status", + "ALLOWED_USERS": "Allowed users" + }, + "RESOURCE": { + "OVERVIEW": "Overview", + "ASSIGNED_GROUPS": "Assigned groups", + "SETTINGS": "Advanced settings", + "ATTRIBUTES": "Attributes", + "MANAGERS": "Managers", + "ASSIGNED_SERVICES": "Assigned services", + "ASSIGNED_MEMBERS": "Assigned members" + }, + "GROUP": { + "OVERVIEW": "Overview", + "MEMBERS": "Members", + "SUBGROUPS": "Subgroups", + "RESOURCES": "Resources", + "APPLICATIONS": "Applications", + "SETTINGS": "Advanced settings", + "ATTRIBUTES": "Attributes", + "RESOURCE_ATTRIBUTES": "Resource attributes", + "MANAGERS": "Managers", + "EXPIRATION": "Membership", + "APPLICATION_FORM": "Application form", + "NOTIFICATIONS": "Notifications", + "RELATIONS": "Relations", + "EXTSOURCES": "External sources", + "STATISTICS": "Statistics" + }, + "MEMBER": { + "OVERVIEW": "Overview", + "GROUPS": "Groups", + "SETTINGS": "Advanced settings", + "ATTRIBUTES": "Attributes", + "RESOURCE_ATTRIBUTES": "Resource attributes", + "GROUP_ATTRIBUTES": "Group attributes", + "APPLICATIONS": "Applications", + "RESOURCES": "Resources" + }, + "ADMIN": { + "TITLE": "Perun admin", + "OVERVIEW": "Overview", + "ATTRIBUTES": "Attributes", + "VISUALIZER": "Visualizer", + "USERS": "Users", + "EXT_SOURCES": "External sources", + "GROUPS": "Groups", + "SETTINGS": "Advanced settings", + "ORGANIZATIONS": "Organizations", + "SERVICES": "Services", + "OWNERS": "Owners" + }, + "VISUALIZER": { + "ATTR_DEPENDENCIES": "Modules dependencies", + "USER_DESTINATION": "User-destination relationship" + }, + "USER": { + "OVERVIEW": "Overview", + "GROUPS": "Groups", + "SETTINGS": "Advanced Settings", + "ORGANIZATIONS": "Organizations", + "DETAIL": "Detail", + "ATTRIBUTES": "Attributes", + "FACILITY_ATTRIBUTES": "Facility attributes", + "TITLE": "User - ", + "ROLES": "Roles", + "GUI_CONFIG": "Gui configuration", + "SERVICE_IDENTITIES": "Service Identities", + "IDENTITIES": "Identities", + "PASSWORD_RESET": "Password reset", + "FACILITIES": "Facilities", + "RESOURCES": "Resources", + "ASSOCIATED_USERS": "Associated users", + "ENTITY": "User", + "USER_TYPE": "User type" + }, + "SERVICE": { + "OVERVIEW": "Overview", + "REQUIRED_ATTRIBUTES": "Required attributes", + "DESTINATIONS": "Destinations" + } + }, + "DIALOGS": { + "GROUP_SYNC_DETAIL": { + "TITLE": "Group synchronization detail", + "FORCE": "Force synchronization", + "FORCE_STRUCTURE": "Force subgroups synchronizations", + "FORCE_SUCCESS": "Synchronization forced", + "STRUCT_FORCE_SUCCESS": "Synchronizations for subgroups forced.", + "CANCEL": "Close", + "NORMAL_SYNC": "Basic synchronization", + "STRUCT_SYNC": "Structured synchronization", + "GROUP_NAME": "Group name: ", + "SYNCHRONIZATION": "Synchronization: ", + "LAST_SYNC_STATE": "Last synchronization state: ", + "LAST_SYNC_TIME": "Last synchronization time: " + }, + "IMPORT_ATTRIBUTE": { + "INFO": "To import an attribute, you have to paste the content, which you copied on the attribute definitions detail dialog.", + "HINT": "Paste the copied content here", + "TITLE": "Import attribute definition", + "CREATE": "Create attribute", + "CANCEL": "Cancel" + }, + "MOVE_GROUP": { + "TITLE": "Move group - ", + "INFO": "Selected group will be moved (including all its sub-groups).", + "GROUP_SELECT": "Select a new parent group", + "CANCEL": "Cancel", + "CONFIRM": "Move", + "NO_GROUP": "Move to the root", + "TO_GROUP": "Move under a group", + "ERROR": "Failed to move group", + "SUCCESS": "Group successfully moved", + "DISABLED_HINT": "You must select an existing group.", + "CANNOT_MOVE": "You don't have permission to move this group." + }, + "CREATE_GROUP": { + "TITLE": "Create group", + "TITLE_SUB_GROUP": "Create subgroup for ", + "NAME": "Name", + "DESCRIPTION": "Description", + "CANCEL": "Cancel", + "CREATE": "Create", + "SUCCESS": "New group successfully created", + "SUCCESS_SUBGROUP": "New subgroup successfully created", + "FILL_VALUE": "Please fill this value.", + "AS_SUBGROUP": "As sub-group", + "PARENT_GROUP": "Parent group", + "INVALID_PARENT_GROUP": "Selecting parent group is required", + "INVALID_DESCRIPTION": "Description must contain at least 1 and less than 128 characters" + }, + "CREATE_VO": { + "TITLE": "Create organization", + "FULL_NAME": "Full name:", + "SHORT_NAME": "Short name:", + "CANCEL": "Cancel", + "CREATE": "Create", + "SUCCESS": "New organization was successfully created", + "TOOLTIP": "Short name and full name have to be filled and valid", + "FILL_FULL_NAME": "Length of full name has to be between 1 to 128 characters", + "FILL_SHORT_NAME": "Length of short name has to be between 1 to 32 characters, allowed characters are a-z, A-Z, 0-9, ., _, -" + }, + "REMOVE_VO": { + "SUCCESS": "Organization was successfully removed", + "GROUP_RELATION": "Groups (including subgroups)", + "MEMBER_RELATION": "Members", + "RESOURCE_RELATION": "Resources" + }, + "INVITE_MEMBER": { + "TITLE": "Invite member", + "DESCRIPTION_VO": "The person you are inviting will receive an email with a link to VOs application form. You can set up an email template in: (Vo) Settings -> Notifications.", + "DESCRIPTION_GROUP": "The person you are inviting will receive an email with a link to Groups application form. You can set up an email template in: (Group) Settings -> Notifications.", + "INVITE": "Invite", + "CANCEL": "Cancel", + "NAME": "Name", + "EMAIL": "Email", + "LANGUAGE": "Language", + "LANGUAGE_ENGLISH": "English", + "LANGUAGE_CZECH": "Czech", + "EMAIL_ERROR": "Fill in an correct email!", + "SUCCESS": "Invite was send to given email", + "NAME_ERROR": "Name cannot be empty" + }, + "DELETE_ATTRIBUTES": { + "TITLE": "Confirm delete action", + "DESCRIPTION": "Following attributes will be removed.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Delete", + "SUCCESS": "Selected attributes were removed" + }, + "DELETE_GROUP": { + "SUBGROUP_RELATION": "Subgroups", + "MEMBER_RELATION": "Group members", + "SUCCESS": "Selected groups were deleted" + }, + "REMOVE_MEMBERS": { + "TITLE": "Confirm removal", + "DESCRIPTION": "Following members will be removed from VO and their settings will be lost.\n\nYou can consider changing their status to \"DISABLED\", which will prevent them from accessing VO resources.", + "DESCRIPTION_GROUP": "Following members will be removed from group. They will lose access to resources provided by this group.", + "ASK": "Do you want to proceed?", + "SUCCESS": "Selected members were deleted", + "SUCCESS_GROUP": "Selected members were removed", + "REMOVE": "Delete", + "REMOVE_GROUP": "Remove", + "CANCEL": "Cancel" + }, + "REMOVE_RESOURCES": { + "TITLE": "Confirm removal", + "DESCRIPTION": "Following resources will be removed.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Delete", + "SUCCESS": "Selected resources were deleted" + }, + "REMOVE_MANAGERS": { + "TITLE": "Confirm removal", + "DESCRIPTION": "Following managers will be removed.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Remove", + "SUCCESS": "Selected managers were removed" + }, + "ADD_MANAGERS": { + "TITLE": "Add manager", + "DESCRIPTION": "Search user by name, login or email", + "SEARCH": "Search", + "CANCEL": "Cancel", + "CREATE": "Add", + "SUCCESS": "Selected managers were added", + "COUNT": "Count", + "NO_USERS_FOUND": "No users found", + "EMPTY_SEARCH_MESSAGE": "Search field cannot be empty" + }, + "ADD_MEMBERS": { + "TITLE": "Add member", + "DESCRIPTION": "Search user by name, login or email", + "SEARCH": "Search", + "CANCEL": "Cancel", + "CREATE": "Add", + "INVITE": "Invite", + "SUCCESS": "Selected members were added", + "SUCCESS_INVITE": "Invite was send to given user", + "VALIDATION_SUCCESS": "Member validation was successful", + "NO_USERS_FOUND": "No users found", + "ADD_MEMBER_PERMISSION_TOOLTIP": "You don't have permission to add member", + "EMPTY_SEARCH_MESSAGE": "Search field cannot be empty" + }, + "ADD_GROUPS": { + "TITLE": "Add group", + "SEARCH": "Search", + "CANCEL": "Cancel", + "CREATE": "Add", + "SUCCESS": "Selected groups were added", + "COUNT": "Count", + "NO_GROUPS_FOUND": "No groups found", + "SELECT_VO": "Select organization", + "FILTER_GROUPS": "Filter groups by id, name or description" + }, + "REMOVE_GROUPS": { + "TITLE": "Confirm removal", + "DESCRIPTION": "Following groups will be removed.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Remove", + "SUCCESS": "Selected groups were removed" + }, + "RE_SEND_NOTIFICATION": { + "TITLE": "Re-send notification", + "SEND": "Send", + "CANCEL": "Cancel", + "SELECT": "Select notification", + "REASON": "Reason", + "SUCCESS": "Notification was sent", + "NOTIFICATION_TYPE": { + "APP_CREATED_USER": "Created / user", + "APP_CREATED_VO_ADMIN": "Created / manager", + "MAIL_VALIDATION": "Mail validation / user", + "APP_APPROVED_USER": "Approved / user", + "APP_REJECTED_USER": "Rejected / user", + "APP_ERROR_VO_ADMIN": "Error / manager" + } + }, + "EDIT_ATTRIBUTES": { + "TITLE": "Confirm edit action", + "DESCRIPTION": "Following attributes will be edited.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "SAVE": "Save", + "SUCCESS": "Selected attributes were edited" + }, + "REJECT_APPLICATION": { + "TITLE": "Specify reason", + "TEXT": "Please specify reason of rejection to let user know why was application rejected.", + "SUBMIT": "Reject", + "CANCEL": "Cancel", + "SUCCESS": "Application was rejected" + }, + "UPDATE_APPLICATION_FORM": { + "TITLE": "Change application form settings", + "MODULE_NAME": "Module name", + "INITIAL": "Initial", + "EXTENSION": "Extension", + "EMBEDDED": "Embedded", + "MANUAL": "Manual", + "AUTOMATIC": "Automatic", + "SUBMIT_BUTTON": "Submit", + "CANCEL_BUTTON": "Cancel" + }, + "DELETE_APPLICATION_FORM_ITEM": { + "TITLE": "Delete confirm", + "INFO_1": "Deleting of form items is NOT RECOMMENDED!", + "INFO_2": "You will loose access to data users submitted in older applications within this form item!", + "INFO_3": "Do you want to continue?", + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Delete" + }, + "APPLICATION_FORM_COPY_ITEMS": { + "TITLE": "Copy form items from VO / group", + "SOURCE_VO": "Source VO", + "SOURCE_GROUP": "Source group", + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Submit", + "NO_GROUP_SELECTED": "Not selected", + "DESCRIPTION": "All form items from selected Group or VO will be added to yours.", + "ERROR_INVALID_VO": "Please choose Vo from options", + "ERROR_NO_VO": "Please choose Vo", + "ERROR_INVALID_GROUP": "Please choose group from options", + "ERROR_NO_GROUP": "Please choose group", + "SUCCESS": "Form items copied", + "PRIVILEGE": "You cannot copy application form for this combination of organization and group", + "NO_FORM": "Selected entity has no form" + }, + "APPLICATION_FORM_ADD_ITEM": { + "TITLE": "Add form item", + "CREATE": "Create", + "CANCEL": "Cancel", + "SHORT_NAME": "Short Name", + "INPUT_WIDGET": "Input widget", + "INSERT_AFTER": "Insert after", + "INSERT_TO_BEGINNING": "- insert to the beginning -", + "NO_SHORTNAME_ERROR": "Please fill the shortname", + "FILL_NAME": "Length of name has to be between 1 to 128 characters" + }, + "APPLICATION_FORM_EDIT_ITEM": { + "TITLE": "Edit form item", + "SHORT_NAME": "Short name", + "SHORT_NAME_DESCRIPTION": "Internal item identification (used as fallback when you forgot to set \"Label\" for some language).", + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Submit", + "BASIC_SETTINGS": "Basic settings", + "LANGUAGE_CS": "Language: cz", + "LANGUAGE_EN": "Language: en", + "INPUT_WIDGET": "Input widget", + "INPUT_WIDGET_DESCRIPTION": "Specify what input widget is used for this item.", + "DISPLAY_ON_APPLICATION": "Display on application", + "INITIAL": "Initial", + "EXTENSION": "Extension", + "DISPLAY_ON_APPLICATION_DESCRIPTION": "Define on which application types is this item displayed.", + "CONTENT": "Content", + "CONTENT_DESCRIPTION": "HTML formatted content of form item. It spans through all columns to full form width.", + "LABEL": "Label", + "LABEL_DESCRIPTION": "Label displayed to users to identify item on application form. If empty, \"Short name\" from basic settings is used as fallback.", + "LABEL_BUTTON_DESCRIPTION": "Label displayed on submit button.", + "HELP": "Help", + "HELP_DESCRIPTION": "Help text displayed to user along with input widget.", + "ERROR": "Error", + "ERROR_DESCRIPTION": "Error message displayed to user when enters wrong value.", + "REGEX": "Regular expression", + "REGEX_DESCRIPTION": "Regular expression used for item value validation (before submitting by user).", + "SOURCE_ATTRIBUTE": "Source attribute", + "SOURCE_ATTRIBUTE_DESCRIPTION": "Select attribute, which will be used to pre-fill form value. You can select also VO attributes.", + "DESTINATION_ATTRIBUTE": "Destination attribute", + "DESTINATION_ATTRIBUTE_DESCRIPTION": "Select attribute, where will be submitted value stored after accepting user`s application.", + "FEDERATION_ATTRIBUTE": "Federation attribute", + "FEDERATION_ATTRIBUTE_DESCRIPTION": "Select federation attribute to get pre-filed value from.", + "REQUIRED": "Required", + "REQUIRED_DESCRIPTION": "If checked, user can`t submit empty value (doesn't apply to non-editable fields).", + "NO_SELECTED_ITEM": "No item selected (empty value)", + "CUSTOM_VALUE": " -- custom value -- ", + "OPTIONS": "Options", + "OPTIONS_DESCRIPTION": "Define possible options for selection in SELECTIONBOX, COMBOBOX, CHECKBOX, RADIO widget. Empty options are not used.", + "ADD_OPTION": "Add option", + "VALUE": "Value", + "SORT_BY_LABEL_AZ": "Sort by label(A-Z)", + "SORT_BY_LABEL_ZA": "Sort by label(Z-A)", + "UPDATABLE": "Updatable", + "UPDATABLE_DESCRIPTION": "If set, the user can edit this item after submission.", + "HIDDEN": "Hidden", + "HIDDEN_DESCRIPTION": "When the item should be hidden during the submission.", + "HIDDEN_DEPENDENCY": "Hidden dependency", + "HIDDEN_DEPENDENCY_DESCRIPTION": "Other form item, which is used to decide, if this one should be hidden.", + "DISABLED": "Disabled", + "DISABLED_DESCRIPTION": "When the item should be disabled during the submission.", + "DISABLED_DEPENDENCY": "Disabled dependency", + "DISABLED_DEPENDENCY_DESCRIPTION": "Other form item, which is used to decide, if this one should be disabled." + }, + "APPLICATION_FORM_DELETE_MAIL": { + "TITLE": "Confirm delete action", + "DESCRIPTION": "Following mail definitions will be removed and users won't receive them anymore.", + "CONFIRMATION": "Do you want to proceed?", + "SUBMIT": "Delete", + "CANCEL": "Cancel" + }, + "CREATE_ATTRIBUTE": { + "SET_NEW": "Set new attributes", + "SAVE": "Save selected", + "CANCEL": "Cancel", + "SUCCESS_SAVE": "Attributes saved successfully", + "ERROR_EMPTY_VALUE": "You can't save attribute with empty value" + }, + "CREATE_RESOURCE_TAG": { + "TITLE": "Create resource tag", + "NAME": "Tag name", + "CREATE": "Create", + "CANCEL": "Cancel", + "EMPTY_NAME": "Please fill name" + }, + "DELETE_RESOURCE_TAG": { + "TITLE": "Confirm delete action", + "DESCRIPTION": "Following tags will be deleted and won't be used to tag VO resources.", + "ASK": "Do you want to proceed?", + "SUBMIT": "Delete", + "CANCEL": "Cancel" + }, + "NOTIFICATIONS_EDIT_FOOTER": { + "TITLE": "Edit mail footer", + "DESCRIPTION": "This text will be added as footer for all email notifications (replacing {mailFooter} tag in mail definition).", + "LABEL": "Footer text", + "SUBMIT_BUTTON": "Save", + "CANCEL_BUTTON": "Cancel", + "SUCCESS": "Email footer was successfully edited.", + "HINT": "You don't have permission to edit email footer." + }, + "NOTIFICATIONS_ADD_EDIT_MAIL": { + "TITLE_CREATE": "Add email notification", + "TITLE_EDIT": "Edit notification", + "CANCEL_BUTTON": "Cancel", + "CREATE_BUTTON": "Create", + "SAVE_BUTTON": "Save", + "EDIT_HINT": "You don't have permission to edit notifications.", + "BASIC_SETTINGS": "Basic settings", + "EMAIL_TYPE": "Email type", + "EMAIL_TYPE_DESCRIPTION_CREATE": "Selected type of notification (action which trigger sending and who is notified).", + "EMAIL_TYPE_DESCRIPTION_EDIT": "Type of notification (action which trigger sending and who is notified).", + "APPLICATION_TYPE": "Application type", + "INITIAL": "Initial", + "EXTENSION": "Extension", + "APPLICATION_TYPE_DESCRIPTION_CREATE": "Select which application type will trigger sending.", + "APPLICATION_TYPE_DESCRIPTION_EDIT": "Application type which will trigger sending.", + "SENDING_ENABLED": "Sending enabled", + "SENDING_ENABLED_DESCRIPTION": "If checked, notification will be sent. Un-check it to temporary disable sending.", + "LANG_EN": "Language: en", + "LANG_CS": "Language: cz", + "AVAILABLE_TAGS": "Available tags", + "SUBJECT": "Subject", + "TEXT": "Text", + "SHOW_TAGS": "Show tags", + "HIDE_TAGS": "Hide tags", + "TAGS_DESCRIPTION": "Following tags can be used in mail's subject and text and are replaced by actual data on sending. Just choose place where you want tag and click on tag button. When no data for tag is found, it's replaced by whitespace.", + "APPLICATION_RELATED_SECTION": "Application related", + "USER_RELATED_SECTION": "User related", + "VALIDATION_LINKS_USERS_SECTION": "Validation links for users", + "APPLICATION_LINKS_USERS_SECTION": "Application GUI links for users", + "APPLICATION_LINKS_ADMINISTRATOR_SECTION": "Application GUI links for administrators", + "PERUN_LINKS_ADMINISTRATOR_SECTION": "Perun GUI links for administrators", + "USER_INVITATIONS_SECTION": "User invitations", + "APPID_DESCRIPTION": "application ID", + "ACTOR_DESCRIPTION": "user's login used when submitting application", + "EXTSOURCE_DESCRIPTION": "user's identity provider when submitting application", + "VONAME_DESCRIPTION": "name of VO of application form", + "GROUPNAME_DESCRIPTION": "name of group, if application form is for group membership", + "MAILFOOTER_DESCRIPTION": "common mail footer defined by VO", + "ERRORS_DESCRIPTION": "errors description, what happened while processing new application. Useful for VO administrators", + "CUSTOMMESSAGE_DESCRIPTION": "optional message passed by administrators when rejecting an application", + "FIRSTNAME_DESCRIPTION": "users first name taken from application form or Perun", + "LASTNAME_DESCRIPTION": "users last name taken from application form or Perun", + "DISPLAYNAME_DESCRIPTION": "users display name taken from application form or Perun", + "MAIL_DESCRIPTION": "users preferred mail from application form or Perun", + "PHONE_DESCRIPTION": "users phone from application form or Perun", + "LOGINNAMESPACE_DESCRIPTION": "user's login in selected namespace, taken from registration form or Perun. You MUST specify the namespace, e.g. {login-einfra} will print user's login in einfra namespace.", + "MEMBERSHIPEXPIRATION_DESCRIPTION": "membership expiration date decided after membership creation or extension", + "VALIDATION_LINKS_DESCRIPTION": "Works only for \"Mail validation / user \" mail type! Used to verify email address provided by users => verify application.", + "VALIDATIONLINK_DESCRIPTION": "link for email address verification. Please make sure you set \"Registrar URL\" setting of your VO/group. If you don't specify authorization in \"Registrar URL\", you can use following options:", + "VALIDATIONKRB_DESCRIPTION": "link for Kerberos authentication", + "VALIDATIONFED_DESCRIPTION": "link for Shibboleth IdP (federation) authentication", + "VALIDATIONCERT_DESCRIPTION": "link for personal certificate authentication", + "VALIDATIONNON_DESCRIPTION": "link without any authentication", + "REDIRECTURL_DESCRIPTION": "contains the URL parameter which was present during the application submission. If the application was initial, contains the value of the 'targetnew' URL parameter. If the application was extensional, contains the value of the 'targetexisting' parameter.", + "APPLICATION_LINKS_DESCRIPTION": "Used to navigate users to the list of theirs applications.", + "APPGUIURL_DESCRIPTION": "link to overview of submitted registrations for users. Please make sure you set \"Registrar URL\" setting of your VO/group. If you don't specify authorization in \"Registrar URL\", you can use following options:", + "APPGUIURLKRB_DESCRIPTION": "link for Kerberos authentication", + "APPGUIURLFED_DESCRIPTION": "link for Shibboleth IdP (federation) authentication", + "APPGUIURLCERT_DESCRIPTION": "link for personal certificate authentication", + "APPGUIURLNON_DESCRIPTION": "link without any authentication", + "APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION": "Used to navigate administrators to the registration detail, where they can check and approve or reject the application.", + "APPDETAILURL_DESCRIPTION": "link to registration detail in administrative GUI. Please make sure you set \"Registrar URL\" setting of your VO/group. If you don't specify authorization in \"Registrar URL\", you can use following options:", + "APPDETAILURLKRB_DESCRIPTION": "link for Kerberos authentication", + "APPDETAILURLFED_DESCRIPTION": "link for Shibboleth IdP (federation) authentication", + "APPDETAILURLCERT_DESCRIPTION": "link for personal certificate authentication", + "PERUN_LINKS_ADMINISTRATOR_DESCRIPTION": "Used to navigate administrators to the administrative GUI of Perun. Can be used for users to locate user detail too.", + "PERUNGUIURL_DESCRIPTION": "link to administrative GUI. Please make sure you set \"Registrar URL\" setting of your VO/group. If you don't specify authorization in \"Registrar URL\", you can use following options:", + "PERUNGUIURLKRB_DESCRIPTION": "link for Kerberos authentication", + "PERUNGUIURLFED_DESCRIPTION": "link for Shibboleth IdP (federation) authentication", + "PERUNGUIURLCERT_DESCRIPTION": "link for personal certificate authentication", + "USER_INVITATIONS_DESCRIPTION": "Following tags can be used on user invitation template", + "USER_INVITATIONS_VONAME_DESCRIPTION": "name of VO to invite user into", + "USER_INVITATIONS_GROUPNAME_DESCRIPTION": "name of Group to invite user into", + "USER_INVITATIONS_DISPLAYNAME_DESCRIPTION": "invited user's name", + "USER_INVITATIONS_MAILFOOTER_DESCRIPTION": "common mail footer defined by VO", + "INVITATIONLINK_DESCRIPTION": "link to registration form. Please make sure you set \"Registrar URL\" setting of your VO/group. If you don't specify authorization in \"Registrar URL\", you can use following options:", + "INVITATIONLINKKRB_DESCRIPTION": "link for Kerberos authentication", + "INVITATIONLINKFED_DESCRIPTION": "link for Shibboleth IdP (federation) authentication", + "INVITATIONLINKCERT_DESCRIPTION": "link for personal certificate authentication", + "INVITATIONLINKNON_DESCRIPTION": "link without any authentication", + "INVALID_NOTIFICATION": "Notification with selected type and selected application type already exist." + }, + "NOTIFICATIONS_COPY_MAILS": { + "TITLE": "Copy mail notifications from Vo/group", + "SOURCE_VO": "Source VO", + "SOURCE_GROUP": "Source group", + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Submit", + "NO_GROUP_SELECTED": "Not selected", + "DESCRIPTION": "All mail definitions will be added to yours.", + "ERROR_INVALID_VO": "Please choose Vo from options", + "ERROR_NO_VO": "Please choose Vo", + "ERROR_INVALID_GROUP": "Please choose Group from options", + "ERROR_NO_GROUP": "Please choose Group" + }, + "IMPORT_ATTRIBUTE_DEFINITION": { + "SUCCESS": "Attribute imported." + }, + "CREATE_ATTRIBUTE_DEFINITION": { + "TITLE": "Create Attribute Definition", + "FRIENDLY_NAME": "Friendly name", + "DISPLAY_NAME": "Display name", + "DESCRIPTION": "Description", + "ENTITY": "Entity", + "DEFINITION": "Definition", + "VALUE_TYPE": "Value Type", + "UNIQUE": "Unique", + "READ": "Read", + "WRITE": "Write", + "SELF": "Self", + "SELF_PUBLIC": "Self Public", + "SELF_VO": "Self Vo", + "VO": "Vo", + "GROUP": "Group", + "FACILITY": "Facility", + "CANCEL": "Cancel", + "CONFIRM": "Create", + "SUCCESS": "Attribute Definition successfully created", + "ERROR_FIELD_EMPTY": "This field can't be empty", + "ERROR_SELECT_SOMETHING": "You have to select something", + "ERROR_FILL_REQUIRED": "Fill all required fields", + "TOOLTIP_UNIQUE": "Entityless Attributes or Attributes with definitions 'virt' CAN'T be UNIQUE", + "TOOLTIP_CONFIRM": "Fill every required field" + }, + "DELETE_ATTRIBUTE_DEFINITION": { + "TITLE": "Confirm delete action", + "TEXT_LINE1": "Following attribute definitions will be removed.", + "TEXT_LINE2": "Do you want to proceed?", + "CANCEL": "Cancel", + "CONFIRM": "Delete", + "WARNING": "This action will also delete all assigned values", + "SUCCESS": "Selected attributes has been deleted successfully" + }, + "NOTIFICATION_LIST": { + "TITLE": "Recent notifications", + "CANCEL": "Cancel", + "NO_NOTIFICATIONS_ALERT": "There are no recent notifications", + "CLEAR": "Clear notifications" + }, + "CREATE_RELATION": { + "TITLE": "Create relation", + "CANCEL": "Cancel", + "CREATE": "Create", + "SUCCESS": "Relation successfully created" + }, + "REMOVE_RELATION": { + "TITLE": "Confirm removal", + "DESCRIPTION": "Following relations will be removed.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Remove", + "SUCCESS": "Selected relations were removed" + }, + "CHANGE_STATUS": { + "TITLE": "Change status", + "CANCEL": "Cancel", + "CURRENT_STATUS": "Current status", + "NEW_STATUS": "New status", + "CHANGE_VALID": "Changing status to VALID will trigger automatic configuration for provided resources. \nIf successful, member will have access on provided resources. \nIf not, see displayed error message and do manual configuration on 'settings' tab on members detail.", + "INVALID_DESCRIPTION": "Member have configuration error and DON'T have access on provided resources. You can check what is wrong by changing member's status to VALID. If possible, procedure will configure all necessary settings by itself.", + "SUCCESS": "Member status was changed" + }, + "REMOVE_GROUP_FROM_RESOURCE": { + "TITLE": "Confirm delete action", + "DESCRIPTION": "Following groups will be removed from resource.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Delete", + "SUCCESS": "Selected groups were removed from resource" + }, + "ASSIGN_GROUP_TO_RESOURCE": { + "TITLE": "Assign group", + "FILTER_DESCRIPTION": "Find group", + "ADD_BUTTON": "Add", + "CANCEL_BUTTON": "Cancel", + "SUCCESS_MESSAGE": "Selected groups were assigned to resource", + "CONFIGURE_GROUPS": "Configure group(s) before assign", + "ADD_TOOLTIP": "You don't have privileges to perform this action for one or more groups." + }, + "ASSIGN_SERVICE_TO_RESOURCE": { + "TITLE": "Assign service", + "FILTER_DESCRIPTION": "Find service", + "ADD_BUTTON": "Add", + "CANCEL_BUTTON": "Cancel", + "SUCCESS_MESSAGE": "Selected services were assigned to resource" + }, + "REMOVE_SERVICE_FROM_RESOURCE": { + "TITLE": "Confirm removal", + "DESCRIPTION": "Following services will be removed from resource.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Delete", + "SUCCESS": "Selected services were removed from resource" + }, + "CREATE_RESOURCE": { + "NAME": "Name", + "DESCRIPTION": "Description", + "CANCEL": "Cancel", + "CREATE": "Create", + "SUCCESS": "Resource successfully created", + "INCORRECT_NAME": "Name cannot be empty and can contain only characters a-z, A-Z, numbers, spaces, dots, '_' and '-'", + "FILL_DESCRIPTION": "Description cannot be empty" + }, + "ADD_EXT_SOURCES": { + "TITLE": "Add external sources", + "FILTER": "Filter by ID, name or type", + "CANCEL": "Cancel", + "ADD": "Add", + "SUCCESS_ADDED": "External sources were successfully added" + }, + "REMOVE_EXT_SOURCES": { + "TITLE": "Remove external sources", + "DESCRIPTION": "Following external sources will be removed.", + "ASK": "Are you sure you want to proceed?", + "CANCEL": "Cancel", + "REMOVE": "Remove", + "SUCCESS_REMOVED": "External sources were successfully removed" + }, + "EDIT_ATTRIBUTE_DEFINITION": { + "COPY_FOR_IMPORT": "Copy for import", + "COPIED": "Data copied to clipboard.", + "COPY": "Copy failed.", + "SUCCESS": "Attribute definition successfully edited", + "DISPLAY_NAME": "Display name", + "ERROR_FIELD_EMPTY": "This field can't be empty", + "DESCRIPTION": "Description", + "UNIQUE": "Unique", + "TOOLTIP_UNIQUE": "Entityless Attributes or Attributes with definitions 'virt' CAN'T be UNIQUE", + "READ": "Read", + "WRITE": "Write", + "SELF": "Self", + "SELF_PUBLIC": "Self Public", + "SELF_VO": "Self Vo", + "VO": "Vo", + "GROUP": "Group", + "FACILITY": "Facility", + "CANCEL": "Cancel", + "CONFIRM": "Submit", + "TOOLTIP_CONFIRM": "Fill every required field", + "SHOW_KEYS": "Show keys", + "SERVICES": "Dependent services:" + }, + "REMOVE_DESTINATIONS": { + "TITLE": "Remove destination from service", + "WARNING": "Removing destination will stop propagation of service's configuration for this destination/service.", + "DESCRIPTION": "Following destinations will be removed.", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "CONFIRM": "Remove", + "SUCCESS": "Destinations were successfully removed from service." + }, + "ADD_SERVICE_DESTINATION": { + "TITLE": "Add destination", + "DESCRIPTION": "Please add destinations for service configuration delivery. New service configuration can be performed directly on facility (dest. type HOST) or sent to URL or by an email.", + "SERVICE": "Service", + "SELECTION_ALL": "All", + "NO_SERVICE": "No service available", + "CHOOSE_SERVICE": "You must choose service", + "IS_SERVICES_ONLY_ON_FACILITY": "Show only services on facility", + "TYPE": "Type", + "HOST": "Host", + "REQUIRED_FIELD": "Destination value can't be empty.", + "INVALID_DESTINATION": "The specified value for the selected destination type is invalid.", + "USE_FACILITY_HOST": "Use names of all facility's hosts", + "PROPAGATION": "Propagation", + "PROPAGATION_TYPE_PARALLEL": "PARALLEL - Data for all destinations and one service are pushed in parallel.", + "PROPAGATION_TYPE_DUMMY": "DUMMY - Service provisioning data is generated by Perun, but not pushed to destination. Destinations can pull data by themselves.", + "CANCEL": "Cancel", + "ADD": "Add" + }, + "ADD_GROUP_RESOURCES": { + "TITLE": "Add resources", + "FILTER": "Filter by ID, name or description", + "CANCEL": "Cancel", + "ADD": "Add", + "ADD_PERMISSION_TOOLTIP": "You don't have permission to assign some of the selected resources.", + "SUCCESS": "Resources successfully added" + }, + "ADD_GROUP_TO_REGISTRATION": { + "TITLE": "Assing group to registration", + "FILTER_DESCRIPTION": "Filter", + "CANCEL_BUTTON": "Cancel", + "ADD_BUTTON": "Assign groups" + }, + "ADD_USER_EXT_SOURCE": { + "TITLE": "Add user ext source", + "ADD": "Add", + "CANCEL": "Cancel", + "SUCCESS": "User external source has been added", + "LOGIN": "Login", + "EXT_SOURCE": "External source", + "EMPTY_LOGIN": "Login cannot be empty", + "EMPTY_EXT_SOURCE": "External source cannot be empty" + }, + "ADD_HOST": { + "TITLE": "Add hosts", + "ADD": "Add", + "CANCEL": "Cancel", + "SUBTITLE": "Hostnames", + "HINT": "Enter one host per line. You can use \"[x-y]\" in hostname to generate hosts with numbers from x to y. This replacer can be specified multiple times in one hostname to generate MxN combinations.", + "WARNING": "Please enter at least one hostname to add it to facility.", + "SUCCESS": "Added hosts.", + "EMPTY_MESSAGE": "Hostnames cannot be empty", + "INVALID_HOST": "Invalid host name: " + }, + "REMOVE_HOST": { + "TITLE": "Confirm removal", + "WARNING": "Removing host(s) won't stop services propagation. For this please remove proper 'Services destinations'.", + "DESCRIPTION": "Following hosts will be removed from facility.", + "CONFIRM": "Delete", + "CANCEL": "Cancel", + "ASK": "Do you want to proceed?", + "SUCCESS": "Removed hosts." + }, + "ADD_OWNERS": { + "TITLE": "Add facility owners", + "FILTER": "Filter by id, name, contact or type", + "CANCEL": "Cancel", + "ADD": "Add", + "SUCCESS": "Owners were successfully added" + }, + "REMOVE_OWNERS": { + "TITLE": "Remove facility owners", + "CANCEL": "Cancel", + "DELETE": "Delete", + "DESCRIPTION": "Following facility owners will be removed.", + "ASK": "Are you sure you want to proceed?", + "SUCCESS": "Owners were successfully removed" + }, + "CREATE_EDIT_SERVICE": { + "CREATE_TITLE": "Create service", + "EDIT_TITLE": "Edit service", + "CREATE": "Create", + "EDIT": "Edit", + "CANCEL": "Cancel", + "NAME": "Name:", + "DESCRIPTION": "Description:", + "STATUS": "Status:", + "DELAY": "Delay:", + "RECURRENCE": "Recurrence:", + "PATH": "Script path:", + "STATUS_HINT": "Enabled/Disabled", + "REQUIRE_NAME": "Name cannot be empty", + "REQUIRE_PATH": "Script path cannot be empty", + "INVALID_DELAY": "Delay must be a number", + "INVALID_RECURRENCE": "Recurrence must be a number", + "CREATE_SUCCESS": "Created service", + "EDIT_SUCCESS": "Service was edited" + }, + "DELETE_SERVICE": { + "TITLE": "Delete service", + "DESCRIPTION": "Following items will be removed", + "ASK": "Do you want to proceed?", + "CANCEL": "Cancel", + "DELETE": "Delete", + "SUCCESS": "Service deleted" + }, + "ADD_MEMBER_TO_RESOURCE": { + "TITLE": "Add member to resource", + "CONTINUE": "Continue", + "CANCEL": "Cancel", + "BACK": "Back", + "SUBMIT": "Submit", + "FILTER": "Filter by facility:", + "SELECTED": "Selected resource:", + "DESCRIPTION": "Description:", + "SERVICES": "Services on resource:", + "SUCCESS": "Member was added to resource", + "NO_GROUPS": "Resource has no groups assigned", + "ADD_GROUP": "Add group", + "SELECT_RESOURCE": "Select resource" + }, + "CREATE_FACILITY": { + "TITLE": "Create facility", + "NAME": "Name", + "DESCRIPTION": "Description", + "AS_COPY": "As copy of", + "CREATE": "Create", + "CANCEL": "Cancel", + "SUCCESS": "Created facility.", + "REQUIRE_NAME": "Facility name can't be empty.", + "NO_COPY": "--- No copy ---" + }, + "DELETE_FACILITY": { + "SUCCESS": "Facility deleted.", + "RESOURCE_RELATION": "resources" + }, + "ADD_MEMBER_GROUP": { + "TITLE": "Add groups", + "ADD": "Add", + "CANCEL": "Cancel", + "SUCCESS": "Groups added", + "FILTER": "Filter" + }, + "REMOVE_MEMBER_GROUP": { + "TITLE": "Remove groups", + "CANCEL": "Cancel", + "REMOVE": "Remove", + "DESCRIPTION": "Following groups will be removed.", + "ASK": "Do you want to proceed?", + "SUCCESS": "Groups were removed" + }, + "ADD_REQUIRED_ATTRIBUTES": { + "TITLE": "Add required attributes", + "ADD": "Add", + "CANCEL": "Cancel", + "SUCCESS": "Required attributes were added.", + "FILTER": "Filter" + }, + "REMOVE_REQUIRED_ATTRIBUTES": { + "TITLE": "Remove required attributes", + "DESCRIPTION": "Following items will be removed:", + "ASK": "Do you want to proceed?", + "REMOVE": "Remove", + "CANCEL": "Cancel", + "SUCCESS": "Required attributes were removed." + }, + "CHANGE_EXPIRATION": { + "TITLE_VO": "Change member expiration", + "TITLE_GROUP": "Change member's group expiration", + "TITLE_SPONSORSHIP": "Change sponsorship expiration", + "CURRENT_EXPIRATION": "Current expiration: ", + "NEW_EXPIRATION": "New expiration: ", + "DATE_LABEL": "Expire to a date", + "EXPIRATION_NEVER": "Never expire", + "WRONG_FORMAT": "The date has to be in format yyyy-mm-dd", + "CANCEL": "Cancel", + "SAVE": "Save", + "SUCCESS": "Expiration successfully changed", + "SAVE_HINT": "You don't have permission to change expiration date." + }, + "EDIT_GROUP": { + "SUCCESS": "Changes were successfully saved", + "TITLE": "Edit group", + "NAME": "Name", + "DESCRIPTION": "Description", + "SAVE": "Save", + "CANCEL": "Cancel" + }, + "CONNECT_IDENTITY": { + "TITLE": "Connect identity", + "CONNECT": "Connect", + "CANCEL": "Cancel", + "SEARCH": "Search", + "EMPTY_SEARCH_MESSAGE": "Search field cannot be empty", + "SEARCH_HINT": "Type in user`s First name, Last name (or both) or Login or Email.", + "NO_IDENTITIES": "No user matching search criteria found.", + "SUCCESS": "Identity was connected." + }, + "DISCONNECT_IDENTITY": { + "TITLE": "Disconnect identity", + "REMOVE": "Disconnect", + "CANCEL": "Cancel", + "DESCRIPTION": "Following identities will be disconnected from user.", + "ASK": "Do you want to proceed?", + "SUCCESS": "Identity was disconnected." + }, + "EDIT_FACILITY_RESOURCE_GROUP_VO": { + "EDIT_FACILITY": "Edit facility", + "EDIT_RESOURCE": "Edit resource", + "EDIT_VO": "Edit organization", + "EDIT_GROUP": "Edit group", + "SHORT_NAME": "Short name", + "NAME": "Name", + "DESCRIPTION": "Description", + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Submit", + "RESOURCE_SUCCESS": "Resource successfully updated", + "FACILITY_SUCCESS": "Facility successfully updated", + "GROUP_SUCCESS": "Group successfully updated", + "VO_SUCCESS": "Vo successfully updated", + "FILL_NAME": "Length of name has to be between 1 to 128 characters", + "FILL_DESCRIPTION": "This field has to contain between 1 to 128 characters" + }, + "EDIT_USER": { + "DIALOG_TITLE": "Edit user", + "TITLE_BEFORE": "Title before name", + "TITLE_AFTER": "Title after name", + "FIRST_NAME": "First name", + "MIDDLE_NAME": "Middle name", + "LAST_NAME": "Last name", + "SAVE": "Save", + "CANCEL": "Cancel", + "SUCCESS": "User successfully updated", + "ERROR_LAST_NAME": "Last name cannot be empty or longer than 128 characters", + "ERROR_FIRST_NAME": "First name cannot be empty or longer than 128 characters", + "ERROR_LENGTH": "Length of field has to be less than 128 characters" + }, + "DELETE_TASK_RESULT": { + "TITLE": "Remove task results", + "CANCEL": "Cancel", + "REMOVE": "Remove", + "DESCRIPTION": "Following task results will be removed.", + "ASK": "Do you want to proceed?", + "SUCCESS": "Task results were successfully removed", + "RESULT_ID": "Result id", + "DESTINATION": "Destination", + "TIME": "Time" + }, + "REMOVE_SERVICE_FROM_FACILITY": { + "TITLE": "Remove service from facility", + "CHECKBOXES_DESCRIPTION": "You can also remove:", + "CHECKBOXES_DISABLED": "Enabled only for all resources", + "CHECKBOX_TASK_AND_TASK_RESULTS" : "Task and task results", + "CHECKBOX_TASK_RESULTS" : "Task results", + "CHECKBOX_DESTINATION" : "Destination", + "DESCRIPTION": "Following resources will be affected.", + "ASK": "Do you want to proceed?", + "SUCCESS": "Service was successfully removed", + "CANCEL": "Cancel", + "REMOVE": "Remove" + }, + "DELETE_TASK": { + "TITLE": "This service is not assigned to any resource", + "DESCRIPTION": "You can delete task and task results.", + "SUCCESS": "Service was successfully deleted", + "CANCEL": "Cancel", + "DELETE": "Delete" + }, + "EDIT_APPLICATION_FORM_ITEM_DATA": { + "TITLE": "Edit item: ", + "INVALID_EMAIL": "Email is invalid", + "EMPTY_INPUT": "This field is required", + "CANCEL": "Cancel", + "SUBMIT": "Submit", + "SUCCESS": "Application form item data edited successfully" + }, + "CREATE_SPONSORED_MEMBER": { + "TITLE": "Create sponsored member", + "FIRST_NAME": "First name", + "LAST_NAME": "Last name", + "TITLE_BEFORE": "Title before", + "TITLE_AFTER": "Title after", + "PASSWORD": "Password", + "NAMESPACE": "Namespace", + "SPONSOR_ID": "Sponsor ID", + "CANCEL": "Cancel", + "OK": "Ok", + "CREATE": "Create", + "LOGIN": "Login", + "EMAIL": "Email", + "SUCCESS": "Sponsored user created", + "EMAIL_ERROR": "Email is not valid", + "LENGTH_ERROR": "Empty value is not allowed", + "BACKEND_ERROR": "Entered password doesn't meet the selected namespace's criteria", + "BACKEND_ERROR_LONG": "Entered password doesn't match criteria for strong password and it can't be accepted. Please, make sure that the entered password is at least 8 characters long, contains at least one of: A-z, 0-9, and special characters.", + "SHOW_PASSWORD": "Show password", + "NAMESPACE_ERROR": "Selection of namespace is required", + "FUNCTIONALITY_NOT_SUPPORTED": "This functionality is not yet supported.", + "LOGIN_DISABLED": "Setting login is disabled for this namespace", + "PASSWORD_RESET_DISABLED": "Sending activation link is disabled for this namespace", + "PASSWORD_DISABLED": "Setting password is disabled for this namespace", + "SUCCESSFULLY_CREATED": "Sponsored member was successfully created", + "USER": "User", + "WAS_CREATED": "was successfully created", + "COPY_INFORMATION": "Please save this information. It will not be possible to access this information later.", + "PASSWORD_RESET": "Let the created user change his password via a given email address", + "PASSWORD_VIA_EMAIL": "User will choose his password via an email sent to the entered e-mail address", + "EXPIRATION": "Sponsorship expiration", + "EXPIRE_DATE": "Expire to a date", + "EXPIRE_NEVER": "Never expire", + "EXPIRATION_ERROR": "The date has to be in format yyyy-mm-dd", + "SELECT_SPONSOR": "Choose sponsor for created user", + "SELECT_SELF": "Make myself sponsor", + "SELECT_OTHER": "Select other sponsor from this organization", + "SELECT_SELF_DISABLED": "You must be sponsor in this organization", + "SELECT_OTHER_DISABLED": "You don't have permission to select other sponsor", + "NEXT": "Next", + "BACK": "Back", + "SUBMIT": "Submit", + "USER_LABEL": "User", + "NAMESPACE_LABEL": "Namespace", + "SPONSORSHIP_LABEL": "Sponsorship", + "USER_TITLE": "User name", + "NAMESPACE_TITLE": "Namespace details", + "SPONSORSHIP_TITLE": "Sponsorship options" + }, + "GENERATE_SPONSORED_MEMBERS": { + "TITLE": "Generate sponsored members", + "NAMESPACE": "Namespace", + "NAMESPACE_ERROR": "Selection of namespace is required", + "NAMES_ERROR": "This field cannot be empty", + "HINT": "Please insert to the field below correctly formated text. List and order of valid attributes is:", + "INSERT_HERE": "Here insert correctly formatted text", + "ERROR_FORMAT": "This line is not filled with all mandatory attributes", + "ERROR_EMAIL": "Email on this line is not valid", + "ERROR_LOGIN": "Login on this line must be filled", + "CANCEL": "Cancel", + "SUBMIT": "Submit", + "SUCCESS": "Members successfully created", + "EMAIL": "Email", + "PASSWORD_MANAGEMENT": "Password management", + "PASSWORD_RESET": "Let created users change their password via given email addresses.", + "GENERATE_PASSWORD": "Generate random passwords", + "EXPIRATION": "Sponsorship expiration", + "GROUP_ASSIGMENT": "Group assigment", + "NO_ASSIGN": "Do not assign to any group", + "ASSIGN_TO_NEW": "Create new group to be assigned to", + "ASSIGN_EXISTING": "Assign to existing groups", + "DISABLED_ASSIGN_NEW": "You don't have permission to create groups in this organization, or manual adding of members is disabled", + "DISABLED_ASSIGN_EXISTING": "You don't have permission to add members to any existing group in this organization, or manual adding of members is disabled", + "NEXT": "Next", + "BACK": "Back", + "USERS_INFO": "Users information", + "USERS_LABEL": "Users", + "PASSWORD_LABEL": "Password", + "EXPIRATION_LABEL": "Sponsorship", + "GROUPS_LABEL": "Group", + "CREATE_NEW_GROUP": "Create new group", + "SELECT_EXISTING_GROUPS": "Select from existing groups", + "DONT_ASSIGN_INFO": "Created users will become members of this organization, but won't be assigned to any additional groups. You will be able to change this manually later.", + "NO_NAMESPACE_PASSWORD_INFO": "Generated members will not have password." + }, + "EDIT_MEMBER_SPONSORS": { + "TITLE": "Edit sponsors of sponsored member", + "EXPIRATION": "Sponsorship expiration", + "TABLE_ID": "id", + "TABLE_NAME": "name", + "TABLE_EXPIRATION": "expiration", + "CANCEL": "Close", + "SUBMIT": "Submit", + "REMOVE_SPONSOR_DISABLED": "You are not authorized to remove sponsor", + "SUCCESS": "Sponsors successfully edited" + }, + "PASSWORD_RESET_REQUEST": { + "TITLE": "Password reset request", + "LANGUAGE": "Language", + "NAMESPACE": "Namespace", + "EMAIL": "Email, where the request will be send", + "LOGIN": "Login:", + "SEND": "Send", + "CANCEL": "Cancel", + "SUCCESS": "Request has successfully been sent." + }, + "CHANGE_EMAIL": { + "TITLE": "Change preffered 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.", + "EMAIL_ERROR": "Email is not valid" + }, + "NEW_VERSION": { + "TITLE": "New version is available!", + "DESCRIPTION": "New version is available. Please, reload the page to apply the changes.", + "LATER": "Got it! I will reload later", + "RELOAD": "Reload" + }, + "SPONSOR_EXISTING_MEMBER": { + "TITLE": "Sponsor existing member", + "CANCEL": "Cancel", + "SPONSOR": "Sponsor", + "SEARCH": "Search", + "DESCRIPTION": "Search by member name", + "EMPTY_SEARCH_MESSAGE": "Search field cannot be empty", + "EXPIRATION": "Sponsorship expiration", + "BEGIN_SEARCH": "Search for members you would like to sponsor", + "SUCCESS": "Members successfully sponsored" + }, + "ADD_OWNER": { + "TITLE": "Create owner", + "NAME": "Name", + "FILL_NAME": "Name cannot be empty", + "CONTACT": "Contact", + "FILL_CONTACT": "Contact cannot be empty", + "CONTACT_FORMAT": "Invalid format, e.g. mail@domain.com", + "TYPE1": "Administrative", + "TYPE2": "Technical", + "CANCEL": "Cancel", + "TOOLTIP": "Please, fill name and contact", + "CREATE": "Create", + "SUCCESS": "Owner successfully created" + }, + "DELETE_OWNER": { + "TITLE": "Delete owner", + "DESCRIPTION": "Selected owners will be deleted.", + "ASK": "Are you sure, you want to continue?", + "CANCEL": "Cancel", + "DELETE": "Delete", + "SUCCESS": "Owners successfully removed" + }, + "DELETE_ENTITY": { + "BASIC": "Do you want to delete", + "ONLY": "only this", + "OR": "or", + "RELATIONS": "with all relations", + "DELETE": "Delete", + "CANCEL": "Cancel", + "CONTROL": "Type \"DELETE\" to confirm", + "ASK": "Are you sure you want to permanently delete following", + "WARN": "This action will also delete all" + } + }, + "MEMBERS_LIST": { + "ID": "Id", + "NAME": "Name", + "STATUS": "VO status", + "GROUP_STATUS": "Group status", + "ALREADY_SPONSORED": "Already \nsponsored", + "EMAIL": "Email", + "LOGINS": "Logins", + "ORGANIZATION": "Organization", + "NO_MEMBERS_ALERT": "No members present", + "NO_FILTER_RESULTS_ALERT": "There are no members matching your query", + "INDIRECT_MEMBER": "Indirect member", + "CHECKBOX_TOOLTIP": "Indirect members cannot be removed" + }, + "MEMBERS_CANDIDATES_LIST": { + "STATUS": "Status", + "NAME": "Name", + "ORGANIZATION": "Organization or Ext source", + "EMAIL": "Email", + "LOGINS": "Logins", + "ALREADY_MEMBER": "Already member" + }, + "MANAGERS_LIST": { + "ID": "User ID", + "NAME": "Name", + "ORGANIZATION": "Organization", + "EMAIL": "Email", + "LOGINS": "Logins", + "PERSON": "Person", + "SERVICE": "Service" + }, + "ADMIN_USER": { + "ENTITY": "User", + "USER_TYPE": "User type" + }, + "ADMIN": { + "TITLE": "Perun admin", + "ATTRIBUTES": { + "TITLE": "Attribute definitions", + "TABLE_ATTR_ID": "Id", + "TABLE_ATTR_FRIENDLY_NAME": "Friendly name", + "TABLE_ATTR_ENTITY": "Entity", + "TABLE_ATTR_DEF": "Def", + "TABLE_ATTR_TYPE": "Type", + "TABLE_ATTR_UNIQUE": "Unique", + "CREATE": "New attribute definition", + "IMPORT": "Import", + "DELETE": "Delete", + "SEARCH": "Filter by ID, name, entity, definition, or type", + "NO_ATTRIBUTES": "There are no attributes available." + }, + "USERS": { + "TITLE": "Users", + "SEARCH_PLACEHOLDER": "Search by name, email or login", + "SEARCH_INFO": "You can search users by name, email or login or you can list all users without vo.", + "NO_USERS_FOUND": "No users found.", + "EMPTY_SEARCH": "Search field cannot be empty", + "USERS_WITHOUT_VO": "Find users without organization" + }, + "OWNERS": { + "TITLE": "Owners", + "ADD": "Create", + "DELETE": "Delete", + "FILTER": "Filter" + }, + "VISUALIZER": { + "ATTR_DEPENDENCIES": { + "TITLE": "Attribute modules dependencies", + "HINT": "You can use arrow keys to move the image." + }, + "USER_DESTINATION": { + "TITLE": "User destination relationship", + "SELECT_USER": "Select User", + "SELECT_DESTINATION": "Select Destination", + "DESTINATION_EXAMPLE": "eg. documents.ics.muni.cz", + "SELECT_SERVICE": "Select Service", + "SUBMIT_BUTTON": "Find relationships", + "USER_HINT": "Type names with punctuation, case insensitive", + "USER_EXAMPLE": "eg. Jan Novák", + "SELECT_NO_SERVICE": "I don't want specify service", + "BUTTON_NEXT": "Next", + "BUTTON_BACK": "Previous", + "ERROR_NO_NAME": "Please fill name", + "ERROR_WRONG_NAME": "Given name not found", + "ERROR_NO_DESTINATION": "Please fill destination", + "ERROR_WRONG_DESTINATION": "Given destination not found", + "ERROR_NOT_CHOSEN_SERVICE": "Please choose service", + "FOUND_1": "Path was found between user", + "FOUND_2": "and destination", + "FOUND_3": "for service", + "NOT_FOUND_1": "For user", + "NOT_FOUND_2": "and destination", + "NOT_FOUND_3": "with dependency on service", + "NOT_FOUND_4": "weren't found any connection in database", + "USER": "User", + "GROUP": "Group", + "VO": "Vo", + "RESOURCE": "Resource", + "FACILITY": "Facility", + "SERVICE": "Service", + "DESTINATION": "Destination" + } + }, + "EXT_SOURCES": { + "TITLE": "External sources", + "LOAD": "Load External sources", + "SEARCH": "Search by ID, Name or Type", + "LOAD_SUCCESS": "External sources successfully loaded" + }, + "SERVICES": { + "TITLE": "Services", + "CREATE": "Create service", + "DELETE": "Delete", + "FILTER": "Filter" + } + }, + "USER_DETAIL": { + "DASHBOARD": { + "TITLE": "Welcome ", + "RECENTLY_VIEWED": "Recently viewed", + "NO_RECENTLY_VIEWED": "No recently viewed", + "NOT_MANAGER": "It looks like you don’t manage anything here.", + "NOT_MANAGER_INFO_NO_USER_PROFILE": "If you want to administrate information about yourself you can look on your profile", + "NOT_MANAGER_INFO": "If you want to administrate information about yourself please choose one of the options", + "GO_TO_MY_PROFILE": "See My profile", + "GO_TO_USER_PROFILE": "Go User Profile Application", + "MANAGEABLE_ENTITIES": "Manageable entities", + "CARD_TITLE_VOADMIN": "Manager in Organizations", + "ROLE_INFO_VOADMIN": "You can manage organizations that are listed below", + "CARD_TITLE_GROUPADMIN": "Manager in Groups", + "ROLE_INFO_GROUPADMIN": "You can manage groups that are listed below", + "CARD_TITLE_FACILITYADMIN": "Manager in Facilities", + "ROLE_INFO_FACILITYADMIN": "You can manage facilities that are listed below", + "CARD_TITLE_SPONSOR": "Sponsor in Organizations", + "ROLE_INFO_SPONSOR": "You can create sponsored members in organization that are listed below", + "CARD_TITLE_RESOURCEADMIN": "Manager in Resources", + "ROLE_INFO_RESOURCEADMIN": "You can manage resources that are listed below", + "CARD_TITLE_TOPGROUPCREATOR": "Group creator in Organizations", + "ROLE_INFO_TOPGROUPCREATOR": "You can create group in the organizations that are listed below", + "CARD_TITLE_VOOBSERVER": "Observer in Organizations", + "ROLE_INFO_VOOBSERVER": "You can observe organizations that are listed below", + "CARD_TITLE_GROUPOBSERVER": "Observer in Groups", + "ROLE_INFO_GROUPOBSERVER": "You can observe groups that are listed below", + "CARD_TITLE_FACILITYOBSERVER": "Observer in Facilities", + "ROLE_INFO_FACILITYOBSERVER": "You can observe facilities that are listed below", + "CARD_TITLE_RESOURCEOBSERVER": "Observer in Resources", + "ROLE_INFO_RESOURCEOBSERVER": "You can observe resources that are listed below", + "DASHBOARD_SETTINGS": "Dashboard Settings", + "SHOW_RECENTLY_VIEWED": "Show Recently viewed", + "SHOW_ROLES": "Show roles", + "MAIL_CHANGE_SUCCESS": "Preferred mail has been changed" + }, + "OVERVIEW": { + "GENERAL_SETTINGS": "General settings" + }, + "IDENTITIES": { + "TITLE": "Identities", + "ADD": "Add", + "REMOVE": "Remove" + }, + "FACILITIES": { + "TITLE": "Facilities", + "FILTER_PLACEHOLDER": "Filter by id, name or description" + }, + "RESOURCES": { + "TITLE": "Resources" + }, + "SETTINGS": { + "ATTRIBUTES": { + "TITLE": "Attributes", + "DELETE": "Remove selected", + "FILTER": "Filter by id, name, value or description", + "SAVE": "Save selected", + "CREATE": "Add", + "CANCEL": "Cancel", + "SUCCESS_DELETE": "Attributes deleted successfully", + "SUCCESS_SAVE": "Attributes saved successfully" + }, + "SERVICE_IDENTITIES": { + "TITLE": "Service identities", + "CREATE": "Add", + "DELETE": "Remove", + "NO_IDENTITIES": "You have no service identities assigned." + }, + "GUI_CONFIG": { + "PREF_TABLE_PAGE_SIZE": "Preferred table page size", + "TITLE": "Gui Configuration" + }, + "ASSOCIATED_USERS": { + "TITLE": "Associated users", + "ADD": "Add", + "REMOVE": "Remove", + "NO_ASSOCIATED_USERS": "You have no associated users assigned." + }, + "FACILITY_ATTRIBUTES": { + "TITLE": "Facility attributes" + } + } + }, + "SHARED": { + "COMPONENTS": { + "RESOURCES_TAGS_LIST": { + "EDIT_SUCCESS": "Resource tag was successfully edited." + }, + "USERS_LIST": { + "TABLE_SEARCH": "Filter by name or ID" + }, + "REFRESH_BUTTON": { + "TOOLTIP": "Refresh" + }, + "MANAGERS_PAGE": { + "TITLE": "Managers", + "ADD": "Add", + "REMOVE": "Remove", + "SELECT_MODE": "Select mode", + "SELECT_ROLE": "Select role", + "USER": "Users", + "GROUP": "Groups", + "NO_MANAGERS": "This role has no managers.", + "NO_GROUP_MANAGERS": "This role has no group managers.", + "NO_AVAILABLE_ROLES": "This entity has no available manager roles or you dont have privileges to manage them" + }, + "EXT_SOURCES_LIST": { + "ID": "ID", + "NAME": "Name", + "TYPE": "Type", + "NO_EXT_SOURCES": "No external sources", + "NO_FILTER_RESULTS": "There are no external sources matching your query" + }, + "SERVICES_LIST": { + "ID": "Service Id", + "NAME": "Name", + "ENABLED": "Enabled", + "SCRIPT": "Script", + "DESCRIPTION": "Description", + "NO_SERVICES_WARNING": "No services assigned.", + "DISABLED": "Disabled" + }, + "ENTITYLESS_ATTRIBUTES_LIST": { + "CANCEL": "Back", + "SAVE": "Save", + "ADD": "Add", + "REMOVE": "Remove", + "KEY": "Key", + "VALUE": "Value", + "NO_KEYS_WARNING": "Use 'Add' button to add new Key-Attribute pair", + "SAVE_SUCCESS": "Attributes successfully saved", + "REMOVE_SUCCESS": "Attributes successfully removed" + }, + "USER_DETAIL": { + "GROUPS": { + "YOU_ARE_MEMBER": "Groups where you are member", + "YOU_ARE_ADMIN": "Groups where you are admin", + "USER_IS_MEMBER": "Groups where user is member", + "USER_IS_ADMIN": "Groups where user is admin", + "FILTER": "Filter by name or ID" + } + }, + "HOSTS_LIST": { + "TABLE_HOST_ID": "Host ID", + "TABLE_HOST_NAME": "Host name", + "NO_HOST_WARNING": "No hosts found" + }, + "BLACKLIST_LIST": { + "USER_ID": "User ID", + "NAME": "Name", + "REASON": "Reason", + "NO_BANS_WARNING": "No bans found" + }, + "SECURITY_TEAMS_LIST": { + "ID": "id", + "NAME": "name", + "DESCRIPTION": "description", + "NO_SECURITY_TEAMS_WARNING": "No security teams found" + }, + "SPONSORED_MEMBERS_LIST": { + "ID": "Id", + "NAME": "Name", + "SPONSORS": "Sponsors", + "NO_SPONSORED_MEMBERS_WARNING": "No sponsored members found", + "PASSWORD_RESET": "Reset password" + }, + "DESTINATIONS_LIST": { + "DESTINATION_ID": "Destination ID", + "SERVICE": "Service", + "FACILITY": "Facility", + "DESTINATION": "Destination", + "TYPE": "Type", + "ALLOWED": "Allowed", + "BLOCKED": "Blocked", + "PROPAGATION_TYPE": "Propagation type", + "NO_DESTINATIONS": "No destinations found" + }, + "FACILITIES_LIST": { + "ID": "Id", + "NAME": "Name", + "DESCRIPTION": "Description", + "TECHNICAL_OWNERS": "Technical owners", + "DESTINATIONS": "Destinations", + "HOSTS": "Hosts", + "NO_FACILITIES_WARNING": "No facilities found" + } + }, + "IDENTITY_DETAIL": { + "TITLE": "Identity detail", + "ADD": "Add", + "REMOVE": "Remove", + "SAVE": "Save" + } + }, + "ROLES": { + "TITLE": "Roles", + "VOADMIN": "Vo admin", + "VOADMIN_VOS": "Organizations you are manager of", + "VOOBSERVER": "Vo observer", + "VOOBSERVER_VOS": "Organizations you are observer of", + "TOPGROUPCREATOR": "Top group creator", + "TOPGROUPCREATOR_VOS": "Organizations, where you can create groups", + "PERUN_ADMIN": "Perun admin", + "SELF": "Self", + "SELF_VOS": "Organizations you are member of", + "SELF_IDENTITIES": "Identities linked to your Perun account", + "SELF_VOS_ADMIN": "Organizations where user is member", + "SELF_IDENTITIES_ADMIN": "User's identities", + "FACILITYADMIN": "Facility admin", + "FACILITYADMIN_FACILITIES": "Facilities you are manager of", + "FACILITYOBSERVER": "Facility observer", + "FACILITYOBSERVER_FACILITIES": "Facilities you are observer of", + "TRUSTEDFACILITYADMIN": "Trusted facility admin", + "TRUSTEDFACILITYADMIN_VOS": "Virtual organizations you are trusted facility admin in", + "GROUPOBSERVER": "Group observer", + "GROUPOBSERVER_GROUPS": "Groups you are observer of", + "GROUPADMIN": "Group admin", + "GROUPADMIN_GROUPS": "Groups you are manager of", + "RESOURCEADMIN": "Resource admin", + "RESOURCEADMIN_RESOURCES": "Resources you are manager of", + "SPONSOR": "Sponsor", + "SPONSOR_VOS": "Organizations, where you are sponsor", + "SPONSORSHIP": "Sponsorship", + "SPONSORSHIP_MEMBERS": "Members you are sponsor of", + "RESOURCESELFSERVICE": "Resource self service", + "RESOURCESELFSERVICE_RESOURCES": "Resources you are manager of", + "RESOURCEOBSERVER": "Resource observer", + "RESOURCEOBSERVER_RESOURCES": "Resources you are observer of" + }, + "SHARED_LIB": { + "PERUN": { + "LOGIN": { + "SIGN_IN": "Sign in", + "TEXT": "You must sign in to continue." + }, + "COMPONENTS": { + "GROUPS_LIST": { + "TABLE_GROUP_ID": "Id", + "TABLE_VO_NAME": "Organization", + "TABLE_GROUP_NAME": "Name", + "TABLE_SEARCH": "Filter by name, description or ID", + "TABLE_GROUP_DESCRIPTION": "Description", + "TABLE_GROUP_EXPIRATION": "Expiration", + "DISABLED_HINT": "You cannot add members to this group or user is already member.", + "ALREADY_MEMBER_TOOLTIP": "User is already member of group", + "CREATE_RELATION_AUTH_TOOLTIP": "You don't have permission to create relation with this group.", + "SYNCHRONIZED_GROUP": "Group is filled with members from external source" + }, + "GROUP_MENU": { + "MOVE": "Move group", + "RENAME": "Update name/description", + "COPY": "Copy group name to clipboard" + }, + "GROUP_SEARCH_SELECT": { + "SELECT_GROUP": "Select group", + "FIND_GROUP": "Find group...", + "NO_GROUP_FOUND": "No matching group found" + }, + "VOS_LIST": { + "ID": "Id", + "NAME": "Name", + "SHORTNAME": "Short name" + }, + "VO_SEARCH_SELECT": { + "SELECT_VO": "Select organization", + "FIND_VO": "Find organization...", + "NO_VO_FOUND": "No matching vo found" + }, + "RESOURCES_LIST": { + "TITLE": "Resources", + "DELETE": "Remove selected", + "TABLE_RESOURCE_ID": "id", + "TABLE_RESOURCE_NAME": "Name", + "TABLE_VO_NAME": "Organization", + "TABLE_FACILITY_NAME": "Facility name", + "TABLE_RESOURCE_TAGS": "Tags", + "TABLE_SEARCH": "Filter", + "TABLE_RESOURCE_DESCRIPTION": "Description", + "NO_RESOURCES_WARNING": "No resources assigned." + }, + "RESOURCE_SEARCH_SELECT": { + "SELECT_RESOURCE": "Select resource", + "FIND_RESOURCE": "Find resource...", + "NO_RESOURCE_FOUND": "No matching resource found" + }, + "MEMBER_SEARCH_SELECT": { + "SELECT_MEMBER": "Select member", + "FIND_MEMBER": "Find member...", + "NO_MEMBER_FOUND": "No matching member found" + }, + "FACILITY_SEARCH_SELECT": { + "SELECT_FACILITY": "Select facility", + "FIND_FACILITY": "Find facility...", + "NO_FACILITY_FOUND": "No matching facility found" + }, + "APP_FORM_ITEM_SEARCH_SELECT": { + "SELECT_ITEM": "Select item", + "FIND_ITEM": "Find item...", + "NO_ITEM_FOUND": "No matching item found", + "NO_ITEM": "No item selected (empty value)", + "NEW_ITEM": "-- new item --" + }, + "USER_SEARCH_SELECT": { + "SELECT_USER": "Select user", + "FIND_USER": "Find user...", + "NO_USER_FOUND": "No matching user found" + }, + "ATTRIBUTE_VALUE_LIST": { + "EDIT_DIALOG": { + "TITLE": "Edit attribute value", + "SUBMIT_BUTTON": "Submit", + "CANCEL_BUTTON": "Cancel" + }, + "DELETE_DIALOG": { + "TITLE": "Delete attribute value", + "DESCRIPTION": "Do you really want to delete this attribute list value from list?", + "SUBMIT_BUTTON": "Delete", + "CANCEL_BUTTON": "Cancel" + } + }, + "ATTRIBUTES_LIST": { + "FILTER": "Filter by id, name, value or description", + "ID": "Id", + "NAME": "Name", + "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.", + "CHECKBOX_TOOLTIP": "You don't have privileges to edit this attribute" + }, + "USER_DONT_EXIST": { + "TITLE": "Requested user (by ID or external identity) doesn't exist." + }, + "TABLE_OPTIONS": { + "EXPORT_TO_FILE": "Export to file" + }, + "NOTIFICATOR": { + "NOTIFICATION": { + "DEFAULT_ACTION": "Show", + "DIALOG_CLOSE": "Close", + "DIALOG_BUG_REPORT": "Report a bug", + "DEFAULT_RPC_ERROR_MESSAGE": "An operation failed.", + "PRIVILEGE_EXCEPTION": "You are not authorized to perform this action" + } + }, + "USER_EXT_SOURCES_LIST": { + "MAIL": "Email", + "EXT_SOURCE_NAME": "Federated identity", + "LOGIN": "Login", + "LAST_ACCESS": "Last access", + "NO_IDENTITIES": "No external identities found", + "ID": "Id", + "LOA": "Level of assurance" + }, + "BUG_REPORT": { + "TITLE": "Report a bug", + "SUBJECT": "Subject", + "SUBJECT_VALUE": "Reported error: ", + "SUBJECT_ERROR": "Subject cannot be empty.", + "MESSAGE": "Message", + "MESSAGE_PLACEHOLDER": "Please describe your problem and which of your actions lead to this problem.", + "MESSAGE_ERROR": "Please tell us something about the problem.", + "CANCEL": "Cancel", + "SEND": "Send", + "SUCCESS1": "Ticket with ID: ", + "SUCCESS2": " was created." + }, + "REMOVE_USER_EXT_SOURCE": { + "TITLE": "Remove user's external identity", + "DESCRIPTION": "Following external identity will be removed", + "ASK": "Are you sure you want to continue?", + "CANCEL": "Cancel", + "REMOVE": "Remove", + "SUCCESS": "User external source successfully removed" + }, + "PASSWORD_RESET": { + "TITLE": "Password reset", + "CHANGE_PASSWORD": "Change password", + "NAMESPACE": "Namespace", + "LOGIN": "Login", + "NOT_SUPPORTED": "Password reset is not supported for your current namespaces" + }, + "SHOW_VALUE": { + "CLOSE": "Close", + "COPY": "Copy to clipboard" + }, + "SERVICES_STATUS_LIST": { + "TABLE_SEARCH": "Filter by service name, id or state", + "TASK_ID": "Task ID", + "SERVICE_NAME": "Service", + "STATUS": "Status", + "BLOCKED": "Blocked", + "STARTED": "Started", + "ENDED": "Ended", + "NO_SERVICES_STATUS_WARNING": "No service configuration was propagated to this facility.", + "NOT_YET": "NOT YET" + }, + "TASK_RESULTS_LIST": { + "RESULT_ID": "Result id", + "DESTINATION": "Destination", + "TYPE": "Type", + "SERVICE": "Service", + "STATUS": "Status", + "TIME": "Time", + "RETURN_CODE": "Return code", + "STANDARD_MESSAGE": "Standard message", + "ERROR_MESSAGE": "Error message", + "NO_RESULTS_WARNING": "No task results found" + }, + "SESSION_EXPIRATION": { + "TITLE": "Session expiration", + "DESCRIPTION": "Your session has expired. Please sign in to continue.", + "SIGN_IN": "Sign in" + }, + "RECENTLY_VIEWED_ICON": { + "RECENT": "Recently viewed" + }, + "FOOTER": { + "ABOUT_PERUN": "About", + "HELP": "Help", + "PERUN_WEB": "Perun website", + "PERUN_TEAM": "Perun team", + "SUPPORT": "Support", + "USER_DOCUMENTATION": "Documentation", + "ADMINISTRATOR_DOCUMENTATION": "API Documentation", + "REPORT_ISSUE": "Report Issue", + "PRIVACY_POLICY": "Privacy Policy" + }, + "REPORT_ISSUE": { + "TITLE": "Report an issue", + "SUBJECT": "Subject", + "SUBJECT_ERROR": "Subject cannot be empty.", + "MESSAGE": "Message", + "MESSAGE_PLACEHOLDER": "Please describe the issue", + "MESSAGE_HINT": "Please try to describe in detail the problem.", + "CANCEL": "Cancel", + "SEND": "Send", + "SUCCESS": "Issue report was sended and got ticket number: " + }, + "UNIVERSAL_REMOVE_ITEMS_DIALOG": { + "ASK": "Do you want to proceed?", + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Submit" + }, + "MEMBER_TREEVIEW_DIALOG": { + "TITLE": "Indirect membership’s origin of {{name}}", + "INFO": "Member is coming to this group through the following group hierarchy.", + "DIRECT": "(Direct membership)", + "INCLUDE": "(Included group)", + "FILTER": "Search by group name", + "CLOSE": "Close", + "NO_PATHS": "No paths include the entered group name." + }, + "OWNERS_LIST": { + "ID": "Id", + "NAME": "Name", + "CONTACT": "Contact", + "TYPE": "Type", + "NO_OWNERS": "No owners found.", + "NO_FILTER_OWNERS": "No owners match the given filter" + }, + "MAIL_CHANGE_FAILED_DIALOG": { + "TITLE": "Preferred mail change failed", + "INFO": "Preferred email change request does not exist or is not valid anymore", + "CLOSE": "Close" + } + }, + "ORGANIZATIONS": { + "TITLE": "User organizations", + "FILTER": "Filter by name or ID", + "YOU_ARE_ADMIN": "Organizations where you are admin", + "YOU_ARE_MEMBER": "Organizations where you are member", + "USER_IS_ADMIN": "Organizations where user is admin", + "USER_IS_MEMBER": "Organizations where user is member" + }, + "GROUPS": { + "MEMBER_GROUPS": "Member groups", + "ADMINS_GROUPS": "Groups where user is admin" + }, + "REFRESH_BUTTON": "Refresh", + "SERVICES_CONFIGURATIONS": { + "ADD": "Add", + "SAVE": "Save" + } + }, + "UI": { + "ALERTS": { + "NO_GROUPS": "No groups found.", + "NO_ORGANIZATIONS": "No organizations found", + "NO_FILTER_RESULTS_ALERT": "No results match given search criteria.", + "NO_MEMBERS": "No members found", + "NO_USERS": "No users found.", + "NO_FACILITIES": "No facilities found." + } + } + } +} diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-blue.svg new file mode 100644 index 000000000..d76576670 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-blue.svg @@ -0,0 +1,37 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-grey.svg new file mode 100644 index 000000000..500287874 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-grey.svg @@ -0,0 +1,37 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-white.svg new file mode 100644 index 000000000..898bd1635 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/application_form-white.svg @@ -0,0 +1,37 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/applications-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/applications-blue.svg new file mode 100644 index 000000000..4b2870e2f --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/applications-blue.svg @@ -0,0 +1,25 @@ + + + + + + + + + + ]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/applications-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/applications-white.svg new file mode 100644 index 000000000..9610d4d12 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/applications-white.svg @@ -0,0 +1,25 @@ + + + + + + + + + + ]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/apply1-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/apply1-blue.svg new file mode 100644 index 000000000..d1810c472 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/apply1-blue.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/apply1-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/apply1-grey.svg new file mode 100644 index 000000000..40bb7ba56 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/apply1-grey.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/apply2-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/apply2-blue.svg new file mode 100644 index 000000000..272d4853e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/apply2-blue.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/apply2-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/apply2-grey.svg new file mode 100644 index 000000000..146dae84e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/apply2-grey.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/apply3-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/apply3-blue.svg new file mode 100644 index 000000000..fd0c11997 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/apply3-blue.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/apply3-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/apply3-grey.svg new file mode 100644 index 000000000..db57f55ce --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/apply3-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/arrow_push_or_forward.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/arrow_push_or_forward.svg new file mode 100644 index 000000000..36a6a63de --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/arrow_push_or_forward.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/attributes-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/attributes-blue.svg new file mode 100644 index 000000000..5039490cd --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/attributes-blue.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/attributes-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/attributes-white.svg new file mode 100644 index 000000000..58a12fe09 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/attributes-white.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/audit_log-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/audit_log-blue.svg new file mode 100644 index 000000000..5a13894a9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/audit_log-blue.svg @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/authentication-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/authentication-blue.svg new file mode 100644 index 000000000..59b2c9c5e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/authentication-blue.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/authentication-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/authentication-grey.svg new file mode 100644 index 000000000..85d977e27 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/authentication-grey.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/back.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/back.svg new file mode 100644 index 000000000..795e12cd7 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/back.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/black_list-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/black_list-grey.svg new file mode 100644 index 000000000..0957eee69 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/black_list-grey.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/black_list-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/black_list-white.svg new file mode 100644 index 000000000..ddca048e3 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/black_list-white.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-blue.svg new file mode 100644 index 000000000..26e38bed7 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-blue.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-grey.svg new file mode 100644 index 000000000..062e3f289 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-grey.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-red.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-red.svg new file mode 100644 index 000000000..886ef6d07 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/cancel-red.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-blue.svg new file mode 100644 index 000000000..3486f2f19 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-blue.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-grey.svg new file mode 100644 index 000000000..7f993da9a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-grey.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-red.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-red.svg new file mode 100644 index 000000000..cf9bda0e2 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/close_or_reject-red.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/contact-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/contact-blue.svg new file mode 100644 index 000000000..9121e7830 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/contact-blue.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/contact-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/contact-grey.svg new file mode 100644 index 000000000..2573235b2 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/contact-grey.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-blue.svg new file mode 100644 index 000000000..e040ada1c --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-blue.svg @@ -0,0 +1,36 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-grey.svg new file mode 100644 index 000000000..b4852f58f --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/copy_from-grey.svg @@ -0,0 +1,36 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create1-green.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create1-green.svg new file mode 100644 index 000000000..db7d46918 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create1-green.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create1-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create1-grey.svg new file mode 100644 index 000000000..cb673938a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create1-grey.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create1-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create1-white.svg new file mode 100644 index 000000000..45f63f5ab --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create1-white.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create2-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create2-blue.svg new file mode 100644 index 000000000..9b34acc29 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create2-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create2-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create2-grey.svg new file mode 100644 index 000000000..2d02c89b9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create2-grey.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create3-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create3-blue.svg new file mode 100644 index 000000000..42017cfa2 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create3-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/create3-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/create3-grey.svg new file mode 100644 index 000000000..e9228df5b --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/create3-grey.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/delete-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/delete-grey.svg new file mode 100644 index 000000000..2e5c26d69 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/delete-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/delete-red.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/delete-red.svg new file mode 100644 index 000000000..dfe266d4e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/delete-red.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/disabled.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/disabled.svg new file mode 100644 index 000000000..e93278ba3 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/disabled.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/edit1-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/edit1-blue.svg new file mode 100644 index 000000000..ab7d3436a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/edit1-blue.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/edit1-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/edit1-grey.svg new file mode 100644 index 000000000..214479231 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/edit1-grey.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/edit2-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/edit2-blue.svg new file mode 100644 index 000000000..9a0c8ec73 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/edit2-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/edit2-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/edit2-grey.svg new file mode 100644 index 000000000..37fc8c6b6 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/edit2-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/expired.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/expired.svg new file mode 100644 index 000000000..072ae3958 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/expired.svg @@ -0,0 +1,14 @@ + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-grey.svg new file mode 100644 index 000000000..adb8486f0 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-grey.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-white.svg new file mode 100644 index 000000000..54bd255a1 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/external_sources-white.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/facility-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-blue.svg new file mode 100644 index 000000000..fb79e3e99 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-blue.svg @@ -0,0 +1,38 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/facility-dark.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-dark.svg new file mode 100644 index 000000000..8855ee673 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-dark.svg @@ -0,0 +1,25 @@ + + + + + + + + + + ]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/facility-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-grey.svg new file mode 100644 index 000000000..8c1d2634c --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-grey.svg @@ -0,0 +1,38 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/facility-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-white.svg new file mode 100644 index 000000000..91c331e15 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/facility-white.svg @@ -0,0 +1,25 @@ + + + + + + + + + + ]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/facility.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/facility.svg new file mode 100644 index 000000000..b19e386c6 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/facility.svg @@ -0,0 +1,25 @@ + + + + + + + + + + ]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/filter-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/filter-blue.svg new file mode 100644 index 000000000..004d25c26 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/filter-blue.svg @@ -0,0 +1,14 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/filter-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/filter-grey.svg new file mode 100644 index 000000000..8c9a9eb2d --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/filter-grey.svg @@ -0,0 +1,14 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/group-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/group-blue.svg new file mode 100644 index 000000000..20d188cf9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/group-blue.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/group-dark.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/group-dark.svg new file mode 100644 index 000000000..7dca8033f --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/group-dark.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/group-green.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/group-green.svg new file mode 100644 index 000000000..5b28830a8 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/group-green.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/group-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/group-grey.svg new file mode 100644 index 000000000..5ced6f9bf --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/group-grey.svg @@ -0,0 +1,37 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/group-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/group-white.svg new file mode 100644 index 000000000..919482277 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/group-white.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/home.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/home.svg new file mode 100644 index 000000000..bccdb71c0 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/home.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/host-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/host-blue.svg new file mode 100644 index 000000000..257b32be3 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/host-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/host-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/host-grey.svg new file mode 100644 index 000000000..d44a03658 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/host-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-blue.svg new file mode 100644 index 000000000..5e5a078ce --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-grey.svg new file mode 100644 index 000000000..9ba758160 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator1-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-blue.svg new file mode 100644 index 000000000..5e1a98e68 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-blue.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-grey.svg new file mode 100644 index 000000000..364cebf22 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/identity_consolidator2-grey.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/info-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/info-blue.svg new file mode 100644 index 000000000..1ce8ec2a2 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/info-blue.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/info-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/info-grey.svg new file mode 100644 index 000000000..5c4465a88 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/info-grey.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/invalid.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/invalid.svg new file mode 100644 index 000000000..ee0f0021f --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/invalid.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-blue.svg new file mode 100644 index 000000000..1a92c2312 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-blue.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-grey.svg new file mode 100644 index 000000000..9f538738e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-grey.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-white.svg new file mode 100644 index 000000000..6b0e517f0 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/invite_member-white.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/logout-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/logout-blue.svg new file mode 100644 index 000000000..cc0655746 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/logout-blue.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/logout-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/logout-grey.svg new file mode 100644 index 000000000..de805b1bb --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/logout-grey.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_blue.svg new file mode 100644 index 000000000..32135c632 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_blue.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_orange.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_orange.svg new file mode 100644 index 000000000..c8c23875a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_orange.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_purple.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_purple.svg new file mode 100644 index 000000000..05852796a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_purple.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_white.svg new file mode 100644 index 000000000..a643c5699 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manage_facility_white.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manager-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manager-blue.svg new file mode 100644 index 000000000..74690699c --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manager-blue.svg @@ -0,0 +1,13 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manager-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manager-grey.svg new file mode 100644 index 000000000..c77f62f20 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manager-grey.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/manager-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/manager-white.svg new file mode 100644 index 000000000..633b1828f --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/manager-white.svg @@ -0,0 +1,13 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/member-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/member-blue.svg new file mode 100644 index 000000000..8b2672c40 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/member-blue.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/module.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/module.svg new file mode 100644 index 000000000..b39eea2f9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/module.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/module_dependencies.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/module_dependencies.svg new file mode 100644 index 000000000..fc18f265e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/module_dependencies.svg @@ -0,0 +1,21 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_down-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_down-blue.svg new file mode 100644 index 000000000..935c477ee --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_down-blue.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_down-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_down-grey.svg new file mode 100644 index 000000000..97b2c042d --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_down-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-blue.svg new file mode 100644 index 000000000..afe825cf7 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-blue.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-grey.svg new file mode 100644 index 000000000..ce23b5043 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_left-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-blue.svg new file mode 100644 index 000000000..43b3b72af --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-blue.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-grey.svg new file mode 100644 index 000000000..9ddf05386 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_tab_right-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_up-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_up-blue.svg new file mode 100644 index 000000000..aa5956576 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_up-blue.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/move_up-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/move_up-grey.svg new file mode 100644 index 000000000..41a688c2b --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/move_up-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/note-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/note-blue.svg new file mode 100644 index 000000000..6dfb70990 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/note-blue.svg @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/notification-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/notification-blue.svg new file mode 100644 index 000000000..c06eccb54 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/notification-blue.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/notification-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/notification-grey.svg new file mode 100644 index 000000000..644887d5d --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/notification-grey.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/notification-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/notification-white.svg new file mode 100644 index 000000000..c06eccb54 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/notification-white.svg @@ -0,0 +1,29 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/owner-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/owner-blue.svg new file mode 100644 index 000000000..7449868e8 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/owner-blue.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/owner-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/owner-grey.svg new file mode 100644 index 000000000..5ed9a4da6 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/owner-grey.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun.ico b/dist/apps/admin-gui/assets/img/PerunWebImages/perun.ico new file mode 100644 index 0000000000000000000000000000000000000000..167b0c7f70c0cb7b0cc4aa283913a18c3dcfdb7f GIT binary patch literal 4286 zcmbVPc~n%_8UMZ68IVN;S+r<_8yfXgW8+DzTiR;sTE!H?E(ppN6}M`Qrdo3-Jt#{B z0Z~9e0a3wyiA%I9Zs$Z}QZ?>2E{L)SGtA8Gci+q#1_b}e<^1N}ci(rv-?!a+AAmrA zefog^qSP612QZL8Qy53!^S`uB>mgGH`=UqBm1~Fk_knBhKtXMoJsTYM8VJ(3WB*I} zq;*^$Z?k$Ut zYLcw2o{*t%^h_(5Azaee{${xA2ZNo_Yrc(!z0h#Z1K~z^7``tr7$o zZ=J^GUEI<;TW&s{q=jnO2p?ZuHr~aB=7)hZd*!4CqH*(Fuq{zw*=Cr?j$?lhkoos} zZ-67f1kxubh<0$@l5c$6u}SYFZh9{a=`lv;YxlkiSf_{_f)U=C8RzgFV~Vr2O-rZa zby_eOx52_M^{tr^xVs@xHWwJL#DEDJ=b^ni%}ZxC*x7jqTCD@w-Cg15=HR^WPs-n> zhYCd*#FIQ3I^1A7Ts1P~si*ZxpS!-<6atnN+1`dN^UTj=$IY*1D`rg^VdqV|LJ7yd zJRWbw!PaLe)e4|MvD#lTjn*Hb_`b;@eK}DuZ4LtKot}0d*BHZ9#da|R@v}~q&Ao`9XAKRMb zzo*7sl{8KMF_+D=AeVX$?o)OoOdEofx^9PWHR2*O;sV)lk(s(xUU{7u>{*{dx#0E4 z<)!sfpG$UdYzz^Kfj=tS*vjN9 zn~eAm*+H;Bc)M{?kb8Y*sM%KA^|s^eDB(M*1$#@p#agh8X}_#e@S3re=VM-9DZz5n zn$PSFYyPY>Et-HjTwu*2_c`LXz@hBg%f;bd_1O`Y7})qA>7>})`N&V}LH@TpALv=! zBYE?|@)xuRujkc~ZcROljy&_t%&8x{BCx<1A}J4Kq6IzumAr z_PzQ7%0Wjx{F!3gl<=uym`s3pesbR}{wr3`l>aWj6MjCI5e%c(-t$ekL~*~uV{hgr zexo+;#QlJkvl_>yepNSUYh|5B*6w@jBkiAV>)?lE&#GCnspPNq9x?N~DbpiR&AGO9 zf?Uc$Nc6BLV&2a(1I`dmvsRp@8aT~bVk3NCB9EcDT5#Hbs$ccO>ev?)Yb z4!BwQdr~goHN=5x^;&1#d@i4InHva(s{0SQ&%{am#C_7#ijz$5SpH*ON~lJcN4e^h zSF(lYAPV0CKgk9S8Dl=11;|6jIrQHegP*(N=kt6IhQ^J4MZW8Cip~JeeZr*2ae6+^ zbd#3`zR06}@-7|x9p9h8Sh>u(yI6CA5~^i0HNP()+X}lvtl6*RFs;sR|Dz`2*5ic8 ztH)8YLj-GF65#N3E7?i9Oog? z8l0K?9N$p$GMM?4aALutOfg7)8`AuKhLK#tD_#=J&LQ z`$q3|JK~_XfRA-M;-Ta7S@WPz4?=6QKXl2{Vd$Nl{eW_Az!A!W$ZgVLzlr!c*vqs4 z)KRUs@U^xmBAo>U;=41tpWtHVcT#ML61En`;Wf#=v?30*G*?Txe3?5JuZMsAkGuW< zmHlkY^7+p`PKO+8TxMAb#Ge?UKGU=NQW&*XG40Ju$X_= z@xAY?Rw_U6^>8hikCVj-c(fw{585Ff_es~oxB!>yRQpD%JBmB;9U?9s^FyrFb>qI9 z6W1>MZ@=_iKWPeXJwip}i@zrN{ZJf_2ZZ|)D4tI;!i8nP98G^$C!6m9CzbyQZ6C_@ z6_UA0_+CPB9KJ7{j~hinxFeK5en@_|T74GdZPeNCdeV>t(m0=?Vazf=R3J3x@p zR#b0}lEs$B;~e1|TTmUGT076{oMQK@I!m3kpo(f>A7L-qaF7|oBS)Uu9*xtMbtkAl zQ9>w=#i7Mh)V>NwE&oR5HE(U)e+jN0Jt-~;%A6SC%aTMKpg2@h3`9^|s&hke&@<=c z9jY_Eg}X)M-b*%AGM#4o<439C>Z4R+2Pg(rrHQB_Jypp8!Y4$?{kGn_Rs$>p$p+e& zO8*aCJxIr8MqN~sPif+C0S;l5gV_mJX*ep1&1-k2 zhRJ6Dlhg`VCB;{Yb$fQsExj|3-IdXkHT@}vIb{p6wPGRi$`>Jz{K?<>8H!N&zk62x zO5!gk{&JDOnfit$Vcw-B3s967BP2LF{K{ec`;)BqeS7A&pE$o(%#n|3U4Z<<>LjF9 zFGaeDB}gxeMb4Dv5mn%R@3#2Oxh3podY9bmw^9R@Nj_dKJ%C|itxG<>&Db_0$?#r9 z|3^{Ev~&(mJ&=TDRg1B-not&xmFwdCHpt4FYQ>mKyf(d1X4GrHJ{?AvjP;(Ebhoi} zJ!+Gc$+a4-W~2`s2YJF}fCpTLdZ7DgCESFPH~Ua-d`x)s7Aj1SQPz4pEOeEsZe?n_ zdheRG>o?q*^lMc`<6BVDyrNv!uUpYw?Kn2ROMWJ`mtz^b=R}Y*wg&WZ whp{by6G6@K$_DpnOpx2+B-M)rd|s62>kV|da$STk>7#>m3yc{ECK^-wKiCXb@c;k- literal 0 HcmV?d00001 diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-blue.svg new file mode 100644 index 000000000..d629747ce --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-blue.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-dark.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-dark.svg new file mode 100644 index 000000000..a51e82663 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-dark.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-grey.svg new file mode 100644 index 000000000..ff7a46b50 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-grey.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-red.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-red.svg new file mode 100644 index 000000000..bcb15a162 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-red.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-white.svg new file mode 100644 index 000000000..a6c62d2dd --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_admin-white.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/perun_logo-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_logo-white.svg new file mode 100644 index 000000000..c81110578 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/perun_logo-white.svg @@ -0,0 +1,74 @@ + + + +image/svg+xml + + + + + + + \ No newline at end of file diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/preview-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/preview-white.svg new file mode 100644 index 000000000..8acb7db63 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/preview-white.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/propagation-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/propagation-blue.svg new file mode 100644 index 000000000..b26bfbef0 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/propagation-blue.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/propagations-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/propagations-blue.svg new file mode 100644 index 000000000..ff84c2f28 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/propagations-blue.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/propagations-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/propagations-grey.svg new file mode 100644 index 000000000..517d7bb32 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/propagations-grey.svg @@ -0,0 +1,28 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/publications-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/publications-blue.svg new file mode 100644 index 000000000..0632c7ddd --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/publications-blue.svg @@ -0,0 +1,40 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/publications-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/publications-grey.svg new file mode 100644 index 000000000..550dde8ea --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/publications-grey.svg @@ -0,0 +1,40 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-blue.svg new file mode 100644 index 000000000..e22299d78 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-grey.svg new file mode 100644 index 000000000..ae2794aaf --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_page-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-black.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-black.svg new file mode 100644 index 000000000..7b4c32c40 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-black.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-grey.svg new file mode 100644 index 000000000..ed5d28f4d --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/refresh_tab-grey.svg @@ -0,0 +1,30 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/relations-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/relations-blue.svg new file mode 100644 index 000000000..db30f7635 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/relations-blue.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/relations-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/relations-grey.svg new file mode 100644 index 000000000..633ca1374 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/relations-grey.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/remove.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/remove.svg new file mode 100644 index 000000000..94d0c3ae0 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/remove.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resource-black.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resource-black.svg new file mode 100644 index 000000000..35e6781da --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resource-black.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resource-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resource-blue.svg new file mode 100644 index 000000000..3ac6ce6f6 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resource-blue.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resource-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resource-white.svg new file mode 100644 index 000000000..26b4d17ca --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resource-white.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-blue.svg new file mode 100644 index 000000000..88ce2d8ec --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-blue.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-grey.svg new file mode 100644 index 000000000..c7f03e6f6 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-grey.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-white.svg new file mode 100644 index 000000000..88ce2d8ec --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resource_tags-white.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-blue.svg new file mode 100644 index 000000000..4ec4161f8 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-blue.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-grey.svg new file mode 100644 index 000000000..a465e2327 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-grey.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-white.svg new file mode 100644 index 000000000..4ec4161f8 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/resources_state-white.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/save-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/save-blue.svg new file mode 100644 index 000000000..5d6b4f861 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/save-blue.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/save-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/save-grey.svg new file mode 100644 index 000000000..f17cefd45 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/save-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/searcher-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/searcher-blue.svg new file mode 100644 index 000000000..930ef3206 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/searcher-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/searcher-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/searcher-grey.svg new file mode 100644 index 000000000..1b865fa4a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/searcher-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-blue.svg new file mode 100644 index 000000000..4db034998 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-blue.svg @@ -0,0 +1,45 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-grey.svg new file mode 100644 index 000000000..a0cff6606 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/security_admin-grey.svg @@ -0,0 +1,45 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service-grey.svg new file mode 100644 index 000000000..b64facfd4 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service-white.svg new file mode 100644 index 000000000..361f6206e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service-white.svg @@ -0,0 +1,15 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-blue.svg new file mode 100644 index 000000000..76b14db6c --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-blue.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-grey.svg new file mode 100644 index 000000000..46b4125c9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_destination-grey.svg @@ -0,0 +1,35 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-blue.svg new file mode 100644 index 000000000..1424ccf4e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-blue.svg @@ -0,0 +1,44 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-grey.svg new file mode 100644 index 000000000..f750d1466 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-grey.svg @@ -0,0 +1,44 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-white.svg new file mode 100644 index 000000000..28d91372c --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_identity-white.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-blue.svg new file mode 100644 index 000000000..19a670c04 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-blue.svg @@ -0,0 +1,19 @@ + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-grey.svg new file mode 100644 index 000000000..2d4d5c56f --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_packages-grey.svg @@ -0,0 +1,19 @@ + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_status-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_status-blue.svg new file mode 100644 index 000000000..ca1269afa --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_status-blue.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/service_status-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/service_status-grey.svg new file mode 100644 index 000000000..1de8f8d0e --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/service_status-grey.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/settings1-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/settings1-blue.svg new file mode 100644 index 000000000..5b802c08a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/settings1-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/settings1-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/settings1-grey.svg new file mode 100644 index 000000000..d50e3d01a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/settings1-grey.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/settings2-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/settings2-blue.svg new file mode 100644 index 000000000..ffdbdea52 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/settings2-blue.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/settings2-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/settings2-white.svg new file mode 100644 index 000000000..3cbcc5e63 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/settings2-white.svg @@ -0,0 +1,24 @@ + + + + + + + + + + ]> + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/statistics-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/statistics-blue.svg new file mode 100644 index 000000000..a5b5aa471 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/statistics-blue.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/statistics-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/statistics-grey.svg new file mode 100644 index 000000000..857501cb1 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/statistics-grey.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-blue.svg new file mode 100644 index 000000000..65ea3fa7d --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-blue.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-grey.svg new file mode 100644 index 000000000..1c20d609c --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/subgroup-grey.svg @@ -0,0 +1,41 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/user-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/user-blue.svg new file mode 100644 index 000000000..a0d72a784 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/user-blue.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/user-dark.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/user-dark.svg new file mode 100644 index 000000000..d82c60620 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/user-dark.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/user-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/user-grey.svg new file mode 100644 index 000000000..50f38d8ac --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/user-grey.svg @@ -0,0 +1,31 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/user-pink.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/user-pink.svg new file mode 100644 index 000000000..b94b8b459 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/user-pink.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/user-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/user-white.svg new file mode 100644 index 000000000..c92cd0e53 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/user-white.svg @@ -0,0 +1,23 @@ + + + + + + + + + + ]> + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/user_destination_relationship.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/user_destination_relationship.svg new file mode 100644 index 000000000..fa1cd6af9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/user_destination_relationship.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/valid.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/valid.svg new file mode 100644 index 000000000..bd9bcd7d9 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/valid.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/verify-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/verify-blue.svg new file mode 100644 index 000000000..9a7aa2ffe --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/verify-blue.svg @@ -0,0 +1,33 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/verify-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/verify-grey.svg new file mode 100644 index 000000000..ef0082ed4 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/verify-grey.svg @@ -0,0 +1,33 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/vo-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-blue.svg new file mode 100644 index 000000000..cb940e9e8 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-blue.svg @@ -0,0 +1,32 @@ + + + + + + + + + + ]> + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/vo-dark.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-dark.svg new file mode 100644 index 000000000..fab52177b --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-dark.svg @@ -0,0 +1,32 @@ + + + + + + + + + + ]> + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/vo-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-grey.svg new file mode 100644 index 000000000..89406e79d --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-grey.svg @@ -0,0 +1,51 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/vo-white.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-white.svg new file mode 100644 index 000000000..73fd93526 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/vo-white.svg @@ -0,0 +1,32 @@ + + + + + + + + + + ]> + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/vo.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/vo.svg new file mode 100644 index 000000000..cb940e9e8 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/vo.svg @@ -0,0 +1,32 @@ + + + + + + + + + + ]> + + + + + + + + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/warning-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/warning-blue.svg new file mode 100644 index 000000000..bf31b6f3a --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/warning-blue.svg @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/white_list-blue.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/white_list-blue.svg new file mode 100644 index 000000000..4368c6639 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/white_list-blue.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/assets/img/PerunWebImages/white_list-grey.svg b/dist/apps/admin-gui/assets/img/PerunWebImages/white_list-grey.svg new file mode 100644 index 000000000..fc3e6c824 --- /dev/null +++ b/dist/apps/admin-gui/assets/img/PerunWebImages/white_list-grey.svg @@ -0,0 +1,32 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/admin-gui/index.html b/dist/apps/admin-gui/index.html new file mode 100644 index 000000000..f7cb347db --- /dev/null +++ b/dist/apps/admin-gui/index.html @@ -0,0 +1,31 @@ + + + + + Perun Web Gui + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/dist/apps/admin-gui/main-es2015.a3f8ebcf6d4383a45e75.js b/dist/apps/admin-gui/main-es2015.a3f8ebcf6d4383a45e75.js new file mode 100644 index 000000000..77d4d6971 --- /dev/null +++ b/dist/apps/admin-gui/main-es2015.a3f8ebcf6d4383a45e75.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+0js":function(t,e,i){"use strict";i.d(e,"d",(function(){return C})),i.d(e,"e",(function(){return k})),i.d(e,"h",(function(){return F})),i.d(e,"g",(function(){return z})),i.d(e,"i",(function(){return K})),i.d(e,"l",(function(){return $})),i.d(e,"m",(function(){return ot})),i.d(e,"n",(function(){return at})),i.d(e,"f",(function(){return dt})),i.d(e,"b",(function(){return pt})),i.d(e,"a",(function(){return ft})),i.d(e,"c",(function(){return At})),i.d(e,"o",(function(){return Ct})),i.d(e,"k",(function(){return Bt})),i.d(e,"j",(function(){return jt}));var n=i("2kYt"),s=i("s2Ay"),o=i("FlRo"),r=i("OZ4H"),a=i("PBFl"),c=i("29Wa"),l=i("nIj0"),u=i("Cd2c"),h=i("csyo"),d=i("F1o0"),p=i("gcUQ"),f=i("HHFY"),g=i("bFHC"),b=(i("t47Z"),i("KoHB"),i("sEIs")),m=i("QcI7"),A=i("EM62"),y=i("Ssnw"),w=i("X2Q7"),v=i("nyAh"),_=i("SAuR");function S(t,e){1&t&&A.Nb(0,"mat-spinner",4)}function E(t,e){if(1&t){const t=A.Tb();A.Sb(0,"div"),A.Sb(1,"div",5),A.Sb(2,"p"),A.Sb(3,"strong"),A.Jc(4),A.ec(5,"translate"),A.Rb(),A.Jc(6),A.ec(7,"parseDate"),A.Rb(),A.Sb(8,"p"),A.Sb(9,"strong"),A.Jc(10),A.ec(11,"translate"),A.Rb(),A.Jc(12),A.ec(13,"parseDate"),A.Rb(),A.Sb(14,"mat-radio-group",6),A.Zb("ngModelChange",(function(e){return A.xc(t),A.dc().newExpiration=e})),A.Sb(15,"mat-radio-button",7),A.Sb(16,"mat-form-field",8),A.Zb("click",(function(){return A.xc(t),A.tc(23).open()})),A.Sb(17,"mat-label"),A.Jc(18),A.ec(19,"translate"),A.Rb(),A.Sb(20,"input",9),A.Zb("dateChange",(function(){return A.xc(t),A.dc().setExpiration()})),A.Rb(),A.Nb(21,"mat-datepicker-toggle",10),A.Nb(22,"mat-datepicker",11,12),A.Rb(),A.Rb(),A.Sb(24,"mat-radio-button",13),A.Jc(25),A.ec(26,"translate"),A.Rb(),A.Rb(),A.Rb(),A.Sb(27,"div",14),A.Sb(28,"button",15),A.Zb("click",(function(){return A.xc(t),A.dc().onCancel()})),A.Jc(29),A.ec(30,"translate"),A.Rb(),A.Sb(31,"button",16),A.Zb("click",(function(){return A.xc(t),A.dc().onChange()})),A.Jc(32),A.ec(33,"translate"),A.Rb(),A.Rb(),A.Rb()}if(2&t){const t=A.tc(23),e=A.dc();A.Ab(4),A.Kc(A.fc(5,17,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),A.Ab(2),A.Lc(" ",A.fc(7,19,e.currentExpiration),""),A.Ab(4),A.Kc(A.fc(11,21,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),A.Ab(2),A.Lc(" ",e.newExpiration?A.fc(13,23,e.newExpiration):"never",""),A.Ab(2),A.kc("ngModel",e.newExpiration),A.Ab(1),A.lc("value",e.expirationControl.value),A.Ab(3),A.Kc(A.fc(19,25,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),A.Ab(2),A.kc("min",e.minDate)("formControl",e.expirationControl)("matDatepicker",t),A.Ab(1),A.kc("for",t)("disabled",!1),A.Ab(1),A.kc("disabled",!1),A.Ab(3),A.Lc(" ",A.fc(26,27,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),A.Ab(4),A.Lc(" ",A.fc(30,29,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),A.Ab(2),A.kc("disabled",e.expirationControl.invalid),A.Ab(1),A.Lc(" ",A.fc(33,31,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}}let C=(()=>{class t{constructor(t,e,i,n,s,o){switch(this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.translate=s,this.notificator=o,this.mode="vo",this.title="",s.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t),this.data.mode){case"group":s.get("DIALOGS.CHANGE_EXPIRATION.TITLE_GROUP").subscribe(t=>this.title=t);break;case"vo":s.get("DIALOGS.CHANGE_EXPIRATION.TITLE_VO").subscribe(t=>this.title=t);break;case"sponsor":s.get("DIALOGS.CHANGE_EXPIRATION.TITLE_SPONSORSHIP").subscribe(t=>this.title=t)}}ngOnInit(){this.mode=this.data.mode;const t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),"sponsor"!==this.mode?(this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.expirationControl=new l.g(this.currentExpiration),this.newExpiration=this.currentExpiration,"never"===this.expirationControl.value&&this.expirationControl.setValue(null)):(this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.expirationControl=new l.g(this.data.sponsor.validityTo),this.newExpiration=this.currentExpiration)}onChange(){this.loading=!0,"sponsor"!==this.mode?this.expirationAttr?this.changeExpiration():this.attributesManagerService.getAttributeDefinitionByName("vo"===this.mode?v.a.MEMBER_DEF_EXPIRATION:v.a.MEMBER_DEF_GROUP_EXPIRATION).subscribe(t=>{this.expirationAttr=t,this.changeExpiration()}):this.changeSponsorshipExpiration()}onCancel(){this.dialogRef.close(!1)}setExpiration(){this.newExpiration=Object(n.I)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue(Object(n.I)(this.expirationControl.value,"yyyy-MM-dd","en"))}changeExpiration(){this.expirationAttr.value="never"===this.newExpiration?null:this.newExpiration,"group"===this.mode?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):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)}changeSponsorshipExpiration(){this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===this.newExpiration?null:this.newExpiration).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)(A.Mb(r.i),A.Mb(r.a),A.Mb(w.c),A.Mb(w.i),A.Mb(s.e),A.Mb(y.l))},t.\u0275cmp=A.Gb({type:t,selectors:[["perun-web-apps-change-expiration-dialog"]],decls:5,vars:3,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["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","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""],["value","never"],["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&&(A.Sb(0,"div",0),A.Sb(1,"h1",1),A.Jc(2),A.Rb(),A.Hc(3,S,1,0,"mat-spinner",2),A.Hc(4,E,34,33,"div",3),A.Rb()),2&t&&(A.Ab(2),A.Kc(e.title),A.Ab(1),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading))},directives:[r.j,n.t,h.c,r.g,d.b,l.r,l.u,d.a,c.c,c.g,u.b,l.c,p.f,l.h,p.h,c.j,p.d,r.c,a.b],pipes:[s.d,_.a],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none} .mat-form-field.mat-focused .mat-form-field-underline{display:none}"]}),t})();function R(t,e){1&t&&A.Nb(0,"mat-spinner",6)}function T(t,e){if(1&t&&(A.Sb(0,"div",7),A.Sb(1,"div",8),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Sb(4,"div",9),A.Jc(5),A.ec(6,"translate"),A.Rb(),A.Sb(7,"div",8),A.Jc(8),A.ec(9,"translate"),A.Rb(),A.Sb(10,"div",10),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Rb()),2&t){const t=A.dc();A.Ab(2),A.Mc("",A.fc(3,5,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," : ",t.data.member.status,""),A.Ab(3),A.Kc(A.fc(6,7,"DIALOGS.CHANGE_STATUS.INVALID_DESCRIPTION")),A.Ab(3),A.Lc("",A.fc(9,9,"DIALOGS.CHANGE_STATUS.NEW_STATUS"),": VALID"),A.Ab(3),A.Kc(A.fc(12,11,"DIALOGS.CHANGE_STATUS.CHANGE_VALID"))}}let k=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.memberManager=i,this.notificatorService=n,this.translate=s,this.route=o,this.loading=!1}ngOnInit(){this.route.params.subscribe(t=>{this.theme=t.groupId?"group-theme":"vo-theme"})}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.memberManager.setStatus(this.data.member.id,"VALID").subscribe(()=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(t=>{this.notificatorService.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(A.Mb(r.i),A.Mb(r.a),A.Mb(w.i),A.Mb(y.l),A.Mb(s.e),A.Mb(b.a))},t.\u0275cmp=A.Gb({type:t,selectors:[["perun-web-apps-change-member-status-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold","pb-1"],[1,"text-muted","pb-3"],[1,"text-muted"]],template:function(t,e){1&t&&(A.Sb(0,"div"),A.Sb(1,"h1",0),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Hc(4,R,1,0,"mat-spinner",1),A.Hc(5,T,13,13,"div",2),A.Sb(6,"div",3),A.Sb(7,"button",4),A.Zb("click",(function(){return e.cancel()})),A.Jc(8),A.ec(9,"translate"),A.Rb(),A.Sb(10,"button",5),A.Zb("click",(function(){return e.submit()})),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Cb(e.theme),A.Ab(2),A.Kc(A.fc(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),A.Ab(2),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading),A.Ab(3),A.Lc(" ",A.fc(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),A.Ab(2),A.kc("disabled",e.loading),A.Ab(1),A.Lc(" ",A.fc(12,13,"DIALOGS.CHANGE_STATUS.TITLE")," "))},directives:[r.j,n.t,r.c,a.b,h.c,r.g],pipes:[s.d],styles:[""]}),t})();function I(t,e){1&t&&(A.Sb(0,"h1",7),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")))}function O(t,e){1&t&&(A.Sb(0,"h1",7),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")))}function D(t,e){1&t&&(A.Sb(0,"h1",7),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")))}function M(t,e){1&t&&(A.Sb(0,"h1",7),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")))}function P(t,e){1&t&&A.Nb(0,"mat-spinner",8)}function x(t,e){if(1&t&&(A.Sb(0,"mat-form-field"),A.Nb(1,"input",13),A.ec(2,"translate"),A.Rb()),2&t){const t=A.dc(2);A.Ab(1),A.mc("placeholder","",A.fc(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),A.kc("value",t.shortName)}}function N(t,e){if(1&t&&(A.Sb(0,"mat-form-field",14),A.Nb(1,"textarea",15),A.ec(2,"translate"),A.Sb(3,"mat-error"),A.Jc(4),A.ec(5,"translate"),A.Rb(),A.Rb()),2&t){const t=A.dc(2);A.Ab(1),A.mc("placeholder","",A.fc(2,3,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),A.kc("formControl",t.descriptionCtrl),A.Ab(3),A.Lc(" ",A.fc(5,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_DESCRIPTION")," ")}}function L(t,e){if(1&t&&(A.Sb(0,"div",9),A.Hc(1,x,3,4,"mat-form-field",10),A.Sb(2,"mat-form-field"),A.Nb(3,"input",11),A.ec(4,"translate"),A.Sb(5,"mat-error"),A.Jc(6),A.ec(7,"translate"),A.Rb(),A.Rb(),A.Hc(8,N,6,7,"mat-form-field",12),A.Rb()),2&t){const t=A.dc();A.Ab(1),A.kc("ngIf",2===t.dialogType),A.Ab(2),A.mc("placeholder","",A.fc(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),A.kc("formControl",t.nameCtrl),A.Ab(3),A.Lc(" ",t.invalidNameMessage.length?t.invalidNameMessage:A.fc(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),A.Ab(2),A.kc("ngIf",2!==t.dialogType)}}var F=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 z=(()=>{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===F.GROUP?this.store.get("groupNameErrorMessage"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===F.GROUP?this.store.get("groupNameSecondaryRegex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case F.FACILITY:this.nameCtrl=new l.g(this.data.facility.name,[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.maxLength(129)]),this.descriptionCtrl=new l.g(this.data.facility.description,[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.maxLength(129)]);break;case F.RESOURCE:this.nameCtrl=new l.g(this.data.resource.name,[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.maxLength(129)]),this.descriptionCtrl=new l.g(this.data.resource.description,[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.maxLength(129)]);break;case F.GROUP:const t=this.data.group.name.split(":");this.nameCtrl=new l.g(t[t.length-1],[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.pattern(this.secondaryRegex),l.F.maxLength(129)]),this.descriptionCtrl=new l.g(this.data.group.description,[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.maxLength(129)]);break;case F.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new l.g(this.data.vo.name,[l.F.required,l.F.pattern(".*[\\S]+.*"),l.F.maxLength(129)]),this.descriptionCtrl=new l.g}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case F.FACILITY:this.editFacility();break;case F.RESOURCE:this.editResource();break;case F.GROUP:this.editGroup();break;case F.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)(A.Mb(r.i),A.Mb(r.a),A.Mb(y.l),A.Mb(s.e),A.Mb(w.g),A.Mb(w.m),A.Mb(w.h),A.Mb(w.r),A.Mb(y.m))},t.\u0275cmp=A.Gb({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.Sb(0,"div"),A.Hc(1,I,3,3,"h1",0),A.Hc(2,O,3,3,"h1",0),A.Hc(3,D,3,3,"h1",0),A.Hc(4,M,3,3,"h1",0),A.Sb(5,"div",1),A.Hc(6,P,1,0,"mat-spinner",2),A.Hc(7,L,9,9,"div",3),A.Rb(),A.Sb(8,"div",4),A.Sb(9,"button",5),A.Zb("click",(function(){return e.cancel()})),A.Jc(10),A.ec(11,"translate"),A.Rb(),A.Sb(12,"button",6),A.Zb("click",(function(){return e.submit()})),A.Jc(13),A.ec(14,"translate"),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Cb(e.theme),A.Ab(1),A.kc("ngIf",0===e.dialogType),A.Ab(1),A.kc("ngIf",1===e.dialogType),A.Ab(1),A.kc("ngIf",2===e.dialogType),A.Ab(1),A.kc("ngIf",3===e.dialogType),A.Ab(2),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading),A.Ab(3),A.Lc(" ",A.fc(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),A.Ab(2),A.kc("disabled",e.loading||e.nameCtrl.invalid||e.descriptionCtrl.invalid),A.Ab(1),A.Lc(" ",A.fc(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[n.t,r.g,r.c,a.b,r.j,h.c,c.c,u.b,l.c,l.C,l.r,l.h,c.b,u.d],pipes:[s.d],styles:[""]}),t})();var H=i("8clQ");function B(t,e){1&t&&A.Nb(0,"mat-spinner",8)}function j(t,e){if(1&t&&(A.Sb(0,"div",9),A.Sb(1,"span"),A.Jc(2),A.ec(3,"translate"),A.Sb(4,"b"),A.Jc(5),A.Rb(),A.Rb(),A.Nb(6,"br"),A.Sb(7,"span"),A.Jc(8),A.ec(9,"translate"),A.Sb(10,"b"),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Rb(),A.Nb(13,"br"),A.Sb(14,"span"),A.Jc(15),A.ec(16,"translate"),A.Sb(17,"b"),A.Jc(18),A.ec(19,"translate"),A.Rb(),A.Rb(),A.Nb(20,"br"),A.Sb(21,"span"),A.Jc(22),A.ec(23,"translate"),A.Sb(24,"b"),A.Jc(25),A.ec(26,"translate"),A.Rb(),A.Rb(),A.Rb()),2&t){const t=A.dc();A.Ab(2),A.Lc(" ",A.fc(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),A.Ab(3),A.Kc(t.group.name),A.Ab(3),A.Lc(" ",A.fc(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),A.Ab(3),A.Kc(A.fc(12,12,t.getSynchronizationType())),A.Ab(4),A.Lc(" ",A.fc(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),A.Ab(3),A.Kc(A.fc(19,16,t.getLastSyncState())),A.Ab(4),A.Lc(" ",A.fc(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),A.Ab(3),A.Kc(A.fc(26,20,t.getLastSyncTime()))}}function G(t,e){if(1&t){const t=A.Tb();A.Sb(0,"button",10),A.Zb("click",(function(){return A.xc(t),A.dc().onForceStructure()})),A.Jc(1),A.ec(2,"translate"),A.Rb()}if(2&t){const t=A.dc();A.kc("disabled",t.loading),A.Ab(1),A.Lc(" ",A.fc(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function U(t,e){if(1&t){const t=A.Tb();A.Sb(0,"button",10),A.Zb("click",(function(){return A.xc(t),A.dc().onForce()})),A.Jc(1),A.ec(2,"translate"),A.Rb()}if(2&t){const t=A.dc();A.kc("disabled",t.loading),A.Ab(1),A.Lc(" ",A.fc(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let K=(()=>{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,[v.a.GROUP_SYNC_ENABLED,v.a.GROUP_LAST_SYNC_STATE,v.a.GROUP_LAST_SYNC_TIMESTAMP,v.a.GROUP_STRUCTURE_SYNC_ENABLED,v.a.GROUP_LAST_STRUCTURE_SYNC_STATE,v.a.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.group=t,this.syncEnabled=Object(H.l)(this.group.attributes,v.a.GROUP_SYNC_ENABLED).value,this.lastSyncState=Object(H.l)(this.group.attributes,v.a.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=Object(H.l)(this.group.attributes,v.a.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=Object(H.l)(this.group.attributes,v.a.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=Object(H.l)(this.group.attributes,v.a.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=Object(H.l)(this.group.attributes,v.a.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)(A.Mb(r.i),A.Mb(r.a),A.Mb(w.h),A.Mb(y.l))},t.\u0275cmp=A.Gb({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.Sb(0,"div"),A.Sb(1,"h1",0),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Hc(4,B,1,0,"mat-spinner",1),A.Hc(5,j,27,22,"div",2),A.Sb(6,"div",3),A.Sb(7,"div",4),A.Sb(8,"button",5),A.Zb("click",(function(){return e.refresh()})),A.Sb(9,"mat-icon"),A.Jc(10,"refresh"),A.Rb(),A.Rb(),A.Hc(11,G,3,4,"button",6),A.Hc(12,U,3,4,"button",6),A.Sb(13,"button",7),A.Zb("click",(function(){return e.onCancel()})),A.Jc(14),A.ec(15,"translate"),A.Rb(),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Cb(e.theme),A.Ab(2),A.Kc(A.fc(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),A.Ab(2),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading),A.Ab(6),A.kc("ngIf",e.isStructured()),A.Ab(1),A.kc("ngIf",e.isBasic()||e.isStructured()),A.Ab(2),A.Lc(" ",A.fc(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[r.j,n.t,r.c,a.b,g.a,h.c,r.g],pipes:[s.d],styles:[""]}),t})();var V=i("9RND");function q(t,e){1&t&&A.Nb(0,"mat-spinner",7)}function J(t,e){1&t&&(A.Sb(0,"mat-error"),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function W(t,e){1&t&&(A.Sb(0,"mat-error"),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function Z(t,e){if(1&t){const t=A.Tb();A.Sb(0,"div",8),A.Sb(1,"mat-form-field"),A.Sb(2,"mat-label"),A.Jc(3),A.ec(4,"translate"),A.Rb(),A.Sb(5,"input",9,10),A.Zb("ngModelChange",(function(e){return A.xc(t),A.dc().subject=e})),A.Rb(),A.Hc(7,J,3,3,"mat-error",11),A.Rb(),A.Sb(8,"mat-form-field"),A.Sb(9,"mat-label"),A.Jc(10),A.ec(11,"translate"),A.Rb(),A.Sb(12,"textarea",12,13),A.Zb("ngModelChange",(function(e){return A.xc(t),A.dc().message=e})),A.ec(14,"translate"),A.Jc(15," "),A.Rb(),A.Hc(16,W,3,3,"mat-error",11),A.Rb(),A.Rb()}if(2&t){const t=A.tc(6),e=A.tc(13),i=A.dc();A.Ab(3),A.Kc(A.fc(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),A.Ab(2),A.kc("ngModel",i.subject),A.Ab(2),A.kc("ngIf",t.invalid),A.Ab(3),A.Kc(A.fc(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),A.Ab(2),A.lc("placeholder",A.fc(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),A.kc("ngModel",i.message),A.Ab(4),A.kc("ngIf",e.invalid)}}let Y=(()=>{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()},t=>{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;return 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.call+"\n\n"),this.data.error.payload&&(e=e.concat("Payload:\n"+this.data.error.payload+"\n\n")),e=e.concat("Sended from new Perun Gui, version: "+V.a),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(A.Mb(r.i),A.Mb(s.e),A.Mb(y.l),A.Mb(w.k),A.Mb(r.a),A.Mb(y.m))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.ec(2,"translate"),A.Rb(),A.Hc(3,q,1,0,"mat-spinner",1),A.Hc(4,Z,17,13,"div",2),A.Sb(5,"div",3),A.Sb(6,"div",4),A.Sb(7,"button",5),A.Zb("click",(function(){return e.dialogRef.close()})),A.Jc(8),A.ec(9,"translate"),A.Rb(),A.Sb(10,"button",6),A.Zb("click",(function(){return e.sendBugReport()})),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),A.Ab(2),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading),A.Ab(4),A.Lc(" ",A.fc(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),A.Ab(2),A.kc("disabled",""===e.message||""===e.subject||e.loading),A.Ab(1),A.Lc(" ",A.fc(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[r.j,n.t,r.c,a.b,h.c,r.g,c.c,c.g,u.b,l.c,l.C,l.r,l.u,c.b],pipes:[s.d],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),$=(()=>{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=Object(H.o)();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(Y,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(A.Mb(r.i),A.Mb(r.b),A.Mb(r.a))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.Rb(),A.Sb(2,"div",1),A.Jc(3),A.Rb(),A.Sb(4,"div",2),A.Sb(5,"div",3),A.Sb(6,"button",4),A.Zb("click",(function(){return e.onBugReportClick()})),A.Jc(7),A.ec(8,"translate"),A.Rb(),A.Sb(9,"button",5),A.Zb("click",(function(){return e.onCloseClick()})),A.Jc(10),A.ec(11,"translate"),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(e.data.title),A.Ab(2),A.Lc("\n",e.data.description,"\n"),A.Ab(3),A.kc("hidden","error"!==e.data.type),A.Ab(1),A.Lc(" ",A.fc(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),A.Ab(3),A.Lc(" ",A.fc(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[r.j,r.g,r.c,a.b],pipes:[s.d],styles:[""]}),t})();var X=i("W5/Z");function Q(t,e){1&t&&A.Nb(0,"mat-spinner",3)}function tt(t,e){1&t&&A.Nb(0,"th",15)}function et(t,e){if(1&t&&(A.Sb(0,"td",16),A.Jc(1),A.Rb()),2&t){const t=e.$implicit;A.Ab(1),A.Lc(" ",t.userExtSource.extSource.name," ")}}function it(t,e){1&t&&A.Nb(0,"tr",17)}function nt(t,e){1&t&&A.Nb(0,"tr",18)}function st(t,e){if(1&t){const t=A.Tb();A.Sb(0,"div"),A.Sb(1,"div",4),A.Sb(2,"p"),A.Jc(3),A.ec(4,"translate"),A.ec(5,"customTranslate"),A.Rb(),A.Sb(6,"div",5),A.Jc(7),A.ec(8,"translate"),A.ec(9,"customTranslate"),A.Rb(),A.Sb(10,"table",6),A.Qb(11,7),A.Hc(12,tt,1,0,"th",8),A.Hc(13,et,2,1,"td",9),A.Pb(),A.Hc(14,it,1,0,"tr",10),A.Hc(15,nt,1,0,"tr",11),A.Rb(),A.Rb(),A.Sb(16,"div",12),A.Sb(17,"button",13),A.Zb("click",(function(){return A.xc(t),A.dc().onCancel()})),A.Jc(18),A.ec(19,"translate"),A.ec(20,"customTranslate"),A.Rb(),A.Sb(21,"button",14),A.Zb("click",(function(){return A.xc(t),A.dc().onSubmit()})),A.Jc(22),A.ec(23,"translate"),A.ec(24,"customTranslate"),A.Rb(),A.Rb(),A.Rb()}if(2&t){const t=A.dc();A.Ab(3),A.Lc(" ",A.fc(4,7,A.fc(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),A.Ab(4),A.Lc(" ",A.fc(8,11,A.fc(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),A.Ab(3),A.kc("dataSource",t.dataSource),A.Ab(4),A.kc("matHeaderRowDef",t.displayedColumns),A.Ab(1),A.kc("matRowDefColumns",t.displayedColumns),A.Ab(3),A.Lc(" ",A.fc(19,15,A.fc(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),A.Ab(4),A.Lc(" ",A.fc(23,19,A.fc(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let ot=(()=>{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 o.o(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)(A.Mb(r.i),A.Mb(r.a),A.Mb(w.q),A.Mb(s.e),A.Mb(y.l))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.ec(2,"translate"),A.ec(3,"customTranslate"),A.Rb(),A.Sb(4,"div"),A.Hc(5,Q,1,0,"mat-spinner",1),A.Hc(6,st,25,23,"div",2),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,6,A.fc(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),A.Ab(3),A.Cb(e.theme),A.Ab(1),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading))},directives:[r.j,n.t,h.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,r.c,a.b,o.h,o.a,o.j,o.l],pipes:[s.d,X.a],styles:[""]}),t})();var rt=i("H0K4");let at=(()=>{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)(A.Mb(r.i),A.Mb(r.a))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.Rb(),A.Sb(2,"div",1),A.Sb(3,"textarea",2),A.Jc(4),A.Rb(),A.Rb(),A.Sb(5,"div",3),A.Sb(6,"button",4),A.Zb("click",(function(){return e.onCancel()})),A.Jc(7),A.ec(8,"translate"),A.Rb(),A.Sb(9,"button",5),A.Jc(10),A.ec(11,"translate"),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(e.title),A.Ab(3),A.Kc(e.value),A.Ab(3),A.Lc(" ",A.fc(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),A.Ab(2),A.kc("cdkCopyToClipboard",e.value),A.Ab(1),A.Lc(" ",A.fc(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[r.j,r.g,rt.c,u.b,r.c,a.b,f.a],pipes:[s.d],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t})();function ct(t,e){1&t&&A.Nb(0,"th",12)}function lt(t,e){if(1&t&&(A.Sb(0,"td",13),A.Jc(1),A.Rb()),2&t){const t=e.$implicit;A.Ab(1),A.Lc(" ",t.displayName," ")}}function ut(t,e){1&t&&A.Nb(0,"tr",14)}function ht(t,e){1&t&&A.Nb(0,"tr",15)}let dt=(()=>{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 o.o(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)(A.Mb(r.i),A.Mb(r.a),A.Mb(y.l),A.Mb(s.e),A.Mb(w.c))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.ec(2,"translate"),A.Rb(),A.Sb(3,"div",1),A.Sb(4,"div"),A.Jc(5),A.ec(6,"translate"),A.Rb(),A.Sb(7,"div",2),A.Jc(8),A.ec(9,"translate"),A.Rb(),A.Sb(10,"table",3),A.Qb(11,4),A.Hc(12,ct,1,0,"th",5),A.Hc(13,lt,2,1,"td",6),A.Pb(),A.Hc(14,ut,1,0,"tr",7),A.Hc(15,ht,1,0,"tr",8),A.Rb(),A.Rb(),A.Sb(16,"div",9),A.Sb(17,"button",10),A.Zb("click",(function(){return e.onCancel()})),A.Jc(18),A.ec(19,"translate"),A.Rb(),A.Sb(20,"button",11),A.Zb("click",(function(){return e.onSubmit()})),A.Jc(21),A.ec(22,"translate"),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),A.Ab(4),A.Lc(" ",A.fc(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),A.Ab(3),A.Lc(" ",A.fc(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),A.Ab(2),A.kc("dataSource",e.dataSource),A.Ab(4),A.kc("matHeaderRowDef",e.displayedColumns),A.Ab(1),A.kc("matRowDefColumns",e.displayedColumns),A.Ab(3),A.Lc(" ",A.fc(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),A.Ab(3),A.Lc(" ",A.fc(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[r.j,r.g,o.n,o.c,o.i,o.b,o.k,o.m,r.c,a.b,o.h,o.a,o.j,o.l],pipes:[s.d],styles:[""]}),t})(),pt=(()=>{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)(A.Mb(r.i),A.Mb(r.a))},t.\u0275cmp=A.Gb({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.Sb(0,"h5",0),A.Jc(1),A.ec(2,"translate"),A.Rb(),A.Sb(3,"div",1),A.Sb(4,"mat-form-field"),A.Sb(5,"textarea",2),A.Zb("ngModelChange",(function(t){return e.attributeValue=t})),A.Rb(),A.Rb(),A.Rb(),A.Sb(6,"div",3),A.Sb(7,"button",4),A.Zb("click",(function(){return e.cancel()})),A.Jc(8),A.ec(9,"translate"),A.Rb(),A.Sb(10,"button",5),A.Zb("click",(function(){return e.submit()})),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),A.Ab(4),A.kc("ngModel",e.attributeValue),A.Ab(3),A.Lc(" ",A.fc(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),A.Ab(3),A.Lc(" ",A.fc(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[r.j,r.g,c.c,rt.c,u.b,l.c,l.r,l.u,r.c,a.b],pipes:[s.d],styles:[""]}),t})(),ft=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(A.Mb(r.i),A.Mb(r.a))},t.\u0275cmp=A.Gb({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.Sb(0,"h5",0),A.Jc(1),A.ec(2,"translate"),A.Rb(),A.Sb(3,"div",1),A.Sb(4,"div"),A.Jc(5),A.ec(6,"translate"),A.Rb(),A.Sb(7,"div",2),A.Jc(8),A.Rb(),A.Rb(),A.Sb(9,"div",3),A.Sb(10,"button",4),A.Zb("click",(function(){return e.cancel()})),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Sb(13,"button",5),A.Zb("click",(function(){return e.submit()})),A.Jc(14),A.ec(15,"translate"),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),A.Ab(4),A.Lc(" ",A.fc(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),A.Ab(3),A.Lc(" ",e.data.name," "),A.Ab(3),A.Lc(" ",A.fc(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),A.Ab(3),A.Lc(" ",A.fc(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[r.j,r.g,r.c,a.b],pipes:[s.d],styles:[""]}),t})();var gt=i("FcRk");function bt(t,e){if(1&t&&(A.Sb(0,"app-alert",9),A.Jc(1),A.Rb()),2&t){const t=A.dc();A.Ab(1),A.Kc(t.pendingEmailsMessage)}}function mt(t,e){1&t&&(A.Sb(0,"mat-error"),A.Jc(1),A.ec(2,"translate"),A.ec(3,"customTranslate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,A.fc(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let At=(()=>{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 l.g(null,[l.F.required,l.F.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)(A.Mb(r.i),A.Mb(r.a),A.Mb(s.e),A.Mb(y.l),A.Mb(w.q),A.Mb(y.d))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.ec(2,"translate"),A.ec(3,"customTranslate"),A.Rb(),A.Sb(4,"div",1),A.Hc(5,bt,2,1,"app-alert",2),A.Sb(6,"mat-form-field",3),A.Sb(7,"label",3),A.Nb(8,"input",4),A.ec(9,"translate"),A.ec(10,"customTranslate"),A.Rb(),A.Hc(11,mt,4,5,"mat-error",5),A.Rb(),A.Rb(),A.Sb(12,"div",6),A.Sb(13,"button",7),A.Zb("click",(function(){return e.onCancel()})),A.Jc(14),A.ec(15,"translate"),A.ec(16,"customTranslate"),A.Rb(),A.Sb(17,"button",8),A.Zb("click",(function(){return e.onSubmit()})),A.Jc(18),A.ec(19,"translate"),A.ec(20,"customTranslate"),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,8,A.fc(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),A.Ab(4),A.kc("ngIf",e.pendingMails.length),A.Ab(3),A.lc("placeholder",A.fc(9,12,A.fc(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),A.kc("formControl",e.emailControl),A.Ab(3),A.kc("ngIf",e.emailControl.invalid),A.Ab(3),A.Lc(" ",A.fc(15,16,A.fc(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),A.Ab(3),A.kc("disabled",!e.emailControl.valid),A.Ab(1),A.Lc(" ",A.fc(19,20,A.fc(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[r.j,r.g,n.t,c.c,u.b,l.c,l.C,l.r,l.h,r.c,a.b,gt.a,c.b],pipes:[s.d,X.a],styles:[""]}),t})();function yt(t,e){1&t&&A.Nb(0,"mat-spinner",6)}function wt(t,e){1&t&&A.Nb(0,"th",15)}function vt(t,e){if(1&t&&(A.Sb(0,"td",16),A.Jc(1),A.Rb()),2&t){const t=e.$implicit;A.Ab(1),A.Lc(" ",t," ")}}function _t(t,e){1&t&&A.Nb(0,"tr",17)}function St(t,e){1&t&&A.Nb(0,"tr",18)}function Et(t,e){if(1&t&&(A.Sb(0,"div",7),A.Sb(1,"p"),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Sb(4,"div",8),A.Jc(5),A.ec(6,"translate"),A.Rb(),A.Sb(7,"table",9),A.Qb(8,10),A.Hc(9,wt,1,0,"th",11),A.Hc(10,vt,2,1,"td",12),A.Pb(),A.Hc(11,_t,1,0,"tr",13),A.Hc(12,St,1,0,"tr",14),A.Rb(),A.Rb()),2&t){const t=A.dc();A.Ab(2),A.Lc(" ",A.fc(3,5,t.data.description)," "),A.Ab(3),A.Lc(" ",A.fc(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),A.Ab(2),A.kc("dataSource",t.dataSource),A.Ab(4),A.kc("matHeaderRowDef",t.displayedColumns),A.Ab(1),A.kc("matRowDefColumns",t.displayedColumns)}}let Ct=(()=>{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 o.o(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(A.Mb(r.i),A.Mb(r.a))},t.\u0275cmp=A.Gb({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.Sb(0,"div"),A.Sb(1,"h1",0),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Hc(4,yt,1,0,"mat-spinner",1),A.Hc(5,Et,13,9,"div",2),A.Sb(6,"div",3),A.Sb(7,"button",4),A.Zb("click",(function(){return e.onCancel()})),A.Jc(8),A.ec(9,"translate"),A.Rb(),A.Sb(10,"button",5),A.Zb("click",(function(){return e.onSubmit()})),A.Jc(11),A.ec(12,"translate"),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Cb(e.theme),A.Ab(2),A.Kc(A.fc(3,9,e.data.title)),A.Ab(2),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading),A.Ab(3),A.Lc(" ",A.fc(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),A.Ab(2),A.kc("disabled",e.loading),A.Ab(1),A.Lc(" ",A.fc(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[r.j,n.t,r.c,a.b,h.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[s.d],styles:[""]}),t})();var Rt=i("seVz"),Tt=i("h1GH");function kt(t,e){1&t&&A.Nb(0,"mat-spinner",7)}function It(t,e){1&t&&(A.Sb(0,"app-alert"),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function Ot(t,e){1&t&&(A.Sb(0,"span",23),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Dt(t,e){1&t&&(A.Sb(0,"span",23),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const Mt=function(t){return{"min-width":t}};function Pt(t,e){if(1&t){const t=A.Tb();A.Sb(0,"mat-tree-node",16),A.Sb(1,"li",17),A.Sb(2,"div",18),A.Zb("click",(function(){A.xc(t);const i=e.$implicit;return A.dc(3).navigate(i.id,i.include)})),A.Nb(3,"button",19),A.Sb(4,"div",20),A.Sb(5,"span"),A.Jc(6),A.ec(7,"parseGroupName"),A.Rb(),A.Hc(8,Ot,3,3,"span",21),A.Hc(9,Dt,3,3,"span",21),A.Rb(),A.Sb(10,"span",22),A.Jc(11),A.Rb(),A.Rb(),A.Rb(),A.Rb()}if(2&t){const t=e.$implicit,i=A.dc(3);A.Ab(2),A.Eb("cursor-pointer",t.direct||t.include)("act-disabled",!t.direct&&!t.include),A.Ab(2),A.kc("ngStyle",A.pc(11,Mt,i.getMinWidth(t.level))),A.Ab(2),A.Kc(A.fc(7,9,t.name)),A.Ab(2),A.kc("ngIf",t.direct),A.Ab(1),A.kc("ngIf",t.include),A.Ab(2),A.Kc(t.description)}}function xt(t,e){1&t&&(A.Sb(0,"span",23),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Nt(t,e){1&t&&(A.Sb(0,"span",23),A.Jc(1),A.ec(2,"translate"),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Lt(t,e){if(1&t){const t=A.Tb();A.Sb(0,"mat-nested-tree-node"),A.Sb(1,"li"),A.Sb(2,"div",17),A.Sb(3,"button",24),A.Sb(4,"mat-icon",25),A.Jc(5),A.Rb(),A.Rb(),A.Sb(6,"div",18),A.Zb("click",(function(){A.xc(t);const i=e.$implicit;return A.dc(3).navigate(i.id,i.include)})),A.Sb(7,"div",20),A.Sb(8,"span"),A.Jc(9),A.ec(10,"parseGroupName"),A.Rb(),A.Hc(11,xt,3,3,"span",21),A.Hc(12,Nt,3,3,"span",21),A.Rb(),A.Sb(13,"span",22),A.Jc(14),A.Rb(),A.Rb(),A.Rb(),A.Sb(15,"ul"),A.Ob(16,26),A.Rb(),A.Rb(),A.Rb()}if(2&t){const t=e.$implicit,i=A.dc(3);A.Ab(3),A.Bb("aria-label","Toggle "+t.name),A.Ab(2),A.Lc(" ",i.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),A.Ab(1),A.Eb("cursor-pointer",t.direct||t.include)("act-disabled",!t.direct&&!t.include),A.Ab(1),A.kc("ngStyle",A.pc(15,Mt,i.getMinWidth(t.level))),A.Ab(2),A.Kc(A.fc(10,13,t.name)),A.Ab(2),A.kc("ngIf",t.direct),A.Ab(1),A.kc("ngIf",t.include),A.Ab(2),A.Kc(t.description),A.Ab(1),A.Eb("example-tree-invisible",!i.treeControl.isExpanded(t))}}function Ft(t,e){if(1&t&&(A.Sb(0,"mat-tree",13),A.Hc(1,Pt,12,13,"mat-tree-node",14),A.Hc(2,Lt,17,17,"mat-nested-tree-node",15),A.Rb()),2&t){const t=A.dc(2);A.kc("dataSource",t.dataSource)("treeControl",t.treeControl),A.Ab(2),A.kc("matTreeNodeDefWhen",t.hasChild)}}function zt(t,e){if(1&t&&(A.Sb(0,"div",8),A.Sb(1,"p"),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Sb(4,"mat-form-field",9),A.Nb(5,"input",10),A.ec(6,"translate"),A.Rb(),A.Hc(7,It,3,3,"app-alert",11),A.Hc(8,Ft,3,3,"mat-tree",12),A.Rb()),2&t){const t=A.dc();A.Ab(2),A.Kc(A.fc(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),A.Ab(3),A.lc("placeholder",A.fc(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),A.kc("formControl",t.formControl),A.Ab(2),A.kc("ngIf",!t.dataSource.data.length),A.Ab(1),A.kc("ngIf",t.dataSource.data.length)}}const Ht=function(t){return{name:t}};let Bt=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.groupsManagerService=i,this.treeControl=new Rt.k(t=>t.children),this.dataSource=new m.f,this.groupTree=[],this.paths=[],this.formControl=new l.g(""),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=Object(H.w)(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)(A.Mb(r.i),A.Mb(r.a),A.Mb(w.h))},t.\u0275cmp=A.Gb({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.Sb(0,"div",0),A.Sb(1,"h1",1),A.Jc(2),A.ec(3,"translate"),A.Rb(),A.Hc(4,kt,1,0,"mat-spinner",2),A.Hc(5,zt,9,9,"div",3),A.Sb(6,"div",4),A.Sb(7,"div",5),A.Sb(8,"button",6),A.Zb("click",(function(){return e.onCancel()})),A.Jc(9),A.ec(10,"translate"),A.Rb(),A.Rb(),A.Rb(),A.Rb()),2&t&&(A.Ab(2),A.Kc(A.gc(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",A.pc(9,Ht,e.userName))),A.Ab(2),A.kc("ngIf",e.loading),A.Ab(1),A.kc("ngIf",!e.loading),A.Ab(4),A.Lc(" ",A.fc(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[r.j,n.t,r.c,a.b,h.c,r.g,c.c,u.b,l.c,l.r,l.h,gt.a,m.b,m.h,m.g,m.k,n.w,m.a,g.a,m.i],pipes:[s.d,Tt.a],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}"]}),t})(),jt=(()=>{class t{constructor(t,e){this.dialogRef=t,this.router=e}ngOnInit(){}onClose(){this.router.navigate([]),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(A.Mb(r.i),A.Mb(b.f))},t.\u0275cmp=A.Gb({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.Sb(0,"h1",0),A.Jc(1),A.ec(2,"translate"),A.Rb(),A.Sb(3,"div",1),A.Sb(4,"app-alert",2),A.Jc(5),A.ec(6,"translate"),A.Rb(),A.Rb(),A.Sb(7,"div",3),A.Sb(8,"button",4),A.Zb("click",(function(){return e.onClose()})),A.Jc(9),A.ec(10,"translate"),A.Rb(),A.Rb()),2&t&&(A.Ab(1),A.Kc(A.fc(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),A.Ab(4),A.Kc(A.fc(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),A.Ab(4),A.Lc(" ",A.fc(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[r.j,r.g,gt.a,r.c,a.b],pipes:[s.d],styles:[""]}),t})()},"+Jyz":function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("X2Q7"),s=i("cqs0"),o=i("iyZ4"),r=i("8clQ"),a=i("7Y6W"),c=i("jMG3"),l=i("Ssnw"),u=i("EtR/"),h=i("nyAh"),d=i("Iydx"),p=i("EM62"),f=i("sEIs"),g=i("OZ4H"),b=i("0XDM"),m=i("Y2X+"),A=i("2kYt"),y=i("Jb3d"),w=i("A8Ay"),v=i("PBFl"),_=i("csyo"),S=i("pnmw"),E=i("s2Ay");function C(t,e){if(1&t&&(p.Sb(0,"button",10),p.Jc(1),p.ec(2,"translate"),p.Rb()),2&t){const t=p.dc(),e=p.tc(9);p.kc("disabled",t.findSponsorsAuth&&0===t.voSponsors.length)("matMenuTriggerFor",e),p.Ab(1),p.Lc(" ",p.fc(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function R(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",11),p.Zb("click",(function(){return p.xc(t),p.dc().onCreate()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function T(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",11),p.Zb("click",(function(){return p.xc(t),p.dc().onGenerate()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function k(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",12),p.Zb("click",(function(){return p.xc(t),p.dc().onSponsorExistingMember()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function I(t,e){1&t&&p.Nb(0,"mat-spinner",13)}function O(t,e){if(1&t){const t=p.Tb();p.Sb(0,"app-sponsored-members-list",14),p.Zb("page",(function(e){return p.xc(t),p.dc().pageChanged(e)}))("refreshTable",(function(){return p.xc(t),p.dc().refresh()})),p.Rb()}if(2&t){const t=p.dc();p.kc("sponsoredMembers",t.members)("disableRouting",!t.routeAuth)("selection",t.selection)("filterValue",t.searchString)("pageSize",t.pageSize)}}let D=(()=>{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.c(!0,[]),this.searchString="",this.loading=!1,this.tableId=o.X}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(d.a.SPONSOR,this.vo.id,"Vo",[h.a.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=Object(r.o)();t.width="620px",t.data={entityId:this.voId,voId:this.voId,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(a.a,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}onGenerate(){const t=Object(r.o)();t.width="750px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(c.a,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}onSponsorExistingMember(){const t=Object(r.o)();t.width="650px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(u.a,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)(p.Mb(n.i),p.Mb(f.a),p.Mb(g.b),p.Mb(l.h),p.Mb(o.pb),p.Mb(l.m),p.Mb(n.d))},t.\u0275cmp=p.Gb({type:t,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.Eb("router-component",!0)},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&&(p.Sb(0,"div"),p.Sb(1,"h1",0),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"perun-web-apps-refresh-button",1),p.Zb("refresh",(function(){return e.refresh()})),p.Rb(),p.Sb(5,"span",2),p.ec(6,"translate"),p.Hc(7,C,3,5,"button",3),p.Rb(),p.Sb(8,"mat-menu",null,4),p.Hc(10,R,3,3,"button",5),p.Hc(11,T,3,3,"button",5),p.Rb(),p.Hc(12,k,3,3,"button",6),p.Sb(13,"perun-web-apps-immediate-filter",7),p.Zb("filter",(function(t){return e.applyFilter(t)})),p.Rb(),p.Hc(14,I,1,0,"mat-spinner",8),p.Hc(15,O,1,5,"app-sponsored-members-list",9),p.Rb()),2&t&&(p.Ab(2),p.Kc(p.fc(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),p.Ab(3),p.lc("matTooltip",p.fc(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),p.kc("matTooltipDisabled",!(e.findSponsorsAuth&&0===e.voSponsors.length)),p.Ab(2),p.kc("ngIf",!e.loading&&(e.createAuth||e.generateAuth)),p.Ab(3),p.kc("ngIf",e.createAuth),p.Ab(1),p.kc("ngIf",e.generateAuth),p.Ab(1),p.kc("ngIf",!e.loading&&e.setSponsorshipAuth),p.Ab(1),p.kc("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),p.Ab(1),p.kc("ngIf",e.loading),p.Ab(1),p.kc("ngIf",!e.loading))},directives:[b.a,m.a,A.t,y.e,w.a,v.b,y.d,y.b,_.c,S.a],pipes:[E.d],styles:[""]}),t})()},"+MEm":function(t,e,i){"use strict";i.d(e,"a",(function(){return g}));var n=i("Ssnw"),s=i("EM62"),o=i("OZ4H"),r=i("2kYt"),a=i("PBFl"),c=i("qvOF"),l=i("tmvS"),u=i("FcRk"),h=i("s2Ay");function d(t,e){if(1&t&&(s.Sb(0,"div",9),s.Nb(1,"perun-web-apps-notification",10),s.Rb()),2&t){const t=e.$implicit;s.Ab(1),s.kc("data",t)("inDialog",!0)}}function p(t,e){if(1&t&&(s.Sb(0,"div",6),s.Sb(1,"cdk-virtual-scroll-viewport",7),s.Hc(2,d,2,2,"div",8),s.Rb(),s.Rb()),2&t){const t=s.dc();s.Ab(2),s.kc("cdkVirtualForOf",t.notifications)}}function f(t,e){1&t&&(s.Sb(0,"app-alert",11),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let g=(()=>{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.Mb(o.i),s.Mb(n.k))},t.\u0275cmp=s.Gb({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.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Hc(3,p,3,1,"div",1),s.Hc(4,f,3,3,"app-alert",2),s.Sb(5,"div",3),s.Sb(6,"button",4),s.Zb("click",(function(){return e.onClear()})),s.Jc(7),s.ec(8,"translate"),s.Rb(),s.Sb(9,"button",5),s.Zb("click",(function(){return e.onCancel()})),s.Jc(10),s.ec(11,"translate"),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),s.Ab(2),s.kc("ngIf",0!==e.notifications.length),s.Ab(1),s.kc("ngIf",0===e.notifications.length),s.Ab(3),s.Lc(" ",s.fc(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),s.Ab(3),s.Lc(" ",s.fc(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[o.j,r.t,o.c,a.b,c.e,c.a,c.d,l.a,u.a],pipes:[h.d],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),t})()},"+Tre":function(t,e,i){"use strict";i.d(e,"a",(function(){return w})),i.d(e,"b",(function(){return C})),i.d(e,"c",(function(){return _}));var n=i("5XID"),s=i("EM62"),o=i("nIj0"),r=i("mFH5"),a=i("5lCh"),c=i("TKFd"),l=i("sg/T");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new s.r("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),f=new s.r("mat-checkbox-click-action");let g=0;const b={provide:o.p,useExisting:Object(s.U)(()=>w),multi:!0};class m{}class A{constructor(t){this._elementRef=t}}const y=Object(r.D)(Object(r.y)(Object(r.z)(Object(r.A)(A))));let w=(()=>{class t extends y{constructor(t,e,i,n,o,r,a,c){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._clickAction=r,this._animationMode=a,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++g,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.o,this.indeterminateChange=new s.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(o)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Object(n.c)(t)}ngAfterViewInit(){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=Object(n.c)(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=Object(n.c)(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 m;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,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.Mb(s.l),s.Mb(s.h),s.Mb(l.h),s.Mb(s.A),s.Xb("tabindex"),s.Mb(f,8),s.Mb(a.a,8),s.Mb(p,8))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var i;1&t&&(s.Qc(u,!0),s.Qc(r.s,!0)),2&t&&(s.sc(i=s.ac())&&(e._inputElement=i.first),s.sc(i=s.ac())&&(e.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Vb("id",e.id),s.Bb("tabindex",null),s.Eb("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",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s.zb([b]),s.xb],ngContentSelectors:d,decls:17,vars:19,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.jc(),s.Sb(0,"label",0,1),s.Sb(2,"div",2),s.Sb(3,"input",3,4),s.Zb("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),s.Rb(),s.Sb(5,"div",5),s.Nb(6,"div",6),s.Rb(),s.Nb(7,"div",7),s.Sb(8,"div",8),s.cc(),s.Sb(9,"svg",9),s.Nb(10,"path",10),s.Rb(),s.bc(),s.Nb(11,"div",11),s.Rb(),s.Rb(),s.Sb(12,"span",12,13),s.Zb("cdkObserveContent",(function(){return e._onLabelTextChange()})),s.Sb(14,"span",14),s.Jc(15,"\xa0"),s.Rb(),s.ic(16),s.Rb(),s.Rb()),2&t){const t=s.tc(1),i=s.tc(13);s.Bb("for",e.inputId),s.Ab(2),s.Eb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),s.Ab(1),s.kc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.Bb("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),s.Ab(2),s.kc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.oc(18,h))}},directives:[r.s,c.a],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{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-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.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.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)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{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%}.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}\n"],encapsulation:2,changeDetection:0}),t})();const v={provide:o.o,useExisting:Object(s.U)(()=>_),multi:!0};let _=(()=>{class t extends o.b{}return t.\u0275fac=function(e){return S(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[s.zb([v]),s.xb]}),t})();const S=s.Ub(_);let E=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)}}),t})(),C=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[r.t,r.i,c.c,E],r.i,E]}),t})()},"+TsY":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){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=n.Lb({name:"anyToString",type:t,pure:!0}),t})()},"/VkC":function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("PBFl");function d(t,e){1&t&&a.Nb(0,"mat-spinner",4)}function p(t,e){1&t&&a.Nb(0,"th",13)}function f(t,e){if(1&t&&(a.Sb(0,"td",14),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",15)}function b(t,e){1&t&&a.Nb(0,"tr",16)}function m(t,e){if(1&t&&(a.Sb(0,"div",5),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",6),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",7),a.Qb(8,8),a.Hc(9,p,1,0,"th",9),a.Hc(10,f,2,1,"td",10),a.Pb(),a.Hc(11,g,1,0,"tr",11),a.Hc(12,b,1,0,"tr",12),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}function A(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",17),a.Sb(1,"button",18),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"button",19),a.Zb("click",(function(){return a.xc(t),a.dc().onSubmit()})),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),a.Ab(2),a.kc("disabled",t.loading),a.Ab(1),a.Lc(" ",a.fc(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}let y=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.ownersManagerService=s,this.displayedColumns=["name"],this.owners=[]}ngOnInit(){this.dataSource=new r.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(s.j))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Hc(3,d,1,0,"mat-spinner",1),a.Hc(4,m,13,9,"div",2),a.Hc(5,A,7,7,"div",3)),2&t&&(a.Ab(1),a.Kc(a.fc(2,4,"DIALOGS.DELETE_OWNER.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,l.t,u.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l,n.c,h.b],pipes:[c.d],styles:[""]}),t})()},"/bE8":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("iyZ4"),a=i("cqs0"),c=i("EM62"),l=i("s2Ay"),u=i("2kYt"),h=i("PBFl"),d=i("csyo"),p=i("pynj"),f=i("gcZR");function g(t,e){1&t&&c.Nb(0,"mat-spinner",6)}function b(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-services-list",10),c.Zb("page",(function(e){return c.xc(t),c.dc(2).pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc(2);c.kc("pageSize",t.pageSize)("disableRouting",!0)("services",t.unAssignedServices)("filterValue",t.filterValue)("selection",t.selection)}}function m(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div",7),c.Sb(1,"perun-web-apps-debounce-filter",8),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.ec(2,"translate"),c.Rb(),c.Hc(3,b,1,5,"app-services-list",9),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.lc("placeholder",c.fc(2,2,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.FILTER_DESCRIPTION")),c.Ab(2),c.kc("ngIf",!t.loading)}}let A=(()=>{class t{constructor(t,e,i,n,s,o,c){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourceManager=s,this.servicesManager=o,this.tableConfigService=c,this.loading=!1,this.selection=new a.c(!0,[]),this.tableId=r.q,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(t=>{this.servicesManager.getServices().subscribe(e=>{this.unAssignedServices=e;for(const i of t)for(const t of e)i.id===t.id&&this.unAssignedServices.splice(this.unAssignedServices.indexOf(t),1);this.filteredServices=this.unAssignedServices,this.loading=!1})})}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0;const t=[];for(const e of this.selection.selected)t.push(e.id);this.resourceManager.assignServices(this.data.resourceId,t).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t),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)}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.i),c.Mb(n.a),c.Mb(s.l),c.Mb(l.e),c.Mb(o.m),c.Mb(o.n),c.Mb(r.pb))},t.\u0275cmp=c.Gb({type:t,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(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,g,1,0,"mat-spinner",1),c.Hc(5,m,4,4,"div",2),c.Sb(6,"div",3),c.Sb(7,"button",4),c.Zb("click",(function(){return e.onCancel()})),c.Jc(8),c.ec(9,"translate"),c.Rb(),c.Sb(10,"button",5),c.Zb("click",(function(){return e.onAdd()})),c.Jc(11),c.ec(12,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(2),c.Kc(c.fc(3,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.TITLE")),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(3),c.Lc(" ",c.fc(9,11,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.CANCEL_BUTTON")," "),c.Ab(2),c.kc("disabled",0===e.selection.selected.length||e.loading),c.Ab(1),c.Lc(" ",c.fc(12,13,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.ADD_BUTTON")," "))},directives:[n.j,u.t,n.c,h.b,d.c,n.g,p.a,f.a],pipes:[l.d],styles:[""]}),t})()},"/nwi":function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("X2Q7"),s=i("OZ4H"),o=i("FlRo"),r=i("Ssnw"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("FcRk"),p=i("pgvo");function f(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function g(t,e){if(1&t&&a.Nb(0,"app-perun-web-apps-destination-list",11),2&t){const t=a.dc(2);a.kc("destinations",t.destinations)("displayedColumns",t.displayedColumns)}}function b(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"app-alert",8),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"p"),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"div",9),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Hc(10,g,1,2,"app-perun-web-apps-destination-list",10),a.Rb()),2&t){const t=a.dc();a.Ab(1),a.kc("alert_type","warn"),a.Ab(1),a.Kc(a.fc(3,5,"DIALOGS.REMOVE_DESTINATIONS.WARNING")),a.Ab(3),a.Kc(a.fc(6,7,"DIALOGS.REMOVE_DESTINATIONS.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(9,9,"DIALOGS.REMOVE_DESTINATIONS.ASK")," "),a.Ab(2),a.kc("ngIf",!t.loading)}}let m=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.serviceManager=s,this.displayedColumns=[],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.destinations=this.data.destinations,this.displayedColumns="admin-theme"===this.theme?["destinationId","facility","destination","type","propagationType"]:["destinationId","service","destination","type","propagationType"],this.dataSource=new o.o(this.data.destinations)}onCancel(){this.dialogRef.close(!1)}deleteDestinations(){if(0===this.destinations.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_DESTINATIONS.SUCCESS")),void this.dialogRef.close(!0);const t=this.destinations.pop();this.serviceManager.removeDestination(t.service.id,t.facility.id,t.destination,t.type).subscribe(()=>{this.deleteDestinations()},()=>this.loading=!1)}onConfirm(){this.loading=!0,this.deleteDestinations()}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(s.i),a.Mb(s.a),a.Mb(r.l),a.Mb(c.e),a.Mb(n.n))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-perun-web-apps-remove-destination-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",""],[3,"alert_type"],[1,"font-weight-bold"],[3,"destinations","displayedColumns",4,"ngIf"],[3,"destinations","displayedColumns"]],template:function(t,e){1&t&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Hc(4,f,1,0,"mat-spinner",1),a.Hc(5,b,11,11,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onConfirm()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,9,"DIALOGS.REMOVE_DESTINATIONS.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_DESTINATIONS.CANCEL"),""),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_DESTINATIONS.CONFIRM"),""))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,d.a,p.a],pipes:[c.d],styles:[""]}),t})()},"/vgl":function(t,e,i){"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,"a",(function(){return n}))},0:function(t,e,i){t.exports=i("zUnb")},"0N5F":function(t,e,i){"use strict";i.d(e,"a",(function(){return N}));var n=i("OZ4H"),s=i("TkCa"),o=i("X2Q7"),r=i("Ssnw"),a=i("EM62"),c=i("2kYt"),l=i("PBFl"),u=i("Y2X+"),h=i("csyo"),d=i("FcRk"),p=i("KZIX"),f=i("29Wa"),g=i("R7+U"),b=i("nIj0"),m=i("mFH5"),A=i("+Tre"),y=i("Cd2c"),w=i("VYu3"),v=i("s2Ay");function _(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",9),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Rb()),2&t&&(a.Ab(2),a.Kc(a.fc(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function S(t,e){1&t&&(a.Sb(0,"h1",9),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function E(t,e){1&t&&a.Nb(0,"mat-spinner",10)}function C(t,e){1&t&&(a.Sb(0,"div",34),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function R(t,e){1&t&&(a.Sb(0,"div",34),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function T(t,e){1&t&&(a.Sb(0,"mat-option",36),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function k(t,e){1&t&&(a.Sb(0,"div",34),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function I(t,e){1&t&&(a.Sb(0,"div",34),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function O(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",37),a.Sb(1,"div",38),a.Sb(2,"div",39),a.Sb(3,"span",40),a.Jc(4),a.ec(5,"translate"),a.Rb(),a.Sb(6,"mat-form-field",18),a.Sb(7,"input",41,42),a.Zb("focus",(function(){return a.xc(t),a.dc(2).isTextFocused=!1}))("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationMail.message.en.subject=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(9,"div",43),a.Jc(10),a.ec(11,"translate"),a.Rb(),a.Sb(12,"button",44),a.Zb("click",(function(){a.xc(t);const e=a.dc(2);return e.showTags=!e.showTags})),a.Jc(13),a.ec(14,"translate"),a.ec(15,"translate"),a.Rb(),a.Sb(16,"mat-form-field",18),a.Sb(17,"textarea",45,46),a.Zb("focus",(function(){return a.xc(t),a.dc(2).isTextFocused=!0}))("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationMail.message.en.text=e})),a.Jc(19," "),a.Rb(),a.Rb(),a.Rb(),a.Sb(20,"div"),a.Sb(21,"app-tag-bar",47),a.Zb("addedTag",(function(e){a.xc(t);const i=a.tc(8),n=a.tc(18);return a.dc(2).addTag(i,n,"en",e)})),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(4),a.Lc("",a.fc(5,6,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT")," :"),a.Ab(3),a.kc("ngModel",t.applicationMail.message.en.subject),a.Ab(3),a.Lc(" ",a.fc(11,8,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),a.Ab(3),a.Lc(" ",t.showTags?a.fc(14,10,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):a.fc(15,12,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),a.Ab(4),a.kc("ngModel",t.applicationMail.message.en.text),a.Ab(3),a.kc("@tagsOpenClose",t.showTags?"open":"closed")}}function D(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",37),a.Sb(1,"div",38),a.Sb(2,"div",39),a.Sb(3,"span",40),a.Jc(4),a.ec(5,"translate"),a.Rb(),a.Sb(6,"mat-form-field",18),a.Sb(7,"input",41,48),a.Zb("focus",(function(){return a.xc(t),a.dc(2).isTextFocused=!1}))("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationMail.message.cs.subject=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(9,"div",43),a.Jc(10),a.ec(11,"translate"),a.Rb(),a.Sb(12,"button",44),a.Zb("click",(function(){a.xc(t);const e=a.dc(2);return e.showTags=!e.showTags})),a.Jc(13),a.ec(14,"translate"),a.ec(15,"translate"),a.Rb(),a.Sb(16,"mat-form-field",18),a.Sb(17,"textarea",45,49),a.Zb("focus",(function(){return a.xc(t),a.dc(2).isTextFocused=!0}))("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationMail.message.cs.text=e})),a.Jc(19," "),a.Rb(),a.Rb(),a.Rb(),a.Sb(20,"div"),a.Sb(21,"app-tag-bar",47),a.Zb("addedTag",(function(e){a.xc(t);const i=a.tc(8),n=a.tc(18);return a.dc(2).addTag(i,n,"cs",e)})),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(4),a.Lc("",a.fc(5,6,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT")," :"),a.Ab(3),a.kc("ngModel",t.applicationMail.message.cs.subject),a.Ab(3),a.Lc(" ",a.fc(11,8,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),a.Ab(3),a.Lc(" ",t.showTags?a.fc(14,10,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):a.fc(15,12,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),a.Ab(4),a.kc("ngModel",t.applicationMail.message.cs.text),a.Ab(3),a.kc("@tagsOpenClose",t.showTags?"open":"closed")}}function M(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",11),a.Sb(1,"div"),a.Sb(2,"app-alert",12),a.Jc(3),a.ec(4,"translate"),a.Rb(),a.Rb(),a.Sb(5,"mat-tab-group",13),a.Sb(6,"mat-tab",14),a.ec(7,"translate"),a.Sb(8,"div",15),a.Sb(9,"span",16),a.Jc(10),a.ec(11,"translate"),a.Rb(),a.Sb(12,"div",17),a.Sb(13,"mat-form-field",18),a.Sb(14,"mat-select",19),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().applicationMail.mailType=e}))("selectionChange",(function(){return a.xc(t),a.dc().notificationExist()})),a.Sb(15,"mat-option",20),a.Jc(16),a.ec(17,"translate"),a.Rb(),a.Sb(18,"mat-option",21),a.Jc(19),a.ec(20,"translate"),a.Rb(),a.Sb(21,"mat-option",22),a.Jc(22),a.ec(23,"translate"),a.Rb(),a.Sb(24,"mat-option",23),a.Jc(25),a.ec(26,"translate"),a.Rb(),a.Sb(27,"mat-option",24),a.Jc(28),a.ec(29,"translate"),a.Rb(),a.Sb(30,"mat-option",25),a.Jc(31),a.ec(32,"translate"),a.Rb(),a.Sb(33,"mat-option",26),a.Jc(34),a.ec(35,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Sb(36,"div",27),a.Nb(37,"span",28),a.Hc(38,C,3,3,"div",29),a.Hc(39,R,3,3,"div",29),a.Rb(),a.Sb(40,"div",15),a.Sb(41,"span",30),a.Jc(42),a.ec(43,"translate"),a.Rb(),a.Sb(44,"div",17),a.Sb(45,"mat-form-field",18),a.Sb(46,"mat-select",19),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().applicationMail.appType=e}))("selectionChange",(function(){return a.xc(t),a.dc().notificationExist()})),a.Sb(47,"mat-option",31),a.Jc(48),a.ec(49,"translate"),a.Rb(),a.Hc(50,T,3,3,"mat-option",32),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Sb(51,"div",27),a.Nb(52,"span",28),a.Hc(53,k,3,3,"div",29),a.Hc(54,I,3,3,"div",29),a.Rb(),a.Sb(55,"div",15),a.Sb(56,"span",30),a.Jc(57),a.ec(58,"translate"),a.Rb(),a.Sb(59,"div",17),a.Sb(60,"mat-checkbox",33),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().applicationMail.send=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(61,"div",27),a.Nb(62,"span",28),a.Sb(63,"div",34),a.Jc(64),a.ec(65,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Sb(66,"mat-tab",14),a.ec(67,"translate"),a.Hc(68,O,22,14,"ng-template",35),a.Rb(),a.Sb(69,"mat-tab",14),a.ec(70,"translate"),a.Hc(71,D,22,14,"ng-template",35),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(1),a.kc("@openClose",t.invalidNotification?"open":"closed"),a.Ab(2),a.Kc(a.fc(4,27,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),a.Ab(3),a.lc("label",a.fc(7,29,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),a.Ab(4),a.Lc("",a.fc(11,31,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),a.Ab(4),a.kc("ngModel",t.applicationMail.mailType)("disabled",!t.data.createMailNotification),a.Ab(2),a.Lc(" ",a.fc(17,33,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),a.Ab(3),a.Lc(" ",a.fc(20,35,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),a.Ab(3),a.Lc(" ",a.fc(23,37,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),a.Ab(3),a.Lc(" ",a.fc(26,39,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),a.Ab(3),a.Lc(" ",a.fc(29,41,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),a.Ab(3),a.Lc(" ",a.fc(32,43,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),a.Ab(3),a.Lc(" ",a.fc(35,45,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),a.Ab(4),a.kc("ngIf",!t.data.createMailNotification),a.Ab(1),a.kc("ngIf",t.data.createMailNotification),a.Ab(3),a.Lc("",a.fc(43,47,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),a.Ab(4),a.kc("ngModel",t.applicationMail.appType)("disabled",!t.data.createMailNotification),a.Ab(2),a.Lc(" ",a.fc(49,49,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),a.Ab(2),a.kc("ngIf","USER_INVITE"!==t.applicationMail.mailType),a.Ab(3),a.kc("ngIf",!t.data.createMailNotification),a.Ab(1),a.kc("ngIf",t.data.createMailNotification),a.Ab(3),a.Lc("",a.fc(58,51,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),a.Ab(3),a.kc("ngModel",t.applicationMail.send),a.Ab(4),a.Lc(" ",a.fc(65,53,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),a.Ab(2),a.lc("label",a.fc(67,55,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_EN")),a.Ab(3),a.lc("label",a.fc(70,57,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_CS"))}}function P(t,e){if(1&t){const t=a.Tb();a.Sb(0,"button",50),a.Zb("click",(function(){return a.xc(t),a.dc().create()})),a.Jc(1),a.ec(2,"translate"),a.Rb()}if(2&t){const t=a.dc();a.kc("disabled",t.invalidNotification||t.loading),a.Ab(1),a.Lc(" ",a.fc(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function x(t,e){if(1&t){const t=a.Tb();a.Sb(0,"button",50),a.Zb("click",(function(){return a.xc(t),a.dc().save()})),a.Jc(1),a.ec(2,"translate"),a.Rb()}if(2&t){const t=a.dc();a.kc("disabled",t.loading||!t.editAuth),a.Ab(1),a.Lc(" ",a.fc(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}let N=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.registrarService=e,this.data=i,this.authResolver=n,this.groupsService=s,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.language="en",this.loading=!1}ngOnInit(){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,n){let s;s=this.isTextFocused?e:t;const o=s.selectionStart;this.isTextFocused?this.applicationMail.message[i].text=this.applicationMail.message[i].text.substring(0,o)+n+this.applicationMail.message[i].text.substring(o):this.applicationMail.message[i].subject=this.applicationMail.message[i].subject.substring(0,o)+n+this.applicationMail.message[i].subject.substring(o),s.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)(a.Mb(n.i),a.Mb(o.l),a.Mb(n.a),a.Mb(r.h),a.Mb(o.h))},t.\u0275cmp=a.Gb({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"],["matTabContent",""],["value","EXTENSION"],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["enInput",""],[1,"font-weight-bold"],["mat-flat-button","",3,"click"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["enTextarea",""],[3,"addedTag"],["csInput",""],["csTextarea",""],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){if(1&t&&(a.Sb(0,"div"),a.Sb(1,"div",0),a.Hc(2,_,4,3,"div",1),a.Hc(3,S,3,3,"ng-template",null,2,a.Ic),a.Hc(5,E,1,0,"mat-spinner",3),a.Hc(6,M,72,59,"div",4),a.Sb(7,"div",5),a.Sb(8,"button",6),a.Zb("click",(function(){return e.cancel()})),a.Jc(9),a.ec(10,"translate"),a.Rb(),a.Hc(11,P,3,4,"button",7),a.Sb(12,"div",8),a.ec(13,"translate"),a.Hc(14,x,3,4,"button",7),a.Rb(),a.Rb(),a.Rb(),a.Rb()),2&t){const t=a.tc(4);a.Db("",e.theme," h-100"),a.Ab(2),a.kc("ngIf",e.data.createMailNotification)("ngIfElse",t),a.Ab(3),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),a.Ab(2),a.kc("ngIf",e.data.createMailNotification),a.Ab(1),a.lc("matTooltip",a.fc(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),a.kc("matTooltipPosition","above")("matTooltipDisabled",e.editAuth),a.Ab(2),a.kc("ngIf",!e.data.createMailNotification)}},directives:[c.t,n.c,l.b,u.a,n.j,h.c,n.g,d.a,p.c,p.a,f.c,g.a,b.r,b.u,m.n,A.a,p.b,y.b,b.c,w.a],pipes:[v.d],styles:[""],data:{animation:[s.h,s.c]}}),t})()},"0XDM":function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),s=i("PBFl"),o=i("Y2X+"),r=i("bFHC"),a=i("s2Ay");let c=(()=>{class t{constructor(){this.refresh=new n.o}onClickbutton(t){this.refresh.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"button",0),n.Zb("click",(function(t){return e.onClickbutton(t)})),n.ec(1,"translate"),n.Nb(2,"mat-icon",1),n.Rb()),2&t&&(n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),n.kc("disabled",e.disabled),n.Ab(2),n.lc("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[s.b,o.a,r.a],pipes:[a.d],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})()},"1Gb8":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),s=i("s2Ay");let o=(()=>{class t{constructor(t){this.translateService=t,this.returnData=""}transform(t,...e){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)(n.Mb(s.e))},t.\u0275pipe=n.Lb({name:"applicationFormWidgetDescription",type:t,pure:!0}),t})()},"1MAX":function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("dUuy"),s=i("i9P/"),o=i("sWLk"),r=i("qEfY"),a=i("eY+9"),c=i("/vgl"),l=i("X0qr");const u=t=>{if(t&&"function"==typeof t[r.a])return u=t,t=>{const e=u[r.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(n.a)(t);if(Object(c.a)(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.a),t);if(t&&"function"==typeof t[o.a])return e=t,t=>{const i=e[o.a]();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=Object(l.a)(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}},"22FB":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),s=i("8clQ"),o=i("LAw4"),r=i("s2Ay");let a=(()=>{class t{constructor(){this.memberSelected=new n.o,this.memberFullNameFunction=t=>Object(s.w)(t.user)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.memberSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.members)("searchFunction",e.memberFullNameFunction)("mainTextFunction",e.memberFullNameFunction)("selectPlaceholder",n.fc(1,6,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.SELECT_MEMBER"))("findPlaceholder",n.fc(2,8,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.FIND_MEMBER"))("noEntriesText",n.fc(3,10,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.NO_MEMBER_FOUND"))},directives:[o.a],pipes:[r.d],styles:[""]}),t})()},"23RZ":function(t,e,i){"use strict";i.d(e,"a",(function(){return j}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("cqs0"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("Ds80"),f=i("sEIs"),g=i("TQS+"),b=i("FcRk"),m=i("s2Ay"),A=i("dhrr"),y=i("aea8");function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function v(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",24),n.Sb(1,"mat-checkbox",25),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.itemSelectionToggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function _(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function S(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function E(t,e){1&t&&n.Nb(0,"th",22)}function C(t,e){if(1&t&&(n.Sb(0,"td",27),n.Nb(1,"perun-web-apps-recently-viewed-icon",28),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("recentIds",i.recentIds)("id",t.id)}}function R(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function T(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function k(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function I(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.vo.name)}}function O(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function D(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.facility.name)}}function M(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function P(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.ec(2,"resourceTagsToString"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.resourceTags))}}function x(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function N(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.description)}}function L(t,e){1&t&&n.Nb(0,"tr",29)}const F=function(t){return[t]};function z(t,e){if(1&t&&(n.Nb(0,"tr",30),n.ec(1,"getResourceRoute"),n.ec(2,"getResourceRoute")),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),n.kc("routerLink",i.disableRouting?null:n.gc(1,6,t,i.routingVo))("perunWebAppsMiddleClickRouterLink",n.pc(12,F,i.disableRouting?null:n.gc(2,9,t,i.routingVo)))}}function H(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function B(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let j=(()=>{class t{constructor(t,e){this.guiAuthResolver=t,this.tableCheckbox=e,this.resources=[],this.selection=new a.c(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","facility","tags","description"],this.pageSizeOptions=c.a,this.page=new n.o,this.allSelected=new n.o,this.removeAuth=!1,this.addAuth=!1}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.guiAuthResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(this.resources),this.setDataSource(),this.dataSource.filter=this.filterValue,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 n="";return t.resourceTags.forEach((function(t){n=n.concat(t.tagName)})),n;default:return t[e]}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}isAllSelected(){const t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.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.paginator.pageIndex,!1),this.setAuth()}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.paginator}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.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds"},outputs:{page:"page",allSelected:"allSelected"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,w,2,3,"th",6),n.Hc(7,v,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,_,3,3,"th",9),n.Hc(10,S,2,1,"td",10),n.Pb(),n.Qb(11,11),n.Hc(12,E,1,0,"th",6),n.Hc(13,C,2,2,"td",12),n.Pb(),n.Qb(14,13),n.Hc(15,R,3,3,"th",9),n.Hc(16,T,2,1,"td",12),n.Pb(),n.Qb(17,14),n.Hc(18,k,3,3,"th",9),n.Hc(19,I,2,1,"td",12),n.Pb(),n.Qb(20,15),n.Hc(21,O,3,3,"th",9),n.Hc(22,D,2,1,"td",12),n.Pb(),n.Qb(23,16),n.Hc(24,M,3,3,"th",9),n.Hc(25,P,3,3,"td",12),n.Pb(),n.Qb(26,17),n.Hc(27,x,3,3,"th",9),n.Hc(28,N,2,1,"td",12),n.Pb(),n.Hc(29,L,1,0,"tr",18),n.Hc(30,z,3,14,"tr",19),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",20),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,H,3,3,"app-alert",21),n.Hc(33,B,3,3,"app-alert",21)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.resources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),n.Ab(1),n.kc("ngIf",0===e.resources.length))},directives:[u.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,h.t,r.h,d.a,r.a,o.b,p.a,r.j,r.l,f.g,g.c,b.a],pipes:[m.d,A.a,y.a],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})()},"25CY":function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"29Wa":function(t,e,i){"use strict";i.d(e,"a",(function(){return Y})),i.d(e,"b",(function(){return L})),i.d(e,"c",(function(){return $})),i.d(e,"d",(function(){return z})),i.d(e,"e",(function(){return X})),i.d(e,"f",(function(){return j})),i.d(e,"g",(function(){return G})),i.d(e,"h",(function(){return U})),i.d(e,"i",(function(){return K})),i.d(e,"j",(function(){return V}));var n=i("TKFd"),s=i("2kYt"),o=i("EM62"),r=i("mFH5"),a=i("5XID"),c=i("ZTXN"),l=i("g6G6"),u=i("KTx3"),h=i("jIqt"),d=i("kuMc"),p=i("J+dc"),f=i("f7+R"),g=i("5lCh"),b=i("E5oP"),m=i("cZZj");const A=["underline"],y=["connectionContainer"],w=["inputContainer"],v=["label"];function _(t,e){1&t&&(o.Qb(0),o.Sb(1,"div",14),o.Nb(2,"div",15),o.Nb(3,"div",16),o.Nb(4,"div",17),o.Rb(),o.Sb(5,"div",18),o.Nb(6,"div",15),o.Nb(7,"div",16),o.Nb(8,"div",17),o.Rb(),o.Pb())}function S(t,e){1&t&&(o.Sb(0,"div",19),o.ic(1,1),o.Rb())}function E(t,e){if(1&t&&(o.Qb(0),o.ic(1,2),o.Sb(2,"span"),o.Jc(3),o.Rb(),o.Pb()),2&t){const t=o.dc(2);o.Ab(3),o.Kc(t._control.placeholder)}}function C(t,e){1&t&&o.ic(0,3,["*ngSwitchCase","true"])}function R(t,e){1&t&&(o.Sb(0,"span",23),o.Jc(1," *"),o.Rb())}function T(t,e){if(1&t){const t=o.Tb();o.Sb(0,"label",20,21),o.Zb("cdkObserveContent",(function(){return o.xc(t),o.dc().updateOutlineGap()})),o.Hc(2,E,4,1,"ng-container",12),o.Hc(3,C,1,0,"ng-content",12),o.Hc(4,R,2,0,"span",22),o.Rb()}if(2&t){const t=o.dc();o.Eb("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.kc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),o.Bb("for",t._control.id)("aria-owns",t._control.id),o.Ab(2),o.kc("ngSwitchCase",!1),o.Ab(1),o.kc("ngSwitchCase",!0),o.Ab(1),o.kc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function k(t,e){1&t&&(o.Sb(0,"div",24),o.ic(1,4),o.Rb())}function I(t,e){if(1&t&&(o.Sb(0,"div",25,26),o.Nb(2,"span",27),o.Rb()),2&t){const t=o.dc();o.Ab(2),o.Eb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function O(t,e){if(1&t&&(o.Sb(0,"div"),o.ic(1,5),o.Rb()),2&t){const t=o.dc();o.kc("@transitionMessages",t._subscriptAnimationState)}}function D(t,e){if(1&t&&(o.Sb(0,"div",31),o.Jc(1),o.Rb()),2&t){const t=o.dc(2);o.kc("id",t._hintLabelId),o.Ab(1),o.Kc(t.hintLabel)}}function M(t,e){if(1&t&&(o.Sb(0,"div",28),o.Hc(1,D,2,2,"div",29),o.ic(2,6),o.Nb(3,"div",30),o.ic(4,7),o.Rb()),2&t){const t=o.dc();o.kc("@transitionMessages",t._subscriptAnimationState),o.Ab(1),o.kc("ngIf",t.hintLabel)}}const P=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],x=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let N=0,L=(()=>{class t{constructor(){this.id="mat-error-"+N++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&o.Bb("id",e.id)},inputs:{id:"id"}}),t})();const F={transitionMessages:Object(f.n)("transitionMessages",[Object(f.k)("enter",Object(f.l)({opacity:1,transform:"translateY(0%)"})),Object(f.m)("void => enter",[Object(f.l)({opacity:0,transform:"translateY(-100%)"}),Object(f.e)("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.Hb({type:t}),t})();function H(t){return Error(`A hint was already declared for 'align="${t}"'.`)}let B=0,j=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+B++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(o.Bb("id",e.id)("align",null),o.Eb("mat-right","end"==e.align))},inputs:{align:"align",id:"id"}}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-label"]]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-placeholder"]]}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matPrefix",""]]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matSuffix",""]]}),t})(),q=0;class J{constructor(t){this._elementRef=t}}const W=Object(r.y)(J,"primary"),Z=new o.r("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Y=new o.r("MatFormField");let $=(()=>{class t extends W{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.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+q++,this._labelId="mat-form-field-label-"+q++,this._labelOptions=i||{},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=Object(a.c)(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _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}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}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(Object(h.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(d.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(d.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(l.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(d.a)(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._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(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,Object(u.a)(this._label.nativeElement,"transitionend").pipe(Object(p.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(i=>{if("start"===i.align){if(t||this.hintLabel)throw H("start");t=i}else if("end"===i.align){if(e)throw H("end");e=i}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if("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=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}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=this._getStartEnd(t.children[0].getBoundingClientRect());let a=0;for(const e of t.children)a+=e.offsetWidth;e=Math.abs(r-o)-5,i=a>0?.75*a+10:0}for(let r=0;r{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},imports:[[s.c,r.i,n.c],r.i]}),t})()},"2Zb0":function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var n=i("ajPJ"),s=i("Ssnw"),o=i("8clQ"),r=i("9RND"),a=i("EM62"),c=i("OZ4H"),l=i("2kYt"),u=i("s2Ay");function h(t,e){if(1&t&&(a.Sb(0,"span"),a.Sb(1,"a",13),a.Jc(2),a.Rb(),a.Jc(3,", "),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.kc("href",t.webpage,a.zc),a.Ab(1),a.Lc(" ",t.name,"")}}const d=function(t){return{background:t}},p=function(t){return{color:t}};let f=(()=>{class t{constructor(t,e,i){this.storeService=t,this.dialog=e,this.store=i,this.perunwebpage="",this.perunTeamWebpage="",this.privacyPolicy="",this.userDocumentationWebpage="",this.administratorDocumentationWebpage="",this.supportMail="",this.version="",this.copyright=[],this.backgroundColor=this.store.get("theme","footer_bg_color"),this.footerCopyrightTextColor=this.store.get("theme","footer_copyright_text_color"),this.linksTextColor=this.store.get("theme","footer_links_text_color"),this.footerHeadersTextColor=this.store.get("theme","footer_headers_text_color"),this.githubRepository=this.storeService.get("footer_github_releases"),this.currentYear=(new Date).getFullYear()}ngOnInit(){this.perunwebpage=this.storeService.get("footer_perun_web_web"),this.perunTeamWebpage=this.storeService.get("footer_perun_team_web"),this.privacyPolicy=this.storeService.get("footer_privacy_policy_web"),this.userDocumentationWebpage=this.storeService.get("footer_users_documentation_web"),this.administratorDocumentationWebpage=this.storeService.get("footer_administrator_documentation"),this.supportMail=this.storeService.get("footer_support_mail"),this.version=r.a,this.copyright=this.storeService.get("footer_copyright")}openBugReportDialog(){const t=Object(o.o)();t.width="550px",this.dialog.open(n.a,t)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(s.m),a.Mb(c.b),a.Mb(s.m))},t.\u0275cmp=a.Gb({type:t,selectors:[["perun-web-apps-footer"]],decls:53,vars:73,consts:[[1,"font-small",3,"ngStyle"],[1,"container-fluid","text-center","text-md-left","pr-xl-5","pl-xl-5"],[1,"row"],[1,"col-md-4","mx-auto","footer-col"],[1,"text-uppercase","font-weight-bold",3,"ngStyle"],[1,"list-unstyled"],["target","_blank",3,"href","ngStyle"],["id","clickable",3,"ngStyle","click"],[3,"ngStyle"],[1,"material-icons","align-bottom"],[1,"my-0"],["id","copyright",1,"footer-copyright","text-center","py-2",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"]],template:function(t,e){1&t&&(a.Sb(0,"footer",0),a.Sb(1,"div",1),a.Sb(2,"div",2),a.Sb(3,"div",3),a.Sb(4,"h6",4),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"ul",5),a.Sb(8,"li"),a.Sb(9,"a",6),a.Jc(10),a.ec(11,"translate"),a.Rb(),a.Rb(),a.Sb(12,"li"),a.Sb(13,"a",6),a.Jc(14),a.ec(15,"translate"),a.Rb(),a.Rb(),a.Sb(16,"li"),a.Sb(17,"a",6),a.Jc(18),a.ec(19,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Sb(20,"div",3),a.Sb(21,"h6",4),a.Jc(22),a.ec(23,"translate"),a.Rb(),a.Sb(24,"ul",5),a.Sb(25,"li"),a.Sb(26,"a",6),a.Jc(27),a.ec(28,"translate"),a.Rb(),a.Rb(),a.Sb(29,"li"),a.Sb(30,"a",6),a.Jc(31),a.ec(32,"translate"),a.Rb(),a.Rb(),a.Sb(33,"li"),a.Sb(34,"span",7),a.Zb("click",(function(){return e.openBugReportDialog()})),a.Jc(35),a.ec(36,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Sb(37,"div",3),a.Sb(38,"h6",4),a.Jc(39),a.ec(40,"translate"),a.Rb(),a.Sb(41,"ul",5),a.Sb(42,"li",8),a.Sb(43,"i",9),a.Jc(44," mail "),a.Rb(),a.Jc(45),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Rb(),a.Nb(46,"hr",10),a.Sb(47,"div",11),a.Jc(48),a.Hc(49,h,4,2,"span",12),a.Jc(50," Version "),a.Sb(51,"a",13),a.Jc(52),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.kc("ngStyle",a.pc(49,d,e.backgroundColor)),a.Ab(4),a.kc("ngStyle",a.pc(51,p,e.footerHeadersTextColor)),a.Ab(1),a.Lc(" ",a.fc(6,31,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.ABOUT_PERUN")," "),a.Ab(4),a.kc("href",e.perunwebpage,a.zc)("ngStyle",a.pc(53,p,e.linksTextColor)),a.Ab(1),a.Kc(a.fc(11,33,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.PERUN_WEB")),a.Ab(3),a.kc("href",e.perunTeamWebpage,a.zc)("ngStyle",a.pc(55,p,e.linksTextColor)),a.Ab(1),a.Kc(a.fc(15,35,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.PERUN_TEAM")),a.Ab(3),a.kc("href",e.privacyPolicy,a.zc)("ngStyle",a.pc(57,p,e.linksTextColor)),a.Ab(1),a.Kc(a.fc(19,37,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.PRIVACY_POLICY")),a.Ab(3),a.kc("ngStyle",a.pc(59,p,e.footerHeadersTextColor)),a.Ab(1),a.Lc(" ",a.fc(23,39,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.HELP")," "),a.Ab(4),a.kc("href",e.userDocumentationWebpage,a.zc)("ngStyle",a.pc(61,p,e.linksTextColor)),a.Ab(1),a.Kc(a.fc(28,41,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.USER_DOCUMENTATION")),a.Ab(3),a.kc("href",e.administratorDocumentationWebpage,a.zc)("ngStyle",a.pc(63,p,e.linksTextColor)),a.Ab(1),a.Kc(a.fc(32,43,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.ADMINISTRATOR_DOCUMENTATION")),a.Ab(3),a.kc("ngStyle",a.pc(65,p,e.linksTextColor)),a.Ab(1),a.Kc(a.fc(36,45,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.REPORT_ISSUE")),a.Ab(3),a.kc("ngStyle",a.pc(67,p,e.footerHeadersTextColor)),a.Ab(1),a.Lc(" ",a.fc(40,47,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.SUPPORT")," "),a.Ab(3),a.kc("ngStyle",a.pc(69,p,e.linksTextColor)),a.Ab(3),a.Lc(" ",e.supportMail," "),a.Ab(2),a.kc("ngStyle",a.pc(71,p,e.footerCopyrightTextColor)),a.Ab(1),a.Lc(" \xa9 ",e.currentYear," Copyright: "),a.Ab(1),a.kc("ngForOf",e.copyright),a.Ab(2),a.kc("href",e.githubRepository,a.zc),a.Ab(1),a.Kc(e.version))},directives:[l.w,l.s],pipes:[u.d],styles:["footer[_ngcontent-%COMP%]{height:100%}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap}a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}li[_ngcontent-%COMP%]{color:#e0e0e0}#clickable[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},"2kYt":function(t,e,i){"use strict";i.d(e,"a",(function(){return w})),i.d(e,"b",(function(){return Pt})),i.d(e,"c",(function(){return $t})),i.d(e,"d",(function(){return Jt})),i.d(e,"e",(function(){return c})),i.d(e,"f",(function(){return zt})),i.d(e,"g",(function(){return Vt})),i.d(e,"h",(function(){return _})),i.d(e,"i",(function(){return Bt})),i.d(e,"j",(function(){return jt})),i.d(e,"k",(function(){return Gt})),i.d(e,"l",(function(){return Ut})),i.d(e,"m",(function(){return h})),i.d(e,"n",(function(){return S})),i.d(e,"o",(function(){return A})),i.d(e,"p",(function(){return xt})),i.d(e,"q",(function(){return dt})),i.d(e,"r",(function(){return pt})),i.d(e,"s",(function(){return gt})),i.d(e,"t",(function(){return mt})),i.d(e,"u",(function(){return Et})),i.d(e,"v",(function(){return Ct})),i.d(e,"w",(function(){return Rt})),i.d(e,"x",(function(){return vt})),i.d(e,"y",(function(){return _t})),i.d(e,"z",(function(){return St})),i.d(e,"A",(function(){return Tt})),i.d(e,"B",(function(){return v})),i.d(e,"C",(function(){return qt})),i.d(e,"D",(function(){return l})),i.d(e,"E",(function(){return Yt})),i.d(e,"F",(function(){return Lt})),i.d(e,"G",(function(){return Ft})),i.d(e,"H",(function(){return te})),i.d(e,"I",(function(){return W})),i.d(e,"J",(function(){return Qt})),i.d(e,"K",(function(){return a})),i.d(e,"L",(function(){return Xt})),i.d(e,"M",(function(){return o})),i.d(e,"N",(function(){return ht})),i.d(e,"O",(function(){return r}));var n=i("EM62");let s=null;function o(){return s}function r(t){s||(s=t)}class a{}const c=new n.r("DocumentToken");let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(n.Ib)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return Object(n.Wb)(d)}const h=new n.r("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(c))},t.\u0275prov=Object(n.Ib)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d(Object(n.Wb)(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 b(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 m(t){return t&&"?"!==t[0]?"?"+t:t}let A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(n.Ib)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=Object(n.Wb)(c).location;return new v(Object(n.Wb)(l),e&&e.origin||"")}const w=new n.r("appBaseHref");let v=(()=>{class t extends A{constructor(t,e){if(super(),this._platformLocation=t,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}onPopState(t){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+m(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+m(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+m(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(l),n.Wb(w,8))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends A{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){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+m(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+m(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(l),n.Wb(w,8))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new n.o,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=b(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+m(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+m(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+m(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}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.Wb(A),n.Wb(l))},t.normalizeQueryParams=m,t.joinWithSlash=g,t.stripTrailingSlash=b,t.\u0275prov=Object(n.Ib)({factory:E,token:t,providedIn:"root"}),t})();function E(){return new S(Object(n.Wb)(A),Object(n.Wb)(l))}function C(t){return t.replace(/\/index.html$/,"")}const R={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),k=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}({}),I=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),O=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),D=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),M=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 P(t,e){return B(Object(n.kb)(t)[n.bb.DateFormat],e)}function x(t,e){return B(Object(n.kb)(t)[n.bb.TimeFormat],e)}function N(t,e){return B(Object(n.kb)(t)[n.bb.DateTimeFormat],e)}function L(t,e){const i=Object(n.kb)(t),s=i[n.bb.NumberSymbols][e];if(void 0===s){if(e===M.CurrencyDecimal)return i[n.bb.NumberSymbols][M.Decimal];if(e===M.CurrencyGroup)return i[n.bb.NumberSymbols][M.Group]}return s}function F(t,e){return Object(n.kb)(t)[n.bb.NumberFormats][e]}const z=n.nb;function H(t){if(!t[n.bb.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[n.bb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(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 j(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const G=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,U={},K=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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 V=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}({}),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 W(t,e,i,s){let o=function(t){if(nt(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,i,n]=t.split("-").map(t=>+t);return new Date(e,i-1,n)}let i;if(i=t.match(G))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.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,r,a,c,l),e}(i)}const e=new Date(t);if(!nt(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,i){const s=function(t){return Object(n.kb)(t)[n.bb.LocaleId]}(e);if(U[s]=U[s]||{},U[s][i])return U[s][i];let o="";switch(i){case"shortDate":o=P(e,D.Short);break;case"mediumDate":o=P(e,D.Medium);break;case"longDate":o=P(e,D.Long);break;case"fullDate":o=P(e,D.Full);break;case"shortTime":o=x(e,D.Short);break;case"mediumTime":o=x(e,D.Medium);break;case"longTime":o=x(e,D.Long);break;case"fullTime":o=x(e,D.Full);break;case"short":const i=t(e,"shortTime"),n=t(e,"shortDate");o=Z(N(e,D.Short),[i,n]);break;case"medium":const s=t(e,"mediumTime"),r=t(e,"mediumDate");o=Z(N(e,D.Medium),[s,r]);break;case"long":const a=t(e,"longTime"),c=t(e,"longDate");o=Z(N(e,D.Long),[a,c]);break;case"full":const l=t(e,"fullTime"),u=t(e,"fullDate");o=Z(N(e,D.Full),[l,u])}return o&&(U[s][i]=o),o}(i,e)||e;let r,a=[];for(;e;){if(r=K.exec(e),!r){a.push(e);break}{a=a.concat(r.slice(1));const t=a.pop();if(!t)break;e=t}}let c=o.getTimezoneOffset();s&&(c=it(s,c),o=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*(it(e,n)-n))}(o,s));let l="";return a.forEach(t=>{const e=function(t){if(et[t])return et[t];let e;switch(t){case"G":case"GG":case"GGG":e=X(J.Eras,O.Abbreviated);break;case"GGGG":e=X(J.Eras,O.Wide);break;case"GGGGG":e=X(J.Eras,O.Narrow);break;case"y":e=$(q.FullYear,1,0,!1,!0);break;case"yy":e=$(q.FullYear,2,0,!0,!0);break;case"yyy":e=$(q.FullYear,3,0,!1,!0);break;case"yyyy":e=$(q.FullYear,4,0,!1,!0);break;case"M":case"L":e=$(q.Month,1,1);break;case"MM":case"LL":e=$(q.Month,2,1);break;case"MMM":e=X(J.Months,O.Abbreviated);break;case"MMMM":e=X(J.Months,O.Wide);break;case"MMMMM":e=X(J.Months,O.Narrow);break;case"LLL":e=X(J.Months,O.Abbreviated,I.Standalone);break;case"LLLL":e=X(J.Months,O.Wide,I.Standalone);break;case"LLLLL":e=X(J.Months,O.Narrow,I.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=$(q.Date,1);break;case"dd":e=$(q.Date,2);break;case"E":case"EE":case"EEE":e=X(J.Days,O.Abbreviated);break;case"EEEE":e=X(J.Days,O.Wide);break;case"EEEEE":e=X(J.Days,O.Narrow);break;case"EEEEEE":e=X(J.Days,O.Short);break;case"a":case"aa":case"aaa":e=X(J.DayPeriods,O.Abbreviated);break;case"aaaa":e=X(J.DayPeriods,O.Wide);break;case"aaaaa":e=X(J.DayPeriods,O.Narrow);break;case"b":case"bb":case"bbb":e=X(J.DayPeriods,O.Abbreviated,I.Standalone,!0);break;case"bbbb":e=X(J.DayPeriods,O.Wide,I.Standalone,!0);break;case"bbbbb":e=X(J.DayPeriods,O.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":e=X(J.DayPeriods,O.Abbreviated,I.Format,!0);break;case"BBBB":e=X(J.DayPeriods,O.Wide,I.Format,!0);break;case"BBBBB":e=X(J.DayPeriods,O.Narrow,I.Format,!0);break;case"h":e=$(q.Hours,1,-12);break;case"hh":e=$(q.Hours,2,-12);break;case"H":e=$(q.Hours,1);break;case"HH":e=$(q.Hours,2);break;case"m":e=$(q.Minutes,1);break;case"mm":e=$(q.Minutes,2);break;case"s":e=$(q.Seconds,1);break;case"ss":e=$(q.Seconds,2);break;case"S":e=$(q.FractionalSeconds,1);break;case"SS":e=$(q.FractionalSeconds,2);break;case"SSS":e=$(q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Q(V.Short);break;case"ZZZZZ":e=Q(V.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Q(V.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Q(V.Long);break;default:return null}return et[t]=e,e}(t);l+=e?e(o,i,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Z(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,i){return null!=e&&i in e?e[i]:t}))),t}function Y(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===q.Hours)0===a&&-12===i&&(a=12);else if(t===q.FractionalSeconds)return c=e,Y(a,3).substr(0,c);var c;const l=L(r,M.MinusSign);return Y(a,e,l,n,s)}}function X(t,e,i=I.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=Object(n.kb)(t),o=B([s[n.bb.MonthsFormat],s[n.bb.MonthsStandalone]],e);return B(o,i)}(e,o,s)[t.getMonth()];case J.Days:return function(t,e,i){const s=Object(n.kb)(t),o=B([s[n.bb.DaysFormat],s[n.bb.DaysStandalone]],e);return B(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=Object(n.kb)(t);return H(e),(e[n.bb.ExtraData][2]||[]).map(t=>"string"==typeof t?j(t):[j(t[0]),j(t[1])])}(e),i=function(t,e,i){const s=Object(n.kb)(t);H(s);const o=B([s[n.bb.ExtraData][0],s[n.bb.ExtraData][1]],e)||[];return B(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 V.Short:return(s>=0?"+":"")+Y(r,2,o)+Y(Math.abs(s%60),2,o);case V.ShortGMT:return"GMT"+(s>=0?"+":"")+Y(r,1,o);case V.Long:return"GMT"+(s>=0?"+":"")+Y(r,2,o)+":"+Y(Math.abs(s%60),2,o);case V.Extended:return 0===n?"Z":(s>=0?"+":"")+Y(r,2,o)+":"+Y(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}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=(o=i,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(4-o.getDay()))),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}var o;return Y(s,t,L(n,M.MinusSign))}}const et={};function it(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function nt(t){return t instanceof Date&&!isNaN(t.valueOf())}const st=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ot(t,e,i,n,s,o,r=!1){let a="",c=!1;if(isFinite(t)){let l=function(t){let e,i,n,s,o,r=Math.abs(t)+"",a=0;for((i=r.indexOf("."))>-1&&(r=r.replace(".","")),(n=r.search(/e/i))>0?(i<0&&(i=n),i+=+r.slice(n+1),r=r.substring(0,n)):i<0&&(i=r.length),n=0;"0"===r.charAt(n);n++);if(n===(o=r.length))e=[0],i=1;else{for(o--;"0"===r.charAt(o);)o--;for(i-=n,e=[],s=0;n<=o;n++,s++)e[s]=Number(r.charAt(n))}return i>22&&(e=e.splice(0,21),a=i-1,i=1),{digits:e,exponent:a,integerLen:i}}(t);r&&(l=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(l));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(o){const t=o.match(st);if(null===t)throw new Error(o+" is not a valid digit info");const e=t[1],i=t[3],n=t[5];null!=e&&(u=at(e)),null!=i&&(h=at(i)),null!=n?d=at(n):null!=i&&h>d&&(d=h)}!function(t,e,i){if(e>i)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${i}).`);let n=t.digits,s=n.length-t.integerLen;const o=Math.min(Math.max(e,s),i);let r=o+t.integerLen,a=n[r];if(r>0){n.splice(Math.max(t.integerLen,r));for(let t=r;t=5)if(r-1<0){for(let e=0;e>r;e--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[r-1]++;for(;s=l?n.pop():c=!1),e>=10?1:0}),0);u&&(n.unshift(u),t.integerLen++)}(l,h,d);let p=l.digits,f=l.integerLen;const g=l.exponent;let b=[];for(c=p.every(t=>!t);f0?b=p.splice(f,p.length):(b=p,p=[0]);const m=[];for(p.length>=e.lgSize&&m.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)m.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(L(i,n)),b.length&&(a+=L(i,s)+b.join("")),g&&(a+=L(i,M.Exponential)+"+"+g)}else a=L(i,M.Infinity);return a=t<0&&!c?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function rt(t,e="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(";"),s=n[0],o=n[1],r=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],a=r[0],c=r[1]||"";i.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u-1)return s;if(s=i.getPluralCategory(t,n),e.indexOf(s)>-1)return s;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}let ut=(()=>{class t extends ct{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(z(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(n.v))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();function ht(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 dt=(()=>{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&&(Object(n.qb)(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 "+Object(n.vb)(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.Mb(n.t),n.Mb(n.u),n.Mb(n.l),n.Mb(n.F))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),pt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}ngOnChanges(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const t=e.get(n.y);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const i=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(n.j)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.Q))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.yb]}),t})();class ft{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 gt=(()=>{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){Object(n.W)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),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 ft(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new bt(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 bt(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.Mb(n.Q),n.Mb(n.M),n.Mb(n.t))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class bt{constructor(t,e){this.record=t,this.view=e}}let mt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new At,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){yt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){yt("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.Mb(n.Q),n.Mb(n.M))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class At{constructor(){this.$implicit=null,this.ngIf=null}}function yt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(n.vb)(e)}'.`)}class wt{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 vt=(()=>{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 wt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.Q),n.Mb(n.M),n.Mb(vt,1))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),St=(()=>{class t{constructor(t,e,i){i._addDefault(new wt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.Q),n.Mb(n.M),n.Mb(vt,1))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Et=(()=>{class t{constructor(t){this._localization=t,this._caseViews={}}set ngPlural(t){this._switchValue=t,this._updateView()}addCase(t,e){this._caseViews[t]=e}_updateView(){this._clearViews();const t=Object.keys(this._caseViews),e=lt(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(ct))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),t})(),Ct=(()=>{class t{constructor(t,e,i,n){this.value=t;const s=!isNaN(Number(t));n.addCase(s?"="+t:t,new wt(i,e))}}return t.\u0275fac=function(e){return new(e||t)(n.Xb("ngPluralCase"),n.Mb(n.M),n.Mb(n.Q),n.Mb(Et,1))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngPluralCase",""]]}),t})(),Rt=(()=>{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.Mb(n.l),n.Mb(n.u),n.Mb(n.F))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Tt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){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&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),i=Object.keys(t.currentValue||{});if(e.length===i.length){for(let t of i)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.Q))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.yb]}),t})();function kt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(n.vb)(t)}'`)}class It{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Ot{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Dt=new Ot,Mt=new It;let Pt=(()=>{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(Object(n.sb)(e))return Dt;if(Object(n.rb)(e))return Mt;throw kt(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.Yb())},t.\u0275pipe=n.Lb({name:"async",type:t,pure:!1}),t})(),xt=(()=>{class t{transform(e){if(!e)return e;if("string"!=typeof e)throw kt(t,e);return e.toLowerCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"lowercase",type:t,pure:!0}),t})();const Nt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let Lt=(()=>{class t{transform(e){if(!e)return e;if("string"!=typeof e)throw kt(t,e);return e.replace(Nt,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"titlecase",type:t,pure:!0}),t})(),Ft=(()=>{class t{transform(e){if(!e)return e;if("string"!=typeof e)throw kt(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"uppercase",type:t,pure:!0}),t})(),zt=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return W(e,i,s||this.locale,n)}catch(o){throw kt(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.v))},t.\u0275pipe=n.Lb({name:"date",type:t,pure:!0}),t})();const Ht=/#/g;let Bt=(()=>{class t{constructor(t){this._localization=t}transform(e,i,n){if(null==e)return"";if("object"!=typeof i||null===i)throw kt(t,i);return i[lt(e,Object.keys(i),this._localization,n)].replace(Ht,e.toString())}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(ct))},t.\u0275pipe=n.Lb({name:"i18nPlural",type:t,pure:!0}),t})(),jt=(()=>{class t{transform(e,i){if(null==e)return"";if("object"!=typeof i||"string"!=typeof e)throw kt(t,i);return i.hasOwnProperty(e)?i[e]:i.hasOwnProperty("other")?i.other:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"i18nSelect",type:t,pure:!0}),t})(),Gt=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"json",type:t,pure:!1}),t})(),Ut=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=Kt){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const i=this.differ.diff(t);return i&&(this.keyValues=[],i.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.u))},t.\u0275pipe=n.Lb({name:"keyvalue",type:t,pure:!1}),t})();function Kt(t,e){const i=t.key,n=e.key;if(i===n)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(null===i)return 1;if(null===n)return-1;if("string"==typeof i&&"string"==typeof n)return i{class t{constructor(t){this._locale=t}transform(e,i,n){if(Wt(e))return null;n=n||this._locale;try{return function(t,e,i){return ot(t,rt(F(e,T.Decimal),L(e,M.MinusSign)),e,M.Group,M.Decimal,i)}(Zt(e),n,i)}catch(s){throw kt(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.v))},t.\u0275pipe=n.Lb({name:"number",type:t,pure:!0}),t})(),qt=(()=>{class t{constructor(t){this._locale=t}transform(e,i,n){if(Wt(e))return null;n=n||this._locale;try{return function(t,e,i){return ot(t,rt(F(e,T.Percent),L(e,M.MinusSign)),e,M.Group,M.Decimal,i,!0).replace(new RegExp("%","g"),L(e,M.PercentSign))}(Zt(e),n,i)}catch(s){throw kt(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.v))},t.\u0275pipe=n.Lb({name:"percent",type:t,pure:!0}),t})(),Jt=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,i,s="symbol",o,r){if(Wt(e))return null;r=r||this._locale,"boolean"==typeof s&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),s=s?"symbol":"code");let a=i||this._defaultCurrencyCode;"code"!==s&&(a="symbol"===s||"symbol-narrow"===s?function(t,e,i="en"){const s=function(t){return Object(n.kb)(t)[n.bb.Currencies]}(i)[t]||R[t]||[],o=s[1];return"narrow"===e&&"string"==typeof o?o:s[0]||t}(a,"symbol"===s?"wide":"narrow",r):s);try{return function(t,e,i,n,s){const o=rt(F(e,T.Currency),L(e,M.MinusSign));return o.minFrac=function(t){let e;const i=R[t];return i&&(e=i[2]),"number"==typeof e?e:2}(n),o.maxFrac=o.minFrac,ot(t,o,e,M.CurrencyGroup,M.CurrencyDecimal,s).replace("\xa4",i).replace("\xa4","").trim()}(Zt(e),r,a,i,o)}catch(c){throw kt(t,c.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.v),n.Mb(n.k))},t.\u0275pipe=n.Lb({name:"currency",type:t,pure:!0}),t})();function Wt(t){return null==t||""===t||t!=t}function Zt(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}let Yt=(()=>{class t{transform(e,i,n){if(null==e)return e;if(!this.supports(e))throw kt(t,e);return e.slice(i,n)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"slice",type:t,pure:!1}),t})(),$t=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[{provide:ct,useClass:ut}]}),t})();const Xt="browser";function Qt(t){return t===Xt}let te=(()=>{class t{}return t.\u0275prov=Object(n.Ib)({token:t,providedIn:"root",factory:()=>new ee(Object(n.Wb)(c),window,Object(n.Wb)(n.n))}),t})();class ee{constructor(t,e,i){this.document=t,this.window=e,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(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])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=ie(this.window.history)||ie(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function ie(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},"3EQ+":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("X2Q7"),o=i("EM62"),r=i("2kYt"),a=i("PBFl"),c=i("csyo"),l=i("29Wa"),u=i("Cd2c"),h=i("nIj0"),d=i("R7+U"),p=i("mFH5"),f=i("s2Ay");function g(t,e){1&t&&o.Nb(0,"mat-spinner",6)}function b(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Sb(3,"mat-form-field",9),o.Sb(4,"mat-select",10),o.Zb("valueChange",(function(e){return o.xc(t),o.dc(2).embeddedState=e})),o.Sb(5,"mat-option",11),o.Jc(6),o.ec(7,"translate"),o.Rb(),o.Sb(8,"mat-option",12),o.Jc(9),o.ec(10,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Rb()}if(2&t){const t=o.dc(2);o.Ab(1),o.Lc(" ",o.fc(2,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),": "),o.Ab(3),o.kc("value",t.embeddedState),o.Ab(2),o.Kc(o.fc(7,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.Ab(3),o.Kc(o.fc(10,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function m(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div",7),o.Sb(1,"div"),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Sb(4,"mat-form-field"),o.Sb(5,"input",8),o.Zb("ngModelChange",(function(e){return o.xc(t),o.dc().moduleName=e})),o.Rb(),o.Rb(),o.Sb(6,"div"),o.Jc(7),o.ec(8,"translate"),o.Rb(),o.Sb(9,"mat-form-field",9),o.Sb(10,"mat-select",10),o.Zb("valueChange",(function(e){return o.xc(t),o.dc().initialState=e})),o.Sb(11,"mat-option",11),o.Jc(12),o.ec(13,"translate"),o.Rb(),o.Sb(14,"mat-option",12),o.Jc(15),o.ec(16,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Sb(17,"div"),o.Jc(18),o.ec(19,"translate"),o.Rb(),o.Sb(20,"mat-form-field",9),o.Sb(21,"mat-select",10),o.Zb("valueChange",(function(e){return o.xc(t),o.dc().extensionState=e})),o.Sb(22,"mat-option",11),o.Jc(23),o.ec(24,"translate"),o.Rb(),o.Sb(25,"mat-option",12),o.Jc(26),o.ec(27,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(28,b,11,10,"div",13),o.Rb()}if(2&t){const t=o.dc();o.Ab(2),o.Kc(o.fc(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),o.Ab(3),o.kc("ngModel",t.moduleName),o.Ab(2),o.Lc(" ",o.fc(8,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),": "),o.Ab(3),o.kc("value",t.initialState),o.Ab(2),o.Kc(o.fc(13,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.Ab(3),o.Kc(o.fc(16,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.Ab(3),o.Lc(" ",o.fc(19,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),": "),o.Ab(3),o.kc("value",t.extensionState),o.Ab(2),o.Kc(o.fc(24,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.Ab(3),o.Kc(o.fc(27,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.Ab(2),o.kc("ngIf","group"===t.entity&&t.autoRegistrationEnabled)}}let A=(()=>{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.Mb(n.i),o.Mb(n.a),o.Mb(s.l))},t.\u0275cmp=o.Gb({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.Sb(0,"div"),o.Sb(1,"h1",0),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,g,1,0,"mat-spinner",1),o.Hc(5,m,29,25,"div",2),o.Sb(6,"div",3),o.Sb(7,"button",4),o.Zb("click",(function(){return e.onCancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",5),o.Zb("click",(function(){return e.submit()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Cb(e.theme),o.Ab(2),o.Kc(o.fc(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),o.Ab(2),o.kc("disabled",e.loading),o.Ab(1),o.Lc(" ",o.fc(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[n.j,r.t,n.c,a.b,c.c,n.g,l.c,u.b,h.c,h.r,h.u,d.a,p.n],pipes:[f.d],styles:[""]}),t})()},"3Uyd":function(t,e,i){"use strict";i.d(e,"a",(function(){return K})),i.d(e,"b",(function(){return q})),i.d(e,"c",(function(){return H})),i.d(e,"d",(function(){return B})),i.d(e,"e",(function(){return L})),i.d(e,"f",(function(){return G})),i.d(e,"g",(function(){return j})),i.d(e,"h",(function(){return U}));var n=i("EM62"),s=i("5XID"),o=i("ZTXN"),r=i("bwdy"),a=i("cqs0");let c=0,l=(()=>{class t{constructor(){this._stateChanges=new o.a,this._openCloseAllActions=new o.a,this.id="cdk-accordion-"+c++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(s.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[n.yb]}),t})(),u=0,h=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=r.a.EMPTY,this.closed=new n.o,this.opened=new n.o,this.destroyed=new n.o,this.expandedChange=new n.o,this.id="cdk-accordion-child-"+u++,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=Object(s.c)(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=Object(s.c)(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.Mb(l,12),n.Mb(n.h),n.Mb(a.d))},t.\u0275dir=n.Hb({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.zb([{provide:l,useValue:void 0}])]}),t})(),d=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t})();var p=i("Sv/w"),f=i("2kYt"),g=i("sg/T"),b=i("fAiE"),m=i("Ohay"),A=i("jIqt"),y=i("xVbo"),w=i("J+dc"),v=i("6Oco"),_=i("g6G6"),S=i("f7+R"),E=i("5lCh");const C=["body"];function R(t,e){}const T=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],k=["mat-expansion-panel-header","*","mat-action-row"],I=function(t,e){return{collapsedHeight:t,expandedHeight:e}},O=function(t,e){return{value:t,params:e}};function D(t,e){if(1&t&&n.Nb(0,"span",2),2&t){const t=n.dc();n.kc("@indicatorRotate",t._getExpandedState())}}const M=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],P=["mat-panel-title","mat-panel-description","*"],x=new n.r("MAT_ACCORDION"),N={indicatorRotate:Object(S.n)("indicatorRotate",[Object(S.k)("collapsed, void",Object(S.l)({transform:"rotate(0deg)"})),Object(S.k)("expanded",Object(S.l)({transform:"rotate(180deg)"})),Object(S.m)("expanded <=> collapsed, void => collapsed",Object(S.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(S.n)("expansionHeight",[Object(S.k)("collapsed, void",Object(S.l)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(S.k)("expanded",Object(S.l)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(S.m)("expanded <=> collapsed, void => collapsed",Object(S.g)([Object(S.i)("@indicatorRotate",Object(S.f)(),{optional:!0}),Object(S.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(S.n)("bodyExpansion",[Object(S.k)("collapsed, void",Object(S.l)({height:"0px",visibility:"hidden"})),Object(S.k)("expanded",Object(S.l)({height:"*",visibility:"visible"})),Object(S.m)("expanded <=> collapsed, void => collapsed",Object(S.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let L=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.M))},t.\u0275dir=n.Hb({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),F=0;const z=new n.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let H=(()=>{class t extends h{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.o,this.afterCollapse=new n.o,this._inputChanges=new o.a,this._headerId="mat-expansion-panel-header-"+F++,this._bodyAnimationDone=new o.a,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe(Object(m.a)((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=Object(s.c)(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(Object(A.a)(null),Object(y.a)(()=>this.expanded&&!this._portal),Object(w.a)(1)).subscribe(()=>{this._portal=new p.j(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.Mb(x,12),n.Mb(n.h),n.Mb(a.d),n.Mb(n.Q),n.Mb(f.e),n.Mb(E.a,8),n.Mb(z,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){var s;1&t&&n.Fb(i,L,!0),2&t&&n.sc(s=n.ac())&&(e._lazyContent=s.first)},viewQuery:function(t,e){var i;1&t&&n.Qc(C,!0),2&t&&n.sc(i=n.ac())&&(e._body=i.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&n.Eb("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.zb([{provide:x,useValue:void 0}]),n.xb,n.yb],ngContentSelectors:k,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.jc(T),n.ic(0),n.Sb(1,"div",0,1),n.Zb("@bodyExpansion.done",(function(t){return e._bodyAnimationDone.next(t)})),n.Sb(3,"div",2),n.ic(4,1),n.Hc(5,R,0,0,"ng-template",3),n.Rb(),n.ic(6,2),n.Rb()),2&t&&(n.Ab(1),n.kc("@bodyExpansion",e._getExpandedState())("id",e.id),n.Bb("aria-labelledby",e._headerId),n.Ab(4),n.kc("cdkPortalOutlet",e._portal))},directives:[p.c],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:[N.bodyExpansion]},changeDetection:0}),t})(),B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),t})(),j=(()=>{class t{constructor(t,e,i,n,s){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._parentChangeSubscription=r.a.EMPTY,this._animationsDisabled=!0;const o=t.accordion?t.accordion._stateChanges.pipe(Object(y.a)(t=>!(!t.hideToggle&&!t.togglePosition))):v.a;this._parentChangeSubscription=Object(_.a)(t.opened,t.closed,o,t._inputChanges.pipe(Object(y.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(y.a)(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),i.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}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}_keydown(t){switch(t.keyCode){case b.o:case b.g:Object(b.t)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(H,1),n.Mb(n.l),n.Mb(g.h),n.Mb(n.h),n.Mb(z,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(t,e){1&t&&(n.Fc("@expansionHeight.start",(function(){return e._animationStarted()})),n.Zb("click",(function(){return e._toggle()}))("keydown",(function(t){return e._keydown(t)}))),2&t&&(n.Bb("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),n.Gc("@.disabled",e._animationsDisabled)("@expansionHeight",n.qc(16,O,e._getExpandedState(),n.qc(13,I,e.collapsedHeight,e.expandedHeight))),n.Eb("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:P,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.jc(M),n.Sb(0,"span",0),n.ic(1),n.ic(2,1),n.ic(3,2),n.Rb(),n.Hc(4,D,1,1,"span",1)),2&t&&(n.Ab(4),n.kc("ngIf",e._showToggle()))},directives:[f.t],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.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}\n'],encapsulation:2,data:{animation:[N.indicatorRotate,N.expansionHeaderHeight]},changeDetection:0}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({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.Hb({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),K=(()=>{class t extends l{constructor(){super(...arguments),this._ownHeaders=new n.E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(s.c)(t)}ngAfterContentInit(){this._headers.changes.pipe(Object(A.a)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new g.g(this._ownHeaders).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,i=this._keyManager;e===b.i?Object(b.t)(t)||(i.setFirstItemActive(),t.preventDefault()):e===b.f?Object(b.t)(t)||(i.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}return t.\u0275fac=function(e){return V(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){var s;1&t&&n.Fb(i,j,!0),2&t&&n.sc(s=n.ac())&&(e._headers=s)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&n.Eb("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[n.zb([{provide:x,useExisting:t}]),n.xb]}),t})();const V=n.Ub(K);let q=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[f.c,d,p.i]]}),t})()},"3jrC":function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("X2Q7"),s=i("Ssnw"),o=i("FlRo"),r=i("EM62"),a=i("2kYt"),c=i("cePI"),l=i("FcRk"),u=i("PBFl"),h=i("s2Ay"),d=i("W5/Z");function p(t,e){1&t&&(r.Sb(0,"app-alert"),r.Jc(1),r.ec(2,"translate"),r.ec(3,"customTranslate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,r.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function f(t,e){1&t&&(r.Sb(0,"th",15),r.Jc(1),r.ec(2,"translate"),r.ec(3,"customTranslate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,r.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function g(t,e){if(1&t&&(r.Sb(0,"td",16),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.Ab(1),r.Kc(t.friendlyNameParameter)}}function b(t,e){1&t&&(r.Sb(0,"th",15),r.Jc(1),r.ec(2,"translate"),r.ec(3,"customTranslate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,r.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function m(t,e){if(1&t&&(r.Sb(0,"td",17),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.Ab(1),r.Kc(t.value)}}function A(t,e){1&t&&r.Nb(0,"th",15)}function y(t,e){if(1&t){const t=r.Tb();r.Sb(0,"td",18),r.Sb(1,"button",19),r.Zb("click",(function(){r.xc(t);const i=e.$implicit;return r.dc().changePassword(i.friendlyNameParameter)})),r.Jc(2),r.ec(3,"translate"),r.ec(4,"customTranslate"),r.Rb(),r.Rb()}if(2&t){const t=e.$implicit,i=r.dc();r.Ab(1),r.kc("disabled",!i.logins.includes(t)),r.Ab(1),r.Kc(r.fc(3,2,r.fc(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function w(t,e){1&t&&r.Nb(0,"tr",20)}function v(t,e){1&t&&r.Nb(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.o(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)(r.Mb(n.c),r.Mb(s.m))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"h1",0),r.Jc(1),r.ec(2,"translate"),r.ec(3,"customTranslate"),r.Rb(),r.Hc(4,p,4,5,"app-alert",1),r.Sb(5,"div",2),r.Sb(6,"div",3),r.Sb(7,"div",4),r.Sb(8,"table",5),r.Qb(9,6),r.Hc(10,f,4,5,"th",7),r.Hc(11,g,2,1,"td",8),r.Pb(),r.Qb(12,9),r.Hc(13,b,4,5,"th",7),r.Hc(14,m,2,1,"td",10),r.Pb(),r.Qb(15,11),r.Hc(16,A,1,0,"th",7),r.Hc(17,y,5,6,"td",12),r.Pb(),r.Hc(18,w,1,0,"tr",13),r.Hc(19,v,1,0,"tr",14),r.Rb(),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,5,r.fc(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),r.Ab(3),r.kc("ngIf",!e.logins.length),r.Ab(4),r.kc("dataSource",e.dataSource),r.Ab(10),r.kc("matHeaderRowDef",e.displayedColumns),r.Ab(1),r.kc("matRowDefColumns",e.displayedColumns))},directives:[a.t,o.n,c.a,o.c,o.i,o.b,o.k,o.m,l.a,o.h,o.a,u.b,o.j,o.l],pipes:[h.d,d.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t})()},"3lSR":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("cJ9h"),s=i("5E2i");function o(t=Number.POSITIVE_INFINITY){return Object(n.a)(s.a,t)}},"3p4X":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("IdLP"),s=i("Efrr"),o=i("KRZI");function r(t=0,e=s.a){return(!Object(o.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=s.a),new n.a(i=>(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)}},"47ST":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("IdLP");function s(t,e){return new n.a(e?i=>e.schedule(o,0,{error:t,subscriber:i}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},"49Zq":function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("JjRu");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.o([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.Mb(s.i),a.Mb(s.a),a.Mb(n.g),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-delete-facility-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"app-delete-entity-dialog",0),a.Zb("deleted",(function(t){return e.onSubmit(t)})),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(1),a.kc("entityNames",e.dataSource)("entityType","facilities")("relations",e.relations))},directives:[l.a],styles:[""]}),t})()},"4CqK":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,...e){const i=t.find(t=>"mail"===t.friendlyName);return i?i.value.toString():"N/A"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"getMailFromAttributes",type:t,pure:!0}),t})()},"4e/d":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("pBDD"),s=i("r9RI"),o=i("mW0F");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.a{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.a(this,void 0,void 0);this.add(n);const r=Object(o.a)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}},"4sdY":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{constructor(){this.accessItemsChange=new n.o,this.facilityItemsChange=new n.o,this.adminItemsChange=new n.o,this.userItemsChange=new n.o,this.resetChange=new n.o,this.homeItemsChange=new n.o}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.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},"4zkG":function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("JjRu");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.o(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.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(r.r),a.Mb(c.e))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-remove-vo-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"app-delete-entity-dialog",0),a.Zb("deleted",(function(t){return e.onSubmit(t)})),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(1),a.kc("entityNames",e.dataSource)("entityType","organizations")("relations",e.relations))},directives:[l.a],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),t})()},"5E2i":function(t,e,i){"use strict";function n(t){return t}i.d(e,"a",(function(){return n}))},"5XID":function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"d",(function(){return c})),i.d(e,"e",(function(){return l})),i.d(e,"f",(function(){return o}));var n=i("EM62");function s(t){return null!=t&&""+t!="false"}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.l?t.nativeElement:t}},"5bHy":function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("cqs0"),s=i("X2Q7"),o=i("V78E"),r=i("iyZ4"),a=i("8clQ"),c=i("Ssnw"),l=i("EM62"),u=i("sEIs"),h=i("OZ4H"),d=i("0XDM"),p=i("2kYt"),f=i("A8Ay"),g=i("PBFl"),b=i("csyo"),m=i("23RZ"),A=i("s2Ay");function y(t,e){if(1&t){const t=l.Tb();l.Sb(0,"button",6),l.Zb("click",(function(){return l.xc(t),l.dc().deleteSelectedResources()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}if(2&t){const t=l.dc();l.kc("disabled",0===t.selected.selected.length),l.Ab(1),l.Lc(" ",l.fc(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function w(t,e){1&t&&l.Nb(0,"mat-spinner",7)}function v(t,e){if(1&t){const t=l.Tb();l.Sb(0,"perun-web-apps-resources-list",8),l.Zb("page",(function(e){return l.xc(t),l.dc().pageChanged(e)})),l.Rb()}if(2&t){const t=l.dc();l.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("routingVo",!0)("disableRouting",!t.routeAuth)("selection",t.selected)("displayedColumns",t.displayedColumns)}}let _=(()=>{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.c(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=r.lb,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=Object(a.o)();t.width="450px",t.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(o.a,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.Mb(s.m),l.Mb(s.r),l.Mb(u.a),l.Mb(r.pb),l.Mb(h.b),l.Mb(c.h))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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.Sb(0,"div"),l.Sb(1,"h1",0),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"perun-web-apps-refresh-button",1),l.Zb("refresh",(function(){return e.refreshTable()})),l.Rb(),l.Hc(5,y,3,4,"button",2),l.Sb(6,"perun-web-apps-immediate-filter",3),l.Zb("filter",(function(t){return e.applyFilter(t)})),l.Rb(),l.Hc(7,w,1,0,"mat-spinner",4),l.Hc(8,v,1,7,"perun-web-apps-resources-list",5),l.Rb()),2&t&&(l.Ab(2),l.Kc(l.fc(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),l.Ab(3),l.kc("ngIf",!e.loading&&e.removeAuth),l.Ab(1),l.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading))},directives:[d.a,p.t,f.a,g.b,b.c,m.a],pipes:[A.d],styles:[""]}),t})()},"5lCh":function(t,e,i){"use strict";i.d(e,"a",(function(){return ge})),i.d(e,"b",(function(){return me}));var n=i("EM62"),s=i("e4iD"),o=i("f7+R");function r(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new o.d;case 1:return t[0];default:return new o.o(t)}}function c(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.p:c=s[i];break;case o.a: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 l(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&u(i,"start",t)));break;case"done":t.onDone(()=>n(i&&u(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&u(i,"destroy",t)))}}function u(t,e,i){const n=i.totalTime,s=h(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 h(t,e,i,n,s="",o=0,r){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:o,disabled:!!r}}function d(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 p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,g=(t,e)=>!1,b=(t,e,i)=>[];const m=r();(m||"undefined"!=typeof Element)&&(f=(t,e)=>t.contains(e),g=(()=>{if(m||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]):g}})(),b=(t,e,i)=>{let n=[];if(i)n.push(...t.querySelectorAll(e));else{const i=t.querySelector(e);i&&n.push(i)}return n});let A=null,y=!1;function w(t){A||(A=("undefined"!=typeof document?document.body:null)||{},y=!!A.style&&"WebkitAppearance"in A.style);let e=!0;return A.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in A.style,!e&&y)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in A.style),e}const v=g,_=f,S=b;function E(t){const e={};return Object.keys(t).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let C=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return _(t,e)}query(t,e,i){return S(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],a){return new o.d(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{}return t.NOOP=new C,t})();function T(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:k(parseFloat(e[1]),e[2])}function k(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=k(parseFloat(i[1]),i[2]);const r=i[3];null!=r&&(s=k(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 D(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else O(t,i);return i}function M(t,e,i){return i?e+":"+i+";":""}function P(t){let e="";for(let i=0;i{const s=G(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),r()&&P(t))}function N(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=G(e);t.style[i]=""}),r()&&P(t))}function L(t){return Array.isArray(t)?1==t.length?t[0]:Object(o.j)(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 H(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 B(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const j=/-+([a-z0-9])/g;function G(t){return t.replace(j,(...t)=>t[1].toUpperCase())}function U(t,e){return 0===t||0===e}function K(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(Y(s,r)),"<"!=o[0]||"*"==s&&"*"==r||e.push(Y(r,s))}(t,i,e)):i.push(t),i}const W=new Set(["true","1"]),Z=new Set(["false","0"]);function Y(t,e){const i=W.has(t)||Z.has(t),n=W.has(e)||Z.has(e);return(s,o)=>{let r="*"==t||t==s,a="*"==e||e==o;return!r&&i&&"boolean"==typeof s&&(r=s?W.has(t):Z.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?W.has(e):Z.has(e)),r&&a}}const $=new RegExp("s*:selfs*,?","g");function X(t,e,i){return new Q(t).build(e,i)}class Q{constructor(t){this._driver=t}build(t,e){const i=new tt(e);return this._resetContextStyleTimingState(i),V(this,L(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(et(t)){const e=t;Object.keys(e).forEach(t=>{z(e[t]).forEach(t=>{o.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=B(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=V(this,L(t.animation),e);return{type:1,matchers:J(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:it(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>V(this,t,e)),options:it(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=V(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:it(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 nt(I(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=nt(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||I(n,e),nt(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:Object(o.l)({});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=Object(o.l)(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.a?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(et(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(et(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(et(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*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:V(this,L(t.animation),e),options:it(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:it(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:it(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($,"")),[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,d(e.collectedStyles,e.currentQuerySelector,{});const r=V(this,L(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:it(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:V(this,L(t.animation),e),timings:i,options:null}}}class tt{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 et(t){return!Array.isArray(t)&&"object"==typeof t}function it(t){var e;return t?(t=O(t)).params&&(t.params=(e=t.params)?O(e):null):t={},t}function nt(t,e,i){return{duration:t,delay:e,easing:i}}function st(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 ot{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 rt=new RegExp(":enter","g"),at=new RegExp(":leave","g");function ct(t,e,i,n,s,o={},r={},a,c,l=[]){return(new lt).buildKeyframes(t,e,i,n,s,o,r,a,c,l)}class lt{buildKeyframes(t,e,i,n,s,o,r,a,c,l=[]){c=c||new ot;const u=new ht(t,e,c,n,s,l,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),V(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()):[st(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?T(i.duration):null,o=null!=i.delay?T(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),V(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=ut);const t=T(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>V(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?T(t.options.delay):0;t.steps.forEach(o=>{const r=e.createSubContext(t.options);s&&r.delayNextStep(s),V(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?H(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?T(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);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),V(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;V(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-l+(n.startTime-i.currentTimeline.startTime)}}const ut={};class ht{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=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new dt(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=T(i.duration)),null!=i.delay&&(n.delay=T(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]=H(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 ht(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=ut,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 pt(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(rt,"."+this._enterClassName)).replace(at,"."+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 dt{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 dt(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.a,this._currentKeyframe[t]=o.a}),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.a})):D(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=H(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:o.a),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=D(s,!0);Object.keys(a).forEach(i=>{const n=a[i];n==o.p?t.add(i):n==o.a&&e.add(i)}),i||(a.offset=r/this.duration),n.push(a)});const s=t.size?B(t.values()):[],r=e.size?B(e.values()):[];if(i){const t=n[0],e=O(t);t.offset=0,e.offset=1,n=[t,e]}return st(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class pt extends dt{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=D(t[0],!1);a.offset=0,s.push(a);const c=D(t[0],!1);c.offset=ft(r),s.push(c);const l=t.length-1;for(let n=1;n<=l;n++){let r=D(t[n],!1);r.offset=ft((e+r.offset*i)/o),s.push(r)}i=o,e=0,n="",t=s}return st(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 gt{}class bt extends gt{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,i,n){let s="";const o=i.toString().trim();if(mt[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 mt=(()=>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 At(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 yt={};class wt{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||yt,p=this.buildStyles(i,r&&r.params||yt,u),f=a&&a.params||yt,g=this.buildStyles(n,f,u),b=new Set,m=new Map,A=new Map,y="void"===n,w={params:Object.assign(Object.assign({},h),f)},v=l?[]:ct(t,e,this.ast.animation,s,o,p,g,w,c,u);let _=0;if(v.forEach(t=>{_=Math.max(t.duration+t.delay,_)}),u.length)return At(e,this._triggerName,i,n,y,p,g,[],[],m,A,_,u);v.forEach(t=>{const i=t.element,n=d(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=d(A,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&b.add(i)});const S=B(b.values());return At(e,this._triggerName,i,n,y,p,g,v,S,m,A,_)}}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=H(o,n,e)),i[t]=o})}}),i}}class _t{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||{})}),St(this.states,"true","1"),St(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new wt(t,e,this.states))}),this.fallbackTransition=new wt(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 St(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const Et=new ot;class Ct{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=c(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 c=new Map;if(s?(r=ct(this._driver,e,s,"ng-enter","ng-leave",{},{},i,Et,n),r.forEach(t=>{const e=d(c,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"));c.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,o.a)})});const l=a(r.map(t=>{const e=c.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=h(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 Rt=[],Tt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kt={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 Dt{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=d(this._elementListeners,t,[]),r={name:e,phase:i,callback:n};o.push(r);const a=d(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 Pt(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),x(t,n)})}return}const l=d(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||(zt(t,"ng-animate-queued"),o.onStart(()=>{Ht(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&&a(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const i=new Set;e.forEach(e=>{const n=e.name;if(i.has(n))return;i.add(n);const s=this._triggers[n].fallbackTransition,o=this._engine.statesByElement.get(t)[n]||Ot,r=new It("void"),a=new Pt(this.id,n,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:s,fromState:o,toState:r,player:a,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!==Tt||(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=h(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 Mt{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 Dt(t,e,this);return e.parentNode?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),Ht(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(xt(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 xt(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 a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Tt,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?a(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 ot,n=[],s=new Map,r=[],c=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"+m++;b.set(e,i),t.forEach(t=>zt(t,i))});const A=[],y=new Set,w=new Set;for(let o=0;oy.add(t)):w.add(t))}const v=new Map,_=Ft(f,Array.from(y));_.forEach((t,e)=>{const i="ng-leave"+m++;v.set(e,i),t.forEach(t=>zt(t,i))}),t.push(()=>{g.forEach((t,e)=>{const i=b.get(e);t.forEach(t=>Ht(t,i))}),_.forEach((t,e)=>{const i=v.get(e);t.forEach(t=>Ht(t,i))}),A.forEach(t=>{this.processLeaveNode(t)})});const S=[],E=[];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(S.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const o=!p||!this.driver.containsElement(p,s),a=v.get(s),h=b.get(s),f=this._buildInstruction(t,i,h,a,o);if(f.errors&&f.errors.length)E.push(f);else{if(o)return e.onStart(()=>N(s,f.fromStyles)),e.onDestroy(()=>x(s,f.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>N(s,f.fromStyles)),e.onDestroy(()=>x(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=>d(c,t,[]).push(e)),f.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))}}),f.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(E.length){const t=[];E.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),S.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,R=new Map;r.forEach(t=>{const e=t.element;i.has(e)&&(R.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(C,e,[]).push(t),t.destroy()})});const T=A.filter(t=>jt(t,l,u)),k=new Map;Lt(k,this.driver,w,u,o.a).forEach(t=>{jt(t,l,u)&&T.push(t)});const I=new Map;g.forEach((t,e)=>{Lt(I,this.driver,new Set(t),l,o.p)}),T.forEach(t=>{const e=k.get(t),i=I.get(t);k.set(t,Object.assign(Object.assign({},e),i))});const O=[],D=[],M={};r.forEach(t=>{const{element:e,player:o,instruction:r}=t;if(i.has(e)){if(h.has(e))return o.onDestroy(()=>x(e,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void n.push(o);let t=M;if(R.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=R.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>R.set(e,t))}const i=this._buildAnimation(o.namespaceId,r,C,s,I,k);if(o.setRealPlayer(i),t===M)O.push(o);else{const e=this.playersByElement.get(t);e&&e.length&&(o.parentPlayer=a(e)),n.push(o)}}else N(e,r.fromStyles),o.onDestroy(()=>x(e,r.toStyles)),D.push(o),h.has(e)&&n.push(o)}),D.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=a(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let o=0;o!t.destroyed);n.length?Bt(this,t,n):this.processLeaveNode(t)}return A.length=0,O.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),O}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=d(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 l=e.triggerName,u=e.element,h=[],p=new Set,f=new Set,g=e.timelines.map(e=>{const a=e.element;p.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new o.d(e.duration,e.delay);const g=a!==u,b=function(t){const e=[];return function t(e,i){for(let n=0;nt.getRealPlayer())).filter(t=>!!t.element&&t.element===a),m=s.get(a),A=r.get(a),y=c(0,this._normalizer,0,e.keyframes,m,A),w=this._buildPlayer(e,y,b);if(e.subTimeline&&n&&f.add(a),g){const e=new Pt(t,l,a);e.setRealPlayer(w),h.push(e)}return w});h.forEach(t=>{d(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))}),p.forEach(t=>zt(t,"ng-animating"));const b=a(g);return b.onDestroy(()=>{p.forEach(t=>Ht(t,"ng-animating")),x(u,e.toStyles)}),f.forEach(t=>{d(n,t,[]).push(b)}),b}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new o.d(t.duration,t.delay)}}class Pt{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new o.d,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){d(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 xt(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 Lt(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=kt,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;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let o=s.get(e);if(o)return o;const r=e.parentNode;return o=i.has(r)?r:n.has(r)?1:t(r),s.set(e,o),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 Ht(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function Bt(t,e,i){a(i).onDone(()=>t.processLeaveNode(e))}function jt(t,e,i){const n=i.get(t);if(!n)return!1;let s=e.get(t);return s?n.forEach(t=>s.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 Mt(t,e,i),this._timelineEngine=new Ct(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 _t(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]=p(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]=p(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 Ut(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 Kt(t,i,n):null}let Kt=(()=>{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&&x(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(x(this._element,this._initialStyles),this._endStyles&&(x(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),x(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=Qt(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(),$t(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=Qt(t,"").split(","),n=Yt(i,e);n>=0&&(i.splice(n,1),Xt(t,"",i.join(",")))}(this._element,this._name))}}function Wt(t,e,i){Xt(t,"PlayState",i,Zt(t,e))}function Zt(t,e){const i=Qt(t,"");return i.indexOf(",")>0?Yt(i.split(","),e):Yt([i],e)}function Yt(t,e){for(let i=0;i=0)return i;return-1}function $t(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Xt(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 Qt(t,e){return t.style["animation"+e]}class te{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._started=!1,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._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]:q(this.element,i))})}this.currentSnapshot=t}}class ee extends o.d{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 ie{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return w(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return _(t,e)}query(t,e,i){return S(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.innerHTML=n,o}animate(t,e,i,n,s,o=[],r){r&&this._notifyFaultyScrubber();const a=o.filter(t=>t instanceof te),c={};U(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=K(t,e,c));if(0==i)return new ee(t,l);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=Ut(t,e),p=new te(t,e,u,i,n,s,l,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class ne{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){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]:q(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class se{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(oe().toString()),this._cssKeyframesDriver=new ie}validateStyleProperty(t){return w(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return _(t,e)}query(t,e,i){return S(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 ne);U(i,n)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=Ut(t,e=K(t,e=e.map(t=>D(t,!1)),c));return new ne(t,e,a,u)}}function oe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var re=i("2kYt");let ae=(()=>{class t extends o.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:n.R.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?Object(o.j)(t):t;return ue(this._renderer,null,e,"register",[i]),new ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(n.G),n.Wb(re.e))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();class ce extends o.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new le(this._id,t,e||{},this._renderer)}}class le{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 ue(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")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function ue(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}let he=(()=>{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 de("",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 pe(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.Wb(n.G),n.Wb(Gt),n.Wb(n.A))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();class de{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){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,!0)}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 pe extends de{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 fe=(()=>{class t extends Gt{constructor(t,e,i){super(t.body,e,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(re.e),n.Wb(R),n.Wb(gt))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();const ge=new n.r("AnimationModuleType"),be=[{provide:R,useFactory:function(){return"function"==typeof oe()?new se:new ie}},{provide:ge,useValue:"BrowserAnimations"},{provide:o.b,useClass:ae},{provide:gt,useFactory:function(){return new bt}},{provide:Gt,useClass:fe},{provide:n.G,useFactory:function(t,e,i){return new he(t,e,i)},deps:[s.f,Gt,n.A]}];let me=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:be,imports:[s.a]}),t})()},"5uDM":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("cJ9h");function s(t,e){return Object(n.a)(t,e,1)}},"5uGe":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("IJgj"),s=i("rWo0"),o=i("bwdy"),r=i("25CY"),a=i("HgnN"),c=i("i9P/");class l extends o.a{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.a;break;case 1:if(!t){this.destination=s.a;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.a](){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;Object(n.a)(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==s.a&&(a=Object.create(e),Object(n.a)(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.a.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.a;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):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;Object(c.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.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.a.useDeprecatedSynchronousErrorHandling)throw i;Object(c.a)(i)}}__tryOrSetError(t,e,i){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(Object(c.a)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"66mq":function(t,e,i){"use strict";i.d(e,"a",(function(){return b})),i.d(e,"b",(function(){return A}));var n=i("EM62"),s=i("2kYt"),o=i("mFH5"),r=i("5XID"),a=i("5lCh"),c=i("bwdy"),l=i("KTx3"),u=i("xVbo");const h=["primaryValueBar"];class d{constructor(t){this._elementRef=t}}const p=Object(o.y)(d,"primary"),f=new n.r("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=Object(n.V)(s.e),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let g=0,b=(()=>{class t extends p{constructor(t,e,i,s){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=i,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new n.o,this._animationEndSubscription=c.a.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+g++;const o=s?s.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${o}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===i}get value(){return this._value}set value(t){this._value=m(Object(r.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=m(t||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(l.a)(t,"transitionend").pipe(Object(u.a)(e=>e.target===t)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(n.A),n.Mb(a.a,8),n.Mb(f,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){var i;1&t&&n.Qc(h,!0),2&t&&n.sc(i=n.ac())&&(e._primaryValueBar=i.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(n.Bb("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),n.Eb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[n.xb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(n.cc(),n.Sb(0,"svg",0),n.Sb(1,"defs"),n.Sb(2,"pattern",1),n.Nb(3,"circle",2),n.Rb(),n.Rb(),n.Nb(4,"rect",3),n.Rb(),n.bc(),n.Nb(5,"div",4),n.Nb(6,"div",5,6),n.Nb(8,"div",7)),2&t&&(n.Ab(2),n.kc("id",e.progressbarId),n.Ab(2),n.Bb("fill",e._rectangleFillValue),n.Ab(1),n.kc("ngStyle",e._bufferTransform()),n.Ab(1),n.kc("ngStyle",e._primaryTransform()))},directives:[s.w],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t})();function m(t,e=0,i=100){return Math.max(e,Math.min(i,t))}let A=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[s.c,o.i],o.i]}),t})()},"6Oco":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return o}));var n=i("IdLP");const s=new n.a(t=>t.complete());function o(t){return t?function(t){return new n.a(e=>t.schedule(()=>e.complete()))}(t):s}},"6Xhx":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return a}));var n=i("EM62"),s=(i("X2Q7"),i("s2Ay")),o=i("LAw4");const r={};let a=(()=>{class t{constructor(t){this.translate=t,this.item=null,this.itemSelected=new n.o,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.Mb(s.e))},t.\u0275cmp=n.Gb({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.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.itemSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.items)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.secondaryFunction)("entity",e.item)("disableAutoSelect",!0)("selectPlaceholder",n.fc(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",n.fc(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",n.fc(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[o.a],pipes:[s.d],styles:[""]}),t})()},"6mVK":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Kc(a.fc(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{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 r.o(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)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.h),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onRemove()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc("",a.fc(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc("",a.fc(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t})()},"77So":function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("EM62"),s=i("cePI"),o=i("cqs0"),r=i("iAde"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("FcRk"),f=i("s2Ay"),g=i("j+u3");function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function A(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")))}function y(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t[1].id)}}function w(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")))}function v(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t[1]))}}function _(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")))}function S(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t[0].description)}}function E(t,e){1&t&&n.Nb(0,"tr",23)}function C(t,e){1&t&&n.Nb(0,"tr",24)}function R(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function T(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}let k=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.bansOnFacilitiesWithUsers=[],this.selection=new o.c(!0,[]),this.pageSize=10,this.page=new n.o,this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"userId"!==t)),this.dataSource=new a.o(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 Object(c.z)(t[1]);default:return""}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(s.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",pageSize:"pageSize"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,b,2,3,"th",6),n.Hc(7,m,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,A,3,3,"th",9),n.Hc(10,y,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,w,3,3,"th",9),n.Hc(13,v,3,3,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,_,3,3,"th",9),n.Hc(16,S,2,1,"td",11),n.Pb(),n.Hc(17,E,1,0,"tr",13),n.Hc(18,C,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,R,3,3,"app-alert",16),n.Hc(21,T,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.bansOnFacilitiesWithUsers.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.bansOnFacilitiesWithUsers.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.bansOnFacilitiesWithUsers.length),n.Ab(1),n.kc("ngIf",0===e.bansOnFacilitiesWithUsers.length))},directives:[u.a,a.n,s.a,a.c,a.i,a.b,a.k,a.m,r.a,h.t,a.h,d.a,a.a,s.b,a.j,a.l,p.a],pipes:[f.d,g.a],styles:[""]}),t})()},"7TQF":function(t,e,i){"use strict";i.d(e,"a",(function(){return I}));var n=i("4sdY"),s=i("X2Q7"),o=i("8clQ"),r=i("Ssnw"),a=i("4zkG"),c=i("cqs0"),l=i("tDou"),u=i("iyZ4"),h=i("EM62"),d=i("OZ4H"),p=i("EtYo"),f=i("bFHC"),g=i("2kYt"),b=i("0XDM"),m=i("PBFl"),A=i("A8Ay"),y=i("csyo"),w=i("qySP"),v=i("s2Ay");function _(t,e){if(1&t){const t=h.Tb();h.Sb(0,"perun-web-apps-refresh-button",9),h.Zb("refresh",(function(){return h.xc(t),h.dc().refreshTable()})),h.Rb()}}function S(t,e){if(1&t){const t=h.Tb();h.Sb(0,"button",10),h.Zb("click",(function(){return h.xc(t),h.dc().onCreateVo()})),h.Jc(1),h.ec(2,"translate"),h.Rb()}2&t&&(h.Ab(1),h.Lc(" ",h.fc(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function E(t,e){if(1&t){const t=h.Tb();h.Sb(0,"button",11),h.Zb("click",(function(){return h.xc(t),h.dc().onRemoveVo()})),h.Jc(1),h.ec(2,"translate"),h.Rb()}if(2&t){const t=h.dc();h.kc("disabled",0===t.selection.selected.length),h.Ab(1),h.Lc(" ",h.fc(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function C(t,e){if(1&t){const t=h.Tb();h.Sb(0,"perun-web-apps-immediate-filter",12),h.Zb("filter",(function(e){return h.xc(t),h.dc().applyFilter(e)})),h.Rb()}2&t&&h.kc("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function R(t,e){1&t&&h.Nb(0,"mat-spinner",13)}function T(t,e){if(1&t){const t=h.Tb();h.Sb(0,"perun-web-apps-vos-list",14),h.Zb("page",(function(e){return h.xc(t),h.dc().pageChanged(e)})),h.Rb()}if(2&t){const t=h.dc();h.kc("pageSize",t.pageSize)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("recentIds",t.recentIds)("selection",t.selection)("vos",t.vos)}}const k=function(){return{color:"black"}};let I=(()=>{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=u.nb}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new c.c(!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=Object(o.r)("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=Object(o.o)();t.width="600px",t.data={theme:"vo-theme"},this.dialog.open(l.a,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const t=Object(o.o)();t.width="500px",t.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(a.a,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)(h.Mb(n.a),h.Mb(s.r),h.Mb(r.h),h.Mb(u.pb),h.Mb(d.b),h.Mb(r.l),h.Mb(r.b),h.Mb(r.i))},t.\u0275cmp=h.Gb({type:t,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&h.Eb("router-component",!0)},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&&(h.Sb(0,"div",0),h.Nb(1,"perun-web-apps-back-button"),h.Sb(2,"h1",1),h.Nb(3,"mat-icon",2),h.Jc(4),h.ec(5,"translate"),h.Rb(),h.Hc(6,_,1,0,"perun-web-apps-refresh-button",3),h.Hc(7,S,3,3,"button",4),h.Hc(8,E,3,4,"button",5),h.Hc(9,C,1,2,"perun-web-apps-immediate-filter",6),h.Hc(10,R,1,0,"mat-spinner",7),h.Hc(11,T,1,6,"perun-web-apps-vos-list",8),h.Rb()),2&t&&(h.Ab(3),h.kc("ngStyle",h.oc(10,k)),h.Ab(1),h.Lc(" ",h.fc(5,8,"VO_MANAGEMENT.TITLE")," "),h.Ab(2),h.kc("ngIf",!e.loading),h.Ab(1),h.kc("ngIf",!e.loading&&e.createAuth),h.Ab(1),h.kc("ngIf",!e.loading&&e.deleteAuth),h.Ab(1),h.kc("ngIf",!e.loading),h.Ab(1),h.kc("ngIf",e.loading),h.Ab(1),h.kc("ngIf",!e.loading))},directives:[p.a,f.a,g.w,g.t,b.a,m.b,A.a,y.c,w.a],pipes:[v.d],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t})()},"7Y6W":function(t,e,i){"use strict";i.d(e,"a",(function(){return Q}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("nIj0"),a=i("2kYt"),c=i("Iydx"),l=i("8lHc"),u=i("ROBh"),h=i("TLy2"),d=i("YtkY"),p=i("4e/d"),f=i("EM62"),g=i("s2Ay"),b=i("csyo"),m=i("x9Az"),A=i("29Wa"),y=i("Cd2c"),w=i("PBFl"),v=i("R7+U"),_=i("Y2X+"),S=i("+Tre"),E=i("F1o0"),C=i("HMTk"),R=i("FcRk"),T=i("mFH5"),k=i("bFHC"),I=i("jqZM"),O=i("j+u3");function D(t,e){1&t&&(f.Sb(0,"h1",4),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Kc(f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")))}function M(t,e){1&t&&f.Nb(0,"mat-spinner",5)}function P(t,e){1&t&&(f.Jc(0),f.ec(1,"translate")),2&t&&f.Kc(f.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function x(t,e){1&t&&(f.Sb(0,"app-alert",42),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function N(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function L(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function F(t,e){1&t&&(f.Jc(0),f.ec(1,"translate")),2&t&&f.Kc(f.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function z(t,e){if(1&t&&(f.Sb(0,"mat-option",43),f.Jc(1),f.Rb()),2&t){const t=e.$implicit;f.kc("value",t),f.Ab(1),f.Lc(" ",t," ")}}function H(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function B(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function j(t,e){1&t&&f.Nb(0,"mat-spinner",44),2&t&&f.kc("diameter",18)}function G(t,e){1&t&&(f.Sb(0,"mat-icon",45),f.ec(1,"translate"),f.Jc(2," error "),f.Rb()),2&t&&f.kc("matTooltip",f.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR_LONG"))}function U(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Kc(f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")))}function K(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Kc(f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR")))}function V(t,e){1&t&&(f.Sb(0,"mat-error"),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function q(t,e){1&t&&(f.Jc(0),f.ec(1,"translate")),2&t&&f.Kc(f.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function J(t,e){if(1&t){const t=f.Tb();f.Sb(0,"div"),f.Sb(1,"perun-web-apps-user-search-select",46),f.Zb("userSelected",(function(e){return f.xc(t),f.dc(2).selectedSponsor=e})),f.Rb(),f.Rb()}if(2&t){const t=f.dc(2);f.Ab(1),f.kc("users",t.voSponsors)("disableAutoSelect",!0)}}function W(t,e){if(1&t){const t=f.Tb();f.Sb(0,"div",6),f.Sb(1,"mat-horizontal-stepper",7),f.Sb(2,"mat-step",8),f.Hc(3,P,2,3,"ng-template",9),f.Hc(4,x,3,3,"app-alert",10),f.Sb(5,"form",11),f.Sb(6,"h5",12),f.Jc(7),f.ec(8,"translate"),f.Rb(),f.Sb(9,"mat-form-field",13),f.Nb(10,"input",14),f.ec(11,"translate"),f.Hc(12,N,3,3,"mat-error",15),f.Rb(),f.Sb(13,"mat-form-field"),f.Nb(14,"input",16),f.ec(15,"translate"),f.Hc(16,L,3,3,"mat-error",15),f.Rb(),f.Sb(17,"mat-form-field"),f.Nb(18,"input",17),f.ec(19,"translate"),f.Rb(),f.Sb(20,"mat-form-field"),f.Nb(21,"input",18),f.ec(22,"translate"),f.Rb(),f.Rb(),f.Sb(23,"div",19),f.Sb(24,"button",20),f.Zb("click",(function(){return f.xc(t),f.dc().onCancel()})),f.Jc(25),f.ec(26,"translate"),f.Rb(),f.Sb(27,"button",21),f.Jc(28),f.ec(29,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Sb(30,"mat-step",8),f.Hc(31,F,2,3,"ng-template",9),f.Sb(32,"h5",12),f.Jc(33),f.ec(34,"translate"),f.Rb(),f.Sb(35,"form",22),f.Sb(36,"mat-form-field"),f.Sb(37,"mat-select",23),f.Zb("valueChange",(function(e){return f.xc(t),f.dc().onNamespaceChanged(e)})),f.ec(38,"translate"),f.Hc(39,z,2,2,"mat-option",24),f.Rb(),f.Hc(40,H,3,3,"mat-error",15),f.Rb(),f.Sb(41,"mat-form-field",25),f.ec(42,"translate"),f.Nb(43,"input",26),f.ec(44,"translate"),f.Hc(45,B,3,3,"mat-error",15),f.Rb(),f.Sb(46,"span",25),f.ec(47,"translate"),f.Sb(48,"mat-checkbox",27),f.Zb("change",(function(){return f.xc(t),f.dc().passwordResetChange()})),f.Jc(49),f.ec(50,"translate"),f.Rb(),f.Rb(),f.Sb(51,"mat-form-field",25),f.Nb(52,"input",28),f.ec(53,"translate"),f.Hc(54,j,1,1,"mat-spinner",29),f.Hc(55,G,3,3,"mat-icon",30),f.Hc(56,U,3,3,"mat-error",15),f.Hc(57,K,3,3,"mat-error",15),f.Rb(),f.Sb(58,"mat-checkbox",31),f.Jc(59),f.ec(60,"translate"),f.Rb(),f.Sb(61,"mat-form-field"),f.Nb(62,"input",32),f.ec(63,"translate"),f.Hc(64,V,3,3,"mat-error",15),f.Rb(),f.Sb(65,"div",19),f.Sb(66,"button",20),f.Zb("click",(function(){return f.xc(t),f.dc().onCancel()})),f.Jc(67),f.ec(68,"translate"),f.Rb(),f.Sb(69,"button",33),f.Jc(70),f.ec(71,"translate"),f.Rb(),f.Sb(72,"button",34),f.Jc(73),f.ec(74,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Rb(),f.Sb(75,"mat-step"),f.Hc(76,q,2,3,"ng-template",9),f.Sb(77,"div",35),f.Sb(78,"h5",12),f.Jc(79),f.ec(80,"translate"),f.Rb(),f.Sb(81,"div",13),f.Sb(82,"h6"),f.Jc(83),f.ec(84,"translate"),f.Rb(),f.Sb(85,"mat-radio-group",36),f.Zb("ngModelChange",(function(e){return f.xc(t),f.dc().sponsorType=e})),f.Sb(86,"span",37),f.ec(87,"translate"),f.Sb(88,"mat-radio-button",38),f.Zb("click",(function(){return f.xc(t),f.dc().selectedSponsor=null})),f.Jc(89),f.ec(90,"translate"),f.Rb(),f.Rb(),f.Sb(91,"span",37),f.ec(92,"translate"),f.Sb(93,"mat-radio-button",39),f.Jc(94),f.ec(95,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Hc(96,J,2,2,"div",15),f.Rb(),f.Sb(97,"h6",13),f.Jc(98),f.ec(99,"translate"),f.Rb(),f.Sb(100,"perun-web-apps-expiration-select",40),f.Zb("datePicker",(function(e){return f.xc(t),f.dc().setExpiration(e)})),f.Rb(),f.Rb(),f.Sb(101,"div",19),f.Sb(102,"button",20),f.Zb("click",(function(){return f.xc(t),f.dc().onCancel()})),f.Jc(103),f.ec(104,"translate"),f.Rb(),f.Sb(105,"button",33),f.Jc(106),f.ec(107,"translate"),f.Rb(),f.Sb(108,"button",41),f.Zb("click",(function(){return f.xc(t),f.dc().onConfirm()})),f.Jc(109),f.ec(110,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Rb(),f.Rb()}if(2&t){const t=f.dc();f.Ab(1),f.kc("linear",!0),f.Ab(1),f.kc("stepControl",t.userControl),f.Ab(2),f.kc("ngIf",t.functionalityNotSupported),f.Ab(1),f.kc("formGroup",t.userControl),f.Ab(2),f.Lc(" ",f.fc(8,60,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),f.Ab(3),f.lc("placeholder",f.fc(11,62,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),f.Ab(2),f.kc("ngIf",t.userControl.hasError("required","firstName")),f.Ab(2),f.lc("placeholder",f.fc(15,64,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),f.Ab(2),f.kc("ngIf",t.userControl.hasError("required","lastName")),f.Ab(2),f.lc("placeholder",f.fc(19,66,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),f.Ab(3),f.lc("placeholder",f.fc(22,68,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),f.Ab(4),f.Lc(" ",f.fc(26,70,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),f.Ab(2),f.kc("disabled",t.userControl.invalid),f.Ab(1),f.Lc(" ",f.fc(29,72,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),f.Ab(2),f.kc("stepControl",t.namespaceControl),f.Ab(3),f.Kc(f.fc(34,74,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),f.Ab(2),f.kc("formGroup",t.namespaceControl),f.Ab(2),f.lc("placeholder",f.fc(38,76,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),f.Ab(2),f.kc("ngForOf",t.namespaceOptions),f.Ab(1),f.kc("ngIf",t.namespaceControl.hasError("required","namespace")),f.Ab(1),f.lc("matTooltip",f.fc(42,78,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),f.kc("matTooltipDisabled",t.namespaceControl.get("login").enabled),f.Ab(2),f.lc("placeholder",f.fc(44,80,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),f.Ab(2),f.kc("ngIf",t.namespaceControl.hasError("required","login")),f.Ab(1),f.lc("matTooltip",f.fc(47,82,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),f.kc("matTooltipDisabled",t.namespaceControl.get("passwordReset").enabled),f.Ab(3),f.Lc("",f.fc(50,84,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),f.Ab(2),f.kc("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.namespaceControl.get("password").enabled),f.Ab(1),f.lc("placeholder",f.fc(53,86,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")),f.kc("type",t.namespaceControl.get("showPassword").value?"text":"password")("errorStateMatcher",t.passwordStateMatcher),f.Ab(2),f.kc("ngIf",t.namespaceControl.get("password").pending),f.Ab(1),f.kc("ngIf",t.namespaceControl.get("password").dirty&&null!==t.namespaceControl.get("password").errors),f.Ab(1),f.kc("ngIf",t.namespaceControl.get("password").hasError("required")),f.Ab(1),f.kc("ngIf",t.namespaceControl.get("password").hasError("backendError")),f.Ab(2),f.Lc(" ",f.fc(60,88,"DIALOGS.CREATE_SPONSORED_MEMBER.SHOW_PASSWORD")," "),f.Ab(3),f.lc("placeholder",f.fc(63,90,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),f.Ab(2),f.kc("ngIf",t.namespaceControl.hasError("required","email")||t.namespaceControl.hasError("pattern","email")),f.Ab(3),f.Lc(" ",f.fc(68,92,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),f.Ab(3),f.Lc(" ",f.fc(71,94,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),f.Ab(2),f.kc("disabled",t.namespaceControl.invalid||t.namespaceControl.get("password").pending),f.Ab(1),f.Lc(" ",f.fc(74,96,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),f.Ab(6),f.Kc(f.fc(80,98,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),f.Ab(4),f.Kc(f.fc(84,100,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),f.Ab(2),f.kc("ngModel",t.sponsorType),f.Ab(1),f.lc("matTooltip",f.fc(87,102,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),f.kc("matTooltipDisabled",t.isSponsor),f.Ab(2),f.kc("disabled",!t.isSponsor),f.Ab(1),f.Lc(" ",f.fc(90,104,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),f.Ab(2),f.lc("matTooltip",f.fc(92,106,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),f.kc("matTooltipDisabled",t.isPerunAdmin),f.Ab(2),f.kc("disabled",!t.isPerunAdmin),f.Ab(1),f.Lc(" ",f.fc(95,108,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),f.Ab(2),f.kc("ngIf","other"===t.sponsorType),f.Ab(2),f.Kc(f.fc(99,110,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION")),f.Ab(5),f.Lc(" ",f.fc(104,112,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),f.Ab(3),f.Lc(" ",f.fc(107,114,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),f.Ab(2),f.kc("disabled",null===t.sponsorType||"other"===t.sponsorType&&null===t.selectedSponsor),f.Ab(1),f.Lc(" ",f.fc(110,116,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function Z(t,e){if(1&t&&(f.Sb(0,"div",6),f.Sb(1,"div",47),f.Sb(2,"mat-icon",48),f.Jc(3,"done"),f.Rb(),f.Jc(4),f.ec(5,"translate"),f.Sb(6,"i"),f.Jc(7),f.ec(8,"userFullName"),f.Rb(),f.Jc(9),f.ec(10,"translate"),f.Rb(),f.Sb(11,"div"),f.Jc(12),f.ec(13,"translate"),f.Rb(),f.Sb(14,"div"),f.Jc(15),f.ec(16,"translate"),f.Rb(),f.Sb(17,"app-alert",49),f.Jc(18),f.ec(19,"translate"),f.Rb(),f.Rb()),2&t){const t=f.dc();f.Ab(4),f.Lc(" ",f.fc(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),f.Ab(3),f.Kc(f.fc(8,10,t.createdMember.user)),f.Ab(2),f.Lc(" ",f.fc(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),f.Ab(3),f.Mc("",f.fc(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",t.loginThatWasSet,""),f.Ab(3),f.Mc("",f.fc(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",t.namespaceControl.get("password").value," "),f.Ab(3),f.Kc(f.fc(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function Y(t,e){if(1&t){const t=f.Tb();f.Sb(0,"div",19),f.Sb(1,"button",50),f.Zb("click",(function(){return f.xc(t),f.dc().onCancel()})),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Rb()}2&t&&(f.Ab(2),f.Lc(" ",f.fc(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}class ${isErrorState(t,e){return!!(t&&t.invalid&&t.dirty)}}const X=(t,e,i,n=500)=>s=>Object(l.a)(n).pipe(Object(h.a)(()=>(i.dontHandleErrorForNext(),null===t||"No namespace"===t?Object(u.a)(null):e.checkPasswordStrength(s.value,t))),Object(d.a)(()=>null),Object(p.a)(t=>Object(u.a)({backendError:t.error.message.substr(t.error.message.indexOf(":")+1)})));let Q=(()=>{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.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 $,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(c.a.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.userControl=this.formBuilder.group({firstName:["",r.F.required],lastName:["",r.F.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",r.F.required],login:["",[r.F.required]],password:["",r.F.required,[X(null,this.usersService,this.apiRequestConfiguration)]],passwordReset:[!1,[]],showPassword:[!1,[]],email:["",[r.F.required,r.F.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()}enableFormControl(t,e,i=[]){t.enable(),t.clearValidators(),t.clearAsyncValidators(),t.setValidators(e),t.setAsyncValidators(i),t.updateValueAndValidity()}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?this.enableFormControl(i,"optional"===e.login?[]:[r.F.required]):(i.disable(),i.setValue("")),"disabled"!==e.password?(this.enableFormControl(n,"optional"===e.password?[]:[r.F.required],[X(t,this.usersService,this.apiRequestConfiguration)]),this.enableFormControl(s,[]),this.enableFormControl(o,[])):(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":Object(a.I)(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)(f.Mb(n.i),f.Mb(n.a),f.Mb(s.i),f.Mb(o.b),f.Mb(s.q),f.Mb(o.m),f.Mb(g.e),f.Mb(s.d),f.Mb(o.h),f.Mb(r.f))},t.\u0275cmp=f.Gb({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&&(f.Sb(0,"div"),f.Hc(1,D,3,3,"h1",0),f.Hc(2,M,1,0,"mat-spinner",1),f.Hc(3,W,111,118,"div",2),f.Hc(4,Z,20,20,"div",2),f.Hc(5,Y,4,3,"div",3),f.Rb()),2&t&&(f.Cb(e.theme),f.Ab(1),f.kc("ngIf",!e.successfullyCreated),f.Ab(1),f.kc("ngIf",e.loading),f.Ab(1),f.kc("ngIf",!e.loading&&!e.successfullyCreated),f.Ab(1),f.kc("ngIf",!e.loading&&e.successfullyCreated),f.Ab(1),f.kc("ngIf",e.successfullyCreated))},directives:[a.t,n.j,b.c,n.g,m.a,m.b,m.d,r.H,r.s,r.j,A.c,y.b,r.c,r.r,r.i,r.C,n.c,w.b,m.h,v.a,a.s,_.a,S.a,m.i,E.b,r.u,E.a,C.a,R.a,A.b,T.n,A.j,k.a,I.a],pipes:[g.d,O.a],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})()},"7fDV":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){return t.substring(40)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"extSourceType",type:t,pure:!0}),t})()},"7ntQ":function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var n=i("ZTXN"),s=i("IdLP"),o=i("5uGe"),r=i("bwdy");function a(){return function(t){return t.lift(new c(t))}}class c{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new l(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class l extends o.a{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 u extends s.a{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 r.a,t.add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.a.EMPTY)),t}refCount(){return a()(this)}}const h=(()=>{const t=u.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 d extends n.b{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 p(){return new n.a}function f(){return t=>{return a()((e=p,function(t){let i;i="function"==typeof e?e:function(){return e};const n=Object.create(t,h);return n.source=t,n.subjectFactory=i,n})(t));var e}}},"7o/y":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?"invalid"===t.toLowerCase()||e&&"invalid"===t.toLowerCase()?"INACTIVE":t:"ACTIVE"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"transformMemberStatus",type:t,pure:!0}),t})()},"8clQ":function(t,e,i){"use strict";i.d(e,"a",(function(){return a})),i.d(e,"C",(function(){return c})),i.d(e,"B",(function(){return l})),i.d(e,"v",(function(){return u})),i.d(e,"E",(function(){return h})),i.d(e,"F",(function(){return d})),i.d(e,"x",(function(){return p})),i.d(e,"w",(function(){return f})),i.d(e,"z",(function(){return g})),i.d(e,"t",(function(){return b})),i.d(e,"D",(function(){return m})),i.d(e,"h",(function(){return A})),i.d(e,"r",(function(){return y})),i.d(e,"b",(function(){return w})),i.d(e,"c",(function(){return v})),i.d(e,"G",(function(){return _})),i.d(e,"j",(function(){return S})),i.d(e,"k",(function(){return E})),i.d(e,"l",(function(){return C})),i.d(e,"m",(function(){return R})),i.d(e,"p",(function(){return T})),i.d(e,"e",(function(){return k})),i.d(e,"o",(function(){return I})),i.d(e,"d",(function(){return O})),i.d(e,"s",(function(){return D})),i.d(e,"y",(function(){return M})),i.d(e,"A",(function(){return P})),i.d(e,"q",(function(){return x})),i.d(e,"u",(function(){return N})),i.d(e,"g",(function(){return L})),i.d(e,"f",(function(){return F})),i.d(e,"n",(function(){return z})),i.d(e,"i",(function(){return H}));var n=i("D57K"),s=i("OZ4H"),o=i("2kYt"),r=i("etrl");const a=[5,10,25,100,1e3,1e4];function c(t){switch(t.status){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete"}}function l(t){switch(t.status){case"VALID":return"accent";case"INVALID":return"warn";default:return""}}function u(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 h(t){let e="";return t&&t.userAttributes.forEach(t=>{"preferredMail"===t.friendlyName&&(e=t.value)}),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 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 f(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 b(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 A(t,e){return Object(n.a)(this,void 0,void 0,(function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()}))}function y(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 v(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,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 _(t){let e="";return t&&t.userAttributes.forEach(t=>{"organization"===t.friendlyName&&(e=t.value)}),e}function S(t){return t.filter(t=>!t.namespace.includes("def:core"))}function E(t,e){const i=e.find(e=>e.id===t);return i?i.parentGroupId?E(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 R(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 T(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(){return{appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{en:{locale:"en",subject:"",text:""},cs:{locale:"cs",subject:"",text:""}}}}function I(){const t=new s.e;return t.disableClose=!0,t.autoFocus=!1,t}function O(){return{applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{en:{locale:"en",errorMessage:"",help:"",label:"",options:""},cs:{locale:"cs",errorMessage:"",help:"",label:"",options:""}},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null}}function D(t){return"virt"===t.namespace.split(":")[4]}function M(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?"invalid"===t.toLowerCase()||e&&"invalid"===t.toLowerCase()?"INACTIVE":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 x(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return e&&e.value?e.value:"Never"}function N(t){return t&&"never"!==t.toLowerCase()?Object(o.I)(t,"d.M.yyyy","en"):t}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 new Intl.Collator("cs",{numeric:!0}).compare(r,a)*("asc"===o?1:-1)}):t}function F(t,e,i,n,s){e=e.toLowerCase();let o="";return i.forEach(e=>{o+=";"+n(t,e,s)}),-1!==o.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 H(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"});Object(r.saveAs)(c,`${i}.${e}`)}}},"8cyV":function(t,e,i){"use strict";i.d(e,"a",(function(){return E}));var n=i("EM62"),s=i("fAiE"),o=i("oqI+"),r=i("+0js"),a=i("8clQ"),c=i("OZ4H"),l=i("S17y"),u=i("2kYt"),h=i("bFHC"),d=i("Y2X+"),p=i("PBFl"),f=i("29Wa"),g=i("Cd2c");function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-icon",9),n.Zb("mousedown",(function(){return n.xc(t),n.dc(2).dragDisabled=!1})),n.Jc(1,"drag_indicator"),n.Rb()}}function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-icon",10),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().edit(e)})),n.Jc(1,"edit"),n.Rb()}}function A(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-icon",11),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().remove(e)})),n.Jc(1,"cancel"),n.Rb()}}function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-chip",4),n.Zb("removed",(function(){n.xc(t);const i=e.$implicit,s=n.dc();return s.remove(i),s._sendEventToParent()})),n.Hc(1,b,2,0,"mat-icon",5),n.Sb(2,"div",6),n.Zb("click",(function(){n.xc(t);const i=e.$implicit,s=n.dc();return s.readonly&&void 0!==s.attribute.displayName&&s.showValue(i,s.attribute.displayName)})),n.Jc(3),n.Rb(),n.Hc(4,m,2,0,"mat-icon",7),n.Hc(5,A,2,0,"mat-icon",8),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.kc("selectable",i.selectable)("cdkDragData",t)("removable",i.removable),n.Ab(1),n.kc("ngIf",i.removable),n.Ab(1),n.Eb("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),n.Ab(1),n.Kc(t),n.Ab(1),n.kc("ngIf",i.removable),n.Ab(1),n.kc("ngIf",i.removable)}}function w(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"more_horiz"),n.Rb())}function v(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"keyboard_arrow_up"),n.Rb())}function _(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div",12),n.Sb(1,"span",13),n.Sb(2,"button",14),n.Zb("click",(function(){return n.xc(t),n.dc().onShowChange()})),n.Hc(3,w,2,0,"mat-icon",15),n.Hc(4,v,2,0,"mat-icon",15),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.Ab(2),n.kc("ngIf",!t.showMore),n.Ab(1),n.kc("ngIf",t.showMore)}}function S(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-form-field",12),n.Sb(1,"input",16),n.Zb("matChipInputTokenEnd",(function(e){return n.xc(t),n.dc().add(e)}))("change",(function(){return n.xc(t),n.dc()._sendEventToParent()})),n.Rb(),n.Rb()}if(2&t){const t=n.dc(),e=n.tc(2);n.Ab(1),n.kc("matChipInputFor",e)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}}let E=(()=>{class t{constructor(t){this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[s.g,s.c],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new n.o,this.readonly=!1}ngOnInit(){this.removable=!Object(a.s)(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=Object(a.s)(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=Object(a.o)();e.width="400px",e.data={name:t},this.dialog.open(r.a,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,Object(o.h)(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}edit(t){const e=this.attribute.value.indexOf(t),i=Object(a.o)();i.width="600px",i.data={attribute:this.attribute,index:e},this.dialog.open(r.b,i).afterClosed().subscribe(t=>{t&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(t,e){const i=Object(a.o)();i.width="350px",i.data={value:t,title:e},this.dialog.open(r.n,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.Mb(c.b))},t.\u0275cmp=n.Gb({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.Sb(0,"div"),n.Sb(1,"mat-chip-list",0,1),n.Zb("cdkDropListDropped",(function(t){return e.drop(t),e._sendEventToParent()})),n.Hc(3,y,6,9,"mat-chip",2),n.Hc(4,_,5,4,"div",3),n.Hc(5,S,2,3,"mat-form-field",3),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.kc("cdkDropListDisabled",e.dragDisabled),n.Ab(2),n.kc("ngForOf",e.values.slice(0,e.itemsShown)),n.Ab(1),n.kc("ngIf",e.values.length>e.defaultItemsShown),n.Ab(1),n.kc("ngIf",!e.readonly))},directives:[l.d,o.e,u.s,u.t,l.a,o.a,h.a,d.a,p.b,f.c,g.b,l.c],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})()},"8j5Y":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("5uGe");function s(){}var o=i("IJgj");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.a{constructor(t,e,i,n){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=i||s,this._tapComplete=n||s,Object(o.a)(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()}}},"8lHc":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("IdLP"),s=i("Efrr"),o=i("KRZI"),r=i("gBlb");function a(t=0,e,i){let a=-1;return Object(o.a)(e)?a=Number(e)<1?1:Number(e):Object(r.a)(e)&&(i=e),Object(r.a)(i)||(i=s.a),new n.a(e=>{const n=Object(o.a)(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)}}},"9Iem":function(t,e,i){"use strict";i.d(e,"a",(function(){return I}));var n=i("EM62"),s=i("cePI"),o=i("iAde"),r=i("cqs0"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("FcRk"),f=i("s2Ay");function g(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",20),n.Sb(1,"mat-checkbox",21),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function m(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",20),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.id," ")}}function y(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")))}function w(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function v(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")))}function _(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.contact)}}function S(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")))}function E(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.type)}}function C(t,e){1&t&&n.Nb(0,"tr",24)}function R(t,e){1&t&&n.Nb(0,"tr",25)}function T(t,e){1&t&&(n.Sb(0,"app-alert",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS")))}function k(t,e){1&t&&(n.Sb(0,"app-alert",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS")))}let I=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.owners=[],this.hideColumns=[],this.selection=new r.c(!0,[]),this.pageSize=10,this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.page=new n.o,this.pageSizeOptions=c.a}set matPaginator(t){this.paginator=t}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){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new a.o(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matPaginator=i.first),n.sc(i=n.ac())&&(e.matSort=i.first))},inputs:{owners:"owners",hideColumns:"hideColumns",selection:"selection",pageSize:"pageSize",filterValue:"filterValue",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSizeOptions","pageSize","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,g,2,3,"th",6),n.Hc(7,b,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,m,3,3,"th",9),n.Hc(10,A,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,y,3,3,"th",9),n.Hc(13,w,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,v,3,3,"th",9),n.Hc(16,_,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,S,3,3,"th",9),n.Hc(19,E,2,1,"td",11),n.Pb(),n.Hc(20,C,1,0,"tr",14),n.Hc(21,R,1,0,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,T,3,3,"app-alert",17),n.Hc(24,k,3,3,"app-alert",17)),2&t&&(n.kc("hidden",!e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.owners.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.Ab(1),n.kc("ngIf",!e.owners.length),n.Ab(1),n.kc("ngIf",!e.dataSource.filteredData.length&&e.owners.length))},directives:[u.a,a.n,s.a,a.c,a.i,a.b,a.k,a.m,o.a,h.t,a.h,d.a,a.a,s.b,a.j,a.l,p.a],pipes:[f.d],styles:[""]}),t})()},"9RND":function(t){t.exports=JSON.parse('{"a":"0.24.0"}')},"9bRT":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("IdLP");function s(t){return!!t&&(t instanceof n.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"9wx0":function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),s=i("PBFl"),o=i("Jb3d"),r=i("bFHC"),a=i("s2Ay");let c=(()=>{class t{constructor(){this.exportData=new n.o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"div",0),n.Sb(1,"button",1),n.Sb(2,"mat-icon"),n.Jc(3,"more_vert"),n.Rb(),n.Rb(),n.Sb(4,"mat-menu",null,2),n.Sb(6,"button",3),n.Jc(7),n.ec(8,"translate"),n.Rb(),n.Rb(),n.Sb(9,"mat-menu",null,4),n.Sb(11,"button",5),n.Zb("click",(function(){return e.exportData.emit("csv")})),n.Jc(12,"Csv"),n.Rb(),n.Rb(),n.Rb()),2&t){const t=n.tc(5),e=n.tc(10);n.Ab(1),n.kc("matMenuTriggerFor",t),n.Ab(5),n.kc("matMenuTriggerFor",e),n.Ab(1),n.Lc(" ",n.fc(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[s.b,o.d,r.a,o.e,o.b],pipes:[a.d],styles:[".position-right[_ngcontent-%COMP%]{position:absolute;right:20px;margin:-1.25rem}"]}),t})()},A1vf:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("4sdY"),s=i("Sy1n"),o=i("EkAj"),r=i("Ssnw"),a=i("TkCa"),c=i("EM62");function l(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",9),c.Rb()),2&t){const t=e.$implicit,i=e.index,n=c.dc();c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",n.sideNav)("item",t)("index",i)}}function u(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){const t=e.$implicit,i=e.index,n=c.dc();c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.accessItems.length-1)}}function h(t,e){if(1&t&&c.Nb(0,"app-side-menu-root-item",2),2&t){const t=c.dc();c.kc("sideNav",t.sideNav)("item",t.facilityItem)}}function d(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){const t=e.$implicit,i=e.index,n=c.dc(2);c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.facilityItems.length-1)}}function p(t,e){if(1&t&&(c.Sb(0,"div"),c.Hc(1,d,2,5,"div",3),c.Rb()),2&t){const t=c.dc();c.Ab(1),c.kc("ngForOf",t.facilityItems)}}function f(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){const t=e.$implicit,i=e.index,n=c.dc();c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.userItems.length-1)}}function g(t,e){if(1&t&&c.Nb(0,"app-side-menu-root-item",6),2&t){const t=c.dc();c.kc("sideNav",t.sideNav)("showOpen",t.adminItemOpened)("item",t.adminItem)}}function b(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){const t=e.$implicit,i=e.index,n=c.dc(2);c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",n.sideNav)("item",t)("index",i)("showLinks",!0)}}function m(t,e){if(1&t&&(c.Sb(0,"div"),c.Hc(1,b,2,5,"div",3),c.Rb()),2&t){const t=c.dc();c.Ab(1),c.kc("ngForOf",t.adminItems)}}let A=(()=>{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<=s.a.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{transform(t,...e){return Object(n.t)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"attributeFriendlyName",type:t,pure:!0}),t})()},A8Ay:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("EM62"),s=i("nIj0"),o=i("29Wa"),r=i("2kYt"),a=i("Cd2c"),c=i("TQS+"),l=i("s2Ay");function u(t,e){if(1&t&&(n.Nb(0,"input",3),n.ec(1,"translate")),2&t){const t=n.dc();n.lc("placeholder",n.fc(1,2,t.placeholder)),n.kc("formControl",t.formControl)}}function h(t,e){if(1&t&&(n.Nb(0,"input",4),n.ec(1,"translate")),2&t){const t=n.dc();n.lc("placeholder",n.fc(1,2,t.placeholder)),n.kc("formControl",t.formControl)}}let d=(()=>{class t{constructor(){this.filter=new n.o,this.autoFocus=!1,this.formControl=new s.g}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.Gb({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.Sb(0,"mat-form-field",0),n.Hc(1,u,2,4,"input",1),n.Hc(2,h,2,4,"input",2),n.Rb()),2&t&&(n.Ab(1),n.kc("ngIf",e.autoFocus),n.Ab(1),n.kc("ngIf",!e.autoFocus))},directives:[o.c,r.t,a.b,s.c,c.a,s.r,s.h],pipes:[l.d],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important}"]}),t})()},ABWF:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),s=i("LAw4"),o=i("s2Ay");let r=(()=>{class t{constructor(){this.groupSelected=new n.o,this.disableAutoSelect=!1,this.nameFunction=t=>t.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect"},outputs:{groupSelected:"groupSelected"},decls:4,vars:13,consts:[[1,"long-input",3,"entities","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.groupSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.groups)("disableAutoSelect",e.disableAutoSelect)("mainTextFunction",e.nameFunction)("searchFunction",e.nameFunction)("selectPlaceholder",n.fc(1,7,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",n.fc(2,9,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",n.fc(3,11,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))},directives:[s.a],pipes:[o.d],styles:[""]}),t})()},AtkZ:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("nIj0"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("29Wa"),p=i("Cd2c"),f=i("R7+U"),g=i("mFH5");function b(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function m(t,e){if(1&t){const t=a.Tb();a.Sb(0,"mat-option",13),a.Zb("click",(function(){a.xc(t);const i=e.$implicit;return a.dc(2).srcFacility=i})),a.Jc(1),a.Rb()}if(2&t){const t=e.$implicit;a.kc("value",t),a.Ab(1),a.Lc(" ",t.name," ")}}function A(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",7),a.Sb(1,"mat-form-field"),a.Nb(2,"input",8),a.ec(3,"translate"),a.Sb(4,"mat-error"),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Sb(7,"mat-form-field"),a.Nb(8,"input",9),a.ec(9,"translate"),a.Rb(),a.Sb(10,"mat-form-field"),a.Sb(11,"mat-select",10),a.ec(12,"translate"),a.Sb(13,"mat-option",11),a.Zb("click",(function(){return a.xc(t),a.dc().srcFacility=null})),a.Jc(14),a.ec(15,"translate"),a.Rb(),a.Hc(16,m,2,2,"mat-option",12),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.lc("placeholder",a.fc(3,8,"DIALOGS.CREATE_FACILITY.NAME")),a.kc("formControl",t.nameControl),a.Ab(3),a.Kc(a.fc(6,10,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),a.Ab(3),a.lc("placeholder",a.fc(9,12,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),a.kc("formControl",t.descControl),a.Ab(3),a.lc("placeholder",a.fc(12,14,"DIALOGS.CREATE_FACILITY.AS_COPY")),a.Ab(3),a.Lc(" ",a.fc(15,16,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),a.Ab(2),a.kc("ngForOf",t.facilities)}}let y=(()=>{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 r.g("",[r.F.required]),this.descControl=new r.g(""),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)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.g),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,b,1,0,"mat-spinner",1),a.Hc(5,A,17,18,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onCreate()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.CREATE_FACILITY.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Kc(a.fc(9,11,"DIALOGS.CREATE_FACILITY.CANCEL")),a.Ab(2),a.kc("disabled",0===e.nameControl.value.trim().length||e.loading),a.Ab(1),a.Kc(a.fc(12,13,"DIALOGS.CREATE_FACILITY.CREATE")))},directives:[l.t,n.c,u.b,h.c,n.g,d.c,p.b,r.c,r.C,r.r,r.h,d.b,f.a,g.n,l.s],pipes:[c.d],styles:[""]}),t})()},"B/Qt":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("Ssnw"),s=i("EM62"),o=i("sEIs"),r=i("2kYt");let a=(()=>{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)(s.Mb(o.f),s.Mb(o.a),s.Mb(r.n),s.Mb(n.g))},t.\u0275cmp=s.Gb({type:t,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})()},BYpP:function(t,e,i){"use strict";i.d(e,"a",(function(){return U})),i.d(e,"b",(function(){return K})),i.d(e,"c",(function(){return j}));var n=i("EM62"),s=i("nIj0"),o=i("mFH5"),r=i("R7+U"),a=i("29Wa"),c=i("fAiE"),l=i("C05f"),u=i("ROBh"),h=i("HM3f"),d=i("ZTXN"),p=i("TLy2"),f=i("YtkY"),g=i("jIqt"),b=i("BwBJ"),m=i("kuMc"),A=i("J+dc"),y=i("xVbo"),w=i("8j5Y"),v=i("SrNW"),_=i("PBFl"),S=i("+Tre"),E=i("bFHC"),C=i("csyo"),R=i("Y2X+"),T=i("2kYt"),k=i("qvOF"),I=i("sg/T");const O=["searchSelectInput"],D=["innerSelectSearch"];function M(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-checkbox",9),n.Zb("change",(function(e){return n.xc(t),n.dc()._emitSelectAllBooleanToParent(e.checked)})),n.Rb()}if(2&t){const t=n.dc();n.kc("color",null==t.matFormField?null:t.matFormField.color)("checked",t.toggleAllCheckboxChecked)("indeterminate",t.toggleAllCheckboxIndeterminate)("matTooltip",t.toggleAllCheckboxTooltipMessage)("matTooltipPosition",t.toogleAllCheckboxTooltipPosition)}}function P(t,e){1&t&&n.Nb(0,"mat-spinner",10)}function x(t,e){1&t&&n.ic(0,1,["*ngIf","clearIcon; else defaultIcon"])}function N(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"close"),n.Rb())}function L(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(t),n.dc()._reset(!0)})),n.Hc(1,x,1,0,"ng-content",12),n.Hc(2,N,2,0,"ng-template",null,13,n.Ic),n.Rb()}if(2&t){const t=n.tc(3),e=n.dc();n.Ab(1),n.kc("ngIf",e.clearIcon)("ngIfElse",t)}}function F(t,e){if(1&t&&(n.Sb(0,"div",14),n.Jc(1),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.Lc(" ",t.noEntriesFoundLabel,"\n")}}const z=[[["",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}},B=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let j=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","ngxMatSelectSearchClear",""]]}),t})();var G;let U=(()=>{let t=G=class{constructor(t,e,i,o=null,r,a=null){this.matSelect=t,this.changeDetectorRef=e,this._viewportRuler=i,this.matOption=o,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.toggleAll=new n.o,this.onTouched=t=>{},this._options$=new l.a(null),this.optionsList$=this._options$.pipe(Object(p.a)(t=>t?t.changes.pipe(Object(f.a)(t=>t.toArray()),Object(g.a)(t.toArray())):Object(u.a)(null))),this.optionsLength$=this.optionsList$.pipe(Object(f.a)(t=>t?t.length:0)),this._formControl=new s.g(""),this._showNoEntriesFound$=Object(h.a)([this._formControl.valueChanges,this.optionsLength$]).pipe(Object(f.a)(([t,e])=>this.noEntriesFoundLabel&&t&&e===this.getOptionsLengthOffset())),this._onDestroy=new d.a}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.initMultiSelectedValuesTracking(),this.matSelect.openedChange.pipe(Object(b.a)(1),Object(m.a)(this._onDestroy)).subscribe(t=>{t?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Object(A.a)(1)).pipe(Object(m.a)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe(Object(m.a)(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(Object(m.a)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const e=this._options.toArray()[this.getOptionsLengthOffset()],i=this.matSelect._keyManager;i&&this.matSelect.panelOpen&&(!this.matSelect.compareWith(t,e)&&i.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),t=e})})}),this._showNoEntriesFound$.pipe(Object(m.a)(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(Object(m.a)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(Object(m.a)(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>=c.a&&t.keyCode<=c.r||t.keyCode>=c.s&&t.keyCode<=c.k||t.keyCode===c.o||this.preventHomeEndKeyPropagation&&(t.keyCode===c.i||t.keyCode===c.f))&&t.stopPropagation(),!0===this.enableClearOnEscapePressed&&t.keyCode===c.h&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(t.keyCode===c.q||t.keyCode===c.e){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(Object(y.a)(t=>t!==this._lastExternalInputValue),Object(w.a)(()=>this._lastExternalInputValue=void 0),Object(m.a)(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.valueChange.pipe(Object(m.a)(this._onDestroy)).subscribe(t=>{if(this.matSelect.multiple){let e=!1;if(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)})}e&&(this.matSelect._onChange(t),this.previousSelectedValues=t)}})}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=Object(o.w)(e,this.matSelect.options,this.matSelect.optionGroups),n=(this.matOption?-1:0)+i+e,s=this.matSelect.panel.nativeElement.scrollTop,a=this.innerSelectSearch.nativeElement.offsetHeight,c=Math.floor((r.d-a)/t),l=Math.round((s+a)/t)-1;l>=n?this.matSelect.panel.nativeElement.scrollTop=n*t:l+c<=n&&(this.matSelect.panel.nativeElement.scrollTop=(n+1)*t-(r.d-a))}}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}initMultiSelectedValuesTracking(){this._formControl.valueChanges.pipe(Object(g.a)(void 0),Object(v.a)((t,e)=>({currentValue:e,previousValue:t.currentValue}),{currentValue:void 0,previousValue:void 0}),Object(m.a)(this._onDestroy)).subscribe(t=>{const e=this._options?this._options.toArray():[];this.matSelect.multiple&&!t.previousValue&&(this.previousSelectedValues=e.filter(t=>t.selected).map(t=>t.value))})}getOptionsLengthOffset(){return this.matOption?1:0}};return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.a),n.Mb(n.h),n.Mb(k.h),n.Mb(o.n,8),n.Mb(I.k),n.Mb(a.c,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){var s;1&t&&n.Fb(i,j,!0),2&t&&n.sc(s=n.ac())&&(e.clearIcon=s.first)},viewQuery:function(t,e){var i;1&t&&(n.Dc(O,!0,n.l),n.Dc(D,!0,n.l)),2&t&&(n.sc(i=n.ac())&&(e.searchSelectInput=i.first),n.sc(i=n.ac())&&(e.innerSelectSearch=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&n.Eb("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"},outputs:{toggleAll:"toggleAll"},features:[n.zb([{provide:s.p,useExisting:Object(n.U)(()=>G),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&&(n.jc(z),n.Nb(0,"input",0),n.Sb(1,"div",1,2),n.Hc(3,M,1,5,"mat-checkbox",3),n.Sb(4,"input",4,5),n.Zb("keydown",(function(t){return e._handleKeydown(t)}))("keyup",(function(t){return e._handleKeyup(t)}))("blur",(function(){return e.onBlur()})),n.Rb(),n.Hc(6,P,1,0,"mat-spinner",6),n.Hc(7,L,4,2,"button",7),n.ic(8),n.Rb(),n.Hc(9,F,2,1,"div",8),n.ec(10,"async")),2&t&&(n.Ab(1),n.kc("ngClass",n.qc(11,H,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),n.Ab(2),n.kc("ngIf",e._isToggleAllCheckboxVisible()),n.Ab(1),n.kc("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),n.Bb("aria-label",e.ariaLabel),n.Ab(2),n.kc("ngIf",e.searching),n.Ab(1),n.kc("ngIf",e.value&&!e.searching),n.Ab(2),n.kc("ngIf",n.fc(10,9,e._showNoEntriesFound$)))},directives:[T.q,T.t,s.c,s.r,s.h,S.a,R.a,C.c,_.b,E.a],pipes:[T.b],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})(),K=(()=>{let t=class{};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[T.c,s.B,_.c,S.b,E.b,C.b,R.b]]}),t})()},BnyX:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("EM62"),s=i("29Wa"),o=i("Cd2c"),r=i("gcUQ"),a=i("nIj0"),c=i("s2Ay");let l=(()=>{class t{constructor(){this.datePicker=new n.o}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.Gb({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.Tb();n.Sb(0,"mat-form-field",0),n.Zb("click",(function(){return n.xc(t),n.tc(7).open()})),n.Sb(1,"mat-label"),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"input",1),n.Zb("dateChange",(function(){return e.dateChange()})),n.Rb(),n.Nb(5,"mat-datepicker-toggle",2),n.Nb(6,"mat-datepicker",null,3),n.Rb(),n.Sb(8,"mat-form-field",4),n.Zb("click",(function(){return n.xc(t),n.tc(15).open()})),n.Sb(9,"mat-label"),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Sb(12,"input",1),n.Zb("dateChange",(function(){return e.dateChange()})),n.Rb(),n.Nb(13,"mat-datepicker-toggle",2),n.Nb(14,"mat-datepicker",null,5),n.Rb()}if(2&t){const t=n.tc(7),i=n.tc(15);n.Ab(2),n.Kc(n.fc(3,12,"VO_DETAIL.APPLICATION.DATE.START")),n.Ab(2),n.kc("matDatepicker",t)("min",e.startMinDate)("max",e.startMaxDate)("formControl",e.startDate),n.Ab(1),n.kc("for",t),n.Ab(5),n.Kc(n.fc(11,14,"VO_DETAIL.APPLICATION.DATE.END")),n.Ab(2),n.kc("matDatepicker",i)("min",e.endMinDate)("max",e.endMaxDate)("formControl",e.endDate),n.Ab(1),n.kc("for",i)}},directives:[s.c,s.g,o.b,r.f,a.c,a.r,a.h,r.h,s.j,r.d],pipes:[c.d],styles:[""]}),t})()},BwBJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("Efrr"),s=i("5uGe"),o=i("ryP2");function r(t,e=n.a){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.a{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 l(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.a.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.time=t,this.notification=e}}},C05f:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("ZTXN"),s=i("MiDb");class o extends n.a{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.a;return this._value}next(t){super.next(this._value=t)}}},C5kn:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){switch(t){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"memberStatusIconColor",type:t,pure:!0}),t})()},CIWc:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&(a.Sb(0,"th",17),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")))}function f(t,e){if(1&t&&(a.Sb(0,"td",18),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.id," ")}}function g(t,e){1&t&&(a.Sb(0,"th",17),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")))}function b(t,e){if(1&t&&(a.Sb(0,"td",18),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.destination.destination," ")}}function m(t,e){1&t&&(a.Sb(0,"th",17),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function A(t,e){if(1&t&&(a.Sb(0,"td",18),a.Jc(1),a.ec(2,"date"),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",a.gc(2,1,t.timestamp,"d.M.y H:mm:ss")," ")}}function y(t,e){1&t&&a.Nb(0,"tr",19)}function w(t,e){1&t&&a.Nb(0,"tr",20)}function v(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,3,3,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Qb(11,13),a.Hc(12,g,3,3,"th",11),a.Hc(13,b,2,1,"td",12),a.Pb(),a.Qb(14,14),a.Hc(15,m,3,3,"th",11),a.Hc(16,A,3,4,"td",12),a.Pb(),a.Hc(17,y,1,0,"tr",15),a.Hc(18,w,1,0,"tr",16),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Kc(a.fc(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(10),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let _=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.taskManager=i,this.notificator=n,this.translate=s,this.loading=!1,this.dataSource=new r.o(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)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.o),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,v,19,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onDelete()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d,l.f],styles:[""]}),t})()},COMt:function(t,e,i){"use strict";i.d(e,"a",(function(){return B}));var n=i("EM62"),s=i("cqs0"),o=i("iAde"),r=i("cePI"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("2kYt"),h=i("9wx0"),d=i("+Tre"),p=i("FcRk"),f=i("s2Ay");function g(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",23),n.Sb(1,"mat-checkbox",24),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function m(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function y(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")))}function w(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.destination.destination)}}function v(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")))}function _(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.destination.type.toUpperCase())}}function S(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")))}function E(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.service.name)}}function C(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")))}function R(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.status)}}function T(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")))}function k(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.timestamp,"d.M.y H:mm:ss"))}}function I(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")))}function O(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.returnCode)}}function D(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")))}function M(t,e){if(1&t&&(n.Sb(0,"span"),n.Jc(1),n.Nb(2,"br"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t)}}function P(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,M,3,1,"span",28),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngForOf",t.standardMessage.split("\n"))}}function x(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")))}function N(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.errorMessage)}}function L(t,e){1&t&&n.Nb(0,"tr",29)}function F(t,e){if(1&t&&n.Nb(0,"tr",30),2&t){const t=e.$implicit;n.Eb("yellowTableItem","WARNING"===t.status)("greenTableItem","DONE"===t.status)("redTableItem","ERROR"===t.status||"DENIED"===t.status)}}function z(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function H(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}let B=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.pageSizeOptions=c.a,this.taskResults=[],this.selection=new s.c(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.page=new n.o}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new a.o(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 Object(u.I)(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 Object(u.I)(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){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getSortDataForColumn,this))}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:40,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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"],["mat-cell","","class","static-column-size",4,"matCellDef"],["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,"yellowTableItem","greenTableItem","redTableItem",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,g,2,3,"th",6),n.Hc(7,b,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,m,3,3,"th",9),n.Hc(10,A,2,1,"td",10),n.Pb(),n.Qb(11,11),n.Hc(12,y,3,3,"th",9),n.Hc(13,w,2,1,"td",10),n.Pb(),n.Qb(14,12),n.Hc(15,v,3,3,"th",9),n.Hc(16,_,2,1,"td",10),n.Pb(),n.Qb(17,13),n.Hc(18,S,3,3,"th",9),n.Hc(19,E,2,1,"td",10),n.Pb(),n.Qb(20,14),n.Hc(21,C,3,3,"th",9),n.Hc(22,R,2,1,"td",10),n.Pb(),n.Qb(23,15),n.Hc(24,T,3,3,"th",9),n.Hc(25,k,3,4,"td",10),n.Pb(),n.Qb(26,16),n.Hc(27,I,3,3,"th",9),n.Hc(28,O,2,1,"td",10),n.Pb(),n.Qb(29,17),n.Hc(30,D,3,3,"th",9),n.Hc(31,P,2,1,"td",10),n.Pb(),n.Qb(32,18),n.Hc(33,x,3,3,"th",9),n.Hc(34,N,2,1,"td",10),n.Pb(),n.Hc(35,L,1,0,"tr",19),n.Hc(36,F,1,6,"tr",20),n.Rb(),n.Rb(),n.Sb(37,"mat-paginator",21),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(38,z,3,3,"app-alert",22),n.Hc(39,H,3,3,"app-alert",22)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.taskResults.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(31),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.taskResults.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.taskResults.length),n.Ab(1),n.kc("ngIf",0===e.taskResults.length))},directives:[h.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,o.a,u.t,a.h,d.a,a.a,r.b,u.s,a.j,a.l,p.a],pipes:[f.d,u.f],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),t})()},Cd2c:function(t,e,i){"use strict";i.d(e,"a",(function(){return p})),i.d(e,"b",(function(){return A})),i.d(e,"c",(function(){return y})),i.d(e,"d",(function(){return h}));var n=i("H0K4"),s=i("EM62"),o=i("5XID"),r=i("cZZj"),a=i("mFH5"),c=i("29Wa"),l=i("ZTXN"),u=i("nIj0");let h=(()=>{class t extends n.c{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(e){return d(e||t)},t.\u0275dir=s.Hb({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.xb]}),t})();const d=s.Ub(h),p=new s.r("MAT_INPUT_VALUE_ACCESSOR"),f=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class b{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const m=Object(a.B)(b);let A=(()=>{class t extends m{constructor(t,e,i,n,s,o,a,c,u){super(o,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=c,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new l.a,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=>Object(r.e)().has(t));const h=this._elementRef.nativeElement,d=h.nodeName.toLowerCase();this._inputValueAccessor=a||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===d,this._isTextarea="textarea"===d,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(o.c)(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=Object(o.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(r.e)().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=Object(o.c)(t)}ngOnInit(){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()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(f.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_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){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(r.a),s.Mb(u.q,10),s.Mb(u.t,8),s.Mb(u.j,8),s.Mb(a.d),s.Mb(p,10),s.Mb(n.a),s.Mb(s.A))},t.\u0275dir=s.Hb({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&s.Zb("focus",(function(){return e._focusChanged(!0)}))("blur",(function(){return e._focusChanged(!1)}))("input",(function(){return e._onInput()})),2&t&&(s.Vb("disabled",e.disabled)("required",e.required),s.Bb("id",e.id)("placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),s.Eb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[s.zb([{provide:c.d,useExisting:t}]),s.xb,s.yb]}),t})(),y=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[a.d],imports:[[n.d,c.e],n.d,c.e]}),t})()},"D+oT":function(t,e,i){"use strict";i.d(e,"a",(function(){return E}));var n=i("X2Q7"),s=i("iyZ4"),o=i("nyAh"),r=i("Ssnw"),a=i("nIj0"),c=i("EM62"),l=i("29Wa"),u=i("Cd2c"),h=i("PBFl"),d=i("bFHC"),p=i("2kYt"),f=i("csyo"),g=i("NC8S"),b=i("FcRk"),m=i("s2Ay");function A(t,e){1&t&&c.Nb(0,"mat-spinner",8)}const y=function(){return["user","id","name","email","logins","organization"]};function w(t,e){if(1&t){const t=c.Tb();c.Sb(0,"app-users-list",11),c.Zb("page",(function(e){return c.xc(t),c.dc(2).pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc(2);c.kc("pageSize",t.pageSize)("displayedColumns",c.oc(3,y))("users",t.users)}}function v(t,e){1&t&&(c.Sb(0,"app-alert",12),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.kc("alert_type","info"),c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.USERS.SEARCH_INFO")," "))}function _(t,e){1&t&&(c.Sb(0,"app-alert",12),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.kc("alert_type","warn"),c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.USERS.NO_USERS_FOUND")," "))}function S(t,e){if(1&t&&(c.Sb(0,"div"),c.Hc(1,w,1,4,"app-users-list",9),c.Hc(2,v,3,4,"app-alert",10),c.Hc(3,_,3,4,"app-alert",10),c.Rb()),2&t){const t=c.dc();c.Ab(1),c.kc("ngIf",void 0!==t.users&&t.users.length>0),c.Ab(1),c.kc("ngIf",!t.firstSearchDone),c.Ab(1),c.kc("ngIf",t.firstSearchDone&&0===t.users.length)}}let E=(()=>{class t{constructor(t,e,i){this.usersService=t,this.storeService=e,this.tableConfigService=i,this.loading=!1,this.firstSearchDone=!1,this.tableId=s.n,this.attributes=[]}ngOnInit(){this.searchControl=new a.g("",[a.F.required,a.F.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.attributes=[o.a.USER_DEF_ORGANIZATION,o.a.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.Mb(n.q),c.Mb(r.m),c.Mb(s.pb))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:19,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.Sb(0,"div",0),c.Zb("keyup",(function(t){return e.onKeyInput(t)})),c.Sb(1,"h1",1),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"mat-form-field",2),c.Sb(5,"label"),c.Nb(6,"input",3),c.ec(7,"translate"),c.Rb(),c.Sb(8,"mat-error"),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Rb(),c.Sb(11,"button",4),c.Zb("click",(function(){return e.onSearchByString()})),c.Sb(12,"mat-icon"),c.Jc(13,"search"),c.Rb(),c.Rb(),c.Sb(14,"button",5),c.Zb("click",(function(){return e.findUsersWithoutVO()})),c.Jc(15),c.ec(16,"translate"),c.Rb(),c.Hc(17,A,1,0,"mat-spinner",6),c.Hc(18,S,4,3,"div",7),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,9,"ADMIN.USERS.TITLE")),c.Ab(4),c.lc("placeholder",c.fc(7,11,"ADMIN.USERS.SEARCH_PLACEHOLDER")),c.kc("formControl",e.searchControl),c.Ab(3),c.Lc(" ",c.fc(10,13,"ADMIN.USERS.EMPTY_SEARCH")," "),c.Ab(2),c.kc("disabled",e.loading),c.Ab(3),c.kc("disabled",e.loading),c.Ab(1),c.Lc(" ",c.fc(16,15,"ADMIN.USERS.USERS_WITHOUT_VO")," "),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[l.c,u.b,a.c,a.r,a.h,l.b,h.b,d.a,p.t,f.c,g.a,b.a],pipes:[m.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}"]}),t})()},D57K:function(t,e,i){"use strict";function n(t,e,i,n){var s,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=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,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,"b",(function(){return n})),i.d(e,"a",(function(){return s}))},"DG/E":function(t,e,i){"use strict";i.d(e,"a",(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}}}},Dkjx:function(t,e,i){"use strict";i.d(e,"a",(function(){return I}));var n=i("OZ4H"),s=i("TkCa"),o=i("X2Q7"),r=i("nIj0"),a=i("EM62"),c=i("2kYt"),l=i("PBFl"),u=i("csyo"),h=i("29Wa"),d=i("R7+U"),p=i("+Tre"),f=i("mFH5"),g=i("Cd2c"),b=i("s2Ay");function m(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function A(t,e){1&t&&(a.Sb(0,"mat-option",19),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.SELECTION_ALL")))}function y(t,e){1&t&&(a.Sb(0,"mat-option",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.NO_SERVICE")))}function w(t,e){if(1&t&&(a.Sb(0,"mat-option",21),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t),a.Ab(1),a.Lc(" ",t.name," ")}}function v(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.CHOOSE_SERVICE")," "))}function _(t,e){if(1&t&&(a.Sb(0,"mat-option",21),a.Jc(1),a.Rb()),2&t){const t=e.$implicit,i=a.dc(2);a.kc("value",t),a.Ab(1),a.Lc(" ",i.getTypeForView(t)," ")}}function S(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.REQUIRED_FIELD")," "))}function E(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.INVALID_DESTINATION")," "))}function C(t,e){if(1&t&&(a.Sb(0,"mat-form-field",22),a.Nb(1,"input",23),a.Hc(2,S,3,3,"mat-error",13),a.Hc(3,E,3,3,"mat-error",13),a.Rb()),2&t){const t=a.dc(2);a.Ab(1),a.lc("placeholder",t.getTypeForView(t.selectedType)),a.kc("formControl",t.destinationControl),a.Ab(1),a.kc("ngIf","host"===t.selectedType&&!t.useFacilityHost&&t.destinationControl.hasError("required")),a.Ab(1),a.kc("ngIf",t.destinationControl.hasError("invalidDestination"))}}function R(t,e){if(1&t){const t=a.Tb();a.Sb(0,"mat-checkbox",24),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).useFacilityHost=e})),a.Jc(1),a.ec(2,"translate"),a.Rb()}if(2&t){const t=a.dc(2);a.kc("ngModel",t.useFacilityHost),a.Ab(1),a.Lc(" ",a.fc(2,2,"DIALOGS.ADD_SERVICE_DESTINATION.USE_FACILITY_HOST")," ")}}function T(t,e){if(1&t&&(a.Sb(0,"mat-option",21),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t),a.Ab(1),a.Lc(" ",t," ")}}function k(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",7),a.Sb(1,"div",8),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"mat-form-field"),a.Sb(5,"mat-select",9),a.ec(6,"translate"),a.Hc(7,A,3,3,"mat-option",10),a.Hc(8,y,3,3,"mat-option",11),a.Hc(9,w,2,2,"mat-option",12),a.Rb(),a.Hc(10,v,3,3,"mat-error",13),a.Rb(),a.Sb(11,"mat-checkbox",14),a.Zb("change",(function(){return a.xc(t),a.dc().getServices()}))("ngModelChange",(function(e){return a.xc(t),a.dc().servicesOnFacility=e})),a.Jc(12),a.ec(13,"translate"),a.Rb(),a.Sb(14,"mat-form-field"),a.Sb(15,"mat-select",15),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().selectedType=e}))("selectionChange",(function(){return a.xc(t),a.dc().destinationControl.updateValueAndValidity()})),a.ec(16,"translate"),a.Hc(17,_,2,2,"mat-option",12),a.Rb(),a.Rb(),a.Hc(18,C,4,4,"mat-form-field",16),a.Hc(19,R,3,4,"mat-checkbox",17),a.Sb(20,"mat-form-field"),a.Sb(21,"mat-select",18),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().selectedPropagation=e})),a.ec(22,"translate"),a.Hc(23,T,2,2,"mat-option",12),a.Rb(),a.Rb(),a.Sb(24,"div",8),a.Jc(25),a.ec(26,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Kc(a.fc(3,18,"DIALOGS.ADD_SERVICE_DESTINATION.DESCRIPTION")),a.Ab(3),a.lc("placeholder",a.fc(6,20,"DIALOGS.ADD_SERVICE_DESTINATION.SERVICE")),a.kc("formControl",t.serviceControl),a.Ab(2),a.kc("ngIf",0!==t.services.length),a.Ab(1),a.kc("ngIf",0===t.services.length),a.Ab(1),a.kc("ngForOf",t.services),a.Ab(1),a.kc("ngIf",null==t.serviceControl.value),a.Ab(1),a.kc("ngModel",t.servicesOnFacility),a.Ab(1),a.Kc(a.fc(13,22,"DIALOGS.ADD_SERVICE_DESTINATION.IS_SERVICES_ONLY_ON_FACILITY")),a.Ab(3),a.lc("placeholder",a.fc(16,24,"DIALOGS.ADD_SERVICE_DESTINATION.TYPE")),a.kc("ngModel",t.selectedType),a.Ab(2),a.kc("ngForOf",t.types),a.Ab(1),a.kc("ngIf",!("host"===t.selectedType&&t.useFacilityHost)),a.Ab(1),a.kc("ngIf","host"===t.selectedType),a.Ab(2),a.lc("placeholder",a.fc(22,26,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION")),a.kc("ngModel",t.selectedPropagation),a.Ab(2),a.kc("ngForOf",t.propagations),a.Ab(2),a.Lc(" ",a.fc(26,28,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION_TYPE_"+t.selectedPropagation)," ")}}let I=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.servicesManager=n,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 r.g(void 0,r.F.required),this.destinationControl=new r.g("",this.getDestinationValidator()),this.emailControl=new r.g("",[r.F.required,r.F.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)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.g),a.Mb(o.n))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,m,1,0,"mat-spinner",1),a.Hc(5,k,27,30,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.data.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading||e.invalidDestination()||e.serviceControl.invalid||"noService"===e.serviceControl.value),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[n.j,c.t,n.c,l.b,u.c,n.g,h.c,d.a,r.C,r.r,r.h,c.s,p.a,r.u,f.n,h.b,g.b,r.c],pipes:[b.d],styles:[""],data:{animation:[s.c]}}),t})()},DnAX:function(t,e,i){"use strict";i.d(e,"a",(function(){return it}));var n=i("OZ4H"),s=i("X2Q7"),o=i("8clQ"),r=i("HHEo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("KZIX"),p=i("dEHC"),f=i("29Wa"),g=i("Cd2c"),b=i("nIj0"),m=i("+Tre"),A=i("R7+U"),y=i("mFH5"),w=i("6Xhx"),v=i("H0K4"),_=i("g3Wv"),S=i("rmDM"),E=i("Qgg6");function C(t,e){1&t&&a.Nb(0,"mat-spinner",7)}function R(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"section"),a.Sb(5,"mat-checkbox",20),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(3).applicationFormItem.updatable=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(3);a.Ab(1),a.kc("label",a.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",a.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.updatable)}}function T(t,e){if(1&t&&(a.Sb(0,"mat-option",23),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t.value),a.Ab(1),a.Lc(" ",t.displayName," ")}}function k(t,e){if(1&t&&(a.Sb(0,"mat-option",23),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t.value),a.Ab(1),a.Lc(" ",t.displayName," ")}}function I(t,e){if(1&t&&(a.Sb(0,"mat-option",23),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t.value),a.Ab(1),a.Lc(" ",t.displayName," ")}}function O(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",12),a.Sb(1,"mat-form-field",12),a.Sb(2,"input",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(3).applicationFormItem.federationAttribute=e})),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(3);a.Ab(2),a.kc("ngModel",t.applicationFormItem.federationAttribute)}}function D(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"section"),a.Sb(5,"mat-checkbox",20),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.required=e})),a.Rb(),a.Rb(),a.Rb(),a.Hc(6,R,6,7,"div",16),a.Sb(7,"app-edit-application-form-item-line",11),a.ec(8,"translate"),a.ec(9,"translate"),a.Sb(10,"mat-form-field",12),a.Sb(11,"mat-select",17),a.Zb("valueChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.perunSourceAttribute=e})),a.Hc(12,T,2,2,"mat-option",18),a.Rb(),a.Rb(),a.Rb(),a.Sb(13,"app-edit-application-form-item-line",11),a.ec(14,"translate"),a.ec(15,"translate"),a.Sb(16,"mat-form-field",12),a.Sb(17,"mat-select",17),a.Zb("valueChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.perunDestinationAttribute=e})),a.Hc(18,k,2,2,"mat-option",18),a.Rb(),a.Rb(),a.Rb(),a.Sb(19,"app-edit-application-form-item-line",11),a.ec(20,"translate"),a.ec(21,"translate"),a.Sb(22,"mat-form-field",12),a.Sb(23,"mat-select",21),a.Zb("selectionChange",(function(){return a.xc(t),a.dc(2).federationAttributeschanged()}))("valueChange",(function(e){return a.xc(t),a.dc(2).federationAttribute=e})),a.Hc(24,I,2,2,"mat-option",18),a.Rb(),a.Rb(),a.Hc(25,O,3,1,"div",22),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",a.fc(3,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.required),a.Ab(1),a.kc("ngIf",t.typesWithUpdatable.indexOf(t.applicationFormItem.type)>-1),a.Ab(1),a.kc("label",a.fc(8,21,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",a.fc(9,23,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),a.Ab(4),a.kc("value",t.applicationFormItem.perunSourceAttribute),a.Ab(1),a.kc("ngForOf",t.sourceAttributes),a.Ab(1),a.kc("label",a.fc(14,25,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",a.fc(15,27,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),a.Ab(4),a.kc("value",t.applicationFormItem.perunDestinationAttribute),a.Ab(1),a.kc("ngForOf",t.destinationAttributes),a.Ab(1),a.kc("label",a.fc(20,29,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",a.fc(21,31,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),a.Ab(4),a.kc("value",t.federationAttribute),a.Ab(1),a.kc("ngForOf",t.federationAttributes),a.Ab(1),a.kc("ngIf","custom"===t.federationAttribute)}}function M(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"input",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.regex=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",a.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.regex)}}function P(t,e){if(1&t&&(a.Sb(0,"mat-option",23),a.Jc(1),a.ec(2,"applicationFormItemDisabled"),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t),a.Ab(1),a.Lc(" ",a.fc(2,2,t)," ")}}function x(t,e){if(1&t){const t=a.Tb();a.Sb(0,"perun-web-apps-app-form-item-search-select",24),a.Zb("itemSelected",(function(e){return a.xc(t),a.dc(3).disabledDependencyItem=e})),a.Rb()}if(2&t){const t=a.dc(3);a.kc("item",t.disabledDependencyItem)("items",t.possibleDependencyItems)}}function N(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"mat-select",17),a.Zb("valueChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.disabled=e})),a.Hc(6,P,3,4,"mat-option",18),a.Rb(),a.Rb(),a.Rb(),a.Sb(7,"app-edit-application-form-item-line",11),a.ec(8,"translate"),a.ec(9,"translate"),a.Sb(10,"div",12),a.Hc(11,x,1,2,"perun-web-apps-app-form-item-search-select",19),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",a.fc(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),a.Ab(4),a.kc("value",t.applicationFormItem.disabled),a.Ab(1),a.kc("ngForOf",t.disabledValues),a.Ab(1),a.kc("label",a.fc(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",a.fc(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),a.Ab(4),a.kc("ngIf",null!==t.disabledDependencyItem)}}function L(t,e){if(1&t&&(a.Sb(0,"mat-option",23),a.Jc(1),a.ec(2,"applicationFormItemHidden"),a.Rb()),2&t){const t=e.$implicit;a.kc("value",t),a.Ab(1),a.Lc(" ",a.fc(2,2,t)," ")}}function F(t,e){if(1&t){const t=a.Tb();a.Sb(0,"perun-web-apps-app-form-item-search-select",24),a.Zb("itemSelected",(function(e){return a.xc(t),a.dc(2).hiddenDependencyItem=e})),a.Rb()}if(2&t){const t=a.dc(2);a.kc("item",t.hiddenDependencyItem)("items",t.possibleDependencyItems)}}function z(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"textarea",25),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.en.label=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",a.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),a.Ab(4),a.kc("cdkTextareaAutosize",!0)("ngModel",t.applicationFormItem.i18n.en.label)}}function H(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.en.label=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(6,"app-edit-application-form-item-line",11),a.ec(7,"translate"),a.ec(8,"translate"),a.Sb(9,"mat-form-field",12),a.Sb(10,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.en.help=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(11,"app-edit-application-form-item-line",11),a.ec(12,"translate"),a.ec(13,"translate"),a.Sb(14,"mat-form-field",12),a.Sb(15,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.en.errorMessage=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",a.fc(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.en.label),a.Ab(1),a.kc("label",a.fc(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",a.fc(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.en.help),a.Ab(1),a.kc("label",a.fc(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",a.fc(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.en.errorMessage)}}function B(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.en.label=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",a.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.en.label)}}function j(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Sb(3,"mat-form-field"),a.Sb(4,"input",13),a.Zb("ngModelChange",(function(i){return a.xc(t),e.$implicit[0]=i})),a.Rb(),a.Rb(),a.Jc(5),a.ec(6,"translate"),a.Sb(7,"mat-form-field"),a.Sb(8,"input",13),a.Zb("ngModelChange",(function(i){return a.xc(t),e.$implicit[1]=i})),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",a.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),a.Ab(3),a.kc("ngModel",t[0]),a.Ab(1),a.Lc(" ",a.fc(6,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),a.Ab(3),a.kc("ngModel",t[1])}}function G(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"div",26),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",27),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"div",28),a.Sb(8,"button",29),a.Zb("click",(function(){return a.xc(t),a.dc(2).sortEnOptionsAZ()})),a.Sb(9,"i",30),a.Jc(10,"arrow_downward"),a.Rb(),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Sb(13,"button",31),a.Zb("click",(function(){return a.xc(t),a.dc(2).sortEnOptionsZA()})),a.Sb(14,"i",30),a.Jc(15,"arrow_upward"),a.Rb(),a.Jc(16),a.ec(17,"translate"),a.Rb(),a.Rb(),a.Hc(18,j,9,8,"div",32),a.Sb(19,"button",33),a.Zb("click",(function(){return a.xc(t),a.dc(2).addEnOption()})),a.Jc(20),a.ec(21,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(2),a.Lc("",a.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),a.Ab(3),a.Lc(" ",a.fc(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),a.Ab(6),a.Lc(" ",a.fc(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),a.Ab(5),a.Lc(" ",a.fc(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),a.Ab(2),a.kc("ngForOf",t.optionsEn),a.Ab(2),a.Lc(" ",a.fc(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}function U(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"textarea",25),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.cs.label=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",a.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),a.Ab(4),a.kc("cdkTextareaAutosize",!0)("ngModel",t.applicationFormItem.i18n.cs.label)}}function K(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.cs.label=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(6,"app-edit-application-form-item-line",11),a.ec(7,"translate"),a.ec(8,"translate"),a.Sb(9,"mat-form-field",12),a.Sb(10,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.cs.help=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(11,"app-edit-application-form-item-line",11),a.ec(12,"translate"),a.ec(13,"translate"),a.Sb(14,"mat-form-field",12),a.Sb(15,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.cs.errorMessage=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",a.fc(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.cs.label),a.Ab(1),a.kc("label",a.fc(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",a.fc(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.cs.help),a.Ab(1),a.kc("label",a.fc(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",a.fc(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.cs.errorMessage)}}function V(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"app-edit-application-form-item-line",11),a.ec(2,"translate"),a.ec(3,"translate"),a.Sb(4,"mat-form-field",12),a.Sb(5,"textarea",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc(2).applicationFormItem.i18n.cs.label=e})),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(1),a.kc("label",a.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",a.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.i18n.cs.label)}}function q(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Sb(3,"mat-form-field"),a.Sb(4,"input",13),a.Zb("ngModelChange",(function(i){return a.xc(t),e.$implicit[0]=i})),a.Rb(),a.Rb(),a.Jc(5),a.ec(6,"translate"),a.Sb(7,"mat-form-field"),a.Sb(8,"input",13),a.Zb("ngModelChange",(function(i){return a.xc(t),e.$implicit[1]=i})),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",a.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),a.Ab(3),a.kc("ngModel",t[0]),a.Ab(1),a.Lc(" ",a.fc(6,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),a.Ab(3),a.kc("ngModel",t[1])}}function J(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"div",26),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",27),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"div",28),a.Sb(8,"button",29),a.Zb("click",(function(){return a.xc(t),a.dc(2).sortCsOptionsAZ()})),a.Sb(9,"i",30),a.Jc(10,"arrow_downward"),a.Rb(),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Sb(13,"button",31),a.Zb("click",(function(){return a.xc(t),a.dc(2).sortCsOptionsZA()})),a.Sb(14,"i",30),a.Jc(15,"arrow_upward"),a.Rb(),a.Jc(16),a.ec(17,"translate"),a.Rb(),a.Rb(),a.Hc(18,q,9,8,"div",32),a.Sb(19,"button",33),a.Zb("click",(function(){return a.xc(t),a.dc(2).addCsOption()})),a.Jc(20),a.ec(21,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc(2);a.Ab(2),a.Lc("",a.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),a.Ab(3),a.Lc(" ",a.fc(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),a.Ab(6),a.Lc(" ",a.fc(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),a.Ab(5),a.Lc(" ",a.fc(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),a.Ab(2),a.kc("ngForOf",t.optionsCs),a.Ab(2),a.Lc(" ",a.fc(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const W=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},Z=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},Y=function(){return["HEADING","HTML_COMMENT"]},$=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"]},Q=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function tt(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",8),a.Sb(1,"mat-tab-group",9),a.Sb(2,"mat-tab",10),a.ec(3,"translate"),a.Sb(4,"app-edit-application-form-item-line",11),a.ec(5,"translate"),a.ec(6,"translate"),a.Sb(7,"mat-form-field",12),a.Sb(8,"input",13),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().applicationFormItem.shortname=e})),a.Rb(),a.Rb(),a.Rb(),a.Sb(9,"app-edit-application-form-item-line",11),a.ec(10,"translate"),a.ec(11,"translate"),a.Jc(12),a.ec(13,"applicationFormItemType"),a.Rb(),a.Sb(14,"app-edit-application-form-item-line",11),a.ec(15,"translate"),a.ec(16,"translate"),a.Sb(17,"section"),a.Sb(18,"mat-checkbox",14),a.Zb("change",(function(){return a.xc(t),a.dc().onChangingType("INITIAL")})),a.Jc(19),a.ec(20,"translate"),a.Rb(),a.Sb(21,"mat-checkbox",15),a.Zb("change",(function(){return a.xc(t),a.dc().onChangingType("EXTENSION")})),a.Jc(22),a.ec(23,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(24,D,26,33,"div",16),a.Hc(25,M,6,7,"div",16),a.Hc(26,N,12,15,"div",16),a.Sb(27,"app-edit-application-form-item-line",11),a.ec(28,"translate"),a.ec(29,"translate"),a.Sb(30,"mat-form-field",12),a.Sb(31,"mat-select",17),a.Zb("valueChange",(function(e){return a.xc(t),a.dc().applicationFormItem.hidden=e})),a.Hc(32,L,3,4,"mat-option",18),a.Rb(),a.Rb(),a.Rb(),a.Sb(33,"app-edit-application-form-item-line",11),a.ec(34,"translate"),a.ec(35,"translate"),a.Sb(36,"div",12),a.Hc(37,F,1,2,"perun-web-apps-app-form-item-search-select",19),a.Rb(),a.Rb(),a.Rb(),a.Sb(38,"mat-tab",10),a.ec(39,"translate"),a.Hc(40,z,6,8,"div",16),a.Hc(41,H,16,21,"div",16),a.Hc(42,B,6,7,"div",16),a.Hc(43,G,22,16,"div",16),a.Rb(),a.Sb(44,"mat-tab",10),a.ec(45,"translate"),a.Hc(46,U,6,8,"div",16),a.Hc(47,K,16,21,"div",16),a.Hc(48,V,6,7,"div",16),a.Hc(49,J,22,16,"div",16),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.lc("label",a.fc(3,33,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),a.Ab(2),a.kc("label",a.fc(5,35,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",a.fc(6,37,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.shortname),a.Ab(1),a.kc("label",a.fc(10,39,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",a.fc(11,41,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(13,43,t.applicationFormItem.type)," "),a.Ab(2),a.kc("label",a.fc(15,45,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",a.fc(16,47,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),a.Ab(4),a.kc("ngModel",t.applicationFormItem.applicationTypes.includes("INITIAL")),a.Ab(1),a.Lc(" ",a.fc(20,49,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),a.Ab(2),a.kc("ngModel",t.applicationFormItem.applicationTypes.includes("EXTENSION")),a.Ab(1),a.Lc(" ",a.fc(23,51,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),a.Ab(2),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(65,W))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(66,Z))),a.Ab(1),a.kc("ngIf",t.typesWithDisabled.indexOf(t.applicationFormItem.type)>-1),a.Ab(1),a.kc("label",a.fc(28,53,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",a.fc(29,55,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),a.Ab(4),a.kc("value",t.applicationFormItem.hidden),a.Ab(1),a.kc("ngForOf",t.hiddenValues),a.Ab(1),a.kc("label",a.fc(34,57,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",a.fc(35,59,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),a.Ab(4),a.kc("ngIf",null!==t.hiddenDependencyItem),a.Ab(1),a.lc("label",a.fc(39,61,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_EN")),a.Ab(2),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(67,Y))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(68,$))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(69,X))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(70,Q))),a.Ab(1),a.lc("label",a.fc(45,63,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_CS")),a.Ab(2),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(71,Y))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(72,$))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(73,X))),a.Ab(1),a.kc("ngIf",t.isApplicationFormItemOfType(a.oc(74,Q)))}}class et{constructor(t,e){this.value=e,this.displayName=t}}let it=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.attributesManager=i,this.translateService=n,this.federationAttributes=[],this.federationAttribute="",this.sourceAttributes=[],this.destinationAttributes=[],this.optionsEn=[],this.optionsCs=[],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=["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"]}ngOnInit(){this.hiddenDependencyItem=this.data.allItems.find(t=>t.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=r.b),this.disabledDependencyItem=this.data.allItems.find(t=>t.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=r.b),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=Object(o.d)(),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.b].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.b?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===r.b?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]}addEnOption(){this.optionsEn.push(["",""])}addCsOption(){this.optionsCs.push(["",""])}updateOptions(){let t="";for(const i of this.optionsEn)""!==i[0]&&""!==i[1]&&(t=""===t?i[0]+"#"+i[1]:t+"|"+i[0]+"#"+i[1]);this.applicationFormItem.i18n.en.options=t;let e="";for(const i of this.optionsCs)""!==i[0]&&""!==i[1]&&(e=""===e?i[0]+"#"+i[1]:e+"|"+i[0]+"#"+i[1]);this.applicationFormItem.i18n.cs.options=e}getOptions(){if(this.applicationFormItem.i18n.en.options){const t=this.applicationFormItem.i18n.en.options.split("|");for(const e of t){const t=e.split("#");this.optionsEn.push([t[0],t[1]])}}if(this.applicationFormItem.i18n.cs.options){const t=this.applicationFormItem.i18n.cs.options.split("|");for(const e of t){const t=e.split("#");this.optionsCs.push([t[0],t[1]])}}}sortEnOptionsAZ(){this.optionsEn=this.optionsEn.sort((t,e)=>t[1]>e[1]?1:t[1]t[1]>e[1]?-1:t[1]t[1]>e[1]?-1:t[1]t[1]>e[1]?1:t[1]-1}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.c),a.Mb(c.e))},t.\u0275cmp=a.Gb({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,"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"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"div",0),a.Sb(2,"h1",1),a.Jc(3),a.ec(4,"translate"),a.Rb(),a.Hc(5,C,1,0,"mat-spinner",2),a.Hc(6,tt,50,75,"div",3),a.Sb(7,"div",4),a.Sb(8,"button",5),a.Zb("click",(function(){return e.cancel()})),a.Jc(9),a.ec(10,"translate"),a.Rb(),a.Sb(11,"button",6),a.Zb("click",(function(){return e.submit()})),a.Jc(12),a.ec(13,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Db("",e.theme," h-100"),a.Ab(3),a.Mc("",a.fc(4,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",e.applicationFormItem.shortname,""),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(10,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(13,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,d.c,d.a,p.a,f.c,g.b,b.c,b.r,b.u,m.a,A.a,l.s,y.n,w.a,v.c],pipes:[c.d,_.a,S.a,E.a],styles:[""]}),t})()},Ds80:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("EM62"),s=i("2kYt"),o=i("bFHC"),r=i("Y2X+"),a=i("s2Ay");function c(t,e){1&t&&(n.Sb(0,"mat-icon",1),n.ec(1,"translate"),n.Jc(2," visibility\n"),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let l=(()=>{class t{constructor(){this.recentIds=[]}ngOnChanges(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},features:[n.yb],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.Hc(0,c,3,3,"mat-icon",0),2&t&&n.kc("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[s.t,o.a,r.a],pipes:[a.d],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t})()},E5oP:function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r}));var n=i("EM62"),s=i("2kYt");const o=new n.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(n.V)(s.e)}});let r=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new n.o,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.Wb(o,8))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(o,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new n.o}get dir(){return this._dir}set dir(t){const e=this._dir,i=t?t.toLowerCase():t;this._rawDir=t,this._dir="ltr"===i||"rtl"===i?i:"ltr",e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.Bb("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[n.zb([{provide:r,useExisting:t}])]}),t})(),c=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t})()},EFHi:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,...e){return Object(n.D)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"technicalOwners",type:t,pure:!0}),t})()},EM62:function(t,e,i){"use strict";i.d(e,"a",(function(){return To})),i.d(e,"b",(function(){return Wc})),i.d(e,"c",(function(){return Uc})),i.d(e,"d",(function(){return jc})),i.d(e,"e",(function(){return Gc})),i.d(e,"f",(function(){return Bl})),i.d(e,"g",(function(){return kl})),i.d(e,"h",(function(){return co})),i.d(e,"i",(function(){return ol})),i.d(e,"j",(function(){return ca})),i.d(e,"k",(function(){return $c})),i.d(e,"l",(function(){return la})),i.d(e,"m",(function(){return Ll})),i.d(e,"n",(function(){return Oi})),i.d(e,"o",(function(){return mc})),i.d(e,"p",(function(){return q})),i.d(e,"q",(function(){return u})),i.d(e,"r",(function(){return V})),i.d(e,"s",(function(){return Ro})),i.d(e,"t",(function(){return ka})),i.d(e,"u",(function(){return Ia})),i.d(e,"v",(function(){return Yc})),i.d(e,"w",(function(){return at})),i.d(e,"x",(function(){return Ol})),i.d(e,"y",(function(){return rt})),i.d(e,"z",(function(){return Sl})),i.d(e,"A",(function(){return cl})),i.d(e,"B",(function(){return h})),i.d(e,"C",(function(){return Jc})),i.d(e,"D",(function(){return qc})),i.d(e,"E",(function(){return yc})),i.d(e,"F",(function(){return pa})),i.d(e,"G",(function(){return ha})),i.d(e,"H",(function(){return da})),i.d(e,"I",(function(){return ga})),i.d(e,"J",(function(){return yn})),i.d(e,"K",(function(){return p})),i.d(e,"L",(function(){return Pl})),i.d(e,"M",(function(){return Pa})),i.d(e,"N",(function(){return bl})),i.d(e,"O",(function(){return uo})),i.d(e,"P",(function(){return ba})),i.d(e,"Q",(function(){return Na})),i.d(e,"R",(function(){return bt})),i.d(e,"S",(function(){return El})),i.d(e,"T",(function(){return Wi})),i.d(e,"U",(function(){return O})),i.d(e,"V",(function(){return it})),i.d(e,"W",(function(){return Ji})),i.d(e,"X",(function(){return zl})),i.d(e,"Y",(function(){return yl})),i.d(e,"Z",(function(){return Zc})),i.d(e,"ab",(function(){return ho})),i.d(e,"bb",(function(){return $a})),i.d(e,"cb",(function(){return mn})),i.d(e,"db",(function(){return Qi})),i.d(e,"eb",(function(){return zi})),i.d(e,"fb",(function(){return Bi})),i.d(e,"gb",(function(){return Ki})),i.d(e,"hb",(function(){return Gi})),i.d(e,"ib",(function(){return ji})),i.d(e,"jb",(function(){return Ui})),i.d(e,"kb",(function(){return Ja})),i.d(e,"lb",(function(){return Fl})),i.d(e,"mb",(function(){return Wa})),i.d(e,"nb",(function(){return Za})),i.d(e,"ob",(function(){return Hi})),i.d(e,"pb",(function(){return F})),i.d(e,"qb",(function(){return zo})),i.d(e,"rb",(function(){return cr})),i.d(e,"sb",(function(){return ar})),i.d(e,"tb",(function(){return qa})),i.d(e,"ub",(function(){return Jt})),i.d(e,"vb",(function(){return T})),i.d(e,"wb",(function(){return Fi})),i.d(e,"xb",(function(){return Oo})),i.d(e,"yb",(function(){return jt})),i.d(e,"zb",(function(){return oa})),i.d(e,"Ab",(function(){return Bn})),i.d(e,"Bb",(function(){return Vo})),i.d(e,"Cb",(function(){return Or})),i.d(e,"Db",(function(){return Zr})),i.d(e,"Eb",(function(){return Ir})),i.d(e,"Fb",(function(){return Mc})),i.d(e,"Gb",(function(){return wt})),i.d(e,"Hb",(function(){return kt})),i.d(e,"Ib",(function(){return m})),i.d(e,"Jb",(function(){return A})),i.d(e,"Kb",(function(){return Ct})),i.d(e,"Lb",(function(){return It})),i.d(e,"Mb",(function(){return Yo})),i.d(e,"Nb",(function(){return ir})),i.d(e,"Ob",(function(){return or})),i.d(e,"Pb",(function(){return sr})),i.d(e,"Qb",(function(){return nr})),i.d(e,"Rb",(function(){return er})),i.d(e,"Sb",(function(){return tr})),i.d(e,"Tb",(function(){return rr})),i.d(e,"Ub",(function(){return Ri})),i.d(e,"Vb",(function(){return Yr})),i.d(e,"Wb",(function(){return et})),i.d(e,"Xb",(function(){return $o})),i.d(e,"Yb",(function(){return Bc})),i.d(e,"Zb",(function(){return lr})),i.d(e,"ac",(function(){return Nc})),i.d(e,"bc",(function(){return Be})),i.d(e,"cc",(function(){return He})),i.d(e,"dc",(function(){return fr})),i.d(e,"ec",(function(){return hc})),i.d(e,"fc",(function(){return dc})),i.d(e,"gc",(function(){return pc})),i.d(e,"hc",(function(){return fc})),i.d(e,"ic",(function(){return mr})),i.d(e,"jc",(function(){return br})),i.d(e,"kc",(function(){return Xo})),i.d(e,"lc",(function(){return Ar})),i.d(e,"mc",(function(){return yr})),i.d(e,"nc",(function(){return wr})),i.d(e,"oc",(function(){return nc})),i.d(e,"pc",(function(){return sc})),i.d(e,"qc",(function(){return oc})),i.d(e,"rc",(function(){return rc})),i.d(e,"sc",(function(){return kc})),i.d(e,"tc",(function(){return Zo})),i.d(e,"uc",(function(){return ai})),i.d(e,"vc",(function(){return ri})),i.d(e,"wc",(function(){return oi})),i.d(e,"xc",(function(){return pe})),i.d(e,"yc",(function(){return wn})),i.d(e,"zc",(function(){return vn})),i.d(e,"Ac",(function(){return vt})),i.d(e,"Bc",(function(){return Rt})),i.d(e,"Cc",(function(){return Pc})),i.d(e,"Dc",(function(){return Ic})),i.d(e,"Ec",(function(){return kr})),i.d(e,"Fc",(function(){return ur})),i.d(e,"Gc",(function(){return $r})),i.d(e,"Hc",(function(){return Wo})),i.d(e,"Ic",(function(){return Hc})),i.d(e,"Jc",(function(){return Gr})),i.d(e,"Kc",(function(){return Ur})),i.d(e,"Lc",(function(){return Kr})),i.d(e,"Mc",(function(){return Vr})),i.d(e,"Nc",(function(){return qr})),i.d(e,"Oc",(function(){return Jr})),i.d(e,"Pc",(function(){return Wr})),i.d(e,"Qc",(function(){return Oc}));var n=i("ZTXN"),s=i("bwdy"),o=i("IdLP"),r=i("g6G6"),a=i("7ntQ");function c(t){return{toString:t}.toString()}function l(t,e,i){return c(()=>{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})}const u=l("Inject",t=>({token:t})),h=l("Optional"),d=l("Self"),p=l("SkipSelf");var f=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 g(t){for(let e in t)if(t[e]===g)return e;throw Error("Could not find renamed property on target object.")}function b(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function m(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function A(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return w(t,t[_])||w(t,t[C])}function w(t,e){return e&&e.token===t?e:null}function v(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(R))?t[S]:null}const _=g({\u0275prov:g}),S=g({\u0275inj:g}),E=g({\u0275provFallback:g}),C=g({ngInjectableDef:g}),R=g({ngInjectorDef:g});function T(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(T).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 k(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const I=g({__forward_ref__:g});function O(t){return t.__forward_ref__=O,t.toString=function(){return T(this())},t}function D(t){return M(t)?t():t}function M(t){return"function"==typeof t&&t.hasOwnProperty(I)&&t.__forward_ref__===O}const P="undefined"!=typeof globalThis&&globalThis,x="undefined"!=typeof window&&window,N="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,L="undefined"!=typeof global&&global,F=P||L||x||N,z=g({\u0275cmp:g}),H=g({\u0275dir:g}),B=g({\u0275pipe:g}),j=g({\u0275mod:g}),G=g({\u0275loc:g}),U=g({\u0275fac:g}),K=g({__NG_ELEMENT_ID__:g});class V{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=m({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const q=new V("INJECTOR",-1),J={},W=/\n/gm,Z=g({provide:String,useValue:g});let Y,$=void 0;function X(t){const e=$;return $=t,e}function Q(t){const e=Y;return Y=t,e}function tt(t,e=f.Default){if(void 0===$)throw new Error("inject() must be called from an injection context");return null===$?nt(t,void 0,e):$.get(t,e&f.Optional?null:void 0,e)}function et(t,e=f.Default){return(Y||tt)(D(t),e)}const it=et;function nt(t,e,i){const n=y(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&f.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${T(t)}]`)}function st(t){const e=[];for(let i=0;iArray.isArray(t)?ct(t,e):e(t))}function lt(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function ut(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ht(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 pt(t,e){const i=ft(t,e);if(i>=0)return t[1|i]}function ft(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)}var gt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const mt={},At=[];let yt=0;function wt(t){return c(()=>{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===gt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||At,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||bt.Emulated,id:"c",styles:t.styles||At,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,o=t.pipes;return i.id+=yt++,i.inputs=Tt(t.inputs,e),i.outputs=Tt(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(_t):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(St):null,i})}function vt(t,e,i){const n=t.\u0275cmp;n.directiveDefs=()=>e.map(_t),n.pipeDefs=()=>i.map(St)}function _t(t){return Ot(t)||function(t){return t[H]||null}(t)}function St(t){return function(t){return t[B]||null}(t)}const Et={};function Ct(t){const e={type:t.type,bootstrap:t.bootstrap||At,declarations:t.declarations||At,imports:t.imports||At,exports:t.exports||At,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&c(()=>{Et[t.id]=t.type}),e}function Rt(t,e){return c(()=>{const i=Mt(t,!0);i.declarations=e.declarations||At,i.imports=e.imports||At,i.exports=e.exports||At})}function Tt(t,e){if(null==t)return mt;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 kt=wt;function It(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ot(t){return t[z]||null}function Dt(t,e){return t.hasOwnProperty(U)?t[U]:null}function Mt(t,e){const i=t[j]||null;if(!i&&!0===e)throw new Error(`Type ${T(t)} does not have '\u0275mod' property.`);return i}function Pt(t){return Array.isArray(t)&&"object"==typeof t[1]}function xt(t){return Array.isArray(t)&&!0===t[1]}function Nt(t){return 0!=(8&t.flags)}function Lt(t){return 2==(2&t.flags)}function Ft(t){return 1==(1&t.flags)}function zt(t){return null!==t.template}function Ht(t){return 0!=(512&t[2])}class Bt{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function jt(){return Gt}function Gt(t){return t.type.prototype.ngOnChanges&&(t.setInput=Kt),Ut}function Ut(){const t=Vt(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===mt)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Kt(t,e,i,n){const s=Vt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:mt,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[i],c=r[a];o[a]=new Bt(c&&c.currentValue,e,r===mt),t[n]=e}function Vt(t){return t.__ngSimpleChanges__||null}jt.ngInherit=!0;let qt=void 0;function Jt(t){qt=t}function Wt(){return void 0!==qt?qt:"undefined"!=typeof document?document:void 0}function Zt(t){return!!t.listen}const Yt={createRenderer:(t,e)=>Wt()};function $t(t){for(;Array.isArray(t);)t=t[0];return t}function Xt(t,e){return $t(e[t+20])}function Qt(t,e){return $t(e[t.index])}function te(t,e){return t.data[e+20]}function ee(t,e){return t[e+20]}function ie(t,e){const i=e[t];return Pt(i)?i:i[0]}function ne(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function se(t){return 4==(4&t[2])}function oe(t){return 128==(128&t[2])}function re(t,e){return null===t||null==e?null:t[e]}function ae(t){t[18]=0}function ce(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 le={lFrame:Me(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ue(){return le.bindingsEnabled}function he(){return le.lFrame.lView}function de(){return le.lFrame.tView}function pe(t){le.lFrame.contextLView=t}function fe(){return le.lFrame.currentTNode}function ge(t,e){le.lFrame.currentTNode=t,le.lFrame.isParent=e}function be(){return le.lFrame.isParent}function me(){le.lFrame.isParent=!1}function Ae(){return le.checkNoChangesMode}function ye(t){le.checkNoChangesMode=t}function we(){const t=le.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ve(){return le.lFrame.bindingIndex}function _e(){return le.lFrame.bindingIndex++}function Se(t){const e=le.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Ee(t,e){const i=le.lFrame;i.bindingIndex=i.bindingRootIndex=t,Ce(e)}function Ce(t){le.lFrame.currentDirectiveIndex=t}function Re(t){const e=le.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Te(){return le.lFrame.currentQueryIndex}function ke(t){le.lFrame.currentQueryIndex=t}function Ie(t,e){const i=De();le.lFrame=i,i.currentTNode=e,i.lView=t}function Oe(t){const e=De(),i=t[1];le.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex}function De(){const t=le.lFrame,e=null===t?null:t.child;return null===e?Me(t):e}function Me(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Pe(){const t=le.lFrame;return le.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const xe=Pe;function Ne(){const t=Pe();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Le(){return le.lFrame.selectedIndex}function Fe(t){le.lFrame.selectedIndex=t}function ze(){const t=le.lFrame;return te(t.tView,t.selectedIndex)}function He(){le.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Be(){le.lFrame.currentNamespace=null}function je(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[r]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e&&(t[2]+=2048,o.call(r)):o.call(r)}class Je{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function We(t,e,i){const n=Zt(t);let s=0;for(;se){r=o-1;break}}}for(;o>16,n=e;for(;i>0;)n=n[15],i--;return n}function ii(t){return"string"==typeof t?t:null==t?"":""+t}function ni(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ii(t)}const si=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(F))();function oi(t){return{name:"window",target:t.ownerDocument.defaultView}}function ri(t){return{name:"document",target:t.ownerDocument}}function ai(t){return{name:"body",target:t.ownerDocument.body}}function ci(t){return t instanceof Function?t():t}let li=!0;function ui(t){const e=li;return li=t,e}let hi=0;function di(t,e){const i=fi(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,pi(n.data,t),pi(e,null),pi(n.blueprint,null));const s=gi(t,e),o=t.injectorIndex;if(Qe(s)){const t=ti(s),i=ei(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 pi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function fi(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function gi(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 bi(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(K)&&(n=i[K]),null==n&&(n=i[K]=hi++);const s=255&n,o=1<0?255&e:e}(i);if("function"==typeof s){Ie(e,t);try{const t=s();if(null!=t||n&f.Optional)return t;throw new Error(`No provider for ${ni(i)}!`)}finally{xe()}}else if("number"==typeof s){if(-1===s)return new Ei(t,e);let o=null,r=fi(t,e),a=-1,c=n&f.Host?e[16][6]:null;for((-1===r||n&f.SkipSelf)&&(a=-1===r?gi(t,e):e[r+8],-1!==a&&Si(n,!1)?(o=e[1],r=ti(a),e=ei(a,e)):r=-1);-1!==r;){const t=e[1];if(_i(s,r,t.data)){const t=yi(r,e,i,o,n,c);if(t!==Ai)return t}a=e[r+8],-1!==a&&Si(n,e[1].data[r+8]===c)&&_i(s,r,e)?(o=t,r=ti(a),e=ei(a,e)):r=-1}}}if(n&f.Optional&&void 0===s&&(s=null),0==(n&(f.Self|f.Host))){const t=e[9],o=Q(void 0);try{return t?t.get(i,s,n&f.Optional):nt(i,s,n&f.Optional)}finally{Q(o)}}if(n&f.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${ni(i)}]`)}const Ai={};function yi(t,e,i,n,s,o){const r=e[1],a=r.data[t+8],c=wi(a,r,i,null==n?Lt(a)&&li:n!=r&&2===a.type,s&f.Host&&o===a);return null!==c?vi(e,r,c,a):Ai}function wi(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&&zt(t)&&t.type===i)return c}return null}function vi(t,e,i,n){let s=t[i];const o=e.data;if(s instanceof Je){const r=s;if(r.resolving)throw new Error("Circular dep for "+ni(o[i]));const a=ui(r.canSeeViewProviders);r.resolving=!0;const c=r.injectImpl?Q(r.injectImpl):null;Ie(t,n);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=Gt(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&&Q(c),ui(a),r.resolving=!1,xe()}}return s}function _i(t,e,i){const n=64&t,s=32&t;let o;return o=128&t?n?s?i[e+7]:i[e+6]:s?i[e+5]:i[e+4]:n?s?i[e+3]:i[e+2]:s?i[e+1]:i[e],!!(o&1<{const t=Ci(D(e));return t?t():null};let i=Dt(e);if(null===i){const t=v(e);i=t&&t.factory}return i||null}function Ri(t){return c(()=>{const e=t.prototype.constructor,i=e[U]||Ci(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[U]||Ci(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Ti(t){return t.ngDebugContext}function ki(t){return t.ngOriginalError}function Ii(t,...e){t.error(...e)}class Oi{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||Ii}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?Ti(t)?Ti(t):this._findContext(ki(t)):null}_findOriginalError(t){let e=ki(t);for(;e&&ki(e);)e=ki(e);return e}}class Di{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class Mi extends Di{getTypeName(){return"HTML"}}class Pi extends Di{getTypeName(){return"Style"}}class xi extends Di{getTypeName(){return"Script"}}class Ni extends Di{getTypeName(){return"URL"}}class Li extends Di{getTypeName(){return"ResourceURL"}}function Fi(t){return t instanceof Di?t.changingThisBreaksApplicationSecurity:t}function zi(t,e){const i=Hi(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===e}function Hi(t){return t instanceof Di&&t.getTypeName()||null}function Bi(t){return new Mi(t)}function ji(t){return new Pi(t)}function Gi(t){return new xi(t)}function Ui(t){return new Ni(t)}function Ki(t){return new Li(t)}let Vi=!0,qi=!1;function Ji(){return qi=!0,Vi}function Wi(){if(qi)throw new Error("Cannot enable prod mode after platform setup.");Vi=!1}class Zi{getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Yi{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=t,e;const i=this.inertDocument.createElement("body");return i.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Qi(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 bn;function mn(t,e){let i=null;try{bn=bn||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new Zi:new Yi(t)}(t);let n=e?String(e):"";i=bn.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=bn.getInertBodyElement(n)}while(n!==o);const r=new dn,a=r.sanitizeChildren(An(i)||i);return Ji()&&r.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(i){const t=An(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function An(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 wn(t){const e=_n();return e?e.sanitize(yn.HTML,t)||"":zi(t,"HTML")?Fi(t):mn(Wt(),ii(t))}function vn(t){const e=_n();return e?e.sanitize(yn.URL,t)||"":zi(t,"URL")?Fi(t):Qi(ii(t))}function _n(){const t=he();return t&&t[12]}function Sn(t,e){t.__ngContext__=e}function En(t,e,i){let n=t.length;for(;;){const s=t.indexOf(e,i);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const i=e.length;if(s+i===n||t.charCodeAt(s+i)<=32)return s}i=s+1}}function Cn(t,e,i){let n=0;for(;no?"":s[u+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==En(e,l,0)||2&n&&l!==t){if(In(n))return!1;r=!0}}}}else{if(!r&&!In(n)&&!In(c))return!1;if(r&&In(c))continue;r=!1,n=c|1&n}}return In(n)||r}function In(t){return 0==(1&t)}function On(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||In(r)||(e+=Pn(o,s),s=""),n=r,o=o||!In(n);i++}return""!==s&&(e+=Pn(o,s)),e}const Nn={};function Ln(t){const e=t[3];return xt(e)?e[3]:e}function Fn(t){return Hn(t[13])}function zn(t){return Hn(t[4])}function Hn(t){for(;null!==t&&!xt(t);)t=t[4];return t}function Bn(t){jn(de(),he(),Le()+t,Ae())}function jn(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&Ge(e,n,i)}else{const n=t.preOrderHooks;null!==n&&Ue(e,n,0,i)}Fe(i)}function Gn(t,e){return t<<17|e<<2}function Un(t){return t>>17&32767}function Kn(t){return 2|t}function Vn(t){return(131068&t)>>2}function qn(t,e){return-131069&t|e<<2}function Jn(t){return 1|t}function Wn(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n20&&jn(t,e,0,Ae()),i(n,s)}finally{Fe(o)}}function is(t,e,i){if(Nt(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0&&function t(e){for(let n=Fn(e);null!==n;n=zn(n))for(let e=10;e0&&t(i)}const i=e[1].components;if(null!==i)for(let n=0;n0&&t(s)}}(i)}}function Es(t,e){const i=ie(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function Ds(t){return t[7]||(t[7]=[])}function Ms(t,e,i){return(null===t||zt(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 Ps(t,e){const i=t[9],n=i?i.get(Oi,null):null;n&&n.handleError(e)}function xs(t,e,i,n,s){for(let o=0;o0&&(t[i-1][4]=n[4]);const r=ut(t,10+e);Zs(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 Hs(t,e){if(!(256&e[2])){const i=e[11];Zt(i)&&i.destroyNode&&Zs(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return Bs(t[1],t);for(;e;){let i=null;if(Pt(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)Pt(e)&&Bs(e[1],e),e=e[3];null===e&&(e=t),Pt(e)&&Bs(e[1],e),i=e&&e[4]}e=i}}(e)}}function Bs(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?t[a]():t[-a].unsubscribe(),n+=2}else i[n].call(t[i[n+1]]);e[7]=null}}(t,e),1===e[1].type&&Zt(e[11])&&e[11].destroy();const i=e[17];if(null!==i&&xt(e[3])){i!==e[3]&&Fs(i,e);const n=e[19];null!==n&&n.detachView(t)}}}function js(t,e,i){let n=e.parent;for(;null!=n&&(3===n.type||4===n.type);)n=(e=n).parent;if(null===n)return i[0];if(e&&4===e.type&&4&e.flags)return Qt(e,i).parentNode;if(2&n.flags){const e=t.data,i=e[e[n.index].directiveStart].encapsulation;if(i!==bt.ShadowDom&&i!==bt.Native)return null}return Qt(n,i)}function Gs(t,e,i,n){Zt(t)?t.insertBefore(e,i,n):e.insertBefore(i,n,!0)}function Us(t,e,i){Zt(t)?t.appendChild(e,i):e.appendChild(i)}function Ks(t,e,i,n){null!==n?Gs(t,e,i,n):Us(t,e,i)}function Vs(t,e){return Zt(t)?t.parentNode(e):e.parentNode}function qs(t,e){return 3===t.type||4===t.type?Qt(t,e):null}function Js(t,e,i,n){const s=js(t,n,e);if(null!=s){const t=e[11],o=qs(n.parent||e[6],e);if(Array.isArray(i))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Hs(this._lView[1],this._lView)}onDestroy(t){as(this._lView[1],this._lView,null,t)}markForCheck(){Rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ts(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){ye(!0);try{Ts(t,e,i)}finally{ye(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Zs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class to extends Qs{constructor(t){super(t),this._view=t}detectChanges(){ks(this._view)}checkNoChanges(){!function(t){ye(!0);try{ks(t)}finally{ye(!1)}}(this._view)}get context(){return null}}let eo,io,no;function so(t,e,i){return eo||(eo=class extends t{}),new eo(Qt(e,i))}function oo(t,e,i,n){return io||(io=class extends t{constructor(t,e,i){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Yn(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),Xn(e,i,t),new Qs(i)}}),0===i.type?new io(n,i,so(e,i,n)):null}function ro(t,e,i,n){let s;no||(no=class extends t{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostView=i}get element(){return so(e,this._hostTNode,this._hostView)}get injector(){return new Ei(this._hostTNode,this._hostView)}get parentInjector(){const t=gi(this._hostTNode,this._hostView);if(Qe(t)){const e=ei(t,this._hostView),i=ti(t);return new Ei(e[1].data[i+8],e)}return new Ei(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][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(rt,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(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),xt(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new no(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),n{class t{}return t.__NG_ELEMENT_ID__=()=>lo(),t})();const lo=ao,uo=Function,ho=new V("Set Injector scope."),po={},fo={},go=[];let bo=void 0;function mo(){return void 0===bo&&(bo=new ot),bo}function Ao(t,e=null,i=null,n){return new yo(t,i,e||mo(),n)}class yo{constructor(t,e,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&ct(e,i=>this.processProvider(i,t,e)),ct([t],t=>this.processInjectorType(t,[],s)),this.records.set(q,_o(void 0,this));const o=this.records.get(ho);this.scope=null!=o?o.value:null,this.source=n||("object"==typeof t?null:T(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=J,i=f.Default){this.assertNotDestroyed();const n=X(this);try{if(!(i&f.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof V)&&y(t);e=i&&this.injectableDefInScope(i)?_o(wo(t),po):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&f.Self?mo():this.parent).get(t,e=i&f.Optional&&e===J?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(T(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=T(e);if(Array.isArray(e))s=e.map(T).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):T(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(W,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{X(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(T(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=D(t)))return!1;let n=v(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=v(s)),null==n)return!1;if(null!=n.imports&&!r){let t;i.push(o);try{ct(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||go))}}this.injectorDefTypes.add(o),this.records.set(o,_o(n.factory,po));const a=n.providers;if(null!=a&&!r){const e=t;ct(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=Eo(t=D(t))?t:D(t&&t.provide);const s=function(t,e,i){return So(t)?_o(void 0,t.useValue):_o(vo(t),po)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=_o(void 0,po,!0),e.factory=()=>st(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===po&&(e.value=fo,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){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function wo(t){const e=y(t),i=null!==e?e.factory:Dt(t);if(null!==i)return i;const n=v(t);if(null!==n)return n.factory;if(t instanceof V)throw new Error(`Token ${T(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=ht(e,"?");throw new Error(`Can't resolve all parameters for ${T(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[_]||t[C]||t[E]&&t[E]());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 vo(t,e,i){let n=void 0;if(Eo(t)){const e=D(t);return Dt(e)||wo(e)}if(So(t))n=()=>D(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...st(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>et(D(t.useExisting));else{const e=D(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Dt(e)||wo(e);n=()=>new e(...st(t.deps))}var s;return n}function _o(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function So(t){return null!==t&&"object"==typeof t&&Z in t}function Eo(t){return"function"==typeof t}const Co=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 Ro=(()=>{class t{static create(t,e){return Array.isArray(t)?Co(t,e,""):Co(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=J,t.NULL=new ot,t.\u0275prov=m({token:t,providedIn:"any",factory:()=>et(q)}),t.__NG_ELEMENT_ID__=-1,t})();const To=new V("AnalyzeForEntryComponents");function ko(t,e,i){let n=i?t.styles:null,s=i?t.classes:null,o=0;if(null!==e)for(let r=0;r=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=$e(s.hostAttrs,i=$e(i,s.hostAttrs))}}(n)}function Do(t){return t===mt?{}:t===At?[]:t}function Mo(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function Po(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function xo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let No=null;function Lo(){if(!No){const t=F.Symbol;if(t&&t.iterator)No=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea($t(t[n.index])).target:n.index;if(Zt(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,o,!1);const t=i.listen(p.name||f,s,o);u.push(o,t),l&&l.push(s,b,g,g+1)}}else o=pr(n,e,o,!0),f.addEventListener(s,o,r),u.push(o),l&&l.push(s,b,g,r)}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,le.lFrame.contextLView))[8]}(t)}function gr(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 Er={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cr(t){return t.substring(Er.key,Er.keyEnd)}function Rr(t,e){const i=Er.textEnd;return i===e?-1:(e=Er.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Er.key=e,i),Tr(t,e,i))}function Tr(t,e,i){for(;e=0;i=Rr(e,i))dt(t,Cr(e),!0)}function Mr(t,e,i,n){const s=he(),o=de(),r=Se(2);o.firstUpdatePass&&Nr(o,t,r,n),e!==Nn&&jo(s,r,e)&&zr(o,o.data[Le()+20],s,s[11],t,s[r+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=T(Fi(t)))),t}(e,i),n,r)}function Pr(t,e,i,n){const s=de(),o=Se(2);s.firstUpdatePass&&Nr(s,null,o,n);const r=he();if(i!==Nn&&jo(r,o,i)){const a=s.data[Le()+20];if(jr(a,n)&&!xr(s,o)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=k(t,i||"")),Qo(s,a,r,i,n)}else!function(t,e,i,n,s,o,r,a){s===Nn&&(s=vr);let c=0,l=0,u=0=t.expandoStartIndex}function Nr(t,e,i,n){const s=t.data;if(null===s[i+1]){const o=s[Le()+20],r=xr(t,i);jr(o,n)&&null===e&&!r&&(e=!1),e=function(t,e,i,n){const s=Re(t);let o=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Fr(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!==Vn(n))return t[Un(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=Lr(null,t,e,i[1],n),i=Fr(i,e.attrs,n),function(t,e,i,n){t[Un(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else o=function(t,e,i){let n=void 0;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else l=i;if(s)if(0!==c){const e=Un(t[a+1]);t[n+1]=Gn(e,a),0!==e&&(t[e+1]=qn(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=Gn(a,0),0!==a&&(t[a+1]=qn(t[a+1],n)),a=n;else t[n+1]=Gn(c,0),0===a?a=n:t[c+1]=qn(t[c+1],n),c=n;u&&(t[n+1]=Kn(t[n+1])),_r(t,l,n,!0),_r(t,l,n,!1),function(t,e,i,n,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&ft(o,e)>=0&&(i[n+1]=Jn(i[n+1]))}(e,l,t,n,o),r=Gn(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===Nn&&(u=l?vr:void 0);let h=l?pt(u,n):c===n?u:void 0;if(o&&!Br(h)&&(h=pt(e,n)),Br(h)&&(a=h,r))return a;const d=t[s+1];s=r?Un(d):Vn(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=pt(t,n))}return a}function Br(t){return void 0!==t}function jr(t,e){return 0!=(t.flags&(e?16:32))}function Gr(t,e=""){const i=he(),n=de(),s=t+20,o=n.firstCreatePass?$n(n,t,2,null,null):n.data[s],r=i[s]=function(t,e){return Zt(e)?e.createText(t):e.createTextNode(t)}(e,i[11]);Js(n,i,r,o),ge(o,!1)}function Ur(t){return Kr("",t,""),Ur}function Kr(t,e,i){const n=he(),s=qo(n,t,e,i);return s!==Nn&&Ns(n,Le(),s),Kr}function Vr(t,e,i,n,s){const o=he(),r=Jo(o,t,e,i,n,s);return r!==Nn&&Ns(o,Le(),r),Vr}function qr(t,e,i,n,s,o,r){const a=he(),c=function(t,e,i,n,s,o,r,a){const c=Uo(t,ve(),i,s,r);return Se(3),c?e+ii(i)+n+ii(s)+o+ii(r)+a:Nn}(a,t,e,i,n,s,o,r);return c!==Nn&&Ns(a,Le(),c),qr}function Jr(t,e,i,n,s,o,r,a,c){const l=he(),u=function(t,e,i,n,s,o,r,a,c,l){const u=Ko(t,ve(),i,s,r,c);return Se(4),u?e+ii(i)+n+ii(s)+o+ii(r)+a+ii(c)+l:Nn}(l,t,e,i,n,s,o,r,a,c);return u!==Nn&&Ns(l,Le(),u),Jr}function Wr(t,e,i,n,s,o,r,a,c,l,u){const h=he(),d=function(t,e,i,n,s,o,r,a,c,l,u,h){const d=ve();let p=Ko(t,d,i,s,r,c);return p=jo(t,d+4,u)||p,Se(5),p?e+ii(i)+n+ii(s)+o+ii(r)+a+ii(c)+l+ii(u)+h:Nn}(h,t,e,i,n,s,o,r,a,c,l,u);return d!==Nn&&Ns(h,Le(),d),Wr}function Zr(t,e,i){Pr(dt,Dr,qo(he(),t,e,i),!0)}function Yr(t,e,i){const n=he();return jo(n,_e(),e)&&ls(de(),ze(),n,t,e,n[11],i,!0),Yr}function $r(t,e,i){const n=he();if(jo(n,_e(),e)){const s=de(),o=ze();ls(s,o,n,t,e,Ms(Re(s.data),o,n),i,!0)}return $r}function Xr(t,e,i,n,s){if(t=D(t),Array.isArray(t))for(let o=0;o>20;if(Eo(t)||!t.multi){const n=new Je(c,s,Yo),p=ea(a,e,s?u:u+d,h);-1===p?(bi(di(l,r),o,a),Qr(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=ea(a,e,u+d,h),f=ea(a,e,u,u+d),g=p>=0&&i[p],b=f>=0&&i[f];if(s&&!b||!s&&!g){bi(di(l,r),o,a);const u=function(t,e,i,n,s){const o=new Je(t,i,Yo);return o.multi=[],o.index=e,o.componentProviders=0,ta(o,s,n&&!i),o}(s?na:ia,i.length,s,n,c);!s&&b&&(i[f].providerFactory=u),Qr(o,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),i.push(u),r.push(u)}else Qr(o,t,p>-1?p:f,ta(i[s?f:p],c,!s&&n));!s&&n&&b&&i[f].componentProviders++}}}function Qr(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 ta(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function ea(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=de();if(n.firstCreatePass){const s=zt(t);Xr(i,n.data,n.blueprint,s,!0),Xr(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class ra{}class aa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${T(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ca=(()=>{class t{}return t.NULL=new aa,t})(),la=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ua(t),t})();const ua=function(t){return so(t,fe(),he())};class ha{}var da=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let pa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>fa(),t})();const fa=function(){const t=he(),e=ie(fe().index,t);return function(t){const e=t[11];if(Zt(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Pt(e)?e:t)};let ga=(()=>{class t{}return t.\u0275prov=m({token:t,providedIn:"root",factory:()=>null}),t})();class ba{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 ba("10.1.5");class Aa{constructor(){}supports(t){return zo(t)}create(t){return new wa(t)}}const ya=(t,e)=>e;class wa{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||ya}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._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):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)):t=this._addAfter(new va(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 va{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 _a{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 _a,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 Ta(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 Ta{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}}let ka=(()=>{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=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,i)},deps:[[t,new p,new h]]}}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=m({token:t,providedIn:"root",factory:()=>new t([new Aa])}),t})(),Ia=(()=>{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=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,i)},deps:[[t,new p,new h]]}}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=m({token:t,providedIn:"root",factory:()=>new t([new Ca])}),t})();const Oa=[new Ca],Da=new ka([new Aa]),Ma=new Ia(Oa);let Pa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>xa(t,la),t})();const xa=function(t,e){return oo(t,e,fe(),he())};let Na=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>La(t,la),t})();const La=function(t,e){return ro(t,e,fe(),he())},Fa={};class za extends ca{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ot(t);return new ja(e,this.ngModule)}}function Ha(t){const e=[];for(let i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}const Ba=new V("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>si});class ja extends ra{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(xn).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ha(this.componentDef.inputs)}get outputs(){return Ha(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,Fa,s);return o!==Fa||n===Fa?o:e.get(i,n,s)}}}(t,n.injector):t,o=s.get(ha,Yt),r=s.get(ga,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=i?function(t,e,i){if(Zt(t))return t.selectRootElement(e,i===bt.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Zn(c,o.createRenderer(null,this.componentDef),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:si,clean:Os,playerHandler:null,flags:0},d=rs(0,null,null,1,0,null,null,null,null,null),p=Yn(null,d,h,u,null,null,o,a,r,s);let f,g;Oe(p);try{const t=function(t,e,i,n,s,o){const r=i[1];i[20]=t;const a=$n(r,0,2,null,null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(ko(a,c,!0),null!==t&&(We(s,t,c),null!==a.classes&&Xs(s,t,a.classes),null!==a.styles&&$s(s,t,a.styles)));const l=n.createRenderer(t,e),u=Yn(i,os(e),null,e.onPush?64:16,i[20],a,n,l,null,null);return r.firstCreatePass&&(bi(di(a,i),r,e.type),gs(r,a),ms(a,i.length,1)),Cs(i,u),i[20]=u}(l,this.componentDef,p,o,a);if(l)if(i)We(a,l,["ng-version",ma.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&Xs(a,l,e.join(" "))}if(g=te(d,0),void 0!==e){const t=g.projection=[];for(let i=0;it(r,e)),e.contentQueries&&e.contentQueries(1,r,i.length-1);const a=fe();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Fe(a.index-20);const t=i[1];hs(t,e),ds(t,i,e.hostVars),ps(e,r)}return r}(t,this.componentDef,p,h,[Io]),Xn(d,p,null)}finally{Ne()}return new Ga(this.componentType,f,so(la,g,p),p,g)}}class Ga extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new to(n),this.componentType=t}get injector(){return new Ei(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Ua=void 0;var Ka=["en",[["a","p"],["AM","PM"],Ua],[["AM","PM"],Ua,Ua],[["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"]],Ua,[["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"]],Ua,[["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}",Ua,"{1} 'at' {0}",Ua],[".",",",";","%","+","-","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 Va={};function qa(t,e,i){"string"!=typeof e&&(i=e,e=t[$a.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Va[e]=t,i&&(Va[e][$a.ExtraData]=i)}function Ja(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=Ya(e);if(i)return i;const n=e.split("-")[0];if(i=Ya(n),i)return i;if("en"===n)return Ka;throw new Error(`Missing locale data for the locale "${t}".`)}function Wa(t){return Ja(t)[$a.CurrencyCode]||null}function Za(t){return Ja(t)[$a.PluralCase]}function Ya(t){return t in Va||(Va[t]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[t]),Va[t]}var $a=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 Xa="en-US";function Qa(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&&(Xa=t.toLowerCase().replace(/_/g,"-"))}const tc=new Map;class ec extends rt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new za(this);const i=Mt(t),n=t[G]||null;n&&Qa(n),this._bootstrapComponents=ci(i.bootstrap),this._r3Injector=Ao(t,e,[{provide:rt,useValue:this},{provide:ca,useValue:this.componentFactoryResolver}],T(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ro.THROW_IF_NOT_FOUND,i=f.Default){return t===Ro||t===rt||t===q?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 ic extends at{constructor(t){super(),this.moduleType=t,null!==Mt(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${T(e)} vs ${T(e.name)}`)})(t,tc.get(t),e),tc.set(t,e)}let i=e.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(e=>t(e))}(t)}create(t){return new ec(this.moduleType,t)}}function nc(t,e,i){const n=we()+t,s=he();return s[n]===Nn?Bo(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function sc(t,e,i,n){return cc(he(),we(),t,e,i,n)}function oc(t,e,i,n,s){return lc(he(),we(),t,e,i,n,s)}function rc(t,e,i,n,s,o){return uc(he(),we(),t,e,i,n,s,o)}function ac(t,e){const i=t[e];return i===Nn?void 0:i}function cc(t,e,i,n,s,o){const r=e+i;return jo(t,r,s)?Bo(t,r+1,o?n.call(o,s):n(s)):ac(t,r+1)}function lc(t,e,i,n,s,o,r){const a=e+i;return Go(t,a,s,o)?Bo(t,a+2,r?n.call(r,s,o):n(s,o)):ac(t,a+2)}function uc(t,e,i,n,s,o,r,a){const c=e+i;return Uo(t,c,s,o,r)?Bo(t,c+3,a?n.call(a,s,o,r):n(s,o,r)):ac(t,c+3)}function hc(t,e){const i=de();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 Error(`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=Dt(n.type)),r=Q(Yo);try{const e=ui(!1),n=o();return ui(e),function(t,e,i,n){const s=i+20;s>=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),e[s]=n}(i,he(),t,n),n}finally{Q(r)}}function dc(t,e,i){const n=he(),s=ee(n,t);return bc(n,gc(n,t)?cc(n,we(),e,s.transform,i,s):s.transform(i))}function pc(t,e,i,n){const s=he(),o=ee(s,t);return bc(s,gc(s,t)?lc(s,we(),e,o.transform,i,n,o):o.transform(i,n))}function fc(t,e,i,n,s){const o=he(),r=ee(o,t);return bc(o,gc(o,t)?uc(o,we(),e,r.transform,i,n,s,r):r.transform(i,n,s))}function gc(t,e){return t[1].data[e+20].pure}function bc(t,e){return Fo.isWrapped(e)&&(e=Fo.unwrap(e),t[ve()]=Nn),e}const mc=class extends n.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let n,o=t=>null,r=()=>null;t&&"object"==typeof t?(n=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(r=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(n=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),i&&(r=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const a=super.subscribe(n,o,r);return t instanceof s.a&&t.add(a),a}};function Ac(){return this._results[Lo()]()}class yc{constructor(){this.dirty=!0,this._results=[],this.changes=new mc,this.length=0;const t=Lo(),e=yc.prototype;e[t]||(e[t]=Ac)}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){this._results=function t(e,i){void 0===i&&(i=e);for(let n=0;n0)s.push(a[e/2]);else{const o=r[e+1],a=i[-n];for(let e=10;e{class t{constructor(t){this.appInits=t,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()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(et(jc,8))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();const Uc=new V("AppId"),Kc={provide:Uc,useFactory:function(){return`${Vc()}${Vc()}${Vc()}`},deps:[]};function Vc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qc=new V("Platform Initializer"),Jc=new V("Platform ID"),Wc=new V("appBootstrapListener");let Zc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();const Yc=new V("LocaleId"),$c=new V("DefaultCurrencyCode");class Xc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Qc=function(t){return new ic(t)},tl=Qc,el=function(t){return Promise.resolve(Qc(t))},il=function(t){const e=Qc(t),i=ci(Mt(t).declarations).reduce((t,e)=>{const i=Ot(e);return i&&t.push(new ja(i)),t},[]);return new Xc(e,i)},nl=il,sl=function(t){return Promise.resolve(il(t))};let ol=(()=>{class t{constructor(){this.compileModuleSync=tl,this.compileModuleAsync=el,this.compileModuleAndAllComponentsSync=nl,this.compileModuleAndAllComponentsAsync=sl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();const rl=(()=>Promise.resolve(0))();function al(t){"undefined"==typeof Zone?rl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class cl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!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.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=F.requestAnimationFrame,e=F.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=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(F,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,dl(t),hl(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),dl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(i,n,s,o,r,a)=>{try{return pl(t),i.invokeTask(s,o,r,a)}finally{e&&"eventTask"===o.type&&e(),fl(t)}},onInvoke:(e,i,n,s,o,r,a)=>{try{return pl(t),e.invoke(n,s,o,r,a)}finally{fl(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,dl(t),hl(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(!cl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(cl.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,ul,ll,ll);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)}}function ll(){}const ul={};function hl(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 dl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function pl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function fl(t){t._nesting--,hl(t)}class gl{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 bl=(()=>{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:()=>{cl.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/dist/task-tracking.js" 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)(et(cl))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),ml=(()=>{class t{constructor(){this._applications=new Map,vl.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 vl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();class Al{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}function yl(t){vl=t}let wl,vl=new Al;const _l=new V("AllowMultipleToken");class Sl{constructor(t,e){this.name=t,this.token=e}}function El(t,e,i=[]){const n="Platform: "+e,s=new V(n);return(e=[])=>{let o=Cl();if(!o||o.injector.get(_l,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:ho,useValue:"platform"});!function(t){if(wl&&!wl.destroyed&&!wl.injector.get(_l,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");wl=t.get(Rl);const e=t.get(qc,null);e&&e.forEach(t=>t())}(Ro.create({providers:t,name:n}))}return function(t){const e=Cl();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 Cl(){return wl&&!wl.destroyed?wl:null}let Rl=(()=>{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 gl:("zone.js"===t?void 0:t)||new cl({enableLongStackTrace:Ji(),shouldCoalesceEventChangeDetection:e}),i}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),n=[{provide:cl,useValue:i}];return i.run(()=>{const e=Ro.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Oi,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Il(this._modules,s)),i.runOutsideAngular(()=>i.onError.subscribe({next:t=>{o.handleError(t)}})),function(t,e,i){try{const n=i();return ar(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(()=>(Qa(s.injector.get(Yc,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=Tl({},e);return function(t,e,i){const n=new ic(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(kl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${T(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)(et(Ro))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function Tl(t,e){return Array.isArray(e)?e.reduce(Tl,t):Object.assign(Object.assign({},t),e)}let kl=(()=>{class t{constructor(t,e,i,n,s,c){this._zone=t,this._console=e,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ji(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new o.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new o.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{cl.assertNotInAngularZone(),al(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{cl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=Object(r.a)(l,u.pipe(Object(a.a)()))}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 ra?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(rt),s=i.create(Ro.NULL,[],e||i.selector,n);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(bl,null);return o&&s.injector.get(ml).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Ji()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),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();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}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;Il(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Wc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Il(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(et(cl),et(Zc),et(Ro),et(Oi),et(ca),et(Gc))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function Il(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class Ol{}class Dl{}const Ml={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Pl=(()=>{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("zn8P")(e).then(t=>t[n]).then(t=>xl(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("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>xl(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(et(ol),et(Dl,8))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function xl(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}class Nl extends co{}class Ll extends Nl{}const Fl=function(t){return null},zl=El(null,"core",[{provide:Jc,useValue:"unknown"},{provide:Rl,deps:[Ro]},{provide:ml,deps:[]},{provide:Zc,deps:[]}]),Hl=[{provide:kl,useClass:kl,deps:[cl,Zc,Ro,Oi,ca,Gc]},{provide:Ba,deps:[cl],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 h,jc]]},{provide:ol,useClass:ol,deps:[]},Kc,{provide:ka,useFactory:function(){return Da},deps:[]},{provide:Ia,useFactory:function(){return Ma},deps:[]},{provide:Yc,useFactory:function(t){return Qa(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new u(Yc),new h,new p]]},{provide:$c,useValue:"USD"}];let Bl=(()=>{class t{constructor(t){}}return t.\u0275mod=Ct({type:t}),t.\u0275inj=A({factory:function(e){return new(e||t)(et(kl))},providers:Hl}),t})()},ESXS:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{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.theme=this.data.theme,this.dataSource=new r.o(this.data.services)}onSubmit(){this.loading=!0;const t=[];for(const e of this.data.services)t.push(e.id);this.resourcesManager.removeServices(this.data.resourceId,t).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.l),a.Mb(c.e),a.Mb(o.m))},t.\u0275cmp=a.Gb({type:t,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(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t})()},EWqr:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("bwdy");class s extends n.a{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=!1,n=void 0;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_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}}},Efrr:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EWqr");const s=new(i("DG/E").a)(n.a)},EkAj:function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("Ssnw"),s=i("X2Q7"),o=i("8clQ"),r=i("t47Z"),a=i("nyAh"),c=i("EM62"),l=i("s2Ay");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.a).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$"}),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:Object(o.w)(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:Object(o.w)(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$"}),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.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.a.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.Wb(l.e),c.Wb(n.h),c.Wb(n.m),c.Wb(n.b),c.Wb(s.c),c.Wb(n.l),c.Wb(n.h))},t.\u0275prov=c.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},EkHC:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("cqs0"),s=i("X2Q7"),o=i("iyZ4"),r=i("8clQ"),a=(i("HHEo"),i("mEf3")),c=i("+0js"),l=i("IDQ9"),u=i("EM62"),h=i("OZ4H"),d=i("sEIs"),p=i("0XDM"),f=i("PBFl"),g=i("2kYt"),b=i("csyo"),m=i("LKLE"),A=i("s2Ay");const y=["list"];function w(t,e){1&t&&u.Nb(0,"mat-spinner",7)}function v(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-attributes-list",8,9),u.Zb("page",(function(e){return u.xc(t),u.dc().pageChanged(e)})),u.Rb()}if(2&t){const t=u.dc();u.kc("pageSize",t.pageSize)("attributes",t.attributes)("selection",t.selection)}}let _=(()=>{class t{constructor(t,e,i,s,r){this.dialog=t,this.attributesManager=e,this.tableConfigService=i,this.userService=s,this.route=r,this.loading=!1,this.selection=new n.c(!0,[]),this.tableId=o.r,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=Object(r.j)(t),this.selection.clear(),this.loading=!1})}onAdd(){const t=Object(r.o)();t.width="1050px",t.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(l.a,t).afterClosed().subscribe(t=>{"saved"===t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=Object(r.o)();t.width="450px",t.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(c.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=Object(r.o)();t.width="450px",t.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(a.a,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)(u.Mb(h.b),u.Mb(s.c),u.Mb(o.pb),u.Mb(s.q),u.Mb(d.a))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-identity-detail"]],viewQuery:function(t,e){var i;1&t&&u.Qc(y,!0),2&t&&u.sc(i=u.ac())&&(e.list=i.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&&(u.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"perun-web-apps-refresh-button",1),u.Zb("refresh",(function(){return e.refreshTable()})),u.Rb(),u.Sb(5,"button",2),u.Zb("click",(function(){return e.onSave()})),u.Jc(6),u.ec(7,"translate"),u.Rb(),u.Sb(8,"button",3),u.Zb("click",(function(){return e.onAdd()})),u.Jc(9),u.ec(10,"translate"),u.Rb(),u.Sb(11,"button",4),u.Zb("click",(function(){return e.onRemove()})),u.Jc(12),u.ec(13,"translate"),u.Rb(),u.Hc(14,w,1,0,"mat-spinner",5),u.Hc(15,v,2,3,"perun-web-apps-attributes-list",6),u.Rb()),2&t&&(u.Ab(2),u.Mc("",u.fc(3,9,"SHARED.IDENTITY_DETAIL.TITLE")," - ",e.userExtSource?e.userExtSource.extSource.name:"",""),u.Ab(3),u.kc("disabled",0===e.selection.selected.length),u.Ab(1),u.Kc(u.fc(7,11,"SHARED.IDENTITY_DETAIL.SAVE")),u.Ab(3),u.Kc(u.fc(10,13,"SHARED.IDENTITY_DETAIL.ADD")),u.Ab(2),u.kc("disabled",0===e.selection.selected.length),u.Ab(1),u.Kc(u.fc(13,15,"SHARED.IDENTITY_DETAIL.REMOVE")),u.Ab(2),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading))},directives:[p.a,f.b,g.t,b.c,m.a],pipes:[A.d],styles:[""]}),t})()},"EtR/":function(t,e,i){"use strict";i.d(e,"a",(function(){return E}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("2kYt"),a=i("nIj0"),c=i("cqs0"),l=i("nyAh"),u=i("iyZ4"),h=i("EM62"),d=i("s2Ay"),p=i("29Wa"),f=i("Cd2c"),g=i("PBFl"),b=i("HMTk"),m=i("csyo"),A=i("nz2m"),y=i("FcRk");function w(t,e){1&t&&h.Nb(0,"mat-spinner",12)}const v=function(){return["groupStatus","organization","logins","type"]};function _(t,e){if(1&t){const t=h.Tb();h.Sb(0,"perun-web-apps-members-list",13),h.Zb("page",(function(e){return h.xc(t),h.dc().pageChanged(e)})),h.Rb()}if(2&t){const t=h.dc();h.kc("pageSize",t.pageSize)("hidden",t.loading)("members",t.members)("selection",t.selection)("hideColumns",h.oc(6,v))("disableRouting",!0)}}function S(t,e){1&t&&(h.Sb(0,"app-alert",14),h.Jc(1),h.ec(2,"translate"),h.Rb()),2&t&&(h.Ab(1),h.Lc(" ",h.fc(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let E=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.store=i,this.membersService=n,this.notificator=s,this.translate=o,this.tableConfigService=r,this.loading=!1,this.tableId=u.h,this.expiration="never",this.searchCtrl=new a.g("",[a.F.required]),this.firstSearchDone=!1,this.members=[],this.selection=new c.c(!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":Object(r.I)(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,[l.a.MEMBER_DEF_EXPIRATION,l.a.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)(h.Mb(n.i),h.Mb(n.a),h.Mb(s.m),h.Mb(o.i),h.Mb(s.l),h.Mb(d.e),h.Mb(u.pb))},t.\u0275cmp=h.Gb({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","hideColumns","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","hideColumns","disableRouting","page"],["alert_type","warn"]],template:function(t,e){1&t&&(h.Sb(0,"div"),h.Sb(1,"h1",0),h.Jc(2),h.ec(3,"translate"),h.Rb(),h.Sb(4,"div",1),h.Sb(5,"mat-form-field",2),h.Sb(6,"label"),h.Sb(7,"input",3),h.Zb("keyup.enter",(function(){return e.onSearchByString()})),h.ec(8,"translate"),h.Rb(),h.Rb(),h.Sb(9,"mat-error"),h.Jc(10),h.ec(11,"translate"),h.Rb(),h.Rb(),h.Sb(12,"button",4),h.Zb("click",(function(){return e.onSearchByString()})),h.Jc(13),h.ec(14,"translate"),h.Rb(),h.Hc(15,w,1,0,"mat-spinner",5),h.Hc(16,_,1,7,"perun-web-apps-members-list",6),h.Hc(17,S,3,3,"app-alert",7),h.Sb(18,"div"),h.Nb(19,"br"),h.Sb(20,"h6"),h.Jc(21),h.ec(22,"translate"),h.Rb(),h.Sb(23,"perun-web-apps-expiration-select",8),h.Zb("datePicker",(function(t){return e.setExpiration(t)})),h.Rb(),h.Rb(),h.Rb(),h.Sb(24,"div",9),h.Sb(25,"button",10),h.Zb("click",(function(){return e.onCancel()})),h.Jc(26),h.ec(27,"translate"),h.Rb(),h.Sb(28,"button",11),h.Zb("click",(function(){return e.onSubmit()})),h.Jc(29),h.ec(30,"translate"),h.Rb(),h.Rb(),h.Rb()),2&t&&(h.Cb(e.theme),h.Ab(2),h.Kc(h.fc(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),h.Ab(5),h.lc("placeholder",h.fc(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),h.kc("formControl",e.searchCtrl),h.Ab(3),h.Lc(" ",h.fc(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),h.Ab(2),h.kc("disabled",e.loading),h.Ab(1),h.Lc(" ",h.fc(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),h.Ab(2),h.kc("ngIf",e.loading),h.Ab(1),h.kc("ngIf",e.firstSearchDone),h.Ab(1),h.kc("ngIf",!e.firstSearchDone),h.Ab(4),h.Kc(h.fc(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),h.Ab(5),h.Lc(" ",h.fc(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),h.Ab(2),h.kc("disabled",e.loading||0===e.selection.selected.length),h.Ab(1),h.Lc(" ",h.fc(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[n.j,n.g,p.c,f.b,a.c,a.r,a.h,p.b,g.b,r.t,b.a,n.c,m.c,A.a,y.a],pipes:[d.d],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),t})()},EtYo:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("Ssnw"),s=i("EM62"),o=i("2kYt"),r=i("PBFl"),a=i("Y2X+"),c=i("bFHC"),l=i("s2Ay");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","backButtonColor")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(o.n),s.Mb(n.m))},t.\u0275cmp=s.Gb({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.Sb(0,"button",0),s.Zb("click",(function(){return e.goBack()})),s.ec(1,"translate"),s.Sb(2,"mat-icon",1),s.Jc(3,"arrow_right_alt"),s.Rb(),s.Rb()),2&t&&(s.lc("matTooltip",s.fc(1,2,"Back")),s.kc("ngStyle",s.pc(4,u,e.backButtonColor)))},directives:[r.b,o.w,a.a,c.a],pipes:[l.d],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),t})()},F1o0:function(t,e,i){"use strict";i.d(e,"a",(function(){return v})),i.d(e,"b",(function(){return m})),i.d(e,"c",(function(){return S}));var n=i("EM62"),s=i("mFH5"),o=i("5XID"),r=i("nIj0"),a=i("5lCh"),c=i("sg/T"),l=i("cqs0");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new n.r("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let f=0;const g={provide:r.p,useExisting:Object(n.U)(()=>m),multi:!0};class b{constructor(t,e){this.source=t,this.value=e}}let m=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+f++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.o}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=Object(o.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(o.c)(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 b(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.Mb(n.h))},t.\u0275dir=n.Hb({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,i){var s;1&t&&n.Fb(i,v,!0),2&t&&n.sc(s=n.ac())&&(e._radios=s)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.zb([g])]}),t})();class A{constructor(t){this._elementRef=t}}const y=Object(s.z)(Object(s.D)(A));let w=(()=>{class t extends y{constructor(t,e,i,s,o,r,a){super(e),this._changeDetector=i,this._focusMonitor=s,this._radioDispatcher=o,this._animationMode=r,this._providerOverride=a,this._uniqueId="mat-radio-"+ ++f,this.id=this._uniqueId,this.change=new n.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,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=Object(o.c)(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(Object(o.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(o.c)(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){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,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 b(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.Mb(m,8),n.Mb(n.l),n.Mb(n.h),n.Mb(c.h),n.Mb(l.d),n.Mb(a.a,8),n.Mb(p,8))},t.\u0275dir=n.Hb({type:t,viewQuery:function(t,e){var i;1&t&&n.Qc(u,!0),2&t&&n.sc(i=n.ac())&&(e._inputElement=i.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.xb]}),t})(),v=(()=>{class t extends w{}return t.\u0275fac=function(e){return _(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&n.Zb("focus",(function(){return e._inputElement.nativeElement.focus()})),2&t&&(n.Bb("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.Eb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.xb],ngContentSelectors:d,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","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.jc(),n.Sb(0,"label",0,1),n.Sb(2,"div",2),n.Nb(3,"div",3),n.Nb(4,"div",4),n.Sb(5,"input",5,6),n.Zb("change",(function(t){return e._onInputChange(t)}))("click",(function(t){return e._onInputClick(t)})),n.Rb(),n.Sb(7,"div",7),n.Nb(8,"div",8),n.Rb(),n.Rb(),n.Sb(9,"div",9),n.Sb(10,"span",10),n.Jc(11,"\xa0"),n.Rb(),n.ic(12),n.Rb(),n.Rb()),2&t){const t=n.tc(1);n.Bb("for",e.inputId),n.Ab(5),n.kc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),n.Bb("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),n.Ab(2),n.kc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.oc(18,h)),n.Ab(2),n.Eb("mat-radio-label-before","before"==e.labelPosition)}},directives:[s.s],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;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;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._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}.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-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})();const _=n.Ub(v);let S=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[s.t,s.i],s.i]}),t})()},FU6l:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const n=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},FcRk:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),s=i("2kYt"),o=i("bFHC");function r(t,e){1&t&&(n.Sb(0,"mat-icon",2),n.Jc(1," error "),n.Rb())}const a=["*"];let c=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.jc(),n.Sb(0,"div",0),n.Hc(1,r,2,0,"mat-icon",1),n.ic(2),n.Rb()),2&t&&(n.Eb("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),n.Ab(1),n.kc("ngIf","error"!==e.alert_type))},directives:[s.t,o.a],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})()},FlRo:function(t,e,i){"use strict";i.d(e,"a",(function(){return wt})),i.d(e,"b",(function(){return ut})),i.d(e,"c",(function(){return bt})),i.d(e,"d",(function(){return yt})),i.d(e,"e",(function(){return ft})),i.d(e,"f",(function(){return It})),i.d(e,"g",(function(){return St})),i.d(e,"h",(function(){return At})),i.d(e,"i",(function(){return dt})),i.d(e,"j",(function(){return Tt})),i.d(e,"k",(function(){return vt})),i.d(e,"l",(function(){return Dt})),i.d(e,"m",(function(){return Ct})),i.d(e,"n",(function(){return ct})),i.d(e,"o",(function(){return Lt})),i.d(e,"p",(function(){return Nt})),i.d(e,"q",(function(){return Pt}));var n=i("5XID"),s=i("cqs0"),o=i("EM62"),r=i("E5oP"),a=i("cZZj"),c=i("2kYt"),l=i("ZTXN"),u=i("C05f"),h=i("9bRT"),d=i("ROBh"),p=i("kuMc");const f=[[["caption"]]],g=["caption"];function b(t,e){if(1&t&&(o.Sb(0,"th",3),o.Jc(1),o.Rb()),2&t){const t=o.dc();o.Ec("text-align",t.justify),o.Ab(1),o.Lc(" ",t.headerText," ")}}function m(t,e){if(1&t&&(o.Sb(0,"td",4),o.Jc(1),o.Rb()),2&t){const t=e.$implicit,i=o.dc();o.Ec("text-align",i.justify),o.Ab(1),o.Lc(" ",i.dataAccessor(t,i.name)," ")}}function A(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=Object(n.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const y=new o.r("CDK_TABLE"),w=new o.r("text-column-options");let v=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.M))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkCellDef",""]]}),t})(),_=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.M))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),S=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.M))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class E{}const C=A(E);let R=(()=>{class t extends C{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(n.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(y,8))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){var n;1&t&&(o.Fb(i,v,!0),o.Fb(i,_,!0),o.Fb(i,S,!0)),2&t&&(o.sc(n=o.ac())&&(e.cell=n.first),o.sc(n=o.ac())&&(e.headerCell=n.first),o.sc(n=o.ac())&&(e.footerCell=n.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[o.zb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),o.xb]}),t})();class T{constructor(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}}let k=(()=>{class t extends T{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(R),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.xb]}),t})(),I=(()=>{class t extends T{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(R),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[o.xb]}),t})(),O=(()=>{class t extends T{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(R),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[o.xb]}),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 x?t.headerCell.template:this instanceof F?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.M),o.Mb(o.t))},t.\u0275dir=o.Hb({type:t,features:[o.yb]}),t})();class M extends D{}const P=A(M);let x=(()=>{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)(o.Mb(o.M),o.Mb(o.t),o.Mb(y,8))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.xb,o.yb]}),t})();class N extends D{}const L=A(N);let F=(()=>{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.Mb(o.M),o.Mb(o.t),o.Mb(y,8))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.xb,o.yb]}),t})(),z=(()=>{class t extends D{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.M),o.Mb(o.t),o.Mb(y,8))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.xb]}),t})(),H=(()=>{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.Mb(o.Q))},t.\u0275dir=o.Hb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({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.Ob(0,0)},directives:[H],encapsulation:2}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.Ob(0,0)},directives:[H],encapsulation:2}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({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.Ob(0,0)},directives:[H],encapsulation:2}),t})();const U=["top","bottom","left","right"];class K{constructor(t,e,i,n=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._isBrowser=n}clearStickyPositioning(t,e){for(const i of t)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,e);for(let t=0;tt)||i.some(t=>t);if(!t.length||!n||!this._isBrowser)return;const s=t[0],o=s.children.length,r=this._getCellWidths(s),a=this._getStickyStartColumnPositions(r,e),c=this._getStickyEndColumnPositions(r,i),l="rtl"===this.direction;for(const u of t)for(let t=0;t!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(t,e){for(const i of e)t.style[i]="";t.style.zIndex=this._getCalculatedZIndex(t),U.some(e=>!!t.style[e])||(t.style.position="",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i){t.classList.add(this._stickCellCss),t.style[e]=i+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of U)t.style[n]&&(i+=e[n]);return i?""+i:""}_getCellWidths(t){const e=[],i=t.children;for(let n=0;n0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}function V(t){return Error(`Could not find column with id "${t}".`)}let q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.Q),o.Mb(o.l))},t.\u0275dir=o.Hb({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.Mb(o.Q),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),W=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.Q),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Z=(()=>{class t{constructor(t,e,i,n,s,o,r){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=r,this._onDestroy=new l.a,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._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new u.a({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){Object(o.W)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(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=Object(n.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),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._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(s.e)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,i,n)=>{if(null==t.previousIndex)this._insertRow(t.item,n);else if(null==n)e.remove(i);else{const t=e.get(i);e.move(t,n)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}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}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._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),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(),Y(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: "${t.name}".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Y(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Y(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Y(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Object(s.e)(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;if(Object(s.e)(this.dataSource)?t=this.dataSource.connect(this):Object(h.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(d.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(p.a)(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(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw V(t);return e}),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s)}_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)}if(!i.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return i}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,i,n={}){t.viewContainer.createEmbeddedView(e.template,n,i);for(let s of this._getCellTemplates(e))H.mostRecentCellOutlet&&H.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);if(!i)throw V(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup"),e.appendChild(i.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_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.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new K(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(d.a)()).pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.t),o.Mb(o.h),o.Mb(o.l),o.Xb("role"),o.Mb(r.c,8),o.Mb(c.e),o.Mb(a.a))},t.\u0275cmp=o.Gb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){var n;1&t&&(o.Fb(i,R,!0),o.Fb(i,z,!0),o.Fb(i,x,!0),o.Fb(i,F,!0)),2&t&&(o.sc(n=o.ac())&&(e._contentColumnDefs=n),o.sc(n=o.ac())&&(e._contentRowDefs=n),o.sc(n=o.ac())&&(e._contentHeaderRowDefs=n),o.sc(n=o.ac())&&(e._contentFooterRowDefs=n))},viewQuery:function(t,e){var i;1&t&&(o.Dc(q,!0),o.Dc(J,!0),o.Dc(W,!0)),2&t&&(o.sc(i=o.ac())&&(e._rowOutlet=i.first),o.sc(i=o.ac())&&(e._headerRowOutlet=i.first),o.sc(i=o.ac())&&(e._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[o.zb([{provide:y,useExisting:t}])],ngContentSelectors:g,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(o.jc(f),o.ic(0),o.Ob(1,0),o.Ob(2,1),o.Ob(3,2))},directives:[J,q,W],encapsulation:2}),t})();function Y(t,e){return t.concat(Array.from(e))}let $=(()=>{class t{constructor(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,e)=>t[e])),!this._table)throw Error("Text column could not find a parent table for registration.");this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef)}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const t=this.name;if(Object(o.W)()&&!t)throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(Z,8),o.Mb(w,8))},t.\u0275cmp=o.Gb({type:t,selectors:[["cdk-text-column"]],viewQuery:function(t,e){var i;1&t&&(o.Dc(R,!0),o.Dc(v,!0),o.Dc(_,!0)),2&t&&(o.sc(i=o.ac())&&(e.columnDef=i.first),o.sc(i=o.ac())&&(e.cell=i.first),o.sc(i=o.ac())&&(e.headerCell=i.first))},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,e){1&t&&(o.Qb(0,0),o.Hc(1,b,2,3,"th",1),o.Hc(2,m,2,3,"td",2),o.Pb())},directives:[R,_,v,k,O],encapsulation:2}),t})(),X=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)}}),t})();var Q=i("mFH5"),tt=i("bwdy"),et=i("g6G6"),it=i("HM3f"),nt=i("YtkY");const st=[[["caption"]]],ot=["caption"];function rt(t,e){if(1&t&&(o.Sb(0,"th",3),o.Jc(1),o.Rb()),2&t){const t=o.dc();o.Ec("text-align",t.justify),o.Ab(1),o.Lc(" ",t.headerText," ")}}function at(t,e){if(1&t&&(o.Sb(0,"td",4),o.Jc(1),o.Rb()),2&t){const t=e.$implicit,i=o.dc();o.Ec("text-align",i.justify),o.Ab(1),o.Lc(" ",i.dataAccessor(t,i.name)," ")}}let ct=(()=>{class t extends Z{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return t.\u0275fac=function(e){return lt(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[o.zb([{provide:Z,useExisting:t},{provide:y,useExisting:t}]),o.xb],ngContentSelectors:ot,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(o.jc(st),o.ic(0),o.Ob(1,0),o.Ob(2,1),o.Ob(3,2))},directives:[J,q,W],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,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-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,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-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,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-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,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),t})();const lt=o.Ub(ct);let ut=(()=>{class t extends v{}return t.\u0275fac=function(e){return ht(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matCellDef",""]],features:[o.zb([{provide:v,useExisting:t}]),o.xb]}),t})();const ht=o.Ub(ut);let dt=(()=>{class t extends _{}return t.\u0275fac=function(e){return pt(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matHeaderCellDef",""]],features:[o.zb([{provide:_,useExisting:t}]),o.xb]}),t})();const pt=o.Ub(dt);let ft=(()=>{class t extends S{}return t.\u0275fac=function(e){return gt(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matFooterCellDef",""]],features:[o.zb([{provide:S,useExisting:t}]),o.xb]}),t})();const gt=o.Ub(ft);let bt=(()=>{class t extends R{}return t.\u0275fac=function(e){return mt(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[o.zb([{provide:R,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),o.xb]}),t})();const mt=o.Ub(bt);let At=(()=>{class t extends k{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(R),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[o.xb]}),t})(),yt=(()=>{class t extends I{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(R),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[o.xb]}),t})(),wt=(()=>{class t extends O{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(R),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[o.xb]}),t})(),vt=(()=>{class t extends x{}return t.\u0275fac=function(e){return _t(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[o.zb([{provide:x,useExisting:t}]),o.xb]}),t})();const _t=o.Ub(vt);let St=(()=>{class t extends F{}return t.\u0275fac=function(e){return Et(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[o.zb([{provide:F,useExisting:t}]),o.xb]}),t})();const Et=o.Ub(St);let Ct=(()=>{class t extends z{}return t.\u0275fac=function(e){return Rt(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[o.zb([{provide:z,useExisting:t}]),o.xb]}),t})();const Rt=o.Ub(Ct);let Tt=(()=>{class t extends B{}return t.\u0275fac=function(e){return kt(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[o.zb([{provide:B,useExisting:t}]),o.xb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.Ob(0,0)},directives:[H],encapsulation:2}),t})();const kt=o.Ub(Tt);let It=(()=>{class t extends j{}return t.\u0275fac=function(e){return Ot(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[o.zb([{provide:j,useExisting:t}]),o.xb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.Ob(0,0)},directives:[H],encapsulation:2}),t})();const Ot=o.Ub(It);let Dt=(()=>{class t extends G{}return t.\u0275fac=function(e){return Mt(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[o.zb([{provide:G,useExisting:t}]),o.xb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.Ob(0,0)},directives:[H],encapsulation:2}),t})();const Mt=o.Ub(Dt);let Pt=(()=>{class t extends ${}return t.\u0275fac=function(e){return xt(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-text-column"]],features:[o.xb],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(t,e){1&t&&(o.Qb(0,0),o.Hc(1,rt,2,3,"th",1),o.Hc(2,at,2,3,"td",2),o.Pb())},directives:[bt,dt,ut,At,wt],encapsulation:2}),t})();const xt=o.Ub(Pt);let Nt=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},imports:[[X,Q.i],Q.i]}),t})();class Lt extends s.b{constructor(t=[]){super(),this._renderData=new u.a([]),this._filter=new u.a(""),this._internalPageChanges=new l.a,this._renderChangesSubscription=tt.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(Object(n.a)(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),r=0;return null!=s&&null!=o?s>o?r=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 u.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}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(){const t=this._sort?Object(et.a)(this._sort.sortChange,this._sort.initialized):Object(d.a)(null),e=this._paginator?Object(et.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(d.a)(null),i=this._data,n=Object(it.a)([i,this._filter]).pipe(Object(nt.a)(([t])=>this._filterData(t))),s=Object(it.a)([n,t]).pipe(Object(nt.a)(([t])=>this._orderData(t))),o=Object(it.a)([s,e]).pipe(Object(nt.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,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._renderData}disconnect(){}}},GoAz:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("IdLP"),s=i("1MAX"),o=i("bwdy"),r=i("qEfY"),a=i("czMQ"),c=i("sWLk"),l=i("/vgl"),u=i("eY+9");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.a]}(t))return function(t,e){return new n.a(i=>{const n=new o.a;return n.add(e.schedule(()=>{const s=t[r.a]();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(Object(l.a)(t))return function(t,e){return new n.a(i=>{const n=new o.a;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(Object(u.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[c.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new n.a(i=>{const n=new o.a;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[c.a](),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.a?t:new n.a(Object(s.a)(t))}},Gtvd:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("FlRo"),s=i("X2Q7"),o=i("OZ4H"),r=i("Ssnw"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("PBFl");function d(t,e){1&t&&a.Nb(0,"mat-spinner",4)}function p(t,e){1&t&&a.Nb(0,"th",13)}function f(t,e){if(1&t&&(a.Sb(0,"td",14),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",15)}function b(t,e){1&t&&a.Nb(0,"tr",16)}function m(t,e){if(1&t&&(a.Sb(0,"div",5),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",6),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",7),a.Qb(8,8),a.Hc(9,p,1,0,"th",9),a.Hc(10,f,2,1,"td",10),a.Pb(),a.Hc(11,g,1,0,"tr",11),a.Hc(12,b,1,0,"tr",12),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}function A(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",17),a.Sb(1,"button",18),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"button",19),a.Zb("click",(function(){return a.xc(t),a.dc().onSubmit()})),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),a.Ab(2),a.kc("disabled",t.loading),a.Ab(1),a.Lc(" ",a.fc(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let y=(()=>{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 n.o(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)(a.Mb(o.i),a.Mb(o.a),a.Mb(r.l),a.Mb(c.e),a.Mb(s.m))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Hc(6,A,7,7,"div",3),a.Rb()),2&t&&(a.Cb(e.data.theme),a.Ab(2),a.Kc(a.fc(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[o.j,l.t,u.c,o.g,n.n,n.c,n.i,n.b,n.k,n.m,n.h,n.a,n.j,n.l,o.c,h.b],pipes:[c.d],styles:[""]}),t})()},H0K4:function(t,e,i){"use strict";i.d(e,"a",(function(){return p})),i.d(e,"b",(function(){return f})),i.d(e,"c",(function(){return g})),i.d(e,"d",(function(){return b}));var n=i("cZZj"),s=i("EM62"),o=i("5XID"),r=i("6Oco"),a=i("ZTXN"),c=i("KTx3"),l=i("prE9"),u=i("kuMc"),h=i("2kYt");const d=Object(n.f)({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.a;const e=Object(o.e)(t),i=this._monitoredElements.get(e);if(i)return i.subject.asObservable();const n=new a.a,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.asObservable()}stopMonitoring(t){const e=Object(o.e)(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.Wb(n.a),s.Wb(s.A))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(n.a),Object(s.Wb)(s.A))},token:t,providedIn:"root"}),t})(),f=(()=>{class t{constructor(t,e){this._elementRef=t,this._autofillMonitor=e,this.cdkAutofill=new s.o}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(t=>this.cdkAutofill.emit(t))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(p))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),t})(),g=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._platform=e,this._ngZone=i,this._destroyed=new a.a,this._enabled=!0,this._previousMinRows=-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=Object(o.f)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Object(o.f)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(o.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_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();Object(c.a)(t,"resize").pipe(Object(l.a)(16),Object(u.a)(this._destroyed)).subscribe(()=>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()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=e.placeholder;e.classList.add(this._measuringClass),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove(this._measuringClass),e.placeholder=n,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.Mb(s.l),s.Mb(n.a),s.Mb(s.A),s.Mb(h.e,8))},t.\u0275dir=s.Hb({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&s.Zb("input",(function(){return e._noopInputHandler()}))},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t})(),b=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[n.b]]}),t})()},H2Dp:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");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.Lb({name:"filterUniqueObjects",type:t,pure:!0}),t})()},HHEo:function(t,e,i){"use strict";i.d(e,"d",(function(){return N})),i.d(e,"a",(function(){return L.a})),i.d(e,"c",(function(){return F.a})),i.d(e,"e",(function(){return z.a})),i.d(e,"b",(function(){return H.b}));var n=i("2kYt"),s=i("+Tre"),o=i("FlRo"),r=i("s2Ay"),a=i("sEIs"),c=i("cePI"),l=i("iAde"),u=i("csyo"),h=i("KoHB"),d=i("bFHC"),p=i("Jb3d"),f=i("PBFl"),g=i("Y2X+"),b=i("29Wa"),m=i("nIj0"),A=i("Cd2c"),y=i("S17y"),w=i("oqI+"),v=i("mFH5"),_=i("t47Z"),S=i("HHFY"),E=i("QcI7"),C=i("gcUQ"),R=i("F1o0"),T=i("R7+U"),k=i("BYpP"),I=i("qvOF"),O=i("OZ4H"),D=i("EM62");let M=(()=>{class t extends v.u{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(e){return P(e||t)},t.\u0275prov=D.Ib({token:t,factory:t.\u0275fac}),t})();const P=D.Ub(M),x={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 N=(()=>{class t{}return t.\u0275mod=D.Kb({type:t}),t.\u0275inj=D.Jb({factory:function(e){return new(e||t)},providers:[{provide:v.c,useClass:M},{provide:v.e,useValue:x}],imports:[[n.c,s.b,o.p,m.l,y.g,w.g,r.c,a.j,c.c,l.b,u.b,h.a,d.b,p.c,f.c,g.b,b.e,m.B,A.c,v.t,_.b,S.c,E.e,C.g,R.c,v.o,T.b,k.b,I.g,O.h]]}),t})();i("LKLE");var L=i("nhAq"),F=(i("b7Yx"),i("8cyV"),i("U3ra"),i("UX+r"),i("23RZ"),i("tmvS"),i("YFHD"),i("3jrC")),z=i("B/Qt"),H=(i("K9kF"),i("XAvq"),i("HMTk"),i("2Zb0"),i("oYGW"),i("6Xhx"))},HHFY:function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return l}));var n=i("2kYt"),s=i("EM62");class o{constructor(t,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),n=i.style;n.opacity="0",n.position="absolute",n.left=n.top="-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.Wb(n.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(n.e))},token:t,providedIn:"root"}),t})();const a=new s.r("CKD_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.o,this._deprecatedCopied=this.copied,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?this._ngZone.runOutsideAngular(()=>setTimeout(n,1)):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.Mb(r),s.Mb(s.A),s.Mb(a,8))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&s.Zb("click",(function(){return e.copy()}))},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied",_deprecatedCopied:"copied"}}),t})(),l=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)}}),t})()},HHqq:function(t,e,i){"use strict";i.d(e,"a",(function(){return x}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("nIj0"),a=i("jIqt"),c=i("YtkY"),l=i("cqs0"),u=i("EM62"),h=i("s2Ay"),d=i("x9Az"),p=i("2kYt"),f=i("PBFl"),g=i("csyo"),b=i("29Wa"),m=i("Cd2c"),A=i("ulve"),y=i("R7+U"),w=i("mFH5"),v=i("K9kF"),_=i("FcRk");function S(t,e){1&t&&(u.Jc(0),u.ec(1,"translate")),2&t&&u.Kc(u.fc(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECT_RESOURCE"))}function E(t,e){1&t&&u.Nb(0,"mat-spinner",13)}function C(t,e){if(1&t&&(u.Sb(0,"mat-option",24),u.Jc(1),u.Rb()),2&t){const t=e.$implicit;u.kc("value",t),u.Ab(1),u.Lc(" ",t," ")}}function R(t,e){if(1&t){const t=u.Tb();u.Sb(0,"mat-option",25),u.Zb("click",(function(){u.xc(t);const i=e.$implicit,n=u.dc(2),s=u.tc(6);return n.setResource(i),s.selected.completed=!0})),u.Jc(1),u.Rb()}if(2&t){const t=e.$implicit;u.kc("value",t),u.Ab(1),u.Lc(" ",t.name," ")}}function T(t,e){if(1&t&&(u.Sb(0,"div",22),u.Jc(1),u.Rb()),2&t){const t=e.$implicit;u.Ab(1),u.Kc(t.name)}}function k(t,e){if(1&t&&(u.Sb(0,"div"),u.Sb(1,"div"),u.Sb(2,"mat-form-field",14),u.Nb(3,"input",15),u.ec(4,"translate"),u.Sb(5,"mat-autocomplete",16,17),u.Hc(7,C,2,2,"mat-option",18),u.ec(8,"async"),u.Rb(),u.Rb(),u.Rb(),u.Sb(9,"div"),u.Sb(10,"mat-form-field",14),u.Sb(11,"mat-select",19),u.ec(12,"translate"),u.Hc(13,R,2,2,"mat-option",20),u.ec(14,"async"),u.Rb(),u.Rb(),u.Rb(),u.Sb(15,"div"),u.Sb(16,"span",21),u.Jc(17),u.ec(18,"translate"),u.Rb(),u.Sb(19,"div",22),u.Jc(20),u.Rb(),u.Rb(),u.Sb(21,"div"),u.Sb(22,"span",21),u.Jc(23),u.ec(24,"translate"),u.Rb(),u.Hc(25,T,2,1,"div",23),u.Rb(),u.Rb()),2&t){const t=u.tc(6),e=u.dc();u.Ab(3),u.lc("placeholder",u.fc(4,10,"DIALOGS.ADD_MEMBER_TO_RESOURCE.FILTER")),u.kc("formControl",e.facilityCtrl)("matAutocomplete",t),u.Ab(4),u.kc("ngForOf",u.fc(8,12,e.filteredFacilities)),u.Ab(4),u.lc("placeholder",u.fc(12,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECTED")),u.Ab(2),u.kc("ngForOf",u.fc(14,16,e.filteredResources)),u.Ab(4),u.Kc(u.fc(18,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.DESCRIPTION")),u.Ab(3),u.Lc(" ",e.description," "),u.Ab(3),u.Kc(u.fc(24,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SERVICES")),u.Ab(2),u.kc("ngForOf",e.services)}}function I(t,e){1&t&&(u.Jc(0),u.ec(1,"translate")),2&t&&u.Kc(u.fc(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.ADD_GROUP"))}function O(t,e){1&t&&u.Nb(0,"mat-spinner",13)}const D=function(){return["recent","vo","expiration","menu"]};function M(t,e){if(1&t&&(u.Sb(0,"div"),u.Nb(1,"perun-web-apps-groups-list",26),u.Rb()),2&t){const t=u.dc();u.Ab(1),u.kc("disableGroups",!0)("disableHeadCheckbox",!0)("disableRouting",!0)("groupsToDisable",t.membersGroupsId)("groups",t.groups)("hideColumns",u.oc(7,D))("selection",t.selectedGroups)}}function P(t,e){1&t&&(u.Sb(0,"app-alert",27),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.NO_GROUPS")," "))}let x=(()=>{class t{constructor(t,e,i,n,s,o,a){this.dialogRef=t,this.data=e,this.resourceManager=i,this.groupManager=n,this.notificator=s,this.translate=o,this.authResolver=a,this.loading=!1,this.processing=!1,this.membersGroupsId=new Set,this.facilityCtrl=new r.g,this.facilitiesNames=[],this.resources=[],this.selectedResource=null,this.services=[],this.description="",this.groups=[],this.selectedGroups=new l.c(!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(Object(a.a)(""),Object(c.a)(t=>this.filterFacilities(t))),this.filteredResources=this.facilityCtrl.valueChanges.pipe(Object(a.a)(""),Object(c.a)(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)(u.Mb(n.i),u.Mb(n.a),u.Mb(o.m),u.Mb(o.h),u.Mb(s.l),u.Mb(h.e),u.Mb(s.h))},t.\u0275cmp=u.Gb({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","hideColumns","selection"],["alert_type","warn"]],template:function(t,e){1&t&&(u.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"div",1),u.Sb(5,"mat-horizontal-stepper",2,3),u.Sb(7,"mat-step",4),u.Hc(8,S,2,3,"ng-template",5),u.Hc(9,E,1,0,"mat-spinner",6),u.Hc(10,k,26,22,"div",7),u.Sb(11,"div",8),u.Sb(12,"button",9),u.Zb("click",(function(){return e.onCancel()})),u.Jc(13),u.ec(14,"translate"),u.Rb(),u.Sb(15,"button",10),u.Zb("click",(function(){return e.loadGroups()})),u.Jc(16),u.ec(17,"translate"),u.Rb(),u.Rb(),u.Rb(),u.Sb(18,"mat-step"),u.Hc(19,I,2,3,"ng-template",5),u.Hc(20,O,1,0,"mat-spinner",6),u.Hc(21,M,2,8,"div",7),u.Hc(22,P,3,3,"app-alert",11),u.Sb(23,"div",8),u.Sb(24,"button",12),u.Zb("click",(function(){return e.selectedGroups.clear()})),u.Jc(25),u.ec(26,"translate"),u.Rb(),u.Sb(27,"button",10),u.Zb("click",(function(){return e.onFinish()})),u.Jc(28),u.ec(29,"translate"),u.Rb(),u.Rb(),u.Rb(),u.Rb(),u.Rb(),u.Rb()),2&t&&(u.Cb(e.theme),u.Ab(2),u.Kc(u.fc(3,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),u.Ab(3),u.kc("linear",!0),u.Ab(4),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(3),u.Kc(u.fc(14,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")),u.Ab(2),u.kc("disabled",null==e.selectedResource||e.processing||e.loading),u.Ab(1),u.Kc(u.fc(17,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")),u.Ab(4),u.kc("ngIf",e.processing),u.Ab(1),u.kc("ngIf",0!==e.groups.length&&!e.processing),u.Ab(1),u.kc("ngIf",0===e.groups.length&&!e.processing),u.Ab(3),u.Lc(" ",u.fc(26,22,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK"),""),u.Ab(2),u.kc("disabled",0===e.selectedGroups.selected.length||e.processing),u.Ab(1),u.Lc(" ",u.fc(29,24,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT"),""))},directives:[n.j,n.g,d.a,d.b,d.d,p.t,n.c,f.b,d.h,d.i,g.c,b.c,m.b,r.c,A.d,r.r,r.h,A.a,p.s,y.a,w.n,v.a,_.a],pipes:[h.d,p.b],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),t})()},HM3f:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("gBlb"),s=i("FU6l"),o=i("pBDD"),r=i("mW0F"),a=i("ckkg");const c={};function l(...t){let e=null,i=null;return Object(n.a)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(s.a)(t[0])&&(t=t[0]),Object(a.a)(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.a{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{class t{constructor(){this.expiration="never",this.expirationControl=new s.g(null),this.datePicker=new n.o}ngOnInit(){const t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationControl.setValue(Object(o.I)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=Object(o.I)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue(Object(o.I)(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=n.Gb({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=n.Tb();n.Sb(0,"mat-radio-group",0),n.Zb("ngModelChange",(function(t){return e.expiration=t}))("change",(function(){return e.emitDate()})),n.Sb(1,"mat-radio-button",1),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"mat-radio-button",2),n.Sb(5,"mat-form-field",3),n.Zb("click",(function(){return n.xc(t),n.tc(12).open()})),n.Sb(6,"mat-label"),n.Jc(7),n.ec(8,"translate"),n.Rb(),n.Sb(9,"input",4),n.Zb("dateChange",(function(){return e.setExpiration()})),n.Rb(),n.Nb(10,"mat-datepicker-toggle",5),n.Nb(11,"mat-datepicker",6,7),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.tc(12);n.kc("ngModel",e.expiration),n.Ab(2),n.Lc(" ",n.fc(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),n.Ab(2),n.lc("value",e.expirationControl.value),n.Ab(3),n.Kc(n.fc(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),n.Ab(2),n.kc("min",e.minDate)("formControl",e.expirationControl)("matDatepicker",t),n.Ab(1),n.kc("for",t)("disabled",!1),n.Ab(1),n.kc("disabled",!1)}},directives:[r.b,s.r,s.u,r.a,a.c,a.g,c.b,s.c,l.f,s.h,l.h,a.j,l.d],pipes:[u.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},HOZh:function(t,e,i){"use strict";i.d(e,"a",(function(){return _})),i.d(e,"b",(function(){return E}));var n=i("EM62"),s=i("cZZj"),o=i("ZTXN"),r=i("HM3f"),a=i("qZtG"),c=i("IdLP"),l=i("J+dc"),u=i("5uGe");class h{constructor(t){this.total=t}call(t,e){return e.subscribe(new d(t,this.total))}}class d extends u.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=i("mWib"),f=i("YtkY"),g=i("jIqt"),b=i("kuMc"),m=i("5XID");const A=new Set;let y,w=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!A.has(t))try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),A.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(s.a))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(s.a))},token:t,providedIn:"root"}),t})();function v(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let _=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new o.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return S(Object(m.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=S(Object(m.b)(t)).map(t=>this._registerQuery(t).observable);let i=Object(r.a)(e);return i=Object(a.a)(i.pipe(Object(l.a)(1)),i.pipe(t=>t.lift(new h(1)),Object(p.a)(0))),i.pipe(Object(f.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new c.a(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe(Object(g.a)(e),Object(f.a)(e=>({query:t,matches:e.matches})),Object(b.a)(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(w),n.Wb(n.A))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(w),Object(n.Wb)(n.A))},token:t,providedIn:"root"}),t})();function S(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const E={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},HYj3:function(t,e,i){"use strict";i.d(e,"a",(function(){return V})),i.d(e,"b",(function(){return K})),i.d(e,"c",(function(){return j})),i.d(e,"d",(function(){return E})),i.d(e,"e",(function(){return D})),i.d(e,"f",(function(){return J}));var n=i("qvOF"),s=i("EM62"),o=i("cZZj"),r=i("E5oP"),a=i("2kYt"),c=i("5XID"),l=i("Sv/w"),u=i("ZTXN"),h=i("bwdy"),d=i("g6G6"),p=i("J+dc"),f=i("kuMc"),g=i("fAiE");class b{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=Object(c.d)(-this._previousScrollPosition.left),t.style.top=Object(c.d)(-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}}function m(){return Error("Scroll strategy has already been attached.")}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){if(this._overlayRef)throw m();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 y{enable(){}disable(){}attach(){}}function w(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function v(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class _{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw m();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();w(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 y,this.close=t=>new A(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=t=>new _(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(n.f),s.Wb(n.h),s.Wb(s.A),s.Wb(a.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(n.f),Object(s.Wb)(n.h),Object(s.Wb)(s.A),Object(s.Wb)(a.e))},token:t,providedIn:"root"}),t})();class E{constructor(t){if(this.scrollStrategy=new y,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 C{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}}function T(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function k(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let I=(()=>{class t{constructor(t){this._attachedOverlays=[],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}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),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()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(a.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(a.e))},token:t,providedIn:"root"}),t})();const O=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let D=(()=>{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=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||O){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.a,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.asObservable().pipe(Object(p.a)(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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),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(),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._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.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEvents.asObservable()}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=Object(c.d)(this._config.width),t.height=Object(c.d)(this._config.height),t.minWidth=Object(c.d)(this._config.minWidth),t.minHeight=Object(c.d)(this._config.minHeight),t.maxWidth=Object(c.d)(this._config.maxWidth),t.maxHeight=Object(c.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"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;Object(c.b)(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(f.a)(Object(d.a)(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 P=/([A-Za-z%]+)$/;class x{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.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");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&&N(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){let{x:s,y:o}=t,r=this._getOffset(n,"x"),a=this._getOffset(n,"y");r&&(s+=r),a&&(o+=a);let c=0-o,l=o+e.height-i.height,u=this._subtractOverflows(e.width,0-s,s+e.width-i.width),h=this._subtractOverflows(e.height,c,l),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:u==e.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=this._viewportRect,s=Math.max(t.x+e.width-n.right,0),o=Math.max(t.y+e.height-n.bottom,0),r=Math.max(n.top-i.top-t.y,0),a=Math.max(n.left-i.left-t.x,0);let c=0,l=0;return c=e.width<=n.width?a||-s: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=Object(c.d)(i.height),n.top=Object(c.d)(i.top),n.bottom=Object(c.d)(i.bottom),n.width=Object(c.d)(i.width),n.left=Object(c.d)(i.left),n.right=Object(c.d)(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=Object(c.d)(t)),s&&(n.maxWidth=Object(c.d)(s))}this._lastBoundingBoxSize=i,N(this._boundingBox.style,n)}_resetBoundingBoxStyles(){N(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){N(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();N(i,this._getExactOverlayY(e,t,n)),N(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=Object(c.d)(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=Object(c.d)(o.maxWidth):s&&(i.maxWidth="")),N(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=Object(c.d)(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=Object(c.d)(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:v(t,i),isOriginOutsideView:w(t,i),isOverlayClipped:v(e,i),isOverlayOutsideView:w(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(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{k("originX",t.originX),T("originY",t.originY),k("overlayX",t.overlayX),T("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(c.b)(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.l)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 N(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(P);return i&&"px"!==i?null:parseFloat(e)}return t||null}class F{constructor(t,e,i,n,s,o,r){this._preferredPositions=[],this._positionStrategy=new x(i,n,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return 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 C(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 z{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 z}connectedTo(t,e,i){return new F(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new x(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(n.h),s.Wb(a.e),s.Wb(o.a),s.Wb(D))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(n.h),Object(s.Wb)(a.e),Object(s.Wb)(o.a),Object(s.Wb)(D))},token:t,providedIn:"root"}),t})(),B=0,j=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,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=l}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new E(t);return s.direction=s.direction||this._directionality.value,new M(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+B++,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.g)),new l.f(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(S),s.Wb(D),s.Wb(s.j),s.Wb(H),s.Wb(I),s.Wb(s.s),s.Wb(s.A),s.Wb(a.e),s.Wb(r.c),s.Wb(a.n,8))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const G=[{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"}],U=new s.r("cdk-connected-overlay-scroll-strategy");let K=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),V=(()=>{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.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new s.o,this.positionChange=new s.o,this.attach=new s.o,this.detach=new s.o,this.overlayKeydown=new s.o,this._templatePortal=new l.j(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=Object(c.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(c.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(c.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(c.c)(t)}get push(){return this._push}set push(t){this._push=Object(c.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}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=G),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==g.h||Object(g.t)(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new E({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.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(j),s.Mb(s.M),s.Mb(s.Q),s.Mb(U),s.Mb(r.c,8))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],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"},exportAs:["cdkConnectedOverlay"],features:[s.yb]}),t})();const q={provide:U,deps:[j],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let J=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[j,q],imports:[[r.a,l.i,n.g],n.g]}),t})()},HdwC:function(t,e,i){"use strict";i.d(e,"a",(function(){return L}));var n=i("OF3q"),s=i("cqs0"),o=i("RUSO"),r=i("8clQ"),a=i("X2Q7"),c=i("nyAh"),l=i("iyZ4"),u=i("yaDT"),h=i("Ssnw"),d=(i("HHEo"),i("EM62")),p=i("OZ4H"),f=i("sEIs"),g=i("0XDM"),b=i("2kYt"),m=i("pynj"),A=i("k8N0"),y=i("nIj0"),w=i("PBFl"),v=i("Y2X+"),_=i("csyo"),S=i("XAvq"),E=i("K9kF"),C=i("s2Ay");const R=["tree"],T=["list"],k=["toggle"];function I(t,e){if(1&t){const t=d.Tb();d.Sb(0,"button",9),d.Zb("click",(function(){return d.xc(t),d.dc().onCreateGroup()})),d.Jc(1),d.ec(2,"translate"),d.Rb()}2&t&&(d.Ab(1),d.Lc(" ",d.fc(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function O(t,e){if(1&t){const t=d.Tb();d.Sb(0,"button",12),d.Zb("click",(function(){return d.xc(t),d.dc(2).deleteGroup()})),d.Jc(1),d.ec(2,"translate"),d.Rb()}if(2&t){const t=d.dc(2);d.kc("disabled",0===t.selected.selected.length||void 0!==t.tree&&!t.tree.removeAuth||void 0!==t.list&&!t.list.removeAuth),d.Ab(1),d.Lc(" ",d.fc(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function D(t,e){if(1&t&&(d.Sb(0,"span",10),d.ec(1,"translate"),d.Hc(2,O,3,4,"button",11),d.Rb()),2&t){const t=d.dc();d.lc("matTooltip",d.fc(1,3,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),d.kc("matTooltipDisabled",void 0===t.tree&&void 0===t.list||void 0!==t.tree&&t.tree.removeAuth||void 0!==t.list&&t.list.removeAuth),d.Ab(2),d.kc("ngIf",!t.loading&&t.deleteAuth)}}function M(t,e){1&t&&d.Nb(0,"mat-spinner",13)}function P(t,e){if(1&t){const t=d.Tb();d.Sb(0,"perun-web-apps-groups-tree",17,18),d.Zb("moveGroup",(function(e){return d.xc(t),d.dc(2).onMoveGroup(e)}))("refreshTable",(function(){return d.xc(t),d.dc(2).refreshTable()})),d.Rb()}if(2&t){const t=d.dc(2);d.kc("groups",t.groups)("expandAll",t.filtering)("hideCheckbox",!t.deleteAuth)("selection",t.selected)("filterValue",t.filterValue)("disableRouting",!t.routeAuth)}}function x(t,e){if(1&t){const t=d.Tb();d.Sb(0,"perun-web-apps-groups-list",19,20),d.Zb("page",(function(e){return d.xc(t),d.dc(2).pageChanged(e)}))("moveGroup",(function(e){return d.xc(t),d.dc(2).onMoveGroup(e)}))("refreshTable",(function(){return d.xc(t),d.dc(2).refreshTable()})),d.Rb()}if(2&t){const t=d.dc(2);d.kc("pageSize",t.pageSize)("groups",t.groups)("selection",t.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!t.routeAuth)("hideColumns",t.hideColumns)("filter",t.filterValue)}}function N(t,e){if(1&t&&(d.Sb(0,"div",14),d.Hc(1,P,2,6,"perun-web-apps-groups-tree",15),d.Hc(2,x,2,8,"perun-web-apps-groups-list",16),d.Rb()),2&t){const t=d.dc();d.Ab(1),d.kc("ngIf",!t.showGroupList),d.Ab(1),d.kc("ngIf",t.showGroupList)}}let L=(()=>{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.c(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=l.M,this.filterValue="",this.hideColumns=["expiration","recent","vo"]}onCreateGroup(){const t=Object(r.o)();t.width="450px",t.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(n.a,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]])),this.hideColumns=this.deleteAuth?["vo","expiration","recent"]:["select","vo","expiration","recent"]}deleteGroup(){const t=Object(r.o)();t.width="450px",t.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(o.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[c.a.GROUP_DEF_MAIL_FOOTER,c.a.GROUP_SYNC_ENABLED,c.a.GROUP_LAST_SYNC_STATE,c.a.GROUP_LAST_SYNC_TIMESTAMP,c.a.GROUP_STRUCTURE_SYNC_ENABLED,c.a.GROUP_LAST_STRUCTURE_SYNC_STATE,c.a.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=Object(r.o)();e.width="550px",e.data={group:t,theme:"group-theme"},this.dialog.open(u.a,e).afterClosed().subscribe(t=>{t&&this.refreshTable()})}}return t.id="GroupSubgroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Mb(p.b),d.Mb(a.h),d.Mb(l.pb),d.Mb(f.a),d.Mb(h.h),d.Mb(h.i))},t.\u0275cmp=d.Gb({type:t,selectors:[["app-group-subgroups"]],viewQuery:function(t,e){var i;1&t&&(d.Qc(R,!0),d.Qc(T,!0),d.Dc(k,!0)),2&t&&(d.sc(i=d.ac())&&(e.tree=i.first),d.sc(i=d.ac())&&(e.list=i.first),d.sc(i=d.ac())&&(e.toggle=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&d.Eb("router-component",!0)},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","hideColumns","filter","page","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","hideColumns","filter","page","moveGroup","refreshTable"],["list",""]],template:function(t,e){if(1&t&&(d.Sb(0,"div"),d.Sb(1,"h1",0),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Sb(4,"perun-web-apps-refresh-button",1),d.Zb("refresh",(function(){return e.refreshTable()})),d.Rb(),d.Hc(5,I,3,3,"button",2),d.Hc(6,D,3,5,"span",3),d.Sb(7,"perun-web-apps-debounce-filter",4),d.Zb("filter",(function(t){return e.applyFilter(t)})),d.Rb(),d.Sb(8,"mat-slide-toggle",5,6),d.Zb("change",(function(){return e.selected.clear()}))("ngModelChange",(function(t){return e.showGroupList=t})),d.Jc(10),d.ec(11,"translate"),d.Rb(),d.Sb(12,"label"),d.Jc(13),d.ec(14,"translate"),d.Rb(),d.Hc(15,M,1,0,"mat-spinner",7),d.Hc(16,N,3,2,"div",8),d.Rb()),2&t){const t=d.tc(9);d.Ab(2),d.Kc(d.fc(3,10,"GROUP_DETAIL.SUBGROUPS.TITLE")),d.Ab(3),d.kc("ngIf",!e.loading&&e.createAuth),d.Ab(1),d.kc("ngIf",!e.loading),d.Ab(1),d.kc("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),d.Ab(1),d.kc("ngModel",e.showGroupList),d.Ab(2),d.Kc(d.fc(11,12,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),d.Ab(2),d.Bb("for",t.inputId),d.Ab(1),d.Kc(d.fc(14,14,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),d.Ab(2),d.kc("ngIf",e.loading),d.Ab(1),d.kc("ngIf",!e.loading)}},directives:[g.a,b.t,m.a,A.a,y.r,y.u,w.b,v.a,_.c,S.a,E.a],pipes:[C.d],styles:[""]}),t})()},HgnN:function(t,e,i){"use strict";i.d(e,"a",(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}}},IBaA:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,...e){return Object(n.A)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"memberOrganization",type:t,pure:!0}),t})()},IDQ9:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),s=i("cqs0"),o=i("Ssnw"),r=i("X2Q7"),a=i("iyZ4"),c=(i("HHEo"),i("EM62")),l=i("s2Ay"),u=i("A8Ay"),h=i("2kYt"),d=i("PBFl"),p=i("FcRk"),f=i("csyo"),g=i("LKLE");const b=["list"];function m(t,e){1&t&&(c.Sb(0,"app-alert",10),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE")," "))}function A(t,e){1&t&&c.Nb(0,"mat-spinner",11)}function y(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-attributes-list",12,13),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb()}if(2&t){const t=c.dc();c.kc("attributes",t.attributes)("filterValue",t.filterValue)("inDialog",!0)("pageSize",t.pageSize)("selection",t.selected)}}let w=(()=>{class t{constructor(t,e,i,n,o,r){this.dialogRef=t,this.data=e,this.attributesManager=i,this.notificator=n,this.tableConfigService=o,this.translate=r,this.selected=new s.c(!0,[]),this.showError=!1,this.filterValue="",this.tableId=a.r,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,n,s,o,r,a,c;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":n=this.data.entityId;break;case"group":s=this.data.entityId;break;case"resource":o=this.data.entityId;break;case"facility":r=this.data.entityId;break;case"host":a=this.data.entityId;break;case"ues":c=this.data.entityId}switch(this.data.secondEntity){case"member":e=this.data.secondEntityId;break;case"user":i=this.data.secondEntityId;break;case"vo":n=this.data.secondEntityId;break;case"group":s=this.data.secondEntityId;break;case"resource":o=this.data.secondEntityId;break;case"facility":r=this.data.secondEntityId;break;case"host":a=this.data.secondEntityId;break;case"ues":c=this.data.secondEntityId}this.loading=!0,this.attributesManager.getAttributesDefinitionWithRights(e,i,n,s,o,r,a,c).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)(c.Mb(n.i),c.Mb(n.a),c.Mb(r.c),c.Mb(o.l),c.Mb(a.pb),c.Mb(l.e))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-create-attribute-dialog"]],viewQuery:function(t,e){var i;1&t&&c.Qc(b,!0),2&t&&c.sc(i=c.ac())&&(e.list=i.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&&(c.Sb(0,"div"),c.Sb(1,"div",0),c.Sb(2,"h1",1),c.Jc(3),c.ec(4,"translate"),c.Rb(),c.Sb(5,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(6,m,3,3,"app-alert",3),c.Rb(),c.Sb(7,"div",4),c.Hc(8,A,1,0,"mat-spinner",5),c.Hc(9,y,2,5,"perun-web-apps-attributes-list",6),c.Rb(),c.Sb(10,"div",7),c.Sb(11,"button",8),c.Zb("click",(function(){return e.onCancel()})),c.Jc(12),c.ec(13,"translate"),c.Rb(),c.Sb(14,"button",9),c.Zb("click",(function(){return e.onSave()})),c.Jc(15),c.ec(16,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.data.style),c.Ab(3),c.Kc(c.fc(4,11,"DIALOGS.CREATE_ATTRIBUTE.SET_NEW")),c.Ab(2),c.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),c.Ab(1),c.kc("ngIf",e.showError),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",void 0!==e.attributes&&!e.loading),c.Ab(3),c.Lc(" ",c.fc(13,13,"DIALOGS.CREATE_ATTRIBUTE.CANCEL")," "),c.Ab(2),c.kc("disabled",0===e.selected.selected.length),c.Ab(1),c.Lc(" ",c.fc(16,15,"DIALOGS.CREATE_ATTRIBUTE.SAVE")," "))},directives:[n.j,u.a,h.t,n.g,n.c,d.b,p.a,f.c,g.a],pipes:[l.d],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t})()},IJgj:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.d(e,"a",(function(){return n}))},ILoV:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("FlRo"),o=i("X2Q7"),r=i("Ssnw"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourceManager=s,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.o(this.data.groups)}onCancel(){this.dialogRef.close()}onSubmit(){const t=[];for(const e of this.data.groups)t.push(e.id);this.loading=!0,this.resourceManager.removeGroupsFromResource(t,this.data.resourceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(r.l),a.Mb(c.e),a.Mb(o.m))},t.\u0275cmp=a.Gb({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(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l],pipes:[c.d],styles:[""]}),t})()},IdLP:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("5uGe"),s=i("25CY"),o=i("rWo0"),r=i("qEfY"),a=i("5E2i"),c=i("HgnN");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.a)return t;if(t[s.a])return t[s.a]()}return t||e||i?new n.a(t,e,i):new n.a(o.a)}(t,e,i);if(a.add(r?r.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.a.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.a?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.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.a: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.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},IgBI:function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("3EQ+"),s=i("Ssnw"),o=i("ipn+"),r=i("h1El"),a=i("DnAX"),c=i("X2Q7"),l=i("8clQ"),u=i("EM62"),h=i("sEIs"),d=i("OZ4H"),p=i("s2Ay"),f=i("2kYt"),g=i("csyo"),b=i("bFHC"),m=i("Y2X+"),A=i("zmEM"),y=i("0XDM"),w=i("PBFl"),v=i("O82x"),_=i("FcRk");function S(t,e){1&t&&u.Nb(0,"mat-spinner",3)}function E(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",21),u.Zb("click",(function(){return u.xc(t),u.dc(2).settings()})),u.Sb(1,"i",18),u.Jc(2,"edit"),u.Rb(),u.Jc(3),u.ec(4,"translate"),u.Rb()}2&t&&(u.Ab(3),u.Lc(" ",u.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function C(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",22),u.Zb("click",(function(){return u.xc(t),u.dc(2).add()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function R(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",23),u.Zb("click",(function(){return u.xc(t),u.dc(2).save()})),u.Sb(1,"i",18),u.Jc(2,"save"),u.Rb(),u.Jc(3),u.ec(4,"translate"),u.Rb()}if(2&t){const t=u.dc(2);u.kc("disabled",!t.itemsChanged),u.Ab(3),u.Lc(" ",u.fc(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function T(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",24),u.Zb("click",(function(){return u.xc(t),u.dc(2).copy()})),u.Sb(1,"i",18),u.Jc(2,"file_copy"),u.Rb(),u.Jc(3),u.ec(4,"translate"),u.Rb()}2&t&&(u.Ab(3),u.Lc(" ",u.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function k(t,e){1&t&&(u.Sb(0,"app-alert",25),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.kc("alert_type","info"),u.Ab(1),u.Lc(" ",u.fc(2,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}function I(t,e){if(1&t){const t=u.Tb();u.Sb(0,"div"),u.Sb(1,"div",4),u.Sb(2,"div",5),u.Sb(3,"div",6),u.Jc(4),u.ec(5,"translate"),u.Rb(),u.Sb(6,"div"),u.Sb(7,"span",6),u.Jc(8),u.ec(9,"translate"),u.Rb(),u.Jc(10,": "),u.Sb(11,"mat-icon",7),u.Jc(12,"arrow_right_alt"),u.Rb(),u.Jc(13),u.ec(14,"translate"),u.ec(15,"translate"),u.Sb(16,"mat-icon",8),u.Jc(17,"restore"),u.Rb(),u.Jc(18),u.ec(19,"translate"),u.ec(20,"translate"),u.Rb(),u.Rb(),u.Sb(21,"div",9),u.Hc(22,E,5,3,"button",10),u.Rb(),u.Rb(),u.Nb(23,"mat-divider",11),u.Sb(24,"div",12),u.Sb(25,"perun-web-apps-refresh-button",13),u.Zb("refresh",(function(){return u.xc(t),u.dc().updateFormItems()})),u.Rb(),u.Hc(26,C,3,3,"button",14),u.Hc(27,R,5,4,"button",15),u.Hc(28,T,5,3,"button",16),u.Sb(29,"button",17),u.Zb("click",(function(){return u.xc(t),u.dc().preview()})),u.Sb(30,"i",18),u.Jc(31,"search"),u.Rb(),u.Jc(32),u.ec(33,"translate"),u.Rb(),u.Rb(),u.Hc(34,k,3,4,"app-alert",19),u.Sb(35,"app-application-form-list",20),u.Zb("applicationFormItemsChange",(function(){return u.xc(t),u.dc().changeItems()})),u.Rb(),u.Rb()}if(2&t){const t=u.dc();u.Ab(4),u.Mc("",u.fc(5,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",t.applicationForm.moduleClassName," "),u.Ab(4),u.Kc(u.fc(9,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),u.Ab(5),u.Lc(" ",t.applicationForm.automaticApproval?u.fc(14,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.fc(15,22,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),u.Ab(5),u.Lc(" ",t.applicationForm.automaticApprovalExtension?u.fc(19,24,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.fc(20,26,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),u.Ab(4),u.kc("ngIf",t.editAuth),u.Ab(4),u.kc("ngIf",t.editAuth),u.Ab(1),u.kc("ngIf",t.editAuth),u.Ab(1),u.kc("ngIf",t.editAuth),u.Ab(4),u.Lc(" ",u.fc(33,28,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),u.Ab(2),u.kc("ngIf",t.editAuth),u.Ab(1),u.kc("loading",t.loading)("applicationForm",t.applicationForm)("applicationFormItems",t.applicationFormItems)("theme","vo-theme")("displayedColumns",t.displayedColumns)}}let O=(()=>{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=Object(l.o)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(r.a,t).afterClosed().subscribe(e=>{e&&(this.applicationFormItems=Object.assign([],e[0]),t=Object(l.o)(),t.width="600px",t.height="600px",t.data={voId:this.voId,applicationFormItem:e[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(a.a,t),this.itemsChanged=!0)})}copy(){const t=Object(l.o)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(o.a,t).afterClosed().subscribe(t=>{t&&this.updateFormItems()})}settings(){const t=Object(l.o)();t.width="400px",t.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(n.a,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.Mb(c.l),u.Mb(h.a),u.Mb(d.b),u.Mb(s.l),u.Mb(p.e),u.Mb(h.f),u.Mb(s.h),u.Mb(c.r))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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.Sb(0,"h1",0),u.Jc(1),u.ec(2,"translate"),u.Rb(),u.Hc(3,S,1,0,"mat-spinner",1),u.Hc(4,I,36,30,"div",2)),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),u.Ab(2),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading))},directives:[f.t,g.c,b.a,m.a,A.a,y.a,w.b,v.a,_.a],pipes:[p.d],styles:[""]}),t})()},Iydx:function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return s}));var n=function(t){return t.PERUNADMIN="PERUNADMIN",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)}}},"J+dc":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("5uGe"),s=i("PNff"),o=i("6Oco");function r(t){return e=>0===t?Object(o.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.a}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends n.a{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()))}}},JKyc:function(t,e,i){"use strict";i.d(e,"a",(function(){return H}));var n=i("Ssnw"),s=i("h1El"),o=i("DnAX"),r=i("ipn+"),a=i("3EQ+"),c=i("X2Q7"),l=i("8clQ"),u=i("EM62"),h=i("sEIs"),d=i("OZ4H"),p=i("s2Ay"),f=i("2kYt"),g=i("csyo"),b=i("bFHC"),m=i("Y2X+"),A=i("zmEM"),y=i("0XDM"),w=i("PBFl"),v=i("O82x"),_=i("k8N0"),S=i("nIj0"),E=i("FcRk");const C=["autoRegToggle"];function R(t,e){1&t&&u.Nb(0,"mat-spinner",3)}function T(t,e){if(1&t&&(u.Sb(0,"span"),u.Jc(1," , "),u.Sb(2,"mat-icon",21),u.Jc(3,"nat"),u.Rb(),u.Jc(4),u.ec(5,"translate"),u.ec(6,"translate"),u.Rb()),2&t){const t=u.dc(2);u.Ab(4),u.Lc(" ",t.applicationForm.automaticApprovalEmbedded?u.fc(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.fc(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function k(t,e){if(1&t){const t=u.Tb();u.Sb(0,"div"),u.Sb(1,"mat-slide-toggle",22,23),u.Zb("change",(function(){return u.xc(t),u.dc(2).updateAutoRegistration()})),u.Jc(3),u.ec(4,"translate"),u.Rb(),u.Rb()}if(2&t){const t=u.dc(2);u.Ab(1),u.kc("disabled",!t.changeAutoRegistration)("ngModel",t.autoRegistrationEnabled),u.Ab(2),u.Lc(" ",u.fc(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function I(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",24),u.Zb("click",(function(){return u.xc(t),u.dc(2).settings()})),u.Sb(1,"i",18),u.Jc(2,"edit"),u.Rb(),u.Jc(3),u.ec(4,"translate"),u.Rb()}2&t&&(u.Ab(3),u.Lc(" ",u.fc(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function O(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",25),u.Zb("click",(function(){return u.xc(t),u.dc(2).add()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function D(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",26),u.Zb("click",(function(){return u.xc(t),u.dc(2).save()})),u.Sb(1,"i",18),u.Jc(2,"save"),u.Rb(),u.Jc(3),u.ec(4,"translate"),u.Rb()}if(2&t){const t=u.dc(2);u.kc("disabled",!t.itemsChanged),u.Ab(3),u.Lc(" ",u.fc(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function M(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",27),u.Zb("click",(function(){return u.xc(t),u.dc(2).copy()})),u.Sb(1,"i",18),u.Jc(2,"file_copy"),u.Rb(),u.Jc(3),u.ec(4,"translate"),u.Rb()}2&t&&(u.Ab(3),u.Lc(" ",u.fc(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function P(t,e){1&t&&(u.Sb(0,"app-alert",28),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const x=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},N=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function L(t,e){if(1&t){const t=u.Tb();u.Sb(0,"div"),u.Sb(1,"div",4),u.Sb(2,"div",5),u.Sb(3,"div",6),u.Jc(4),u.ec(5,"translate"),u.Rb(),u.Sb(6,"div"),u.Sb(7,"span",6),u.Jc(8),u.ec(9,"translate"),u.Rb(),u.Jc(10,": "),u.Sb(11,"mat-icon",7),u.Jc(12,"arrow_right_alt"),u.Rb(),u.Jc(13),u.ec(14,"translate"),u.ec(15,"translate"),u.Sb(16,"mat-icon",8),u.Jc(17,"restore"),u.Rb(),u.Jc(18),u.ec(19,"translate"),u.ec(20,"translate"),u.Hc(21,T,7,5,"span",2),u.Rb(),u.Hc(22,k,5,5,"div",2),u.Rb(),u.Sb(23,"div",9),u.Hc(24,I,5,3,"button",10),u.Rb(),u.Rb(),u.Nb(25,"mat-divider",11),u.Sb(26,"div",12),u.Sb(27,"perun-web-apps-refresh-button",13),u.Zb("refresh",(function(){return u.xc(t),u.dc().updateFormItems()})),u.Rb(),u.Hc(28,O,3,3,"button",14),u.Hc(29,D,5,4,"button",15),u.Hc(30,M,5,3,"button",16),u.Sb(31,"button",17),u.Zb("click",(function(){return u.xc(t),u.dc().preview()})),u.Sb(32,"i",18),u.Jc(33,"search"),u.Rb(),u.Jc(34),u.ec(35,"translate"),u.Rb(),u.Rb(),u.Hc(36,P,3,3,"app-alert",19),u.Sb(37,"app-application-form-list",20),u.Zb("applicationFormItemsChange",(function(){return u.xc(t),u.dc().changeItems()})),u.Rb(),u.Rb()}if(2&t){const t=u.dc();u.Ab(2),u.kc("ngClass",t.autoRegistrationEnabled?"w-75":"w-50"),u.Ab(2),u.Mc("",u.fc(5,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",t.applicationForm.moduleClassName," "),u.Ab(4),u.Kc(u.fc(9,21,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),u.Ab(5),u.Lc(" ",t.applicationForm.automaticApproval?u.fc(14,23,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.fc(15,25,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),u.Ab(5),u.Lc(" ",t.applicationForm.automaticApprovalExtension?u.fc(19,27,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.fc(20,29,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),u.Ab(3),u.kc("ngIf",t.autoRegistrationEnabled),u.Ab(1),u.kc("ngIf",t.voHasEmbeddedGroupApplication),u.Ab(2),u.kc("ngIf",t.editAuth),u.Ab(4),u.kc("ngIf",t.editAuth),u.Ab(1),u.kc("ngIf",t.editAuth),u.Ab(1),u.kc("ngIf",t.editAuth),u.Ab(4),u.Lc(" ",u.fc(35,31,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),u.Ab(2),u.kc("ngIf",t.editAuth),u.Ab(1),u.kc("loading",t.loading)("applicationForm",t.applicationForm)("applicationFormItems",t.applicationFormItems)("theme","group-theme")("displayedColumns",t.editAuth?u.oc(33,x):u.oc(34,N))}}function F(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",17),u.Zb("click",(function(){return u.xc(t),u.dc(2).createEmptyApplicationForm()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function z(t,e){if(1&t&&(u.Sb(0,"div"),u.Sb(1,"app-alert",29),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Hc(4,F,3,3,"button",30),u.Rb()),2&t){const t=u.dc();u.Ab(2),u.Kc(u.fc(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),u.Ab(2),u.kc("ngIf",t.createEmptyForm)}}let H=(()=>{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=Object(l.o)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(s.a,t).afterClosed().subscribe(e=>{e&&(this.applicationFormItems=Object.assign([],e[0]),t=Object(l.o)(),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.a,t),this.itemsChanged=!0)})}copy(){const t=Object(l.o)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(r.a,t).afterClosed().subscribe(t=>{t&&this.updateFormItems()})}settings(){const t=Object(l.o)();t.width="400px",t.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(a.a,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.Mb(c.l),u.Mb(h.a),u.Mb(d.b),u.Mb(n.l),u.Mb(p.e),u.Mb(n.b),u.Mb(h.f),u.Mb(n.h),u.Mb(c.h),u.Mb(c.c))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-group-settings-application-form"]],viewQuery:function(t,e){var i;1&t&&u.Qc(C,!0),2&t&&u.sc(i=u.ac())&&(e.autoRegToggle=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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.Sb(0,"h1",0),u.Jc(1),u.ec(2,"translate"),u.Rb(),u.Hc(3,R,1,0,"mat-spinner",1),u.Hc(4,L,38,35,"div",2),u.Hc(5,z,5,4,"div",2)),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),u.Ab(2),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading&&!e.noApplicationForm),u.Ab(1),u.kc("ngIf",!e.loading&&e.noApplicationForm))},directives:[f.t,g.c,f.q,b.a,m.a,A.a,y.a,w.b,v.a,_.a,S.r,S.u,E.a],pipes:[p.d],styles:[""]}),t})()},JVFj:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("EM62"),a=i("s2Ay"),c=i("2kYt"),l=i("PBFl"),u=i("csyo"),h=i("29Wa"),d=i("R7+U"),p=i("mFH5"),f=i("Cd2c"),g=i("nIj0");function b(t,e){1&t&&r.Nb(0,"mat-spinner",6)}function m(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div"),r.Jc(1),r.ec(2,"translate"),r.Sb(3,"mat-form-field",8),r.Sb(4,"textarea",17),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc(2).reason=e})),r.Rb(),r.Rb(),r.Rb()}if(2&t){const t=r.dc(2);r.Ab(1),r.Lc(" ",r.fc(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),r.Ab(3),r.kc("ngModel",t.reason)}}function A(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",7),r.Jc(1),r.ec(2,"translate"),r.Sb(3,"mat-form-field",8),r.Sb(4,"mat-select",9),r.Zb("valueChange",(function(e){return r.xc(t),r.dc().mailType=e})),r.Sb(5,"mat-option",10),r.Jc(6),r.ec(7,"translate"),r.Rb(),r.Sb(8,"mat-option",11),r.Jc(9),r.ec(10,"translate"),r.Rb(),r.Sb(11,"mat-option",12),r.Jc(12),r.ec(13,"translate"),r.Rb(),r.Sb(14,"mat-option",13),r.Jc(15),r.ec(16,"translate"),r.Rb(),r.Sb(17,"mat-option",14),r.Jc(18),r.ec(19,"translate"),r.Rb(),r.Sb(20,"mat-option",15),r.Jc(21),r.ec(22,"translate"),r.Rb(),r.Rb(),r.Rb(),r.Hc(23,m,5,4,"div",16),r.Rb()}if(2&t){const t=r.dc();r.Ab(1),r.Lc(" ",r.fc(2,9,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),r.Ab(3),r.kc("value",t.mailType),r.Ab(2),r.Kc(r.fc(7,11,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),r.Ab(3),r.Kc(r.fc(10,13,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),r.Ab(3),r.Kc(r.fc(13,15,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),r.Ab(3),r.Kc(r.fc(16,17,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),r.Ab(3),r.Kc(r.fc(19,19,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),r.Ab(3),r.Kc(r.fc(22,21,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),r.Ab(2),r.kc("ngIf","APP_REJECTED_USER"===t.mailType)}}let y=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.registrarManager=s,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)(r.Mb(n.i),r.Mb(n.a),r.Mb(a.e),r.Mb(s.l),r.Mb(o.l))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"div"),r.Sb(1,"h1",0),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,b,1,0,"mat-spinner",1),r.Hc(5,A,24,23,"div",2),r.Sb(6,"div",3),r.Sb(7,"button",4),r.Zb("click",(function(){return e.onCancel()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Sb(10,"button",5),r.Zb("click",(function(){return e.onSubmit()})),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Db("",e.theme,"}"),r.Ab(2),r.Kc(r.fc(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading),r.Ab(3),r.Lc(" ",r.fc(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),r.Ab(2),r.kc("disabled",e.loading),r.Ab(1),r.Lc(" ",r.fc(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[n.j,c.t,n.c,l.b,u.c,n.g,h.c,d.a,p.n,f.b,g.c,g.r,g.u],pipes:[a.d],styles:[""]}),t})()},Jb3d:function(t,e,i){"use strict";i.d(e,"a",(function(){return O})),i.d(e,"b",(function(){return x})),i.d(e,"c",(function(){return q})),i.d(e,"d",(function(){return K})),i.d(e,"e",(function(){return B}));var n=i("sg/T"),s=i("5XID"),o=i("fAiE"),r=i("EM62"),a=i("ZTXN"),c=i("bwdy"),l=i("g6G6"),u=i("ROBh"),h=i("vT4p"),d=i("jIqt"),p=i("TLy2"),f=i("J+dc"),g=i("xVbo"),b=i("kuMc"),m=i("BwBJ"),A=i("f7+R"),y=i("Sv/w"),w=i("2kYt"),v=i("mFH5"),_=i("HYj3"),S=i("cZZj"),E=i("qvOF"),C=i("E5oP");const R=["mat-menu-item",""],T=["*"];function k(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",0),r.Zb("keydown",(function(e){return r.xc(t),r.dc()._handleKeydown(e)}))("click",(function(){return r.xc(t),r.dc().closed.emit("click")}))("@transformMenu.start",(function(e){return r.xc(t),r.dc()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return r.xc(t),r.dc()._onAnimationDone(e)})),r.Sb(1,"div",1),r.ic(2),r.Rb(),r.Rb()}if(2&t){const t=r.dc();r.kc("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),r.Bb("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const I={transformMenu:Object(A.n)("transformMenu",[Object(A.k)("void",Object(A.l)({opacity:0,transform:"scale(0.8)"})),Object(A.m)("void => enter",Object(A.g)([Object(A.i)(".mat-menu-content, .mat-mdc-menu-content",Object(A.e)("100ms linear",Object(A.l)({opacity:1}))),Object(A.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(A.l)({transform:"scale(1)"}))])),Object(A.m)("* => void",Object(A.e)("100ms 25ms linear",Object(A.l)({opacity:0})))]),fadeInItems:Object(A.n)("fadeInItems",[Object(A.k)("showing",Object(A.l)({opacity:1})),Object(A.m)("void => *",[Object(A.l)({opacity:0}),Object(A.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let O=(()=>{class t{constructor(t,e,i,n,s,o,r){this._template=t,this._componentFactoryResolver=e,this._appRef=i,this._injector=n,this._viewContainerRef=s,this._document=o,this._changeDetectorRef=r,this._attached=new a.a}attach(t={}){this._portal||(this._portal=new y.j(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new y.f(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.M),r.Mb(r.j),r.Mb(r.g),r.Mb(r.s),r.Mb(r.Q),r.Mb(w.e),r.Mb(r.h))},t.\u0275dir=r.Hb({type:t,selectors:[["ng-template","matMenuContent",""]]}),t})();const D=new r.r("MAT_MENU_PANEL");class M{}const P=Object(v.z)(Object(v.A)(M));let x=(()=>{class t extends P{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new a.a,this._focused=new a.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}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(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let i="";if(t.childNodes){const n=t.childNodes.length;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.E,this._tabSubscription=c.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.o,this.close=this.closed,this.panelId="mat-menu-panel-"+L++}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(s.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(s.c)(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.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Object(d.a)(this._directDescendantItems),Object(p.a)(t=>Object(l.a)(...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(Object(d.a)(this._directDescendantItems),Object(p.a)(t=>Object(l.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case o.h:Object(o.t)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case o.j:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case o.n:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case o.i:case o.f:Object(o.t)(t)||(e===o.i?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault());break;default:e!==o.q&&e!==o.e||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(f.a)(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(Object(d.a)(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.Mb(r.l),r.Mb(r.A),r.Mb(N))},t.\u0275dir=r.Hb({type:t,contentQueries:function(t,e,i){var n;1&t&&(r.Fb(i,O,!0),r.Fb(i,x,!0),r.Fb(i,x,!1)),2&t&&(r.sc(n=r.ac())&&(e.lazyContent=n.first),r.sc(n=r.ac())&&(e._allItems=n),r.sc(n=r.ac())&&(e.items=n))},viewQuery:function(t,e){var i;1&t&&r.Qc(r.M,!0),2&t&&r.sc(i=r.ac())&&(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})(),z=(()=>{class t extends F{}return t.\u0275fac=function(e){return H(e||t)},t.\u0275dir=r.Hb({type:t,features:[r.xb]}),t})();const H=r.Ub(z);let B=(()=>{class t extends z{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(r.A),r.Mb(N))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[r.zb([{provide:D,useExisting:z},{provide:z,useExisting:t}]),r.xb],ngContentSelectors:T,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.jc(),r.Hc(0,k,3,6,"ng-template"))},directives:[w.q],styles:['.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.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:[I.transformMenu,I.fadeInItems]},changeDetection:0}),t})();const j=new r.r("mat-menu-scroll-strategy"),G={provide:j,deps:[_.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},U=Object(S.f)({passive:!0});let K=(()=>{class t{constructor(t,e,i,n,s,o,a,l){this._overlay=t,this._element=e,this._viewContainerRef=i,this._parentMenu=s,this._menuItemInstance=o,this._dir=a,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.a.EMPTY,this._hoverSubscription=c.a.EMPTY,this._menuCloseSubscription=c.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new r.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.o,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,U),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=n}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.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,U),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._parentMenu)}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="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof z?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(g.a)(t=>"void"===t.toState),Object(f.a)(1),Object(b.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_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 _.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",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._parentMenu?this._parentMenu.closed:Object(u.a)(),n=this._parentMenu?this._parentMenu._hovered().pipe(Object(g.a)(t=>t!==this._menuItemInstance),Object(g.a)(()=>this._menuOpen)):Object(u.a)();return Object(l.a)(t,i,n,e)}_handleMousedown(t){Object(n.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===o.n&&"ltr"===this.dir||e===o.j&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(g.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(m.a)(0,h.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof z&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(f.a)(1),Object(m.a)(0,h.a),Object(b.a)(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new y.j(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(_.c),r.Mb(r.l),r.Mb(r.Q),r.Mb(j),r.Mb(z,8),r.Mb(x,10),r.Mb(C.c,8),r.Mb(n.h))},t.\u0275dir=r.Hb({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.Zb("mousedown",(function(t){return e._handleMousedown(t)}))("keydown",(function(t){return e._handleKeydown(t)}))("click",(function(t){return e._handleClick(t)})),2&t&&r.Bb("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})(),V=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[G],imports:[v.i]}),t})(),q=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[G],imports:[[w.c,v.i,v.t,_.f,V],E.c,v.i,V]}),t})()},JjRu:function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("EM62"),s=i("nIj0"),o=i("FlRo"),r=i("2kYt"),a=i("OZ4H"),c=i("PBFl"),l=i("bFHC"),u=i("nKqi"),h=i("FcRk"),d=i("29Wa"),p=i("Cd2c"),f=i("s2Ay");function g(t,e){if(1&t&&(n.Sb(0,"div",14),n.Jc(1),n.ec(2,"translate"),n.ec(3,"translate"),n.Sb(4,"span",15),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Jc(7),n.ec(8,"translate"),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.Nc(" ",n.fc(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",n.fc(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",t.entityType," "),n.Ab(4),n.Kc(n.fc(6,10,"DIALOGS.DELETE_ENTITY.OR")),n.Ab(2),n.Mc(" ",t.entityType," ",n.fc(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function b(t,e){if(1&t&&(n.Sb(0,"div",14),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.Mc(" ",n.fc(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",t.entityType," ? ")}}function m(t,e){1&t&&n.Nb(0,"th",16)}function A(t,e){if(1&t&&(n.Sb(0,"td",17),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.name," ")}}function y(t,e){1&t&&n.Nb(0,"tr",18)}function w(t,e){1&t&&n.Nb(0,"tr",19)}function v(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",12),n.Zb("click",(function(){return n.xc(t),n.dc(2).force=!0})),n.Sb(1,"mat-icon"),n.Jc(2,"warning"),n.Rb(),n.Jc(3),n.ec(4,"translate"),n.ec(5,"translate"),n.Rb()}2&t&&(n.Ab(3),n.Mc(" ",n.fc(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.fc(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const _=function(){return["name"]};function S(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"h1",1),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"div",2),n.Hc(5,g,9,14,"div",3),n.Hc(6,b,3,4,"div",3),n.Sb(7,"table",4),n.Qb(8,5),n.Hc(9,m,1,0,"th",6),n.Hc(10,A,2,1,"td",7),n.Pb(),n.Hc(11,y,1,0,"tr",8),n.Hc(12,w,1,0,"tr",9),n.Rb(),n.Rb(),n.Sb(13,"div",10),n.Sb(14,"button",11),n.Zb("click",(function(){return n.xc(t),n.dc().onCancel()})),n.Jc(15),n.ec(16,"translate"),n.Rb(),n.Sb(17,"button",12),n.Zb("click",(function(){return n.xc(t),n.dc().onDelete()})),n.Jc(18),n.ec(19,"translate"),n.Rb(),n.Hc(20,v,6,6,"button",13),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(2),n.Mc("",n.fc(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",t.entityType,""),n.Ab(3),n.kc("ngIf",!t.disableForce),n.Ab(1),n.kc("ngIf",t.disableForce),n.Ab(1),n.kc("dataSource",t.entityNames),n.Ab(4),n.kc("matHeaderRowDef",n.oc(16,_)),n.Ab(1),n.kc("matRowDefColumns",n.oc(17,_)),n.Ab(3),n.Lc(" ",n.fc(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),n.Ab(2),n.kc("ngIf",!t.disableForce)}}function E(t,e){if(1&t&&(n.Sb(0,"mat-list-item"),n.Sb(1,"span"),n.Sb(2,"mat-icon",24),n.Jc(3,"fiber_manual_record"),n.Rb(),n.Jc(4),n.Rb(),n.Rb()),2&t){const t=e.$implicit;n.Ab(4),n.Lc(" ",t," ")}}function C(t,e){1&t&&n.Nb(0,"th",16)}function R(t,e){if(1&t&&(n.Sb(0,"td",17),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.name," ")}}function T(t,e){1&t&&n.Nb(0,"tr",18)}function k(t,e){1&t&&n.Nb(0,"tr",19)}function I(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"h1",1),n.Jc(2),n.ec(3,"translate"),n.ec(4,"translate"),n.Rb(),n.Sb(5,"div",2),n.Sb(6,"div",14),n.Jc(7),n.ec(8,"translate"),n.Sb(9,"mat-list"),n.Hc(10,E,5,1,"mat-list-item",20),n.Rb(),n.Sb(11,"app-alert",21),n.Jc(12),n.ec(13,"translate"),n.Rb(),n.Sb(14,"table",4),n.Qb(15,5),n.Hc(16,C,1,0,"th",6),n.Hc(17,R,2,1,"td",7),n.Pb(),n.Hc(18,T,1,0,"tr",8),n.Hc(19,k,1,0,"tr",9),n.Rb(),n.Rb(),n.Sb(20,"mat-form-field"),n.Nb(21,"input",22),n.ec(22,"translate"),n.Rb(),n.Rb(),n.Sb(23,"div",10),n.Sb(24,"button",11),n.Zb("click",(function(){return n.xc(t),n.dc().onCancel()})),n.Jc(25),n.ec(26,"translate"),n.Rb(),n.Sb(27,"button",23),n.Zb("click",(function(){return n.xc(t),n.dc().onDelete()})),n.Sb(28,"mat-icon"),n.Jc(29,"warning"),n.Rb(),n.Jc(30),n.ec(31,"translate"),n.ec(32,"translate"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(2),n.Nc("",n.fc(3,16,"DIALOGS.DELETE_ENTITY.DELETE")," ",t.entityType," ",n.fc(4,18,"DIALOGS.DELETE_ENTITY.RELATIONS"),""),n.Ab(5),n.Lc(" ",n.fc(8,20,"DIALOGS.DELETE_ENTITY.WARN"),": "),n.Ab(3),n.kc("ngForOf",t.relations),n.Ab(2),n.Mc(" ",n.fc(13,22,"DIALOGS.DELETE_ENTITY.ASK")," ",t.entityType," ? "),n.Ab(2),n.kc("dataSource",t.entityNames),n.Ab(4),n.kc("matHeaderRowDef",n.oc(32,_)),n.Ab(1),n.kc("matRowDefColumns",n.oc(33,_)),n.Ab(2),n.lc("placeholder",n.fc(22,24,"DIALOGS.DELETE_ENTITY.CONTROL")),n.kc("formControl",t.deleteControl),n.Ab(4),n.Lc(" ",n.fc(26,26,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.Ab(2),n.kc("disabled",t.deleteControl.invalid),n.Ab(3),n.Mc(" ",n.fc(31,28,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.fc(32,30,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let O=(()=>{class t{constructor(){this.entityNames=new o.o,this.relations=[],this.disableForce=!1,this.deleted=new n.o,this.loading=!1,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new s.g("",[s.F.required,s.F.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.Gb({type:t,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",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.Hc(0,S,21,18,"div",0),n.Hc(1,I,33,34,"div",0)),2&t&&(n.kc("ngIf",!e.force),n.Ab(1),n.kc("ngIf",e.force))},directives:[r.t,a.j,a.g,o.n,o.c,o.i,o.b,o.k,o.m,a.c,c.b,o.h,o.a,o.j,o.l,l.a,u.a,r.s,h.a,d.c,p.b,s.c,s.r,s.h,u.d],pipes:[f.d],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),t})()},K9kF:function(t,e,i){"use strict";i.d(e,"a",(function(){return Y}));var n=i("EM62"),s=i("cePI"),o=i("FlRo"),r=i("cqs0"),a=i("iAde"),c=i("X2Q7"),l=i("8clQ"),u=i("+0js"),h=i("Ssnw"),d=i("2kYt"),p=i("OZ4H"),f=i("9wx0"),g=i("+Tre"),b=i("Y2X+"),m=i("Ds80"),A=i("PBFl"),y=i("bFHC"),w=i("XpU2"),v=i("sEIs"),_=i("TQS+"),S=i("FcRk"),E=i("s2Ay"),C=i("SAuR"),R=i("OcHD");function T(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-checkbox",24),n.Zb("change",(function(e){n.xc(t);const i=n.dc(2);return e?i.masterToggle():null})),n.Rb()}if(2&t){const t=n.dc(2);n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function k(t,e){if(1&t&&(n.Sb(0,"th",22),n.Hc(1,T,1,3,"mat-checkbox",23),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("ngIf",!t.disableHeadCheckbox)}}function I(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",25),n.Sb(1,"span",26),n.ec(2,"translate"),n.Sb(3,"mat-checkbox",27),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.itemSelectionToggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.lc("matTooltip",n.fc(2,6,i.getCheckboxTooltipMessage(t))),n.kc("matTooltipPosition","above")("matTooltipDisabled",!i.disableSelect(t)),n.Ab(2),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","members"===t.name&&i.disableMembers||i.disableSelect(t))}}function O(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")))}function D(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function M(t,e){1&t&&n.Nb(0,"th",22)}function P(t,e){if(1&t&&(n.Sb(0,"td",29),n.Nb(1,"perun-web-apps-recently-viewed-icon",30),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("recentIds",i.recentIds)("id",t.id)}}function x(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")))}function N(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.Kc(i.voNames.get(t.voId))}}function L(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")))}function F(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function z(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")))}function H(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.description)}}function B(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")))}function j(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",33),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().changeExpiration(e)}))("mouseenter",(function(){return n.xc(t),n.dc(2).disabledRouting=!0}))("mouseleave",(function(){n.xc(t);const e=n.dc(2);return e.disabledRouting=e.disableRouting})),n.Sb(1,"mat-icon"),n.Jc(2,"edit"),n.Rb(),n.Rb()}}function G(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.ec(2,"parseDate"),n.ec(3,"groupExpiration"),n.Hc(4,j,3,0,"button",32),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.Lc(" ",n.fc(2,2,n.fc(3,4,t))," "),n.Ab(3),n.kc("ngIf",i.canManageGroup(t))}}function U(t,e){1&t&&n.Nb(0,"th",22)}function K(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",29),n.Sb(1,"perun-web-apps-group-menu",34),n.Zb("mouseenter",(function(){return n.xc(t),n.dc().disabledRouting=!0}))("mouseleave",(function(){n.xc(t);const e=n.dc();return e.disabledRouting=e.disableRouting}))("moveGroup",(function(){n.xc(t);const i=e.$implicit;return n.dc().onMoveGroup(i)}))("changeNameDescription",(function(){n.xc(t);const i=e.$implicit;return n.dc().onChangeNameDescription(i)}))("syncGroup",(function(){n.xc(t);const i=e.$implicit;return n.dc().onSyncDetail(i)})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("disabled","members"===t.name)("displayButtons",i.displayButtons)("group",t)}}function V(t,e){1&t&&n.Nb(0,"tr",35)}const q=function(t,e){return["/organizations",t,"groups",e]};function J(t,e){if(1&t&&n.Nb(0,"tr",36),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting&&!i.groupsToDisable.has(t.id))("disable-outline",i.disabledRouting||i.groupsToDisable.has(t.id)),n.kc("routerLink",i.disabledRouting||i.groupsToDisable.has(t.id)?null:n.qc(6,q,t.voId,t.id))("perunWebAppsMiddleClickRouterLink",i.disabledRouting||i.groupsToDisable.has(t.id)?null:n.qc(9,q,t.voId,t.id))}}function W(t,e){1&t&&(n.Sb(0,"app-alert",37),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function Z(t,e){1&t&&(n.Sb(0,"app-alert",37),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Y=(()=>{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.o,this.groups=[],this.selection=new r.c(!0,[]),this.hasMembersGroup=!1,this.hideColumns=[],this.groupsToDisable=new Set,this.pageSize=10,this.filter="",this.disableRouting=!1,this.pageSizeOptions=l.a,this.recentIds=[],this.page=new n.o,this.refreshTable=new n.o,this.displayedColumns=["select","id","recent","vo","name","description","expiration","menu"],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,this.setDataSource()}set matPaginator(t){this.paginator=t}shouldHideButtons(){this.displayButtons=window.innerWidth>800}ngOnInit(){this.shouldHideButtons()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.dataSource=new o.o(this.groups),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 n=Object(l.q)(t);return Object(l.u)(n);case"recent":return"";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 n=Object(l.q)(t);return n&&"never"!==n.toLowerCase()?Object(d.I)(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;default:return t[e]}}exportData(t){Object(l.i)(Object(l.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(l.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(l.g)(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.filter=this.filter,this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.paginator.hasNextPage(),this.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.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.dataSource.paginator=this.paginator}onMoveGroup(t){this.moveGroup.emit(t)}onSyncDetail(t){const e=Object(l.o)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(u.i,e)}onChangeNameDescription(t){const e=Object(l.o)();e.data={theme:"group-theme",group:t,dialogType:u.h.GROUP},this.dialog.open(u.g,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}pageChanged(t){this.page.emit(t)}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.hideColumns.includes("vo")||this.groups.forEach(t=>{this.voIds.has(t.voId)||(this.voIds.add(t.voId),this.voService.getVoById(t.voId).subscribe(e=>{this.voNames.set(t.voId,e.name)}))})}changeExpiration(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName),i=Object(l.o)();i.width="400px",i.data={memberId:this.memberId,groupId:t.id,expirationAttr:e,mode:"group"},this.dialog.open(u.d,i).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}canManageGroup(t){return this.authResolver.isThisGroupAdmin(t.id)||this.authResolver.isThisVoAdmin(t.voId)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(p.b),n.Mb(h.h),n.Mb(c.r),n.Mb(h.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(s.a,!0),n.Dc(a.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},hostBindings:function(t,e){1&t&&n.Zb("resize",(function(t){return e.shouldHideButtons(t)}),!1,n.wc)},inputs:{theme:"theme",groups:"groups",selection:"selection",hideColumns:"hideColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisable:"groupsToDisable",pageSize:"pageSize",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds"},outputs:{moveGroup:"moveGroup",page:"page",refreshTable:"refreshTable"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","description"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,k,2,1,"th",6),n.Hc(7,I,4,8,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,O,3,3,"th",9),n.Hc(10,D,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,M,1,0,"th",6),n.Hc(13,P,2,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,x,3,3,"th",9),n.Hc(16,N,2,1,"td",7),n.Pb(),n.Qb(17,13),n.Hc(18,L,3,3,"th",9),n.Hc(19,F,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,z,3,3,"th",9),n.Hc(22,H,2,1,"td",15),n.Pb(),n.Qb(23,16),n.Hc(24,B,3,3,"th",9),n.Hc(25,G,5,6,"td",15),n.Pb(),n.Qb(26,17),n.Hc(27,U,1,0,"th",6),n.Hc(28,K,2,3,"td",11),n.Pb(),n.Hc(29,V,1,0,"tr",18),n.Hc(30,J,1,12,"tr",19),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",20),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,W,3,3,"app-alert",21),n.Hc(33,Z,3,3,"app-alert",21)),2&t&&(n.kc("hidden",0===e.groups.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.groups.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.groups.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.groups.length))},directives:[f.a,o.n,s.a,o.c,o.i,o.b,o.k,o.m,a.a,d.t,o.h,g.a,o.a,b.a,s.b,m.a,A.b,y.a,w.a,o.j,o.l,v.g,_.c,S.a],pipes:[E.d,C.a,R.a],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})()},KF6X:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("FlRo"),s=i("EM62"),o=i("Meci"),r=i("s2Ay");function a(t,e){1&t&&s.Nb(0,"th",9)}function c(t,e){if(1&t&&(s.Sb(0,"td",10),s.Jc(1),s.Rb()),2&t){const t=e.$implicit;s.Ab(1),s.Lc(" ",t,": ")}}function l(t,e){1&t&&s.Nb(0,"th",9)}function u(t,e){if(1&t&&(s.Sb(0,"td",11),s.Jc(1),s.Rb()),2&t){const t=e.$implicit,i=s.dc();s.Ab(1),s.Lc(" ",i.statistics.get(t.toLowerCase())," ")}}function h(t,e){1&t&&s.Nb(0,"tr",12)}let d=(()=>{class t{constructor(){this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}ngOnInit(){this.dataSource=new n.o(this.rowNames)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"mat-card",0),s.Sb(1,"mat-card-header"),s.Sb(2,"mat-card-title"),s.Sb(3,"h1",1),s.Jc(4),s.ec(5,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Sb(6,"mat-card-content"),s.Sb(7,"table",2),s.Qb(8,3),s.Hc(9,a,1,0,"th",4),s.Hc(10,c,2,1,"td",5),s.Pb(),s.Qb(11,6),s.Hc(12,l,1,0,"th",4),s.Hc(13,u,2,1,"td",7),s.Pb(),s.Hc(14,h,1,0,"tr",8),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(4),s.Kc(s.fc(5,3,e.title)),s.Ab(3),s.kc("dataSource",e.dataSource),s.Ab(7),s.kc("matRowDefColumns",e.displayedColumns))},directives:[o.a,o.f,o.m,o.d,n.n,n.c,n.i,n.b,n.m,n.h,n.a,n.l],pipes:[r.d],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0;display:inline-block;vertical-align:top}"]}),t})()},KQGD:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),s=i("LAw4"),o=i("s2Ay");let r=(()=>{class t{constructor(){this.facilitySelected=new n.o,this.nameFunction=t=>t.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.facilitySelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.facilities)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",n.fc(1,6,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.SELECT_FACILITY"))("findPlaceholder",n.fc(2,8,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.FIND_FACILITY"))("noEntriesText",n.fc(3,10,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.NO_FACILITY_FOUND"))},directives:[s.a],pipes:[o.d],styles:[""]}),t})()},KRZI:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("FU6l");function s(t){return!Object(n.a)(t)&&t-parseFloat(t)+1>=0}},KSio:function(t,e,i){"use strict";i.d(e,"a",(function(){return $}));var n=i("Ssnw"),s=i("X2Q7"),o=i("EM62"),r=i("sEIs"),a=i("2kYt"),c=i("csyo"),l=i("0XDM"),u=i("KZIX"),h=i("FlRo"),d=i("3Uyd"),p=i("zmEM"),f=i("s2Ay");function g(t,e){if(1&t&&(o.Sb(0,"mat-panel-description"),o.Sb(1,"div"),o.Sb(2,"i",7),o.Jc(3," error "),o.Rb(),o.Jc(4),o.ec(5,"translate"),o.ec(6,"translate"),o.Rb(),o.Rb()),2&t){const t=o.dc().$implicit,e=o.dc();o.Ab(4),o.Oc(" ",e.getErrorCountStates(t)," ",o.fc(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",t.taskList.length," ",o.fc(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function b(t,e){1&t&&(o.Sb(0,"th",20),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")))}function m(t,e){if(1&t&&(o.Sb(0,"td",21),o.Jc(1),o.Rb()),2&t){const t=e.$implicit;o.Ab(1),o.Kc(t.id)}}function A(t,e){1&t&&(o.Sb(0,"th",20),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")))}function y(t,e){if(1&t&&(o.Sb(0,"td",21),o.Jc(1),o.Rb()),2&t){const t=e.$implicit;o.Ab(1),o.Kc(t.service.name)}}function w(t,e){1&t&&(o.Sb(0,"th",20),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")))}function v(t,e){if(1&t&&(o.Sb(0,"td",21),o.Jc(1),o.Rb()),2&t){const t=e.$implicit;o.Ab(1),o.Kc(t.status)}}function _(t,e){1&t&&(o.Sb(0,"th",20),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")))}function S(t,e){if(1&t&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"date"),o.Rb()),2&t){const t=o.dc().$implicit;o.Ab(1),o.Lc(" ",o.gc(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function E(t,e){1&t&&(o.Jc(0),o.ec(1,"translate")),2&t&&o.Lc(" ",o.fc(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function C(t,e){if(1&t&&(o.Sb(0,"td",21),o.Hc(1,S,3,4,"div",22),o.Hc(2,E,2,3,"ng-template",23,24,o.Ic),o.Rb()),2&t){const t=e.$implicit,i=o.tc(3);o.Ab(1),o.kc("ngIf",t.schedule)("ngIfElse",i)}}function R(t,e){1&t&&(o.Sb(0,"th",20),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")))}function T(t,e){if(1&t&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"date"),o.Rb()),2&t){const t=o.dc().$implicit;o.Ab(1),o.Lc(" ",o.gc(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function k(t,e){1&t&&(o.Jc(0),o.ec(1,"translate")),2&t&&o.Lc(" ",o.fc(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function I(t,e){if(1&t&&(o.Sb(0,"td",21),o.Hc(1,T,3,4,"div",22),o.Hc(2,k,2,3,"ng-template",23,24,o.Ic),o.Rb()),2&t){const t=e.$implicit,i=o.tc(3);o.Ab(1),o.kc("ngIf",t.startTime)("ngIfElse",i)}}function O(t,e){1&t&&(o.Sb(0,"th",20),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")))}function D(t,e){if(1&t&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"date"),o.Rb()),2&t){const t=o.dc().$implicit;o.Ab(1),o.Lc(" ",o.gc(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function M(t,e){1&t&&(o.Jc(0),o.ec(1,"translate")),2&t&&o.Lc(" ",o.fc(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function P(t,e){if(1&t&&(o.Sb(0,"td",21),o.Hc(1,D,3,4,"div",22),o.Hc(2,M,2,3,"ng-template",23,24,o.Ic),o.Rb()),2&t){const t=e.$implicit,i=o.tc(3);o.Ab(1),o.kc("ngIf",t.endTime)("ngIfElse",i)}}function x(t,e){1&t&&o.Nb(0,"tr",25)}const N=function(t,e,i){return{redTableItem:t,greenTableItem:e,yellowTableItem:i}};function L(t,e){if(1&t&&o.Nb(0,"tr",26),2&t){const t=e.$implicit;o.kc("ngClass",o.rc(1,N,"ERROR"===t.status||"SENDERROR"===t.status||"GENERROR"===t.status,"DONE"===t.status,"WARNING"===t.status))}}function F(t,e){if(1&t&&(o.Sb(0,"table",9),o.Qb(1,10),o.Hc(2,b,3,3,"th",11),o.Hc(3,m,2,1,"td",12),o.Pb(),o.Qb(4,13),o.Hc(5,A,3,3,"th",11),o.Hc(6,y,2,1,"td",12),o.Pb(),o.Qb(7,14),o.Hc(8,w,3,3,"th",11),o.Hc(9,v,2,1,"td",12),o.Pb(),o.Qb(10,15),o.Hc(11,_,3,3,"th",11),o.Hc(12,C,4,2,"td",12),o.Pb(),o.Qb(13,16),o.Hc(14,R,3,3,"th",11),o.Hc(15,I,4,2,"td",12),o.Pb(),o.Qb(16,17),o.Hc(17,O,3,3,"th",11),o.Hc(18,P,4,2,"td",12),o.Pb(),o.Hc(19,x,1,0,"tr",18),o.Hc(20,L,1,5,"tr",19),o.Rb()),2&t){const t=o.dc(2).$implicit,e=o.dc();o.kc("dataSource",e.datasources[e.propagation.indexOf(t)]),o.Ab(19),o.kc("matHeaderRowDef",e.displayedColumns),o.Ab(1),o.kc("matRowDefColumns",e.displayedColumns)}}function z(t,e){1&t&&(o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function H(t,e){if(1&t&&(o.Nb(0,"mat-divider"),o.Hc(1,F,21,3,"table",8),o.Hc(2,z,3,3,"div",5)),2&t){const t=o.dc().$implicit;o.Ab(1),o.kc("ngIf",0!==t.taskList.length),o.Ab(1),o.kc("ngIf",0===t.taskList.length)}}function B(t,e){if(1&t&&(o.Sb(0,"mat-expansion-panel"),o.Sb(1,"mat-expansion-panel-header"),o.Sb(2,"mat-panel-title"),o.Nb(3,"img",3),o.Sb(4,"div",4),o.Jc(5),o.Rb(),o.Rb(),o.Hc(6,g,7,8,"mat-panel-description",5),o.Rb(),o.Hc(7,H,3,2,"ng-template",6),o.Rb()),2&t){const t=e.$implicit,i=o.dc();o.Ab(5),o.Lc(" ",t.resource.name," "),o.Ab(1),o.kc("ngIf",0!==i.getErrorCountStates(t))}}let j=(()=>{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.o(t.taskList))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({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.Sb(0,"div",0),o.Sb(1,"mat-accordion",1),o.Hc(2,B,8,2,"mat-expansion-panel",2),o.Rb(),o.Rb()),2&t&&(o.Ab(2),o.kc("ngForOf",e.propagation))},directives:[d.a,a.s,d.c,d.g,d.h,a.t,d.e,d.f,p.a,h.n,h.c,h.i,h.b,h.k,h.m,h.h,h.a,h.j,h.l,a.q],pipes:[f.d,a.f],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 G=i("FcRk");function U(t,e){1&t&&o.Nb(0,"mat-spinner",3)}function K(t,e){if(1&t&&(o.Jc(0),o.ec(1,"translate"),o.Sb(2,"span",8),o.Jc(3),o.Rb()),2&t){const t=o.dc(2);o.Lc(" ",o.fc(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),o.Ab(3),o.Kc(t.errorPropagation.length)}}function V(t,e){1&t&&(o.Sb(0,"app-alert",11),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.kc("alert_type","warn"),o.Ab(1),o.Lc(" ",o.fc(2,2,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function q(t,e){if(1&t&&(o.Hc(0,V,3,4,"app-alert",9),o.Nb(1,"app-state-tab",10)),2&t){const t=o.dc(2);o.kc("ngIf",0===t.errorPropagation.length),o.Ab(1),o.kc("propagation",t.errorPropagation)}}function J(t,e){if(1&t&&(o.Jc(0),o.ec(1,"translate"),o.Sb(2,"span",12),o.Jc(3),o.Rb()),2&t){const t=o.dc(2);o.Lc(" ",o.fc(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),o.Ab(3),o.Kc(t.okPropagation.length)}}function W(t,e){1&t&&(o.Sb(0,"app-alert",14),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function Z(t,e){if(1&t&&(o.Hc(0,W,3,3,"app-alert",13),o.Nb(1,"app-state-tab",10)),2&t){const t=o.dc(2);o.kc("ngIf",0===t.okPropagation.length),o.Ab(1),o.kc("propagation",t.okPropagation)}}function Y(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div"),o.Sb(1,"perun-web-apps-refresh-button",4),o.Zb("refresh",(function(){return o.xc(t),o.dc().refreshTable()})),o.Rb(),o.Sb(2,"mat-tab-group",5),o.Zb("selectedIndexChange",(function(e){return o.xc(t),o.dc().selectedIndex=e})),o.Sb(3,"mat-tab"),o.Hc(4,K,4,4,"ng-template",6),o.Hc(5,q,2,2,"ng-template",7),o.Rb(),o.Sb(6,"mat-tab"),o.Hc(7,J,4,4,"ng-template",6),o.Hc(8,Z,2,2,"ng-template",7),o.Rb(),o.Rb(),o.Rb()}if(2&t){const t=o.dc();o.Ab(2),o.kc("selectedIndex",t.selectedIndex)}}let $=(()=>{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.Mb(r.a),o.Mb(s.o),o.Mb(n.e))},t.\u0275cmp=o.Gb({type:t,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(t,e){2&t&&o.Eb("router-component",!0)},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.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Hc(3,U,1,0,"mat-spinner",1),o.Hc(4,Y,9,1,"div",2)),2&t&&(o.Ab(1),o.Kc(o.fc(2,3,"VO_DETAIL.RESOURCES.STATES.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading))},directives:[a.t,c.c,l.a,u.c,u.a,u.d,u.b,j,G.a],pipes:[f.d],styles:[""]}),t})()},KTx3:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("IdLP"),s=i("FU6l"),o=i("IJgj"),r=i("YtkY");function a(t,e,i,c){return Object(o.a)(i)&&(c=i,i=void 0),c?a(t,e,i).pipe(Object(r.a)(t=>Object(s.a)(t)?c(...t):c(t))):new n.a(n=>{!function t(e,i,n,s,o){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(i,n,o),r=()=>t.removeEventListener(i,n,o)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(i,n),r=()=>t.off(i,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(i,n),r=()=>t.removeListener(i,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let r=0,a=e.length;r1?Array.prototype.slice.call(arguments):t)}),n,i)})}},KZIX:function(t,e,i){"use strict";i.d(e,"a",(function(){return Y})),i.d(e,"b",(function(){return K})),i.d(e,"c",(function(){return at})),i.d(e,"d",(function(){return V})),i.d(e,"e",(function(){return wt})),i.d(e,"f",(function(){return bt})),i.d(e,"g",(function(){return vt}));var n=i("sg/T"),s=i("TKFd"),o=i("Sv/w"),r=i("2kYt"),a=i("EM62"),c=i("mFH5"),l=i("5lCh"),u=i("ZTXN"),h=i("bwdy"),d=i("g6G6"),p=i("KTx3"),f=i("ROBh"),g=i("8lHc"),b=i("f7+R"),m=i("jIqt"),A=i("Ohay"),y=i("kuMc"),w=i("5XID"),v=i("cZZj"),_=i("fAiE"),S=i("E5oP"),E=i("qvOF");function C(t,e){1&t&&a.ic(0)}const R=["*"];function T(t,e){}const k=function(t){return{animationDuration:t}},I=function(t,e){return{value:t,params:e}},O=["tabBodyWrapper"],D=["tabHeader"];function M(t,e){}function P(t,e){if(1&t&&a.Hc(0,M,0,0,"ng-template",9),2&t){const t=a.dc().$implicit;a.kc("cdkPortalOutlet",t.templateLabel)}}function x(t,e){if(1&t&&a.Jc(0),2&t){const t=a.dc().$implicit;a.Kc(t.textLabel)}}function N(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",6),a.Zb("click",(function(){a.xc(t);const i=e.$implicit,n=e.index,s=a.dc(),o=a.tc(1);return s._handleClick(i,o,n)})),a.Sb(1,"div",7),a.Hc(2,P,1,1,"ng-template",8),a.Hc(3,x,1,1,"ng-template",8),a.Rb(),a.Rb()}if(2&t){const t=e.$implicit,i=e.index,n=a.dc();a.Eb("mat-tab-label-active",n.selectedIndex==i),a.kc("id",n._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||n.disableRipple),a.Bb("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.Ab(2),a.kc("ngIf",t.templateLabel),a.Ab(1),a.kc("ngIf",!t.templateLabel)}}function L(t,e){if(1&t){const t=a.Tb();a.Sb(0,"mat-tab-body",10),a.Zb("_onCentered",(function(){return a.xc(t),a.dc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(e){return a.xc(t),a.dc()._setTabBodyWrapperHeight(e)})),a.Rb()}if(2&t){const t=e.$implicit,i=e.index,n=a.dc();a.Eb("mat-tab-body-active",n.selectedIndex==i),a.kc("id",n._getTabContentId(i))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",n.animationDuration),a.Bb("aria-labelledby",n._getTabLabelId(i))}}const F=["tabListContainer"],z=["tabList"],H=["nextPaginator"],B=["previousPaginator"],j=["mat-tab-nav-bar",""],G=new a.r("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.Mb(a.l),a.Mb(a.A),a.Mb(G),a.Mb(l.a,8))},t.\u0275dir=a.Hb({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&a.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})(),K=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.M))},t.\u0275dir=a.Hb({type:t,selectors:[["","matTabContent",""]]}),t})(),V=(()=>{class t extends o.b{}return t.\u0275fac=function(e){return q(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[a.xb]}),t})();const q=a.Ub(V);class J{}const W=Object(c.A)(J),Z=new a.r("MAT_TAB_GROUP");let Y=(()=>{class t extends W{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new u.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){t&&(this._templateLabel=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.j(this._explicitContent||this._implicitContent,this._viewContainerRef)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.Q),a.Mb(Z,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){var n;1&t&&(a.Fb(i,V,!0),a.Cc(i,K,!0,a.M)),2&t&&(a.sc(n=a.ac())&&(e.templateLabel=n.first),a.sc(n=a.ac())&&(e._explicitContent=n.first))},viewQuery:function(t,e){var i;1&t&&a.Dc(a.M,!0),2&t&&a.sc(i=a.ac())&&(e._implicitContent=i.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[a.xb,a.yb],ngContentSelectors:R,decls:1,vars:0,template:function(t,e){1&t&&(a.jc(),a.Hc(0,C,1,0,"ng-template"))},encapsulation:2}),t})();const $={translateTab:Object(b.n)("translateTab",[Object(b.k)("center, void, left-origin-center, right-origin-center",Object(b.l)({transform:"none"})),Object(b.k)("left",Object(b.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(b.k)("right",Object(b.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(b.m)("* => left, * => right, left => center, right => center",Object(b.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(b.m)("void => left-origin-center",[Object(b.l)({transform:"translate3d(-100%, 0, 0)"}),Object(b.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(b.m)("void => right-origin-center",[Object(b.l)({transform:"translate3d(100%, 0, 0)"}),Object(b.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let X=(()=>{class t extends o.c{constructor(t,e,i,n){super(t,e,n),this._host=i,this._centeringSub=h.a.EMPTY,this._leavingSub=h.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(m.a)(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.Mb(a.j),a.Mb(a.Q),a.Mb(Object(a.U)(()=>tt)),a.Mb(r.e))},t.\u0275dir=a.Hb({type:t,selectors:[["","matTabBodyHost",""]],features:[a.xb]}),t})(),Q=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.a.EMPTY,this._translateTabComplete=new u.a,this._onCentering=new a.o,this._beforeCentering=new a.o,this._afterLeavingCenter=new a.o,this._onCentered=new a.o(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe(Object(A.a)((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.Mb(a.l),a.Mb(S.c,8),a.Mb(a.h))},t.\u0275dir=a.Hb({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 Q{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(S.c,8),a.Mb(a.h))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var i;1&t&&a.Qc(o.g,!0),2&t&&a.sc(i=a.ac())&&(e._portalHost=i.first)},hostAttrs:[1,"mat-tab-body"],features:[a.xb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(a.Sb(0,"div",0,1),a.Zb("@translateTab.start",(function(t){return e._onTranslateTabStarted(t)}))("@translateTab.done",(function(t){return e._translateTabComplete.next(t)})),a.Hc(2,T,0,0,"ng-template",2),a.Rb()),2&t&&a.kc("@translateTab",a.qc(3,I,e._position,a.pc(1,k,e.animationDuration)))},directives:[X],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:[$.translateTab]}}),t})();const et=new a.r("MAT_TABS_CONFIG");let it=0;class nt{}class st{constructor(t){this._elementRef=t}}const ot=Object(c.y)(Object(c.z)(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.E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.a.EMPTY,this._tabLabelSubscription=h.a.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new a.o,this.focusChange=new a.o,this.animationDone=new a.o,this.selectedTabChange=new a.o(!0),this._groupId=it++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(w.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(w.f)(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;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,i)=>e.isActive=i===t),e||this.selectedIndexChange.emit(t)})}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||t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_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=Object(d.a)(...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}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(a.h),a.Mb(et,8),a.Mb(l.a,8))},t.\u0275dir=a.Hb({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.xb]}),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.Mb(a.l),a.Mb(a.h),a.Mb(et,8),a.Mb(l.a,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,i){var n;1&t&&a.Fb(i,Y,!0),2&t&&a.sc(n=a.ac())&&(e._allTabs=n)},viewQuery:function(t,e){var i;1&t&&(a.Qc(O,!0),a.Qc(D,!0)),2&t&&(a.sc(i=a.ac())&&(e._tabBodyWrapper=i.first),a.sc(i=a.ac())&&(e._tabHeader=i.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&a.Eb("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[a.zb([{provide:Z,useExisting:t}]),a.xb],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",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"],[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.Sb(0,"mat-tab-header",0,1),a.Zb("indexFocused",(function(t){return e._focusChanged(t)}))("selectFocusedIndex",(function(t){return e.selectedIndex=t})),a.Hc(2,N,4,14,"div",2),a.Rb(),a.Sb(3,"div",3,4),a.Hc(5,L,1,8,"mat-tab-body",5),a.Rb()),2&t&&(a.kc("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),a.Ab(2),a.kc("ngForOf",e._tabs),a.Ab(1),a.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.Ab(2),a.kc("ngForOf",e._tabs))},directives:function(){return[ft,r.s,ut,c.s,n.e,r.t,o.c,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=Object(c.A)(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.Mb(a.l))},t.\u0275dir=a.Hb({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(a.Bb("aria-disabled",!!e.disabled),a.Eb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[a.xb]}),t})();const ht=Object(v.f)({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.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.o,this.indexFocused=new a.o,s.runOutsideAngular(()=>{Object(p.a)(t.nativeElement,"mouseleave").pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(w.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){Object(p.a)(this._previousPaginator.nativeElement,"touchstart",ht).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(p.a)(this._nextPaginator.nativeElement,"touchstart",ht).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(f.a)(null),e=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(d.a)(t,e,this._items.changes).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{Promise.resolve().then(i),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(y.a)(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(!Object(_.t)(t))switch(t.keyCode){case _.i:this._keyManager.setFirstItemActive(),t.preventDefault();break;case _.f:this._keyManager.setLastItemActive(),t.preventDefault();break;case _.g:case _.o: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=this._platform,i="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,e&&(e.TRIDENT||e.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(),Object(g.a)(650,100).pipe(Object(y.a)(Object(d.a)(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.Mb(a.l),a.Mb(a.h),a.Mb(E.h),a.Mb(S.c,8),a.Mb(a.A),a.Mb(v.a),a.Mb(l.a,8))},t.\u0275dir=a.Hb({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=Object(w.c)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(a.h),a.Mb(E.h),a.Mb(S.c,8),a.Mb(a.A),a.Mb(v.a),a.Mb(l.a,8))},t.\u0275dir=a.Hb({type:t,inputs:{disableRipple:"disableRipple"},features:[a.xb]}),t})(),ft=(()=>{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.Mb(a.l),a.Mb(a.h),a.Mb(E.h),a.Mb(S.c,8),a.Mb(a.A),a.Mb(v.a),a.Mb(l.a,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){var n;1&t&&a.Fb(i,ut,!1),2&t&&a.sc(n=a.ac())&&(e._items=n)},viewQuery:function(t,e){var i;1&t&&(a.Dc(U,!0),a.Dc(F,!0),a.Dc(z,!0),a.Qc(H,!0),a.Qc(B,!0)),2&t&&(a.sc(i=a.ac())&&(e._inkBar=i.first),a.sc(i=a.ac())&&(e._tabListContainer=i.first),a.sc(i=a.ac())&&(e._tabList=i.first),a.sc(i=a.ac())&&(e._nextPaginator=i.first),a.sc(i=a.ac())&&(e._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&a.Eb("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.xb],ngContentSelectors:R,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.jc(),a.Sb(0,"div",0,1),a.Zb("click",(function(){return e._handlePaginatorClick("before")}))("mousedown",(function(t){return e._handlePaginatorPress("before",t)}))("touchend",(function(){return e._stopInterval()})),a.Nb(2,"div",2),a.Rb(),a.Sb(3,"div",3,4),a.Zb("keydown",(function(t){return e._handleKeydown(t)})),a.Sb(5,"div",5,6),a.Zb("cdkObserveContent",(function(){return e._onContentChanges()})),a.Sb(7,"div",7),a.ic(8),a.Rb(),a.Nb(9,"mat-ink-bar"),a.Rb(),a.Rb(),a.Sb(10,"div",8,9),a.Zb("mousedown",(function(t){return e._handlePaginatorPress("after",t)}))("click",(function(){return e._handlePaginatorClick("after")}))("touchend",(function(){return e._stopInterval()})),a.Nb(12,"div",2),a.Rb()),2&t&&(a.Eb("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.kc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.Ab(5),a.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.Ab(5),a.Eb("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.kc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[c.s,s.a,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})(),gt=(()=>{class t extends dt{constructor(t,e,i,n,s,o,r){super(t,n,s,e,i,o,r),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(w.c)(t)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Object(m.a)(null),Object(y.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(t){if(!this._items)return;const e=this._items.toArray();for(let i=0;i{class t extends gt{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.Mb(a.l),a.Mb(S.c,8),a.Mb(a.A),a.Mb(a.h),a.Mb(E.h),a.Mb(v.a,8),a.Mb(l.a,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,e,i){var n;1&t&&a.Fb(i,wt,!0),2&t&&a.sc(n=a.ac())&&(e._items=n)},viewQuery:function(t,e){var i;1&t&&(a.Dc(U,!0),a.Dc(F,!0),a.Dc(z,!0),a.Qc(H,!0),a.Qc(B,!0)),2&t&&(a.sc(i=a.ac())&&(e._inkBar=i.first),a.sc(i=a.ac())&&(e._tabListContainer=i.first),a.sc(i=a.ac())&&(e._tabList=i.first),a.sc(i=a.ac())&&(e._nextPaginator=i.first),a.sc(i=a.ac())&&(e._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(t,e){2&t&&a.Eb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())("mat-primary","warn"!==e.color&&"accent"!==e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[a.xb],attrs:j,ngContentSelectors:R,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-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["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.jc(),a.Sb(0,"div",0,1),a.Zb("click",(function(){return e._handlePaginatorClick("before")}))("mousedown",(function(t){return e._handlePaginatorPress("before",t)}))("touchend",(function(){return e._stopInterval()})),a.Nb(2,"div",2),a.Rb(),a.Sb(3,"div",3,4),a.Zb("keydown",(function(t){return e._handleKeydown(t)})),a.Sb(5,"div",5,6),a.Zb("cdkObserveContent",(function(){return e._onContentChanges()})),a.Sb(7,"div",7),a.ic(8),a.Rb(),a.Nb(9,"mat-ink-bar"),a.Rb(),a.Rb(),a.Sb(10,"div",8,9),a.Zb("mousedown",(function(t){return e._handlePaginatorPress("after",t)}))("click",(function(){return e._handlePaginatorClick("after")}))("touchend",(function(){return e._stopInterval()})),a.Nb(12,"div",2),a.Rb()),2&t&&(a.Eb("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.kc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.Ab(5),a.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.Ab(5),a.Eb("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.kc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[c.s,s.a,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-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.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-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{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;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t})();class mt{}const At=Object(c.D)(Object(c.z)(Object(c.A)(mt)));let yt=(()=>{class t extends At{constructor(t,e,i,n,s,o){super(),this._tabNavBar=t,this.elementRef=e,this._focusMonitor=s,this._isActive=!1,this.rippleConfig=i||{},this.tabIndex=parseInt(n)||0,"NoopAnimations"===o&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),s.monitor(e)}get active(){return this._isActive}set active(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this.elementRef))}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(gt),a.Mb(a.l),a.Mb(c.h,8),a.Xb("tabindex"),a.Mb(n.h),a.Mb(l.a,8))},t.\u0275dir=a.Hb({type:t,inputs:{active:"active"},features:[a.xb]}),t})(),wt=(()=>{class t extends yt{constructor(t,e,i,n,s,o,r,a){super(t,e,s,o,r,a),this._tabLinkRipple=new c.v(this,i,e,n),this._tabLinkRipple.setupTriggerEvents(e.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(bt),a.Mb(a.l),a.Mb(a.A),a.Mb(v.a),a.Mb(c.h,8),a.Xb("tabindex"),a.Mb(n.h),a.Mb(l.a,8))},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Bb("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),a.Eb("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[a.xb]}),t})(),vt=(()=>{class t{}return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},imports:[[r.c,c.i,o.i,c.t,s.c,n.a],c.i]}),t})()},KoHB:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("bFHC"),s=i("2kYt"),o=i("EM62");let r=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},imports:[[n.b,s.c]]}),t})()},KtsV:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("OZ4H"),s=i("X2Q7"),o=i("cqs0"),r=i("Ssnw"),a=i("iyZ4"),c=i("EM62"),l=i("s2Ay"),u=i("2kYt"),h=i("csyo"),d=i("A8Ay"),p=i("K9kF"),f=i("PBFl");function g(t,e){1&t&&c.Nb(0,"mat-spinner",3)}function b(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div"),c.Sb(1,"perun-web-apps-immediate-filter",4),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.Rb(),c.Sb(2,"div",5),c.Sb(3,"perun-web-apps-groups-list",6),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb(),c.Rb(),c.Sb(4,"div",7),c.Sb(5,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onCancel()})),c.Jc(6),c.ec(7,"translate"),c.Rb(),c.Sb(8,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().onSubmit()})),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Cb(t.theme),c.Ab(1),c.kc("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),c.Ab(2),c.kc("groupsToDisable",t.groupsToDisable)("disableGroups",!0)("pageSize",t.pageSize)("groups",t.groups)("selection",t.selection)("hideColumns",t.hideColumns)("filter",t.filterValue)("disableHeadCheckbox",!0)("disableRouting",!0)("authType","create-relation-dialog"),c.Ab(3),c.Lc(" ",c.fc(7,17,"DIALOGS.CREATE_RELATION.CANCEL")," "),c.Ab(2),c.kc("disabled",t.loading||0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(10,19,"DIALOGS.CREATE_RELATION.CREATE")," ")}}let m=(()=>{class t{constructor(t,e,i,n,s,r,c){this.dialogRef=t,this.groupService=e,this.notificator=i,this.translate=n,this.tableConfigService=s,this.guiAuthResolver=r,this.data=c,this.selection=new o.c(!1,[]),this.hideColumns=["recent","vo","expiration","menu"],this.filterValue="",this.tableId=a.s,this.groupsToDisable=new Set,n.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)(c.Mb(n.i),c.Mb(s.h),c.Mb(r.l),c.Mb(l.e),c.Mb(a.pb),c.Mb(r.h),c.Mb(n.a))},t.\u0275cmp=c.Gb({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","hideColumns","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&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Sb(3,"div"),c.Hc(4,g,1,0,"mat-spinner",1),c.Rb(),c.Hc(5,b,11,21,"div",2)),2&t&&(c.Ab(1),c.Kc(c.fc(2,6,"DIALOGS.CREATE_RELATION.TITLE")),c.Ab(2),c.Cb(e.theme),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[n.j,u.t,h.c,d.a,n.g,p.a,n.c,f.b],pipes:[l.d],styles:[""]}),t})()},L4Ow:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),s=i("s2Ay");let o=(()=>{class t{constructor(t){this.translate=t,this.prefix="ROLES."}transform(t,e){const i=this.prefix.concat(t);return this.translate.instant(i)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.e))},t.\u0275pipe=n.Lb({name:"displayedRole",type:t,pure:!0}),t})()},LAw4:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("EM62"),s=i("nIj0"),o=i("QQZH"),r=i("ZTXN"),a=i("kuMc"),c=(i("X2Q7"),i("OIgT")),l=i("29Wa"),u=i("R7+U"),h=i("mFH5"),d=i("BYpP"),p=i("2kYt"),f=i("qvOF");const g=["scrollViewport"];function b(t,e){if(1&t&&(n.Sb(0,"mat-option",7),n.Jc(1),n.Sb(2,"span",8),n.Jc(3),n.Rb(),n.Rb()),2&t){const t=n.dc();n.kc("value",null==t.entitiesCtrl?null:t.entitiesCtrl.value),n.Ab(1),n.Lc(" ",t.mainTextFunction(null==t.entitiesCtrl?null:t.entitiesCtrl.value)," "),n.Ab(2),n.Kc(t.secondaryTextFunction(null==t.entitiesCtrl?null:t.entitiesCtrl.value))}}function m(t,e){if(1&t&&(n.Sb(0,"mat-option",9),n.Jc(1),n.Sb(2,"span",8),n.Jc(3),n.Rb(),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.kc("value",t),n.Ab(1),n.Lc(" ",i.mainTextFunction(t)," "),n.Ab(2),n.Kc(i.secondaryTextFunction(t))}}let A=(()=>{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.o,this.entitiesCtrl=new s.g,this.entityFilterCtrl=new s.g,this.filteredEntities=new o.a(1),this.entitiesLen=0,this._onDestroy=new r.a,this.mainTextFunction=t=>Object(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(Object(a.a)(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(t){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.Mb(n.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(t,e){var i;1&t&&n.Qc(g,!0),2&t&&n.sc(i=n.ac())&&(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.yb],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.Sb(0,"mat-form-field",0),n.Sb(1,"mat-select",1),n.Zb("openedChange",(function(t){return e.openChange(t)})),n.Sb(2,"mat-option"),n.Nb(3,"ngx-mat-select-search",2),n.Rb(),n.Hc(4,b,4,3,"mat-option",3),n.Sb(5,"cdk-virtual-scroll-viewport",4,5),n.Hc(7,m,4,3,"mat-option",6),n.ec(8,"async"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.lc("placeholder",e.selectPlaceholder),n.kc("formControl",e.entitiesCtrl),n.Ab(2),n.lc("placeholderLabel",e.findPlaceholder),n.lc("noEntriesFoundLabel",e.noEntriesText),n.kc("clearSearchInput",!1)("formControl",e.entityFilterCtrl),n.Ab(1),n.kc("ngIf",null==e.entitiesCtrl?null:e.entitiesCtrl.value),n.Ab(1),n.Ec("height",e.getViewportHeight(),"px"),n.kc("minBufferPx",240)("maxBufferPx",480),n.Ab(2),n.kc("cdkVirtualForOf",n.fc(8,12,e.filteredEntities)))},directives:[l.c,u.a,s.r,s.h,h.n,d.a,p.t,f.e,f.a,f.d],pipes:[p.b],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}"]}),t})()},LKLE:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("cqs0"),c=i("nhAq"),l=i("8clQ"),u=i("Ssnw"),h=i("9wx0"),d=i("2kYt"),p=i("+Tre"),f=i("Y2X+"),g=i("FcRk"),b=i("YEcy"),m=i("s2Ay");function A(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",20),n.Sb(1,"mat-checkbox",21),n.Zb("click",(function(e){return n.xc(t),e.stopPropagation()}))("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null})),n.ec(2,"isVirtualAttribute"),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("checked",i.selection.isSelected(t))("disabled",n.fc(2,3,t)||!t.writable)("aria-label",i.checkboxLabel(t))}}function w(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function v(t,e){if(1&t&&(n.Sb(0,"td",20),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function _(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function S(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.displayName)}}function E(t,e){1&t&&(n.Sb(0,"th",18),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function C(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",23),n.Sb(1,"perun-web-apps-attribute-value",24),n.Zb("sendEventToParent2",(function(){n.xc(t);const i=e.$implicit;return n.dc().onValueChange(i)})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("attribute",t)("readonly",i.readonly||!t.writable)}}function R(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function T(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.description)}}function k(t,e){1&t&&n.Nb(0,"tr",25)}function I(t,e){if(1&t&&(n.Nb(0,"tr",26),n.ec(1,"translate")),2&t){const t=e.$implicit,i=n.dc();n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),n.kc("matTooltipPosition","before")("matTooltipDisabled",t.writable||i.readonly)}}function O(t,e){1&t&&(n.Sb(0,"app-alert",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function D(t,e){1&t&&(n.Sb(0,"app-alert",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY"),"\n"))}let M=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.attributes=[],this.selection=new a.c(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new n.o,this.readonly=!1,this.hiddenColumns=[],this.pageSizeOptions=l.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(Object(l.j)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.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){Object(l.i)(Object(l.n)(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)=>Object(l.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(l.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.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.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!Object(l.s)(t)&&t.writable}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(s.a,!0),n.Qc(c.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first),n.sc(i=n.ac())&&(e.items=i))},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns"},outputs:{page:"page"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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",""],[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.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,A,2,3,"th",6),n.Hc(7,y,3,5,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,w,3,3,"th",9),n.Hc(10,v,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,_,3,3,"th",9),n.Hc(13,S,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,E,3,3,"th",6),n.Hc(16,C,2,2,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,R,3,3,"th",9),n.Hc(19,T,2,1,"td",11),n.Pb(),n.Hc(20,k,1,0,"tr",14),n.Hc(21,I,2,5,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,O,3,3,"app-alert",17),n.Hc(24,D,3,3,"app-alert",17)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.attributes.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.data.length))},directives:[h.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,d.t,r.h,p.a,r.a,o.b,c.a,r.j,r.l,f.a,g.a],pipes:[b.a,m.d],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}"]}),t})()},LLgS:function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("Ssnw"),s=i("TkCa"),o=i("EM62"),r=i("2kYt"),a=i("tmvS");function c(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div"),o.Sb(1,"perun-web-apps-notification",2),o.Zb("closeNotification",(function(){o.xc(t);const i=e.index;return o.dc().removeNotification(i)})),o.Rb(),o.Rb()}if(2&t){const t=e.$implicit;o.kc("@flyInOut",void 0),o.Ab(1),o.kc("data",t)("newNotification",!0)}}const l=function(t){return{top:t}};let u=(()=>{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)(o.Mb(n.l),o.Mb(n.k))},t.\u0275cmp=o.Gb({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&o.Zb("resize",(function(t){return e.getScreenSize(t)}),!1,o.wc)},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&&(o.Sb(0,"div",0),o.Hc(1,c,2,3,"div",1),o.Rb()),2&t&&(o.kc("ngStyle",o.pc(2,l,e.getNotificatorTop())),o.Ab(1),o.kc("ngForOf",e.notifications))},directives:[r.w,r.s,a.a],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:[s.b]}}),t})()},Log1:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,e){return Object(n.x)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"memberLogins",type:t,pure:!0}),t})()},M7la:function(t,e,i){"use strict";i.d(e,"a",(function(){return P}));var n=i("cqs0"),s=i("Ssnw"),o=i("Y9OK"),r=i("p3Ob"),a=i("X2Q7"),c=i("nyAh"),l=i("nIj0"),u=i("iyZ4"),h=i("8clQ"),d=i("hiWg"),p=i("EM62"),f=i("sEIs"),g=i("OZ4H"),b=i("Y2X+"),m=i("2kYt"),A=i("29Wa"),y=i("R7+U"),w=i("Cd2c"),v=i("PBFl"),_=i("bFHC"),S=i("mFH5"),E=i("csyo"),C=i("l18O"),R=i("s2Ay");function T(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",15),p.Zb("click",(function(){return p.xc(t),p.dc().onAddMember()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){const t=p.dc();p.kc("disabled",t.blockManualMemberAdding),p.Ab(1),p.Lc(" ",p.fc(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function k(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",16),p.Zb("click",(function(){return p.xc(t),p.dc().onInviteMember()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function I(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",17),p.Zb("click",(function(){return p.xc(t),p.dc().onRemoveMembers()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){const t=p.dc();p.kc("disabled",t.selection.isEmpty()),p.Ab(1),p.Lc(" ",p.fc(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function O(t,e){if(1&t&&(p.Sb(0,"mat-option",18),p.Jc(1),p.Rb()),2&t){const t=e.$implicit;p.kc("value",t),p.Ab(1),p.Kc(t)}}function D(t,e){1&t&&p.Nb(0,"mat-spinner",19)}function M(t,e){if(1&t){const t=p.Tb();p.Sb(0,"perun-web-apps-members-dynamic-list",20),p.Zb("page",(function(e){return p.xc(t),p.dc().pageChanged(e)})),p.Rb()}if(2&t){const t=p.dc();p.kc("voId",t.vo.id)("pageSize",t.pageSize)("selection",t.selection)("hideColumns",t.hideColumns)("attrNames",t.attrNames)("searchString",t.searchString)("selectedStatuses",t.selectedStatuses)("updateTable",t.updateTable)}}let P=(()=>{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.c(!0,[]),this.loading=!1,this.attrNames=[c.a.MEMBER_DEF_ORGANIZATION,c.a.MEMBER_DEF_MAIL,c.a.USER_DEF_ORGANIZATION,c.a.USER_DEF_PREFERRED_MAIL,c.a.MEMBER_DEF_EXPIRATION],this.statuses=new l.g,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=u.kb,this.hideColumns=[],this.updateTable=!1}ngOnInit(){this.loading=!0,this.searchControl=new l.g(""),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.hideColumns=this.removeAuth?["type","groupStatus"]:["checkbox","type","groupStatus"],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(){this.searchString=this.searchControl.value}onAddMember(){const t=Object(h.o)();t.width="1000px",t.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(r.a,t).afterClosed().subscribe(t=>{t&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const t=Object(h.o)();t.width="450px",t.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(o.a,t).afterClosed().subscribe(t=>{t&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const t=Object(h.o)();t.width="650px",t.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(d.a,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.Mb(a.r),p.Mb(f.a),p.Mb(s.l),p.Mb(u.pb),p.Mb(g.b),p.Mb(s.h),p.Mb(s.m),p.Mb(a.c),p.Mb(s.b))},t.\u0275cmp=p.Gb({type:t,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.Eb("router-component",!0)},decls:27,vars:22,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[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,"mr-2","search-field"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","primary",1,"mr-2",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","pageSize","selection","hideColumns","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","hideColumns","attrNames","searchString","selectedStatuses","updateTable","page"]],template:function(t,e){1&t&&(p.Sb(0,"div",0),p.Sb(1,"h1",1),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"div",2),p.Sb(5,"div",3),p.ec(6,"translate"),p.Hc(7,T,3,4,"button",4),p.Rb(),p.Hc(8,k,3,3,"button",5),p.Hc(9,I,3,4,"button",6),p.Sb(10,"mat-form-field",7),p.Sb(11,"mat-label"),p.Jc(12),p.ec(13,"translate"),p.Rb(),p.Sb(14,"mat-select",8),p.Zb("closed",(function(){return e.changeStatuses()})),p.Sb(15,"mat-select-trigger"),p.Jc(16),p.Rb(),p.Hc(17,O,2,2,"mat-option",9),p.Rb(),p.Rb(),p.Sb(18,"mat-form-field",10),p.Sb(19,"label"),p.Sb(20,"input",11),p.Zb("keyup.enter",(function(){return e.onSearchByString()})),p.ec(21,"translate"),p.Rb(),p.Rb(),p.Rb(),p.Sb(22,"button",12),p.Zb("click",(function(){return e.onSearchByString()})),p.Sb(23,"mat-icon"),p.Jc(24,"search"),p.Rb(),p.Rb(),p.Rb(),p.Hc(25,D,1,0,"mat-spinner",13),p.Hc(26,M,1,8,"perun-web-apps-members-dynamic-list",14),p.Rb()),2&t&&(p.Ab(2),p.Kc(p.fc(3,14,"VO_DETAIL.MEMBERS.TITLE")),p.Ab(3),p.lc("matTooltip",p.fc(6,16,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),p.kc("matTooltipDisabled",!e.blockManualMemberAdding),p.Ab(2),p.kc("ngIf",e.addAuth),p.Ab(1),p.kc("ngIf",e.inviteAuth),p.Ab(1),p.kc("ngIf",e.removeAuth),p.Ab(3),p.Kc(p.fc(13,18,"VO_DETAIL.MEMBERS.FILTER_STATUS")),p.Ab(2),p.kc("formControl",e.statuses),p.Ab(2),p.Lc(" ",e.displaySelectedStatuses()," "),p.Ab(1),p.kc("ngForOf",e.statusList),p.Ab(3),p.lc("placeholder",p.fc(21,20,"VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION")),p.kc("formControl",e.searchControl),p.Ab(5),p.kc("ngIf",e.loading),p.Ab(1),p.kc("ngIf",!e.loading))},directives:[b.a,m.t,A.c,A.g,y.a,l.r,l.h,y.c,m.s,w.b,l.c,v.b,_.a,S.n,E.c,C.a],pipes:[R.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),t})()},MP6f:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("FcRk");function p(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&a.Nb(0,"th",16)}function g(t,e){if(1&t&&(a.Sb(0,"td",17),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.friendlyName," ")}}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){1&t&&a.Nb(0,"tr",19)}function A(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"div"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,f,1,0,"th",11),a.Hc(10,g,2,1,"td",12),a.Pb(),a.Hc(11,b,1,0,"tr",13),a.Hc(12,m,1,0,"tr",14),a.Rb(),a.Sb(13,"app-alert",15),a.Jc(14),a.ec(15,"translate"),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,6,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE1")," "),a.Ab(3),a.Lc(" ",a.fc(6,8,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE2")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns),a.Ab(2),a.Lc(" ",a.fc(15,10,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.WARNING")," ")}}let y=(()=>{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"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.c))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,p,1,0,"mat-spinner",1),a.Hc(5,A,16,12,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,d.a,s.h,s.a,s.j,s.l],pipes:[c.d],styles:[""]}),t})()},Meci:function(t,e,i){"use strict";i.d(e,"a",(function(){return S})),i.d(e,"b",(function(){return g})),i.d(e,"c",(function(){return _})),i.d(e,"d",(function(){return d})),i.d(e,"e",(function(){return b})),i.d(e,"f",(function(){return E})),i.d(e,"g",(function(){return m})),i.d(e,"h",(function(){return w})),i.d(e,"i",(function(){return y})),i.d(e,"j",(function(){return R})),i.d(e,"k",(function(){return A})),i.d(e,"l",(function(){return f})),i.d(e,"m",(function(){return p})),i.d(e,"n",(function(){return C})),i.d(e,"o",(function(){return v}));var n=i("5lCh"),s=i("mFH5"),o=i("EM62");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]","*"],u=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],h=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t})(),g=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,e){2&t&&o.Eb("mat-card-actions-align-end","end"===e.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),t})(),S=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(n.a,8))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&o.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(o.jc(r),o.ic(0),o.ic(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 .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-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})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({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.jc(c),o.ic(0),o.Sb(1,"div",0),o.ic(2,1),o.Rb(),o.ic(3,2))},encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:h,decls:4,vars:0,template:function(t,e){1&t&&(o.jc(u),o.Sb(0,"div"),o.ic(1),o.Rb(),o.ic(2,1),o.ic(3,2))},encapsulation:2,changeDetection:0}),t})(),R=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},imports:[[s.i],s.i]}),t})()},MiDb:function(t,e,i){"use strict";i.d(e,"a",(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})()},NC8S:function(t,e,i){"use strict";i.d(e,"a",(function(){return K}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("cqs0"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("bFHC"),f=i("Y2X+"),g=i("TQS+"),b=i("FcRk"),m=i("s2Ay"),A=i("j+u3"),y=i("hLiN"),w=i("bwko"),v=i("O/Vf");function _(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-checkbox",23),n.Zb("change",(function(e){n.xc(t);const i=n.dc(2);return e?i.masterToggle():null})),n.Rb()}if(2&t){const t=n.dc(2);n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function S(t,e){if(1&t&&(n.Sb(0,"th",21),n.Hc(1,_,1,3,"mat-checkbox",22),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("ngIf",t.selection.isMultipleSelection())}}function E(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",24),n.Sb(1,"mat-checkbox",25),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function C(t,e){1&t&&n.Nb(0,"th",21)}function R(t,e){1&t&&(n.Sb(0,"mat-icon",27),n.ec(1,"translate"),n.Jc(2," account_circle "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"MANAGERS_LIST.PERSON"))}function T(t,e){1&t&&(n.Sb(0,"mat-icon",27),n.ec(1,"translate"),n.Jc(2," traffic "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"MANAGERS_LIST.SERVICE"))}function k(t,e){if(1&t&&(n.Sb(0,"td",24),n.Hc(1,R,3,3,"mat-icon",26),n.Hc(2,T,3,3,"mat-icon",26),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",!t.serviceUser),n.Ab(1),n.kc("ngIf",t.serviceUser)}}function I(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.ID")))}function O(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.id," ")}}function D(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.NAME")))}function M(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function P(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.ORGANIZATION")))}function x(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userVo"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function N(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.EMAIL")))}function L(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userEmail"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function F(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.LOGINS")))}function z(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userLogins"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function H(t,e){1&t&&n.Nb(0,"tr",30)}const B=function(t){return["/admin/users",t]};function j(t,e){if(1&t&&n.Nb(0,"tr",31),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting),n.kc("perunWebAppsForceRouterLink",i.disableRouting?null:n.pc(4,B,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.pc(6,B,t.id))}}function G(t,e){1&t&&(n.Sb(0,"app-alert",32),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}function U(t,e){1&t&&(n.Sb(0,"app-alert",32),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let K=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.selection=new a.c(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.o,this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=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 Object(c.G)(t);case"email":return Object(c.E)(t);case"logins":return Object(c.x)(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?Object(c.w)(t):"";case"organization":return Object(c.G)(t);case"email":return Object(c.E)(t);case"logins":return Object(c.x)(t);default:return""}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filter=this.filter,this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this))}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(this.users),this.dataSource.paginator=this.paginator,this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-users-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page"},features:[n.yb],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","user"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink","cursor-pointer",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,S,2,1,"th",6),n.Hc(7,E,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,C,1,0,"th",6),n.Hc(10,k,3,2,"td",9),n.Pb(),n.Qb(11,10),n.Hc(12,I,3,3,"th",11),n.Hc(13,O,2,1,"td",7),n.Pb(),n.Qb(14,12),n.Hc(15,D,3,3,"th",11),n.Hc(16,M,3,3,"td",13),n.Pb(),n.Qb(17,14),n.Hc(18,P,3,3,"th",11),n.Hc(19,x,3,3,"td",13),n.Pb(),n.Qb(20,15),n.Hc(21,N,3,3,"th",11),n.Hc(22,L,3,3,"td",13),n.Pb(),n.Qb(23,16),n.Hc(24,F,3,3,"th",11),n.Hc(25,z,3,3,"td",13),n.Pb(),n.Hc(26,H,1,0,"tr",17),n.Hc(27,j,1,8,"tr",18),n.Rb(),n.Rb(),n.Sb(28,"mat-paginator",19),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(29,G,3,3,"app-alert",20),n.Hc(30,U,3,3,"app-alert",20)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.users.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.users.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.users.length))},directives:[u.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,h.t,r.h,d.a,r.a,p.a,f.a,o.b,r.j,r.l,g.b,g.c,b.a],pipes:[m.d,A.a,y.a,w.a,v.a],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},NMas:function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("EM62"),a=i("s2Ay"),c=i("2kYt"),l=i("PBFl"),u=i("csyo");function h(t,e){1&t&&r.Nb(0,"mat-spinner",6)}function d(t,e){1&t&&(r.Sb(0,"div",7),r.Sb(1,"div",8),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Rb()),2&t&&(r.Ab(2),r.Lc(" ",r.fc(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}let p=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.tasksManager=i,this.translate=n,this.notificator=s,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)(r.Mb(n.i),r.Mb(n.a),r.Mb(o.o),r.Mb(a.e),r.Mb(s.l))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"h1",0),r.Jc(1),r.ec(2,"translate"),r.Rb(),r.Sb(3,"div"),r.Hc(4,h,1,0,"mat-spinner",1),r.Hc(5,d,4,3,"div",2),r.Sb(6,"div",3),r.Sb(7,"button",4),r.Zb("click",(function(){return e.cancel()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Sb(10,"button",5),r.Zb("click",(function(){return e.remove()})),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,9,"DIALOGS.DELETE_TASK.TITLE")),r.Ab(2),r.Cb(e.theme),r.Ab(1),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading),r.Ab(3),r.Lc(" ",r.fc(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),r.Ab(2),r.kc("disabled",e.loading),r.Ab(1),r.Lc(" ",r.fc(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[n.j,c.t,n.c,l.b,u.c,n.g],pipes:[a.d],styles:[""]}),t})()},"NU+N":function(t,e,i){"use strict";i.d(e,"a",(function(){return Q}));var n=i("cqs0"),s=i("WimW"),o=i("jk8c"),r=i("p/8k"),a=i("vhVt"),c=i("X2Q7"),l=i("nyAh"),u=i("iyZ4"),h=i("8clQ"),d=i("Ssnw"),p=i("EM62"),f=i("OZ4H"),g=i("KZIX"),b=i("2kYt"),m=i("0XDM"),A=i("PBFl"),y=i("29Wa"),w=i("R7+U"),v=i("mFH5"),_=i("csyo"),S=i("NC8S"),E=i("K9kF"),C=i("FcRk"),R=i("s2Ay"),T=i("L4Ow");function k(t,e){1&t&&(p.Jc(0),p.ec(1,"translate")),2&t&&p.Lc(" ",p.fc(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function I(t,e){if(1&t){const t=p.Tb();p.Sb(0,"perun-web-apps-refresh-button",11),p.Zb("refresh",(function(){return p.xc(t),p.dc(2).refreshUsers()})),p.Rb()}}function O(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",12),p.Zb("click",(function(){return p.xc(t),p.dc(2).addManager()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function D(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",13),p.Zb("click",(function(){return p.xc(t),p.dc(2).removeManager()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){const t=p.dc(2);p.kc("disabled",0===t.selectionUsers.selected.length),p.Ab(1),p.Lc(" ",p.fc(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function M(t,e){if(1&t&&(p.Sb(0,"mat-option",17),p.Jc(1),p.ec(2,"displayedRole"),p.Rb()),2&t){const t=e.$implicit;p.kc("value",t),p.Ab(1),p.Kc(p.fc(2,2,t))}}function P(t,e){if(1&t){const t=p.Tb();p.Sb(0,"mat-form-field",14),p.Sb(1,"mat-label"),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"mat-select",15),p.Zb("valueChange",(function(e){return p.xc(t),p.dc(2).selectedRole=e}))("selectionChange",(function(){return p.xc(t),p.dc(2).refreshUsers()})),p.Hc(5,M,3,4,"mat-option",16),p.Rb(),p.Rb()}if(2&t){const t=p.dc(2);p.Ab(2),p.Kc(p.fc(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.Ab(2),p.kc("value",t.selectedRole),p.Ab(1),p.kc("ngForOf",t.availableRoles)}}function x(t,e){1&t&&p.Nb(0,"mat-spinner",18)}const N=function(){return["select","id","name","email","logins","organization"]},L=function(){return["id","name","email","logins","organization"]};function F(t,e){if(1&t){const t=p.Tb();p.Sb(0,"app-users-list",20),p.Zb("page",(function(e){return p.xc(t),p.dc(3).pageChanged(e)})),p.Rb()}if(2&t){const t=p.dc(3);p.kc("pageSize",t.pageSize)("users",t.managers)("disableRouting",!t.routeAuth)("displayedColumns",t.manageAuth?p.oc(5,N):p.oc(6,L))("selection",t.selectionUsers)}}function z(t,e){if(1&t&&(p.Sb(0,"div"),p.Hc(1,F,1,7,"app-users-list",19),p.Rb()),2&t){const t=p.dc(2);p.Ab(1),p.kc("ngIf",t.managers)}}function H(t,e){if(1&t&&(p.Hc(0,I,1,0,"perun-web-apps-refresh-button",5),p.Hc(1,O,3,3,"button",6),p.Hc(2,D,3,4,"button",7),p.Hc(3,P,6,5,"mat-form-field",8),p.Hc(4,x,1,0,"mat-spinner",9),p.Hc(5,z,2,1,"div",10)),2&t){const t=p.dc();p.kc("ngIf",!t.loading),p.Ab(1),p.kc("ngIf",!t.loading&&t.manageAuth),p.Ab(1),p.kc("ngIf",!t.loading&&t.manageAuth),p.Ab(1),p.kc("ngIf",!t.loading),p.Ab(1),p.kc("ngIf",t.loading),p.Ab(1),p.kc("ngIf",!t.loading)}}function B(t,e){1&t&&(p.Jc(0),p.ec(1,"translate")),2&t&&p.Lc(" ",p.fc(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function j(t,e){if(1&t){const t=p.Tb();p.Sb(0,"perun-web-apps-refresh-button",11),p.Zb("refresh",(function(){return p.xc(t),p.dc(2).refreshGroups()})),p.Rb()}}function G(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",12),p.Zb("click",(function(){return p.xc(t),p.dc(2).addGroup()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function U(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",13),p.Zb("click",(function(){return p.xc(t),p.dc(2).removeGroup()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){const t=p.dc(2);p.kc("disabled",0===t.selectionGroups.selected.length),p.Ab(1),p.Lc(" ",p.fc(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function K(t,e){if(1&t&&(p.Sb(0,"mat-option",17),p.Jc(1),p.ec(2,"displayedRole"),p.Rb()),2&t){const t=e.$implicit;p.kc("value",t),p.Ab(1),p.Kc(p.fc(2,2,t))}}function V(t,e){if(1&t){const t=p.Tb();p.Sb(0,"mat-form-field",14),p.Sb(1,"mat-label"),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"mat-select",15),p.Zb("valueChange",(function(e){return p.xc(t),p.dc(2).selectedRole=e}))("selectionChange",(function(){return p.xc(t),p.dc(2).refreshGroups()})),p.Hc(5,K,3,4,"mat-option",16),p.Rb(),p.Rb()}if(2&t){const t=p.dc(2);p.Ab(2),p.Kc(p.fc(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.Ab(2),p.kc("value",t.selectedRole),p.Ab(1),p.kc("ngForOf",t.availableRoles)}}function q(t,e){1&t&&p.Nb(0,"mat-spinner",18)}const J=function(){return["menu","expiration","recent"]},W=function(){return["select","expiration","menu","recent"]};function Z(t,e){if(1&t){const t=p.Tb();p.Sb(0,"perun-web-apps-groups-list",22),p.Zb("page",(function(e){return p.xc(t),p.dc(3).pageChanged(e)})),p.Rb()}if(2&t){const t=p.dc(3);p.kc("pageSize",t.pageSize)("hideColumns",t.manageAuth?p.oc(5,J):p.oc(6,W))("groups",t.groups)("selection",t.selectionGroups)("disableMembers",!1)}}function Y(t,e){if(1&t&&(p.Sb(0,"div"),p.Hc(1,Z,1,7,"perun-web-apps-groups-list",21),p.Rb()),2&t){const t=p.dc(2);p.Ab(1),p.kc("ngIf",t.groups)}}function $(t,e){if(1&t&&(p.Hc(0,j,1,0,"perun-web-apps-refresh-button",5),p.Hc(1,G,3,3,"button",6),p.Hc(2,U,3,4,"button",7),p.Hc(3,V,6,5,"mat-form-field",8),p.Hc(4,q,1,0,"mat-spinner",9),p.Hc(5,Y,2,1,"div",10)),2&t){const t=p.dc();p.kc("ngIf",!t.loading),p.Ab(1),p.kc("ngIf",!t.loading&&t.manageAuth),p.Ab(1),p.kc("ngIf",!t.loading&&t.manageAuth),p.Ab(1),p.kc("ngIf",!t.loading),p.Ab(1),p.kc("ngIf",t.loading),p.Ab(1),p.kc("ngIf",!t.loading)}}function X(t,e){1&t&&(p.Sb(0,"app-alert",23),p.Jc(1),p.ec(2,"translate"),p.Rb()),2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}let Q=(()=>{class t{constructor(t,e,i,s,o){this.dialog=t,this.tableConfigService=e,this.authzService=i,this.storeService=s,this.guiAuthResolver=o,this.groups=null,this.managers=null,this.selectionUsers=new n.c(!0,[]),this.selectionGroups=new n.c(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=u.H,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(t=>this.availableRolesPrivileges.get(t).readAuth),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.routeAuth=this.guiAuthResolver.isPerunAdmin(),this.refreshUsers()}changeRolePrivileges(){this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;let t=!1;for(const e of this.roleModes)if(this.selectedMode===e.toLowerCase()){t=!0;break}t||(this.selectedMode=this.roleModes[0].toLowerCase())}tabChanged(t){this.loading=!0,0===t.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}refreshUsers(){this.loading=!0,this.changeRolePrivileges();let t=[l.a.USER_DEF_ORGANIZATION,l.a.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,t,!1,!0).subscribe(t=>{this.managers=t,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(t=>{this.groups=t,this.selectionGroups.clear(),this.loading=!1},()=>{this.loading=!1})}addManager(){const t=Object(h.o)();t.width="1000px",t.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(s.a,t).afterClosed().subscribe(t=>{t&&this.refreshUsers()})}removeManager(){const t=Object(h.o)();t.width="450px",t.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(o.a,t).afterClosed().subscribe(t=>{t&&this.refreshUsers()})}removeGroup(){const t=Object(h.o)();t.width="450px",t.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(r.a,t).afterClosed().subscribe(t=>{t&&this.refreshGroups()})}addGroup(){const t=Object(h.o)();t.width="1000px",t.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(a.a,t).afterClosed().subscribe(t=>{t&&this.refreshGroups()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Mb(f.b),p.Mb(u.pb),p.Mb(c.d),p.Mb(d.m),p.Mb(d.h))},t.\u0275cmp=p.Gb({type:t,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(t,e){2&t&&p.Eb("router-component",!0)},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","hideColumns","groups","selection","disableMembers","page",4,"ngIf"],[3,"pageSize","hideColumns","groups","selection","disableMembers","page"],["alert_type","warn"]],template:function(t,e){1&t&&(p.Sb(0,"h1",0),p.Jc(1),p.ec(2,"translate"),p.Rb(),p.Sb(3,"mat-tab-group",1),p.Zb("selectedTabChange",(function(t){return e.tabChanged(t)})),p.Sb(4,"mat-tab"),p.Hc(5,k,2,3,"ng-template",2),p.Hc(6,H,6,6,"ng-template",3),p.Rb(),p.Sb(7,"mat-tab"),p.Hc(8,B,2,3,"ng-template",2),p.Hc(9,$,6,6,"ng-template",3),p.Rb(),p.Rb(),p.Hc(10,X,3,3,"app-alert",4)),2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),p.Ab(9),p.kc("ngIf",0===e.availableRoles.length))},directives:[g.c,g.a,g.d,g.b,b.t,m.a,A.b,y.c,y.g,w.a,b.s,v.n,_.c,S.a,E.a,C.a],pipes:[R.d,T.a],styles:[""]}),t})()},NZNE:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,e){return Object(n.v)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"memberEmail",type:t,pure:!0}),t})()},"O/Vf":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,...e){return Object(n.F)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"userLogins",type:t,pure:!0}),t})()},O82x:function(t,e,i){"use strict";i.d(e,"a",(function(){return mt}));var n=i("EM62"),s=i("oqI+"),o=i("VMyb"),r=i("Ssnw"),a=i("DnAX"),c=i("8clQ"),l=i("OZ4H"),u=i("sEIs"),h=i("s2Ay"),d=i("2kYt"),p=i("csyo"),f=i("FlRo"),g=i("PBFl"),b=i("bFHC"),m=i("Y2X+"),A=i("nIj0"),y=i("FcRk"),w=i("g3Wv");const v=["table"];function _(t,e){1&t&&n.Nb(0,"mat-spinner",3)}function S(t,e){1&t&&n.Nb(0,"th",24)}function E(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",25),n.Sb(1,"button",26),n.Zb("mousedown",(function(){return n.xc(t),n.dc(2).dragDisabled=!1})),n.Sb(2,"mat-icon"),n.Jc(3,"drag_indicator"),n.Rb(),n.Rb(),n.Rb()}}function C(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")))}function R(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.shortname)}}function T(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")))}function k(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"applicationFormItemType"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.type))}}function I(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")))}function O(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",30),n.Jc(2,"lock"),n.Rb(),n.Nb(3,"br"),n.Jc(4),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(1),n.kc("matTooltip",e.disabledTooltip(t)),n.Ab(3),n.Lc(" ",e.disabledHiddenDependency(t,t.disabled,t.disabledDependencyItemId)," ")}}function D(t,e){if(1&t&&(n.Sb(0,"td",28),n.Hc(1,O,5,2,"div",29),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","NEVER"!==t.disabled)}}function M(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")))}function P(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",30),n.Jc(2,"visibility_off"),n.Rb(),n.Nb(3,"br"),n.Jc(4),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(1),n.kc("matTooltip",e.hiddenTooltip(t)),n.Ab(3),n.Lc(" ",e.disabledHiddenDependency(t,t.hidden,t.hiddenDependencyItemId)," ")}}function x(t,e){if(1&t&&(n.Sb(0,"td",28),n.Hc(1,P,5,2,"div",29),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","NEVER"!==t.hidden)}}function N(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")))}function L(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",32),n.Rb(),n.Rb())}function F(t,e){1&t&&(n.Sb(0,"div",33),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_VALUE")," "))}function z(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",34),n.Rb(),n.Rb())}function H(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",35),n.Nb(3,"br"),n.Nb(4,"input",32),n.Rb(),n.Rb())}function B(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"input",38),n.Jc(2),n.Nb(3,"br"),n.Rb()),2&t){const t=e.$implicit;n.Ab(2),n.Lc(" ",t,"")}}function j(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Hc(2,B,4,1,"div",36),n.Nb(3,"input",37),n.ec(4,"translate"),n.Rb(),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(2),n.kc("ngForOf",e.getLocalizedOptions(t)),n.Ab(1),n.lc("value",n.fc(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function G(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"span",39),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(1),n.kc("innerHTML",e.getLocalizedLabel(t),n.yc)}}function U(t,e){if(1&t&&(n.Sb(0,"option"),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t)}}function K(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"select"),n.Hc(2,U,2,1,"option",36),n.Rb(),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(2),n.kc("ngForOf",e.getLocalizedOptions(t))}}function V(t,e){1&t&&(n.Sb(0,"div"),n.Nb(1,"textarea"),n.Rb())}function q(t,e){if(1&t&&(n.Sb(0,"option",43),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t)}}function J(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",32),n.Rb(),n.Rb())}function W(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"select",40),n.Zb("ngModelChange",(function(e){n.xc(t);const i=n.dc().$implicit;return n.dc(2).mapForCombobox[i.id]=e})),n.Hc(2,q,2,1,"option",41),n.Sb(3,"option",42),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Rb(),n.Hc(6,J,3,0,"div",29),n.Rb()}if(2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(1),n.kc("ngModel",e.mapForCombobox[t.id]),n.Ab(1),n.kc("ngForOf",e.getLocalizedOptions(t)),n.Ab(2),n.Kc(n.fc(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),n.Ab(2),n.kc("ngIf","true"===e.mapForCombobox[t.id])}}function Z(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"input",44),n.Jc(2),n.Rb()),2&t){const t=e.$implicit;n.Ab(2),n.Lc(" ",t," ")}}function Y(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Hc(2,Z,3,1,"div",36),n.Rb(),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(2),n.kc("ngForOf",e.getLocalizedOptions(t))}}function $(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"button",45),n.Jc(2),n.Rb(),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(2),n.Kc(e.getLocalizedLabel(t))}}function X(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"select",46),n.Sb(2,"option",47),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"option",48),n.Jc(6,"(GMT -12:00) Eniwetok, Kwajalein"),n.Rb(),n.Sb(7,"option",49),n.Jc(8,"(GMT -11:00) Midway Island, Samoa"),n.Rb(),n.Sb(9,"option",50),n.Jc(10,"(GMT -10:00) Hawaii"),n.Rb(),n.Sb(11,"option",51),n.Jc(12,"(GMT -9:30) Taiohae"),n.Rb(),n.Sb(13,"option",52),n.Jc(14,"(GMT -9:00) Alaska"),n.Rb(),n.Sb(15,"option",53),n.Jc(16,"(GMT -8:00) Pacific Time (US & Canada)"),n.Rb(),n.Sb(17,"option",54),n.Jc(18,"(GMT -7:00) Mountain Time (US & Canada)"),n.Rb(),n.Sb(19,"option",55),n.Jc(20,"(GMT -6:00) Central Time (US & Canada), Mexico City"),n.Rb(),n.Sb(21,"option",56),n.Jc(22,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),n.Rb(),n.Sb(23,"option",57),n.Jc(24,"(GMT -4:30) Caracas"),n.Rb(),n.Sb(25,"option",58),n.Jc(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),n.Rb(),n.Sb(27,"option",59),n.Jc(28,"(GMT -3:30) Newfoundland"),n.Rb(),n.Sb(29,"option",60),n.Jc(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),n.Rb(),n.Sb(31,"option",61),n.Jc(32,"(GMT -2:00) Mid-Atlantic"),n.Rb(),n.Sb(33,"option",62),n.Jc(34,"(GMT -1:00) Azores, Cape Verde Islands"),n.Rb(),n.Sb(35,"option",63),n.Jc(36,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),n.Rb(),n.Sb(37,"option",64),n.Jc(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),n.Rb(),n.Sb(39,"option",65),n.Jc(40,"(GMT +2:00) Kaliningrad, South Africa"),n.Rb(),n.Sb(41,"option",66),n.Jc(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),n.Rb(),n.Sb(43,"option",67),n.Jc(44,"(GMT +3:30) Tehran"),n.Rb(),n.Sb(45,"option",68),n.Jc(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),n.Rb(),n.Sb(47,"option",69),n.Jc(48,"(GMT +4:30) Kabul"),n.Rb(),n.Sb(49,"option",70),n.Jc(50,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),n.Rb(),n.Sb(51,"option",71),n.Jc(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),n.Rb(),n.Sb(53,"option",72),n.Jc(54,"(GMT +5:45) Kathmandu, Pokhara"),n.Rb(),n.Sb(55,"option",73),n.Jc(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),n.Rb(),n.Sb(57,"option",74),n.Jc(58,"(GMT +6:30) Yangon, Mandalay"),n.Rb(),n.Sb(59,"option",75),n.Jc(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),n.Rb(),n.Sb(61,"option",76),n.Jc(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),n.Rb(),n.Sb(63,"option",77),n.Jc(64,"(GMT +8:45) Eucla"),n.Rb(),n.Sb(65,"option",78),n.Jc(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),n.Rb(),n.Sb(67,"option",79),n.Jc(68,"(GMT +9:30) Adelaide, Darwin"),n.Rb(),n.Sb(69,"option",80),n.Jc(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),n.Rb(),n.Sb(71,"option",81),n.Jc(72,"(GMT +10:30) Lord Howe Island"),n.Rb(),n.Sb(73,"option",82),n.Jc(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),n.Rb(),n.Sb(75,"option",83),n.Jc(76,"(GMT +11:30) Norfolk Island"),n.Rb(),n.Sb(77,"option",84),n.Jc(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),n.Rb(),n.Sb(79,"option",85),n.Jc(80,"(GMT +12:45) Chatham Islands"),n.Rb(),n.Sb(81,"option",86),n.Jc(82,"(GMT +13:00) Apia, Nukualofa"),n.Rb(),n.Sb(83,"option",87),n.Jc(84,"(GMT +14:00) Line Islands, Tokelau"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(3),n.Kc(n.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")))}function Q(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"button",45),n.Jc(2),n.Rb(),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(2),n.Kc(e.getLocalizedLabel(t))}}function tt(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",44),n.Jc(3," example group1 "),n.Nb(4,"br"),n.Nb(5,"input",44),n.Jc(6," example group2 "),n.Nb(7,"br"),n.Nb(8,"input",44),n.Jc(9," example group3 "),n.Rb(),n.Rb())}function et(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,L,3,0,"div",29),n.Hc(2,F,3,3,"div",31),n.Hc(3,z,3,0,"div",29),n.Hc(4,H,5,0,"div",29),n.Hc(5,j,5,4,"div",29),n.Hc(6,G,2,1,"div",29),n.Hc(7,K,3,1,"div",29),n.Hc(8,V,2,0,"div",29),n.Hc(9,W,7,6,"div",29),n.Hc(10,Y,3,1,"div",29),n.Hc(11,$,3,1,"div",29),n.Hc(12,X,85,3,"div",29),n.Hc(13,Q,3,1,"div",29),n.Hc(14,tt,10,0,"div",29),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","TEXTFIELD"===t.type||"VALIDATED_EMAIL"===t.type||"USERNAME"===t.type),n.Ab(1),n.kc("ngIf","FROM_FEDERATION_HIDDEN"===t.type),n.Ab(1),n.kc("ngIf","FROM_FEDERATION_SHOW"===t.type),n.Ab(1),n.kc("ngIf","PASSWORD"===t.type),n.Ab(1),n.kc("ngIf","RADIO"===t.type),n.Ab(1),n.kc("ngIf","HEADING"===t.type||"HTML_COMMENT"===t.type),n.Ab(1),n.kc("ngIf","SELECTIONBOX"===t.type),n.Ab(1),n.kc("ngIf","TEXTAREA"===t.type),n.Ab(1),n.kc("ngIf","COMBOBOX"===t.type),n.Ab(1),n.kc("ngIf","CHECKBOX"===t.type),n.Ab(1),n.kc("ngIf","SUBMIT_BUTTON"===t.type),n.Ab(1),n.kc("ngIf","TIMEZONE"===t.type),n.Ab(1),n.kc("ngIf","AUTO_SUBMIT_BUTTON"===t.type),n.Ab(1),n.kc("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type)}}function it(t,e){1&t&&n.Nb(0,"th",24)}function nt(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",89),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc(2).openManagingGroups(e)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"supervised_user_circle"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function st(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,nt,4,3,"button",88),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type&&!t.forDelete)}}function ot(t,e){1&t&&n.Nb(0,"th",24)}function rt(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",92),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc(2).edit(e)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"edit"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function at(t,e){1&t&&(n.Sb(0,"div",93),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function ct(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,rt,4,3,"button",90),n.Hc(2,at,3,3,"div",91),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",!t.forDelete),n.Ab(1),n.kc("ngIf",t.forDelete)}}function lt(t,e){1&t&&n.Nb(0,"th",24)}function ut(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",95),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc(2).delete(e)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"delete"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}function ht(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",89),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc(2).restore(e)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"settings_backup_restore"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function dt(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,ut,4,3,"button",94),n.Hc(2,ht,4,3,"button",88),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",!t.forDelete),n.Ab(1),n.kc("ngIf",t.forDelete)}}function pt(t,e){1&t&&n.Nb(0,"tr",96)}function ft(t,e){if(1&t&&n.Nb(0,"tr",97),2&t){const t=e.$implicit,i=n.dc(2);n.Eb("make-green",t.id<=0)("make-red",t.forDelete)("make-yellow",-1!=i.itemsChanged.indexOf(t.id)&&!t.forDelete&&t.id>0),n.kc("cdkDragData",t)}}function gt(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div",4),n.Sb(1,"div",5),n.Sb(2,"div",6),n.Sb(3,"table",7,8),n.Zb("cdkDropListDropped",(function(e){return n.xc(t),n.dc().drop(e)})),n.Qb(5,9),n.Hc(6,S,1,0,"th",10),n.Hc(7,E,4,0,"td",11),n.Pb(),n.Qb(8,12),n.Hc(9,C,3,3,"th",10),n.Hc(10,R,2,1,"td",11),n.Pb(),n.Qb(11,13),n.Hc(12,T,3,3,"th",10),n.Hc(13,k,3,3,"td",11),n.Pb(),n.Qb(14,14),n.Hc(15,I,3,3,"th",15),n.Hc(16,D,2,1,"td",16),n.Pb(),n.Qb(17,17),n.Hc(18,M,3,3,"th",15),n.Hc(19,x,2,1,"td",16),n.Pb(),n.Qb(20,18),n.Hc(21,N,3,3,"th",10),n.Hc(22,et,15,14,"td",11),n.Pb(),n.Qb(23,19),n.Hc(24,it,1,0,"th",10),n.Hc(25,st,2,1,"td",11),n.Pb(),n.Qb(26,20),n.Hc(27,ot,1,0,"th",10),n.Hc(28,ct,3,2,"td",11),n.Pb(),n.Qb(29,21),n.Hc(30,lt,1,0,"th",10),n.Hc(31,dt,3,2,"td",11),n.Pb(),n.Hc(32,pt,1,0,"tr",22),n.Hc(33,ft,1,7,"tr",23),n.Rb(),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(3),n.kc("cdkDropListDisabled",t.dragDisabled)("dataSource",t.dataSource),n.Ab(29),n.kc("matHeaderRowDef",t.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",t.displayedColumns)}}function bt(t,e){1&t&&(n.Sb(0,"app-alert",98),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let mt=(()=>{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.o,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(t){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=Object(c.o)();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(a.a,e).afterClosed().subscribe(e=>{e&&(this.itemsChanged.push(t.id),this.applicationFormItemsChange.emit())})}delete(t){const e=Object(c.o)();e.width="500px",this.dialog.open(o.a,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);Object(s.h)(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(t){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.b),n.Mb(r.l),n.Mb(u.f),n.Mb(h.e))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-application-form-list"]],viewQuery:function(t,e){var i;1&t&&n.Qc(v,!0),2&t&&n.sc(i=n.ac())&&(e.table=i.first)},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[n.yb],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.Hc(0,_,1,0,"mat-spinner",0),n.Hc(1,gt,34,4,"div",1),n.Hc(2,bt,3,3,"app-alert",2)),2&t&&(n.kc("ngIf",e.loading),n.Ab(1),n.kc("ngIf",0!==e.applicationFormItems.length&&!e.loading),n.Ab(1),n.kc("ngIf",0===e.applicationFormItems.length&&!e.loading))},directives:[d.t,p.c,f.n,s.e,f.c,f.i,f.b,f.k,f.m,f.h,f.a,g.b,b.a,m.a,A.H,A.s,A.t,d.s,A.w,A.G,A.D,A.r,A.u,f.j,f.l,s.a,y.a],pipes:[h.d,w.a],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})()},OF3q:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("nIj0"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("29Wa"),d=i("Cd2c"),p=i("PBFl"),f=i("+Tre"),g=i("ABWF");function b(t,e){1&t&&a.Nb(0,"mat-spinner",3)}function m(t,e){if(1&t){const t=a.Tb();a.Sb(0,"mat-checkbox",13),a.Zb("click",(function(){return a.xc(t),a.dc(2).loadVoGroups()}))("ngModelChange",(function(e){return a.xc(t),a.dc(2).asSubgroup=e})),a.Jc(1),a.ec(2,"translate"),a.Rb()}if(2&t){const t=a.dc(2);a.kc("labelPosition","before")("ngModel",t.asSubgroup),a.Ab(1),a.Lc(" ",a.fc(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function A(t,e){if(1&t){const t=a.Tb();a.Sb(0,"perun-web-apps-group-search-select",14),a.Zb("groupSelected",(function(e){return a.xc(t),a.dc(2).selectedParent=e})),a.Rb()}if(2&t){const t=a.dc(2);a.kc("disableAutoSelect",!0)("groups",t.voGroups)}}function y(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"div",4),a.Sb(2,"mat-form-field"),a.Sb(3,"label",5),a.Nb(4,"input",6),a.ec(5,"translate"),a.Rb(),a.Sb(6,"mat-error"),a.Jc(7),a.ec(8,"translate"),a.Rb(),a.Rb(),a.Sb(9,"mat-form-field",7),a.Sb(10,"label",5),a.Nb(11,"textarea",6),a.ec(12,"translate"),a.Rb(),a.Sb(13,"mat-error"),a.Jc(14),a.ec(15,"translate"),a.Rb(),a.Rb(),a.Hc(16,m,3,5,"mat-checkbox",8),a.Hc(17,A,1,2,"perun-web-apps-group-search-select",9),a.Rb(),a.Sb(18,"div",10),a.Sb(19,"button",11),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(20),a.ec(21,"translate"),a.Rb(),a.Sb(22,"button",12),a.Zb("click",(function(){return a.xc(t),a.dc().onSubmit()})),a.Jc(23),a.ec(24,"translate"),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(4),a.lc("placeholder",a.fc(5,11,"DIALOGS.CREATE_GROUP.NAME")),a.kc("formControl",t.nameControl),a.Ab(3),a.Lc(" ",t.invalidNameMessage.length?t.invalidNameMessage:a.fc(8,13,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),a.Ab(4),a.lc("placeholder",a.fc(12,15,"DIALOGS.CREATE_GROUP.DESCRIPTION")),a.kc("formControl",t.descriptionControl),a.Ab(3),a.Lc(" ",a.fc(15,17,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),a.Ab(2),a.kc("ngIf",t.isNotSubGroup),a.Ab(1),a.kc("ngIf",t.asSubgroup),a.Ab(3),a.Lc(" ",a.fc(21,19,"DIALOGS.CREATE_GROUP.CANCEL")," "),a.Ab(2),a.kc("disabled",t.nameControl.invalid||t.descriptionControl.invalid||t.asSubgroup&&null===t.selectedParent||t.loading),a.Ab(1),a.Lc(" ",a.fc(24,21,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let w=(()=>{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.g("",[r.F.required,r.F.pattern(this.secondaryRegex?this.secondaryRegex:""),r.F.pattern(".*[\\S]+.*")]),this.descriptionControl=new r.g("",[r.F.required,r.F.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.Mb(n.i),a.Mb(n.a),a.Mb(o.h),a.Mb(c.e),a.Mb(s.l),a.Mb(s.m))},t.\u0275cmp=a.Gb({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.Sb(0,"h1",0),a.Jc(1),a.Rb(),a.Sb(2,"div"),a.Hc(3,b,1,0,"mat-spinner",1),a.Hc(4,y,25,23,"div",2),a.Rb()),2&t&&(a.Ab(1),a.Kc(e.title),a.Ab(1),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,l.t,u.c,n.g,h.c,d.b,r.c,r.C,r.r,r.h,h.b,n.c,p.b,f.a,r.u,g.a],pipes:[c.d],styles:[""]}),t})()},OIgT:function(t,e,i){"use strict";e.decode=e.parse=i("wOqL"),e.encode=e.stringify=i("f8+N")},OL2r:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("8clQ"),c=i("+0js"),l=i("2kYt"),u=i("EM62"),h=i("s2Ay"),d=i("PBFl"),p=i("csyo"),f=i("bFHC"),g=i("Y2X+"),b=i("j+u3");function m(t,e){1&t&&u.Nb(0,"mat-spinner",6)}function A(t,e){1&t&&(u.Sb(0,"th",17),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")))}function y(t,e){if(1&t&&(u.Sb(0,"td",18),u.Jc(1),u.Rb()),2&t){const t=e.$implicit;u.Ab(1),u.Lc(" ",t.user.id," ")}}function w(t,e){1&t&&(u.Sb(0,"th",17),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")))}function v(t,e){if(1&t&&(u.Sb(0,"td",18),u.Jc(1),u.ec(2,"userFullName"),u.Rb()),2&t){const t=e.$implicit;u.Ab(1),u.Lc(" ",u.fc(2,1,t.user)," ")}}function _(t,e){1&t&&(u.Sb(0,"th",17),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")))}function S(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",20),u.Zb("click",(function(){u.xc(t);const e=u.dc().$implicit;return u.dc(2).changeExpiration(e)})),u.Sb(1,"mat-icon"),u.Jc(2," today "),u.Rb(),u.Rb()}}function E(t,e){if(1&t&&(u.Sb(0,"td",18),u.Sb(1,"span"),u.Jc(2),u.Rb(),u.Hc(3,S,3,0,"button",19),u.Rb()),2&t){const t=e.$implicit,i=u.dc(2);u.Ab(2),u.Kc(i.parseDate(t.validityTo)),u.Ab(1),u.kc("ngIf",i.isExpirationAuthorized(t))}}function C(t,e){1&t&&u.Nb(0,"th",17)}function R(t,e){1&t&&(u.Sb(0,"mat-icon",25),u.Jc(1,"clear"),u.Rb())}function T(t,e){1&t&&(u.Sb(0,"mat-icon"),u.Jc(1,"settings_backup_restore"),u.Rb())}function k(t,e){if(1&t){const t=u.Tb();u.Sb(0,"td",18),u.Sb(1,"div",21),u.ec(2,"translate"),u.Sb(3,"button",22),u.Zb("click",(function(){u.xc(t);const i=e.$implicit;return u.dc(2).markSponsor(i)})),u.Hc(4,R,2,0,"mat-icon",23),u.Hc(5,T,2,0,"mat-icon",24),u.Rb(),u.Rb(),u.Rb()}if(2&t){const t=e.$implicit,i=u.dc(2);u.Ab(1),u.lc("matTooltip",u.fc(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),u.kc("matTooltipPosition","above")("matTooltipDisabled",i.isRemoveAuthorized(t)),u.Ab(2),u.kc("disabled",!i.isRemoveAuthorized(t)),u.Ab(1),u.kc("ngIf",!i.sponsorsToRemove.has(t.user.id)),u.Ab(1),u.kc("ngIf",i.sponsorsToRemove.has(t.user.id))}}function I(t,e){1&t&&u.Nb(0,"tr",26)}function O(t,e){if(1&t&&u.Nb(0,"tr",27),2&t){const t=e.$implicit,i=u.dc(2);u.Eb("make-red",i.sponsorsToRemove.has(t.user.id))}}function D(t,e){if(1&t&&(u.Sb(0,"div",7),u.Sb(1,"table",8),u.Qb(2,9),u.Hc(3,A,3,3,"th",10),u.Hc(4,y,2,1,"td",11),u.Pb(),u.Qb(5,12),u.Hc(6,w,3,3,"th",10),u.Hc(7,v,3,3,"td",11),u.Pb(),u.Qb(8,13),u.Hc(9,_,3,3,"th",10),u.Hc(10,E,4,2,"td",11),u.Pb(),u.Qb(11,14),u.Hc(12,C,1,0,"th",10),u.Hc(13,k,6,8,"td",11),u.Pb(),u.Hc(14,I,1,0,"tr",15),u.Hc(15,O,1,2,"tr",16),u.Rb(),u.Rb()),2&t){const t=u.dc();u.Ab(1),u.kc("dataSource",t.dataSource),u.Ab(13),u.kc("matHeaderRowDef",t.displayedColumns),u.Ab(1),u.kc("matRowDefColumns",t.displayedColumns)}}let M=(()=>{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.o(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":Object(l.I)(t,"d.M.y","en")}changeExpiration(t){const e=Object(a.o)();e.width="400px",e.data={memberId:this.data.member.id,sponsor:t,mode:"sponsor"},this.dialog.open(c.d,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.o(this.sponsors),this.loading=!1}))})}}return t.\u0275fac=function(e){return new(e||t)(u.Mb(s.i),u.Mb(s.a),u.Mb(n.i),u.Mb(n.q),u.Mb(o.l),u.Mb(o.h),u.Mb(h.e),u.Mb(s.b))},t.\u0275cmp=u.Gb({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.Sb(0,"h1",0),u.Jc(1),u.ec(2,"translate"),u.Rb(),u.Sb(3,"div"),u.Hc(4,m,1,0,"mat-spinner",1),u.Hc(5,D,16,3,"div",2),u.Sb(6,"div",3),u.Sb(7,"button",4),u.Zb("click",(function(){return e.onCancel()})),u.Jc(8),u.ec(9,"translate"),u.Rb(),u.Sb(10,"button",5),u.Zb("click",(function(){return e.onSubmit()})),u.Jc(11),u.ec(12,"translate"),u.Rb(),u.Rb(),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),u.Ab(2),u.Cb(e.theme),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(3),u.Lc(" ",u.fc(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL"),""),u.Ab(2),u.kc("disabled",e.loading||0===e.sponsorsToRemove.size),u.Ab(1),u.Lc(" ",u.fc(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT"),""))},directives:[s.j,l.t,s.c,d.b,p.c,s.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,f.a,g.a,r.j,r.l],pipes:[h.d,b.a],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:grey}"]}),t})()},OZ4H:function(t,e,i){"use strict";i.d(e,"a",(function(){return C})),i.d(e,"b",(function(){return I})),i.d(e,"c",(function(){return x})),i.d(e,"d",(function(){return D})),i.d(e,"e",(function(){return y})),i.d(e,"f",(function(){return _})),i.d(e,"g",(function(){return P})),i.d(e,"h",(function(){return L})),i.d(e,"i",(function(){return E})),i.d(e,"j",(function(){return M}));var n=i("HYj3"),s=i("Sv/w"),o=i("EM62"),r=i("mFH5"),a=i("E5oP"),c=i("2kYt"),l=i("ZTXN"),u=i("i9xl"),h=i("ROBh"),d=i("xVbo"),p=i("J+dc"),f=i("jIqt"),g=i("f7+R"),b=i("fAiE"),m=i("sg/T");function A(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 w={dialogContainer:Object(g.n)("dialogContainer",[Object(g.k)("void, exit",Object(g.l)({opacity:0,transform:"scale(0.7)"})),Object(g.k)("enter",Object(g.l)({transform:"none"})),Object(g.m)("* => enter",Object(g.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(g.l)({transform:"none",opacity:1}))),Object(g.m)("* => void, * => exit",Object(g.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(g.l)({opacity:0})))])};function v(){throw Error("Attempting to attach dialog content after content is already attached")}let _=(()=>{class t extends s.a{constructor(t,e,i,n,s){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new o.o,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&v(),this._setupFocusTrap(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&v(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&v(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||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=this._document.activeElement,i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l),o.Mb(m.i),o.Mb(o.h),o.Mb(c.e,8),o.Mb(y))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var i;1&t&&o.Dc(s.c,!0),2&t&&o.sc(i=o.ac())&&(e._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&o.Fc("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(o.Bb("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),o.Gc("@dialogContainer",e._state))},features:[o.xb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o.Hc(0,A,0,0,"ng-template",0)},directives:[s.c],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;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})(),S=0;class E{constructor(t,e,i="mat-dialog-"+S++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.a,this._afterClosed=new l.a,this._beforeClosed=new l.a,this._state=0,e._id=i,e._animationStateChanged.pipe(Object(d.a)(t=>"done"===t.phaseName&&"enter"===t.toState),Object(p.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(d.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(p.a)(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(Object(d.a)(t=>t.keyCode===b.h&&!this.disableClose&&!Object(b.t)(t))).subscribe(t=>{t.preventDefault(),this.close()}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(d.a)(t=>"start"===t.phaseName),Object(p.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}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._getPositionStrategy().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}}const C=new o.r("MatDialogData"),R=new o.r("mat-dialog-default-options"),T=new o.r("mat-dialog-scroll-strategy"),k={provide:T,deps:[n.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let I=(()=>{class t{constructor(t,e,i,n,s,o,r){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=o,this._overlayContainer=r,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.a,this._afterOpenedAtThisLevel=new l.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(u.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(f.a)(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);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),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.d({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.s.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),n=new s.d(_,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const r=new E(i,e,n.id);if(t instanceof o.M)e.attachTemplatePortal(new s.j(t,null,{$implicit:n.data,dialogRef:r}));else{const i=this._createInjector(n,r,e),o=e.attachComponentPortal(new s.d(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:_,useValue:i},{provide:C,useValue:t.data},{provide:E,useValue:e}];return!t.direction||n&&n.get(a.c,null)||s.push({provide:a.c,useValue:{value:t.direction,change:Object(h.a)()}}),o.s.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._afterAllClosed.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.Wb(n.c),o.Wb(o.s),o.Wb(c.n,8),o.Wb(R,8),o.Wb(T),o.Wb(t,12),o.Wb(n.e))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t})(),O=0,D=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this._elementRef=e,this._dialog=i,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=N(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(E,8),o.Mb(o.l),o.Mb(I))},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&o.Zb("click",(function(){return e.dialogRef.close(e.dialogResult)})),2&t&&o.Bb("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.yb]}),t})(),M=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+O++}ngOnInit(){this._dialogRef||(this._dialogRef=N(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.Mb(E,8),o.Mb(o.l),o.Mb(I))},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&o.Vb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function N(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}let L=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[I,k],imports:[[n.f,s.i,r.i],r.i]}),t})()},OcHD:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{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.Lb({name:"groupExpiration",type:t,pure:!0}),t})()},Ohay:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");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.a{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))}}},P2UU:function(t,e,i){"use strict";i.d(e,"a",(function(){return v}));var n=i("Ssnw"),s=i("X2Q7"),o=i("nIj0"),r=i("EM62"),a=i("OZ4H"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("29Wa"),d=i("Cd2c"),p=i("R7+U"),f=i("mFH5"),g=i("PBFl"),b=i("Y2X+");function m(t,e){1&t&&r.Nb(0,"mat-spinner",4)}function A(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function y(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function w(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div"),r.Sb(1,"div",5),r.Sb(2,"mat-form-field"),r.Nb(3,"input",6),r.ec(4,"translate"),r.Sb(5,"mat-error"),r.Jc(6),r.ec(7,"translate"),r.Rb(),r.Rb(),r.Sb(8,"mat-form-field"),r.Nb(9,"input",6),r.ec(10,"translate"),r.Hc(11,A,3,3,"mat-error",3),r.Hc(12,y,3,3,"mat-error",3),r.Rb(),r.Sb(13,"mat-form-field"),r.Sb(14,"mat-select",7),r.Zb("valueChange",(function(e){return r.xc(t),r.dc().type=e})),r.Sb(15,"mat-option",8),r.Jc(16),r.ec(17,"translate"),r.Rb(),r.Sb(18,"mat-option",9),r.Jc(19),r.ec(20,"translate"),r.Rb(),r.Rb(),r.Rb(),r.Rb(),r.Sb(21,"div",10),r.Sb(22,"button",11),r.Zb("click",(function(){return r.xc(t),r.dc().onCancel()})),r.Jc(23),r.ec(24,"translate"),r.Rb(),r.Sb(25,"div",12),r.ec(26,"translate"),r.Sb(27,"button",13),r.Zb("click",(function(){return r.xc(t),r.dc().onSubmit()})),r.Jc(28),r.ec(29,"translate"),r.Rb(),r.Rb(),r.Rb(),r.Rb()}if(2&t){const t=r.dc();r.Ab(3),r.lc("placeholder",r.fc(4,15,"DIALOGS.ADD_OWNER.NAME")),r.kc("formControl",t.nameCtrl),r.Ab(3),r.Lc(" ",r.fc(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),r.Ab(3),r.lc("placeholder",r.fc(10,19,"DIALOGS.ADD_OWNER.CONTACT")),r.kc("formControl",t.contactCtrl),r.Ab(2),r.kc("ngIf",t.contactCtrl.hasError("required")),r.Ab(1),r.kc("ngIf",t.contactCtrl.invalid&&!t.contactCtrl.hasError("required")),r.Ab(2),r.kc("value",t.type),r.Ab(2),r.Kc(r.fc(17,21,"DIALOGS.ADD_OWNER.TYPE1")),r.Ab(3),r.Kc(r.fc(20,23,"DIALOGS.ADD_OWNER.TYPE2")),r.Ab(4),r.Lc(" ",r.fc(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),r.Ab(2),r.lc("matTooltip",r.fc(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),r.kc("matTooltipDisabled",t.nameCtrl.valid&&t.contactCtrl.valid),r.Ab(2),r.kc("disabled",t.nameCtrl.invalid||t.contactCtrl.invalid),r.Ab(1),r.Lc(" ",r.fc(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}let v=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.notificator=e,this.ownersManagerService=i,this.translate=n,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}))$/,n.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.nameCtrl=new o.g(null,[o.F.required,o.F.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new o.g(null,[o.F.required,o.F.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)(r.Mb(a.i),r.Mb(n.l),r.Mb(s.j),r.Mb(c.e))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"div",0),r.Sb(1,"h1",1),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,m,1,0,"mat-spinner",2),r.Hc(5,w,30,31,"div",3),r.Rb()),2&t&&(r.Ab(2),r.Kc(r.fc(3,3,"DIALOGS.ADD_OWNER.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading))},directives:[a.j,l.t,u.c,a.g,h.c,d.b,o.c,o.C,o.r,o.h,h.b,p.a,f.n,a.c,g.b,b.a],pipes:[c.d],styles:[""]}),t})()},P4Xx:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("IdLP"),s=i("FU6l"),o=i("YtkY"),r=i("X0qr"),a=i("GoAz");function c(...t){if(1===t.length){const e=t[0];if(Object(s.a)(e))return l(e,null);if(Object(r.a)(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&&Object(s.a)(t[0])?t[0]:t,null).pipe(Object(o.a)(t=>e(...t)))}return l(t,null)}function l(t,e){return new n.a(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())}}))}})}},PBFl:function(t,e,i){"use strict";i.d(e,"a",(function(){return f})),i.d(e,"b",(function(){return p})),i.d(e,"c",(function(){return g}));var n=i("mFH5"),s=i("5lCh"),o=i("EM62"),r=i("sg/T");const a=["mat-button",""],c=["*"],l=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .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[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-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[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[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[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}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.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:block;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}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class h{constructor(t){this._elementRef=t}}const d=Object(n.y)(Object(n.A)(Object(n.z)(h)));let p=(()=>{class t extends d{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._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,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.Mb(o.l),o.Mb(r.h),o.Mb(s.a,8))},t.\u0275cmp=o.Gb({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){var i;1&t&&o.Qc(n.s,!0),2&t&&o.sc(i=o.ac())&&(e.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(t,e){2&t&&(o.Bb("disabled",e.disabled||null),o.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.xb],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.jc(),o.Sb(0,"span",0),o.ic(1),o.Rb(),o.Nb(2,"div",1),o.Nb(3,"div",2)),2&t&&(o.Ab(2),o.Eb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),o.kc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[n.s],styles:[l],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t extends p{constructor(t,e,i){super(e,t,i)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(r.h),o.Mb(o.l),o.Mb(s.a,8))},t.\u0275cmp=o.Gb({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){1&t&&o.Zb("click",(function(t){return e._haltDisabledEvents(t)})),2&t&&(o.Bb("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),o.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.xb],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.jc(),o.Sb(0,"span",0),o.ic(1),o.Rb(),o.Nb(2,"div",1),o.Nb(3,"div",2)),2&t&&(o.Ab(2),o.Eb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),o.kc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[n.s],styles:[l],encapsulation:2,changeDetection:0}),t})(),g=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},imports:[[n.t,n.i],n.i]}),t})()},PCNd:function(t,e,i){"use strict";i.d(e,"a",(function(){return Hn}));var n=i("2kYt"),s=i("gpj7"),o=i("sEIs"),r=i("ulve"),a=i("PBFl"),c=i("+Tre"),l=i("mFH5"),u=i("gcUQ"),h=i("OZ4H"),d=i("zmEM"),p=i("3Uyd"),f=i("29Wa"),g=i("bFHC"),b=i("Cd2c"),m=i("iAde"),A=i("66mq"),y=i("csyo"),w=i("F1o0"),v=i("R7+U"),_=i("lQ7A"),S=i("k8N0"),E=i("W1gw"),C=i("cePI"),R=i("FlRo"),T=i("KZIX"),k=i("Y2X+"),I=i("QcI7"),O=i("Meci"),D=i("f3iV"),M=i("S17y"),P=i("Jb3d"),x=i("x9Az"),N=i("nIj0"),L=i("A1vf"),F=i("TkCa"),z=i("Ssnw"),H=i("EM62"),B=i("TQS+"),j=i("s2Ay");const G=["collapse"],U=function(){return{color:"linkTextColor"}};function K(t,e){1&t&&(H.Sb(0,"mat-icon",14),H.Jc(1,"keyboard_arrow_right"),H.Rb()),2&t&&H.kc("ngStyle",H.oc(1,U))}function V(t,e){1&t&&(H.Sb(0,"mat-icon",14),H.Jc(1,"keyboard_arrow_down"),H.Rb()),2&t&&H.kc("ngStyle",H.oc(1,U))}function q(t,e){if(1&t&&(H.Sb(0,"span",12),H.Hc(1,K,2,2,"mat-icon",13),H.Hc(2,V,2,2,"mat-icon",13),H.Rb()),2&t){const t=H.dc().$implicit,e=H.dc(2);H.Ab(1),H.kc("ngIf",!e.isActive(e.currentUrl,t.showChildrenRegex)),H.Ab(1),H.kc("ngIf",e.isActive(e.currentUrl,t.showChildrenRegex))}}const J=function(t,e){return{color:t,"border-color":e}};function W(t,e){if(1&t){const t=H.Tb();H.Sb(0,"a",17),H.Zb("click",(function(){H.xc(t);const i=e.$implicit;return H.dc(4).navigate(i.url)})),H.Jc(1),H.ec(2,"translate"),H.Rb()}if(2&t){const t=e.$implicit,i=H.dc(4);H.Eb("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),H.kc("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",H.qc(9,J,i.linkTextColor,i.linkTextColor)),H.Ab(1),H.Lc(" ",H.fc(2,7,t.label)," ")}}function Z(t,e){if(1&t&&(H.Sb(0,"div",15),H.Hc(1,W,3,12,"a",16),H.Rb()),2&t){const t=H.dc().$implicit;H.kc("@rollInOut",void 0),H.Ab(1),H.kc("ngForOf",null==t?null:t.children)}}function Y(t,e){if(1&t){const t=H.Tb();H.Sb(0,"div"),H.Sb(1,"a",9),H.Zb("click",(function(){H.xc(t);const i=e.$implicit;return H.dc(2).navigate(i.url)})),H.Jc(2),H.ec(3,"translate"),H.Hc(4,q,3,2,"span",10),H.Rb(),H.Hc(5,Z,2,2,"div",11),H.Rb()}if(2&t){const t=e.$implicit,i=H.dc(2);H.Ab(1),H.Eb("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),H.kc("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",H.qc(11,J,i.linkTextColor,i.linkTextColor)),H.Ab(1),H.Lc(" ",H.fc(3,9,t.label)," "),H.Ab(2),H.kc("ngIf",t.children),H.Ab(1),H.kc("ngIf",i.isActive(i.currentUrl,t.showChildrenRegex))}}function $(t,e){if(1&t&&(H.Sb(0,"div"),H.Hc(1,Y,6,14,"div",8),H.Rb()),2&t){const t=H.dc();H.kc("@rollInOut",void 0),H.Ab(1),H.kc("ngForOf",t.item.links)}}const X=function(t,e){return{background:t,"border-top":e}},Q=function(t){return{color:t}},tt=function(){return{color:"currentColor"}},et=function(t){return{background:t}};let it=(()=>{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 o.b&&(this.currentUrl=t.url)})}ngOnInit(){}ngOnChanges(t){}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)(H.Mb(o.f),H.Mb(z.m))},t.\u0275cmp=H.Gb({type:t,selectors:[["app-side-menu-item"]],viewQuery:function(t,e){var i;1&t&&H.Qc(G,!0),2&t&&H.sc(i=H.ac())&&(e.collapseDiv=i.first)},inputs:{item:"item",index:"index",showLinks:"showLinks",sideNav:"sideNav"},features:[H.yb],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&&(H.Sb(0,"div",0),H.Sb(1,"div",1),H.Zb("click",(function(){return e.toggle()})),H.Sb(2,"div",2),H.Sb(3,"a",3),H.Sb(4,"div"),H.Nb(5,"mat-icon",4),H.Rb(),H.Sb(6,"div",5),H.Jc(7),H.ec(8,"translate"),H.Rb(),H.Rb(),H.Rb(),H.Rb(),H.Sb(9,"div"),H.Sb(10,"div",6),H.Hc(11,$,2,2,"div",7),H.Rb(),H.Rb(),H.Rb()),2&t&&(H.Ab(1),H.kc("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",H.qc(18,X,e.item.backgroundColorCss,e.index?e.dividerStyle:"none")),H.Ab(1),H.Db("entity-menu-item-link ",e.item.labelClass,""),H.kc("perunWebAppsMiddleClickRouterLink",e.item.baseLink),H.Ab(1),H.kc("ngStyle",H.pc(21,Q,e.item.textColorCss)),H.Ab(2),H.kc("ngStyle",H.oc(23,tt))("svgIcon",e.item.icon),H.Ab(2),H.Kc(H.fc(8,16,e.item.label)),H.Ab(2),H.kc("@openClose",e.expanded?"open":"closed"),H.Ab(1),H.Db("side-entity-menu ",e.item.linksClass,""),H.kc("ngStyle",H.pc(24,et,e.linkBgColor)),H.Ab(1),H.kc("ngIf",e.showLinks))},directives:[l.s,n.w,B.c,g.a,n.t,n.s,n.q],pipes:[j.d],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;-ms-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}.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.c,F.d]}}),t})();var nt=i("OF3q"),st=i("hiWg"),ot=i("RUSO"),rt=i("alep"),at=i("e+sS"),ct=i("kdIE"),lt=i("XhvO"),ut=i("JVFj"),ht=i("ZTj5"),dt=i("+TsY"),pt=i("mEf3"),ft=i("Y9OK"),gt=i("yNE8");function bt(t,e){if(1&t&&(H.Sb(0,"div"),H.Jc(1),H.Rb()),2&t){const t=e.$implicit;H.Ab(1),H.Mc(" ",t.key," ",t.value," ")}}function mt(t,e){if(1&t&&(H.Sb(0,"div"),H.Sb(1,"h1",3),H.Jc(2),H.Rb(),H.Hc(3,bt,2,2,"div",2),H.ec(4,"keyvalue"),H.Rb()),2&t){const t=e.$implicit;H.Ab(2),H.Kc(t.key),H.Ab(1),H.kc("ngForOf",H.fc(4,2,t.value))}}function At(t,e){if(1&t&&(H.Sb(0,"div",1),H.Hc(1,mt,5,4,"div",2),H.ec(2,"keyvalue"),H.Rb()),2&t){const t=H.dc();H.Ab(1),H.kc("ngForOf",H.fc(2,1,t.principal.roles))}}let yt=(()=>{class t{constructor(t,e){this.authResolver=t,this.store=e}ngOnInit(){this.principal=this.store.getPerunPrincipal()}}return t.\u0275fac=function(e){return new(e||t)(H.Mb(z.h),H.Mb(z.m))},t.\u0275cmp=H.Gb({type:t,selectors:[["app-debugger-page"]],decls:1,vars:1,consts:[["class","p-3",4,"ngIf"],[1,"p-3"],[4,"ngFor","ngForOf"],[1,"page-subtitle","pb-0","pt-3"]],template:function(t,e){1&t&&H.Hc(0,At,3,3,"div",0),2&t&&H.kc("ngIf",void 0!==e.principal)},directives:[n.t,n.s],pipes:[n.l],styles:[""]}),t})();var wt=i("V78E"),vt=i("WimW"),_t=i("jk8c"),St=i("vhVt"),Et=i("p/8k"),Ct=i("g3Wv"),Rt=i("oqI+"),Tt=i("3EQ+"),kt=i("VMyb"),It=i("ipn+"),Ot=i("h1El"),Dt=i("DnAX"),Mt=i("1Gb8"),Pt=i("p3Ob"),xt=i("ZWQq"),Nt=i("hLiN"),Lt=i("yLXW"),Ft=i("mPlY"),zt=i("yaDT"),Ht=i("NU+N"),Bt=i("zSH9"),jt=i("Tsqg"),Gt=i("0N5F"),Ut=i("qvOF"),Kt=i("wBUr"),Vt=i("VYu3"),qt=i("is9t"),Jt=i("L4Ow"),Wt=i("ma6z"),Zt=i("bwko"),Yt=i("Rbfv"),$t=i("MP6f"),Xt=i("zldI"),Qt=i("KoHB"),te=i("hilf"),ee=i("aFDG"),ie=i("gcZR"),ne=i("4zkG"),se=i("tDou"),oe=i("+MEm"),re=i("ZWyU"),ae=i("R0qJ"),ce=i("KtsV"),le=i("v0MX"),ue=i("ILoV"),he=i("VEwN"),de=i("snnp"),pe=i("7fDV"),fe=i("HHEo"),ge=i("iyZ4"),be=i("t47Z"),me=i("/nwi"),Ae=i("pgvo"),ye=i("Dkjx"),we=i("h6su"),ve=i("Gtvd"),_e=i("bdug"),Se=i("O/Vf"),Ee=i("yWI2"),Ce=i("gdiH"),Re=i("77So"),Te=i("iT3j"),ke=i("bATb"),Ie=i("dnAU"),Oe=i("vUrr"),De=i("st5j"),Me=i("noDS"),Pe=i("h39k"),xe=i("pU19"),Ne=i("r3xl"),Le=i("HHqq"),Fe=i("AtkZ"),ze=i("49Zq"),He=i("EkHC"),Be=i("/bE8"),je=i("ESXS"),Ge=i("c9OP"),Ue=i("6mVK"),Ke=i("amZv"),Ve=i("kLAD"),qe=i("eakH"),Je=i("7o/y"),We=i("h7zu"),Ze=i("Q2p/"),Ye=i("ozd/"),$e=i("BYpP"),Xe=i("CIWc"),Qe=i("vNdQ"),ti=i("X2Q7");function ei(t,e){1&t&&H.Nb(0,"mat-spinner",6)}function ii(t,e){if(1&t){const t=H.Tb();H.Sb(0,"div",7),H.Sb(1,"mat-form-field"),H.Sb(2,"input",8),H.Zb("change",(function(){return H.xc(t),H.dc().makePath()})),H.ec(3,"translate"),H.Rb(),H.Sb(4,"mat-error"),H.Jc(5),H.ec(6,"translate"),H.Rb(),H.Rb(),H.Sb(7,"mat-form-field"),H.Sb(8,"input",9),H.Zb("ngModelChange",(function(e){return H.xc(t),H.dc().description=e})),H.ec(9,"translate"),H.Rb(),H.Rb(),H.Sb(10,"mat-form-field"),H.Nb(11,"input",10),H.ec(12,"translate"),H.Sb(13,"mat-error"),H.Jc(14),H.ec(15,"translate"),H.Rb(),H.Rb(),H.Sb(16,"mat-form-field"),H.Nb(17,"input",10),H.ec(18,"translate"),H.Sb(19,"mat-error"),H.Jc(20),H.ec(21,"translate"),H.Rb(),H.Rb(),H.Sb(22,"mat-form-field"),H.Nb(23,"input",10),H.ec(24,"translate"),H.Sb(25,"mat-error"),H.Jc(26),H.ec(27,"translate"),H.Rb(),H.Rb(),H.Sb(28,"span"),H.Jc(29),H.ec(30,"translate"),H.Rb(),H.Sb(31,"mat-checkbox",11),H.Zb("ngModelChange",(function(e){return H.xc(t),H.dc().status=e})),H.Jc(32),H.ec(33,"translate"),H.Rb(),H.Rb()}if(2&t){const t=H.dc();H.Ab(2),H.lc("placeholder",H.fc(3,17,"DIALOGS.CREATE_SERVICE.NAME")),H.kc("formControl",t.nameControl),H.Ab(3),H.Kc(H.fc(6,19,"DIALOGS.CREATE_SERVICE.REQUIRE_NAME")),H.Ab(3),H.lc("placeholder",H.fc(9,21,"DIALOGS.CREATE_SERVICE.DESCRIPTION")),H.kc("ngModel",t.description),H.Ab(3),H.lc("placeholder",H.fc(12,23,"DIALOGS.CREATE_SERVICE.DELAY")),H.kc("formControl",t.delayControl),H.Ab(3),H.Kc(H.fc(15,25,"DIALOGS.CREATE_SERVICE.INVALID_DELAY")),H.Ab(3),H.lc("placeholder",H.fc(18,27,"DIALOGS.CREATE_SERVICE.RECURRENCE")),H.kc("formControl",t.recurrenceControl),H.Ab(3),H.Kc(H.fc(21,29,"DIALOGS.CREATE_SERVICE.INVALID_RECURRENCE")),H.Ab(3),H.lc("placeholder",H.fc(24,31,"DIALOGS.CREATE_SERVICE.PATH")),H.kc("formControl",t.pathControl),H.Ab(3),H.Kc(H.fc(27,33,"DIALOGS.CREATE_SERVICE.REQUIRE_PATH")),H.Ab(3),H.Kc(H.fc(30,35,"DIALOGS.CREATE_SERVICE.STATUS")),H.Ab(2),H.kc("ngModel",t.status),H.Ab(1),H.Kc(H.fc(33,37,"DIALOGS.CREATE_SERVICE.STATUS_HINT"))}}let ni=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.serviceManager=i,this.notificator=n,this.translate=s,this.loading=!1,this.name="",this.status=!0,this.delay=10,this.path="",this.nameControl=new N.g("",[N.F.required]),this.delayControl=new N.g(10,[N.F.pattern("^[0-9]*$")]),this.recurrenceControl=new N.g(2,[N.F.pattern("^[0-9]*$")]),this.pathControl=new N.g("",[N.F.required])}ngOnInit(){this.theme=this.data.theme}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_SERVICE.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)(H.Mb(h.i),H.Mb(h.a),H.Mb(ti.n),H.Mb(z.l),H.Mb(j.e))},t.\u0275cmp=H.Gb({type:t,selectors:[["app-create-service-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"],["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,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"ml-5",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(H.Sb(0,"h1",0),H.Jc(1),H.ec(2,"translate"),H.Rb(),H.Sb(3,"div"),H.Hc(4,ei,1,0,"mat-spinner",1),H.Hc(5,ii,34,39,"div",2),H.Sb(6,"div",3),H.Sb(7,"button",4),H.Zb("click",(function(){return e.onCancel()})),H.Jc(8),H.ec(9,"translate"),H.Rb(),H.Sb(10,"button",5),H.Zb("click",(function(){return e.onCreate()})),H.Jc(11),H.ec(12,"translate"),H.Rb(),H.Rb(),H.Rb()),2&t&&(H.Ab(1),H.Kc(H.fc(2,9,"DIALOGS.CREATE_SERVICE.TITLE")),H.Ab(2),H.Cb(e.theme),H.Ab(1),H.kc("ngIf",e.loading),H.Ab(1),H.kc("ngIf",!e.loading),H.Ab(3),H.Lc(" ",H.fc(9,11,"DIALOGS.CREATE_SERVICE.CANCEL")," "),H.Ab(2),H.kc("disabled",e.nameControl.invalid||e.delayControl.invalid||e.recurrenceControl.invalid||e.pathControl.invalid||e.loading),H.Ab(1),H.Lc(" ",H.fc(12,13,"DIALOGS.CREATE_SERVICE.CREATE")," "))},directives:[h.j,n.t,h.c,a.b,y.c,h.g,f.c,b.b,N.c,N.C,N.r,N.h,f.b,N.u,c.a],pipes:[j.d],styles:[""]}),t})();var si=i("NC8S"),oi=i("7Y6W"),ri=i("jMG3"),ai=i("pnmw"),ci=i("OL2r"),li=i("IDQ9"),ui=i("A6H7"),hi=i("mjJC"),di=i("YSZu"),pi=i("EtR/"),fi=i("RCwe"),gi=i("NMas"),bi=i("aYBX"),mi=i("P2UU"),Ai=i("/VkC"),yi=i("KF6X"),wi=i("rmDM"),vi=i("Qgg6"),_i=i("JjRu"),Si=i("nKqi"),Ei=i("dEHC"),Ci=i("Qu9H"),Ri=i("E5oP"),Ti=i("H0K4"),ki=i("FcRk"),Ii=i("qySP"),Oi=i("K9kF"),Di=i("9wx0"),Mi=i("XpU2"),Pi=i("0XDM"),xi=i("EtYo"),Ni=i("A8Ay"),Li=i("LKLE"),Fi=i("nhAq"),zi=i("b7Yx"),Hi=i("8cyV"),Bi=i("U3ra"),ji=i("UX+r"),Gi=i("23RZ"),Ui=i("ZG5M"),Ki=i("tmvS"),Vi=i("YFHD"),qi=i("3jrC"),Ji=i("XAvq"),Wi=i("WLDY"),Zi=i("B/Qt"),Yi=i("YRqw"),$i=i("nz2m"),Xi=i("COMt"),Qi=i("ABWF"),tn=i("eXxK"),en=i("22FB"),nn=i("KQGD"),sn=i("jqZM"),on=i("HMTk"),rn=i("Ds80"),an=i("w+DT"),cn=i("LAw4"),ln=i("BnyX"),un=i("2Zb0"),hn=i("ajPJ"),dn=i("oYGW"),pn=i("pynj"),fn=i("l18O"),gn=i("6Xhx"),bn=i("9Iem"),mn=i("LLgS"),An=i("dhrr"),yn=i("YEcy"),wn=i("j+u3"),vn=i("4CqK"),_n=i("W5/Z"),Sn=i("iD4z"),En=i("jEFW"),Cn=i("py76"),Rn=i("aea8"),Tn=i("Y7Yh"),kn=i("C5kn"),In=i("RK/0"),On=i("yAs8"),Dn=i("NZNE"),Mn=i("Log1"),Pn=i("OcHD"),xn=i("IBaA"),Nn=i("SAuR"),Ln=i("EFHi"),Fn=i("H2Dp"),zn=i("h1GH");let Hn=(()=>{class t{constructor(t){this.translate=t,t.addLangs(["en","cs"])}}return t.\u0275mod=H.Kb({type:t}),t.\u0275inj=H.Jb({factory:function(e){return new(e||t)(H.Wb(j.e))},providers:[dt.a,pe.a],imports:[[n.c,o.j,r.b,b.c,f.e,N.B,N.l,g.b,_.g,p.b,j.c.forChild({}),a.c,C.c,R.p,T.g,I.e,a.c,c.b,h.h,v.b,E.b,y.b,A.b,k.b,S.b,u.g,l.l,w.c,d.b,l.t,m.b,O.j,x.g,Rt.g,O.j,M.g,P.c,Ut.g,Qt.a,D.b,fe.d,ge.a,be.b,$e.b,Si.e],$e.b,r.b,b.c,o.j,N.B,N.l,g.b,_.g,j.c,C.c,R.p,T.g,I.e,a.c,c.b,h.h,v.b,E.b,y.b,A.b,k.b,S.b,u.g,l.l,w.c,d.b,O.j,x.g,l.t,m.b,Rt.g,M.g,M.g,p.b,P.c,Ut.g,Ut.g,Ut.g,ge.a]}),t})();H.Ac(L.a,[n.q,n.r,n.s,n.t,n.A,n.w,n.x,n.y,n.z,n.u,n.v,o.k,o.g,o.i,o.h,o.l,Ut.b,r.a,l.n,l.m,r.d,r.c,Ri.b,Ti.b,Ti.c,f.b,f.c,f.f,f.g,f.h,f.i,f.j,b.b,b.d,N.H,N.w,N.G,N.c,N.x,N.A,N.a,N.D,N.E,N.z,N.r,N.s,N.C,N.n,N.m,N.y,N.b,N.d,N.h,N.j,N.i,N.k,N.e,N.u,N.v,N.t,g.a,_.a,_.b,_.c,_.d,_.e,_.f,p.a,p.c,p.d,p.g,p.h,p.f,p.e,j.a,a.b,a.a,C.a,C.b,R.n,R.i,R.k,R.c,R.b,R.m,R.e,R.g,R.h,R.a,R.d,R.j,R.l,R.f,R.q,T.c,T.d,T.a,T.f,T.e,T.b,I.a,I.h,I.j,I.k,I.b,I.g,I.i,c.a,c.c,h.f,h.d,h.j,h.g,h.c,v.a,v.c,E.a,y.a,y.c,A.a,k.a,k.c,S.c,S.a,u.a,u.b,u.d,u.e,u.f,u.h,u.i,u.j,u.l,u.k,u.c,w.b,w.a,d.a,l.s,m.a,O.a,O.f,O.n,O.d,O.m,O.l,O.b,O.e,O.k,O.i,O.h,O.g,O.o,O.c,x.a,x.j,x.b,x.d,x.e,x.h,x.i,x.c,x.f,Rt.e,Rt.f,Rt.a,Rt.b,Rt.d,Rt.c,M.d,M.a,M.c,M.e,M.b,M.f,P.e,P.b,P.d,P.a,Ut.a,Ut.d,Ut.e,ki.a,D.a,Ii.a,Oi.a,Di.a,Mi.a,Pi.a,xi.a,Ni.a,Li.a,Fi.a,zi.a,Hi.a,Bi.a,ji.a,Gi.a,Ui.a,Ki.a,B.a,Vi.a,qi.a,Ji.a,Wi.a,B.b,Zi.a,Yi.a,$i.a,Xi.a,Qi.a,B.c,tn.a,en.a,nn.a,sn.a,on.a,rn.a,an.a,cn.a,ln.a,un.a,hn.a,dn.a,pn.a,fn.a,gn.a,bn.a,mn.a,$e.a,$e.c,Si.a,Si.h,Si.d,Si.b,l.j,Si.c,Si.g,l.q,Si.i,Si.f,s.a,L.a,it,nt.a,st.a,ot.a,rt.a,ut.a,ht.a,ft.a,yt,wt.a,vt.a,_t.a,St.a,Et.a,Tt.a,kt.a,It.a,Ot.a,Dt.a,gt.a,pt.a,Pt.a,xt.a,Lt.a,Ft.a,zt.a,Bt.a,jt.a,Gt.a,Kt.a,Vt.a,qt.a,Ht.a,Wt.a,Yt.a,$t.a,Xt.a,te.a,ee.a,ie.a,ne.a,se.a,oe.a,ce.a,le.a,ue.a,he.a,de.a,re.a,ae.a,me.a,Ae.a,ye.a,we.a,ve.a,_e.a,Ee.a,Ce.a,Re.a,Te.a,ke.a,Ie.a,Oe.a,De.a,Me.a,Pe.a,xe.a,Ne.a,Le.a,Fe.a,ze.a,He.a,Be.a,je.a,Ge.a,Ue.a,Ke.a,Ve.a,qe.a,We.a,Ze.a,Ye.a,Xe.a,Qe.a,ni,si.a,oi.a,ri.a,ai.a,ci.a,li.a,hi.a,di.a,pi.a,fi.a,bi.a,gi.a,mi.a,Ai.a,yi.a,_i.a,Ei.a,Ci.a],[n.b,n.G,n.p,n.k,n.E,n.g,n.C,n.F,n.d,n.f,n.i,n.j,n.l,j.d,An.a,yn.a,wn.a,vn.a,_n.a,Sn.a,En.a,Cn.a,Rn.a,Tn.a,kn.a,In.a,On.a,Dn.a,Mn.a,Pn.a,xn.a,Nn.a,Ln.a,Fn.a,zn.a,at.a,ct.a,lt.a,Ct.a,Mt.a,dt.a,Nt.a,Jt.a,Zt.a,pe.a,Se.a,Je.a,ui.a,wi.a,vi.a])},PNff:function(t,e,i){"use strict";i.d(e,"a",(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})()},"Q2p/":function(t,e,i){"use strict";i.d(e,"a",(function(){return g}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("PBFl"),u=i("j+u3");function h(t,e){1&t&&a.Nb(0,"th",12)}function d(t,e){if(1&t&&(a.Sb(0,"td",13),a.Jc(1),a.ec(2,"userFullName"),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",a.fc(2,1,t)," ")}}function p(t,e){1&t&&a.Nb(0,"tr",14)}function f(t,e){1&t&&a.Nb(0,"tr",15)}let g=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.userManager=i,this.notificator=n,this.translate=s,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.userId=this.data.userId,this.dataSource=new r.o([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)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.q),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-disconnect-identity"]],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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Sb(4,"div",1),a.Sb(5,"p"),a.Jc(6),a.ec(7,"translate"),a.Rb(),a.Sb(8,"div",2),a.Jc(9),a.ec(10,"translate"),a.Rb(),a.Sb(11,"table",3),a.Qb(12,4),a.Hc(13,h,1,0,"th",5),a.Hc(14,d,3,3,"td",6),a.Pb(),a.Hc(15,p,1,0,"tr",7),a.Hc(16,f,1,0,"tr",8),a.Rb(),a.Rb(),a.Sb(17,"div",9),a.Sb(18,"button",10),a.Zb("click",(function(){return e.onCancel()})),a.Jc(19),a.ec(20,"translate"),a.Rb(),a.Sb(21,"button",11),a.Zb("click",(function(){return e.onConfirm()})),a.Jc(22),a.ec(23,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,11,"DIALOGS.DISCONNECT_IDENTITY.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(3),a.Kc(a.fc(7,13,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(10,15,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),a.Ab(2),a.kc("dataSource",e.dataSource),a.Ab(4),a.kc("matHeaderRowDef",e.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",e.displayedColumns),a.Ab(3),a.Lc(" ",a.fc(20,17,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),a.Ab(3),a.Lc(" ",a.fc(23,19,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[s.j,s.g,r.n,r.c,r.i,r.b,r.k,r.m,s.c,l.b,r.h,r.a,r.j,r.l],pipes:[c.d,u.a],styles:[""]}),t})()},QQZH:function(t,e,i){"use strict";i.d(e,"a",(function(){return b}));var n=i("ZTXN"),s=i("EWqr");class o extends s.a{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("DG/E");class a extends r.a{}const c=new a(o);var l=i("bwdy"),u=i("5uGe"),h=i("ryP2");class d extends u.a{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.a.createNext(t))}_error(t){this.scheduleMessage(h.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(h.a.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var f=i("MiDb"),g=i("yTkW");class b extends n.a{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 m(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 f.a;if(this.isStopped||this.hasError?o=l.a.EMPTY:(this.observers.push(t),o=new g.a(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 m{constructor(t,e){this.time=t,this.value=e}}},QcI7:function(t,e,i){"use strict";i.d(e,"a",(function(){return b})),i.d(e,"b",(function(){return w})),i.d(e,"c",(function(){return R})),i.d(e,"d",(function(){return C})),i.d(e,"e",(function(){return E})),i.d(e,"f",(function(){return T})),i.d(e,"g",(function(){return p})),i.d(e,"h",(function(){return f})),i.d(e,"i",(function(){return y})),i.d(e,"j",(function(){return m})),i.d(e,"k",(function(){return _}));var n=i("seVz"),s=i("mFH5"),o=i("5XID"),r=i("cqs0"),a=i("C05f"),c=i("g6G6"),l=i("J+dc"),u=i("YtkY"),h=i("EM62");const d=Object(s.D)(Object(s.A)(n.e));let p=(()=>{class t extends d{constructor(t,e,i){super(t,e),this._elementRef=t,this._tree=e,this.role="treeitem",this.tabIndex=Number(i)||0}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.l),h.Mb(n.c),h.Xb("tabindex"))},t.\u0275dir=h.Hb({type:t,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:3,hostBindings:function(t,e){2&t&&h.Bb("aria-expanded",e.isExpanded)("aria-level","treeitem"===e.role?e.level:null)("role",e.role)},inputs:{disabled:"disabled",tabIndex:"tabIndex",role:"role"},exportAs:["matTreeNode"],features:[h.zb([{provide:n.e,useExisting:t}]),h.xb]}),t})(),f=(()=>{class t extends n.f{}return t.\u0275fac=function(e){return g(e||t)},t.\u0275dir=h.Hb({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[h.zb([{provide:n.f,useExisting:t}]),h.xb]}),t})();const g=h.Ub(f);let b=(()=>{class t extends n.b{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}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:0}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.l),h.Mb(n.c),h.Mb(h.t),h.Xb("tabindex"))},t.\u0275dir=h.Hb({type:t,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],hostVars:2,hostBindings:function(t,e){2&t&&h.Bb("aria-expanded",e.isExpanded)("role",e.role)},inputs:{tabIndex:"tabIndex",disabled:"disabled",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[h.zb([{provide:n.b,useExisting:t},{provide:n.e,useExisting:t},{provide:n.a,useExisting:t}]),h.xb]}),t})(),m=(()=>{class t extends n.h{}return t.\u0275fac=function(e){return A(e||t)},t.\u0275dir=h.Hb({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[h.zb([{provide:n.h,useExisting:t}]),h.xb]}),t})();const A=h.Ub(m);let y=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.Q),h.Mb(n.a,8))},t.\u0275dir=h.Hb({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[h.zb([{provide:n.g,useExisting:t}])]}),t})(),w=(()=>{class t extends n.c{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275cmp=h.Gb({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){var i;1&t&&h.Dc(y,!0),2&t&&h.sc(i=h.ac())&&(e._nodeOutlet=i.first)},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[h.zb([{provide:n.c,useExisting:t}]),h.xb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&h.Ob(0,0)},directives:[y],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t})();const v=h.Ub(w);let _=(()=>{class t extends n.i{constructor(){super(...arguments),this.recursive=!1}}return t.\u0275fac=function(e){return S(e||t)},t.\u0275dir=h.Hb({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[h.zb([{provide:n.i,useExisting:t}]),h.xb]}),t})();const S=h.Ub(_);let E=(()=>{class t{}return t.\u0275mod=h.Kb({type:t}),t.\u0275inj=h.Jb({factory:function(e){return new(e||t)},imports:[[n.d,s.i],s.i]}),t})();class C{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(Object(l.a)(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 R extends r.b{constructor(t,e,i=[]){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new a.a([]),this._expandedData=new a.a([]),this._data=new a.a(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){const e=[t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData];return Object(c.a)(...e).pipe(Object(u.a)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class T extends r.b{constructor(){super(...arguments),this._data=new a.a([])}get data(){return this._data.value}set data(t){this._data.next(t)}connect(t){return Object(c.a)(t.viewChange,this._data).pipe(Object(u.a)(()=>this.data))}disconnect(){}}},Qgg6:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),s=i("s2Ay");let o=(()=>{class t{constructor(t){this.translateService=t}transform(t,...e){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)(n.Mb(s.e))},t.\u0275pipe=n.Lb({name:"applicationFormItemHidden",type:t,pure:!0}),t})()},Qu9H:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("OZ4H"),s=i("X2Q7"),o=i("cqs0"),r=i("iyZ4"),a=i("EM62"),c=i("2kYt"),l=i("PBFl"),u=i("csyo"),h=i("pynj"),d=i("K9kF"),p=i("s2Ay");function f(t,e){1&t&&a.Nb(0,"mat-spinner",6)}const g=function(){return["recent","vo","expiration","menu"]};function b(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",7),a.Sb(1,"perun-web-apps-debounce-filter",8),a.Zb("filter",(function(e){return a.xc(t),a.dc().applyFilter(e)})),a.ec(2,"translate"),a.Rb(),a.Sb(3,"perun-web-apps-groups-list",9),a.Zb("page",(function(e){return a.xc(t),a.dc().pageChanged(e)})),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(1),a.lc("placeholder",a.fc(2,8,"DIALOGS.ADD_GROUP_TO_REGISTRATION.FILTER_DESCRIPTION")),a.Ab(2),a.kc("pageSize",t.pageSize)("groups",t.unAssignedGroups)("selection",t.selection)("filter",t.filterValue)("hideColumns",a.oc(10,g))("disableRouting",!0)("disableMembers",!0)}}let m=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.groupService=i,this.registrarService=n,this.tableConfigService=s,this.loading=!1,this.selection=new o.c(!0,[]),this.filterValue="",this.tableId=r.e}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)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.h),a.Mb(s.l),a.Mb(r.pb))},t.\u0275cmp=a.Gb({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","hideColumns","disableRouting","disableMembers","page"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,f,1,0,"mat-spinner",1),a.Hc(5,b,4,11,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onAdd()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.ADD_GROUP_TO_REGISTRATION.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.ADD_GROUP_TO_REGISTRATION.CANCEL_BUTTON")," "),a.Ab(2),a.kc("disabled",0===e.selection.selected.length||e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.ADD_GROUP_TO_REGISTRATION.ADD_BUTTON")," "))},directives:[n.j,c.t,n.c,l.b,u.c,n.g,h.a,d.a],pipes:[p.d],styles:[""]}),t})()},R0qJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("OZ4H"),s=i("X2Q7"),o=i("cqs0"),r=i("Ssnw"),a=i("iyZ4"),c=i("EM62"),l=i("s2Ay"),u=i("A8Ay"),h=i("2kYt"),d=i("PBFl"),p=i("csyo"),f=i("ZWyU");function g(t,e){1&t&&c.Nb(0,"mat-spinner",8)}function b(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div",9),c.Sb(1,"app-ext-sources-list",10),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.kc("pageSize",t.pageSize)("extSources",t.extSources)("filterValue",t.filterValue)("selection",t.selection)}}let m=(()=>{class t{constructor(t,e,i,n,s,r){this.dialogRef=t,this.data=e,this.extSourceService=i,this.notificator=n,this.tableConfigService=s,this.translate=r,this.extSources=[],this.selection=new o.c(!0,[]),this.loading=!1,this.filterValue="",this.tableId=a.d}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(e=>{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(e=>{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)(c.Mb(n.i),c.Mb(n.a),c.Mb(s.f),c.Mb(r.l),c.Mb(a.pb),c.Mb(l.e))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"div",0),c.Sb(2,"h1",1),c.Jc(3),c.ec(4,"translate"),c.Rb(),c.Sb(5,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Rb(),c.Hc(6,g,1,0,"mat-spinner",3),c.Hc(7,b,2,4,"div",4),c.Sb(8,"div",5),c.Sb(9,"button",6),c.Zb("click",(function(){return e.onCancel()})),c.Jc(10),c.ec(11,"translate"),c.Rb(),c.Sb(12,"button",7),c.Zb("click",(function(){return e.onAdd()})),c.Jc(13),c.ec(14,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(3),c.Kc(c.fc(4,10,"DIALOGS.ADD_EXT_SOURCES.TITLE")),c.Ab(2),c.kc("placeholder","DIALOGS.ADD_EXT_SOURCES.FILTER"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(3),c.Lc(" ",c.fc(11,12,"DIALOGS.ADD_EXT_SOURCES.CANCEL")," "),c.Ab(2),c.kc("disabled",0===e.selection.selected.length||e.loading),c.Ab(1),c.Lc(" ",c.fc(14,14,"DIALOGS.ADD_EXT_SOURCES.ADD")," "))},directives:[n.j,u.a,h.t,n.c,d.b,p.c,n.g,f.a],pipes:[l.d],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t})()},"R7+U":function(t,e,i){"use strict";i.d(e,"a",(function(){return V})),i.d(e,"b",(function(){return q})),i.d(e,"c",(function(){return K})),i.d(e,"d",(function(){return F}));var n=i("HYj3"),s=i("2kYt"),o=i("EM62"),r=i("mFH5"),a=i("29Wa"),c=i("qvOF"),l=i("sg/T"),u=i("5XID"),h=i("cqs0"),d=i("fAiE"),p=i("ZTXN"),f=i("i9xl"),g=i("g6G6"),b=i("jIqt"),m=i("TLy2"),A=i("J+dc"),y=i("xVbo"),w=i("YtkY"),v=i("Ohay"),_=i("kuMc"),S=i("f7+R"),E=i("E5oP"),C=i("nIj0");const R=["trigger"],T=["panel"];function k(t,e){if(1&t&&(o.Sb(0,"span",8),o.Jc(1),o.Rb()),2&t){const t=o.dc();o.Ab(1),o.Kc(t.placeholder||"\xa0")}}function I(t,e){if(1&t&&(o.Sb(0,"span"),o.Jc(1),o.Rb()),2&t){const t=o.dc(2);o.Ab(1),o.Kc(t.triggerValue||"\xa0")}}function O(t,e){1&t&&o.ic(0,0,["*ngSwitchCase","true"])}function D(t,e){if(1&t&&(o.Sb(0,"span",9),o.Hc(1,I,2,1,"span",10),o.Hc(2,O,1,0,"ng-content",11),o.Rb()),2&t){const t=o.dc();o.kc("ngSwitch",!!t.customTrigger),o.Ab(2),o.kc("ngSwitchCase",!0)}}function M(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div",12),o.Sb(1,"div",13,14),o.Zb("@transformPanel.done",(function(e){return o.xc(t),o.dc()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return o.xc(t),o.dc()._handleKeydown(e)})),o.ic(3,1),o.Rb(),o.Rb()}if(2&t){const t=o.dc();o.kc("@transformPanelWrap",void 0),o.Ab(1),o.Db("mat-select-panel ",t._getPanelTheme(),""),o.Ec("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),o.kc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),o.Bb("id",t.id+"-panel")}}const P=[[["mat-select-trigger"]],"*"],x=["mat-select-trigger","*"],N={transformPanelWrap:Object(S.n)("transformPanelWrap",[Object(S.m)("* => void",Object(S.i)("@transformPanel",[Object(S.f)()],{optional:!0}))]),transformPanel:Object(S.n)("transformPanel",[Object(S.k)("void",Object(S.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(S.k)("showing",Object(S.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(S.k)("showing-multiple",Object(S.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(S.m)("void => *",Object(S.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(S.m)("* => void",Object(S.e)("100ms 25ms linear",Object(S.l)({opacity:0})))])};let L=0;const F=256,z=new o.r("mat-select-scroll-strategy"),H=new o.r("MAT_SELECT_CONFIG"),B={provide:z,deps:[n.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class j{constructor(t,e){this.source=t,this.value=e}}class G{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const U=Object(r.z)(Object(r.D)(Object(r.A)(Object(r.B)(G))));let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-select-trigger"]]}),t})(),V=(()=>{class t extends U{constructor(t,e,i,n,s,r,a,c,l,u,h,d,v,_){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=v,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+L++,this._destroy=new p.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new p.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(f.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(b.a)(t),Object(m.a)(()=>Object(g.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(A.a)(1),Object(m.a)(()=>this.optionSelectionChanges))}),this.openedChange=new o.o,this._openedStream=this.openedChange.pipe(Object(y.a)(t=>t),Object(w.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(y.a)(t=>!t),Object(w.a)(()=>{})),this.selectionChange=new o.o,this.valueChange=new o.o,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id,_&&(null!=_.disableOptionCentering&&(this.disableOptionCentering=_.disableOptionCentering),null!=_.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=_.typeaheadDebounceInterval))}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=Object(u.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(u.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(u.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(u.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(v.a)(),Object(_.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(_.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(b.a)(null),Object(_.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){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.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(A.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(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.e||e===d.q||e===d.j||e===d.n,n=e===d.g||e===d.o,s=this._keyManager;if(!s.isTyping()&&n&&!Object(d.t)(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;e===d.i||e===d.f?(e===d.i?s.setFirstItemActive():s.setLastItemActive(),t.preventDefault()):s.onKeydown(t);const n=this.selected;n&&i!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=i===d.e||i===d.q,s=e.isTyping();if(i===d.i||i===d.f)t.preventDefault(),i===d.i?e.setFirstItemActive():e.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(s||i!==d.g&&i!==d.o||!e.activeItem||Object(d.t)(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(Object(A.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_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.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return Object(o.W)()&&console.warn(i),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(_.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(g.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(_.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(g.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(_.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_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(),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(new j(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(r.w)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(r.x)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,F)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,i,n)=>void 0!==e?e:t===i?n:void 0,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,F),n=e*t-i;let s=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);s+=Object(r.w)(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)}_calculateOverlayScroll(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_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{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(F/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-F)%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,F)-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")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(c.h),o.Mb(o.h),o.Mb(o.A),o.Mb(r.d),o.Mb(o.l),o.Mb(E.c,8),o.Mb(C.t,8),o.Mb(C.j,8),o.Mb(a.a,8),o.Mb(C.q,10),o.Xb("tabindex"),o.Mb(z),o.Mb(l.k),o.Mb(H,8))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){var n;1&t&&(o.Fb(i,K,!0),o.Fb(i,r.n,!0),o.Fb(i,r.m,!0)),2&t&&(o.sc(n=o.ac())&&(e.customTrigger=n.first),o.sc(n=o.ac())&&(e.options=n),o.sc(n=o.ac())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(o.Qc(R,!0),o.Qc(T,!0),o.Qc(n.a,!0)),2&t&&(o.sc(i=o.ac())&&(e.trigger=i.first),o.sc(i=o.ac())&&(e.panel=i.first),o.sc(i=o.ac())&&(e.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&o.Zb("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(o.Bb("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),o.Eb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[o.zb([{provide:a.d,useExisting:t},{provide:r.g,useExisting:t}]),o.xb,o.yb],ngContentSelectors:x,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",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,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(o.jc(P),o.Sb(0,"div",0,1),o.Zb("click",(function(){return e.toggle()})),o.Sb(3,"div",2),o.Hc(4,k,2,1,"span",3),o.Hc(5,D,3,2,"span",4),o.Rb(),o.Sb(6,"div",5),o.Nb(7,"div",6),o.Rb(),o.Rb(),o.Hc(8,M,4,11,"ng-template",7),o.Zb("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){const t=o.tc(1);o.Ab(3),o.kc("ngSwitch",e.empty),o.Ab(1),o.kc("ngSwitchCase",!0),o.Ab(1),o.kc("ngSwitchCase",!1),o.Ab(3),o.kc("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[n.b,s.x,s.y,n.a,s.z,s.q],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}.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}\n"],encapsulation:2,data:{animation:[N.transformPanelWrap,N.transformPanel]},changeDetection:0}),t})(),q=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[B],imports:[[s.c,n.f,r.o,r.i],c.c,a.e,r.o,r.i]}),t})()},RCwe:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("OZ4H"),s=i("X2Q7"),o=i("FlRo"),r=i("cqs0"),a=i("iyZ4"),c=i("Ssnw"),l=i("EM62"),u=i("s2Ay"),h=i("2kYt"),d=i("PBFl"),p=i("csyo"),f=i("+Tre"),g=i("Y2X+"),b=i("23RZ");function m(t,e){1&t&&l.Nb(0,"mat-spinner",6)}function A(t,e){if(1&t){const t=l.Tb();l.Sb(0,"mat-checkbox",13),l.Zb("change",(function(e){return l.xc(t),l.dc(2).change(e)})),l.ec(1,"translate"),l.Jc(2),l.ec(3,"translate"),l.Rb()}if(2&t){const t=l.dc(2);l.lc("matTooltip",l.fc(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),l.kc("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.taskChecked),l.Ab(2),l.Lc(" ",l.fc(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function y(t,e){if(1&t){const t=l.Tb();l.Sb(0,"mat-checkbox",14),l.Zb("change",(function(e){return l.xc(t),l.dc(2).change(e)})),l.ec(1,"translate"),l.Jc(2),l.ec(3,"translate"),l.Rb()}if(2&t){const t=l.dc(2);l.lc("matTooltip",l.fc(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),l.kc("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.taskResultsChecked),l.Ab(2),l.Lc(" ",l.fc(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function w(t,e){if(1&t){const t=l.Tb();l.Sb(0,"perun-web-apps-resources-list",15),l.Zb("allSelected",(function(e){return l.xc(t),l.dc(2).disableCheckboxes(e)}))("page",(function(e){return l.xc(t),l.dc(2).pageChanged(e)})),l.Rb()}if(2&t){const t=l.dc(2);l.kc("pageSize",t.pageSize)("disableRouting",!0)("resources",t.resources)("selection",t.selected)("displayedColumns",t.displayedColumns)}}function v(t,e){if(1&t){const t=l.Tb();l.Sb(0,"div",7),l.Sb(1,"p"),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"div"),l.Hc(5,A,4,9,"mat-checkbox",8),l.Hc(6,y,4,9,"mat-checkbox",9),l.Sb(7,"mat-checkbox",10),l.Zb("change",(function(e){return l.xc(t),l.dc().change(e)})),l.ec(8,"translate"),l.Jc(9),l.ec(10,"translate"),l.Rb(),l.Rb(),l.Sb(11,"p"),l.Jc(12),l.ec(13,"translate"),l.Rb(),l.Sb(14,"div",11),l.Jc(15),l.ec(16,"translate"),l.Rb(),l.Hc(17,w,1,5,"perun-web-apps-resources-list",12),l.Rb()}if(2&t){const t=l.dc();l.Ab(2),l.Kc(l.fc(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),l.Ab(3),l.kc("ngIf",null!==t.taskId),l.Ab(1),l.kc("ngIf",null!==t.taskId),l.Ab(1),l.lc("matTooltip",l.fc(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),l.kc("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.destinationChecked),l.Ab(2),l.Lc(" ",l.fc(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),l.Ab(3),l.Kc(l.fc(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),l.Ab(3),l.Lc(" ",l.fc(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),l.Ab(2),l.kc("ngIf",!t.loading)}}let _=(()=>{class t{constructor(t,e,i,n,s,c,l,u,h){this.dialogRef=t,this.data=e,this.tableConfigService=i,this.resourcesManager=n,this.tasksManager=s,this.serviceManager=c,this.translate=l,this.notificator=u,this.cd=h,this.loading=!1,this.dataSource=new o.o(this.data.resource),this.selected=new r.c(!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=a.U}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)(l.Mb(n.i),l.Mb(n.a),l.Mb(a.pb),l.Mb(s.m),l.Mb(s.o),l.Mb(s.n),l.Mb(u.e),l.Mb(c.l),l.Mb(l.h))},t.\u0275cmp=l.Gb({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&&(l.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Sb(3,"div"),l.Hc(4,m,1,0,"mat-spinner",1),l.Hc(5,v,18,21,"div",2),l.Sb(6,"div",3),l.Sb(7,"button",4),l.Zb("click",(function(){return e.cancel()})),l.Jc(8),l.ec(9,"translate"),l.Rb(),l.Sb(10,"button",5),l.Zb("click",(function(){return e.remove()})),l.Jc(11),l.ec(12,"translate"),l.Rb(),l.Rb(),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),l.Ab(2),l.Cb(e.theme),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(3),l.Lc(" ",l.fc(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),l.Ab(2),l.kc("disabled",e.loading||0===e.selected.selected.length),l.Ab(1),l.Lc(" ",l.fc(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[n.j,h.t,n.c,d.b,p.c,n.g,f.a,g.a,b.a],pipes:[u.d],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),t})()},"RK/0":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){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.Lb({name:"memberStatusIcon",type:t,pure:!0}),t})()},ROBh:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("gBlb"),s=i("ckkg"),o=i("czMQ");function r(...t){let e=t[t.length-1];return Object(n.a)(e)?(t.pop(),Object(o.a)(t,e)):Object(s.a)(t)}},RUSO:function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("JjRu");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.o(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.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.h))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-delete-group-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"app-delete-entity-dialog",0),a.Zb("deleted",(function(t){return e.onSubmit(t)})),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(1),a.kc("entityNames",e.dataSource)("entityType","groups")("relations",e.relations))},directives:[l.a],styles:[""]}),t})()},Rbfv:function(t,e,i){"use strict";i.d(e,"a",(function(){return z}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("cqs0"),c=i("Ssnw"),l=i("X2Q7"),u=i("8clQ"),h=i("s2Ay"),d=i("9wx0"),p=i("2kYt"),f=i("+Tre"),g=i("29Wa"),b=i("Cd2c"),m=i("nIj0"),A=i("PBFl"),y=i("Y2X+"),w=i("bFHC"),v=i("FcRk");function _(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("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=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function E(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")))}function C(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function R(t,e){1&t&&(n.Sb(0,"th",17),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")))}function T(t,e){if(1&t&&(n.Sb(0,"div"),n.Jc(1),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Lc(" ",t.tagName," ")}}function k(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"mat-form-field"),n.Sb(2,"input",24),n.Zb("ngModelChange",(function(e){return n.xc(t),n.dc().$implicit.tagName=e})),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc().$implicit;n.Ab(2),n.kc("ngModel",t.tagName)}}function I(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,T,2,1,"div",23),n.Hc(2,k,3,1,"div",23),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("ngIf",!i.isChanging.isSelected(t)),n.Ab(1),n.kc("ngIf",i.isChanging.isSelected(t))}}function O(t,e){1&t&&n.Nb(0,"th",17)}function D(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",27),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().edit(e)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"edit"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function M(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",27),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().save(e)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"save"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function P(t,e){if(1&t&&(n.Sb(0,"td",22),n.Sb(1,"div",25),n.Hc(2,D,4,3,"button",26),n.Hc(3,M,4,3,"button",26),n.Rb(),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(2),n.kc("ngIf",!i.isChanging.isSelected(t)),n.Ab(1),n.kc("ngIf",i.isChanging.isSelected(t))}}function x(t,e){1&t&&n.Nb(0,"tr",28)}function N(t,e){1&t&&n.Nb(0,"tr",29)}function L(t,e){1&t&&(n.Sb(0,"app-alert",30),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"),"\n"))}function F(t,e){1&t&&(n.Sb(0,"app-alert",30),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let z=(()=>{class t{constructor(t,e,i,s,o){this.resourceManager=t,this.notificator=e,this.translator=i,this.authResolver=s,this.tableCheckbox=o,this.resourceTags=[],this.selection=new a.c(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","edit"],this.page=new n.o,this.isChanging=new a.c(!0,[]),this.pageSizeOptions=u.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(this.resourceTags),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.tagName;default:return""}}exportData(t){Object(u.i)(Object(u.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(u.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(u.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}save(t){this.resourceManager.updateResourceTag({resourceTag:t}).subscribe(()=>{this.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.isChanging.deselect(t)})}edit(t){this.isChanging.select(t)}pageChanged(t){this.pageSize=t.pageSize,this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.m),n.Mb(c.l),n.Mb(h.e),n.Mb(c.h),n.Mb(c.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-resources-tags-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,_,2,3,"th",6),n.Hc(7,S,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,E,3,3,"th",9),n.Hc(10,C,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,R,3,3,"th",6),n.Hc(13,I,3,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,O,1,0,"th",6),n.Hc(16,P,4,2,"td",11),n.Pb(),n.Hc(17,x,1,0,"tr",13),n.Hc(18,N,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,L,3,3,"app-alert",16),n.Hc(21,F,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.resourceTags.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.resourceTags.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.resourceTags.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.resourceTags.length))},directives:[d.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,p.t,r.h,f.a,r.a,o.b,g.c,b.b,m.c,m.r,m.u,A.b,y.a,w.a,r.j,r.l,v.a],pipes:[h.d],styles:[""]}),t})()},S17y:function(t,e,i){"use strict";i.d(e,"a",(function(){return C})),i.d(e,"b",(function(){return S})),i.d(e,"c",(function(){return x})),i.d(e,"d",(function(){return M})),i.d(e,"e",(function(){return R})),i.d(e,"f",(function(){return E})),i.d(e,"g",(function(){return L}));var n=i("fAiE"),s=i("EM62"),o=i("mFH5"),r=i("2kYt"),a=i("5XID"),c=i("ZTXN"),l=i("g6G6"),u=i("J+dc"),h=i("kuMc"),d=i("jIqt"),p=i("5lCh"),f=i("sg/T"),g=i("cqs0"),b=i("29Wa"),m=i("cZZj"),A=i("E5oP"),y=i("nIj0");const w=["*"];class v{constructor(t){this._elementRef=t}}const _=Object(o.D)(Object(o.y)(Object(o.z)(v),"primary"),-1);let S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"]}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"]}),t})(),C=(()=>{class t extends _{constructor(t,e,i,n,r,a,l,u){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=a,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 c.a,this._onBlur=new c.a,this.selectionChange=new s.o,this.destroyed=new s.o,this.removed=new s.o,this._addHostClassName(),this._chipRippleTarget=(u||document).createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new o.v(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===r,this.tabIndex=null!=l&&parseInt(l)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=Object(a.c)(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=Object(a.c)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=Object(a.c)(t)}get removable(){return this._removable}set removable(t){this._removable=Object(a.c)(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._markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())}toggleSelected(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),this._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.d:case n.b:this.remove(),t.preventDefault();break;case n.o:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.asObservable().pipe(Object(u.a)(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})}_markForCheck(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(s.A),s.Mb(m.a),s.Mb(o.h,8),s.Mb(p.a,8),s.Mb(s.h),s.Xb("tabindex"),s.Mb(r.e,8))},t.\u0275dir=s.Hb({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){var n;1&t&&(s.Fb(i,S,!0),s.Fb(i,E,!0),s.Fb(i,R,!0)),2&t&&(s.sc(n=s.ac())&&(e.avatar=n.first),s.sc(n=s.ac())&&(e.trailingIcon=n.first),s.sc(n=s.ac())&&(e.removeIcon=n.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&s.Zb("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.Bb("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),s.Eb("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.xb]}),t})(),R=(()=>{class t{constructor(t,e){this._parentChip=t,e&&"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}_handleClick(t){const e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(C),s.Mb(s.l))},t.\u0275dir=s.Hb({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&s.Zb("click",(function(t){return e._handleClick(t)}))}}),t})();const T=new s.r("mat-chips-default-options");class k{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const I=Object(o.B)(k);let O=0;class D{constructor(t,e){this.source=t,this.value=e}}let M=(()=>{class t extends I{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 c.a,this._uid="mat-chip-list-"+O++,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.o,this.valueChange=new s.o,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=Object(a.c)(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=Object(a.c)(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)&&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=Object(a.c)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=Object(a.c)(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return Object(l.a)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return Object(l.a)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return Object(l.a)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return Object(l.a)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new f.g(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(h.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(Object(d.a)(null),Object(h.a)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new g.c(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}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;t.keyCode===n.b&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(t.keyCode===n.i?(this._keyManager.setFirstItemActive(),t.preventDefault()):t.keyCode===n.f?(this._keyManager.setLastItemActive(),t.preventDefault()):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 D(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.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.Mb(s.l),s.Mb(s.h),s.Mb(A.c,8),s.Mb(y.t,8),s.Mb(y.j,8),s.Mb(o.d),s.Mb(y.q,10))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){var n;1&t&&s.Fb(i,C,!0),2&t&&s.sc(n=s.ac())&&(e.chips=n)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&s.Zb("focus",(function(){return e.focus()}))("blur",(function(){return e._blur()}))("keydown",(function(t){return e._keydown(t)})),2&t&&(s.Vb("id",e._uid),s.Bb("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.Eb("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.zb([{provide:b.d,useExisting:t}]),s.xb],ngContentSelectors:w,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(s.jc(),s.Sb(0,"div",0),s.ic(1),s.Rb())},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})(),P=0,x=(()=>{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.o,this.placeholder="",this.id="mat-chip-list-input-"+P++,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=Object(a.c)(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=Object(a.c)(t)}get empty(){return!this._inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}_keydown(t){t&&t.keyCode===n.p&&!Object(n.t)(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)}_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}),t&&t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this._inputElement.focus(t)}_isSeparatorKey(t){if(Object(n.t)(t))return!1;const e=this.separatorKeyCodes,i=t.keyCode;return Array.isArray(e)?e.indexOf(i)>-1:e.has(i)}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(T))},t.\u0275dir=s.Hb({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&s.Zb("keydown",(function(t){return e._keydown(t)}))("blur",(function(){return e._blur()}))("focus",(function(){return e._focus()}))("input",(function(){return e._onInput()})),2&t&&(s.Vb("id",e.id),s.Bb("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.yb]}),t})();const N={separatorKeyCodes:[n.g]};let L=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[o.d,{provide:T,useValue:N}]}),t})()},SAuR:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("2kYt"),s=i("EM62");let o=(()=>{class t{transform(t,e){return t&&"never"!==t.toLowerCase()?Object(n.I)(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"parseDate",type:t,pure:!0}),t})()},SrNW:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");function s(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new o(t,e,i))}}class o{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new r(t,this.accumulator,this.seed,this.hasSeed))}}class r extends n.a{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)}}},Ssnw:function(t,e,i){"use strict";i.d(e,"h",(function(){return r})),i.d(e,"d",(function(){return A})),i.d(e,"m",(function(){return d})),i.d(e,"i",(function(){return w})),i.d(e,"e",(function(){return S})),i.d(e,"a",(function(){return I})),i.d(e,"b",(function(){return k})),i.d(e,"l",(function(){return T})),i.d(e,"k",(function(){return O})),i.d(e,"c",(function(){return M})),i.d(e,"g",(function(){return P})),i.d(e,"n",(function(){return x})),i.d(e,"f",(function(){return N})),i.d(e,"j",(function(){return H}));var n=i("Iydx"),s=i("X2Q7"),o=i("EM62");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.hasAtLeasOne(n.a.PERUNADMIN,n.a.FACILITYADMIN,n.a.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(n.a.PERUNADMIN)}isVoAdmin(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.principalRoles.has(n.a.PERUNADMIN)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(n.a.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeasOne(n.a.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(n.a.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(n.a.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeasOne(n.a.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.CABINETADMIN)}isVoObserver(){return this.hasAtLeasOne(n.a.PERUNADMIN,n.a.VOOBSERVER)}isThisVoObserver(t){return this.principalRoles.has(n.a.PERUNADMIN)||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(){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){this.dialogRef=t}ngOnInit(){}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(g.i))},t.\u0275cmp=o.Gb({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.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Sb(3,"div",1),o.Jc(4),o.ec(5,"translate"),o.Rb(),o.Sb(6,"div",2),o.Sb(7,"div",3),o.Sb(8,"button",4),o.Zb("click",(function(){return e.close()})),o.Jc(9),o.ec(10,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),o.Ab(3),o.Lc(" ",o.fc(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),o.Ab(5),o.Lc(" ",o.fc(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[g.j,g.g,g.c,b.b],pipes:[f.d],styles:[""]}),t})(),A=(()=>{class t{constructor(t,e,i,n){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.userSet=new o.o,this.user=null,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(h.f),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}startIdpFilterKeeper(){this.router.events.pipe(Object(l.a)(t=>t instanceof h.b)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:t,queryParamsHandling:"merge",replaceUrl:!0})})}getUserManager(){return this.manager}getClientSettings(){const t=location.search.substr(1).split("&"),e=this.store.get("oidc_client","filters");let i="";return t.forEach(t=>{const n=t.split("=");if("idpFilter"===n[0]){const t=e[n[1]];t&&(i=t,this.filterShortname=n[1])}}),{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:{acr_values:i}}}loadConfigData(){this.manager=new a.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded(t=>{this.user=t}),this.manager.events.addAccessTokenExpired(()=>{const t=Object(p.o)();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 Object(c.a)(this.manager.getUser()).pipe(Object(u.a)(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.Wb(o.s),o.Wb(d),o.Wb(g.b),o.Wb(h.a))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var y=i("yv0D");let w=(()=>{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=Object(p.o)();this.dialog.open(y.d,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.Wb(A),o.Wb(d),o.Wb(r),o.Wb(s.d),o.Wb(g.b),o.Wb(h.f))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var v=i("bFHC"),_=i("e4iD");let S=(()=>{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.Wb(v.c),o.Wb(_.b))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t})();var E=i("vobO"),C=i("47ST"),R=i("8j5Y");let T=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new o.o}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.Wb(f.e))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),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.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),I=(()=>{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=Object(p.o)();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(Object(R.a)(t=>{t instanceof E.f&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?Object(C.a)(e):n?void this.notificator.showRPCError(i):Object(C.a)(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.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(o.Wb(A),o.Wb(k),o.Wb(T),o.Wb(d),o.Wb(g.b),o.Wb(w))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t})(),O=(()=>{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.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var D=i("4e/d");let M=(()=>{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),Object(C.a)(s)}getHeaders(){let t=new E.d;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new E.e,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe(Object(D.a)(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(Object(D.a)(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(Object(D.a)(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(Object(D.a)(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(o.Wb(E.b),o.Wb(T),o.Wb(A),o.Wb(d))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),P=(()=>{class t{constructor(t){this.router=t,this.lastState="forward",this.history=new Set,t.events.subscribe(t=>{t instanceof h.c&&("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.Wb(h.f))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),x=(()=>{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.Wb(s.i))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var L=i("C05f"),F=i("ROBh"),z=i("ruxD");class H{constructor(t,e){this.dynamicPaginatingService=t,this.authzService=e,this.membersSubject=new L.a([]),this.loadingSubject=new L.a(!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(Object(D.a)(()=>Object(F.a)([])),Object(z.a)(()=>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(t){return this.membersSubject.asObservable()}disconnect(t){this.membersSubject.complete(),this.loadingSubject.complete()}getData(){return this.membersSubject.value}}},"Sv/w":function(t,e,i){"use strict";i.d(e,"a",(function(){return u})),i.d(e,"b",(function(){return p})),i.d(e,"c",(function(){return f})),i.d(e,"d",(function(){return a})),i.d(e,"e",(function(){return d})),i.d(e,"f",(function(){return h})),i.d(e,"g",(function(){return g})),i.d(e,"h",(function(){return A})),i.d(e,"i",(function(){return m})),i.d(e,"j",(function(){return c}));var n=i("EM62"),s=i("2kYt");function o(){throw Error("Host already has a portal attached")}class r{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&o(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class a extends r{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class c extends r{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 l extends r{constructor(t){super(),this.element=t instanceof n.l?t.nativeElement:t}}class u{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&o(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof c?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}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 h extends u{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),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)),i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class d extends h{}let p=(()=>{class t extends c{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.M),n.Mb(n.Q))},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.xb]}),t})(),f=(()=>{class t extends u{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new n.o,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),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.Mb(n.j),n.Mb(n.Q),n.Mb(s.e))},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.xb]}),t})(),g=(()=>{class t extends f{}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[n.zb([{provide:f,useExisting:t}]),n.xb]}),t})();const b=n.Ub(g);let m=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t})();class A{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const i=this._customTokens.get(t);return void 0!==i?i:this._parentInjector.get(t,e)}}},Sv31:function(t,e,i){"use strict";i.d(e,"a",(function(){return T}));var n=i("X2Q7"),s=i("iyZ4"),o=i("nIj0"),r=i("2kYt"),a=i("EM62"),c=i("sEIs"),l=i("0XDM"),u=i("29Wa"),h=i("R7+U"),d=i("mFH5"),p=i("pynj"),f=i("BnyX"),g=i("+Tre"),b=i("PBFl"),m=i("csyo"),A=i("aag5"),y=i("oCM2"),w=i("s2Ay");function v(t,e){if(1&t){const t=a.Tb();a.Sb(0,"button",16),a.Zb("click",(function(){return a.xc(t),a.dc().showAllDetails=!0})),a.Jc(1),a.ec(2,"translate"),a.Rb()}2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function _(t,e){if(1&t){const t=a.Tb();a.Sb(0,"button",16),a.Zb("click",(function(){return a.xc(t),a.dc().showAllDetails=!1})),a.Jc(1),a.ec(2,"translate"),a.Rb()}2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function S(t,e){1&t&&a.Nb(0,"mat-spinner",17)}function E(t,e){if(1&t){const t=a.Tb();a.Sb(0,"app-applications-list",20),a.Zb("page",(function(e){return a.xc(t),a.dc(2).pageChanged(e)})),a.Rb()}if(2&t){const t=a.dc(2);a.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("applications",t.applications)("displayedColumns",t.displayedColumns)}}function C(t,e){if(1&t){const t=a.Tb();a.Sb(0,"app-perun-web-apps-application-list-details",21),a.Zb("page",(function(e){return a.xc(t),a.dc(2).detailPageChanged(e)})),a.Rb()}if(2&t){const t=a.dc(2);a.kc("pageSize",t.detailPageSize)("filterValue",t.filterValue)("applications",t.applications)}}function R(t,e){if(1&t&&(a.Sb(0,"div"),a.Hc(1,E,1,4,"app-applications-list",18),a.Hc(2,C,1,3,"app-perun-web-apps-application-list-details",19),a.Rb()),2&t){const t=a.dc();a.Ab(1),a.kc("ngIf",!t.showAllDetails),a.Ab(1),a.kc("ngIf",t.showAllDetails)}}let T=(()=>{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.gb,this.tableId=s.hb,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.g(Object(r.I)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new o.g(Object(r.I)(new Date,"yyyy-MM-dd","en-GB"))})}setData(t){this.registrarManager.getApplicationsForVo(this.vo.id,t,Object(r.I)(this.startDate.value,"yyyy-MM-dd","en-GB"),Object(r.I)(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.Mb(n.r),a.Mb(n.l),a.Mb(s.pb),a.Mb(c.a))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Eb("router-component",!0)},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.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Sb(4,"perun-web-apps-refresh-button",1),a.Zb("refresh",(function(){return e.select()})),a.Rb(),a.Hc(5,v,3,3,"button",2),a.Hc(6,_,3,3,"button",2),a.Sb(7,"mat-form-field",3),a.Sb(8,"mat-label"),a.Jc(9),a.ec(10,"translate"),a.Rb(),a.Sb(11,"mat-select",4),a.Zb("selectionChange",(function(){return e.select()}))("valueChange",(function(t){return e.state=t})),a.Sb(12,"mat-option",5),a.Jc(13),a.ec(14,"translate"),a.Rb(),a.Sb(15,"mat-option",6),a.Jc(16),a.ec(17,"translate"),a.Rb(),a.Sb(18,"mat-option",7),a.Jc(19),a.ec(20,"translate"),a.Rb(),a.Sb(21,"mat-option",8),a.Jc(22),a.ec(23,"translate"),a.Rb(),a.Sb(24,"mat-option",9),a.Jc(25),a.ec(26,"translate"),a.Rb(),a.Sb(27,"mat-option",10),a.Jc(28),a.ec(29,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Sb(30,"perun-web-apps-debounce-filter",11),a.Zb("filter",(function(t){return e.applyFilter(t)})),a.Rb(),a.Sb(31,"perun-web-apps-date-range",12),a.Zb("datePicker",(function(){return e.select()})),a.Rb(),a.Sb(32,"div"),a.Sb(33,"mat-checkbox",13),a.Zb("change",(function(t){return e.showGroupApplications(t)})),a.Jc(34),a.ec(35,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(36,S,1,0,"mat-spinner",14),a.Hc(37,R,3,2,"div",15)),2&t&&(a.Ab(1),a.Kc(a.fc(2,18,"VO_DETAIL.APPLICATION.TITLE")),a.Ab(4),a.kc("ngIf",!e.showAllDetails),a.Ab(1),a.kc("ngIf",e.showAllDetails),a.Ab(3),a.Kc(a.fc(10,20,"VO_DETAIL.APPLICATION.TABLE_STATE")),a.Ab(2),a.kc("value",e.state),a.Ab(2),a.Kc(a.fc(14,22,"VO_DETAIL.APPLICATION.SELECTION_ALL")),a.Ab(3),a.Kc(a.fc(17,24,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),a.Ab(3),a.Kc(a.fc(20,26,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),a.Ab(3),a.Kc(a.fc(23,28,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),a.Ab(3),a.Kc(a.fc(26,30,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),a.Ab(3),a.Kc(a.fc(29,32,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),a.Ab(2),a.kc("placeholder","VO_DETAIL.APPLICATION.FILTER"),a.Ab(1),a.kc("startDate",e.startDate)("endDate",e.endDate),a.Ab(2),a.kc("checked",e.checked),a.Ab(1),a.Lc(" ",a.fc(35,34,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[l.a,r.t,u.c,u.g,h.a,d.n,p.a,f.a,g.a,b.b,m.c,A.a,y.a],pipes:[w.d],styles:[""]}),t})()},Sy1n:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("sEIs"),s=i("EM62");let o=(()=>{class t{constructor(t,e){this.router=t,this.routeReuseStrategy=e;const i=e;t.events.subscribe(t=>{t instanceof n.c&&i.setLastNavigationType("popstate"===t.navigationTrigger?"back":"direct")})}init(){}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(n.f),s.Wb(n.e))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var r=i("Ssnw"),a=i("3p4X"),c=i("vobO"),l=i("8clQ"),u=i("YSZu"),h=i("9RND"),d=i("xVbo"),p=i("OZ4H");function f(t,e){if(1&t&&(s.Sb(0,"div",3),s.Sb(1,"mat-icon"),s.Jc(2,"alert"),s.Rb(),s.Jc(3),s.Rb()),2&t){const t=s.dc();s.Ab(3),s.Lc(" ",t.warningMessage,"\n")}}const g=function(t,e){return{top:t,background:e}},b=function(t,e){return{"margin-top":t,"min-height":e}},m=function(t){return{"border-color":t}},A=function(t){return{background:t}},y=function(t,e){return{"min-height":t,"background-color":e}};function w(t,e){if(1&t&&(s.Nb(0,"app-perun-nav-menu",4),s.Sb(1,"mat-sidenav-container",5),s.Sb(2,"mat-sidenav",6,7),s.Sb(4,"perfect-scrollbar",8),s.Nb(5,"app-side-menu",9),s.Rb(),s.Rb(),s.Sb(6,"mat-sidenav-content",10),s.Sb(7,"div",11),s.Nb(8,"router-outlet"),s.Rb(),s.Sb(9,"div",12),s.Nb(10,"perun-web-apps-footer"),s.Rb(),s.Rb(),s.Rb()),2&t){const t=s.tc(3),e=s.dc();s.kc("ngStyle",s.qc(13,g,e.getNavMenuTop(),e.navBackgroundColor))("sideNav",t)("principal",e.principal),s.Ab(1),s.kc("ngStyle",s.qc(16,b,e.getSideNavMarginTop(),e.getSideNavMinHeight())),s.Ab(1),s.kc("ngStyle",s.pc(19,m,e.sideBarBorderColor))("mode",e.sidebarMode)("opened",!e.isMobile())("fixedInViewport",!0)("fixedTopGap",e.getTopGap()),s.Ab(2),s.kc("ngStyle",s.pc(21,A,e.sideMenubackgroundColor))("scrollIndicators",!0),s.Ab(1),s.kc("sideNav",t),s.Ab(1),s.kc("ngStyle",s.qc(23,y,e.getContentInnerMinHeight(),e.contentBackgroundColor))}}function v(t,e){1&t&&s.Nb(0,"perun-web-apps-login-screen-base",13),2&t&&s.kc("headerColorConfigLabel","nav_bg_color")("application","admin-gui")}let _=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.cache=t,this.store=e,this.http=i,this.dialog=n,this.router=s,this.initAuth=o,this.auth=r,this.route=a,this.sidebarMode="side",this.navBackgroundColor=this.store.get("theme","nav_bg_color"),this.sideBarBorderColor=this.store.get("theme","sidemenu_border_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.sideMenubackgroundColor=this.store.get("theme","sidemenu_bg_color"),this.displayWarning=this.store.get("display_warning"),this.warningMessage=this.store.get("warning_message"),this.version=h.a,this.cache.init(),this.getScreenSize(null)}getScreenSize(t){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(),Object(a.a)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe(Object(d.a)(t=>t instanceof n.c)).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 c.d({"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=Object(l.o)();this.dialog.open(u.a,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) + 0px)":"calc((100vh - 64px) + 0px)"}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(s.Mb(o),s.Mb(r.m),s.Mb(c.b),s.Mb(p.b),s.Mb(n.f),s.Mb(r.i),s.Mb(r.d),s.Mb(n.a))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&s.Zb("resize",(function(t){return e.getScreenSize(t)}),!1,s.wc)},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"],["id","content",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,"headerColorConfigLabel","application"]],template:function(t,e){1&t&&(s.Hc(0,f,4,1,"div",0),s.Nb(1,"perun-web-apps-notificator",1),s.Hc(2,w,11,26,"ng-template",2),s.Hc(3,v,1,2,"ng-template",2)),2&t&&(s.kc("ngIf",e.displayWarning),s.Ab(1),s.kc("displayWarning",e.displayWarning),s.Ab(1),s.kc("ngIf",!e.isLoginScreenShow),s.Ab(1),s.kc("ngIf",e.isLoginScreenShow))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#footer[_ngcontent-%COMP%]{position:absolute;height:200px;bottom:0;width:100%}@media (max-width:768px){#footer[_ngcontent-%COMP%]{height:450px}}#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})()},TKFd:function(t,e,i){"use strict";i.d(e,"a",(function(){return u})),i.d(e,"b",(function(){return l})),i.d(e,"c",(function(){return h}));var n=i("5XID"),s=i("EM62"),o=i("IdLP"),r=i("ZTXN"),a=i("mWib");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=Object(s.Ib)({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=Object(n.e)(t);return new o.a(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.a,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.Wb(c))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(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.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(n.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(n.f)(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(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(l),s.Mb(s.l),s.Mb(s.A))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[c]}),t})()},TLy2:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("pBDD"),s=i("r9RI"),o=i("mW0F"),r=i("YtkY"),a=i("GoAz");function c(t,e){return"function"==typeof e?i=>i.pipe(c((i,n)=>Object(a.a)(t(i,n)).pipe(Object(r.a)((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.a{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.a(this,e,i),a=this.destination;a.add(r),this.innerSubscription=Object(o.a)(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)}}},"TQS+":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return a}));var n=i("EM62");let s=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l))},t.\u0275dir=n.Hb({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})();var o=i("Ssnw");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.Mb(n.l),n.Mb(o.g))},t.\u0275dir=n.Hb({type:t,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(t,e){1&t&&n.Zb("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.Hb({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&n.Zb("mouseup",(function(t){return e.onClick(t)}))},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})()},TkCa:function(t,e,i){"use strict";i.d(e,"c",(function(){return s})),i.d(e,"b",(function(){return o})),i.d(e,"d",(function(){return r})),i.d(e,"a",(function(){return a})),i.d(e,"h",(function(){return c})),i.d(e,"g",(function(){return l})),i.d(e,"e",(function(){return u})),i.d(e,"f",(function(){return h}));var n=i("f7+R");const s=Object(n.n)("openClose",[Object(n.k)("open",Object(n.l)({overflow:"hidden"})),Object(n.k)("closed",Object(n.l)({height:"0px",overflow:"hidden"})),Object(n.m)("open <=> closed",[Object(n.e)(".3s ease-in")])]),o=Object(n.n)("flyInOut",[Object(n.m)(":enter",[Object(n.l)({transform:"translateX(100%)"}),Object(n.e)(".25s")]),Object(n.m)(":leave",[Object(n.e)(".5s",Object(n.l)({transform:"translateX(100%)"}))])]),r=Object(n.n)("rollInOut",[Object(n.m)(":enter",[Object(n.l)({height:"0px"}),Object(n.e)(".25s")]),Object(n.m)(":leave",[Object(n.e)(".25s",Object(n.l)({height:"0px"}))])]),a=Object(n.n)("routeAnimations",[Object(n.m)("* => *",[Object(n.l)({position:"relative"}),Object(n.i)(":enter",[Object(n.l)({width:"100%",opacity:0})],{optional:!0}),Object(n.i)(":leave",[Object(n.l)({position:"absolute",width:"100%",opacity:1}),Object(n.e)("0.15s",Object(n.l)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Object(n.i)(":enter",[Object(n.l)({position:"absolute",width:"100%",opacity:0}),Object(n.e)("0.15s",Object(n.l)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),c=Object(n.n)("tagsOpenClose",[Object(n.k)("open",Object(n.l)({})),Object(n.k)("closed",Object(n.l)({width:"0px",height:"0px"})),Object(n.m)("open <=> closed",[Object(n.e)(".3s ease-in")])]),l=Object(n.n)("switchAnimations",[Object(n.m)("true => false",[Object(n.i)(":enter, :leave",Object(n.l)({})),Object(n.g)([Object(n.i)(":enter",[Object(n.l)({transform:"translateX(-100%)"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(0%)"}))],{optional:!0}),Object(n.i)(":leave",[Object(n.l)({transform:"translateX(0%)",position:"absolute"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(100%)"}))],{optional:!0})])]),Object(n.m)("false => true",[Object(n.i)(":enter, :leave",Object(n.l)({})),Object(n.g)([Object(n.i)(":enter",[Object(n.l)({transform:"translateX(100%)"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(0%)"}))],{optional:!0}),Object(n.i)(":leave",[Object(n.l)({transform:"translateX(0%)",position:"absolute"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(-100%)"}))],{optional:!0})])])]),u=Object(n.n)("slideInOutLeft",[Object(n.m)(":enter",[Object(n.l)({transform:"translateX(-100%)",position:"relative"}),Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(0%)"}))]),Object(n.m)(":leave",[Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(-100%)"}))])]),h=Object(n.n)("slideInOutRight",[Object(n.m)(":enter",[Object(n.l)({transform:"translateX(100%)",position:"fixed"}),Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(0%)"}))]),Object(n.m)(":leave",[Object(n.l)({transform:"translateX(-100%)",position:"relative"}),Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(100%)"}))])])},Tsqg:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("Ssnw"),o=i("nyAh"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("Y2X+"),d=i("csyo"),p=i("29Wa"),f=i("Cd2c"),g=i("H0K4"),b=i("nIj0");function m(t,e){1&t&&a.Nb(0,"mat-spinner",7)}function A(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",8),a.Sb(1,"div"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"mat-form-field"),a.Sb(5,"textarea",9),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().mailFooter=e})),a.Rb(),a.Rb(),a.Sb(6,"div",10),a.Jc(7),a.ec(8,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),": "),a.Ab(3),a.kc("cdkTextareaAutosize",!0)("ngModel",t.mailFooter),a.Ab(2),a.Kc(a.fc(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION"))}}let y=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.attributesManager=e,this.translateService=i,this.notificator=n,this.data=s,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,o.a.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,o.a.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)(a.Mb(n.i),a.Mb(r.c),a.Mb(c.e),a.Mb(s.l),a.Mb(n.a))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,m,1,0,"mat-spinner",1),a.Hc(5,A,9,8,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.cancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"div",5),a.ec(11,"translate"),a.Sb(12,"button",6),a.Zb("click",(function(){return e.submit()})),a.Jc(13),a.ec(14,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),a.Ab(2),a.lc("matTooltip",a.fc(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),a.kc("matTooltipDisabled",e.editAuth)("matTooltipPosition","above"),a.Ab(2),a.kc("disabled",e.loading||!e.editAuth),a.Ab(1),a.Lc(" ",a.fc(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[n.j,l.t,n.c,u.b,h.a,d.c,n.g,p.c,f.b,g.c,b.c,b.r,b.u],pipes:[c.d],styles:[""]}),t})()},U3ra:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("+0js"),s=i("8clQ"),o=i("EM62"),r=i("OZ4H"),a=i("nIj0"),c=i("2kYt"),l=i("Y2X+"),u=i("29Wa"),h=i("Cd2c"),d=i("PBFl"),p=i("bFHC");function f(t,e){if(1&t){const t=o.Tb();o.Sb(0,"button",15),o.Zb("click",(function(){o.xc(t);const e=o.dc().index;return o.dc().removeValue(e)})),o.Sb(1,"mat-icon"),o.Jc(2," indeterminate_check_box "),o.Rb(),o.Rb()}}function g(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div",9),o.Sb(1,"mat-form-field",10),o.Nb(2,"label",11),o.Sb(3,"input",12),o.Zb("click",(function(){o.xc(t);const i=e.index,n=o.dc();return n.readonly&&n.attribute.displayName&&n.showValue(n.keys[i],n.attribute.displayName)}))("ngModelChange",(function(i){o.xc(t);const n=e.index;return o.dc().keys[n]=i})),o.Rb(),o.Rb(),o.Sb(4,"mat-form-field",10),o.Nb(5,"label",11),o.Sb(6,"input",13),o.Zb("click",(function(){o.xc(t);const i=e.$implicit,n=o.dc();return n.readonly&&void 0!==n.attribute.displayName&&n.showValue(i,n.attribute.displayName)}))("ngModelChange",(function(i){o.xc(t);const n=e.index;return o.dc().values[n]=i})),o.Rb(),o.Rb(),o.Hc(7,f,3,0,"button",14),o.Rb()}if(2&t){const t=e.index,i=o.dc();o.Ab(1),o.lc("appearance",i.readonly?"none":"standard"),o.Ab(1),o.nc("for","",i.attribute.id,"-key-",t,""),o.Ab(1),o.Eb("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),o.nc("id","",i.attribute.id,"-key-",t,""),o.mc("name","key-",t,""),o.kc("ngModel",i.keys[t])("readonly",i.readonly),o.Ab(1),o.lc("appearance",i.readonly?"none":"standard"),o.Ab(1),o.nc("for","",i.attribute.id,"-value-",t,""),o.Ab(1),o.Eb("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),o.mc("name","value-",t,""),o.nc("id","",i.attribute.id,"-value-",t,""),o.kc("readonly",i.readonly)("ngModel",i.values[t]),o.Ab(1),o.kc("ngIf",!i.readonly)}}function b(t,e){1&t&&(o.Sb(0,"mat-icon"),o.Jc(1,"more_horiz"),o.Rb())}function m(t,e){1&t&&(o.Sb(0,"mat-icon"),o.Jc(1,"keyboard_arrow_up"),o.Rb())}function A(t,e){if(1&t){const t=o.Tb();o.Sb(0,"button",16),o.Zb("click",(function(){return o.xc(t),o.dc().onShowChange()})),o.Hc(1,b,2,0,"mat-icon",17),o.Hc(2,m,2,0,"mat-icon",17),o.Rb()}if(2&t){const t=o.dc();o.Ab(1),o.kc("ngIf",!t.showMore),o.Ab(1),o.kc("ngIf",t.showMore)}}function y(t,e){if(1&t){const t=o.Tb();o.Sb(0,"button",18),o.Zb("click",(function(){return o.xc(t),o.dc().addValue()})),o.Sb(1,"mat-icon"),o.Jc(2," add_box "),o.Rb(),o.Rb()}}let w=(()=>{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=Object(s.s)(this.attribute))}customTrackBy(t,e){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.Ab(1),o.kc("ngIf",!e.readonly))},directives:[a.H,a.s,a.t,c.s,l.a,c.t,u.c,h.b,a.c,a.C,a.r,a.u,d.b,p.a],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})()},"UX+r":function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("EM62"),s=i("8clQ"),o=i("+0js"),r=i("OZ4H"),a=i("29Wa"),c=i("Cd2c"),l=i("nIj0");let u=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.o}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=Object(s.s)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t,e){const i=Object(s.o)();i.width="350px",i.data={value:t,title:e},this.dialog.open(o.n,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.b))},t.\u0275cmp=n.Gb({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.Sb(0,"mat-form-field",0),n.Sb(1,"input",1),n.Zb("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.Rb(),n.Rb()),2&t&&(n.lc("appearance",e.readonly?"none":"standard"),n.Ab(1),n.Eb("cursor-pointer",e.readonly&&void 0!==e.value),n.kc("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[a.c,c.b,l.c,l.r,l.u],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})()},V78E:function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("JjRu");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.o(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.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.m))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-remove-resource-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","disableForce","deleted"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"app-delete-entity-dialog",0),a.Zb("deleted",(function(t){return e.onSubmit(t)})),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(1),a.kc("entityNames",e.dataSource)("entityType","resources")("disableForce",!0))},directives:[l.a],styles:[""]}),t})()},VBdk:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),s=i("OZ4H"),o=i("s2Ay");let r=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.i))},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"h2",0),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[s.g],pipes:[o.d],styles:[""]}),t})()},VEwN:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("cqs0"),a=i("iyZ4"),c=i("EM62"),l=i("s2Ay"),u=i("2kYt"),h=i("PBFl"),d=i("Y2X+"),p=i("csyo"),f=i("pynj"),g=i("K9kF");function b(t,e){1&t&&c.Nb(0,"mat-spinner",6)}const m=function(){return["recent","vo","expiration","menu"]};function A(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div",7),c.Sb(1,"perun-web-apps-debounce-filter",8),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.ec(2,"translate"),c.Rb(),c.Sb(3,"perun-web-apps-groups-list",9),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.lc("placeholder",c.fc(2,8,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),c.Ab(2),c.kc("pageSize",t.pageSize)("groups",t.unAssignedGroups)("selection",t.selection)("filter",t.filterValue)("hideColumns",c.oc(10,m))("disableRouting",!0)("disableMembers",!1)}}let y=(()=>{class t{constructor(t,e,i,n,s,o,c,l){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourceManager=s,this.tableConfigService=o,this.groupService=c,this.guiAuthResolver=l,this.loading=!1,this.checkGroups=!1,this.selection=new r.c(!0,[]),this.filterValue="",this.tableId=a.p}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(t=>{this.groupService.getAllGroups(this.resource.voId).subscribe(e=>{this.unAssignedGroups=e;for(const i of t)for(const t of e)i.id===t.id&&this.unAssignedGroups.splice(this.unAssignedGroups.indexOf(t),1);this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}onAdd(){if(this.checkGroups);else{this.loading=!0;const t=[];for(const e of this.selection.selected)t.push(e.id);this.resourceManager.assignGroupsToResource(t,this.resource.id).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t),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)}canAddGroups(){let t=!0;return this.selection.selected.forEach(e=>{this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,e])||(t=!1)}),t}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.i),c.Mb(n.a),c.Mb(s.l),c.Mb(l.e),c.Mb(o.m),c.Mb(a.pb),c.Mb(o.h),c.Mb(s.h))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],decls:14,vars:19,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","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","hideColumns","disableRouting","disableMembers","page"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,b,1,0,"mat-spinner",1),c.Hc(5,A,4,11,"div",2),c.Sb(6,"div",3),c.Sb(7,"button",4),c.Zb("click",(function(){return e.onCancel()})),c.Jc(8),c.ec(9,"translate"),c.Rb(),c.Sb(10,"button",5),c.Zb("click",(function(){return e.onAdd()})),c.ec(11,"translate"),c.Jc(12),c.ec(13,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(2),c.Kc(c.fc(3,11,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(3),c.Lc(" ",c.fc(9,13,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),c.Ab(2),c.lc("matTooltip",c.fc(11,15,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_TOOLTIP")),c.kc("disabled",0===e.selection.selected.length||!e.canAddGroups()||e.loading)("matTooltipDisabled",e.canAddGroups()),c.Ab(2),c.Lc(" ",c.fc(13,17,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))},directives:[n.j,u.t,n.c,h.b,d.a,p.c,n.g,f.a,g.a],pipes:[l.d],styles:[""]}),t})()},VFai:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("4sdY"),s=i("X2Q7"),o=i("8clQ"),r=i("iyZ4"),a=i("cqs0"),c=i("AtkZ"),l=i("49Zq"),u=i("EM62"),h=i("OZ4H"),d=i("EtYo"),p=i("bFHC"),f=i("2kYt"),g=i("0XDM"),b=i("PBFl"),m=i("A8Ay"),A=i("csyo"),y=i("w+DT"),w=i("s2Ay");function v(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-refresh-button",9),u.Zb("refresh",(function(){return u.xc(t),u.dc().refreshTable()})),u.Rb()}}function _(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",10),u.Zb("click",(function(){return u.xc(t),u.dc().onCreate()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Kc(u.fc(2,1,"FACILITY_MANAGEMENT.CREATE")))}function S(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",11),u.Zb("click",(function(){return u.xc(t),u.dc().onDelete()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}if(2&t){const t=u.dc();u.kc("disabled",0===t.selection.selected.length),u.Ab(1),u.Kc(u.fc(2,2,"FACILITY_MANAGEMENT.DELETE"))}}function E(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-immediate-filter",12),u.Zb("filter",(function(e){return u.xc(t),u.dc().applyFilter(e)})),u.Rb()}2&t&&u.kc("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER")}function C(t,e){1&t&&u.Nb(0,"mat-spinner",13)}function R(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-facilities-list",14),u.Zb("page",(function(e){return u.xc(t),u.dc().pageChanged(e)})),u.Rb()}if(2&t){const t=u.dc();u.kc("pageSize",t.pageSize)("selection",t.selection)("filterValue",t.filterValue)("facilities",t.facilities)("recentIds",t.recentIds)}}const T=function(){return{color:"black"}};let k=(()=>{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=r.B,this.selection=new a.c(!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=Object(o.r)("facilities"),this.loading=!1})}onCreate(){const t=Object(o.o)();t.width="800px",t.data={theme:"facility-theme"},this.dialog.open(c.a,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}onDelete(){const t=Object(o.o)();t.width="500px",t.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(l.a,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.Mb(s.g),u.Mb(n.a),u.Mb(r.pb),u.Mb(h.b))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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.Sb(0,"div",0),u.Nb(1,"perun-web-apps-back-button"),u.Sb(2,"h1",1),u.Nb(3,"mat-icon",2),u.Jc(4),u.ec(5,"translate"),u.Rb(),u.Hc(6,v,1,0,"perun-web-apps-refresh-button",3),u.Hc(7,_,3,3,"button",4),u.Hc(8,S,3,4,"button",5),u.Hc(9,E,1,2,"perun-web-apps-immediate-filter",6),u.Hc(10,C,1,0,"mat-spinner",7),u.Hc(11,R,1,5,"perun-web-apps-facilities-list",8),u.Rb()),2&t&&(u.Ab(3),u.kc("ngStyle",u.oc(10,T)),u.Ab(1),u.Lc(" ",u.fc(5,8,"FACILITY_MANAGEMENT.TITLE")," "),u.Ab(2),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading))},directives:[d.a,p.a,f.w,f.t,g.a,b.b,m.a,A.c,y.a],pipes:[w.d],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t})()},VMyb:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),s=i("OZ4H"),o=i("PBFl"),r=i("s2Ay");let a=(()=>{class t{constructor(t){this.dialogRef=t}ngOnInit(){}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.i))},t.\u0275cmp=n.Gb({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.Sb(0,"h1",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Sb(3,"div",1),n.Sb(4,"div",2),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Sb(7,"div"),n.Jc(8),n.ec(9,"translate"),n.Rb(),n.Sb(10,"div",3),n.Jc(11),n.ec(12,"translate"),n.Rb(),n.Rb(),n.Sb(13,"div",4),n.Sb(14,"button",5),n.Zb("click",(function(){return e.onCancel()})),n.Jc(15),n.ec(16,"translate"),n.Rb(),n.Sb(17,"button",6),n.Zb("click",(function(){return e.submit()})),n.Jc(18),n.ec(19,"translate"),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),n.Ab(4),n.Kc(n.fc(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")),n.Ab(3),n.Kc(n.fc(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),n.Ab(3),n.Kc(n.fc(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),n.Ab(4),n.Lc(" ",n.fc(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),n.Ab(3),n.Lc(" ",n.fc(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[s.j,s.g,s.c,o.b],pipes:[r.d],styles:[""]}),t})()},VYu3:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),s=i("FcRk"),o=i("qvOF"),r=i("wBUr"),a=i("s2Ay");let c=(()=>{class t{constructor(){this.addedTag=new n.o,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"]),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=n.Gb({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&&(n.Sb(0,"app-alert",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Sb(3,"div",1),n.Sb(4,"div",2),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Sb(7,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(8,"div",4),n.Jc(9),n.ec(10,"translate"),n.Rb(),n.Sb(11,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(12,"div",4),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Sb(15,"div",5),n.Jc(16),n.ec(17,"translate"),n.Rb(),n.Sb(18,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(19,"div",4),n.Jc(20),n.ec(21,"translate"),n.Rb(),n.Sb(22,"div",5),n.Jc(23),n.ec(24,"translate"),n.Rb(),n.Sb(25,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(26,"div",4),n.Jc(27),n.ec(28,"translate"),n.Rb(),n.Sb(29,"div",5),n.Jc(30),n.ec(31,"translate"),n.Rb(),n.Sb(32,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(33,"div",4),n.Jc(34),n.ec(35,"translate"),n.Rb(),n.Sb(36,"div",5),n.Jc(37),n.ec(38,"translate"),n.Rb(),n.Sb(39,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(40,"div",4),n.Jc(41),n.ec(42,"translate"),n.Rb(),n.Sb(43,"div",5),n.Jc(44),n.ec(45,"translate"),n.Rb(),n.Sb(46,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),n.Ab(4),n.Lc("",n.fc(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),":"),n.Ab(2),n.kc("tags",e.applicationRelatedTags),n.Ab(2),n.Lc("",n.fc(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),":"),n.Ab(2),n.kc("tags",e.userRelatedTags),n.Ab(2),n.Lc("",n.fc(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.validationLinksUsersTags),n.Ab(2),n.Lc("",n.fc(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.applicationLinksUsersTags),n.Ab(2),n.Lc("",n.fc(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.applicationLinksAdministratorsTags),n.Ab(2),n.Lc("",n.fc(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.perunLinksAdministratorsTags),n.Ab(2),n.Lc("",n.fc(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.userInvitationsTags))},directives:[s.a,o.b,r.a],pipes:[a.d],styles:[".scrollable[_ngcontent-%COMP%]{height:380px;overflow:auto}"]}),t})()},VvXq:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EWqr");class s extends n.a{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("DG/E");class r extends o.a{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 t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},W1gw:function(t,e,i){"use strict";i.d(e,"a",(function(){return g})),i.d(e,"b",(function(){return b}));var n=i("HYj3"),s=i("Sv/w"),o=i("2kYt"),r=i("EM62"),a=i("mFH5"),c=i("PBFl"),l=i("ZTXN"),u=i("J+dc"),h=(i("kuMc"),i("f7+R"));function d(t,e){}i("sg/T"),i("HOZh");class p{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const f={snackBarState:Object(h.n)("state",[Object(h.k)("void, hidden",Object(h.l)({transform:"scale(0.8)",opacity:0})),Object(h.k)("visible",Object(h.l)({transform:"scale(1)",opacity:1})),Object(h.m)("* => visible",Object(h.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(h.m)("* => void, * => hidden",Object(h.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(h.l)({opacity:0})))])};let g=(()=>{class t extends s.a{constructor(t,e,i,n){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=i,this.snackBarConfig=n,this._destroyed=!1,this._onExit=new l.a,this._onEnter=new l.a,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._role="assertive"!==n.politeness||n.announcementMessage?"off"===n.politeness?null:"status":"alert"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:i}=t;if(("void"===i&&"void"!==e||"hidden"===i)&&this._completeExit(),"visible"===i){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(u.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.A),r.Mb(r.l),r.Mb(r.h),r.Mb(p))},t.\u0275cmp=r.Gb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var i;1&t&&r.Dc(s.c,!0),2&t&&r.sc(i=r.ac())&&(e._portalOutlet=i.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(t,e){1&t&&r.Fc("@state.done",(function(t){return e.onAnimationEnd(t)})),2&t&&(r.Bb("role",e._role),r.Gc("@state",e._animationState))},features:[r.xb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.Hc(0,d,0,0,"ng-template",0)},directives:[s.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[f.snackBarState]}}),t})(),b=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[n.f,s.i,o.c,c.c,a.i],a.i]}),t})()},"W5/Z":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("Ssnw"),s=i("EM62"),o=i("s2Ay");let r=(()=>{class t{constructor(t,e){this.translate=t,this.storage=e}transform(t,e){const i=this.storage.get("custom_labels");if(i){const e=Object.keys(i);for(const i of e){const e=this.storage.get("custom_labels",i);if(e.label===t)return"en"===this.translate.currentLang?e.en:e.cz}}return t}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(o.e),s.Mb(n.m))},t.\u0275pipe=s.Lb({name:"customTranslate",type:t,pure:!0}),t})()},WLDY:function(t,e,i){"use strict";i.d(e,"a",(function(){return U}));var n=i("EM62"),s=i("cqs0"),o=i("iAde"),r=i("cePI"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("2kYt"),h=i("9wx0"),d=i("+Tre"),p=i("sEIs"),f=i("TQS+"),g=i("FcRk"),b=i("s2Ay"),m=i("Y7Yh");function A(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e&&i.masterToggle(),i.selectionChange.emit()})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",21),n.Sb(1,"mat-checkbox",22),n.Zb("click",(function(e){return n.xc(t),e.stopPropagation()}))("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i&&o.selection.toggle(s),o.selectionChange.emit()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("checked",i.selection.isSelected(t))("aria-label",i.checkboxLabel(t))}}function w(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")))}function v(t,e){if(1&t&&(n.Sb(0,"div"),n.Jc(1),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Kc(t.task.id)}}function _(t,e){1&t&&(n.Sb(0,"div"),n.Jc(1,"0"),n.Rb())}function S(t,e){if(1&t&&(n.Sb(0,"td",21),n.Hc(1,v,2,1,"div",24),n.Hc(2,_,2,0,"div",24),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",t.task),n.Ab(1),n.kc("ngIf",!t.task)}}function E(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")))}function C(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.service.name)}}function R(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")))}function T(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.status)}}function k(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")))}function I(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"serviceStateBlockedToString"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function O(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")))}function D(t,e){if(1&t&&(n.Sb(0,"div"),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.task.startTime,"d.M.y H:mm:ss"))}}function M(t,e){1&t&&(n.Sb(0,"div"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET"),""))}function P(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,D,3,4,"div",24),n.Hc(2,M,3,3,"div",24),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",t.task&&t.task.startTime),n.Ab(1),n.kc("ngIf",!t.task||!t.task.startTime)}}function x(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")))}function N(t,e){if(1&t&&(n.Sb(0,"div"),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.task.endTime,"d.M.y H:mm:ss"))}}function L(t,e){1&t&&(n.Sb(0,"div"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function F(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,N,3,4,"div",24),n.Hc(2,L,3,3,"div",24),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",t.task&&t.task.endTime),n.Ab(1),n.kc("ngIf",!t.task||!t.task.endTime)}}function z(t,e){1&t&&n.Nb(0,"tr",26)}const H=function(t,e){return["/facilities",t,"services-status",e]};function B(t,e){if(1&t&&n.Nb(0,"tr",27),2&t){const t=e.$implicit,i=n.dc();n.Eb("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),n.kc("routerLink",i.disableRouting||null===t.task?null:n.qc(12,H,t.facility.id,t.taskId))("perunWebAppsMiddleClickRouterLink",i.disableRouting||null===t.task?null:n.qc(15,H,t.facility.id,t.taskId))}}function j(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function G(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}let U=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.servicesStatus=[],this.hideColumns=[],this.selection=new s.c(!0,[]),this.pageSize=10,this.disableRouting=!0,this.page=new n.o,this.selectionChange=new n.o,this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"task.id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new a.o(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=(t,e)=>{const i=e.trim().toLowerCase(),n=t=>{let e="";return Object.values(t).forEach(t=>{"object"!=typeof t?e=e+" "+t:null!==t&&(e=e+" "+n(t))}),e.trim().toLowerCase()};return n(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?Object(u.I)(t.task.startTime,"d.M.y H:mm:ss","en"):t[e];case"task.endTime":return t.task&&t.task.endTime?Object(u.I)(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?Object(u.I)(t.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):t[e];case"task.endTime":return t.task&&t.task.endTime?Object(u.I)(t.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):t[e];default:return t[e]}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{servicesStatus:"servicesStatus",hideColumns:"hideColumns",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page",selectionChange:"selectionChange"},features:[n.yb],decls:30,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"table",3),n.Qb(4,4),n.Hc(5,A,2,3,"th",5),n.Hc(6,y,2,2,"td",6),n.Pb(),n.Qb(7,7),n.Hc(8,w,3,3,"th",8),n.Hc(9,S,3,2,"td",6),n.Pb(),n.Qb(10,9),n.Hc(11,E,3,3,"th",8),n.Hc(12,C,2,1,"td",10),n.Pb(),n.Qb(13,11),n.Hc(14,R,3,3,"th",8),n.Hc(15,T,2,1,"td",10),n.Pb(),n.Qb(16,12),n.Hc(17,k,3,3,"th",8),n.Hc(18,I,3,3,"td",10),n.Pb(),n.Qb(19,13),n.Hc(20,O,3,3,"th",8),n.Hc(21,P,3,2,"td",10),n.Pb(),n.Qb(22,14),n.Hc(23,x,3,3,"th",8),n.Hc(24,F,3,2,"td",10),n.Pb(),n.Hc(25,z,1,0,"tr",15),n.Hc(26,B,1,18,"tr",16),n.Rb(),n.Sb(27,"mat-paginator",17),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(28,j,3,3,"app-alert",18),n.Hc(29,G,3,3,"app-alert",18)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.servicesStatus.length),n.Ab(3),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.servicesStatus.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.servicesStatus.length),n.Ab(1),n.kc("ngIf",0===e.servicesStatus.length))},directives:[h.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,o.a,u.t,a.h,d.a,a.a,r.b,a.j,a.l,p.g,f.c,g.a],pipes:[b.d,m.a,u.f],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})()},WimW:function(t,e,i){"use strict";i.d(e,"a",(function(){return I}));var n=i("OZ4H"),s=i("Ssnw"),o=i("cqs0"),r=i("X2Q7"),a=i("iyZ4"),c=i("nyAh"),l=i("nIj0"),u=i("EM62"),h=i("s2Ay"),d=i("sEIs"),p=i("29Wa"),f=i("R7+U"),g=i("2kYt"),b=i("Cd2c"),m=i("PBFl"),A=i("mFH5"),y=i("csyo"),w=i("FcRk"),v=i("NC8S"),_=i("L4Ow");function S(t,e){if(1&t&&(u.Sb(0,"mat-option",15),u.Jc(1),u.ec(2,"displayedRole"),u.Rb()),2&t){const t=e.$implicit;u.kc("value",t),u.Ab(1),u.Kc(u.fc(2,2,t))}}function E(t,e){1&t&&u.Nb(0,"mat-spinner",16)}function C(t,e){1&t&&(u.Sb(0,"app-alert",20),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}const R=function(){return["select","id","name","email","logins","organization"]};function T(t,e){if(1&t){const t=u.Tb();u.Sb(0,"app-users-list",21),u.Zb("page",(function(e){return u.xc(t),u.dc(2).pageChanged(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("pageSize",t.pageSize)("disableRouting",!0)("selection",t.selection)("displayedColumns",u.oc(5,R))("users",t.users)}}function k(t,e){if(1&t&&(u.Sb(0,"div",17),u.Hc(1,C,3,3,"app-alert",18),u.Hc(2,T,1,6,"app-users-list",19),u.Rb()),2&t){const t=u.dc();u.Ab(1),u.kc("ngIf",0===t.users.length&&t.firstSearchDone),u.Ab(1),u.kc("ngIf",0!==t.users.length)}}let I=(()=>{class t{constructor(t,e,i,n,s,r,c,l,u,h){this.dialogRef=t,this.data=e,this.authzService=i,this.usersService=n,this.translate=s,this.notificator=r,this.storeService=c,this.route=l,this.router=u,this.tableConfigService=h,this.selection=new o.c(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=a.f,s.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(t=>this.title=t),s.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(t=>this.successMessage=t)}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 l.g("",[l.F.required,l.F.pattern(".*[\\S]+.*")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(t=>t.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 t=[c.a.USER_DEF_ORGANIZATION,c.a.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,t).subscribe(t=>{this.users=t,this.loading=!1,this.firstSearchDone=!0},()=>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)(u.Mb(n.i),u.Mb(n.a),u.Mb(r.d),u.Mb(r.q),u.Mb(h.e),u.Mb(s.l),u.Mb(s.m),u.Mb(d.a),u.Mb(d.f),u.Mb(a.pb))},t.\u0275cmp=u.Gb({type:t,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(t,e){1&t&&(u.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"div",1),u.Sb(5,"div",2),u.Sb(6,"mat-form-field",3),u.Sb(7,"mat-label"),u.Jc(8),u.ec(9,"translate"),u.Rb(),u.Sb(10,"mat-select",4),u.Zb("valueChange",(function(t){return e.selectedRole=t})),u.Hc(11,S,3,4,"mat-option",5),u.Rb(),u.Rb(),u.Sb(12,"mat-form-field",6),u.Sb(13,"label"),u.Sb(14,"input",7),u.Zb("keyup.enter",(function(){return e.onSearchByString()})),u.ec(15,"translate"),u.Rb(),u.Rb(),u.Sb(16,"mat-error"),u.Jc(17),u.ec(18,"translate"),u.Rb(),u.Rb(),u.Rb(),u.Sb(19,"button",8),u.Zb("click",(function(){return e.onSearchByString()})),u.Jc(20),u.ec(21,"translate"),u.Rb(),u.Sb(22,"div",9),u.Hc(23,E,1,0,"mat-spinner",10),u.Rb(),u.Hc(24,k,3,2,"div",11),u.Rb(),u.Sb(25,"div",12),u.Sb(26,"button",13),u.Zb("click",(function(){return e.onCancel()})),u.Jc(27),u.ec(28,"translate"),u.Rb(),u.Sb(29,"button",14),u.Zb("click",(function(){return e.onSubmit()})),u.Jc(30),u.ec(31,"translate"),u.Rb(),u.Rb(),u.Rb()),2&t&&(u.Cb(e.theme),u.Ab(2),u.Kc(u.fc(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),u.Ab(6),u.Kc(u.fc(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.Ab(2),u.kc("value",e.selectedRole),u.Ab(1),u.kc("ngForOf",e.availableRoles),u.Ab(3),u.lc("placeholder",u.fc(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),u.kc("formControl",e.searchCtrl),u.Ab(3),u.Lc(" ",u.fc(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),u.Ab(2),u.kc("disabled",e.loading),u.Ab(1),u.Lc(" ",u.fc(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),u.Ab(3),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",null!==e.users&&!e.loading),u.Ab(3),u.Lc(" ",u.fc(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),u.Ab(2),u.kc("disabled",0===e.selection.selected.length||void 0===e.selectedRole||e.loading),u.Ab(1),u.Lc(" ",u.fc(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[n.j,n.g,p.c,p.g,f.a,g.s,b.b,l.c,l.r,l.h,p.b,m.b,g.t,n.c,A.n,y.c,w.a,v.a],pipes:[h.d,_.a],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),t})()},"Wq+4":function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("X2Q7"),s=i("iyZ4"),o=i("Ssnw"),r=i("EM62"),a=i("sEIs"),c=i("0XDM"),l=i("29Wa"),u=i("R7+U"),h=i("mFH5"),d=i("2kYt"),p=i("A8Ay"),f=i("csyo"),g=i("K9kF"),b=i("FcRk"),m=i("s2Ay");function A(t,e){if(1&t&&(r.Sb(0,"mat-option",9),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t.id),r.Ab(1),r.Lc(" ",t.name," ")}}function y(t,e){1&t&&r.Nb(0,"mat-spinner",10)}const w=function(){return["select","recent","expiration","menu"]};function v(t,e){if(1&t){const t=r.Tb();r.Sb(0,"perun-web-apps-groups-list",11),r.Zb("page",(function(e){return r.xc(t),r.dc().pageChanged(e)})),r.Rb()}if(2&t){const t=r.dc();r.kc("pageSize",t.pageSize)("hideColumns",r.oc(6,w))("groups",t.groupsToShow)("groupsToDisable",t.groupsWithoutRouteAuth)("filter",t.filterValue)("disableMembers",!1)}}function _(t,e){1&t&&(r.Sb(0,"app-alert",12),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"FACILITY_DETAIL.ALLOWED_GROUPS.NO_GROUPS_ALERT")," "))}let S=(()=>{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.u,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.Mb(n.g),r.Mb(a.a),r.Mb(s.pb),r.Mb(o.h))},t.\u0275cmp=r.Gb({type:t,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Eb("router-component",!0)},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","hideColumns","groups","groupsToDisable","filter","disableMembers","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","hideColumns","groups","groupsToDisable","filter","disableMembers","page"],["alert_type","warn"]],template:function(t,e){1&t&&(r.Sb(0,"div"),r.Sb(1,"h1",0),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Sb(4,"perun-web-apps-refresh-button",1),r.Zb("refresh",(function(){return e.refreshTable()})),r.Rb(),r.Sb(5,"mat-form-field"),r.Sb(6,"mat-label"),r.Jc(7),r.ec(8,"translate"),r.Rb(),r.Sb(9,"mat-select",2),r.Zb("valueChange",(function(t){return e.selected=t}))("selectionChange",(function(){return e.showGroup()})),r.Sb(10,"mat-option",3),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Hc(13,A,2,2,"mat-option",4),r.Rb(),r.Rb(),r.Sb(14,"perun-web-apps-immediate-filter",5),r.Zb("filter",(function(t){return e.applyFilter(t)})),r.Rb(),r.Hc(15,y,1,0,"mat-spinner",6),r.Hc(16,v,1,7,"perun-web-apps-groups-list",7),r.Hc(17,_,3,3,"app-alert",8),r.Rb()),2&t&&(r.Ab(2),r.Kc(r.fc(3,9,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),r.Ab(5),r.Kc(r.fc(8,11,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),r.Ab(2),r.kc("value",e.selected),r.Ab(2),r.Kc(r.fc(12,13,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),r.Ab(2),r.kc("ngForOf",e.vos),r.Ab(1),r.kc("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),r.Ab(1),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading&&0!==e.groupsToShow.length),r.Ab(1),r.kc("ngIf",0===e.groupsToShow.length&&!e.loading))},directives:[c.a,l.c,l.g,u.a,h.n,d.s,p.a,d.t,f.c,g.a,b.a],pipes:[m.d],styles:[""]}),t})()},X0qr:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t}i.d(e,"a",(function(){return n}))},X2Q7:function(t,e,i){"use strict";i.d(e,"c",(function(){return c})),i.d(e,"d",(function(){return u})),i.d(e,"f",(function(){return p})),i.d(e,"g",(function(){return f})),i.d(e,"h",(function(){return b})),i.d(e,"i",(function(){return m})),i.d(e,"j",(function(){return A})),i.d(e,"k",(function(){return y})),i.d(e,"l",(function(){return w})),i.d(e,"m",(function(){return v})),i.d(e,"n",(function(){return _})),i.d(e,"o",(function(){return S})),i.d(e,"q",(function(){return E})),i.d(e,"r",(function(){return R})),i.d(e,"a",(function(){return T})),i.d(e,"p",(function(){return M})),i.d(e,"e",(function(){return a})),i.d(e,"b",(function(){return P}));var n=i("vobO");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("EM62");const r=new o.r("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.d,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.e({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.e({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.e({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.e({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 f=new n.e({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!=s&&(f=f.set("user",s)),null!=o&&(f=f.set("vo",o)),null!=r&&(f=f.set("resource",r)),null!=a&&(f=f.set("member",a)),null!=c&&(f=f.set("group",c)),null!=l&&(f=f.set("host",l)),null!=u&&(f=f.set("userExtSource",u)),null!=h&&(f=f.set("key",h));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+t)}const b=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==b&&(g=g.set("Accept",b)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttribute/any",{params:f,withCredentials:this.configuration.withCredentials,headers:g,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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 f=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==f&&(p=p.set("Accept",f)),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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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})}addFacilityContact(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddFacilityContact was null or undefined when calling addFacilityContact.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));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/addFacilityContact",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addFacilityContacts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddFacilityContacts was null or undefined when calling addFacilityContacts.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));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/addFacilityContacts",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}getAllContactGroupNames(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/getAllContactGroupNames",{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}getFacilityContactGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroup.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityContactGroup.");let o=new n.e({encoder:this.encoder});null!=t&&(o=o.set("facility",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/facilitiesManager/getFacilityContactGroup",{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityContactGroupByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroupByFacilityName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityContactGroupByFacilityName.");let o=new n.e({encoder:this.encoder});null!=t&&(o=o.set("facility",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/facilitiesManager/getFacilityContactGroup/f-name",{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityContactGroupsForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroupsForFacility.");let s=new n.e({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/getFacilityContactGroups/facility",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityContactGroupsForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroupsForFacilityByFacilityName.");let s=new n.e({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/getFacilityContactGroups/facility/f-name",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityContactGroupsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFacilityContactGroupsForGroup.");let s=new n.e({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/getFacilityContactGroups/group",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityContactGroupsForOwner(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getFacilityContactGroupsForOwner.");let s=new n.e({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/getFacilityContactGroups/owner",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityContactGroupsForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityContactGroupsForUser.");let s=new n.e({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/getFacilityContactGroups/user",{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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}removeFacilityContact(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveFacilityContact was null or undefined when calling removeFacilityContact.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));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/removeFacilityContact",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeFacilityContacts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveFacilityContacts was null or undefined when calling removeFacilityContacts.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));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/removeFacilityContacts",t,{withCredentials:this.configuration.withCredentials,headers:n,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}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.e({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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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}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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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}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.e({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.e({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.e({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.e({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})}assignGroupToResource(t,e,i="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 n.e({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/assignGroupToResource",null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignGroupToResources(t,e,i="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 n.e({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/assignGroupToResources",null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignGroupsToResource(t,e,i="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 n.e({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/assignGroupsToResource",null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,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",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.e({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.e({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.e({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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.e({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.e({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})}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.e({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.e({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.e({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.e({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})}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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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})}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.e({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.e({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.e({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})}reservePassword(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePassword.");let r=new n.e({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",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}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})}validatePreferredEmailChange(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter i was null or undefined when calling validatePreferredEmailChange.");if(null==e)throw new Error("Required parameter m was null or undefined when calling validatePreferredEmailChange.");if(null==i)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChange.");let r=new n.e({encoder:this.encoder});null!=t&&(r=r.set("i",t)),null!=e&&(r=r.set("m",e)),null!=i&&(r=r.set("u",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/validatePreferredEmailChange",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}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.e({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/token",null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({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.d,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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),R=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.d,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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.e({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.Wb(n.b),o.Wb(r,8),o.Wb(a,8))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const T={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"};var k,I,O,D;!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"}}(k||(k={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(I||(I={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(O||(O={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(D||(D={}));const 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"};let P=(()=>{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.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)(o.Wb(t,12),o.Wb(n.b,8))},providers:[c,l,u,h,d,p,f,g,b,m,A,y,w,v,_,S,E,C,R],imports:[[]]}),t})()},XAvq:function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("EM62"),s=i("QcI7"),o=i("seVz"),r=i("cqs0"),a=i("Iydx"),c=i("8clQ"),l=i("+0js"),u=i("Ssnw"),h=i("OZ4H"),d=i("2kYt"),p=i("qvOF"),f=i("sEIs"),g=i("PBFl"),b=i("Y2X+"),m=i("XpU2"),A=i("+Tre"),y=i("bFHC"),w=i("FcRk"),v=i("s2Ay");const _=["scrollViewport"];function S(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-checkbox",19),n.Zb("change",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc(2).itemSelectionToggle(e)})),n.Rb()}if(2&t){const t=n.dc().$implicit,e=n.dc(2);n.kc("disabled","members"===t.fullName)("checked",e.selection.isSelected(t))("indeterminate",e.descendantsPartiallySelected(t))}}function E(t,e){if(1&t&&(n.Sb(0,"mat-icon",20),n.Jc(1),n.Rb()),2&t){const t=n.dc().$implicit,e=n.dc(2);n.Ab(1),n.Lc(" ",e.treeControl.isExpanded(t)?"expand_more":"chevron_right"," ")}}function C(t,e){if(1&t&&(n.Sb(0,"span",21),n.Jc(1),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Lc(" #",t.id," ")}}const R=function(t,e){return["/organizations",t,"groups",e]};function T(t,e){if(1&t){const t=n.Tb();n.Qb(0),n.Sb(1,"div",6),n.Hc(2,S,1,3,"mat-checkbox",7),n.Sb(3,"a",8),n.Sb(4,"button",9),n.Zb("mouseenter",(function(){return n.xc(t),n.dc(2).disableRouting=!0}))("mouseleave",(function(){return n.xc(t),n.dc(2).disableRouting=!1}))("click",(function(){n.xc(t);const i=e.$implicit;return n.dc(2).treeControl.toggle(i)})),n.Hc(5,E,2,1,"mat-icon",10),n.Rb(),n.Sb(6,"div",11),n.Sb(7,"span",12),n.Jc(8),n.Rb(),n.Hc(9,C,2,1,"span",13),n.Rb(),n.Sb(10,"div",14,15),n.Sb(12,"span",16),n.Jc(13),n.Rb(),n.Rb(),n.Rb(),n.Sb(14,"div",17),n.Sb(15,"perun-web-apps-group-menu",18),n.Zb("moveGroup",(function(){n.xc(t);const i=e.$implicit;return n.dc(2).onMoveGroup(i)}))("syncGroup",(function(){n.xc(t);const i=e.$implicit;return n.dc(2).onSyncDetail(i)}))("changeNameDescription",(function(){n.xc(t);const i=e.$implicit;return n.dc(2).onChangeNameDescription(i)})),n.Rb(),n.Rb(),n.Rb(),n.Pb()}if(2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.Ec("padding-left",24*t.level+"px"),n.Ab(1),n.kc("ngIf",!i.hideCheckbox),n.Ab(1),n.kc("routerLink",i.disableRouting?null:n.qc(14,R,t.voId,t.id)),n.Ab(1),n.kc("disabled",!t.expandable),n.Bb("aria-label","toggle "+t.name),n.Ab(1),n.kc("ngIf",t.expandable),n.Ab(3),n.Lc(" ",t.name," "),n.Ab(1),n.kc("ngIf",i.authResolver.isPerunAdmin()),n.Ab(3),n.lc("matTooltip",t.description),n.Ab(1),n.Lc(" ",t.description," "),n.Ab(2),n.kc("disabled","members"===t.fullName)("displayButtons",i.displayButtons)("group",t)}}const k=function(t){return{height:t}};function I(t,e){if(1&t&&(n.Sb(0,"div",2),n.Sb(1,"cdk-virtual-scroll-viewport",3,4),n.Hc(3,T,16,17,"ng-container",5),n.Rb(),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("minBufferPx",240)("maxBufferPx",480)("ngStyle",n.pc(4,k,t.getTreeViewHeight())),n.Ab(2),n.kc("cdkVirtualForOf",t.dataSource)}}function O(t,e){1&t&&(n.Sb(0,"app-alert",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let D=(()=>{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.o,this.refreshTable=new n.o,this.expandAll=!1,this.disableRouting=!1,this.selection=new r.c(!0,[]),this.hideCheckbox=!1,this.treeControl=new o.j(t=>t.level,t=>t.expandable),this.treeFlattener=new s.d(this.transformer,t=>t.level,t=>t.expandable,t=>t.children),this.dataSource=new s.c(this.treeControl,this.treeFlattener),this.hasChild=(t,e)=>e.expandable,this.getLevel=t=>t.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(t){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())});for(const t of this.filteredGroups)t.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat(Object(c.k)(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=Object(c.o)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(l.i,e)}onChangeNameDescription(t){const e=Object(c.o)();e.data={theme:"group-theme",group:t,dialogType:l.h.GROUP},this.dialog.open(l.g,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.b(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.Mb(n.h),n.Mb(h.b),n.Mb(u.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(t,e){var i;1&t&&n.Qc(_,!0),2&t&&n.sc(i=n.ac())&&(e.scrollViewport=i.first)},hostBindings:function(t,e){1&t&&n.Zb("resize",(function(t){return e.shouldHideButtons(t)}),!1,n.wc)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[n.yb],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.Hc(0,I,4,6,"div",0),n.Hc(1,O,3,3,"app-alert",1)),2&t&&(n.kc("ngIf",0!==e.filteredGroups.length),n.Ab(1),n.kc("ngIf",0===e.filteredGroups.length))},directives:[d.t,p.e,p.a,d.w,p.d,f.i,g.b,b.a,m.a,A.a,y.a,w.a],pipes:[v.d],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})()},XhvO:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){if(null===t)return null;const i=t;return i.substring(i.lastIndexOf(":")+1,i.length)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"nameSpaceToDef",type:t,pure:!0}),t})()},XpU2:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("EM62"),s=i("Ssnw"),o=i("2kYt"),r=i("PBFl"),a=i("HHFY"),c=i("Y2X+"),l=i("bFHC"),u=i("Jb3d"),h=i("s2Ay"),d=i("jEFW"),p=i("iD4z"),f=i("py76");function g(t,e){if(1&t){const t=n.Tb();n.Sb(0,"span",5),n.ec(1,"translate"),n.ec(2,"groupSyncToolTip"),n.Sb(3,"button",6),n.Zb("click",(function(){return n.xc(t),n.dc(2).onSyncDetail()})),n.ec(4,"groupSyncIcon"),n.Sb(5,"mat-icon"),n.ec(6,"groupSyncIconColor"),n.Jc(7),n.ec(8,"groupSyncIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.kc("matTooltipPosition","above")("matTooltip",n.fc(1,7,n.fc(2,9,t.group))),n.Ab(3),n.kc("disabled","sync_disabled"===n.fc(4,11,t.group)),n.Ab(2),n.Cb(n.fc(6,13,t.group)),n.Ab(2),n.Lc(" ",n.fc(8,15,t.group)," ")}}function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"span",5),n.ec(1,"translate"),n.Sb(2,"button",6),n.Zb("click",(function(){return n.xc(t),n.dc(2).onMoveGroup()})),n.Sb(3,"mat-icon"),n.Jc(4,"arrow_right_alt"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),n.kc("matTooltipPosition","above"),n.Ab(2),n.kc("disabled",t.disabled)}}function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"span",5),n.ec(1,"translate"),n.Sb(2,"button",6),n.Zb("click",(function(){return n.xc(t),n.dc(2).onChangeNameDescription()})),n.Sb(3,"mat-icon"),n.Jc(4,"text_format"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),n.kc("matTooltipPosition","above"),n.Ab(2),n.kc("disabled",t.disabled)}}function A(t,e){if(1&t&&(n.Sb(0,"div",2),n.Sb(1,"button",3),n.ec(2,"translate"),n.Sb(3,"mat-icon"),n.Jc(4," file_copy "),n.Rb(),n.Rb(),n.Hc(5,g,9,17,"span",4),n.Hc(6,b,5,5,"span",4),n.Hc(7,m,5,5,"span",4),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.lc("matTooltip",n.fc(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.kc("cdkCopyToClipboard",t.group.name)("matTooltipPosition","above"),n.Ab(4),n.kc("ngIf",t.syncAuth),n.Ab(1),n.kc("ngIf",t.moveAuth),n.Ab(1),n.kc("ngIf",t.editAuth)}}function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(t),n.dc(2).onSyncDetail()})),n.ec(1,"groupSyncIcon"),n.Sb(2,"mat-icon"),n.ec(3,"groupSyncIconColor"),n.Jc(4),n.ec(5,"groupSyncIcon"),n.Rb(),n.Sb(6,"span"),n.Jc(7),n.ec(8,"translate"),n.ec(9,"groupSyncToolTip"),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.kc("disabled","sync_disabled"===n.fc(1,6,t.group)),n.Ab(2),n.Cb(n.fc(3,8,t.group)),n.Ab(2),n.Lc(" ",n.fc(5,10,t.group)," "),n.Ab(3),n.Kc(n.fc(8,12,n.fc(9,14,t.group)))}}function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(t),n.dc(2).onMoveGroup()})),n.Sb(1,"mat-icon"),n.Jc(2,"arrow_right_alt"),n.Rb(),n.Sb(3,"span"),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.kc("disabled",t.disabled),n.Ab(4),n.Kc(n.fc(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function v(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(t),n.dc(2).onChangeNameDescription()})),n.Sb(1,"mat-icon"),n.Jc(2,"text_format"),n.Rb(),n.Sb(3,"span"),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.kc("disabled",t.disabled),n.Ab(4),n.Kc(n.fc(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function _(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"button",7),n.Sb(2,"mat-icon"),n.Jc(3,"more_vert"),n.Rb(),n.Rb(),n.Sb(4,"mat-menu",null,8),n.Sb(6,"button",9),n.Sb(7,"mat-icon"),n.Jc(8," file_copy "),n.Rb(),n.Sb(9,"span"),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Rb(),n.Hc(12,y,10,16,"button",10),n.Hc(13,w,6,4,"button",10),n.Hc(14,v,6,4,"button",10),n.Rb(),n.Rb()),2&t){const t=n.tc(5),e=n.dc();n.Ab(1),n.kc("mat-menu-trigger-for",t),n.Ab(5),n.kc("cdkCopyToClipboard",e.group.name),n.Ab(4),n.Kc(n.fc(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.Ab(2),n.kc("ngIf",e.syncAuth),n.Ab(1),n.kc("ngIf",e.moveAuth),n.Ab(1),n.kc("ngIf",e.editAuth)}}let S=(()=>{class t{constructor(t){this.authResolver=t,this.disabled=!1,this.moveGroup=new n.o,this.syncGroup=new n.o,this.changeNameDescription=new n.o}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.Mb(s.h))},t.\u0275cmp=n.Gb({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.Hc(0,A,8,8,"div",0),n.Hc(1,_,15,8,"div",1)),2&t&&(n.kc("ngIf",e.displayButtons),n.Ab(1),n.kc("ngIf",!e.displayButtons))},directives:[o.t,r.b,a.a,c.a,l.a,u.d,u.e,u.b],pipes:[h.d,d.a,p.a,f.a],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),t})()},"Y2X+":function(t,e,i){"use strict";i.d(e,"a",(function(){return C})),i.d(e,"b",(function(){return T})),i.d(e,"c",(function(){return R}));var n=i("HYj3"),s=i("sg/T"),o=i("2kYt"),r=i("EM62"),a=i("mFH5"),c=i("qvOF"),l=i("5XID"),u=i("fAiE"),h=i("HOZh"),d=i("cZZj"),p=i("Sv/w"),f=i("ZTXN"),g=i("kuMc"),b=i("J+dc"),m=i("f7+R"),A=i("E5oP");const y={tooltipState:Object(m.n)("state",[Object(m.k)("initial, void, hidden",Object(m.l)({opacity:0,transform:"scale(0)"})),Object(m.k)("visible",Object(m.l)({transform:"scale(1)"})),Object(m.m)("* => visible",Object(m.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(m.h)([Object(m.l)({opacity:0,transform:"scale(0)",offset:0}),Object(m.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(m.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(m.m)("* => hidden",Object(m.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(m.l)({opacity:0})))])},w=Object(d.f)({passive:!0});function v(t){return Error(`Tooltip position "${t}" is invalid.`)}const _=new r.r("mat-tooltip-scroll-strategy"),S={provide:_,deps:[n.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},E=new r.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let C=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l,h,d){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=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new f.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===u.h&&!Object(u.t)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),a.monitor(e).pipe(Object(g.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&s.run(()=>this.show()):s.run(()=>this.hide(0))}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}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(i,e,w)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),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 p.d(R,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(g.a)(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(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(g.a)(this._destroyed)).subscribe(t=>{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:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(g.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),i.main),Object.assign(Object.assign({},e.fallback),i.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e||"below"==e)i={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw v(e);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;if("above"==e)i={overlayX:"center",overlayY:"bottom"};else if("below"==e)i={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw v(e);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.asObservable().pipe(Object(b.a)(1),Object(g.a)(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}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,w)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==i&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(n.c),r.Mb(r.l),r.Mb(c.f),r.Mb(r.Q),r.Mb(r.A),r.Mb(d.a),r.Mb(s.c),r.Mb(s.h),r.Mb(_),r.Mb(A.c,8),r.Mb(E,8),r.Mb(r.l))},t.\u0275dir=r.Hb({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),R=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){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.Mb(r.h),r.Mb(h.a))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&r.Zb("click",(function(){return e._handleBodyInteraction()}),!1,r.uc),2&t&&r.Ec("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var i;1&t&&(r.Sb(0,"div",0),r.Zb("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),r.ec(1,"async"),r.Jc(2),r.Rb()),2&t&&(r.Eb("mat-tooltip-handset",null==(i=r.fc(1,5,e._isHandset))?null:i.matches),r.kc("ngClass",e.tooltipClass)("@state",e._visibility),r.Ab(2),r.Kc(e.message))},directives:[o.q],pipes:[o.b],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:[y.tooltipState]},changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[S],imports:[[s.a,o.c,n.f,a.i],a.i,c.c]}),t})()},Y7Yh:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,...e){return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"serviceStateBlockedToString",type:t,pure:!0}),t})()},Y9OK:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("PBFl"),d=i("j+u3");function p(t,e){1&t&&a.Nb(0,"th",13)}function f(t,e){if(1&t&&(a.Sb(0,"td",14),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.id," ")}}function g(t,e){1&t&&a.Nb(0,"th",13)}function b(t,e){if(1&t&&(a.Sb(0,"td",14),a.Jc(1),a.ec(2,"userFullName"),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",a.fc(2,1,t.user)," ")}}function m(t,e){1&t&&a.Nb(0,"tr",15)}function A(t,e){1&t&&a.Nb(0,"tr",16)}function y(t,e){if(1&t&&(a.Sb(0,"div",4),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",5),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",6),a.Qb(8,7),a.Hc(9,p,1,0,"th",8),a.Hc(10,f,2,1,"td",9),a.Pb(),a.Qb(11,10),a.Hc(12,g,1,0,"th",8),a.Hc(13,b,3,3,"td",9),a.Pb(),a.Hc(14,m,1,0,"tr",11),a.Hc(15,A,1,0,"tr",12),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,t.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(7),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}function w(t,e){1&t&&a.Nb(0,"mat-spinner",17)}function v(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",18),a.Sb(1,"button",19),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"button",20),a.Zb("click",(function(){return a.xc(t),a.dc().onSubmit()})),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),a.Ab(3),a.Lc(" ",a.fc(6,4,t.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let _=(()=>{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.o(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.Mb(n.i),a.Mb(n.a),a.Mb(r.i),a.Mb(r.h),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,y,16,9,"div",1),a.Hc(5,w,1,0,"mat-spinner",2),a.Hc(6,v,7,6,"div",3),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),a.Ab(2),a.kc("ngIf",!e.loading),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,l.t,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l,u.c,n.c,h.b],pipes:[c.d,d.a],styles:[""]}),t})()},YEcy:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){return"virt"===t.namespace.split(":")[4]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"isVirtualAttribute",type:t,pure:!0}),t})()},YFHD:function(t,e,i){"use strict";i.d(e,"a",(function(){return N}));var n=i("EM62"),s=i("cqs0"),o=i("iAde"),r=i("cePI"),a=i("FlRo"),c=i("Ssnw"),l=i("8clQ"),u=i("sEIs"),h=i("9wx0"),d=i("2kYt"),p=i("+Tre"),f=i("TQS+"),g=i("FcRk"),b=i("s2Ay"),m=i("W5/Z"),A=i("4CqK");function y(t,e){1&t&&n.Nb(0,"th",20)}function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",21),n.Sb(1,"mat-checkbox",22),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function v(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function _(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.userExtSource.id)}}function S(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function E(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.ec(2,"getMailFromAttributes"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.attributes))}}function C(t,e){if(1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,t.extSourceNameHeader?t.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function R(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.userExtSource.extSource.name)}}function T(t,e){if(1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,t.loginHeader?t.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function k(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.userExtSource.login)}}function I(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function O(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function D(t,e){1&t&&n.Nb(0,"tr",26)}const M=function(t,e){return["/admin","users",t,"identities",e]};function P(t,e){if(1&t&&n.Nb(0,"tr",27),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),n.kc("routerLink",i.disableRouting?null:n.qc(6,M,i.userId,t.userExtSource.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.qc(9,M,i.userId,t.userExtSource.id))}}function x(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let N=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e,this.selection=new s.c,this.filterValue="",this.hideColumns=[],this.pageSize=5,this.page=new n.o,this.pageSizeOptions=l.a,this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"]}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.disableRouting||this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.setDataSource()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new a.o(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){Object(l.i)(Object(l.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(l.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(l.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t.userExtSource)?"deselect":"select"} row ${t.userExtSource.id+1}`}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.a),n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(o.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.paginator=i.first),n.sc(i=n.ac())&&(e.matSort=i.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",hideColumns:"hideColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:27,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,y,1,0,"th",6),n.Hc(7,w,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,v,4,5,"th",9),n.Hc(10,_,2,1,"td",10),n.Pb(),n.Qb(11,11),n.Hc(12,S,4,5,"th",6),n.Hc(13,E,3,3,"td",10),n.Pb(),n.Qb(14,12),n.Hc(15,C,4,5,"th",9),n.Hc(16,R,2,1,"td",10),n.Pb(),n.Qb(17,13),n.Hc(18,T,4,5,"th",9),n.Hc(19,k,2,1,"td",10),n.Pb(),n.Qb(20,14),n.Hc(21,I,4,5,"th",9),n.Hc(22,O,3,4,"td",15),n.Pb(),n.Hc(23,D,1,0,"tr",16),n.Hc(24,P,1,12,"tr",17),n.Rb(),n.Rb(),n.Sb(25,"mat-paginator",18),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(26,x,4,5,"app-alert",19)),2&t&&(n.kc("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(19),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.userExtSources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.userExtSources.length))},directives:[h.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,o.a,d.t,a.h,a.a,p.a,r.b,a.j,a.l,u.g,f.c,g.a],pipes:[b.d,m.a,A.a,d.f],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})()},YRqw:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),s=i("LAw4"),o=i("s2Ay");let r=(()=>{class t{constructor(){this.voSelected=new n.o,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.Gb({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.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.voSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.vos)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",n.fc(1,7,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",n.fc(2,9,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",n.fc(3,11,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[s.a],pipes:[o.d],styles:[""]}),t})()},YSZu:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),s=i("OZ4H"),o=i("PBFl"),r=i("s2Ay");let a=(()=>{class t{constructor(t){this.dialogRef=t}ngOnInit(){}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.i))},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"h1",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Sb(3,"div",1),n.Sb(4,"div",2),n.Sb(5,"p"),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Rb(),n.Sb(8,"div",3),n.Sb(9,"button",4),n.Zb("click",(function(){return e.onClose()})),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Sb(12,"button",5),n.Zb("click",(function(){return e.onReload()})),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,4,"DIALOGS.NEW_VERSION.TITLE")),n.Ab(5),n.Lc(" ",n.fc(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),n.Ab(4),n.Lc(" ",n.fc(11,8,"DIALOGS.NEW_VERSION.LATER")," "),n.Ab(3),n.Lc(" ",n.fc(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[s.j,s.g,s.c,o.b],pipes:[r.d],styles:[""]}),t})()},YtkY:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");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.a{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)}}},ZG5M:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("EM62"),s=i("OZ4H"),o=i("sEIs"),r=i("2kYt"),a=i("mFH5"),c=i("bFHC"),l=i("s2Ay");function u(t,e){if(1&t&&(n.Sb(0,"div",3),n.Sb(1,"a",4),n.Nb(2,"mat-icon",5),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Db("",t.style," item-itself"),n.kc("routerLink",t.url),n.Ab(1),n.kc("svgIcon",t.cssIcon),n.Ab(1),n.Lc(" ",n.fc(4,6,t.label)," ")}}function h(t,e){if(1&t&&(n.Sb(0,"div",1),n.Hc(1,u,5,8,"div",2),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("ngForOf",t.items)}}let d=(()=>{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)(n.Mb(s.b),n.Mb(o.a))},t.\u0275cmp=n.Gb({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&&n.Hc(0,h,2,1,"div",0),2&t&&n.kc("ngIf","small"===e.size)},directives:[r.t,r.s,a.s,o.i,c.a],pipes:[l.d],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})()},ZTXN:function(t,e,i){"use strict";i.d(e,"b",(function(){return l})),i.d(e,"a",(function(){return u}));var n=i("IdLP"),s=i("5uGe"),o=i("bwdy"),r=i("MiDb"),a=i("yTkW"),c=i("25CY");class l extends s.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends n.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){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.a;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.a.EMPTY}}},ZTj5:function(t,e,i){"use strict";i.d(e,"a",(function(){return b}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("EM62"),a=i("s2Ay"),c=i("2kYt"),l=i("PBFl"),u=i("csyo"),h=i("29Wa"),d=i("Cd2c"),p=i("nIj0");function f(t,e){1&t&&r.Nb(0,"mat-spinner",6)}function g(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",7),r.Jc(1),r.ec(2,"translate"),r.Sb(3,"mat-form-field",8),r.Sb(4,"textarea",9),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().reason=e})),r.Rb(),r.Rb(),r.Rb()}if(2&t){const t=r.dc();r.Ab(1),r.Lc(" ",r.fc(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),r.Ab(3),r.kc("ngModel",t.reason)}}let b=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.registrarManager=s,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)(r.Mb(n.i),r.Mb(n.a),r.Mb(a.e),r.Mb(s.l),r.Mb(o.l))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"div"),r.Sb(1,"h1",0),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,f,1,0,"mat-spinner",1),r.Hc(5,g,5,4,"div",2),r.Sb(6,"div",3),r.Sb(7,"button",4),r.Zb("click",(function(){return e.onCancel()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Sb(10,"button",5),r.Zb("click",(function(){return e.onSubmit()})),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Cb(e.theme),r.Ab(2),r.Kc(r.fc(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading),r.Ab(3),r.Lc(" ",r.fc(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),r.Ab(2),r.kc("disabled",e.loading),r.Ab(1),r.Lc(" ",r.fc(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[n.j,c.t,n.c,l.b,u.c,n.g,h.c,d.b,p.c,p.r,p.u],pipes:[a.d],styles:[""]}),t})()},ZWQq:function(t,e,i){"use strict";i.d(e,"a",(function(){return z}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("8clQ"),c=i("Ssnw"),l=i("2kYt"),u=i("9wx0"),h=i("+Tre"),d=i("Y2X+"),p=i("s2Ay"),f=i("C5kn"),g=i("RK/0"),b=i("j+u3"),m=i("hLiN");function A(t,e){1&t&&n.Nb(0,"th",21)}function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc(2);return i?o.itemSelectionToggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.kc("checked",i.selection.isSelected(t))("disabled",i.isCheckboxDisabled(t))}}function w(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_CANDIDATES_LIST.STATUS")))}function v(t,e){if(1&t&&(n.Sb(0,"i",27),n.ec(1,"memberStatusIconColor"),n.Jc(2),n.ec(3,"memberStatusIcon"),n.Rb()),2&t){const t=n.dc().$implicit;n.Db("material-icons ",n.fc(1,5,t.member.status),""),n.lc("matTooltip",t.member.status),n.Ab(2),n.Lc(" ",n.fc(3,7,t.member.status)," ")}}function _(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,v,4,9,"i",26),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",t.member)}}function S(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_CANDIDATES_LIST.NAME")))}function E(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"userFullName"),n.ec(3,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.richUser?n.fc(2,1,t.richUser):n.fc(3,3,t.candidate)," ")}}function C(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_CANDIDATES_LIST.ORGANIZATION")))}function R(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"userVo"),n.Rb()),2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.Lc(" ",t.richUser?n.fc(2,1,t.richUser):i.getOrganization(t.candidate)," ")}}function T(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_CANDIDATES_LIST.EMAIL")))}function k(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.Lc(" ",i.getEmail(t)," ")}}function I(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_CANDIDATES_LIST.LOGINS")))}function O(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.Lc(" ",i.getLogins(t)," ")}}function D(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER")))}function M(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.Lc(" ",i.getAlreadyMember(t)," ")}}function P(t,e){1&t&&n.Nb(0,"th",24)}function x(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.richUser?"Local":"External identity"," ")}}function N(t,e){1&t&&n.Nb(0,"tr",28)}function L(t,e){1&t&&n.Nb(0,"tr",29)}function F(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div",2),n.Sb(1,"perun-web-apps-table-options",3),n.Zb("exportData",(function(e){return n.xc(t),n.dc().exportData(e)})),n.Rb(),n.Sb(2,"div",4),n.Sb(3,"table",5),n.Qb(4,6),n.Hc(5,A,1,0,"th",7),n.Hc(6,y,2,2,"td",8),n.Pb(),n.Qb(7,9),n.Hc(8,w,3,3,"th",10),n.Hc(9,_,2,1,"td",11),n.Pb(),n.Qb(10,12),n.Hc(11,S,3,3,"th",10),n.Hc(12,E,4,5,"td",11),n.Pb(),n.Qb(13,13),n.Hc(14,C,3,3,"th",10),n.Hc(15,R,3,3,"td",11),n.Pb(),n.Qb(16,14),n.Hc(17,T,3,3,"th",10),n.Hc(18,k,2,1,"td",11),n.Pb(),n.Qb(19,15),n.Hc(20,I,3,3,"th",10),n.Hc(21,O,2,1,"td",11),n.Pb(),n.Qb(22,16),n.Hc(23,D,3,3,"th",10),n.Hc(24,M,2,1,"td",11),n.Pb(),n.Qb(25,17),n.Hc(26,P,1,0,"th",10),n.Hc(27,x,2,1,"td",11),n.Pb(),n.Hc(28,N,1,0,"tr",18),n.Hc(29,L,1,0,"tr",19),n.Rb(),n.Rb(),n.Sb(30,"mat-paginator",20),n.Zb("page",(function(e){return n.xc(t),n.dc().pageChanged(e)})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(3),n.kc("dataSource",t.dataSource),n.Ab(25),n.kc("matHeaderRowDef",t.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",t.displayedColumns),n.Ab(1),n.kc("length",t.members.length)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions)}}let z=(()=>{class t{constructor(t){this.guiAuthResolver=t,this.pageSize=10,this.page=new n.o,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=a.a,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 o=t.richUser?t.richUser:t.candidate;return o.lastName?o.lastName:null!==(s=o.firstName)&&void 0!==s?s:"";case"voExtSource":return t.richUser?Object(a.G)(t.richUser):Object(a.p)(t.candidate);case"email":return t.richUser||t.member?Object(a.E)(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":const s=t.richUser?t.richUser:t.candidate;return Object(a.w)(s);case"voExtSource":return t.richUser?Object(a.G)(t.richUser):Object(a.p)(t.candidate);case"email":return t.richUser||t.member?Object(a.E)(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){Object(a.i)(Object(a.n)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>Object(a.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(a.g)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(t){this.dataSource=new r.o(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 Object(a.m)(t.candidate)}getOrganization(t){return Object(a.p)(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)t.attributes.hasOwnProperty(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}pageChanged(t){this.page.emit(t)}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)(n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-members-candidates-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(o.a,!0),n.Qc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{members:"members",selection:"selection",type:"type",pageSize:"pageSize",group:"group"},outputs:{page:"page"},features:[n.yb],decls:2,vars:1,consts:[[1,"card","mt-2"],["class","card-body table-theme",4,"ngIf"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Hc(1,F,31,6,"div",1),n.Rb()),2&t&&(n.Ab(1),n.kc("ngIf",null!=e.members))},directives:[l.t,u.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,r.h,r.a,h.a,o.b,d.a,r.j,r.l],pipes:[p.d,f.a,g.a,b.a,m.a],styles:[""]}),t})()},ZWyU:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("EM62"),s=i("cqs0"),o=i("iAde"),r=i("cePI"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("FcRk"),f=i("s2Ay"),g=i("7fDV");function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function A(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.ID")))}function y(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function w(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NAME")))}function v(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function _(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.TYPE")))}function S(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.ec(2,"extSourceType"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.type))}}function E(t,e){1&t&&n.Nb(0,"tr",23)}function C(t,e){1&t&&n.Nb(0,"tr",24)}function R(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_EXT_SOURCES"),"\n"))}function T(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_FILTER_RESULTS"),"\n"))}let k=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.selection=new s.c,this.filterValue="",this.hideColumns=[],this.pageSize=5,this.page=new n.o,this.displayedColumns=["select","id","name","type"],this.exporting=!1,this.pageSizeOptions=c.a}set matPaginator(t){this.paginator=t}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new a.o(this.extSources),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"type":return t.type.substring(40);case"name":return t.name;default:return""}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-ext-sources-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matPaginator=i.first),n.sc(i=n.ac())&&(e.matSort=i.first))},inputs:{extSources:"extSources",selection:"selection",filterValue:"filterValue",hideColumns:"hideColumns",pageSize:"pageSize"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,b,2,3,"th",6),n.Hc(7,m,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,A,3,3,"th",9),n.Hc(10,y,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,w,3,3,"th",9),n.Hc(13,v,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,_,3,3,"th",9),n.Hc(16,S,3,3,"td",11),n.Pb(),n.Hc(17,E,1,0,"tr",13),n.Hc(18,C,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,R,3,3,"app-alert",16),n.Hc(21,T,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.extSources.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.extSources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.extSources.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.extSources.length))},directives:[u.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,o.a,h.t,a.h,d.a,a.a,r.b,a.j,a.l,p.a],pipes:[f.d,g.a],styles:[""]}),t})()},aFDG:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("EM62"),s=i("OZ4H"),o=i("iAde"),r=i("cePI"),a=i("FlRo"),c=i("Ssnw"),l=i("cqs0"),u=i("HHEo"),h=i("X2Q7"),d=i("8clQ"),p=i("s2Ay"),f=i("PBFl"),g=i("Y2X+"),b=i("2kYt"),m=i("+Tre"),A=i("Cd2c"),y=i("nIj0"),w=i("nhAq"),v=i("FcRk");function _(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",23),n.Sb(1,"mat-checkbox",24),n.Zb("change",(function(e){n.xc(t);const i=n.dc(2);return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.Ab(1),n.kc("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=n.Tb();n.Sb(0,"td",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc(2);return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc(2);n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function E(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.KEY")," "))}function C(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",28),n.Sb(1,"label"),n.Sb(2,"input",29),n.Zb("ngModelChange",(function(){n.xc(t);const i=e.$implicit;return n.dc(2).onValueChange(i)}))("ngModelChange",(function(i){return n.xc(t),e.$implicit[0]=i})),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(2),n.kc("ngModel",t[0])}}function R(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.VALUE")," "))}function T(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",28),n.Sb(1,"perun-web-apps-attribute-value",30),n.Zb("sendEventToParent2",(function(){n.xc(t);const i=e.$implicit;return n.dc(2).onValueChange(i)})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(1),n.kc("attribute",t[1])}}function k(t,e){1&t&&n.Nb(0,"tr",31)}function I(t,e){1&t&&n.Nb(0,"tr",32)}function O(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div",9),n.Sb(1,"div",10),n.Sb(2,"div",11),n.Sb(3,"table",12),n.Qb(4,13),n.Hc(5,_,2,3,"th",14),n.Hc(6,S,2,2,"td",15),n.Pb(),n.Qb(7,16),n.Hc(8,E,3,3,"th",17),n.Hc(9,C,3,1,"td",18),n.Pb(),n.Qb(10,19),n.Hc(11,R,3,3,"th",17),n.Hc(12,T,2,1,"td",18),n.Pb(),n.Hc(13,k,1,0,"tr",20),n.Hc(14,I,1,0,"tr",21),n.Rb(),n.Rb(),n.Sb(15,"mat-paginator",22),n.Zb("page",(function(e){return n.xc(t),n.dc().pageChanged(e)})),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(3),n.kc("dataSource",t.dataSource),n.Ab(10),n.kc("matHeaderRowDef",t.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",t.displayedColumns),n.Ab(1),n.kc("length",t.records.length)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions)}}function D(t,e){1&t&&(n.Sb(0,"app-alert",33),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.NO_KEYS_WARNING")," "))}let M=(()=>{class t{constructor(t,e,i,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.attributesManager=o,this.pageSize=10,this.page=new n.o,this.switchView=new n.o,this.records=[],this.displayedColumns=["select","key","value"],this.dataSource=new a.o,this.selection=new l.c(!0,[]),this.isAddButtonDisabled=!1,this.pageSizeOptions=d.a}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(t){this.ngOnInit()}ngOnInit(){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 i=0;this.records=[];for(const n of t)this.records.push([n,e[i]]),i++;this.dataSource=new a.o(this.records),this.setDataSource()})})}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.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()}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.i),n.Mb(s.a),n.Mb(c.l),n.Mb(p.e),n.Mb(h.c))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-entityless-attribute-keys-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Qc(o.a,!0),n.Qc(u.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first),n.sc(i=n.ac())&&(e.items=i))},inputs:{attDef:"attDef",pageSize:"pageSize"},outputs:{page:"page",switchView:"switchView"},features:[n.yb],decls:18,vars:17,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"],["class","card mt-3",4,"ngIf"],["alert_type","info","class","mt-3",4,"ngIf"],[1,"card","mt-3"],[1,"card-body"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["alert_type","info",1,"mt-3"]],template:function(t,e){1&t&&(n.Sb(0,"h1",0),n.Jc(1),n.Rb(),n.Sb(2,"div",1),n.Sb(3,"button",2),n.Zb("click",(function(){return e.switchView.emit()})),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Sb(6,"button",3),n.Zb("click",(function(){return e.onSave()})),n.Jc(7),n.ec(8,"translate"),n.Rb(),n.Sb(9,"button",4),n.Zb("click",(function(){return e.onAdd()})),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Sb(12,"button",5),n.Zb("click",(function(){return e.onRemove()})),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Rb(),n.Sb(15,"div",6),n.Hc(16,O,16,6,"div",7),n.Hc(17,D,3,3,"app-alert",8),n.Rb()),2&t&&(n.Ab(1),n.Kc(e.attDef.namespace+":"+e.attDef.friendlyName),n.Ab(3),n.Lc(" ",n.fc(5,9,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(8,11,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE")," "),n.Ab(2),n.kc("disabled",e.isAddButtonDisabled)("matTooltipDisabled",!e.isAddButtonDisabled),n.Ab(1),n.Lc(" ",n.fc(11,13,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.ADD")," "),n.Ab(3),n.Lc(" ",n.fc(14,15,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE")," "),n.Ab(3),n.kc("ngIf",!(0===e.records.length)),n.Ab(1),n.kc("ngIf",0===e.records.length))},directives:[s.j,s.c,f.b,g.a,s.g,b.t,a.n,r.a,a.c,a.i,a.b,a.k,a.m,o.a,a.h,m.a,a.a,r.b,A.b,y.c,y.r,y.u,w.a,a.j,a.l,v.a],pipes:[p.d],styles:[".mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}"]}),t})()},aYBX:function(t,e,i){"use strict";i.d(e,"a",(function(){return v}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("iyZ4"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("FlRo");function p(t,e){1&t&&a.Nb(0,"mat-spinner",7)}function f(t,e){1&t&&(a.Sb(0,"th",17),a.Jc(1,"id"),a.Rb())}function g(t,e){if(1&t&&(a.Sb(0,"td",18),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.id," ")}}function b(t,e){1&t&&(a.Sb(0,"th",17),a.Jc(1,"name"),a.Rb())}function m(t,e){if(1&t&&(a.Sb(0,"td",18),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function A(t,e){1&t&&a.Nb(0,"tr",19)}function y(t,e){1&t&&a.Nb(0,"tr",20)}function w(t,e){if(1&t&&(a.Sb(0,"div",8),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",9),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",10),a.Qb(8,11),a.Hc(9,f,2,0,"th",12),a.Hc(10,g,2,1,"td",13),a.Pb(),a.Qb(11,14),a.Hc(12,b,2,0,"th",12),a.Hc(13,m,2,1,"td",13),a.Pb(),a.Hc(14,A,1,0,"tr",15),a.Hc(15,y,1,0,"tr",16),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_EXT_SOURCES.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_EXT_SOURCES.ASK")," "),a.Ab(2),a.kc("dataSource",t.extSources),a.Ab(7),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let v=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.extSourceService=i,this.notificator=n,this.tableConfigService=s,this.translate=o,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(t=>{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(t=>{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)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.f),a.Mb(o.l),a.Mb(r.pb),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"div",0),a.Sb(2,"h1",1),a.Jc(3),a.ec(4,"translate"),a.Rb(),a.Rb(),a.Hc(5,p,1,0,"mat-spinner",2),a.Hc(6,w,16,9,"div",3),a.Sb(7,"div",4),a.Sb(8,"button",5),a.Zb("click",(function(){return e.onCancel()})),a.Jc(9),a.ec(10,"translate"),a.Rb(),a.Sb(11,"button",6),a.Zb("click",(function(){return e.onRemove()})),a.Jc(12),a.ec(13,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(3),a.Kc(a.fc(4,8,"DIALOGS.REMOVE_EXT_SOURCES.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(10,10,"DIALOGS.REMOVE_EXT_SOURCES.CANCEL")," "),a.Ab(3),a.Lc(" ",a.fc(13,12,"DIALOGS.REMOVE_EXT_SOURCES.REMOVE")," "))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,d.n,d.c,d.i,d.b,d.k,d.m,d.h,d.a,d.j,d.l],pipes:[c.d],styles:[""]}),t})()},aag5:function(t,e,i){"use strict";i.d(e,"a",(function(){return V}));var n=i("EM62"),s=i("cePI"),o=i("FlRo"),r=i("8clQ"),a=i("Ssnw"),c=i("9wx0"),l=i("iAde"),u=i("2kYt"),h=i("bFHC"),d=i("Y2X+"),p=i("sEIs"),f=i("TQS+"),g=i("FcRk"),b=i("s2Ay"),m=i("e+sS"),A=i("j+u3");const y=["paginator"];function w(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function v(t,e){if(1&t&&(n.Sb(0,"td",21),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function _(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function S(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.createdAt,"d.M.y"))}}function E(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function C(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",24),n.Jc(2,"arrow_right_alt"),n.Rb(),n.Rb())}function R(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",25),n.Jc(2,"restore"),n.Rb(),n.Rb())}function T(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",26),n.Jc(2,"nat"),n.Rb(),n.Rb())}function k(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,C,3,0,"div",23),n.Hc(2,R,3,0,"div",23),n.Hc(3,T,3,0,"div",23),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","INITIAL"==t.type),n.Ab(1),n.kc("ngIf","EXTENSION"==t.type),n.Ab(1),n.kc("ngIf","EMBEDDED"==t.type)}}function I(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function O(t,e){if(1&t&&(n.Sb(0,"td",22),n.Nb(1,"span",27),n.ec(2,"applicationState"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("outerHTML",n.fc(2,1,t.state),n.yc)}}function D(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_SUBMITTED_BY")))}function M(t,e){if(1&t&&(n.Sb(0,"div"),n.Jc(1),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Lc(" ",t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length)," ")}}function P(t,e){if(1&t&&(n.Jc(0),n.ec(1,"userFullName")),2&t){const t=n.dc().$implicit;n.Lc(" ",n.fc(1,1,t.user)," ")}}function x(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,M,2,1,"div",28),n.Hc(2,P,2,3,"ng-template",null,29,n.Ic),n.Rb()),2&t){const t=e.$implicit,i=n.tc(3);n.Ab(1),n.kc("ngIf",null==t.user)("ngIfElse",i)}}function N(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function L(t,e){1&t&&(n.Sb(0,"div",32),n.Jc(1," - "),n.Rb())}function F(t,e){if(1&t&&n.Jc(0),2&t){const t=n.dc().$implicit;n.Lc(" ",t.group.name," ")}}function z(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,L,2,0,"div",30),n.Hc(2,F,1,1,"ng-template",null,31,n.Ic),n.Rb()),2&t){const t=e.$implicit,i=n.tc(3);n.Ab(1),n.kc("ngIf",null==t.group)("ngIfElse",i)}}function H(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function B(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.Kc(i.getFriendlyName(t.modifiedBy))}}function j(t,e){1&t&&n.Nb(0,"tr",33)}function G(t,e){if(1&t&&n.Nb(0,"tr",34),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting),n.kc("routerLink",i.selectApplication(t))("perunWebAppsMiddleClickRouterLink",i.selectApplication(t))}}function U(t,e){1&t&&(n.Sb(0,"app-alert",35),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}function K(t,e){1&t&&(n.Sb(0,"app-alert",35),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let V=(()=>{class t{constructor(t,e){this.authResolver=t,this.changeDetector=e,this.applications=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.o,this.pageSizeOptions=r.a}set matSort(t){this.sort=t}ngAfterViewInit(){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.changeDetector.detectChanges()}ngOnChanges(t){this.setDataSource()}getDataForColumn(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""}}getExportDataForColumn(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?Object(r.w)(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){Object(r.i)(Object(r.n)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.paginator&&(this.dataSource||(this.dataSource=new o.o,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>Object(r.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(r.g)(t,e,this.getDataForColumn,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]}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(a.h),n.Mb(n.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-applications-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(s.a,!0),n.Qc(y,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{applications:"applications",group:"group",member:"member",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:32,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["paginator",""],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,w,3,3,"th",6),n.Hc(7,v,2,1,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,_,3,3,"th",6),n.Hc(10,S,3,4,"td",9),n.Pb(),n.Qb(11,10),n.Hc(12,E,3,3,"th",6),n.Hc(13,k,4,3,"td",9),n.Pb(),n.Qb(14,11),n.Hc(15,I,3,3,"th",6),n.Hc(16,O,3,3,"td",9),n.Pb(),n.Qb(17,12),n.Hc(18,D,3,3,"th",6),n.Hc(19,x,4,2,"td",9),n.Pb(),n.Qb(20,13),n.Hc(21,N,3,3,"th",6),n.Hc(22,z,4,2,"td",9),n.Pb(),n.Qb(23,14),n.Hc(24,H,3,3,"th",6),n.Hc(25,B,2,1,"td",9),n.Pb(),n.Hc(26,j,1,0,"tr",15),n.Hc(27,G,1,4,"tr",16),n.Rb(),n.Rb(),n.Sb(28,"mat-paginator",17,18),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(30,U,3,3,"app-alert",19),n.Hc(31,K,3,3,"app-alert",19)),2&t&&(n.kc("hidden",0===e.applications.length||!e.dataSource||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.applications.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(2),n.kc("ngIf",0===e.applications.length),n.Ab(1),n.kc("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.applications.length))},directives:[c.a,o.n,s.a,o.c,o.i,o.b,o.k,o.m,l.a,u.t,o.h,s.b,o.a,h.a,d.a,o.j,o.l,p.g,f.c,g.a],pipes:[b.d,u.f,m.a,A.a],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},aea8:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");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.Lb({name:"getResourceRoute",type:t,pure:!0}),t})()},ajPJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return g}));var n=i("Ssnw"),s=i("9RND"),o=i("X2Q7"),r=i("EM62"),a=i("OZ4H"),c=i("s2Ay"),l=i("29Wa"),u=i("Cd2c"),h=i("nIj0"),d=i("2kYt"),p=i("PBFl");function f(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(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: "+s.a}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(a.i),r.Mb(c.e),r.Mb(n.l),r.Mb(o.k),r.Mb(n.m))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"h1",0),r.Jc(1),r.ec(2,"translate"),r.Rb(),r.Sb(3,"div",1),r.Sb(4,"mat-form-field"),r.Sb(5,"mat-label"),r.Jc(6),r.ec(7,"translate"),r.Rb(),r.Sb(8,"input",2,3),r.Zb("ngModelChange",(function(t){return e.subject=t})),r.Rb(),r.Hc(10,f,3,3,"mat-error",4),r.Rb(),r.Sb(11,"mat-form-field"),r.Sb(12,"mat-label"),r.Jc(13),r.ec(14,"translate"),r.Rb(),r.Sb(15,"textarea",5),r.Zb("ngModelChange",(function(t){return e.message=t})),r.ec(16,"translate"),r.Jc(17," "),r.Rb(),r.Sb(18,"mat-hint"),r.Jc(19),r.ec(20,"translate"),r.Rb(),r.Rb(),r.Rb(),r.Sb(21,"div",6),r.Sb(22,"div",7),r.Sb(23,"button",8),r.Zb("click",(function(){return e.close()})),r.Jc(24),r.ec(25,"translate"),r.Rb(),r.Sb(26,"button",9),r.Zb("click",(function(){return e.sendBugReport()})),r.Jc(27),r.ec(28,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t){const t=r.tc(9);r.Ab(1),r.Kc(r.fc(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),r.Ab(5),r.Kc(r.fc(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),r.Ab(2),r.kc("ngModel",e.subject),r.Ab(2),r.kc("ngIf",t.invalid),r.Ab(3),r.Kc(r.fc(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),r.Ab(2),r.lc("placeholder",r.fc(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),r.kc("ngModel",e.message),r.Ab(4),r.Kc(r.fc(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),r.Ab(5),r.Lc(" ",r.fc(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),r.Ab(2),r.kc("disabled",t.invalid),r.Ab(1),r.Lc(" ",r.fc(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[a.j,a.g,l.c,l.g,u.b,h.c,h.C,h.r,h.u,d.t,l.f,a.c,p.b,l.b],pipes:[c.d],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})()},alep:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),s=i("TkCa"),o=i("k8N0"),r=i("nIj0");const a=["*"];let c=(()=>{class t{constructor(){this.modelChange=new n.o}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=n.Gb({type:t,selectors:[["app-settings-toggle-item"]],viewQuery:function(t,e){var i;1&t&&n.Dc(o.a,!0),2&t&&n.sc(i=n.ac())&&(e.toggle=i.first)},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:a,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=n.Tb();n.jc(),n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"label",2),n.Zb("click",(function(){return n.xc(t),n.tc(5).toggle()||e.valueChanged()})),n.Jc(3),n.Rb(),n.Sb(4,"mat-slide-toggle",3,4),n.Zb("ngModelChange",(function(t){return e.modelValue=t})),n.Rb(),n.Rb(),n.Sb(6,"div",5),n.ic(7),n.Rb(),n.Rb()}if(2&t){const t=n.tc(5);n.Ab(2),n.Eb("unselected-setting",!t.checked),n.Ab(1),n.Lc(" ",e.title," "),n.Ab(1),n.kc("ngModel",e.modelValue),n.Ab(2),n.kc("@openClose",t.checked?"open":"closed")}},directives:[o.a,r.r,r.u],styles:[""],data:{animation:[s.c]}}),t})()},amZv:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("cqs0"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("A8Ay"),d=i("eakH"),p=i("PBFl");function f(t,e){1&t&&a.Nb(0,"mat-spinner",4)}function g(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",5),a.Sb(1,"perun-web-apps-immediate-filter",6),a.Zb("filter",(function(e){return a.xc(t),a.dc().applyFilter(e)})),a.Rb(),a.Nb(2,"app-attr-def-list",7),a.Rb()}if(2&t){const t=a.dc();a.Ab(1),a.kc("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),a.Ab(1),a.kc("selection",t.selection)("definitions",t.attrDefinitions)("disableRouting",!0)("filterValue",t.filterValue)}}function b(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",8),a.Sb(1,"button",9),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"button",10),a.Zb("click",(function(){return a.xc(t),a.dc().onAdd()})),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),a.Ab(2),a.kc("disabled",0===t.selection.selected.length),a.Ab(1),a.Lc(" ",a.fc(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}let m=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.serviceManager=i,this.attributesManager=n,this.notificator=s,this.translate=o,this.attrDefinitions=[],this.selection=new r.c(!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},t=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.n),a.Mb(s.c),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,f,1,0,"mat-spinner",1),a.Hc(5,g,3,5,"div",2),a.Hc(6,b,7,7,"div",3),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,l.t,u.c,n.g,h.a,d.a,n.c,p.b],pipes:[c.d],styles:[""]}),t})()},b7Yx:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("EM62"),s=i("8clQ"),o=i("2kYt"),r=i("+Tre"),a=i("nIj0"),c=i("29Wa");function l(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-checkbox",2),n.Zb("change",(function(){return n.xc(t),n.dc()._sendEventToParent()}))("ngModelChange",(function(e){return n.xc(t),n.dc().attribute.value=e})),n.Rb()}if(2&t){const t=n.dc();n.kc("ngModel",t.attribute.value)}}function u(t,e){if(1&t&&(n.Sb(0,"mat-label"),n.Jc(1),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.Kc(t.attribute.value)}}let h=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent=new n.o}ngOnInit(){this.readonly||(this.readonly=Object(s.s)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"div"),n.Hc(1,l,1,1,"mat-checkbox",0),n.Hc(2,u,2,1,"mat-label",1),n.Rb()),2&t&&(n.Ab(1),n.kc("ngIf",!e.readonly),n.Ab(1),n.kc("ngIf",e.readonly))},directives:[o.t,r.a,a.r,a.u,c.g],styles:[""]}),t})()},bATb:function(t,e,i){"use strict";i.d(e,"a",(function(){return v}));var n=i("X2Q7"),s=i("nIj0"),o=i("OZ4H"),r=i("Ssnw"),a=i("jIqt"),c=i("YtkY"),l=i("EM62"),u=i("s2Ay"),h=i("2kYt"),d=i("PBFl"),p=i("csyo"),f=i("29Wa"),g=i("Cd2c"),b=i("ulve"),m=i("mFH5");function A(t,e){1&t&&l.Nb(0,"mat-spinner",7)}function y(t,e){if(1&t&&(l.Sb(0,"mat-option",14),l.Jc(1),l.Rb()),2&t){const t=e.$implicit;l.kc("value",t),l.Ab(1),l.Lc(" ",t.name," ")}}function w(t,e){if(1&t&&(l.Sb(0,"div"),l.Sb(1,"mat-form-field",8),l.Nb(2,"input",9),l.ec(3,"translate"),l.Sb(4,"mat-error"),l.Jc(5),l.ec(6,"translate"),l.Rb(),l.Rb(),l.Sb(7,"mat-form-field",8),l.Nb(8,"input",10),l.ec(9,"translate"),l.Sb(10,"mat-error"),l.Jc(11),l.ec(12,"translate"),l.Rb(),l.Sb(13,"mat-autocomplete",11,12),l.Hc(15,y,2,2,"mat-option",13),l.ec(16,"async"),l.Rb(),l.Rb(),l.Rb()),2&t){const t=l.tc(14),e=l.dc();l.Ab(2),l.lc("placeholder",l.fc(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),l.kc("formControl",e.loginControl),l.Ab(3),l.Lc(" ",l.fc(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),l.Ab(3),l.lc("placeholder",l.fc(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),l.kc("formControl",e.extSourcesControl)("matAutocomplete",t),l.Ab(3),l.Lc(" ",l.fc(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),l.Ab(2),l.kc("displayWith",e.displayFn),l.Ab(2),l.kc("ngForOf",l.fc(16,17,e.filteredExtSources))}}let v=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.extSourcesManagerService=i,this.usersManagerService=n,this.translate=s,this.notificator=o,this.extSources=[],s.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.loginControl=new s.g("",[s.F.required,s.F.pattern(".*[\\S]+.*")]),this.extSourcesControl=new s.g("",[s.F.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe(Object(a.a)(""),Object(c.a)(t=>this._filter(t))),this.extSourcesManagerService.getExtSources().subscribe(t=>{this.extSources=t,this.filteredExtSources=this.extSourcesControl.valueChanges.pipe(Object(a.a)(""),Object(c.a)(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)(l.Mb(o.i),l.Mb(o.a),l.Mb(n.f),l.Mb(n.q),l.Mb(u.e),l.Mb(r.l))},t.\u0275cmp=l.Gb({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&&(l.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Sb(3,"div",1),l.Hc(4,A,1,0,"mat-spinner",2),l.Hc(5,w,17,19,"div",3),l.Rb(),l.Sb(6,"div",4),l.Sb(7,"button",5),l.Zb("click",(function(){return e.onCancel()})),l.Jc(8),l.ec(9,"translate"),l.Rb(),l.Sb(10,"button",6),l.Zb("click",(function(){return e.onAdd()})),l.Jc(11),l.ec(12,"translate"),l.Rb(),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),l.Ab(3),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(3),l.Lc(" ",l.fc(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),l.Ab(2),l.kc("disabled",e.loginControl.invalid||e.extSourcesControl.invalid||e.loading),l.Ab(1),l.Lc(" ",l.fc(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[o.j,o.g,h.t,o.c,d.b,p.c,f.c,g.b,s.c,s.C,s.r,s.h,f.b,b.d,b.a,h.s,m.n],pipes:[u.d,h.b],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})()},bFHC:function(t,e,i){"use strict";i.d(e,"a",(function(){return P})),i.d(e,"b",(function(){return x})),i.d(e,"c",(function(){return E}));var n=i("EM62"),s=i("mFH5"),o=i("5XID"),r=i("2kYt"),a=i("ROBh"),c=i("47ST"),l=i("P4Xx"),u=i("bwdy"),h=i("8j5Y"),d=i("YtkY"),p=i("4e/d"),f=i("ruxD"),g=i("7ntQ"),b=i("J+dc"),m=i("vobO"),A=i("e4iD");const y=["*"];function w(t){return Error(`Unable to find icon with the name "${t}"`)}function v(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function _(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class S{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let E=(()=>{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._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 S(i,n))}addSvgIconLiteralInNamespace(t,e,i,s){const o=this._sanitizer.sanitize(n.J.HTML,i);if(!o)throw _(i);const r=this._createSvgElementForSingleIcon(o,s);return this._addSvgIconConfig(t,e,new S(r,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 S(e,i))}addSvgIconSetLiteralInNamespace(t,e,i){const s=this._sanitizer.sanitize(n.J.HTML,e);if(!s)throw _(e);const o=this._svgElementFromString(s);return this._addSvgIconSetConfig(t,new S(o,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.J.RESOURCE_URL,t);if(!e)throw v(t);const i=this._cachedIconsByUrl.get(e);return i?Object(a.a)(C(i)):this._loadSvgIconFromConfig(new S(t)).pipe(Object(h.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(d.a)(t=>C(t)))}getNamedSvgIcon(t,e=""){const i=R(e,t),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):Object(c.a)(w(i))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?Object(a.a)(C(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(h.a)(e=>t.svgElement=e),Object(d.a)(t=>C(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);if(i)return Object(a.a)(i);const s=e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(p.a)(e=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(n.J.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),Object(a.a)(null)})));return Object(l.a)(s).pipe(Object(d.a)(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw w(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgElement){const e=this._extractSvgIconFromSet(n.svgElement,t,n.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(Object(d.a)(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?Object(a.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(d.a)(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const i=this._svgElementFromString(t);return this._setSvgAttributes(i,e),i}_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(e)),Object(g.a)());return this._inProgressUrlFetches.set(e,s),s}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(R(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(m.b,8),n.Wb(A.b),n.Wb(r.e,8),n.Wb(n.n,8))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(m.b,8),Object(n.Wb)(A.b),Object(n.Wb)(r.e,8),Object(n.Wb)(n.n,8))},token:t,providedIn:"root"}),t})();function C(t){return t.cloneNode(!0)}function R(t,e){return t+":"+e}class T{constructor(t){this._elementRef=t}}const k=Object(s.y)(T),I=new n.r("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(n.V)(r.e),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),O=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],D=O.map(t=>`[${t}]`).join(", "),M=/^url\(['"]?#(.*?)['"]?\)$/;let P=(()=>{class t extends k{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=u.a.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(o.c)(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_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}"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this._currentIconFetch.unsubscribe(),this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(e,t).pipe(Object(b.a)(1)).subscribe(t=>this._setSvgElement(t),i=>{const n=`Error retrieving icon ${t}:${e}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&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 i=0;i{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(D),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],o=s.getAttribute(t),r=o?o.match(M):null;if(r){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:r[1]})}})}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(E),n.Xb("aria-hidden"),n.Mb(I,8),n.Mb(n.n,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(t,e){2&t&&n.Eb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[n.xb,n.yb],ngContentSelectors:y,decls:1,vars:0,template:function(t,e){1&t&&(n.jc(),n.ic(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})(),x=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[s.i],s.i]}),t})()},bdug:function(t,e,i){"use strict";i.d(e,"a",(function(){return L}));var n=i("X2Q7"),s=(i("HHEo"),i("cqs0")),o=i("mEf3"),r=i("8clQ"),a=i("+0js"),c=i("IDQ9"),l=i("nyAh"),u=i("EM62"),h=i("sEIs"),d=i("OZ4H"),p=i("2kYt"),f=i("csyo"),g=i("FcRk"),b=i("0XDM"),m=i("PBFl"),A=i("ABWF"),y=i("eXxK"),w=i("22FB"),v=i("KQGD"),_=i("jqZM"),S=i("LKLE"),E=i("s2Ay");const C=["list"];function R(t,e){1&t&&u.Nb(0,"mat-spinner",4)}function T(t,e){if(1&t&&(u.Sb(0,"app-alert",5),u.Jc(1),u.Rb()),2&t){const t=u.dc();u.Ab(1),u.Kc(t.noEntityMessage)}}function k(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-group-search-select",17),u.Zb("groupSelected",(function(e){return u.xc(t),u.dc(2).specifySecondEntity(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("groups",t.entityValues)}}function I(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-resource-search-select",18),u.Zb("resourceSelected",(function(e){return u.xc(t),u.dc(2).specifySecondEntity(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("resources",t.entityValues)}}function O(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-member-search-select",19),u.Zb("memberSelected",(function(e){return u.xc(t),u.dc(2).specifySecondEntity(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("members",t.entityValues)}}function D(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-facility-search-select",20),u.Zb("facilitySelected",(function(e){return u.xc(t),u.dc(2).specifySecondEntity(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("facilities",t.entityValues)}}function M(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-user-search-select",21),u.Zb("userSelected",(function(e){return u.xc(t),u.dc(2).specifySecondEntity(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("users",t.entityValues)}}function P(t,e){1&t&&u.Nb(0,"mat-spinner",4)}function x(t,e){if(1&t&&u.Nb(0,"perun-web-apps-attributes-list",22,23),2&t){const t=u.dc(2);u.kc("attributes",t.attributes)("selection",t.selection)}}function N(t,e){if(1&t){const t=u.Tb();u.Sb(0,"div"),u.Sb(1,"div",6),u.Hc(2,k,1,1,"perun-web-apps-group-search-select",7),u.Hc(3,I,1,1,"perun-web-apps-resource-search-select",8),u.Hc(4,O,1,1,"perun-web-apps-member-search-select",9),u.Hc(5,D,1,1,"perun-web-apps-facility-search-select",10),u.Hc(6,M,1,1,"perun-web-apps-user-search-select",11),u.Rb(),u.Sb(7,"perun-web-apps-refresh-button",12),u.Zb("refresh",(function(){u.xc(t);const e=u.dc();return e.getAttributes(e.specificSecondEntity.id)})),u.Rb(),u.Sb(8,"button",13),u.Zb("click",(function(){u.xc(t);const e=u.dc();return e.onAdd(e.specificSecondEntity.id)})),u.Jc(9),u.ec(10,"translate"),u.Rb(),u.Sb(11,"button",14),u.Zb("click",(function(){u.xc(t);const e=u.dc();return e.onSave(e.specificSecondEntity.id)})),u.Jc(12),u.ec(13,"translate"),u.Rb(),u.Sb(14,"button",15),u.Zb("click",(function(){u.xc(t);const e=u.dc();return e.onDelete(e.specificSecondEntity.id)})),u.Jc(15),u.ec(16,"translate"),u.Rb(),u.Hc(17,P,1,0,"mat-spinner",1),u.Hc(18,x,2,2,"perun-web-apps-attributes-list",16),u.Rb()}if(2&t){const t=u.dc();u.Ab(2),u.kc("ngIf","group"===t.secondEntity),u.Ab(1),u.kc("ngIf","resource"===t.secondEntity),u.Ab(1),u.kc("ngIf","member"===t.secondEntity),u.Ab(1),u.kc("ngIf","facility"===t.secondEntity),u.Ab(1),u.kc("ngIf","user"===t.secondEntity),u.Ab(3),u.Lc(" ",u.fc(10,12,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),u.Ab(2),u.kc("disabled",0===t.selection.selected.length),u.Ab(1),u.Lc(" ",u.fc(13,14,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),u.Ab(2),u.kc("disabled",0===t.selection.selected.length),u.Ab(1),u.Lc(" ",u.fc(16,16,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),u.Ab(2),u.kc("ngIf",t.innerLoading),u.Ab(1),u.kc("ngIf",!t.innerLoading)}}let L=(()=>{class t{constructor(t,e,i,n,o,r,a){this.route=t,this.attributesManagerService=e,this.resourcesManagerService=i,this.facilitiesManagerService=n,this.groupsManagerService=o,this.membersManager=r,this.dialog=a,this.entityValues=[],this.attributes=[],this.selection=new s.c(!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.a.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=Object(r.o)();e.width="450px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,attributes:this.selection.selected},this.dialog.open(a.f,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}onDelete(t){const e=Object(r.o)();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(o.a,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}onAdd(t){const e=Object(r.o)();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(c.a,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}specifySecondEntity(t){this.specificSecondEntity=t,this.getAttributes(this.specificSecondEntity.id)}}return t.\u0275fac=function(e){return new(e||t)(u.Mb(h.a),u.Mb(n.c),u.Mb(n.m),u.Mb(n.g),u.Mb(n.h),u.Mb(n.i),u.Mb(d.b))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-two-entity-attribute-page"]],viewQuery:function(t,e){var i;1&t&&u.Qc(C,!0),2&t&&u.sc(i=u.ac())&&(e.list=i.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.Sb(0,"div",0),u.Hc(1,R,1,0,"mat-spinner",1),u.Hc(2,T,2,1,"app-alert",2),u.Hc(3,N,19,18,"div",3),u.Rb()),2&t&&(u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",0===e.entityValues.length&&!e.loading),u.Ab(1),u.kc("ngIf",0!==e.entityValues.length))},directives:[p.t,f.c,g.a,b.a,m.b,A.a,y.a,w.a,v.a,_.a,S.a],pipes:[E.d],styles:[".w-35[_ngcontent-%COMP%]{width:35%}"]}),t})()},bwdy:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("FU6l"),s=i("X0qr"),o=i("IJgj");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),[])}},bwko:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,...e){return Object(n.E)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"userEmail",type:t,pure:!0}),t})()},c9OP:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("cqs0"),a=i("nyAh"),c=i("EM62"),l=i("s2Ay"),u=i("2kYt"),h=i("csyo"),d=i("A8Ay"),p=i("K9kF"),f=i("PBFl");function g(t,e){1&t&&c.Nb(0,"mat-spinner",6)}function b(t,e){if(1&t){const t=c.Tb();c.Sb(0,"perun-web-apps-immediate-filter",7),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.Rb()}2&t&&c.kc("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}function m(t,e){if(1&t&&c.Nb(0,"perun-web-apps-groups-list",8),2&t){const t=c.dc();c.kc("groups",t.groups)("selection",t.selection)("hideColumns",t.hideColumns)("filter",t.filterValue)("groupsToDisable",t.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function A(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div",9),c.Sb(1,"button",10),c.Zb("click",(function(){return c.xc(t),c.dc().onCancel()})),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"button",11),c.Zb("click",(function(){return c.xc(t),c.dc().onAdd()})),c.Jc(5),c.ec(6,"translate"),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(2),c.Lc(" ",c.fc(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),c.Ab(2),c.kc("disabled",0===t.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let y=(()=>{class t{constructor(t,e,i,n,s,o,c){this.dialogRef=t,this.data=e,this.groupManager=i,this.memberManager=n,this.notificator=s,this.translate=o,this.authResolver=c,this.loading=!1,this.groups=[],this.selection=new r.c(!0,[]),this.attrNames=[a.a.GROUP_SYNC_ENABLED,a.a.GROUP_LAST_SYNC_STATE,a.a.GROUP_LAST_SYNC_TIMESTAMP,a.a.GROUP_STRUCTURE_SYNC_ENABLED,a.a.GROUP_LAST_STRUCTURE_SYNC_STATE,a.a.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.hideColumns=["recent","vo","expiration","menu"],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)(c.Mb(n.i),c.Mb(n.a),c.Mb(s.h),c.Mb(s.i),c.Mb(o.l),c.Mb(l.e),c.Mb(o.h))},t.\u0275cmp=c.Gb({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","hideColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","hideColumns","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&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,g,1,0,"mat-spinner",1),c.Sb(5,"div",2),c.Hc(6,b,1,1,"perun-web-apps-immediate-filter",3),c.Hc(7,m,1,8,"perun-web-apps-groups-list",4),c.Rb(),c.Hc(8,A,7,7,"div",5),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(2),c.Kc(c.fc(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(2),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[n.j,u.t,n.g,h.c,d.a,p.a,n.c,f.b],pipes:[l.d],styles:[""]}),t})()},cJ9h:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("mW0F"),s=i("pBDD"),o=i("r9RI"),r=i("YtkY"),a=i("GoAz");function c(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(c((i,n)=>Object(a.a)(t(i,n)).pipe(Object(r.a)((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.a{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()}}},cZZj:function(t,e,i){"use strict";i.d(e,"a",(function(){return a})),i.d(e,"b",(function(){return c})),i.d(e,"c",(function(){return m})),i.d(e,"d",(function(){return b})),i.d(e,"e",(function(){return u})),i.d(e,"f",(function(){return f})),i.d(e,"g",(function(){return g}));var n=i("EM62"),s=i("2kYt");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?Object(s.J)(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.Wb(n.C,8))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(n.C,8))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),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;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 g(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function b(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",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 m(t){if(function(){if(null==p){const t="undefined"!=typeof document?document.head:null;p=!(!t||!t.createShadowRoot&&!t.attachShadow)}return p}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},cePI:function(t,e,i){"use strict";i.d(e,"a",(function(){return b})),i.d(e,"b",(function(){return E})),i.d(e,"c",(function(){return C}));var n=i("EM62"),s=i("5XID"),o=i("mFH5"),r=i("ZTXN"),a=i("g6G6"),c=i("f7+R"),l=i("2kYt"),u=i("sg/T");const h=["mat-sort-header",""];function d(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div",3),n.Zb("@arrowPosition.start",(function(){return n.xc(t),n.dc()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return n.xc(t),n.dc()._disableViewStateAnimation=!1})),n.Nb(1,"div",4),n.Sb(2,"div",5),n.Nb(3,"div",6),n.Nb(4,"div",7),n.Nb(5,"div",8),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.kc("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),n.Ab(2),n.kc("@indicator",t._getArrowDirectionState()),n.Ab(1),n.kc("@leftPointer",t._getArrowDirectionState()),n.Ab(1),n.kc("@rightPointer",t._getArrowDirectionState())}}const p=["*"];class f{}const g=Object(o.C)(Object(o.A)(f));let b=(()=>{class t extends g{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new r.a,this.start="asc",this._direction="",this.sortChange=new n.o}get direction(){return this._direction}set direction(t){if(Object(n.W)()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(s.c)(t)}register(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error(`Cannot have two MatSortables with the same id (${t.id}).`);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){if(!t)return"";let e=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),i=e.indexOf(this.direction)+1;return i>=e.length&&(i=0),e[i]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return m(e||t)},t.\u0275dir=n.Hb({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.xb,n.yb]}),t})();const m=n.Ub(b),A=o.b.ENTERING+" "+o.a.STANDARD_CURVE,y={indicator:Object(c.n)("indicator",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"translateY(0px)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"translateY(10px)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(A))]),leftPointer:Object(c.n)("leftPointer",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"rotate(-45deg)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"rotate(45deg)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(A))]),rightPointer:Object(c.n)("rightPointer",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"rotate(45deg)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"rotate(-45deg)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(A))]),arrowOpacity:Object(c.n)("arrowOpacity",[Object(c.k)("desc-to-active, asc-to-active, active",Object(c.l)({opacity:1})),Object(c.k)("desc-to-hint, asc-to-hint, hint",Object(c.l)({opacity:.54})),Object(c.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(c.l)({opacity:0})),Object(c.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(c.e)("0ms")),Object(c.m)("* <=> *",Object(c.e)(A))]),arrowPosition:Object(c.n)("arrowPosition",[Object(c.m)("* => desc-to-hint, * => desc-to-active",Object(c.e)(A,Object(c.h)([Object(c.l)({transform:"translateY(-25%)"}),Object(c.l)({transform:"translateY(0)"})]))),Object(c.m)("* => hint-to-desc, * => active-to-desc",Object(c.e)(A,Object(c.h)([Object(c.l)({transform:"translateY(0)"}),Object(c.l)({transform:"translateY(25%)"})]))),Object(c.m)("* => asc-to-hint, * => asc-to-active",Object(c.e)(A,Object(c.h)([Object(c.l)({transform:"translateY(25%)"}),Object(c.l)({transform:"translateY(0)"})]))),Object(c.m)("* => hint-to-asc, * => active-to-asc",Object(c.e)(A,Object(c.h)([Object(c.l)({transform:"translateY(0)"}),Object(c.l)({transform:"translateY(-25%)"})]))),Object(c.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(c.l)({transform:"translateY(0)"})),Object(c.k)("hint-to-desc, active-to-desc, desc",Object(c.l)({transform:"translateY(-25%)"})),Object(c.k)("hint-to-asc, active-to-asc, asc",Object(c.l)({transform:"translateY(25%)"}))]),allowChildren:Object(c.n)("allowChildren",[Object(c.m)("* <=> *",[Object(c.i)("@*",Object(c.f)(),{optional:!0})])])};let w=(()=>{class t{constructor(){this.changes=new r.a,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(n.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const v={provide:w,deps:[[new n.B,new n.K,w]],useFactory:function(t){return t||new w}};class _{}const S=Object(o.A)(_);let E=(()=>{class t extends S{constructor(t,e,i,n,s,o){if(super(),this._intl=t,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",!i)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");this._rerenderSubscription=Object(a.a)(i.sortChange,i._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()}),s&&o&&s.monitor(o,!0).subscribe(t=>this._setIndicatorHintVisible(!!t))}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(s.c)(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)}ngOnDestroy(){this._focusMonitor&&this._elementRef&&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})}_handleClick(){if(this._isDisabled())return;this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_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":null}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(w),n.Mb(n.h),n.Mb(b,8),n.Mb("MAT_SORT_HEADER_COLUMN_DEF",8),n.Mb(u.h),n.Mb(n.l))},t.\u0275cmp=n.Gb({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&n.Zb("click",(function(){return e._handleClick()}))("mouseenter",(function(){return e._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return e._setIndicatorHintVisible(!1)})),2&t&&(n.Bb("aria-sort",e._getAriaSortAttribute()),n.Eb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[n.xb],attrs:h,ngContentSelectors:p,decls:4,vars:7,consts:[[1,"mat-sort-header-container"],["type","button",1,"mat-sort-header-button","mat-focus-indicator"],["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.jc(),n.Sb(0,"div",0),n.Sb(1,"button",1),n.ic(2),n.Rb(),n.Hc(3,d,6,6,"div",2),n.Rb()),2&t&&(n.Eb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),n.Ab(1),n.Bb("disabled",e._isDisabled()||null)("aria-label",e._intl.sortButtonLabel(e.id)),n.Ab(2),n.kc("ngIf",e._renderArrow()))},directives:[l.t],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor;position:relative}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-button,[mat-sort-header].cdk-program-focused .mat-sort-header-button{border-bottom:solid 1px currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.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})(),C=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[v],imports:[[l.c]]}),t})()},ckkg:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("IdLP"),s=i("dUuy"),o=i("czMQ");function r(t,e){return e?Object(o.a)(t,e):new n.a(Object(s.a)(t))}},cqs0:function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return u})),i.d(e,"d",(function(){return h})),i.d(e,"e",(function(){return c}));var n=i("9bRT"),s=i("ROBh"),o=i("ZTXN"),r=i("EM62");class a{}function c(t){return t&&"function"==typeof t.connect}class l extends a{constructor(t){super(),this._data=t}connect(){return Object(n.a)(this._data)?this._data:Object(s.a)(this._data)}disconnect(){}}class u{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.a,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){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let h=(()=>{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=Object(r.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})()},csyo:function(t,e,i){"use strict";i.d(e,"a",(function(){return m})),i.d(e,"b",(function(){return y})),i.d(e,"c",(function(){return A}));var n=i("EM62"),s=i("2kYt"),o=i("mFH5"),r=i("5XID"),a=i("cZZj"),c=i("5lCh");function l(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){const t=n.dc();n.Ec("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),n.Bb("r",t._circleRadius)}}function u(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){const t=n.dc();n.Ec("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),n.Bb("r",t._circleRadius)}}function h(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){const t=n.dc();n.Ec("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),n.Bb("r",t._circleRadius)}}function d(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){const t=n.dc();n.Ec("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),n.Bb("r",t._circleRadius)}}const p=".mat-progress-spinner{display:block;position:relative}.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}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{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]{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]{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 f{constructor(t){this._elementRef=t}}const g=Object(o.y)(f,"primary"),b=new n.r("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let m=(()=>{class t extends g{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;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=Object(r.f)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(r.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(r.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Object(a.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){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",i+""),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_getAnimationText(){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*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(a.a),n.Mb(s.e,8),n.Mb(c.a,8),n.Mb(b))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(n.Bb("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.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.Eb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[n.xb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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.cc(),n.Sb(0,"svg",0),n.Hc(1,l,1,9,"circle",1),n.Hc(2,u,1,7,"circle",2),n.Rb()),2&t&&(n.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.kc("ngSwitch","indeterminate"===e.mode),n.Bb("viewBox",e._viewBox),n.Ab(1),n.kc("ngSwitchCase",!0),n.Ab(1),n.kc("ngSwitchCase",!1))},directives:[s.x,s.y],styles:[p],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),A=(()=>{class t extends m{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.Mb(n.l),n.Mb(a.a),n.Mb(s.e,8),n.Mb(c.a,8),n.Mb(b))},t.\u0275cmp=n.Gb({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.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.Eb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[n.xb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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.cc(),n.Sb(0,"svg",0),n.Hc(1,h,1,9,"circle",1),n.Hc(2,d,1,7,"circle",2),n.Rb()),2&t&&(n.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.kc("ngSwitch","indeterminate"===e.mode),n.Bb("viewBox",e._viewBox),n.Ab(1),n.kc("ngSwitchCase",!0),n.Ab(1),n.kc("ngSwitchCase",!1))},directives:[s.x,s.y],styles:[p],encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[o.i,s.c],o.i]}),t})()},czMQ:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("IdLP"),s=i("bwdy");function o(t,e){return new n.a(i=>{const n=new s.a;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})}},dEHC:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62");const s=["*"];let o=(()=>{class t{constructor(){}ngOnChanges(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},features:[n.yb],ngContentSelectors:s,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&&(n.jc(),n.Sb(0,"div",0),n.Sb(1,"span",1),n.Jc(2),n.Rb(),n.Sb(3,"div",2),n.ic(4),n.Rb(),n.Rb(),n.Sb(5,"div",3),n.Nb(6,"span",4),n.Sb(7,"div",5),n.Jc(8),n.Rb(),n.Rb()),2&t&&(n.Ab(2),n.Lc("",e.label,":"),n.Ab(6),n.Lc(" ",e.description," "))},styles:[""]}),t})()},dUuy:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const n=t=>e=>{for(let i=0,n=t.length;i{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.E,this.tableId=s.F,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.g(Object(a.I)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new r.g(Object(a.I)(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,Object(a.I)(this.startDate.value,"yyyy-MM-dd","en-GB"),Object(a.I)(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.Mb(n.h),c.Mb(n.l),c.Mb(s.pb),c.Mb(l.a),c.Mb(o.h),c.Mb(o.m))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},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.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Sb(3,"div"),c.Sb(4,"perun-web-apps-refresh-button",1),c.Zb("refresh",(function(){return e.select()})),c.Rb(),c.Hc(5,v,3,3,"button",2),c.Hc(6,_,3,3,"button",2),c.Sb(7,"mat-form-field",3),c.Sb(8,"mat-label"),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Sb(11,"mat-select",4),c.Zb("selectionChange",(function(){return e.select()}))("valueChange",(function(t){return e.state=t})),c.Sb(12,"mat-option",5),c.Jc(13),c.ec(14,"translate"),c.Rb(),c.Sb(15,"mat-option",6),c.Jc(16),c.ec(17,"translate"),c.Rb(),c.Sb(18,"mat-option",7),c.Jc(19),c.ec(20,"translate"),c.Rb(),c.Sb(21,"mat-option",8),c.Jc(22),c.ec(23,"translate"),c.Rb(),c.Sb(24,"mat-option",9),c.Jc(25),c.ec(26,"translate"),c.Rb(),c.Sb(27,"mat-option",10),c.Jc(28),c.ec(29,"translate"),c.Rb(),c.Rb(),c.Rb(),c.Sb(30,"perun-web-apps-debounce-filter",11),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Sb(31,"perun-web-apps-date-range",12),c.Zb("datePicker",(function(){return e.select()})),c.Rb(),c.Rb(),c.Hc(32,S,1,0,"mat-spinner",13),c.Hc(33,R,3,2,"div",14)),2&t&&(c.Ab(1),c.Kc(c.fc(2,16,"VO_DETAIL.APPLICATION.TITLE")),c.Ab(4),c.kc("ngIf",!e.showAllDetails),c.Ab(1),c.kc("ngIf",e.showAllDetails),c.Ab(3),c.Kc(c.fc(10,18,"VO_DETAIL.APPLICATION.TABLE_STATE")),c.Ab(2),c.kc("value",e.state),c.Ab(2),c.Kc(c.fc(14,20,"VO_DETAIL.APPLICATION.SELECTION_ALL")),c.Ab(3),c.Kc(c.fc(17,22,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),c.Ab(3),c.Kc(c.fc(20,24,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),c.Ab(3),c.Kc(c.fc(23,26,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),c.Ab(3),c.Kc(c.fc(26,28,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),c.Ab(3),c.Kc(c.fc(29,30,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),c.Ab(2),c.kc("placeholder","VO_DETAIL.APPLICATION.FILTER"),c.Ab(1),c.kc("startDate",e.startDate)("endDate",e.endDate),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[u.a,a.t,h.c,h.g,d.a,p.n,f.a,g.a,b.b,m.c,A.a,y.a],pipes:[w.d],styles:[""]}),t})()},dhrr:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){if(null==t)return null;let i="";return t.forEach((function(t){i=i.concat(t.tagName)})),i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"resourceTagsToString",type:t,pure:!0}),t})()},dnAU:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("nIj0"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("29Wa"),p=i("Cd2c");function f(t,e){1&t&&a.Nb(0,"mat-spinner",7)}function g(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.ADD_HOST.EMPTY_MESSAGE")," "))}function b(t,e){if(1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t){const t=a.dc(2);a.Ab(1),a.Mc(" ",a.fc(2,2,"DIALOGS.ADD_HOST.INVALID_HOST"),"",t.hostsCtrl.getError("invalidHost").value," ")}}function m(t,e){if(1&t&&(a.Sb(0,"div",8),a.Sb(1,"mat-form-field"),a.Sb(2,"textarea",9),a.Jc(3," "),a.Rb(),a.Hc(4,g,3,3,"mat-error",10),a.Hc(5,b,3,4,"mat-error",10),a.Rb(),a.Sb(6,"div",11),a.Jc(7),a.ec(8,"translate"),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.kc("formControl",t.hostsCtrl),a.Ab(2),a.kc("ngIf",t.hostsCtrl.hasError("required")),a.Ab(1),a.kc("ngIf",t.hostsCtrl.hasError("invalidHost")),a.Ab(2),a.Kc(a.fc(8,4,"DIALOGS.ADD_HOST.HINT"))}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=n,this.translate=s,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 r.g("",[r.F.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 n of i)e=e.concat(this.parseHostName(n));console.log(i);for(const n of e)if(!this.hostPattern.test(n))return{invalidHost:{value:n}};return null}}parseHostName(t){const e=new RegExp("[[0-9]+-[0-9]+]","g"),i=t.split(e),n=t.match(e);if(null==n)return""===t?[]:[t];let s=[];for(let o=0;o{class t{constructor(t){this.translate=t,this.returnData=""}transform(t,e){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.Mb(s.e))},t.\u0275pipe=n.Lb({name:"applicationState",type:t,pure:!1}),t})()},e4iD:function(t,e,i){"use strict";i.d(e,"a",(function(){return z})),i.d(e,"b",(function(){return M})),i.d(e,"c",(function(){return R})),i.d(e,"d",(function(){return B})),i.d(e,"e",(function(){return L})),i.d(e,"f",(function(){return v}));var n=i("2kYt"),s=i("EM62");class o extends n.K{constructor(){super()}supportsDOMEvents(){return!0}}class r extends o{static makeCurrent(){Object(n.O)(new r)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}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}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==e?null:(i=e,a||(a=document.createElement("a")),a.setAttribute("href",i),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var i}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(n.N)(document.cookie,t)}}let a,c=null;const l=new s.r("TRANSITION_ID"),u=[{provide:s.d,useFactory:function(t,e,i){return()=>{i.get(s.e).donePromise.then(()=>{const i=Object(n.M)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[l,n.e,s.s],multi:!0}];class h{static init(){Object(s.Y)(new h)}addToWindow(t){s.pb.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.pb.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.pb.getAllAngularRootElements=()=>t.getAllRootElements(),s.pb.frameworkStabilizers||(s.pb.frameworkStabilizers=[]),s.pb.frameworkStabilizers.push(t=>{const e=s.pb.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?Object(n.M)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new s.r("EventManagerPlugins");let p=(()=>{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.Ib({token:t,factory:t.\u0275fac}),t})(),b=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,this._styleNodes.add(e.appendChild(i))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(n.M)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(n.e))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const m={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 v=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new _(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.R.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 s.R.Native:case s.R.ShadowDom:return new E(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.Wb(p),s.Wb(b),s.Wb(s.c))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();class _{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(m[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=m[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=m[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.H.DashCase?t.style.setProperty(e,i,n&s.H.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&s.H.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,w(i)):this.eventManager.addEventListener(t,e,w(i))}}class S extends _{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 E extends _{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.component=n,this.shadowRoot=n.encapsulation===s.R.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=y(n.id,n.styles,[]);for(let s=0;s{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.Wb(n.e))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const i in this.overrides)e.get(i).set(this.overrides[i]);return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const T=["alt","control","meta","shift"],k={"\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 D=(()=>{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(()=>Object(n.M)().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(T.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 k[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),T.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.Wb(n.e))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Ib)({factory:function(){return Object(s.Wb)(x)},token:t,providedIn:"root"}),t})();function P(t){return new x(t.get(n.e))}let x=(()=>{class t extends M{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.J.NONE:return e;case s.J.HTML:return Object(s.eb)(e,"HTML")?Object(s.wb)(e):Object(s.cb)(this._doc,String(e));case s.J.STYLE:return Object(s.eb)(e,"Style")?Object(s.wb)(e):e;case s.J.SCRIPT:if(Object(s.eb)(e,"Script"))return Object(s.wb)(e);throw new Error("unsafe value used in a script context");case s.J.URL:return Object(s.ob)(e),Object(s.eb)(e,"URL")?Object(s.wb)(e):Object(s.db)(String(e));case s.J.RESOURCE_URL:if(Object(s.eb)(e,"ResourceURL"))return Object(s.wb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(s.fb)(t)}bypassSecurityTrustStyle(t){return Object(s.ib)(t)}bypassSecurityTrustScript(t){return Object(s.hb)(t)}bypassSecurityTrustUrl(t){return Object(s.jb)(t)}bypassSecurityTrustResourceUrl(t){return Object(s.gb)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(n.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return P(Object(s.Wb)(s.p))},token:t,providedIn:"root"}),t})();const N=[{provide:s.C,useValue:n.L},{provide:s.D,useValue:function(){r.makeCurrent(),h.init()},multi:!0},{provide:n.e,useFactory:function(){return Object(s.ub)(document),document},deps:[]}],L=Object(s.S)(s.X,"browser",N),F=[[],{provide:s.ab,useValue:"root"},{provide:s.n,useFactory:function(){return new s.n},deps:[]},{provide:d,useClass:C,multi:!0,deps:[n.e,s.A,s.C]},{provide:d,useClass:D,multi:!0,deps:[n.e]},[],{provide:v,useClass:v,deps:[p,b,s.c]},{provide:s.G,useExisting:v},{provide:g,useExisting:b},{provide:b,useClass:b,deps:[n.e]},{provide:s.N,useClass:s.N,deps:[s.A]},{provide:p,useClass:p,deps:[d,s.A]},[]];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.c,useValue:e.appId},{provide:l,useExisting:s.c},u]}}}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)(s.Wb(t,12))},providers:F,imports:[n.c,s.f]}),t})();function H(){return new B(Object(s.Wb)(n.e))}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.Wb(n.e))},t.\u0275prov=Object(s.Ib)({factory:H,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},eXxK:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),s=i("LAw4"),o=i("s2Ay");let r=(()=>{class t{constructor(){this.resourceSelected=new n.o,this.nameFunction=t=>t.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.resourceSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.resources)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",n.fc(1,6,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",n.fc(2,8,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",n.fc(3,10,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[s.a],pipes:[o.d],styles:[""]}),t})()},"eY+9":function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const n=t=>t&&"number"==typeof t.length&&"function"!=typeof t},eakH:function(t,e,i){"use strict";i.d(e,"a",(function(){return F}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("cqs0"),c=i("hilf"),l=i("8clQ"),u=i("Ssnw"),h=i("OZ4H"),d=i("9wx0"),p=i("2kYt"),f=i("+Tre"),g=i("FcRk"),b=i("s2Ay"),m=i("XhvO"),A=i("kdIE");function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",20),n.Sb(1,"mat-checkbox",21),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function v(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ID")))}function _(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function S(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_FRIENDLY_NAME")))}function E(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.friendlyName)}}function C(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ENTITY")))}function R(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.entity)}}function T(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_DEF")))}function k(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"nameSpaceToDef"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.namespace))}}function I(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_TYPE")))}function O(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"attributeTypeClean"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.type))}}function D(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_UNIQUE")))}function M(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.unique)}}function P(t,e){1&t&&n.Nb(0,"tr",26)}function x(t,e){if(1&t){const t=n.Tb();n.Sb(0,"tr",27),n.Zb("click",(function(){n.xc(t);const i=e.$implicit;return n.dc().onRowClick(i)})),n.Rb()}if(2&t){const t=n.dc();n.Eb("cursor-pointer",!t.disableRouting)}}function N(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"ADMIN.ATTRIBUTES.NO_ATTRIBUTES"),"\n"))}function L(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let F=(()=>{class t{constructor(t,e,i){this.dialog=t,this.authResolver=e,this.tableCheckbox=i,this.selection=new a.c(!0,[]),this.hideColumns=[],this.pageSize=10,this.disableRouting=!1,this.refreshEvent=new n.o,this.page=new n.o,this.displayedColumns=["select","id","friendlyName","entity","namespace","type","unique"],this.pageSizeOptions=l.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(this.definitions),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.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){Object(l.i)(Object(l.n)(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)=>Object(l.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(l.g)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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=Object(l.o)();e.width="700px",e.data={attDef:t},this.dialog.open(c.a,e).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.refreshEvent.emit())})}}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(h.b),n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-attr-def-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{definitions:"definitions",selection:"selection",hideColumns:"hideColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{refreshEvent:"refreshEvent",page:"page"},features:[n.yb],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,y,2,3,"th",6),n.Hc(7,w,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,v,3,3,"th",9),n.Hc(10,_,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,S,3,3,"th",9),n.Hc(13,E,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,C,3,3,"th",9),n.Hc(16,R,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,T,3,3,"th",9),n.Hc(19,k,3,3,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,I,3,3,"th",9),n.Hc(22,O,3,3,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,D,3,3,"th",9),n.Hc(25,M,2,1,"td",11),n.Pb(),n.Hc(26,P,1,0,"tr",16),n.Hc(27,x,1,2,"tr",17),n.Rb(),n.Rb(),n.Sb(28,"mat-paginator",18),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(29,N,3,3,"app-alert",19),n.Hc(30,L,3,3,"app-alert",19)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.definitions.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.definitions.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.definitions.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.definitions.length))},directives:[d.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,p.t,r.h,f.a,r.a,o.b,r.j,r.l,g.a],pipes:[b.d,m.a,A.a],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},etrl:function(t,e,i){var n,s;void 0===(s="function"==typeof(n=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})?n.apply(e,[]):n)||(t.exports=s)},f3iV:function(t,e,i){"use strict";i.d(e,"a",(function(){return h})),i.d(e,"b",(function(){return d}));var n=i("EM62"),s=i("mFH5"),o=i("sg/T"),r=i("5XID"),a=i("5lCh");let c=0;class l{}const u=Object(s.A)(l);let h=(()=>{class t extends u{constructor(t,e,i,s,o){if(super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=i,this._renderer=s,this._animationMode=o,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=c++,Object(n.W)()){const t=e.nativeElement;if(t.nodeType!==t.ELEMENT_NODE)throw Error("matBadge must be attached to an element node.")}}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=Object(r.c)(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=Object(r.c)(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.content: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.content,"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){t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-badge-"+this._color),t&&this._elementRef.nativeElement.classList.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)}}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.A),n.Mb(n.l),n.Mb(o.c),n.Mb(n.F),n.Mb(a.a,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&n.Eb("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:[n.xb,n.yb]}),t})(),d=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[o.a,s.i],s.i]}),t})()},"f7+R":function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"d",(function(){return m})),i.d(e,"e",(function(){return a})),i.d(e,"f",(function(){return f})),i.d(e,"g",(function(){return c})),i.d(e,"h",(function(){return d})),i.d(e,"i",(function(){return g})),i.d(e,"j",(function(){return l})),i.d(e,"k",(function(){return h})),i.d(e,"l",(function(){return u})),i.d(e,"m",(function(){return p})),i.d(e,"n",(function(){return r})),i.d(e,"o",(function(){return A})),i.d(e,"p",(function(){return y}));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 f(t=null){return{type:9,options:t}}function g(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function b(t){Promise.resolve(null).then(t)}class m{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,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(){b(()=>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(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class A{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?b(()=>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(){let t=0;return this.players.forEach(e=>{const i=e.getPosition();t=Math.min(i,t)}),t}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 y="!"},"f8+N":function(t,e,i){"use strict";var n=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,e,i,s){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(s){var o=encodeURIComponent(n(s))+i;return Array.isArray(t[s])?t[s].map((function(t){return o+encodeURIComponent(n(t))})).join(e):o+encodeURIComponent(n(t[s]))})).join(e):s?encodeURIComponent(n(s))+i+encodeURIComponent(n(t)):""}},fAiE:function(t,e,i){"use strict";i.d(e,"a",(function(){return y})),i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return v})),i.d(e,"d",(function(){return b})),i.d(e,"e",(function(){return g})),i.d(e,"f",(function(){return u})),i.d(e,"g",(function(){return o})),i.d(e,"h",(function(){return r})),i.d(e,"i",(function(){return h})),i.d(e,"j",(function(){return d})),i.d(e,"k",(function(){return A})),i.d(e,"l",(function(){return l})),i.d(e,"m",(function(){return c})),i.d(e,"n",(function(){return f})),i.d(e,"o",(function(){return a})),i.d(e,"p",(function(){return s})),i.d(e,"q",(function(){return p})),i.d(e,"r",(function(){return w})),i.d(e,"s",(function(){return m})),i.d(e,"t",(function(){return _}));const n=8,s=9,o=13,r=27,a=32,c=33,l=34,u=35,h=36,d=37,p=38,f=39,g=40,b=46,m=48,A=57,y=65,w=90,v=188;function _(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},fbWu:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("VxHp"),s=i("5uGe");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.a{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.a}},g3Wv:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),s=i("s2Ay");let o=(()=>{class t{constructor(t){this.translateService=t,this.returnData=""}transform(t,...e){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.Mb(s.e))},t.\u0275pipe=n.Lb({name:"applicationFormItemType",type:t,pure:!0}),t})()},g6G6:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("IdLP"),s=i("gBlb"),o=i("3lSR"),r=i("ckkg");function a(...t){let e=Number.POSITIVE_INFINITY,i=null,a=t[t.length-1];return Object(s.a)(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.a?t[0]:Object(o.a)(e)(Object(r.a)(t,i))}},gBlb:function(t,e,i){"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,"a",(function(){return n}))},gcUQ:function(t,e,i){"use strict";i.d(e,"a",(function(){return X})),i.d(e,"b",(function(){return K})),i.d(e,"c",(function(){return $})),i.d(e,"d",(function(){return rt})),i.d(e,"e",(function(){return ot})),i.d(e,"f",(function(){return ut})),i.d(e,"g",(function(){return pt})),i.d(e,"h",(function(){return dt})),i.d(e,"i",(function(){return ht})),i.d(e,"j",(function(){return V})),i.d(e,"k",(function(){return q})),i.d(e,"l",(function(){return Y}));var n=i("sg/T"),s=i("HYj3"),o=i("Sv/w"),r=i("2kYt"),a=i("EM62"),c=i("PBFl"),l=i("OZ4H"),u=i("qvOF"),h=i("mFH5"),d=i("ZTXN"),p=i("bwdy"),f=i("g6G6"),g=i("ROBh"),b=i("fAiE"),m=i("J+dc"),A=i("jIqt"),y=i("xVbo"),w=i("5XID"),v=i("f7+R"),_=i("nIj0"),S=i("29Wa"),E=i("Cd2c"),C=i("E5oP");const R=["mat-calendar-body",""];function T(t,e){if(1&t&&(a.Sb(0,"tr",2),a.Sb(1,"td",3),a.Jc(2),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(1),a.Ec("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.Bb("colspan",t.numCols),a.Ab(1),a.Lc(" ",t.label," ")}}function k(t,e){if(1&t&&(a.Sb(0,"td",7),a.Jc(1),a.Rb()),2&t){const t=a.dc(2);a.Ec("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.Bb("colspan",t._firstRowOffset),a.Ab(1),a.Lc(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function I(t,e){if(1&t){const t=a.Tb();a.Sb(0,"td",8),a.Zb("click",(function(){a.xc(t);const i=e.$implicit;return a.dc(2)._cellClicked(i)})),a.Sb(1,"div",9),a.Jc(2),a.Rb(),a.Rb()}if(2&t){const t=e.$implicit,i=e.index,n=a.dc().index,s=a.dc();a.Ec("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),a.Eb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",s._isActiveCell(n,i)),a.kc("ngClass",t.cssClasses)("tabindex",s._isActiveCell(n,i)?0:-1),a.Bb("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s.selectedValue===t.value),a.Ab(1),a.Eb("mat-calendar-body-selected",s.selectedValue===t.value)("mat-calendar-body-today",s.todayValue===t.value),a.Ab(1),a.Lc(" ",t.displayValue," ")}}function O(t,e){if(1&t&&(a.Sb(0,"tr",4),a.Hc(1,k,2,6,"td",5),a.Hc(2,I,3,20,"td",6),a.Rb()),2&t){const t=e.$implicit,i=e.index,n=a.dc();a.Ab(1),a.kc("ngIf",0===i&&n._firstRowOffset),a.Ab(1),a.kc("ngForOf",t)}}function D(t,e){if(1&t&&(a.Sb(0,"th",5),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Bb("aria-label",t.long),a.Ab(1),a.Kc(t.narrow)}}const M=["*"];function P(t,e){}function x(t,e){if(1&t){const t=a.Tb();a.Sb(0,"mat-month-view",5),a.Zb("activeDateChange",(function(e){return a.xc(t),a.dc().activeDate=e}))("selectedChange",(function(e){return a.xc(t),a.dc()._dateSelected(e)}))("_userSelection",(function(){return a.xc(t),a.dc()._userSelected()})),a.Rb()}if(2&t){const t=a.dc();a.kc("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.Tb();a.Sb(0,"mat-year-view",6),a.Zb("activeDateChange",(function(e){return a.xc(t),a.dc().activeDate=e}))("monthSelected",(function(e){return a.xc(t),a.dc()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return a.xc(t),a.dc()._goToDateInView(e,"month")})),a.Rb()}if(2&t){const t=a.dc();a.kc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function L(t,e){if(1&t){const t=a.Tb();a.Sb(0,"mat-multi-year-view",7),a.Zb("activeDateChange",(function(e){return a.xc(t),a.dc().activeDate=e}))("yearSelected",(function(e){return a.xc(t),a.dc()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return a.xc(t),a.dc()._goToDateInView(e,"year")})),a.Rb()}if(2&t){const t=a.dc();a.kc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}const F=["button"];function z(t,e){1&t&&(a.cc(),a.Sb(0,"svg",3),a.Nb(1,"path",4),a.Rb())}const H=[[["","matDatepickerToggleIcon",""]]],B=["[matDatepickerToggleIcon]"];function j(t){return Error(`MatDatepicker: No provider found for ${t}. You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}let G=(()=>{class t{constructor(){this.changes=new d.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 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=Object(a.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class U{constructor(t,e,i,n,s={}){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=n,this.cssClasses=s}}let K=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new a.o}_cellClicked(t){t.enabled&&this.selectedValueChange.emit(t.value)}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+"%")}_isActiveCell(t,e){let i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()})})}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(a.A))},t.\u0275cmp=a.Gb({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[a.yb],attrs:R,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 mat-focus-indicator",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(t,e){1&t&&(a.Hc(0,T,3,6,"tr",0),a.Hc(1,O,3,2,"tr",1)),2&t&&(a.kc("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})(),V=(()=>{class t{constructor(t,e,i,n){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=p.a.EMPTY,this.selectedChange=new a.o,this._userSelection=new a.o,this.activeDateChange=new a.o,!this._dateAdapter)throw j("DateAdapter");if(!this._dateFormats)throw j("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,i=this._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=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(A.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){if(this._selectedDate!=t){const e=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(e,i,t);this.selectedChange.emit(n)}this._userSelection.emit()}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case b.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case b.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case b.q:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case b.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case b.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case b.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case b.m:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case b.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case b.g:case b.o:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._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(){this._matCalendarBody._focusActiveCell()}_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))}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.h),a.Mb(h.e,8),a.Mb(h.c,8),a.Mb(C.c,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){var i;1&t&&a.Qc(K,!0),2&t&&a.sc(i=a.ac())&&(e._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,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","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(a.Sb(0,"table",0),a.Sb(1,"thead",1),a.Sb(2,"tr"),a.Hc(3,D,2,2,"th",2),a.Rb(),a.Sb(4,"tr"),a.Nb(5,"th",3),a.Rb(),a.Rb(),a.Sb(6,"tbody",4),a.Zb("selectedValueChange",(function(t){return e._dateSelected(t)}))("keydown",(function(t){return e._handleCalendarBodyKeydown(t)})),a.Rb(),a.Rb()),2&t&&(a.Ab(3),a.kc("ngForOf",e._weekdays),a.Ab(3),a.kc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("selectedValue",e._selectedDate)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[r.s,K],encapsulation:2,changeDetection:0}),t})(),q=(()=>{class t{constructor(t,e,i){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=i,this._rerenderSubscription=p.a.EMPTY,this.selectedChange=new a.o,this.yearSelected=new a.o,this.activeDateChange=new a.o,!this._dateAdapter)throw j("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),J(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(A.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-W(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){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let e=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case b.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case b.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case b.q:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case b.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case b.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-W(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case b.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-W(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case b.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case b.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case b.g:case b.o:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return W(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new U(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,i,n){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=p.a.EMPTY,this.selectedChange=new a.o,this.monthSelected=new a.o,this.activeDateChange=new a.o,!this._dateAdapter)throw j("DateAdapter");if(!this._dateFormats)throw j("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._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=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(A.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);const i=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case b.j:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case b.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case b.q:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case b.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case b.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case b.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case b.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case b.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case b.g:case b.o:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(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){let i=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new U(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t))}_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.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)-W(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):J(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(G),a.Mb(Object(a.U)(()=>X)),a.Mb(h.c,8),a.Mb(h.e,8),a.Mb(a.h))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:M,decls:9,vars:8,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.jc(),a.Sb(0,"div",0),a.Sb(1,"div",1),a.Sb(2,"button",2),a.Zb("click",(function(){return e.currentPeriodClicked()})),a.Jc(3),a.Nb(4,"div",3),a.Rb(),a.Nb(5,"div",4),a.ic(6),a.Sb(7,"button",5),a.Zb("click",(function(){return e.previousClicked()})),a.Rb(),a.Sb(8,"button",6),a.Zb("click",(function(){return e.nextClicked()})),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(2),a.Bb("aria-label",e.periodButtonLabel),a.Ab(1),a.Lc(" ",e.periodButtonText," "),a.Ab(1),a.Eb("mat-calendar-invert","month"!=e.calendar.currentView),a.Ab(3),a.kc("disabled",!e.previousEnabled()),a.Bb("aria-label",e.prevButtonLabel),a.Ab(1),a.kc("disabled",!e.nextEnabled()),a.Bb("aria-label",e.nextButtonLabel))},directives:[c.b,n.d],encapsulation:2,changeDetection:0}),t})(),X=(()=>{class t{constructor(t,e,i,n){if(this._dateAdapter=e,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.o,this.yearSelected=new a.o,this.monthSelected=new a.o,this._userSelection=new a.o,this.stateChanges=new d.a,!this._dateAdapter)throw j("DateAdapter");if(!this._dateFormats)throw j("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._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){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new o.d(this.headerComponent||$),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()}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){t&&!this._dateAdapter.sameDate(t,this.selected)&&this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(G),a.Mb(h.c,8),a.Mb(h.e,8),a.Mb(a.h))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){var i;1&t&&(a.Qc(V,!0),a.Qc(Y,!0),a.Qc(q,!0)),2&t&&(a.sc(i=a.ac())&&(e.monthView=i.first),a.sc(i=a.ac())&&(e.yearView=i.first),a.sc(i=a.ac())&&(e.multiYearView=i.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a.yb],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(a.Hc(0,P,0,0,"ng-template",0),a.Sb(1,"div",1),a.Hc(2,x,1,6,"mat-month-view",2),a.Hc(3,N,1,5,"mat-year-view",3),a.Hc(4,L,1,5,"mat-multi-year-view",4),a.Rb()),2&t&&(a.kc("cdkPortalOutlet",e._calendarHeaderPortal),a.Ab(1),a.kc("ngSwitch",e.currentView),a.Ab(1),a.kc("ngSwitchCase","month"),a.Ab(1),a.kc("ngSwitchCase","year"),a.Ab(1),a.kc("ngSwitchCase","multi-year"))},directives:[o.c,n.e,r.x,r.y,V,Y,q],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 Q={transformPanel:Object(v.n)("transformPanel",[Object(v.k)("void",Object(v.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(v.m)("void => enter",Object(v.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(v.l)({opacity:1,transform:"scale(1, 1)"}))),Object(v.m)("* => void",Object(v.e)("100ms linear",Object(v.l)({opacity:0})))]),fadeInCalendar:Object(v.n)("fadeInCalendar",[Object(v.k)("void",Object(v.l)({opacity:0})),Object(v.k)("enter",Object(v.l)({opacity:1})),Object(v.m)("void => *",Object(v.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let tt=0;const et=new a.r("mat-datepicker-scroll-strategy"),it={provide:et,deps:[s.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class nt{constructor(t){this._elementRef=t}}const st=Object(h.y)(nt);let ot=(()=>{class t extends st{constructor(t,e){super(t),this._changeDetectorRef=e,this._animationState="enter",this._animationDone=new d.a}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(a.h))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){var i;1&t&&a.Qc(X,!0),2&t&&a.sc(i=a.ac())&&(e._calendar=i.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&a.Fc("@transformPanel.done",(function(){return e._animationDone.next()})),2&t&&(a.Gc("@transformPanel",e._animationState),a.Eb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.xb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(t,e){1&t&&(a.Sb(0,"mat-calendar",0),a.Zb("selectedChange",(function(t){return e.datepicker.select(t)}))("yearSelected",(function(t){return e.datepicker._selectYear(t)}))("monthSelected",(function(t){return e.datepicker._selectMonth(t)}))("_userSelection",(function(){return e.datepicker.close()})),a.Rb()),2&t&&a.kc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._minDate)("maxDate",e.datepicker._maxDate)("dateFilter",e.datepicker._dateFilter)("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e.datepicker._selected)("dateClass",e.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[X,n.f,r.q],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[Q.transformPanel,Q.fadeInCalendar]},changeDetection:0}),t})(),rt=(()=>{class t{constructor(t,e,i,n,s,o,r,c){if(this._dialog=t,this._overlay=e,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=o,this._dir=r,this._document=c,this.startView="month",this._touchUi=!1,this.yearSelected=new a.o,this.monthSelected=new a.o,this.openedStream=new a.o,this.closedStream=new a.o,this._opened=!1,this.id="mat-datepicker-"+tt++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=p.a.EMPTY,this._disabledChange=new d.a,this._selectedChanged=new d.a,!this._dateAdapter)throw j("DateAdapter");this._scrollStrategy=s}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(t){this._startAt=this._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=Object(w.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(w.c)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(t){let e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_registerInput(t){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(m.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ot,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const t=new o.d(ot,this._viewContainerRef);this._destroyPopup(),this._createPopup();const e=this._popupComponentRef=this._popupRef.attach(t);e.instance.datepicker=this,e.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Object(m.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const t=new s.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(f.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(y.a)(t=>t.keyCode===b.h||this._datepickerInput&&t.altKey&&t.keyCode===b.q))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(l.b),a.Mb(s.c),a.Mb(a.A),a.Mb(a.Q),a.Mb(et),a.Mb(h.c,8),a.Mb(C.c,8),a.Mb(r.e,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const at={provide:_.p,useExisting:Object(a.U)(()=>ut),multi:!0},ct={provide:_.o,useExisting:Object(a.U)(()=>ut),multi:!0};class lt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let ut=(()=>{class t{constructor(t,e,i,n){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=i,this._formField=n,this.dateChange=new a.o,this.dateInput=new a.o,this._valueChange=new a.o,this._disabledChange=new a.o,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=p.a.EMPTY,this._localeSubscription=p.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDate(this.min,e)<=0?null:{matDatepickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDate(this.max,e)>=0?null:{matDatepickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=_.F.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw j("DateAdapter");if(!this._dateFormats)throw j("MAT_DATE_FORMATS");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new lt(this,this._elementRef.nativeElement)),this.dateChange.emit(new lt(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=Object(w.c)(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&this._isInitialized&&i.blur&&i.blur()}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===b.e&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!i||this._dateAdapter.isValid(i),i=this._getValidDateOrNull(i),this._dateAdapter.sameDate(i,this._value)?e!==this._lastValueValid&&this._validatorOnChange():(this._value=i,this._cvaOnChange(i),this._valueChange.emit(i),this.dateInput.emit(new lt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new lt(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(h.c,8),a.Mb(h.e,8),a.Mb(S.a,8))},t.\u0275dir=a.Hb({type:t,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(t,e){1&t&&a.Zb("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.Vb("disabled",e.disabled),a.Bb("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))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[a.zb([at,ct,{provide:E.a,useExisting:t}])]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),dt=(()=>{class t{constructor(t,e,i){this._intl=t,this._changeDetectorRef=e,this._stateChanges=p.a.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=Object(w.c)(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._disabledChange:Object(g.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(g.a)(),i=this.datepicker?Object(f.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(g.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(f.a)(this._intl.changes,t,e,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(G),a.Mb(a.h),a.Xb("tabindex"))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){var n;1&t&&a.Fb(i,ht,!0),2&t&&a.sc(n=a.ac())&&(e._customIcon=n.first)},viewQuery:function(t,e){var i;1&t&&a.Qc(F,!0),2&t&&a.sc(i=a.ac())&&(e._button=i.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(t,e){1&t&&a.Zb("focus",(function(){return e._button.focus()})),2&t&&(a.Bb("tabindex",e.disabled?null:-1),a.Eb("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"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.yb],ngContentSelectors:B,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["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.jc(H),a.Sb(0,"button",0,1),a.Zb("click",(function(t){return e._open(t)})),a.Hc(2,z,2,0,"svg",2),a.ic(3),a.Rb()),2&t&&(a.kc("disabled",e.disabled)("disableRipple",e.disableRipple),a.Bb("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),a.Ab(2),a.kc("ngIf",!e._customIcon))},directives:[c.b,r.t],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}\n"],encapsulation:2,changeDetection:0}),t})(),pt=(()=>{class t{}return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},providers:[G,it],imports:[[r.c,c.c,l.h,s.f,n.a,o.i],u.c]}),t})()},gcZR:function(t,e,i){"use strict";i.d(e,"a",(function(){return z}));var n=i("EM62"),s=i("cePI"),o=i("FlRo"),r=i("cqs0"),a=i("iAde"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("bFHC"),f=i("Y2X+"),g=i("sEIs"),b=i("TQS+"),m=i("FcRk"),A=i("s2Ay");function y(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",21),n.Sb(1,"mat-checkbox",22),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function v(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function _(t,e){if(1&t&&(n.Sb(0,"td",21),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function S(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function E(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function C(t,e){1&t&&n.Nb(0,"th",19)}function R(t,e){1&t&&(n.Sb(0,"mat-icon",26),n.ec(1,"translate"),n.Jc(2," check_circle_outline "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function T(t,e){1&t&&(n.Sb(0,"mat-icon",26),n.ec(1,"translate"),n.Jc(2," block "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function k(t,e){if(1&t&&(n.Sb(0,"td",24),n.Hc(1,R,3,3,"mat-icon",25),n.Hc(2,T,3,3,"mat-icon",25),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",t.enabled),n.Ab(1),n.kc("ngIf",!t.enabled)}}function I(t,e){1&t&&(n.Sb(0,"th",19),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function O(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.script)}}function D(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function M(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.description)}}function P(t,e){1&t&&n.Nb(0,"tr",27)}const x=function(t){return["/admin/services",t]};function N(t,e){if(1&t&&n.Nb(0,"tr",28),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),n.kc("routerLink",i.disableRouting?null:n.pc(6,x,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.pc(8,x,t.id))}}function L(t,e){1&t&&(n.Sb(0,"app-alert",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function F(t,e){1&t&&(n.Sb(0,"app-alert",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let z=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.services=[],this.filterValue="",this.pageSize=10,this.hideColumns=[],this.selection=new r.c(!0,[]),this.disableRouting=!1,this.page=new n.o,this.displayedColumns=["select","id","name","enabled","script","description"],this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new o.o(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){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-services-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(s.a,!0),n.Dc(a.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",hideColumns:"hideColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:28,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"overflow-auto"],[3,"exportData"],["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,"routerLink","perunWebAppsMiddleClickRouterLink","cursor-pointer","disable-outline",4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"div",2),n.Sb(3,"perun-web-apps-table-options",3),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,y,2,3,"th",6),n.Hc(7,w,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,v,3,3,"th",9),n.Hc(10,_,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,S,3,3,"th",9),n.Hc(13,E,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,C,1,0,"th",6),n.Hc(16,k,3,2,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,I,3,3,"th",6),n.Hc(19,O,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,D,3,3,"th",9),n.Hc(22,M,2,1,"td",11),n.Pb(),n.Hc(23,P,1,0,"tr",15),n.Hc(24,N,1,10,"tr",16),n.Rb(),n.Sb(25,"mat-paginator",17),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Rb(),n.Hc(26,L,3,3,"app-alert",18),n.Hc(27,F,3,3,"app-alert",18)),2&t&&(n.kc("hidden",void 0===e.services||0===e.services.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(19),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&void 0!==e.services&&0!==e.services.length),n.Ab(1),n.kc("ngIf",void 0===e.services||0===e.services.length))},directives:[u.a,o.n,s.a,o.c,o.i,o.b,o.k,o.m,a.a,h.t,o.h,d.a,o.a,s.b,p.a,f.a,o.j,o.l,g.g,b.c,m.a],pipes:[A.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})()},gdiH:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("EM62"),s=i("cqs0"),o=i("iAde"),r=i("cePI"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("sEIs"),f=i("TQS+"),g=i("FcRk"),b=i("s2Ay");function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",16),n.Sb(1,"mat-checkbox",17),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("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.Tb();n.Sb(0,"td",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function y(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_ID")))}function w(t,e){if(1&t&&(n.Sb(0,"td",18),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function v(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_NAME")))}function _(t,e){if(1&t&&(n.Sb(0,"td",21),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.hostname)}}function S(t,e){1&t&&n.Nb(0,"tr",22)}const E=function(t,e){return["/facilities",t,"hosts",e]};function C(t,e){if(1&t&&n.Nb(0,"tr",23),2&t){const t=e.$implicit,i=n.dc();n.kc("routerLink",i.disableRouting?null:n.qc(2,E,i.facilityId,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.qc(5,E,i.facilityId,t.id))}}function R(t,e){1&t&&(n.Sb(0,"app-alert",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function T(t,e){1&t&&(n.Sb(0,"app-alert",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.HOSTS_LIST.NO_HOST_WARNING"),"\n"))}let k=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.hosts=[],this.selection=new s.c(!0,[]),this.pageSize=10,this.disableRouting=!1,this.displayedColumns=["select","id","name"],this.page=new n.o,this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new a.o(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){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-hosts-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{hosts:"hosts",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",facilityId:"facilityId",disableRouting:"disableRouting",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,m,2,3,"th",6),n.Hc(7,A,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",9),n.Hc(10,w,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,v,3,3,"th",9),n.Hc(13,_,2,1,"td",11),n.Pb(),n.Hc(14,S,1,0,"tr",12),n.Hc(15,C,1,8,"tr",13),n.Rb(),n.Rb(),n.Sb(16,"mat-paginator",14),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(17,R,3,3,"app-alert",15),n.Hc(18,T,3,3,"app-alert",15)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.hosts.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(10),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.hosts.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.hosts.length),n.Ab(1),n.kc("ngIf",0===e.hosts.length))},directives:[u.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,o.a,h.t,a.h,d.a,a.a,r.b,a.j,a.l,p.g,f.c,g.a],pipes:[b.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},got8:function(t,e,i){"use strict";i.d(e,"a",(function(){return R}));var n=i("cqs0"),s=i("X2Q7"),o=i("iyZ4"),r=i("h6su"),a=i("Gtvd"),c=i("8clQ"),l=i("Ssnw"),u=(i("HHEo"),i("EM62")),h=i("sEIs"),d=i("OZ4H"),p=i("0XDM"),f=i("2kYt"),g=i("Y2X+"),b=i("PBFl"),m=i("A8Ay"),A=i("csyo"),y=i("23RZ"),w=i("s2Ay");const v=["list"];function _(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",8),u.Zb("click",(function(){return u.xc(t),u.dc().addResource()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function S(t,e){1&t&&u.Nb(0,"mat-spinner",9)}const E=function(){return["select","id","name","facility","tags","description"]};function C(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-resources-list",10,11),u.Zb("page",(function(e){return u.xc(t),u.dc().pageChanged(e)})),u.Rb()}if(2&t){const t=u.dc();u.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("routingVo",!0)("disableRouting",!t.routingAuth)("selection",t.selected)("groupToResource",t.group)("displayedColumns",u.oc(8,E))}}let R=(()=>{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.c(!0,[]),this.filterValue="",this.tableId=o.J,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.getAssignedRichResourcesWithGroup(this.group.id).subscribe(t=>{this.resources=t,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=Object(c.o)();t.width="1000px",t.data={theme:"group-theme",group:this.group,voId:this.voId,unwantedResources:this.resources.map(t=>t.id)},this.dialog.open(r.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeResource(){const t=Object(c.o)();t.width="450px",t.data={theme:"group-theme",resources:this.selected.selected,groupId:this.groupId},this.dialog.open(a.a,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.id="GroupResourcesComponent",t.\u0275fac=function(e){return new(e||t)(u.Mb(s.m),u.Mb(s.h),u.Mb(o.pb),u.Mb(h.a),u.Mb(d.b),u.Mb(l.h))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-group-resources"]],viewQuery:function(t,e){var i;1&t&&u.Qc(v,!0),2&t&&u.sc(i=u.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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","displayedColumns","page",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","displayedColumns","page"],["list",""]],template:function(t,e){1&t&&(u.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"perun-web-apps-refresh-button",1),u.Zb("refresh",(function(){return e.refreshTable()})),u.Rb(),u.Hc(5,_,3,3,"button",2),u.Sb(6,"span",3),u.ec(7,"translate"),u.Sb(8,"button",4),u.Zb("click",(function(){return e.removeResource()})),u.Jc(9),u.ec(10,"translate"),u.Rb(),u.Rb(),u.Sb(11,"perun-web-apps-immediate-filter",5),u.Zb("filter",(function(t){return e.applyFilter(t)})),u.Rb(),u.Hc(12,S,1,0,"mat-spinner",6),u.Hc(13,C,2,9,"perun-web-apps-resources-list",7),u.Rb()),2&t&&(u.Ab(2),u.Kc(u.fc(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),u.Ab(3),u.kc("ngIf",e.addAuth),u.Ab(1),u.lc("matTooltip",u.fc(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),u.kc("matTooltipDisabled",0===e.selected.selected.length||void 0!==e.list&&e.list.removeAuth),u.Ab(2),u.kc("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),u.Ab(1),u.Lc(" ",u.fc(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),u.Ab(2),u.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",e.resources&&!e.loading))},directives:[p.a,f.t,g.a,b.b,m.a,A.c,y.a],pipes:[w.d],styles:[""]}),t})()},gpj7:function(t,e,i){"use strict";i.d(e,"a",(function(){return R}));var n=i("X2Q7"),s=i("Ssnw"),o=i("+MEm"),r=i("8clQ"),a=i("EM62"),c=i("OZ4H"),l=i("s2Ay"),u=i("e4iD"),h=i("2kYt"),d=i("PBFl"),p=i("bFHC"),f=i("sEIs"),g=i("Y2X+"),b=i("f3iV"),m=i("Jb3d");function A(t,e){1&t&&(a.Sb(0,"div",15),a.Sb(1,"span",16),a.Jc(2," ~ \u{1f5f2}\xa0 "),a.Rb(),a.Sb(3,"span",17),a.Jc(4," DEVEL "),a.Rb(),a.Sb(5,"span",16),a.Jc(6," \xa0\u{1f5f2} ~ "),a.Rb(),a.Rb())}function y(t,e){if(1&t){const t=a.Tb();a.Sb(0,"button",18),a.Zb("click",(function(){return a.xc(t),a.dc().reloadRoles()})),a.Jc(1),a.ec(2,"translate"),a.Rb()}2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"NAV.RELOAD_ROLES")," "))}function w(t,e){if(1&t){const t=a.Tb();a.Sb(0,"button",18),a.Zb("click",(function(){return a.xc(t),a.dc().onLogOut()})),a.Jc(1),a.ec(2,"translate"),a.Rb()}2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"NAV.LOGOUT")))}const v=function(t){return{color:t}},_=function(){return["/"]},S=function(t){return{padding:t}},E=function(){return{height:"56px"}},C=function(){return["/myProfile"]};let R=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){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.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}ngAfterViewInit(){}ngOnInit(){this.isDevel=this.storeService.get("isDevel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.store.get("logo")),this.logoutEnabled=this.storeService.get("log_out_enabled")}onLogOut(){this.authService.logout()}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const t=Object(r.o)();t.width="520px",this.dialog.open(o.a,t)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}reloadRoles(){this.authzResolverService.loadAuthorizationComponents().subscribe(()=>this.notificator.showSuccess(this.translateService.instant("NAV.RELOAD_ROLES_SUCCESS")))}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(s.m),a.Mb(s.d),a.Mb(n.d),a.Mb(c.b),a.Mb(s.l),a.Mb(l.e),a.Mb(s.m),a.Mb(u.b),a.Mb(s.k))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:25,vars:43,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"],["mat-button","",3,"matMenuTriggerFor"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"routerLink"],["mat-menu-item","",3,"click",4,"ngIf"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"],["mat-menu-item","",3,"click"]],template:function(t,e){if(1&t&&(a.Sb(0,"div",0),a.Sb(1,"button",1),a.Zb("click",(function(){return e.sideNav.toggle()})),a.Sb(2,"mat-icon",2),a.Jc(3," menu "),a.Rb(),a.Rb(),a.Sb(4,"a",3),a.Nb(5,"div",4,5),a.Rb(),a.Rb(),a.Hc(7,A,7,0,"div",6),a.Sb(8,"div",7),a.Sb(9,"button",8),a.Zb("click",(function(){return e.showNotificationHistory()})),a.ec(10,"translate"),a.Sb(11,"mat-icon",9),a.Jc(12),a.Rb(),a.Rb(),a.Sb(13,"button",10),a.Sb(14,"mat-icon",2),a.Jc(15," person "),a.Rb(),a.Sb(16,"span",11),a.Jc(17),a.Rb(),a.Rb(),a.Sb(18,"mat-menu",null,12),a.Sb(20,"button",13),a.Jc(21),a.ec(22,"translate"),a.Rb(),a.Hc(23,y,3,3,"button",14),a.Hc(24,w,3,3,"button",14),a.Rb(),a.Rb()),2&t){const t=a.tc(19);a.kc("ngStyle",a.pc(28,v,e.navTextColor)),a.Ab(2),a.kc("ngStyle",a.pc(30,v,e.iconColor)),a.Ab(2),a.kc("routerLink",a.oc(32,_))("ngStyle",a.pc(33,S,e.logoPadding)),a.Ab(1),a.kc("innerHTML",e.logo,a.yc)("ngStyle",a.oc(35,E)),a.Ab(2),a.kc("ngIf",e.isDevel),a.Ab(1),a.kc("ngStyle",a.pc(36,v,e.navTextColor)),a.Ab(1),a.kc("matTooltip",a.fc(10,24,"NAV.NOTIFICATIONS_TOOLTIP")),a.Ab(2),a.lc("matBadge",e.getNewNotificationsCount()>5?"5+":e.getNewNotificationsCount()),a.kc("ngStyle",a.pc(38,v,e.iconColor))("matBadgeHidden",0===e.getNewNotificationsCount()),a.Ab(1),a.Lc(" ",e.getNewNotificationsCount()?"notifications_active":"notifications"," "),a.Ab(1),a.kc("matMenuTriggerFor",t),a.Ab(1),a.kc("ngStyle",a.pc(40,v,e.iconColor)),a.Ab(3),a.Pc(" ",e.principal.user.titleBefore," ",e.principal.user.firstName," ",e.principal.user.middleName," ",e.principal.user.lastName," ",e.principal.user.titleAfter," "),a.Ab(3),a.kc("routerLink",a.oc(42,C)),a.Ab(1),a.Kc(a.fc(22,26,"NAV.PROFILE")),a.Ab(2),a.kc("ngIf",e.authzResolverService.isPerunAdmin()),a.Ab(1),a.kc("ngIf",e.logoutEnabled)}},directives:[h.w,d.b,p.a,f.i,h.t,g.a,b.a,m.d,m.e,m.b,f.g],pipes:[l.d],styles:["#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}#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:270px}.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})()},h1El:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("8clQ"),a=i("nIj0"),c=i("EM62"),l=i("s2Ay"),u=i("29Wa"),h=i("Cd2c"),d=i("R7+U"),p=i("2kYt"),f=i("PBFl"),g=i("mFH5"),b=i("1Gb8"),m=i("g3Wv");function A(t,e){if(1&t&&(c.Sb(0,"mat-option",9),c.Jc(1),c.ec(2,"applicationFormItemType"),c.Rb()),2&t){const t=e.$implicit;c.kc("value",t),c.Ab(1),c.Lc(" ",c.fc(2,2,t)," ")}}function y(t,e){if(1&t&&(c.Sb(0,"mat-option",9),c.Jc(1),c.Rb()),2&t){const t=e.$implicit;c.kc("value",t),c.Ab(1),c.Lc(" ",t," ")}}let w=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.translateService=i,this.notificationService=n,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.g("",[a.F.required,a.F.pattern(".*[\\S]+.*"),a.F.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(t);for(const e of this.data.applicationFormItems)this.items.push(e.shortname),e.type===o.p.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(t=>t!==o.p.EMBEDDEDGROUPAPPLICATION));this.selectedItem=t})}cancel(){this.dialogRef.close(!1)}submit(){const t=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,t])}createApplicationItem(){const t=Object(r.d)();t.id=this.data.fakeId,t.shortname=this.nameCtrl.value,t.type=this.selectedWidget;for(let e=0;e{class t{transform(t){const e=t.split(":");return e[e.length-1]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"parseGroupName",type:t,pure:!0}),t})()},h39k:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),s=i("EtYo"),o=i("s2Ay");let r=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"div",0),n.Nb(1,"perun-web-apps-back-button"),n.Sb(2,"h1",1),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Rb()),2&t&&(n.Ab(3),n.Kc(n.fc(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[s.a],pipes:[o.d],styles:[""]}),t})()},h6su:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("cqs0"),a=(i("HHEo"),i("EM62")),c=i("s2Ay"),l=i("A8Ay"),u=i("2kYt"),h=i("csyo"),d=i("23RZ"),p=i("PBFl"),f=i("Y2X+");const g=["list"];function b(t,e){1&t&&a.Nb(0,"mat-spinner",4)}const m=function(){return["select","id","name","facility","tags","description"]};function A(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"div",5),a.Nb(2,"perun-web-apps-resources-list",6,7),a.Rb(),a.Sb(4,"div",8),a.Sb(5,"button",9),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(6),a.ec(7,"translate"),a.Rb(),a.Sb(8,"span",10),a.ec(9,"translate"),a.Sb(10,"button",11),a.Zb("click",(function(){return a.xc(t),a.dc().onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.tc(3),e=a.dc();a.Ab(2),a.kc("resources",e.resources)("disableRouting",!0)("selection",e.selection)("groupToResource",e.data.group)("displayedColumns",a.oc(17,m))("filterValue",e.filterValue),a.Ab(4),a.Lc(" ",a.fc(7,11,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),a.Ab(2),a.lc("matTooltip",a.fc(9,13,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),a.kc("matTooltipDisabled",void 0===t||t.addAuth),a.Ab(2),a.kc("disabled",0===e.selection.selected.length||e.loading||void 0!==t&&!t.addAuth),a.Ab(1),a.Lc(" ",a.fc(12,15,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}let y=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourcesManager=s,this.filterValue="",this.resources=[],this.selection=new r.c(!0,[]),this.theme=""}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).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)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.l),a.Mb(c.e),a.Mb(o.m))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(t,e){var i;1&t&&a.Qc(g,!0),2&t&&a.sc(i=a.ac())&&(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",""],["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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"perun-web-apps-immediate-filter",1),a.Zb("filter",(function(t){return e.applyFilter(t)})),a.ec(5,"translate"),a.Rb(),a.Hc(6,b,1,0,"mat-spinner",2),a.Hc(7,A,13,18,"div",3),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),a.Ab(2),a.kc("placeholder",a.fc(5,9,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,l.a,u.t,h.c,n.g,d.a,n.c,p.b,f.a],pipes:[c.d],styles:[""]}),t})()},h7zu:function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("iyZ4"),a=i("cqs0"),c=i("nyAh"),l=i("nIj0"),u=i("EM62"),h=i("s2Ay"),d=i("29Wa"),p=i("Cd2c"),f=i("PBFl"),g=i("bFHC"),b=i("2kYt"),m=i("NC8S"),A=i("FcRk"),y=i("csyo");function w(t,e){if(1&t){const t=u.Tb();u.Sb(0,"app-users-list",14),u.Zb("page",(function(e){return u.xc(t),u.dc(2).pageChanged(e)})),u.Rb()}if(2&t){const t=u.dc(2);u.kc("pageSize",t.pageSize)("displayedColumns",t.displayedColumns)("users",t.identities)("disableRouting",!0)("selection",t.selection)}}function v(t,e){if(1&t&&(u.Sb(0,"div"),u.Hc(1,w,1,5,"app-users-list",13),u.Rb()),2&t){const t=u.dc();u.Ab(1),u.kc("ngIf",void 0!==t.identities&&t.identities.length>0)}}function _(t,e){1&t&&(u.Sb(0,"app-alert",15),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.kc("alert_type","info"),u.Ab(1),u.Lc(" ",u.fc(2,2,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function S(t,e){1&t&&(u.Sb(0,"app-alert",16),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function E(t,e){1&t&&u.Nb(0,"mat-spinner",17)}let C=(()=>{class t{constructor(t,e,i,n,s,o,c){this.dialogRef=t,this.data=e,this.tableConfigService=i,this.userManager=n,this.storeService=s,this.notificator=o,this.translate=c,this.loading=!1,this.selection=new a.c(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=r.fb}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.g("",[l.F.required,l.F.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=[c.a.USER_DEF_ORGANIZATION,c.a.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)(u.Mb(n.i),u.Mb(n.a),u.Mb(r.pb),u.Mb(s.q),u.Mb(o.m),u.Mb(o.l),u.Mb(h.e))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-connect-identity"]],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&&(u.Sb(0,"div",0),u.Zb("keyup",(function(t){return e.onKeyInput(t)})),u.Sb(1,"h1",1),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"div",2),u.Sb(5,"mat-form-field",3),u.Sb(6,"label"),u.Nb(7,"input",4),u.ec(8,"translate"),u.Rb(),u.Sb(9,"mat-error"),u.Jc(10),u.ec(11,"translate"),u.Rb(),u.Rb(),u.Sb(12,"button",5),u.Zb("click",(function(){return e.onSearchByString()})),u.Sb(13,"mat-icon"),u.Jc(14,"search"),u.Rb(),u.Rb(),u.Hc(15,v,2,1,"div",6),u.Hc(16,_,3,4,"app-alert",7),u.Hc(17,S,3,3,"app-alert",8),u.Rb(),u.Hc(18,E,1,0,"mat-spinner",9),u.Sb(19,"div",10),u.Sb(20,"button",11),u.Zb("click",(function(){return e.onCancel()})),u.Jc(21),u.ec(22,"translate"),u.Rb(),u.Sb(23,"button",12),u.Zb("click",(function(){return e.onAdd()})),u.Jc(24),u.ec(25,"translate"),u.Rb(),u.Rb(),u.Rb()),2&t&&(u.Cb(e.theme),u.Ab(2),u.Kc(u.fc(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE")),u.Ab(5),u.lc("placeholder",u.fc(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),u.kc("formControl",e.searchCtrl),u.Ab(3),u.Lc(" ",u.fc(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),u.Ab(2),u.kc("disabled",e.loading),u.Ab(3),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",!e.firstSearchDone),u.Ab(1),u.kc("ngIf",!e.loading&&e.firstSearchDone&&0===e.identities.length),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(3),u.Lc(" ",u.fc(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),u.Ab(2),u.kc("disabled",0===e.selection.selected.length),u.Ab(1),u.Lc(" ",u.fc(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[n.j,n.g,d.c,p.b,l.c,l.r,l.h,d.b,f.b,g.a,b.t,n.c,m.a,A.a,y.c],pipes:[h.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),t})()},hLiN:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");let o=(()=>{class t{transform(t,e){return Object(n.G)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"userVo",type:t,pure:!0}),t})()},hQLc:function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("X2Q7"),s=i("iyZ4"),o=i("cqs0"),r=i("8clQ"),a=i("c9OP"),c=i("6mVK"),l=i("Ssnw"),u=(i("HHEo"),i("EM62")),h=i("sEIs"),d=i("OZ4H"),p=i("2kYt"),f=i("0XDM"),g=i("PBFl"),b=i("Y2X+"),m=i("A8Ay"),A=i("csyo"),y=i("K9kF"),w=i("s2Ay");const v=["list"];function _(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-refresh-button",7),u.Zb("refresh",(function(){return u.xc(t),u.dc().refreshTable()})),u.Rb()}}function S(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",8),u.Zb("click",(function(){return u.xc(t),u.dc().addGroup()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function E(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",11),u.Zb("click",(function(){return u.xc(t),u.dc(2).removeGroup()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}if(2&t){const t=u.dc(2);u.kc("disabled",0===t.selection.selected.length||void 0!==t.list&&!t.list.removeAuth),u.Ab(1),u.Lc(" ",u.fc(2,2,"MEMBER_DETAIL.GROUPS.REMOVE")," ")}}function C(t,e){if(1&t&&(u.Sb(0,"span",9),u.ec(1,"translate"),u.Hc(2,E,3,4,"button",10),u.Rb()),2&t){const t=u.dc();u.lc("matTooltip",u.fc(1,3,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),u.kc("matTooltipDisabled",void 0===t.list||void 0!==t.list&&t.list.removeAuth),u.Ab(2),u.kc("ngIf",!t.loading)}}function R(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-immediate-filter",12),u.Zb("filter",(function(e){return u.xc(t),u.dc().applyFilter(e)})),u.Rb()}2&t&&u.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH")}function T(t,e){1&t&&u.Nb(0,"mat-spinner",13)}const k=function(){return["vo","menu","recent"]};function I(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-groups-list",14,15),u.Zb("page",(function(e){return u.xc(t),u.dc().pageChanged(e)}))("refreshTable",(function(){return u.xc(t),u.dc().refreshTable()})),u.Rb()}if(2&t){const t=u.dc();u.kc("pageSize",t.pageSize)("groups",t.groups)("hideColumns",u.oc(8,k))("selection",t.selection)("filter",t.filterValue)("memberId",t.memberId)("disableRouting",!t.routeAuth)("authType","member-groups")}}let O=(()=>{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.P,this.selection=new o.c(!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=Object(r.o)();t.width="850px",t.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(t=>t.id)),theme:"member-theme"},this.dialog.open(a.a,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeGroup(){const t=Object(r.o)();t.width="650px",t.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(c.a,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.Mb(n.h),u.Mb(s.pb),u.Mb(h.a),u.Mb(d.b),u.Mb(l.h),u.Mb(n.i))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-member-groups"]],viewQuery:function(t,e){var i;1&t&&u.Qc(v,!0),2&t&&u.sc(i=u.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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","hideColumns","selection","filter","memberId","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","hideColumns","selection","filter","memberId","disableRouting","authType","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(u.Sb(0,"h1",0),u.Jc(1),u.ec(2,"translate"),u.Rb(),u.Hc(3,_,1,0,"perun-web-apps-refresh-button",1),u.Hc(4,S,3,3,"button",2),u.Hc(5,C,3,5,"span",3),u.Hc(6,R,1,1,"perun-web-apps-immediate-filter",4),u.Hc(7,T,1,0,"mat-spinner",5),u.Hc(8,I,2,9,"perun-web-apps-groups-list",6)),2&t&&(u.Ab(1),u.Kc(u.fc(2,7,"MEMBER_DETAIL.GROUPS.TITLE")),u.Ab(2),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",!e.loading&&e.addAuth),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading))},directives:[p.t,f.a,g.b,b.a,m.a,A.c,y.a],pipes:[w.d],styles:[""]}),t})()},hiWg:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("OZ4H"),s=i("nIj0"),o=i("X2Q7"),r=i("Ssnw"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("29Wa"),p=i("Cd2c"),f=i("R7+U"),g=i("mFH5");function b(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function m(t,e){1&t&&(a.Sb(0,"div",15),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function A(t,e){1&t&&(a.Sb(0,"div",15),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function y(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function w(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function v(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",7),a.Hc(1,m,3,3,"div",8),a.Hc(2,A,3,3,"div",8),a.Sb(3,"mat-form-field",9),a.Nb(4,"input",10),a.ec(5,"translate"),a.Hc(6,y,3,3,"mat-error",11),a.Rb(),a.Sb(7,"mat-form-field",9),a.Nb(8,"textarea",10),a.ec(9,"translate"),a.Hc(10,w,3,3,"mat-error",11),a.Rb(),a.Sb(11,"mat-form-field",9),a.Sb(12,"mat-label"),a.Jc(13),a.ec(14,"translate"),a.Rb(),a.Sb(15,"mat-select",12),a.Zb("valueChange",(function(e){return a.xc(t),a.dc().language=e})),a.Sb(16,"mat-option",13),a.Jc(17),a.ec(18,"translate"),a.Rb(),a.Sb(19,"mat-option",14),a.Jc(20),a.ec(21,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(1),a.kc("ngIf",!t.data.groupId),a.Ab(1),a.kc("ngIf",t.data.groupId),a.Ab(2),a.lc("placeholder",a.fc(5,12,"DIALOGS.INVITE_MEMBER.NAME")),a.kc("formControl",t.name),a.Ab(2),a.kc("ngIf",t.name.invalid),a.Ab(2),a.lc("placeholder",a.fc(9,14,"DIALOGS.INVITE_MEMBER.EMAIL")),a.kc("formControl",t.emailForm),a.Ab(2),a.kc("ngIf",t.emailForm.invalid),a.Ab(3),a.Kc(a.fc(14,16,"DIALOGS.INVITE_MEMBER.LANGUAGE")),a.Ab(2),a.kc("value",t.language),a.Ab(2),a.Kc(a.fc(18,18,"DIALOGS.INVITE_MEMBER.LANGUAGE_ENGLISH")),a.Ab(3),a.Kc(a.fc(21,20,"DIALOGS.INVITE_MEMBER.LANGUAGE_CZECH"))}}let _=(()=>{class t{constructor(t,e,i,n,o){this.dialogRef=t,this.data=e,this.registrarManager=i,this.notificator=n,this.translate=o,this.emailForm=new s.g("",[s.F.required,s.F.email]),this.language="en",this.name=new s.g("",s.F.required),this.loading=!1}ngOnInit(){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.language,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.language,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.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(r.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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"],["value","en"],["value","cs"],[1,"font-italic"]],template:function(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,b,1,0,"mat-spinner",1),a.Hc(5,v,22,22,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),a.Ab(2),a.kc("disabled",e.emailForm.invalid||e.name.invalid||e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,d.c,p.b,s.c,s.C,s.r,s.h,d.g,f.a,g.n,d.b],pipes:[c.d],styles:[""]}),t})()},hilf:function(t,e,i){"use strict";i.d(e,"a",(function(){return P}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("TkCa"),a=i("Iydx"),c=i("iyZ4"),l=i("EM62"),u=i("s2Ay"),h=i("HHFY"),d=i("2kYt"),p=i("PBFl"),f=i("Y2X+"),g=i("csyo"),b=i("29Wa"),m=i("Cd2c"),A=i("nIj0"),y=i("H0K4"),w=i("k8N0"),v=i("+Tre"),_=i("gcZR"),S=i("aFDG");const E=["copiedTooltip"];function C(t,e){1&t&&l.Nb(0,"mat-spinner",12)}function R(t,e){1&t&&(l.Sb(0,"mat-error"),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function T(t,e){1&t&&(l.Sb(0,"mat-error"),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}const k=function(){return["select","description"]};function I(t,e){if(1&t){const t=l.Tb();l.Sb(0,"div",13),l.Sb(1,"mat-form-field",3),l.Sb(2,"label"),l.Sb(3,"input",14),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).attDef.displayName=e})),l.ec(4,"translate"),l.Rb(),l.Rb(),l.Hc(5,R,3,3,"mat-error",2),l.Rb(),l.Nb(6,"br"),l.Sb(7,"mat-form-field",3),l.Sb(8,"label"),l.Sb(9,"textarea",15),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).attDef.description=e})),l.ec(10,"translate"),l.Jc(11," "),l.Rb(),l.Rb(),l.Hc(12,T,3,3,"mat-error",2),l.Rb(),l.Nb(13,"br"),l.Sb(14,"div",16),l.Sb(15,"p"),l.Jc(16),l.ec(17,"translate"),l.Rb(),l.Sb(18,"p",17),l.Zb("click",(function(){return l.xc(t),l.dc(2).attDef.unique=!1})),l.Jc(19,"OFF"),l.Rb(),l.Sb(20,"mat-slide-toggle",18),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).attDef.unique=e})),l.ec(21,"translate"),l.Jc(22," ON "),l.Rb(),l.Rb(),l.Sb(23,"div",19),l.Sb(24,"p",20),l.Jc(25),l.ec(26,"translate"),l.Rb(),l.Sb(27,"p",21),l.Jc(28),l.ec(29,"translate"),l.Rb(),l.Rb(),l.Sb(30,"div",22),l.Sb(31,"p",23),l.Jc(32),l.ec(33,"translate"),l.Rb(),l.Sb(34,"mat-checkbox",24),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).readSelf=e})),l.Rb(),l.Sb(35,"mat-checkbox",25),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).writeSelf=e})),l.Rb(),l.Rb(),l.Sb(36,"div",22),l.Sb(37,"p",23),l.Jc(38),l.ec(39,"translate"),l.Rb(),l.Sb(40,"mat-checkbox",26),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).readSelfPublic=e})),l.Rb(),l.Sb(41,"mat-checkbox",25),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).writeSelfPublic=e})),l.Rb(),l.Rb(),l.Sb(42,"div",22),l.Sb(43,"p",23),l.Jc(44),l.ec(45,"translate"),l.Rb(),l.Sb(46,"mat-checkbox",27),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).readSelfVo=e})),l.Rb(),l.Sb(47,"mat-checkbox",25),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).writeSelfVo=e})),l.Rb(),l.Rb(),l.Sb(48,"div",22),l.Sb(49,"p",23),l.Jc(50),l.ec(51,"translate"),l.Rb(),l.Sb(52,"mat-checkbox",28),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).readVo=e})),l.Rb(),l.Sb(53,"mat-checkbox",25),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).writeVo=e})),l.Rb(),l.Rb(),l.Sb(54,"div",22),l.Sb(55,"p",23),l.Jc(56),l.ec(57,"translate"),l.Rb(),l.Sb(58,"mat-checkbox",29),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).readGroup=e})),l.Rb(),l.Sb(59,"mat-checkbox",25),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).writeGroup=e})),l.Rb(),l.Rb(),l.Sb(60,"div",22),l.Sb(61,"p",23),l.Jc(62),l.ec(63,"translate"),l.Rb(),l.Sb(64,"mat-checkbox",27),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).readFacility=e})),l.Rb(),l.Sb(65,"mat-checkbox",25),l.Zb("ngModelChange",(function(e){return l.xc(t),l.dc(2).writeFacility=e})),l.Rb(),l.Rb(),l.Sb(66,"div",30),l.Sb(67,"p"),l.Jc(68),l.ec(69,"translate"),l.Rb(),l.Nb(70,"app-services-list",31),l.Rb(),l.Rb()}if(2&t){const t=l.dc(2);l.Ab(3),l.lc("placeholder",l.fc(4,35,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),l.kc("ngModel",t.attDef.displayName),l.Ab(2),l.kc("ngIf",""===t.attDef.displayName),l.Ab(4),l.lc("placeholder",l.fc(10,37,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DESCRIPTION")),l.kc("ngModel",t.attDef.description),l.Ab(3),l.kc("ngIf",""===t.attDef.description),l.Ab(4),l.Kc(l.fc(17,39,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.UNIQUE")),l.Ab(4),l.lc("matTooltip",l.fc(21,41,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),l.kc("matTooltipDisabled",!t.disableUniqueToggle())("disabled",t.disableUniqueToggle())("ngModel",t.attDef.unique),l.Ab(5),l.Kc(l.fc(26,43,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),l.Ab(3),l.Kc(l.fc(29,45,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),l.Ab(4),l.Kc(l.fc(33,47,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),l.Ab(2),l.kc("ngModel",t.readSelf),l.Ab(1),l.kc("ngModel",t.writeSelf),l.Ab(3),l.Kc(l.fc(39,49,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),l.Ab(2),l.kc("ngModel",t.readSelfPublic),l.Ab(1),l.kc("ngModel",t.writeSelfPublic),l.Ab(3),l.Kc(l.fc(45,51,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),l.Ab(2),l.kc("ngModel",t.readSelfVo),l.Ab(1),l.kc("ngModel",t.writeSelfVo),l.Ab(3),l.Kc(l.fc(51,53,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),l.Ab(2),l.kc("ngModel",t.readVo),l.Ab(1),l.kc("ngModel",t.writeVo),l.Ab(3),l.Kc(l.fc(57,55,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),l.Ab(2),l.kc("ngModel",t.readGroup),l.Ab(1),l.kc("ngModel",t.writeGroup),l.Ab(3),l.Kc(l.fc(63,57,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),l.Ab(2),l.kc("ngModel",t.readFacility),l.Ab(1),l.kc("ngModel",t.writeFacility),l.Ab(3),l.Kc(l.fc(69,59,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SERVICES")),l.Ab(2),l.kc("services",t.services)("hideColumns",l.oc(61,k))("disableRouting",!0)}}function O(t,e){if(1&t){const t=l.Tb();l.Sb(0,"button",32),l.Zb("click",(function(){return l.xc(t),l.dc(2).switchShowKeys()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SHOW_KEYS")," "))}function D(t,e){if(1&t){const t=l.Tb();l.Sb(0,"div"),l.Sb(1,"div",3),l.Sb(2,"h1",4),l.Jc(3),l.Rb(),l.Hc(4,C,1,0,"mat-spinner",5),l.Hc(5,I,71,62,"div",6),l.Sb(6,"div",7),l.Hc(7,O,3,3,"button",8),l.Sb(8,"button",9),l.Zb("click",(function(){return l.xc(t),l.dc().onCopy()})),l.Jc(9),l.ec(10,"translate"),l.Rb(),l.Sb(11,"button",10),l.Zb("click",(function(){return l.xc(t),l.dc().onCancel()})),l.Jc(12),l.ec(13,"translate"),l.Rb(),l.Sb(14,"button",11),l.Zb("click",(function(){return l.xc(t),l.dc().onSubmit()})),l.ec(15,"translate"),l.Jc(16),l.ec(17,"translate"),l.Rb(),l.Rb(),l.Rb(),l.Rb()}if(2&t){const t=l.dc();l.Ab(3),l.Kc(t.attDef.namespace+":"+t.attDef.friendlyName),l.Ab(1),l.kc("ngIf",t.loading),l.Ab(1),l.kc("ngIf",!t.loading),l.Ab(2),l.kc("ngIf","entityless"===t.attDef.entity),l.Ab(2),l.Lc(" ",l.fc(10,10,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FOR_IMPORT")," "),l.Ab(3),l.Lc(" ",l.fc(13,12,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CANCEL")," "),l.Ab(2),l.lc("matTooltip",l.fc(15,14,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),l.kc("disabled",t.disableConfirmButton()||t.loading)("matTooltipDisabled",!t.disableConfirmButton()),l.Ab(2),l.Lc(" ",l.fc(17,16,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CONFIRM")," ")}}function M(t,e){if(1&t){const t=l.Tb();l.Sb(0,"div"),l.Sb(1,"app-entityless-attribute-keys-list",33),l.Zb("page",(function(e){return l.xc(t),l.dc().pageChanged(e)}))("switchView",(function(){return l.xc(t),l.dc().switchShowKeys()})),l.Rb(),l.Rb()}if(2&t){const t=l.dc();l.Ab(1),l.kc("pageSize",t.pageSize)("attDef",t.attDef)}}let P=(()=>{class t{constructor(t,e,i,n,s,o,r,a,l){this.dialog=t,this.dialogRef=e,this.data=i,this.notificator=n,this.translate=s,this.clipboard=o,this.attributesManager=r,this.tableConfigService=a,this.serviceService=l,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=c.t,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=a.a.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 i={};i.attributeId=this.attDef.id,i.role=a.a.VOADMIN,i.rights=[],this.readVo&&i.rights.push("READ"),this.writeVo&&i.rights.push("WRITE"),t.push(i);const n={};n.attributeId=this.attDef.id,n.role=a.a.GROUPADMIN,n.rights=[],this.readGroup&&n.rights.push(o.a.READ),this.writeGroup&&n.rights.push("WRITE"),t.push(n);const s={};return s.attributeId=this.attDef.id,s.role=a.a.FACILITYADMIN,s.rights=[],this.readFacility&&s.rights.push("READ"),this.writeFacility&&s.rights.push("WRITE"),t.push(s),t}fromRightsToCheckboxes(t){for(const e of t)switch(e.role){case a.a.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 a.a.GROUPADMIN:e.rights.includes("READ")&&(this.readGroup=!0),e.rights.includes("WRITE")&&(this.writeGroup=!0);break;case a.a.FACILITYADMIN:e.rights.includes("READ")&&(this.readFacility=!0),e.rights.includes("WRITE")&&(this.writeFacility=!0);break;case a.a.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)(l.Mb(n.b),l.Mb(n.i),l.Mb(n.a),l.Mb(s.l),l.Mb(u.e),l.Mb(h.b),l.Mb(o.c),l.Mb(c.pb),l.Mb(o.n))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-edit-attribute-definition-dialog"]],viewQuery:function(t,e){var i;1&t&&l.Qc(E,!0),2&t&&l.sc(i=l.ac())&&(e.copiedToolTip=i.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","hideColumns","disableRouting"],["mat-flat-button","",1,"ml-0",3,"click"],[3,"pageSize","attDef","page","switchView"]],template:function(t,e){1&t&&(l.Sb(0,"div",0),l.Sb(1,"div",1),l.Hc(2,D,18,18,"div",2),l.Hc(3,M,2,2,"div",2),l.Rb(),l.Rb()),2&t&&(l.Ab(2),l.kc("ngIf",!e.showKeys),l.Ab(1),l.kc("ngIf",e.showKeys))},directives:[d.t,n.j,n.c,p.b,f.a,g.c,n.g,b.c,m.b,A.c,A.C,A.r,A.u,y.c,w.a,v.a,_.a,b.b,S.a],pipes:[u.d],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:[r.g,r.e,r.f]}}),t})()},"i9P/":function(t,e,i){"use strict";function n(t){setTimeout(()=>{throw t},0)}i.d(e,"a",(function(){return n}))},i9xl:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("IdLP"),s=i("GoAz"),o=i("6Oco");function r(t){return new n.a(e=>{let i;try{i=t()}catch(n){return void e.error(n)}return(i?Object(s.a)(i):Object(o.b)()).subscribe(e)})}},iAde:function(t,e,i){"use strict";i.d(e,"a",(function(){return S})),i.d(e,"b",(function(){return E}));var n=i("2kYt"),s=i("EM62"),o=i("PBFl"),r=i("R7+U"),a=i("Y2X+"),c=i("5XID"),l=i("ZTXN"),u=i("mFH5"),h=i("29Wa");function d(t,e){if(1&t&&(s.Sb(0,"mat-option",19),s.Jc(1),s.Rb()),2&t){const t=e.$implicit;s.kc("value",t),s.Ab(1),s.Lc(" ",t," ")}}function p(t,e){if(1&t){const t=s.Tb();s.Sb(0,"mat-form-field",16),s.Sb(1,"mat-select",17),s.Zb("selectionChange",(function(e){return s.xc(t),s.dc(2)._changePageSize(e.value)})),s.Hc(2,d,2,2,"mat-option",18),s.Rb(),s.Rb()}if(2&t){const t=s.dc(2);s.kc("color",t.color),s.Ab(1),s.kc("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),s.Ab(1),s.kc("ngForOf",t._displayedPageSizeOptions)}}function f(t,e){if(1&t&&(s.Sb(0,"div",20),s.Jc(1),s.Rb()),2&t){const t=s.dc(2);s.Ab(1),s.Kc(t.pageSize)}}function g(t,e){if(1&t&&(s.Sb(0,"div",12),s.Sb(1,"div",13),s.Jc(2),s.Rb(),s.Hc(3,p,3,5,"mat-form-field",14),s.Hc(4,f,2,1,"div",15),s.Rb()),2&t){const t=s.dc();s.Ab(2),s.Lc(" ",t._intl.itemsPerPageLabel," "),s.Ab(1),s.kc("ngIf",t._displayedPageSizeOptions.length>1),s.Ab(1),s.kc("ngIf",t._displayedPageSizeOptions.length<=1)}}function b(t,e){if(1&t){const t=s.Tb();s.Sb(0,"button",21),s.Zb("click",(function(){return s.xc(t),s.dc().firstPage()})),s.cc(),s.Sb(1,"svg",7),s.Nb(2,"path",22),s.Rb(),s.Rb()}if(2&t){const t=s.dc();s.kc("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),s.Bb("aria-label",t._intl.firstPageLabel)}}function m(t,e){if(1&t){const t=s.Tb();s.cc(),s.bc(),s.Sb(0,"button",23),s.Zb("click",(function(){return s.xc(t),s.dc().lastPage()})),s.cc(),s.Sb(1,"svg",7),s.Nb(2,"path",24),s.Rb(),s.Rb()}if(2&t){const t=s.dc();s.kc("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),s.Bb("aria-label",t._intl.lastPageLabel)}}let A=(()=>{class t{constructor(){this.changes=new l.a,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=Object(s.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const y={provide:A,deps:[[new s.B,new s.K,A]],useFactory:function(t){return t||new A}},w=new s.r("MAT_PAGINATOR_DEFAULT_OPTIONS");class v{}const _=Object(u.A)(Object(u.C)(v));let S=(()=>{class t extends _{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.o,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(Object(c.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(c.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(c.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(c.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(c.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(c.c)(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.Mb(A),s.Mb(s.h),s.Mb(w,8))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[s.xb],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,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"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.Sb(0,"div",0),s.Sb(1,"div",1),s.Hc(2,g,5,3,"div",2),s.Sb(3,"div",3),s.Sb(4,"div",4),s.Jc(5),s.Rb(),s.Hc(6,b,3,5,"button",5),s.Sb(7,"button",6),s.Zb("click",(function(){return e.previousPage()})),s.cc(),s.Sb(8,"svg",7),s.Nb(9,"path",8),s.Rb(),s.Rb(),s.bc(),s.Sb(10,"button",9),s.Zb("click",(function(){return e.nextPage()})),s.cc(),s.Sb(11,"svg",7),s.Nb(12,"path",10),s.Rb(),s.Rb(),s.Hc(13,m,3,5,"button",11),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(2),s.kc("ngIf",!e.hidePageSize),s.Ab(3),s.Lc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),s.Ab(1),s.kc("ngIf",e.showFirstLastButtons),s.Ab(1),s.kc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),s.Bb("aria-label",e._intl.previousPageLabel),s.Ab(3),s.kc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),s.Bb("aria-label",e._intl.nextPageLabel),s.Ab(3),s.kc("ngIf",e.showFirstLastButtons))},directives:[n.t,o.b,a.a,h.c,r.a,n.s,u.n],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;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.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[y],imports:[[n.c,o.c,r.b,a.b]]}),t})()},iD4z:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("nyAh"),s=i("8clQ"),o=i("EM62");let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"";const e=Object(s.l)(t.attributes,n.a.GROUP_SYNC_ENABLED),i=Object(s.l)(t.attributes,n.a.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"";const o=i.value;if("true"===e.value){const e=Object(s.l)(t.attributes,n.a.GROUP_LAST_SYNC_STATE),i=Object(s.l)(t.attributes,n.a.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=Object(s.l)(t.attributes,n.a.GROUP_LAST_STRUCTURE_SYNC_STATE),i=Object(s.l)(t.attributes,n.a.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.Lb({name:"groupSyncIcon",type:t,pure:!0}),t})()},iT3j:function(t,e,i){"use strict";i.d(e,"a",(function(){return T}));var n=i("EM62"),s=i("cePI"),o=i("cqs0"),r=i("FlRo"),a=i("iAde"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("FcRk"),f=i("s2Ay");function g(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function b(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function m(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function y(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")))}function w(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function v(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")))}function _(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.description)}}function S(t,e){1&t&&n.Nb(0,"tr",23)}function E(t,e){1&t&&n.Nb(0,"tr",24)}function C(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function R(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}let T=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.securityTeams=[],this.selection=new o.c(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","description"],this.page=new n.o,this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(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){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-security-teams-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(s.a,!0),n.Dc(a.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,g,2,3,"th",6),n.Hc(7,b,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,m,3,3,"th",9),n.Hc(10,A,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,y,3,3,"th",9),n.Hc(13,w,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,v,3,3,"th",9),n.Hc(16,_,2,1,"td",11),n.Pb(),n.Hc(17,S,1,0,"tr",13),n.Hc(18,E,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,C,3,3,"app-alert",16),n.Hc(21,R,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.securityTeams.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.securityTeams.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.securityTeams.length),n.Ab(1),n.kc("ngIf",0===e.securityTeams.length))},directives:[u.a,r.n,s.a,r.c,r.i,r.b,r.k,r.m,a.a,h.t,r.h,d.a,r.a,s.b,r.j,r.l,p.a],pipes:[f.d],styles:[""]}),t})()},"ipn+":function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("EM62"),a=i("s2Ay"),c=i("2kYt"),l=i("YRqw"),u=i("ABWF"),h=i("PBFl"),d=i("csyo");function p(t,e){1&t&&r.Nb(0,"mat-spinner",9)}let f=(()=>{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(t=>{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.Mb(n.i),r.Mb(s.r),r.Mb(s.h),r.Mb(a.e),r.Mb(s.l),r.Mb(o.l),r.Mb(o.b),r.Mb(n.a))},t.\u0275cmp=r.Gb({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.Sb(0,"div"),r.Sb(1,"h1",0),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,p,1,0,"mat-spinner",1),r.Sb(5,"div",2),r.Sb(6,"div",3),r.Jc(7),r.ec(8,"translate"),r.Rb(),r.Jc(9),r.ec(10,"translate"),r.Sb(11,"perun-web-apps-vo-search-select",4),r.Zb("voSelected",(function(t){return e.voSelected(t)})),r.Rb(),r.Jc(12),r.ec(13,"translate"),r.Sb(14,"perun-web-apps-group-search-select",5),r.Zb("groupSelected",(function(t){return e.selectedGroup=t})),r.Rb(),r.Rb(),r.Sb(15,"div",6),r.Sb(16,"button",7),r.Zb("click",(function(){return e.cancel()})),r.Jc(17),r.ec(18,"translate"),r.Rb(),r.Sb(19,"button",8),r.Zb("click",(function(){return e.submit()})),r.Jc(20),r.ec(21,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Cb(e.theme),r.Ab(2),r.Kc(r.fc(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("hidden",e.loading),r.Ab(2),r.Kc(r.fc(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")),r.Ab(2),r.Lc(" ",r.fc(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),r.Ab(2),r.kc("vos",e.vos),r.Ab(1),r.Lc(" ",r.fc(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),r.Ab(2),r.kc("groups",e.groups)("disableAutoSelect",!0),r.Ab(3),r.Lc(" ",r.fc(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),r.Ab(2),r.kc("disabled",!e.selectedVo&&!e.selectedGroup||e.loading),r.Ab(1),r.Lc(" ",r.fc(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[n.j,c.t,n.g,l.a,u.a,n.c,h.b,d.c],pipes:[a.d],styles:[""]}),t})()},iqFP:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");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.a{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()}}},is9t:function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var n=i("OZ4H"),s=i("TkCa"),o=i("X2Q7"),r=i("EM62"),a=i("s2Ay"),c=i("2kYt"),l=i("YRqw"),u=i("ABWF"),h=i("PBFl"),d=i("csyo");function p(t,e){1&t&&r.Nb(0,"mat-spinner",9)}let f=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.voService=e,this.groupService=i,this.translateService=n,this.registrarService=s,this.data=o,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)}displayFn(t){return t?t.name:void 0}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)(r.Mb(n.i),r.Mb(o.r),r.Mb(o.h),r.Mb(a.e),r.Mb(o.l),r.Mb(n.a))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"div"),r.Sb(1,"h1",0),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,p,1,0,"mat-spinner",1),r.Sb(5,"div",2),r.Sb(6,"div",3),r.Jc(7),r.ec(8,"translate"),r.Rb(),r.Jc(9),r.ec(10,"translate"),r.Sb(11,"perun-web-apps-vo-search-select",4),r.Zb("voSelected",(function(t){return e.voSelected(t)})),r.Rb(),r.Jc(12),r.ec(13,"translate"),r.Sb(14,"perun-web-apps-group-search-select",5),r.Zb("groupSelected",(function(t){return e.selectedGroup=t})),r.Rb(),r.Rb(),r.Sb(15,"div",6),r.Sb(16,"button",7),r.Zb("click",(function(){return e.cancel()})),r.Jc(17),r.ec(18,"translate"),r.Rb(),r.Sb(19,"button",8),r.Zb("click",(function(){return e.submit()})),r.Jc(20),r.ec(21,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Cb(e.theme),r.Ab(2),r.Kc(r.fc(3,15,"DIALOGS.NOTIFICATIONS_COPY_MAILS.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("hidden",e.loading),r.Ab(2),r.Kc(r.fc(8,17,"DIALOGS.NOTIFICATIONS_COPY_MAILS.DESCRIPTION")),r.Ab(2),r.Lc(" ",r.fc(10,19,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_VO"),": "),r.Ab(2),r.kc("vos",e.vos),r.Ab(1),r.Lc(" ",r.fc(13,21,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_GROUP"),": "),r.Ab(2),r.kc("groups",e.groups)("disableAutoSelect",!0),r.Ab(3),r.Lc(" ",r.fc(18,23,"DIALOGS.NOTIFICATIONS_COPY_MAILS.CANCEL_BUTTON")," "),r.Ab(2),r.kc("disabled",null===e.selectedVo||null===e.selectedGroup||e.loading),r.Ab(1),r.Lc(" ",r.fc(21,25,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SUBMIT_BUTTON")," "))},directives:[n.j,c.t,n.g,l.a,u.a,n.c,h.b,d.c],pipes:[a.d],styles:[""],data:{animation:[s.c]}}),t})()},iyZ4:function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return a})),i.d(e,"pb",(function(){return c})),i.d(e,"z",(function(){return l})),i.d(e,"nb",(function(){return u})),i.d(e,"lb",(function(){return h})),i.d(e,"db",(function(){return d})),i.d(e,"eb",(function(){return p})),i.d(e,"J",(function(){return f})),i.d(e,"K",(function(){return g})),i.d(e,"ob",(function(){return b})),i.d(e,"i",(function(){return m})),i.d(e,"n",(function(){return A})),i.d(e,"f",(function(){return y})),i.d(e,"B",(function(){return w})),i.d(e,"I",(function(){return v})),i.d(e,"kb",(function(){return _})),i.d(e,"t",(function(){return S})),i.d(e,"j",(function(){return E})),i.d(e,"d",(function(){return C})),i.d(e,"ib",(function(){return R})),i.d(e,"g",(function(){return T})),i.d(e,"E",(function(){return k})),i.d(e,"mb",(function(){return I})),i.d(e,"F",(function(){return O})),i.d(e,"hb",(function(){return D})),i.d(e,"gb",(function(){return M})),i.d(e,"P",(function(){return P})),i.d(e,"r",(function(){return x})),i.d(e,"u",(function(){return N})),i.d(e,"S",(function(){return L})),i.d(e,"W",(function(){return F})),i.d(e,"p",(function(){return z})),i.d(e,"s",(function(){return H})),i.d(e,"H",(function(){return B})),i.d(e,"bb",(function(){return j})),i.d(e,"ab",(function(){return G})),i.d(e,"L",(function(){return U})),i.d(e,"M",(function(){return K})),i.d(e,"jb",(function(){return V})),i.d(e,"C",(function(){return q})),i.d(e,"x",(function(){return J})),i.d(e,"w",(function(){return W})),i.d(e,"A",(function(){return Z})),i.d(e,"N",(function(){return Y})),i.d(e,"O",(function(){return $})),i.d(e,"l",(function(){return X})),i.d(e,"m",(function(){return Q})),i.d(e,"Q",(function(){return tt})),i.d(e,"q",(function(){return et})),i.d(e,"T",(function(){return it})),i.d(e,"R",(function(){return nt})),i.d(e,"D",(function(){return st})),i.d(e,"fb",(function(){return ot})),i.d(e,"Z",(function(){return rt})),i.d(e,"v",(function(){return at})),i.d(e,"V",(function(){return ct})),i.d(e,"Y",(function(){return lt})),i.d(e,"X",(function(){return ut})),i.d(e,"y",(function(){return ht})),i.d(e,"h",(function(){return dt})),i.d(e,"cb",(function(){return pt})),i.d(e,"U",(function(){return ft})),i.d(e,"G",(function(){return gt})),i.d(e,"k",(function(){return bt})),i.d(e,"o",(function(){return mt})),i.d(e,"e",(function(){return At}));var n=i("2kYt"),s=i("EM62");let o=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[n.c]]}),t})();const r="GUI_CONFIG.PREF_PAGE_SIZE";let a=(()=>{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.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this.guiConfigService=t}getTablePageSize(t){const e=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE."+t);if(!isNaN(e))return e;const i=this.guiConfigService.getNumber(r);return isNaN(i)?10:i}setTablePageSize(t,e){this.guiConfigService.setNumber("GUI_CONFIG.PREF_PAGE_SIZE."+t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(a))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const l="0",u="1",h="2",d="3",p="4",f="5",g="6",b="7",m="8",A="9",y="10",w="11",v="12",_="13",S="14",E="15",C="16",R="17",T="18",k="19",I="20",O="21",D="22",M="23",P="24",x="25",N="26",L="27",F="28",z="29",H="30",B="31",j="32",G="33",U="34",K="35",V="36",q="37",J="42",W="43",Z="44",Y="45",$="46",X="47",Q="48",tt="49",et="50",it="51",nt="52",st="53",ot="54",rt="55",at="56",ct="57",lt="58",ut="59",ht="62",dt="63",pt="64",ft="65",gt="66",bt="69",mt="71",At="72"},"j+u3":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){let i="";return null!==t.titleBefore&&(i+=t.titleBefore+" "),null!==t.firstName&&(i+=t.firstName+" "),null!==t.middleName&&(i+=t.middleName+" "),null!==t.lastName&&(i+=t.lastName+" "),null!==t.titleAfter&&(i+=t.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"userFullName",type:t,pure:!0}),t})()},j610:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("OZ4H"),s=i("EM62"),o=i("s2Ay");let r=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}refresh(){location.reload()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a))},t.\u0275cmp=s.Gb({type:t,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(s.Sb(0,"h2"),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"p"),s.Jc(4),s.ec(5,"translate"),s.Rb(),s.Sb(6,"div"),s.Sb(7,"button",0),s.Zb("click",(function(){return e.refresh()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,3,e.data.title),"\n"),s.Ab(3),s.Lc(" ",s.fc(5,5,e.data.message),"\n"),s.Ab(4),s.Lc(" ",s.fc(9,7,e.data.action)," "))},pipes:[o.d],styles:[""]}),t})()},jEFW:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("8clQ"),s=i("nyAh"),o=i("EM62");let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const e=Object(n.l)(t.attributes,s.a.GROUP_SYNC_ENABLED),i=Object(n.l)(t.attributes,s.a.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=Object(n.l)(t.attributes,s.a.GROUP_LAST_SYNC_STATE),i=Object(n.l)(t.attributes,s.a.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=Object(n.l)(t.attributes,s.a.GROUP_LAST_STRUCTURE_SYNC_STATE),i=Object(n.l)(t.attributes,s.a.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.Lb({name:"groupSyncToolTip",type:t,pure:!0}),t})()},jIqt:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("qZtG"),s=i("gBlb");function o(...t){const e=t[t.length-1];return Object(s.a)(e)?(t.pop(),i=>Object(n.a)(t,i,e)):e=>Object(n.a)(t,e)}},jMG3:function(t,e,i){"use strict";i.d(e,"a",(function(){return ot}));var n=i("EM62"),s=i("OZ4H"),o=i("X2Q7"),r=i("Ssnw"),a=i("nIj0"),c=i("FlRo"),l=i("iAde"),u=i("2kYt"),h=i("cqs0"),d=i("nyAh"),p=i("iyZ4"),f=i("8clQ"),g=i("s2Ay"),b=i("csyo"),m=i("x9Az"),A=i("29Wa"),y=i("R7+U"),w=i("Cd2c"),v=i("PBFl"),_=i("HMTk"),S=i("F1o0"),E=i("Y2X+"),C=i("FcRk"),R=i("mFH5"),T=i("oYGW"),k=i("A8Ay"),I=i("K9kF");function O(t,e){1&t&&n.Nb(0,"mat-spinner",13)}function D(t,e){1&t&&(n.Jc(0),n.ec(1,"translate")),2&t&&n.Kc(n.fc(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function M(t,e){1&t&&(n.Sb(0,"app-alert",42),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function P(t,e){if(1&t&&(n.Sb(0,"mat-option",43),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.kc("value",t),n.Ab(1),n.Lc(" ",t," ")}}function x(t,e){1&t&&(n.Sb(0,"mat-error"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function N(t,e){1&t&&(n.Sb(0,"mat-error"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function L(t,e){if(1&t&&(n.Sb(0,"mat-error"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.Mc(" ",n.fc(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function F(t,e){if(1&t&&(n.Sb(0,"mat-error"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.Mc(" ",n.fc(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function z(t,e){if(1&t&&(n.Sb(0,"mat-error"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.Mc(" ",n.fc(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function H(t,e){1&t&&(n.Jc(0),n.ec(1,"translate")),2&t&&n.Kc(n.fc(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function B(t,e){1&t&&(n.Sb(0,"app-alert",44),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function j(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-radio-group",45),n.Zb("ngModelChange",(function(e){return n.xc(t),n.dc(2).passwordReset=e})),n.Sb(1,"mat-radio-button",46),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"mat-radio-button",47),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.kc("ngModel",t.passwordReset),n.Ab(2),n.Lc(" ",n.fc(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),n.Ab(3),n.Lc(" ",n.fc(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function G(t,e){1&t&&(n.Jc(0),n.ec(1,"translate")),2&t&&n.Kc(n.fc(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function U(t,e){1&t&&(n.Jc(0),n.ec(1,"translate")),2&t&&n.Kc(n.fc(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function K(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"app-alert",48),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Rb()),2&t&&(n.Ab(2),n.Kc(n.fc(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function V(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"h5",49),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"perun-web-apps-create-group-form",50),n.Zb("nameChanged",(function(e){return n.xc(t),n.dc(2).name=e}))("descriptionChanged",(function(e){return n.xc(t),n.dc(2).description=e}))("parentGroupChanged",(function(e){return n.xc(t),n.dc(2).parentGroup=e}))("asSubgroupChanged",(function(e){return n.xc(t),n.dc(2).asSubGroup=e})),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.Ab(2),n.Kc(n.fc(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")),n.Ab(2),n.kc("voGroups",t.allVoGroups)}}const q=function(){return["expiration","vo","recent","menu"]};function J(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"h5",49),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"perun-web-apps-immediate-filter",51),n.Zb("filter",(function(e){return n.xc(t),n.dc(2).applyFilter(e)})),n.Rb(),n.Sb(5,"perun-web-apps-groups-list",52),n.Zb("page",(function(e){return n.xc(t),n.dc(2).groupTablePageChanged(e)})),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.Ab(2),n.Kc(n.fc(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")),n.Ab(2),n.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),n.Ab(1),n.kc("groups",t.assignableGroups)("selection",t.selection)("hideColumns",n.oc(10,q))("disableRouting",!0)("pageSize",t.pageSize)("filter",t.filterValue)}}function W(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div",14),n.Sb(1,"mat-horizontal-stepper",15),n.Sb(2,"mat-step",16),n.Hc(3,D,2,3,"ng-template",17),n.Hc(4,M,3,3,"app-alert",18),n.Sb(5,"h5",19),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Sb(8,"form",20),n.Sb(9,"mat-form-field"),n.Sb(10,"mat-select",21),n.ec(11,"translate"),n.Hc(12,P,2,2,"mat-option",22),n.Rb(),n.Hc(13,x,3,3,"mat-error",23),n.Rb(),n.Sb(14,"div"),n.Jc(15),n.ec(16,"translate"),n.Rb(),n.Sb(17,"div",24),n.Jc(18),n.Rb(),n.Sb(19,"mat-form-field",25),n.Sb(20,"mat-label"),n.Jc(21),n.ec(22,"translate"),n.Rb(),n.Sb(23,"textarea",26),n.Jc(24," "),n.Rb(),n.Hc(25,N,3,3,"mat-error",23),n.Hc(26,L,3,4,"mat-error",23),n.Hc(27,F,3,4,"mat-error",23),n.Hc(28,z,3,4,"mat-error",23),n.Rb(),n.Sb(29,"div",27),n.Sb(30,"button",28),n.Zb("click",(function(){return n.xc(t),n.dc().onCancel()})),n.Jc(31),n.ec(32,"translate"),n.Rb(),n.Sb(33,"button",29),n.Jc(34),n.ec(35,"translate"),n.Rb(),n.Rb(),n.Rb(),n.Rb(),n.Sb(36,"mat-step"),n.Hc(37,H,2,3,"ng-template",17),n.Sb(38,"div",19),n.Sb(39,"h5",30),n.Jc(40),n.ec(41,"translate"),n.Rb(),n.Hc(42,B,3,3,"app-alert",31),n.Hc(43,j,7,7,"mat-radio-group",32),n.Rb(),n.Sb(44,"div",27),n.Sb(45,"button",28),n.Zb("click",(function(){return n.xc(t),n.dc().onCancel()})),n.Jc(46),n.ec(47,"translate"),n.Rb(),n.Sb(48,"button",33),n.Jc(49),n.ec(50,"translate"),n.Rb(),n.Sb(51,"button",34),n.Jc(52),n.ec(53,"translate"),n.Rb(),n.Rb(),n.Rb(),n.Sb(54,"mat-step"),n.Hc(55,G,2,3,"ng-template",17),n.Sb(56,"div",19),n.Sb(57,"h5",30),n.Jc(58),n.ec(59,"translate"),n.Rb(),n.Sb(60,"perun-web-apps-expiration-select",35),n.Zb("datePicker",(function(e){return n.xc(t),n.dc().setExpiration(e)})),n.Rb(),n.Rb(),n.Sb(61,"div",27),n.Sb(62,"button",28),n.Zb("click",(function(){return n.xc(t),n.dc().onCancel()})),n.Jc(63),n.ec(64,"translate"),n.Rb(),n.Sb(65,"button",33),n.Jc(66),n.ec(67,"translate"),n.Rb(),n.Sb(68,"button",34),n.Jc(69),n.ec(70,"translate"),n.Rb(),n.Rb(),n.Rb(),n.Sb(71,"mat-step"),n.Hc(72,U,2,3,"ng-template",17),n.Sb(73,"div",19),n.Sb(74,"h5",30),n.Jc(75),n.ec(76,"translate"),n.Rb(),n.Sb(77,"mat-radio-group",36),n.Zb("change",(function(){return n.xc(t),n.dc().groupAssigmentChanged()}))("ngModelChange",(function(e){return n.xc(t),n.dc().groupAssignment=e})),n.Sb(78,"mat-radio-button",37),n.Jc(79),n.ec(80,"translate"),n.Rb(),n.Sb(81,"span",38),n.ec(82,"translate"),n.Sb(83,"mat-radio-button",39),n.Jc(84),n.ec(85,"translate"),n.Rb(),n.Rb(),n.Sb(86,"span",38),n.ec(87,"translate"),n.Sb(88,"mat-radio-button",40),n.Jc(89),n.ec(90,"translate"),n.Rb(),n.Rb(),n.Rb(),n.Rb(),n.Hc(91,K,4,3,"div",23),n.Hc(92,V,5,4,"div",23),n.Hc(93,J,6,11,"div",23),n.Sb(94,"div",27),n.Sb(95,"button",28),n.Zb("click",(function(){return n.xc(t),n.dc().onCancel()})),n.Jc(96),n.ec(97,"translate"),n.Rb(),n.Sb(98,"button",33),n.Jc(99),n.ec(100,"translate"),n.Rb(),n.Sb(101,"button",41),n.Zb("click",(function(){return n.xc(t),n.dc().onSubmit()})),n.Jc(102),n.ec(103,"translate"),n.Rb(),n.Rb(),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("linear",!0),n.Ab(1),n.kc("stepControl",t.usersInfoFormGroup),n.Ab(2),n.kc("ngIf",t.functionalityNotSupported),n.Ab(2),n.Kc(n.fc(7,50,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),n.Ab(2),n.kc("formGroup",t.usersInfoFormGroup),n.Ab(2),n.lc("placeholder",n.fc(11,52,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),n.Ab(2),n.kc("ngForOf",t.namespaceOptions),n.Ab(1),n.kc("ngIf",t.usersInfoFormGroup.hasError("required","namespace")),n.Ab(2),n.Kc(n.fc(16,54,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),n.Ab(3),n.Kc(t.getSelectedNamespaceRules().csvGenHeaderDescription),n.Ab(3),n.Kc(n.fc(22,56,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),n.Ab(2),n.lc("placeholder",t.getSelectedNamespaceRules().csvGenPlaceholder),n.Ab(2),n.kc("ngIf",t.usersInfoFormGroup.hasError("required","sponsoredMembers")),n.Ab(1),n.kc("ngIf",t.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),n.Ab(1),n.kc("ngIf",t.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),n.Ab(1),n.kc("ngIf",t.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),n.Ab(3),n.Lc(" ",n.fc(32,58,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),n.Ab(2),n.kc("disabled",t.usersInfoFormGroup.invalid),n.Ab(1),n.Lc(" ",n.fc(35,60,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),n.Ab(6),n.Kc(n.fc(41,62,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")),n.Ab(2),n.kc("ngIf","No namespace"===t.getSelectedNamespaceRules().namespaceName),n.Ab(1),n.kc("ngIf","No namespace"!==t.getSelectedNamespaceRules().namespaceName),n.Ab(3),n.Lc(" ",n.fc(47,64,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(50,66,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),n.Ab(2),n.kc("disabled",null===t.passwordReset),n.Ab(1),n.Lc(" ",n.fc(53,68,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),n.Ab(6),n.Kc(n.fc(59,70,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),n.Ab(2),n.kc("expiration",t.expiration),n.Ab(3),n.Lc(" ",n.fc(64,72,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(67,74,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),n.Ab(2),n.kc("disabled",null===t.expiration),n.Ab(1),n.Lc("",n.fc(70,76,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),n.Ab(6),n.Kc(n.fc(76,78,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),n.Ab(2),n.kc("ngModel",t.groupAssignment),n.Ab(2),n.Lc(" ",n.fc(80,80,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),n.Ab(2),n.lc("matTooltip",n.fc(82,82,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),n.kc("matTooltipDisabled",!t.manualMemberAddingBlocked&&t.createGroupAuth),n.Ab(2),n.kc("disabled",t.manualMemberAddingBlocked||!t.createGroupAuth),n.Ab(1),n.Lc(" ",n.fc(85,84,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),n.Ab(2),n.lc("matTooltip",n.fc(87,86,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),n.kc("matTooltipDisabled",!t.manualMemberAddingBlocked&&0!==t.assignableGroups.length),n.Ab(2),n.kc("disabled",t.manualMemberAddingBlocked||0===t.assignableGroups.length),n.Ab(1),n.Lc(" ",n.fc(90,88,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),n.Ab(2),n.kc("ngIf","none"===t.groupAssignment),n.Ab(1),n.kc("ngIf","new"===t.groupAssignment),n.Ab(1),n.kc("ngIf","existing"===t.groupAssignment),n.Ab(3),n.Lc(" ",n.fc(97,90,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(100,92,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),n.Ab(2),n.kc("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),n.Ab(1),n.Lc(" ",n.fc(103,94,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function Z(t,e){1&t&&(n.Sb(0,"th",53),n.Jc(1,"name"),n.Rb())}function Y(t,e){if(1&t&&(n.Sb(0,"td",54),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function $(t,e){1&t&&(n.Sb(0,"th",53),n.Jc(1,"status"),n.Rb())}function X(t,e){if(1&t&&(n.Sb(0,"td",54),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.status)}}function Q(t,e){1&t&&(n.Sb(0,"th",53),n.Jc(1,"login"),n.Rb())}function tt(t,e){if(1&t&&(n.Sb(0,"td",54),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.login)}}function et(t,e){1&t&&(n.Sb(0,"th",53),n.Jc(1,"password"),n.Rb())}function it(t,e){if(1&t&&(n.Sb(0,"td",54),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.password)}}function nt(t,e){1&t&&n.Nb(0,"tr",55)}function st(t,e){1&t&&n.Nb(0,"tr",56)}let ot=(()=>{class t{constructor(t,e,i,s,o,r,a,l,u,f,g){this.dialogRef=t,this.data=e,this.store=i,this.membersService=s,this.notificator=o,this.translate=r,this.guiAuthResolver=a,this.groupsService=l,this.attributesService=u,this.formBuilder=f,this.tableConfigService=g,this.page=new n.o,this.loading=!1,this.dataSource=new c.o,this.outputColumns=["name","status","login","password"],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 h.c(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=p.jb,this.groupAttrNames=[d.a.GROUP_SYNC_ENABLED,d.a.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:["",a.F.required],sponsoredMembers:["",[a.F.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:t=>{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}exportData(t){this.dataSource.data=this.createOutputObjects(t),Object(f.i)(this.dataSource.data,"csv","member-logins")}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=Object(u.I)(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=>{this.exportData(t),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}}ngAfterViewInit(){this.dataSource.paginator=this.paginator}pageChanged(t){this.page.emit(t)}setExpiration(t){this.expiration="never"===t?"never":Object(u.I)(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)(n.Mb(s.i),n.Mb(s.a),n.Mb(r.m),n.Mb(o.i),n.Mb(r.l),n.Mb(g.e),n.Mb(r.h),n.Mb(o.h),n.Mb(o.c),n.Mb(a.f),n.Mb(p.pb))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(t,e){var i;1&t&&n.Qc(l.a,!0),2&t&&n.sc(i=n.ac())&&(e.paginator=i.first)},outputs:{page:"page"},decls:22,vars:14,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-table","",1,"w-100",3,"hidden"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","login"],["matColumnDef","password"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"hidden","length","pageSize","page"],[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","hideColumns","disableRouting","pageSize","filter","page"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"h1",0),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Hc(4,O,1,0,"mat-spinner",1),n.Hc(5,W,104,96,"div",2),n.Sb(6,"table",3),n.Qb(7,4),n.Hc(8,Z,2,0,"th",5),n.Hc(9,Y,2,1,"td",6),n.Pb(),n.Qb(10,7),n.Hc(11,$,2,0,"th",5),n.Hc(12,X,2,1,"td",6),n.Pb(),n.Qb(13,8),n.Hc(14,Q,2,0,"th",5),n.Hc(15,tt,2,1,"td",6),n.Pb(),n.Qb(16,9),n.Hc(17,et,2,0,"th",5),n.Hc(18,it,2,1,"td",6),n.Pb(),n.Hc(19,nt,1,0,"tr",10),n.Hc(20,st,1,0,"tr",11),n.Rb(),n.Sb(21,"mat-paginator",12),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb()),2&t&&(n.Cb(e.theme),n.Ab(2),n.Kc(n.fc(3,12,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),n.Ab(2),n.kc("ngIf",e.loading),n.Ab(1),n.kc("ngIf",!e.loading),n.Ab(1),n.kc("hidden",!0),n.Ab(13),n.kc("matHeaderRowDef",e.outputColumns),n.Ab(1),n.kc("matRowDefColumns",e.outputColumns),n.Ab(1),n.kc("hidden",!0)("length",e.dataSource.data.length)("pageSize",100))},directives:[s.j,u.t,c.n,c.c,c.i,c.b,c.k,c.m,l.a,b.c,s.g,m.a,m.b,m.d,a.H,a.s,a.j,A.c,y.a,a.C,a.r,a.i,u.s,A.g,w.b,a.c,s.c,v.b,m.h,m.i,_.a,S.b,a.u,S.a,E.a,C.a,R.n,A.b,T.a,k.a,I.a,c.h,c.a,c.j,c.l],pipes:[g.d],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})()},jOdJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("VxHp"),s=i("xVbo"),o=i("J+dc"),r=i("iqFP"),a=i("fbWu"),c=i("5E2i");function l(t,e){const i=arguments.length>=2;return l=>l.pipe(t?Object(s.a)((e,i)=>t(e,i,l)):c.a,Object(o.a)(1),i?Object(r.a)(e):Object(a.a)(()=>new n.a))}},jjFd:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("OZ4H"),s=i("EM62"),o=i("2kYt"),r=i("s2Ay");let a=(()=>{class t{constructor(t,e){this.data=t,this.location=e}ngOnInit(){}redirect(){this.location.go("/"),location.reload()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.a),s.Mb(o.n))},t.\u0275cmp=s.Gb({type:t,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(s.Sb(0,"h2"),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"p"),s.Jc(4),s.ec(5,"translate"),s.Rb(),s.Sb(6,"div"),s.Sb(7,"button",0),s.Zb("click",(function(){return e.redirect()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,3,e.data.title),"\n"),s.Ab(3),s.Lc(" ",s.fc(5,5,e.data.message),"\n"),s.Ab(4),s.Lc(" ",s.fc(9,7,e.data.action)," "))},pipes:[r.d],styles:[""]}),t})()},jk8c:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"th",14)}function p(t,e){if(1&t&&(a.Sb(0,"td",15),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Mc(" ",t.firstName," ",t.lastName,"")}}function f(t,e){1&t&&a.Nb(0,"tr",16)}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){if(1&t&&(a.Sb(0,"div",6),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",7),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",8),a.Qb(8,9),a.Hc(9,d,1,0,"th",10),a.Hc(10,p,2,2,"td",11),a.Pb(),a.Hc(11,f,1,0,"tr",12),a.Hc(12,g,1,0,"tr",13),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_MANAGERS.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}function m(t,e){1&t&&a.Nb(0,"mat-spinner",18)}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.authzService=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new s.o(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(t=>t.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.d))},t.\u0275cmp=a.Gb({type:t,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(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,b,13,9,"div",1),a.Hc(5,m,1,0,"mat-spinner",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),a.Ab(2),a.kc("ngIf",!e.loading),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l,h.c],pipes:[c.d],styles:[""]}),t})()},jqZM:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),s=i("8clQ"),o=i("LAw4"),r=i("s2Ay");let a=(()=>{class t{constructor(){this.disableAutoSelect=!1,this.userSelected=new n.o,this.userFullNameFunction=s.w}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.userSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.users)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.userFullNameFunction)("mainTextFunction",e.userFullNameFunction)("selectPlaceholder",n.fc(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",n.fc(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",n.fc(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[o.a],pipes:[r.d],styles:[""]}),t})()},k8N0:function(t,e,i){"use strict";i.d(e,"a",(function(){return _})),i.d(e,"b",(function(){return T})),i.d(e,"c",(function(){return E}));var n=i("TKFd"),s=i("EM62"),o=i("mFH5"),r=i("5XID"),a=i("nIj0"),c=i("5lCh"),l=i("sg/T"),u=i("E5oP");const h=["thumbContainer"],d=["toggleBar"],p=["input"],f=function(){return{enterDuration:150}},g=["*"],b=new s.r("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let m=0;const A={provide:a.p,useExisting:Object(s.U)(()=>_),multi:!0};class y{constructor(t,e){this.source=t,this.checked=e}}class w{constructor(t){this._elementRef=t}}const v=Object(o.D)(Object(o.y)(Object(o.z)(Object(o.A)(w)),"accent"));let _=(()=>{class t extends v{constructor(t,e,i,n,o,r,a,c){super(t),this._focusMonitor=e,this._changeDetectorRef=i,this.defaults=r,this._animationMode=a,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.o,this.toggleChange=new s.o,this.dragChange=new s.o,this.tabIndex=parseInt(n)||0}get required(){return this._required}set required(t){this._required=Object(r.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(r.c)(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){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new y(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(l.h),s.Mb(s.h),s.Xb("tabindex"),s.Mb(s.A),s.Mb(b),s.Mb(c.a,8),s.Mb(u.c,8))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){var i;1&t&&(s.Qc(h,!0),s.Qc(d,!0),s.Qc(p,!0)),2&t&&(s.sc(i=s.ac())&&(e._thumbEl=i.first),s.sc(i=s.ac())&&(e._thumbBarEl=i.first),s.sc(i=s.ac())&&(e._inputElement=i.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Vb("id",e.id),s.Bb("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),s.Eb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},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",dragChange:"dragChange"},exportAs:["matSlideToggle"],features:[s.zb([A]),s.xb],ngContentSelectors:g,decls:16,vars:18,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.jc(),s.Sb(0,"label",0,1),s.Sb(2,"div",2,3),s.Sb(4,"input",4,5),s.Zb("change",(function(t){return e._onChangeEvent(t)}))("click",(function(t){return e._onInputClick(t)})),s.Rb(),s.Sb(6,"div",6,7),s.Nb(8,"div",8),s.Sb(9,"div",9),s.Nb(10,"div",10),s.Rb(),s.Rb(),s.Rb(),s.Sb(11,"span",11,12),s.Zb("cdkObserveContent",(function(){return e._onLabelTextChange()})),s.Sb(13,"span",13),s.Jc(14,"\xa0"),s.Rb(),s.ic(15),s.Rb(),s.Rb()),2&t){const t=s.tc(1),i=s.tc(12);s.Bb("for",e.inputId),s.Ab(2),s.Eb("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),s.Ab(2),s.kc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),s.Bb("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),s.Ab(5),s.kc("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.oc(17,f))}},directives:[o.s,n.a],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})();const S={provide:a.o,useExisting:Object(s.U)(()=>E),multi:!0};let E=(()=>{class t extends a.b{}return t.\u0275fac=function(e){return C(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[s.zb([S]),s.xb]}),t})();const C=s.Ub(E);let R=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)}}),t})(),T=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[R,o.t,o.i,n.c],R,o.i]}),t})()},kLAD:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.friendlyName," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Kc(a.fc(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.serviceManager=i,this.notificator=n,this.translate=s,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new r.o(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},t=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.n),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onConfirm()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL"),""),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE"),""))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t})()},kdIE:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62");let s=(()=>{class t{transform(t,e){if(null===t)return null;const i=t;return i.substring(i.lastIndexOf(".")+1,i.length)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"attributeTypeClean",type:t,pure:!0}),t})()},kuMc:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("pBDD"),s=i("mW0F");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=Object(s.a)(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class a extends n.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}},l18O:function(t,e,i){"use strict";i.d(e,"a",(function(){return tt}));var n=i("EM62"),s=i("cePI"),o=i("iAde"),r=i("8clQ"),a=i("+0js"),c=i("Ssnw"),l=i("g6G6"),u=i("8j5Y"),h=i("OZ4H"),d=i("9wx0"),p=i("2kYt"),f=i("FlRo"),g=i("csyo"),b=i("+Tre"),m=i("bFHC"),A=i("Y2X+"),y=i("sEIs"),w=i("TQS+"),v=i("FcRk"),_=i("s2Ay"),S=i("j+u3"),E=i("C5kn"),C=i("yAs8"),R=i("RK/0"),T=i("IBaA"),k=i("NZNE"),I=i("Log1");function O(t,e){1&t&&(n.Sb(0,"div",23),n.Nb(1,"mat-spinner",24),n.Rb())}function D(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function M(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",27),n.Sb(1,"mat-checkbox",28),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function P(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ID")))}function x(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function N(t,e){1&t&&n.Nb(0,"th",29)}function L(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-icon",32),n.Zb("click",(function(e){n.xc(t);const i=n.dc().$implicit;return n.dc().viewMemberGroupTree(e,i)})),n.ec(1,"translate"),n.Jc(2,"transfer_within_a_station"),n.Rb()}2&t&&n.kc("matTooltip",n.fc(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function F(t,e){if(1&t&&(n.Sb(0,"td",30),n.Hc(1,L,3,3,"mat-icon",31),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","DIRECT"!==t.membershipType)}}function z(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.NAME")))}function H(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.user))}}function B(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.STATUS")))}function j(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",30),n.Sb(1,"i",33),n.Zb("click",(function(i){n.xc(t);const s=e.$implicit;return n.dc().changeStatus(i,s)})),n.ec(2,"memberStatusIconColor"),n.ec(3,"memberStatusTooltip"),n.Sb(4,"span"),n.Jc(5),n.ec(6,"memberStatusIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(1),n.Db("material-icons ",n.fc(2,5,t.status),""),n.lc("matTooltip",n.gc(3,7,t,!1)),n.Ab(4),n.Lc(" ",n.fc(6,10,t.status)," ")}}function G(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function U(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",30),n.Sb(1,"i",33),n.Zb("click",(function(i){n.xc(t);const s=e.$implicit;return n.dc().changeStatus(i,s)})),n.ec(2,"memberStatusIconColor"),n.ec(3,"memberStatusTooltip"),n.Sb(4,"span"),n.Jc(5),n.ec(6,"memberStatusIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(1),n.Db("material-icons ",n.fc(2,5,t.groupStatus),""),n.lc("matTooltip",n.gc(3,7,t,!0)),n.Ab(4),n.Lc(" ",n.fc(6,10,t.groupStatus)," ")}}function K(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ORGANIZATION")))}function V(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberOrganization"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function q(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.EMAIL")))}function J(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberEmail"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function W(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.LOGINS")))}function Z(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberLogins"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function Y(t,e){1&t&&n.Nb(0,"tr",34)}const $=function(t,e){return["/organizations",t,"members",e]};function X(t,e){if(1&t&&n.Nb(0,"tr",35),2&t){const t=e.$implicit,i=n.dc();n.Eb("disable-outline",!i.dataSource.routeAuth)("cursor-pointer",i.dataSource.routeAuth),n.kc("routerLink",i.dataSource.routeAuth?n.qc(6,$,t.voId,t.id):null)("perunWebAppsMiddleClickRouterLink",i.dataSource.routeAuth?n.qc(9,$,t.voId,t.id):null)}}function Q(t,e){1&t&&(n.Sb(0,"app-alert",36),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.kc("alert_type","warn"),n.Ab(1),n.Lc(" ",n.fc(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.dynamicPaginatingService=s,this.hideColumns=[],this.pageSize=10,this.selectedGroupStatuses=[],this.page=new n.o,this.exporting=!1,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.pageSizeOptions=r.a}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.paginator.pageIndex=0),Object(l.a)(this.sort.sortChange,this.paginator.page).pipe(Object(u.a)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new c.j(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.paginator.pageIndex=0,this.loadMembersPage())}isAllSelected(){return this.selection.selected.length===this.pageSize}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(t=>this.selection.select(t))}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=Object(r.o)();t.width="500px",t.data={member:e},this.dialog.open(a.e,t).afterClosed().subscribe(t=>{t&&this.loadMembersPage()})}}pageChanged(t){this.page.emit(t)}loadMembersPage(){this.dataSource.loadMembers(this.voId,this.attrNames,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.paginator.pageIndex,this.paginator.pageSize,"fullName"===this.sort.active?"NAME":"ID",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}exportData(t){Object(r.i)(Object(r.n)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),t)}getExportDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"fullName":return t.user?Object(r.w)(t.user):"";case"status":return t.status;case"groupStatus":return t.groupStatus;case"organization":return Object(r.A)(t);case"email":return Object(r.v)(t);case"logins":return Object(r.x)(t);default:return""}}viewMemberGroupTree(t,e){t.stopPropagation();const i=Object(r.o)();i.width="800px",i.data={member:e,groupId:this.groupId},this.dialog.open(a.k,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(h.b),n.Mb(c.h),n.Mb(c.n),n.Mb(c.f))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(o.a,!0),n.Qc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.paginator=i.first),n.sc(i=n.ac())&&(e.sort=i.first))},inputs:{selection:"selection",hideColumns:"hideColumns",pageSize:"pageSize",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",updateTable:"updateTable"},outputs:{page:"page"},features:[n.yb],decls:40,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],["class","spinner-container",4,"ngIf"],[1,"overflow-auto"],["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,"disable-outline","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],[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,"routerLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.ec(1,"async"),n.Sb(2,"div",1),n.Sb(3,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Hc(4,O,2,0,"div",3),n.ec(5,"async"),n.Sb(6,"div",4),n.Sb(7,"table",5),n.Qb(8,6),n.Hc(9,D,2,3,"th",7),n.Hc(10,M,2,2,"td",8),n.Pb(),n.Qb(11,9),n.Hc(12,P,3,3,"th",10),n.Hc(13,x,2,1,"td",8),n.Pb(),n.Qb(14,11),n.Hc(15,N,1,0,"th",10),n.Hc(16,F,2,1,"td",12),n.Pb(),n.Qb(17,13),n.Hc(18,z,3,3,"th",10),n.Hc(19,H,3,3,"td",12),n.Pb(),n.Qb(20,14),n.Hc(21,B,3,3,"th",7),n.Hc(22,j,7,12,"td",12),n.Pb(),n.Qb(23,15),n.Hc(24,G,3,3,"th",7),n.Hc(25,U,7,12,"td",12),n.Pb(),n.Qb(26,16),n.Hc(27,K,3,3,"th",7),n.Hc(28,V,3,3,"td",12),n.Pb(),n.Qb(29,17),n.Hc(30,q,3,3,"th",7),n.Hc(31,J,3,3,"td",12),n.Pb(),n.Qb(32,18),n.Hc(33,W,3,3,"th",7),n.Hc(34,Z,3,3,"td",12),n.Pb(),n.Hc(35,Y,1,0,"tr",19),n.Hc(36,X,1,12,"tr",20),n.Rb(),n.Rb(),n.Sb(37,"mat-paginator",21),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(38,Q,3,4,"app-alert",22),n.ec(39,"async")),2&t&&(n.kc("hidden",0===e.dataSource.allMemberCount&&!1===n.fc(1,9,e.dataSource.loading$)),n.Ab(4),n.kc("ngIf",n.fc(5,11,e.dataSource.loading$)),n.Ab(3),n.kc("dataSource",e.dataSource),n.Ab(28),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.dataSource.allMemberCount)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.allMemberCount&&!1===n.fc(39,13,e.dataSource.loading$)))},directives:[d.a,p.t,f.n,s.a,f.c,f.i,f.b,f.k,f.m,o.a,g.c,f.h,b.a,f.a,s.b,m.a,A.a,f.j,f.l,y.g,w.c,v.a],pipes:[p.b,_.d,S.a,E.a,C.a,R.a,T.a,k.a,I.a],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}"]}),t})()},lQ7A:function(t,e,i){"use strict";i.d(e,"a",(function(){return H})),i.d(e,"b",(function(){return B})),i.d(e,"c",(function(){return z})),i.d(e,"d",(function(){return G})),i.d(e,"e",(function(){return K})),i.d(e,"f",(function(){return j})),i.d(e,"g",(function(){return q}));var n=i("cZZj"),s=i("qvOF"),o=i("2kYt"),r=i("EM62"),a=i("mFH5"),c=i("5XID"),l=i("fAiE"),u=i("ZTXN"),h=i("KTx3"),d=i("g6G6"),p=i("xVbo"),f=i("kuMc"),g=i("Ohay"),b=i("YtkY"),m=i("J+dc"),A=i("jIqt"),y=i("mWib"),w=i("f7+R"),v=i("5lCh"),_=i("sg/T"),S=i("E5oP");const E=["*"];function C(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",2),r.Zb("click",(function(){return r.xc(t),r.dc()._onBackdropClicked()})),r.Rb()}if(2&t){const t=r.dc();r.Eb("mat-drawer-shown",t._isShowingBackdrop())}}function R(t,e){1&t&&(r.Sb(0,"mat-drawer-content"),r.ic(1,2),r.Rb())}const T=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],k=["mat-drawer","mat-drawer-content","*"];function I(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",2),r.Zb("click",(function(){return r.xc(t),r.dc()._onBackdropClicked()})),r.Rb()}if(2&t){const t=r.dc();r.Eb("mat-drawer-shown",t._isShowingBackdrop())}}function O(t,e){1&t&&(r.Sb(0,"mat-sidenav-content",3),r.ic(1,2),r.Rb())}const D=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],M=["mat-sidenav","mat-sidenav-content","*"],P=".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",x={transformDrawer:Object(w.n)("transform",[Object(w.k)("open, open-instant",Object(w.l)({transform:"none",visibility:"visible"})),Object(w.k)("void",Object(w.l)({"box-shadow":"none",visibility:"hidden"})),Object(w.m)("void => open-instant",Object(w.e)("0ms")),Object(w.m)("void <=> open, open-instant => void",Object(w.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function N(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const L=new r.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),F=new r.r("MAT_DRAWER_CONTAINER");let z=(()=>{class t extends s.b{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.Mb(r.h),r.Mb(Object(r.U)(()=>B)),r.Mb(r.l),r.Mb(s.f),r.Mb(r.A))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&r.Ec("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[r.xb],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(r.jc(),r.ic(0))},encapsulation:2,changeDetection:0}),t})(),H=(()=>{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.a,this._animationEnd=new u.a,this._animationState="void",this.openedChange=new r.o(!0),this._destroyed=new u.a,this.onPositionChanged=new r.o,this._modeChanged=new u.a,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Object(h.a)(this._elementRef.nativeElement,"keydown").pipe(Object(p.a)(t=>t.keyCode===l.h&&!this.disableClose&&!Object(l.t)(t)),Object(f.a)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Object(g.a)((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=Object(c.c)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Object(c.c)(t)}get opened(){return this._opened}set opened(t){this.toggle(Object(c.c)(t))}get _openedStream(){return this.openedChange.pipe(Object(p.a)(t=>t),Object(b.a)(()=>{}))}get openedStart(){return this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),Object(b.a)(()=>{}))}get _closedStream(){return this.openedChange.pipe(Object(p.a)(t=>!t),Object(b.a)(()=>{}))}get closedStart(){return this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&"void"===t.toState),Object(b.a)(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}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)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Object(m.a)(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){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.Mb(r.l),r.Mb(_.i),r.Mb(_.h),r.Mb(n.a),r.Mb(r.A),r.Mb(o.e,8),r.Mb(F,8))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&r.Fc("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(r.Bb("align",null),r.Gc("@transform",e._animationState),r.Eb("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",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:E,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(r.jc(),r.Sb(0,"div",0),r.ic(1),r.Rb())},encapsulation:2,data:{animation:[x.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.E,this.backdropClick=new r.o,this._destroyed=new u.a,this._doCheckSubject=new u.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new u.a,t&&t.change.pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Object(f.a)(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=Object(c.c)(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:Object(c.c)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Object(A.a)(this._allDrawers),Object(f.a)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(A.a)(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._doCheckSubject.pipe(Object(y.a)(10),Object(f.a)(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._width;else if("push"==this._left.mode){const i=this._left._width;t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;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(Object(p.a)(t=>t.fromState!==t.toState),Object(f.a)(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(Object(f.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Object(f.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(m.a)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Object(f.a)(Object(d.a)(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?(null!=this._end&&N("end"),this._end=t):(null!=this._start&&N("start"),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._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_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.Mb(S.c,8),r.Mb(r.l),r.Mb(r.A),r.Mb(r.h),r.Mb(s.h),r.Mb(L),r.Mb(v.a,8))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){var n;1&t&&(r.Fb(i,z,!0),r.Fb(i,H,!0)),2&t&&(r.sc(n=r.ac())&&(e._content=n.first),r.sc(n=r.ac())&&(e._allDrawers=n))},viewQuery:function(t,e){var i;1&t&&r.Qc(z,!0),2&t&&r.sc(i=r.ac())&&(e._userContent=i.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&r.Eb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[r.zb([{provide:F,useExisting:t}])],ngContentSelectors:k,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.jc(T),r.Hc(0,C,1,2,"div",0),r.ic(1),r.ic(2,1),r.Hc(3,R,2,0,"mat-drawer-content",1)),2&t&&(r.kc("ngIf",e.hasBackdrop),r.Ab(3),r.kc("ngIf",!e._content))},directives:[o.t,z],styles:[P],encapsulation:2,changeDetection:0}),t})(),j=(()=>{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.Mb(r.h),r.Mb(Object(r.U)(()=>K)),r.Mb(r.l),r.Mb(s.f),r.Mb(r.A))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&r.Ec("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[r.xb],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(r.jc(),r.ic(0))},encapsulation:2,changeDetection:0}),t})(),G=(()=>{class t extends H{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Object(c.c)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Object(c.f)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Object(c.f)(t)}}return t.\u0275fac=function(e){return U(e||t)},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(r.Bb("align",null),r.Ec("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),r.Eb("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.xb],ngContentSelectors:E,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(r.jc(),r.Sb(0,"div",0),r.ic(1),r.Rb())},encapsulation:2,data:{animation:[x.transformDrawer]},changeDetection:0}),t})();const U=r.Ub(G);let K=(()=>{class t extends B{}return t.\u0275fac=function(e){return V(e||t)},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){var n;1&t&&(r.Fb(i,j,!0),r.Fb(i,G,!0)),2&t&&(r.sc(n=r.ac())&&(e._content=n.first),r.sc(n=r.ac())&&(e._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&r.Eb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[r.zb([{provide:F,useExisting:t}]),r.xb],ngContentSelectors:M,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.jc(D),r.Hc(0,I,1,2,"div",0),r.ic(1),r.ic(2,1),r.Hc(3,O,2,0,"mat-sidenav-content",1)),2&t&&(r.kc("ngIf",e.hasBackdrop),r.Ab(3),r.kc("ngIf",!e._content))},directives:[o.t,j,s.b],styles:[P],encapsulation:2,changeDetection:0}),t})();const V=r.Ub(K);let q=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[o.c,a.i,n.b,s.c],s.c,a.i]}),t})()},mEf3:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.displayName," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"div"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.DELETE_ATTRIBUTES.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.DELETE_ATTRIBUTES.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{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"],this.loading=!1}ngOnInit(){this.dataSource=new s.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.c))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.DELETE_ATTRIBUTES.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.DELETE_ATTRIBUTES.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.DELETE_ATTRIBUTES.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l],pipes:[c.d],styles:[""]}),t})()},mFH5:function(t,e,i){"use strict";i.d(e,"a",(function(){return y})),i.d(e,"b",(function(){return w})),i.d(e,"c",(function(){return D})),i.d(e,"d",(function(){return U})),i.d(e,"e",(function(){return M})),i.d(e,"f",(function(){return mt})),i.d(e,"g",(function(){return dt})),i.d(e,"h",(function(){return tt})),i.d(e,"i",(function(){return S})),i.d(e,"j",(function(){return K})),i.d(e,"k",(function(){return J})),i.d(e,"l",(function(){return G})),i.d(e,"m",(function(){return ct})),i.d(e,"n",(function(){return pt})),i.d(e,"o",(function(){return bt})),i.d(e,"p",(function(){return ht})),i.d(e,"q",(function(){return nt})),i.d(e,"r",(function(){return st})),i.d(e,"s",(function(){return et})),i.d(e,"t",(function(){return it})),i.d(e,"u",(function(){return H})),i.d(e,"v",(function(){return Q})),i.d(e,"w",(function(){return ft})),i.d(e,"x",(function(){return gt})),i.d(e,"y",(function(){return C})),i.d(e,"z",(function(){return R})),i.d(e,"A",(function(){return E})),i.d(e,"B",(function(){return k})),i.d(e,"C",(function(){return I})),i.d(e,"D",(function(){return T})),i.d(e,"E",(function(){return V}));var n=i("EM62"),s=i("sg/T"),o=i("E5oP");const r=new n.P("9.2.4");var a=i("2kYt"),c=i("5XID"),l=i("ZTXN"),u=i("IdLP"),h=i("cZZj"),d=(i("e4iD"),i("jIqt")),p=i("5lCh"),f=i("fAiE");const g=["*",[["mat-option"],["ng-container"]]],b=["*","mat-option, ng-container"];function m(t,e){if(1&t&&n.Nb(0,"mat-pseudo-checkbox",3),2&t){const t=n.dc();n.kc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const A=["*"];let y=(()=>{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 v=new n.P("9.2.4"),_=new n.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let S=(()=>{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)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Object(n.W)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const i=e.createElement("div");i.classList.add("mat-theme-loaded-marker"),e.body.appendChild(i);const n=getComputedStyle(i);n&&"none"!==n.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"),e.body.removeChild(i)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&v.full!==r.full&&console.warn("The Angular Material version ("+v.full+") does not match the Angular CDK version ("+r.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)(n.Wb(s.j),n.Wb(_,8),n.Wb(a.e,8))},imports:[[o.a],o.a]}),t})();function E(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(c.c)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const i=t||e;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),i&&this._elementRef.nativeElement.classList.add("mat-"+i),this._color=i)}}}function R(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(c.c)(t)}}}function T(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function k(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}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.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const O=new n.r("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(n.V)(n.v)}});class D{constructor(){this._localeChanges=new l.a}get localeChanges(){return this._localeChanges}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 M=new n.r("mat-date-formats");let P;try{P="undefined"!=typeof Intl}catch(At){P=!1}const x={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"]},N=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"]},F=/^\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 D{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 x[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 N}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){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);let n=this._createDateWithOverflow(t,e,i);if(n.getMonth()!=e)throw Error(`Invalid date "${i}" for month with index "${e}".`);return 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(F.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(t,e,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(O,8),n.Wb(h.a))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[{provide:D,useClass:H}],imports:[[h.b]]}),t})();const j={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 G=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[{provide:M,useValue:j}],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=Object(n.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function V(t,e,i="mat"){t.changes.pipe(Object(d.a)(t)).subscribe(({length:t})=>{q(e,i+"-2-line",!1),q(e,i+"-3-line",!1),q(e,i+"-multi-line",!1),2===t||3===t?q(e,`${i}-${t}-line`,!0):t>3&&q(e,i+"-multi-line",!0)})}function q(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let J=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[S],S]}),t})();class W{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Z={enterDuration:450,exitDuration:400},Y=Object(h.f)({passive:!0}),$=["mousedown","touchstart"],X=["mouseup","mouseleave","touchend","touchcancel"];class Q{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=Object(c.e)(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},Z),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 W(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({},Z),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())}setupTriggerEvents(t){const e=Object(c.e)(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(X),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(s.l)(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,Y)})})}_removeTriggerEvents(){this._triggerElement&&($.forEach(t=>{this._triggerElement.removeEventListener(t,this,Y)}),this._pointerUpEventsRegistered&&X.forEach(t=>{this._triggerElement.removeEventListener(t,this,Y)}))}}const tt=new n.r("mat-ripple-global-options");let et=(()=>{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 Q(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){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()}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.Mb(n.l),n.Mb(n.A),n.Mb(h.a),n.Mb(tt,8),n.Mb(p.a,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&n.Eb("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})(),it=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[S,h.b],S]}),t})(),nt=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(p.a,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&n.Eb("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})(),st=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t})();class ot{}const rt=E(ot);let at=0,ct=(()=>{class t extends rt{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+at++}}return t.\u0275fac=function(e){return lt(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(n.Bb("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),n.Eb("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[n.xb],ngContentSelectors:b,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(n.jc(g),n.Sb(0,"label",0),n.Jc(1),n.ic(2),n.Rb(),n.ic(3,1)),2&t&&(n.kc("id",e._labelId),n.Ab(1),n.Lc("",e.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();const lt=n.Ub(ct);let ut=0;class ht{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const dt=new n.r("MAT_OPTION_PARENT_COMPONENT");let pt=(()=>{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.o,this._stateChanges=new l.a}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=Object(c.c)(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!==f.g&&t.keyCode!==f.o||Object(f.t)(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.Mb(n.l),n.Mb(n.h),n.Mb(dt,8),n.Mb(ct,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&n.Zb("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(n.Vb("id",e.id),n.Bb("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),n.Eb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:A,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(n.jc(),n.Hc(0,m,1,2,"mat-pseudo-checkbox",0),n.Sb(1,"span",1),n.ic(2),n.Rb(),n.Nb(3,"div",2)),2&t&&(n.kc("ngIf",e.multiple),n.Ab(3),n.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.t,et,nt],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}.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}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.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 ft(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),o=0;for(let e=0;ei+n?Math.max(0,s-n+e):i}let bt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[it,a.c,st]]}),t})();const mt=new n.r("mat-label-global-options")},mPlY:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("OZ4H"),s=i("FlRo"),o=i("X2Q7"),r=i("EM62"),a=i("2kYt"),c=i("PBFl"),l=i("csyo"),u=i("s2Ay");function h(t,e){1&t&&r.Nb(0,"mat-spinner",6)}function d(t,e){1&t&&r.Nb(0,"th",15)}function p(t,e){if(1&t&&(r.Sb(0,"td",16),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.Ab(1),r.Lc(" ",t.tagName," ")}}function f(t,e){1&t&&r.Nb(0,"tr",17)}function g(t,e){1&t&&r.Nb(0,"tr",18)}function b(t,e){if(1&t&&(r.Sb(0,"div",7),r.Sb(1,"p"),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Sb(4,"div",8),r.Jc(5),r.ec(6,"translate"),r.Rb(),r.Sb(7,"table",9),r.Qb(8,10),r.Hc(9,d,1,0,"th",11),r.Hc(10,p,2,1,"td",12),r.Pb(),r.Hc(11,f,1,0,"tr",13),r.Hc(12,g,1,0,"tr",14),r.Rb(),r.Rb()),2&t){const t=r.dc();r.Ab(2),r.Lc(" ",r.fc(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),r.Ab(3),r.Lc(" ",r.fc(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),r.Ab(2),r.kc("dataSource",t.dataSource),r.Ab(4),r.kc("matHeaderRowDef",t.displayedColumns),r.Ab(1),r.kc("matRowDefColumns",t.displayedColumns)}}let m=(()=>{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 s.o(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)},t=>this.dialogRef.close(!0))}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(n.i),r.Mb(n.a),r.Mb(o.m))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"div"),r.Sb(1,"h1",0),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,h,1,0,"mat-spinner",1),r.Hc(5,b,13,9,"div",2),r.Sb(6,"div",3),r.Sb(7,"button",4),r.Zb("click",(function(){return e.onCancel()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Sb(10,"button",5),r.Zb("click",(function(){return e.onSubmit()})),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Cb(e.theme),r.Ab(2),r.Kc(r.fc(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading),r.Ab(3),r.Lc(" ",r.fc(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),r.Ab(2),r.kc("disabled",e.loading),r.Ab(1),r.Lc(" ",r.fc(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[n.j,a.t,n.c,c.b,l.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l],pipes:[u.d],styles:[""]}),t})()},mSaU:function(t,e,i){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,l=0;r=c.exec(t);)if(a[decodeURIComponent(r[1])]=decodeURIComponent(r[2]),l++>50)return n.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var u 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,f=e.response_type,g=void 0===f?l:f,b=e.scope,m=void 0===b?u:b,A=e.redirect_uri,y=e.post_logout_redirect_uri,w=e.prompt,v=e.display,_=e.max_age,S=e.ui_locales,E=e.acr_values,C=e.resource,R=e.response_mode,T=e.filterProtocolClaims,k=void 0===T||T,I=e.loadUserInfo,O=void 0===I||I,D=e.staleStateAge,M=void 0===D?900:D,P=e.clockSkew,x=void 0===P?300:P,N=e.userInfoJwtIssuer,L=void 0===N?"OP":N,F=e.stateStore,z=void 0===F?new r.WebStorageStateStore:F,H=e.ResponseValidatorCtor,B=void 0===H?a.ResponseValidator:H,j=e.MetadataServiceCtor,G=void 0===j?c.MetadataService:j,U=e.extraQueryParams,K=void 0===U?{}:U,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=o,this._signingKeys=h,this._client_id=d,this._client_secret=p,this._response_type=g,this._scope=m,this._redirect_uri=A,this._post_logout_redirect_uri=y,this._prompt=w,this._display=v,this._max_age=_,this._ui_locales=S,this._acr_values=E,this._resource=C,this._response_mode=R,this._filterProtocolClaims=!!k,this._loadUserInfo=!!O,this._staleStateAge=M,this._clockSkew=x,this._userInfoJwtIssuer=L,this._stateStore=z,this._validator=new B(this),this._metadataService=new G(this),this._extraQueryParams="object"===(void 0===K?"undefined":n(K))?K:{},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 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 l in e){var u=e[l];u&&(c.length>0&&(c+="&"),c+=encodeURIComponent(l),c+="=",c+=encodeURIComponent(u))}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,l=e.prompt,u=e.display,h=e.max_age,d=e.ui_locales,p=e.id_token_hint,f=e.login_hint,g=e.acr_values,b=e.resource,m=e.request,A=e.request_uri,y=e.response_mode,w=e.extraQueryParams,v=e.extraTokenParams,_=e.request_type,S=e.skipUserInfo,E=arguments[1];s.Log.debug("OidcClient.createSigninRequest");var C=this._settings.client_id;n=n||this._settings.scope,o=o||this._settings.redirect_uri,l=l||this._settings.prompt,u=u||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,g=g||this._settings.acr_values,b=b||this._settings.resource,y=y||this._settings.response_mode,w=w||this._settings.extraQueryParams,v=v||this._settings.extraTokenParams;var R=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 T=new a.SigninRequest({url:e,client_id:C,redirect_uri:o,response_type:i,scope:n,data:r||c,authority:R,prompt:l,display:u,max_age:h,ui_locales:d,id_token_hint:p,login_hint:f,acr_values:g,resource:b,request:m,request_uri:A,extraQueryParams:w,extraTokenParams:v,request_type:_,response_mode:y,client_secret:t._settings.client_secret,skipUserInfo:S}),k=T.state;return(E=E||t._stateStore).set(k.id,k.toStorageString()).then((function(){return T}))}))},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,u=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 l.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"),(u=u||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 u.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 l=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 l.name="ErrorResponse",l.error=s,l.error_description=o,l.error_uri=r,l.state=a,l.session_state=c,l}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,l=e.scope,u=e.authority,h=e.data,d=e.prompt,p=e.display,f=e.max_age,g=e.ui_locales,b=e.id_token_hint,m=e.login_hint,A=e.acr_values,y=e.resource,w=e.response_mode,v=e.request,_=e.request_uri,S=e.extraQueryParams,E=e.request_type,C=e.client_secret,R=e.extraTokenParams,T=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(!l)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!u)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var k=t.isOidc(c),I=t.isCode(c);w||(w=t.isCode(c)?"query":null),this.state=new o.SigninState({nonce:k,data:h,client_id:r,authority:u,redirect_uri:a,code_verifier:I,request_type:E,response_mode:w,client_secret:C,scope:l,extraTokenParams:R,skipUserInfo:T}),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",l),i=s.UrlUtility.addQueryParam(i,"state",this.state.id),k&&(i=s.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),I&&(i=s.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=s.UrlUtility.addQueryParam(i,"code_challenge_method","S256"));var O={prompt:d,display:p,max_age:f,ui_locales:g,id_token_hint:b,login_hint:m,acr_values:A,resource:y,request:v,request_uri:_,response_mode:w};for(var D in O)O[D]&&(i=s.UrlUtility.addQueryParam(i,D,O[D]));for(var M in S)i=s.UrlUtility.addQueryParam(i,M,S[M]);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,l=i.code_verifier,u=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===l?g._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():l&&(g._code_verifier=l),g.code_verifier){var b=r.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=r.JoseUtil.hexToBase64Url(b)}return g._redirect_uri=c,g._authority=s,g._client_id=o,g._response_mode=u,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}(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 l=new r._XMLHttpRequestCtor;l.open("POST",t),l.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",l.status),200===l.status?a():c(Error(l.statusText+" ("+l.status+")"))},l.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),c("Network Error")};var u="client_id="+encodeURIComponent(e);i&&(u+="&client_secret="+encodeURIComponent(i)),u+="&token_type_hint="+encodeURIComponent(o),u+="&token="+encodeURIComponent(s),l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),l.send(u)}))},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]:l.JoseUtil,u=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 u(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 l=t.client_id,u=i._settings.clockSkew;return s.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",u),i._joseUtil.validateJwt(e.id_token,c,r,l,u).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,l=i._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",l),i._joseUtil.validateJwt(e.responseText,a,t,c,l,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=l.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 u.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 u.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=l.extend({reset:function(){this._data=new u.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,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 l=0;l>>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=m,i=(s=e.lib).WordArray,n=s.Hasher,s=e.algo,o=[],r=[],a=function(t){return 4294967296*(t-(0|t))|0},c=2,l=0;64>l;){var u;t:{for(var h=t.sqrt(u=c),d=2;d<=h;d++)if(!(u%d)){u=!1;break t}u=!0}u&&(8>l&&(o[l]=a(t.pow(c,.5))),r[l]=a(t.pow(c,1/3)),l++),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],l=i[5],u=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&l^~c&u)+r[d]+p[d],g=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&s^n&o^s&o),h=u,u=l,l=c,c=a+f|0,a=o,o=s,s=n,n=f+g|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]+l|0,i[6]=i[6]+u|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=m,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],l=h[5],u=h[6],h=h[7],d=i.high,p=i.low,f=n.high,g=n.low,b=s.high,m=s.low,A=o.high,y=o.low,w=c.high,v=c.low,_=l.high,S=l.low,E=u.high,C=u.low,R=h.high,T=h.low,k=d,I=p,O=f,D=g,M=b,P=m,x=A,N=y,L=w,F=v,z=_,H=S,B=E,j=C,G=R,U=T,K=0;80>K;K++){var V=a[K];if(16>K)var q=V.high=0|t[e+2*K],J=V.low=0|t[e+2*K+1];else{q=((J=(q=a[K-15]).high)>>>1|(W=q.low)<<31)^(J>>>8|W<<24)^J>>>7;var W=(W>>>1|J<<31)^(W>>>8|J<<24)^(W>>>7|J<<25),Z=((J=(Z=a[K-2]).high)>>>19|(Y=Z.low)<<13)^(J<<3|Y>>>29)^J>>>6,Y=(Y>>>19|J<<13)^(Y<<3|J>>>29)^(Y>>>6|J<<26),$=(J=a[K-7]).high,X=(Q=a[K-16]).high,Q=Q.low;q=(q=(q=q+$+((J=W+J.low)>>>0>>0?1:0))+Z+((J+=Y)>>>0>>0?1:0))+X+((J+=Q)>>>0>>0?1:0),V.high=q,V.low=J}V=k&O^k&M^O&M;var tt=I&D^I&P^D&P,et=(W=(k>>>28|I<<4)^(k<<30|I>>>2)^(k<<25|I>>>7),Z=(I>>>28|k<<4)^(I<<30|k>>>2)^(I<<25|k>>>7),(Y=r[K]).high),it=Y.low;X=(X=(X=(X=G+((L>>>14|F<<18)^(L>>>18|F<<14)^(L<<23|F>>>9))+((Y=U+((F>>>14|L<<18)^(F>>>18|L<<14)^(F<<23|L>>>9)))>>>0>>0?1:0))+($=L&z^~L&B)+((Y+=Q=F&H^~F&j)>>>0>>0?1:0))+et+((Y+=it)>>>0>>0?1:0))+q+((Y+=J)>>>0>>0?1:0),G=B,U=j,B=z,j=H,z=L,H=F,L=x+X+((F=N+Y|0)>>>0>>0?1:0)|0,x=M,N=P,M=O,P=D,O=k,D=I,k=X+(V=W+V+((J=Z+tt)>>>0>>0?1:0))+((I=Y+J|0)>>>0>>0?1:0)|0}p=i.low=p+I,i.high=d+k+(p>>>0>>0?1:0),g=n.low=g+D,n.high=f+O+(g>>>0>>0?1:0),m=s.low=m+P,s.high=b+M+(m>>>0

>>0?1:0),y=o.low=y+N,o.high=A+x+(y>>>0>>0?1:0),v=c.low=v+F,c.high=w+L+(v>>>0>>0?1:0),S=l.low=S+H,l.high=_+z+(S>>>0>>0?1:0),C=u.low=C+j,u.high=E+B+(C>>>0>>0?1:0),T=h.low=T+U,h.high=R+G+(T>>>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=(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 A,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 v(t){var e,i,n,s="",o=0;for(e=0;e>2),i=3&n,o=1):1==o?(s+=k(i<<2|n>>4),i=15&n,o=2):2==o?(s+=k(i),s+=k(n>>2),i=3&n,o=3):(s+=k(i<<2|n>>4),s+=k(15&n),o=0));return 1==o&&(s+=k(i<<2)),s}function _(t){var e,i=v(t),n=new Array;for(e=0;2*e>15;--o>=0;){var c=32767&this[t],l=this[t++]>>15,u=a*c+l*r;s=((c=r*c+((32767&u)<<15)+i[n]+(1073741823&s))>>>30)+(u>>>15)+a*l+(s>>>30),i[n++]=1073741823&c}return s},A=30):"Netscape"!=n.appName?(S.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},A=26):(S.prototype.am=function(t,e,i,n,s,o){for(var r=16383&e,a=e>>14;--o>=0;){var c=16383&this[t],l=this[t++]>>14,u=a*c+l*r;s=((c=r*c+((16383&u)<<14)+i[n]+s)>>28)+(u>>14)+a*l,i[n++]=268435455&c}return s},A=28),S.prototype.DB=A,S.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 M(t){this.m=t}function P(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 H(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function B(){}function j(t){return t}function G(t){this.r2=E(),this.q3=E(),S.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}M.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},M.prototype.revert=function(t){return t},M.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},M.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},M.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},P.prototype.convert=function(t){var e=E();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(S.ZERO)>0&&this.m.subTo(e,e),e},P.prototype.revert=function(t){var e=E();return t.copyTo(e),this.reduce(e),e},P.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)},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)},S.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},S.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},S.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]:I(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},S.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},S.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()},S.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()},S.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()},S.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 l=o.t,u=o[l-1];if(0!=u){var h=u*(1<1?o[l-2]>>this.F2:0),d=this.FV/h,p=(1<=0&&(i[i.t++]=1,i.subTo(m,i)),S.ONE.dlShiftTo(l,m),m.subTo(o,o);o.t=0;){var A=i[--g]==u?this.DM:Math.floor(i[g]*d+(i[g-1]+f)*p);if((i[g]+=o.am(0,A,i,b,0,l))0&&i.rShiftTo(c,i),r<0&&S.ZERO.subTo(i,i)}}},S.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},S.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},S.prototype.exp=function(t,e){if(t>4294967295||t<1)return S.ONE;var i=E(),n=E(),s=e.convert(this),o=D(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)},S.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=k(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+=k(i));return s?o:"0"},S.prototype.negate=function(){var t=E();return S.ZERO.subTo(this,t),t},S.prototype.abs=function(){return this.s<0?this.negate():this},S.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},S.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+D(this[this.t-1]^this.s&this.DM)},S.prototype.mod=function(t){var e=E();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(S.ZERO)>0&&t.subTo(e,e),e},S.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new M(e):new P(e),this.exp(t,i)},S.ZERO=O(0),S.ONE=O(1),B.prototype.convert=j,B.prototype.revert=j,B.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},B.prototype.sqrTo=function(t,e){t.squareTo(e)},G.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=E();return t.copyTo(e),this.reduce(e),e},G.prototype.revert=function(t){return t},G.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)},G.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},G.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var U,K,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],J=(1<<26)/q[q.length-1];function W(){this.i=0,this.j=0,this.S=new Array}function Z(){!function(t){K[V++]^=255&t,K[V++]^=t>>8&255,K[V++]^=t>>16&255,K[V++]^=t>>24&255,V>=256&&(V-=256)}((new Date).getTime())}if(S.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},S.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=O(i),s=E(),o=E(),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},S.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&&S.ZERO.subTo(this,this)},S.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(S.ONE.shiftLeft(t-1),N,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(S.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()},S.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},S.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]}},S.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},S.prototype.millerRabin=function(t){var e=this.subtract(S.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=E(),o=0;o>24},S.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},S.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},S.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},S.prototype.equals=function(t){return 0==this.compareTo(t)},S.prototype.min=function(t){return this.compareTo(t)<0?this:t},S.prototype.max=function(t){return this.compareTo(t)>0?this:t},S.prototype.and=function(t){var e=E();return this.bitwiseTo(t,x,e),e},S.prototype.or=function(t){var e=E();return this.bitwiseTo(t,N,e),e},S.prototype.xor=function(t){var e=E();return this.bitwiseTo(t,L,e),e},S.prototype.andNot=function(t){var e=E();return this.bitwiseTo(t,F,e),e},S.prototype.not=function(){for(var t=E(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var u=E();for(n.sqrTo(r[1],u);a<=l;)r[a]=E(),n.mulTo(u,r[a-2],r[a]),a+=2}var h,d,p=t.t-1,f=!0,g=E();for(s=D(t[p])-1;p>=0;){for(s>=c?h=t[p]>>s-c&l:(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)r[h].copyTo(o),f=!1;else{for(;a>1;)n.sqrTo(o,g),n.sqrTo(g,o),a-=2;a>0?n.sqrTo(o,g):(d=o,o=g,g=d),n.mulTo(g,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(S.ONE)?S.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},S.prototype.pow=function(t){return this.exp(t,new B)},S.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},S.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=q[q.length-1]){for(e=0;e>>8,K[V++]=255&Y;V=0,Z()}function tt(){if(null==U){for(Z(),(U=new W).init(K),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 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?S.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 S(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=lt.crypto.MessageDigest,o=lt.crypto.Util,r=null;if(i||(i="sha1"),"string"==typeof i&&(r=s.getCanonicalAlgName(i),n=s.getHashLength(r),i=function(t){return St(o.hashHex(Et(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(S.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(S.ZERO))},rt.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(S.ZERO)&&!this.y.toBigInteger().equals(S.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(S.ZERO.equals(i))return S.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new S("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),l=e.square().multiply(this.z),u=l.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(l.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(u),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 S("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);S.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),l=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new rt(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(c),l)},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 S("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 S(i,16)),this.fromBigInteger(new S(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 S(n),r=new S(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 S(n,16),r=new S(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(S.valueOf(2)),e=this.curve.fromBigInteger(S.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 S("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(S.ONE)<0||e.compareTo(t.subtract(S.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(S.ONE)<0||i.compareTo(t.subtract(S.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,l,u=n.match(t),h=u[0],d=!1;"{"===h?c={}:"["===h?c=[]:(c=[],d=!0);for(var p=[c],f=1-d,g=u.length;f=0;)delete s[o[u]]}return a.call(e,n,s)}({"":c},"")),c}}();void 0!==lt&<||(e.KJUR=lt={}),void 0!==lt.asn1&<.asn1||(lt.asn1={}),lt.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""}},lt.asn1.DERAbstractString=function(t){lt.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))},o.lang.extend(lt.asn1.DERAbstractString,lt.asn1.ASN1Object),lt.asn1.DERAbstractTime=function(t){lt.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=bt(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(lt.asn1.DERAbstractTime,lt.asn1.ASN1Object),lt.asn1.DERAbstractStructured=function(t){lt.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(lt.asn1.DERAbstractStructured,lt.asn1.ASN1Object),lt.asn1.DERBoolean=function(){lt.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},o.lang.extend(lt.asn1.DERBoolean,lt.asn1.ASN1Object),lt.asn1.DERInteger=function(t){lt.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=lt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new S(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(lt.asn1.DERInteger,lt.asn1.ASN1Object),lt.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=lt.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}lt.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 Lt(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?Nt(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 Ft(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&&(u=u+"."+c.join(".")),u},dt.dump=function(t,e,i,n){var s=dt,o=s.getV,r=s.dump,a=s.getChildIdx,c=t;t instanceof lt.asn1.ASN1Object&&(c=t.getEncodedHex());var l=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 u=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 "+l(h=o(c,i),u)+"\n";if("03"==c.substr(i,2))return n+"BITSTRING "+l(h=o(c,i),u)+"\n";if("04"==c.substr(i,2)){var h=o(c,i);return s.isASN1HEX(h)?(_=n+"OCTETSTRING, encapsulates\n")+r(h,e,0,n+" "):n+"OCTETSTRING "+l(h,u)+"\n"}if("05"==c.substr(i,2))return n+"NULL\n";if("06"==c.substr(i,2)){var d=o(c,i),p=lt.asn1.ASN1Util.oidHexToInt(d),f=lt.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 '"+_t(o(c,i))+"'\n";if("13"==c.substr(i,2))return n+"PrintableString '"+_t(o(c,i))+"'\n";if("14"==c.substr(i,2))return n+"TeletexString '"+_t(o(c,i))+"'\n";if("16"==c.substr(i,2))return n+"IA5String '"+_t(o(c,i))+"'\n";if("17"==c.substr(i,2))return n+"UTCTime "+_t(o(c,i))+"\n";if("18"==c.substr(i,2))return n+"GeneralizedTime "+_t(o(c,i))+"\n";if("30"==c.substr(i,2)){if("3000"==c.substr(i,4))return n+"SEQUENCE {}\n";_=n+"SEQUENCE\n";var b=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(o(c,y[0]));var m=JSON.parse(JSON.stringify(e));m.x509ExtName=f,b=m}for(var A=0;As)throw"key is too short for SigAlg: keylen="+i+","+e;for(var o="0001",r="00"+n,a="",c=s-o.length-r.length,l=0;l=0)return!1;if(i.compareTo(S.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:S.fromByteArrayUnsigned(i),s:S.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:S.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:S.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){var e,i,n,s=lt.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=lt.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=lt.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=lt.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))},lt.crypto.ECDSA.parseSigHex=function(t){var e=lt.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new S(e.r,16),s:new S(e.s,16)}},lt.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)}},lt.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=lt.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},lt.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 lt.crypto.ECDSA.hexRSSigToASN1Sig(e,i)},lt.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var i=new S(t,16),n=new S(e,16);return lt.crypto.ECDSA.biRSSigToASN1Sig(i,n)},lt.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var i=lt.asn1,n=new i.DERInteger({bigint:t}),s=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,s]}).getEncodedHex()},lt.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!==lt&<||(e.KJUR=lt={}),void 0!==lt.crypto&<.crypto||(lt.crypto={}),lt.crypto.ECParameterDB=new function(){var t={},e={};function i(t){return new S(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,l,u,h,d,p,f){t[n]={};var g=i(o),b=i(r),m=i(a),A=i(c),y=i(l),w=new at(g,b,m),v=w.decodePointHex("04"+u+h);t[n].name=n,t[n].keylen=s,t[n].curve=w,t[n].G=v,t[n].n=A,t[n].h=y,t[n].oid=p,t[n].info=f;for(var _=0;_=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=m.enc.Base64.parse(t),r=m.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,l=r(n,e,s).keyhex;return a(c,n,l,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=m.lib.WordArray.random(t);return m.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 l=i(e,a[0]);if(2!=l.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+l.length;if("2a864886f70d01050c"!=n(e,l[0]))throw"this only supports pkcs5PBKDF2";var u=i(e,l[1]);if(u.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+u.length;s.pbkdf2Salt=n(e,u[0]);var h=n(e,u[1]);try{s.pbkdf2Iter=parseInt(h,16)}catch(t){throw"malformed format pbkdf2Iter: "+h}return s},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=It(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),s=Ht.getPBKDF2KeyHexFromParam(n,e),o={};o.ciphertext=m.enc.Hex.parse(n.ciphertext);var r=m.enc.Hex.parse(s),a=m.enc.Hex.parse(n.encryptionSchemeIV),c=m.TripleDES.decrypt(o,r,{iv:a});return m.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=It(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 lt.crypto.DSA;else{if("2a8648ce3d0201"!=i.algoid)throw"unsupported private key algorithm";e=new lt.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 lt.crypto.DSA;else{if("2a8648ce3d0201"!==i)throw"unsupported PKCS#8 public key hex";e=new lt.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}}}();Ht.getKey=function(t,e,i){var n,s=(m=dt).getChildIdx,o=m.getVbyList,r=lt.crypto,a=r.ECDSA,c=r.DSA,l=st,u=It,h=Ht;if(void 0!==l&&t instanceof l)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(I=new l).setPublic(t.n,t.e),I;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(I=new l).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),I;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(I=new l).setPrivate(t.n,t.e,t.d),I;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(I=new c).setPublic(t.p,t.q,t.g,t.y),I;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(I=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),I;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(I=new l).setPublic(wt(t.n),wt(t.e)),I;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(I=new l).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)),I;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(I=new l).setPrivate(wt(t.n),wt(t.e),wt(t.d)),I;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(k=new a({curve:t.crv})).ecparams.keylen/4,p="04"+("0000000000"+wt(t.x)).slice(-d)+("0000000000"+wt(t.y)).slice(-d);return k.setPublicKeyHex(p),k}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(k=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 k.setPublicKeyHex(p),k.setPrivateKeyHex(f),k}if("pkcs5prv"===i){var g,b=t,m=dt;if(9===(g=s(b,0)).length)(I=new l).readPKCS5PrvKeyHex(b);else if(6===g.length)(I=new c).readPKCS5PrvKeyHex(b);else{if(!(g.length>2&&"04"===b.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(I=new a).readPKCS5PrvKeyHex(b)}return I}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(t);if("x509pub"===i)return Kt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Kt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var A=It(t,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(A)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var y=u(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=o(n=u(t,"DSA PRIVATE KEY"),0,[1],"02"),v=o(n,0,[2],"02"),_=o(n,0,[3],"02"),E=o(n,0,[4],"02"),C=o(n,0,[5],"02");return(I=new c).setPrivate(new S(w,16),new S(v,16),new S(_,16),new S(E,16),new S(C,16)),I}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 R=h.getDecryptedKeyHex(t,e),T=new st;return T.readPKCS5PrvKeyHex(R),T}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var k,I=o(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),O=o(n,0,[2,0],"06"),D=o(n,0,[3,0],"03").substr(2);if(void 0===lt.crypto.OID.oidhex2name[O])throw"undefined OID(hex) in KJUR.crypto.OID: "+O;return(k=new a({curve:lt.crypto.OID.oidhex2name[O]})).setPublicKeyHex(D),k.setPrivateKeyHex(I),k.isPublic=!1,k}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return w=o(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),v=o(n,0,[2],"02"),_=o(n,0,[3],"02"),E=o(n,0,[4],"02"),C=o(n,0,[5],"02"),(I=new c).setPrivate(new S(w,16),new S(v,16),new S(_,16),new S(E,16),new S(C,16)),I;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},Ht.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,l=new lt.crypto.ECDSA({curve:c}).generateKeyPairHex();return(r=new lt.crypto.ECDSA({curve:c})).setPublicKeyHex(l.ecpubhex),r.setPrivateKeyHex(l.ecprvhex),r.isPrivate=!0,r.isPublic=!1,(n=new lt.crypto.ECDSA({curve:c})).setPublicKeyHex(l.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=r,a.pubKeyObj=n,a}throw"unknown algorithm: "+t},Ht.getPEM=function(t,e,i,n,s,o){var r=lt.asn1,a=r.DERObjectIdentifier,c=r.DERInteger,l=r.ASN1Util.newObject,u=lt.crypto,h=u.DSA,d=u.ECDSA,p=st;function f(t){return l({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 l({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function b(t){return l({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 kt(v=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 kt(v=f(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===i||null==i)&&1==t.isPrivate){var A=new a({name:t.curveName}).getEncodedHex(),y=g(t).getEncodedHex(),w="";return(w+=kt(A,"EC PARAMETERS"))+kt(y,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return kt(v=b(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==p&&t instanceof p&&void 0!==i&&null!=i&&1==t.isPrivate){var v=f(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",v,i,n,o)}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,o);if("PKCS5PRV"==e&&void 0!==h&&t instanceof h&&void 0!==i&&null!=i&&1==t.isPrivate)return v=b(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",v,i,n,o);var _=function(t,e){var i=S(t,e);return new l({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()},S=function(t,e){var i=m.lib.WordArray.random(8),n=m.lib.WordArray.random(8),s=m.PBKDF2(e,i,{keySize:6,iterations:100}),o=m.enc.Hex.parse(t),r=m.TripleDES.encrypt(o,s,{iv:n})+"",a={};return a.ciphertext=r,a.pbkdf2Salt=m.enc.Hex.stringify(i),a.pbkdf2Iter=100,a.encryptionSchemeAlg="DES-EDE3-CBC",a.encryptionSchemeIV=m.enc.Hex.stringify(n),a};if("PKCS8PRV"==e&&null!=p&&t instanceof p&&1==t.isPrivate){var E=f(t).getEncodedHex();return v=l({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:E}}]}).getEncodedHex(),void 0===i||null==i?kt(v,"PRIVATE KEY"):kt(y=_(v,i),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return E=new l({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),v=l({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:E}}]}).getEncodedHex(),void 0===i||null==i?kt(v,"PRIVATE KEY"):kt(y=_(v,i),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==h&&t instanceof h&&1==t.isPrivate)return E=new c({bigint:t.x}).getEncodedHex(),v=l({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:E}}]}).getEncodedHex(),void 0===i||null==i?kt(v,"PRIVATE KEY"):kt(y=_(v,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Ht.getKeyFromCSRPEM=function(t){var e=It(t,"CERTIFICATE REQUEST");return Ht.getKeyFromCSRHex(e)},Ht.getKeyFromCSRHex=function(t){var e=Ht.parseCSRHex(t);return Ht.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Ht.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},Ht.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 lt.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 lt.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]),o=i(t,e[2]),r=i(t,e[3]),a=i(t,e[4]),c=i(t,e[5]),l=i(t,e[6]),u=i(t,e[7]),h=i(t,e[8]);return(e=new Array).push(n,s,o,r,a,c,l,u,h),e},st.prototype.readPrivateKeyFromPEMString=function(t){var e=It(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,l=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=l(t,0,[2,0,1],"02"),i=l(t,0,[2,0,2],"02"),n=l(t,0,[2,0,3],"02"),s=l(t,0,[2,0,4],"02"),o=l(t,0,[2,0,5],"02"),r=l(t,0,[2,0,6],"02"),a=l(t,0,[2,0,7],"02"),c=l(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 Kt).readCertHex(t),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var Bt=new RegExp("");function jt(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 Ut(t){for(var e in lt.crypto.Util.DIGESTINFOHEAD){var i=lt.crypto.Util.DIGESTINFOHEAD[e],n=i.length;if(t.substring(0,n)==i)return[e,t.substring(n)]}return[]}function Kt(){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,l=Kt,u=It;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 l.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return o(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return l.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 Ht.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 lt.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&&(l=new Array(i),(new et).nextBytes(l),l=String.fromCharCode.apply(String,l));var u=St(c(Et("\0\0\0\0\0\0\0\0"+s+l))),h=[];for(n=0;n>8*a-r&255),n=0;nthis.n.bitLength())return 0;var n=Ut(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var s=n[0];return n[1]==function(t){return lt.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=Ut(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 lt.crypto.Util.hashHex(t,i)}(Et(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(s,e,i,n)},st.prototype.verifyWithMessageHashPSS=function(t,e,i,n){var s=new S(e,16);if(s.bitLength()>this.n.bitLength())return!1;var o,r=function(t){return lt.crypto.Util.hashHex(t,i)},a=St(t),c=a.length,l=this.n.bitLength()-1,u=Math.ceil(l/8);if(-1===n||void 0===n)n=c;else if(-2===n)n=u-c-2;else if(n<-2)throw"invalid salt length";if(u>8*u-l&255;if(0!=(d.charCodeAt(0)&f))throw"bits beyond keysize not zero";var g=Gt(p,d.length,r),b=[];for(o=0;o0&&-1==(":"+n.join(":")+":").indexOf(":"+b+":"))throw"algorithm '"+b+"' not accepted in the list";if("none"!=b&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Ht.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 m=null;if(void 0===o.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+b;if("none"==(m=o.jwsalg2sigalg[b]))throw"not supported";if("Hmac"==m.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var A=new l({alg:m,pass:e});return A.updateString(p),f==A.doFinal()}if(-1!=m.indexOf("withECDSA")){var y,w=null;try{w=c.concatSigToASN1Sig(f)}catch(t){return!1}return(y=new u({alg:m})).init(e),y.updateString(p),y.verify(w)}return(y=new u({alg:m})).init(e),y.updateString(p),y.verify(f)},lt.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=lt.jws.JWS.readSafeJSONString(ht(n[0])),s.payloadObj=lt.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},lt.jws.JWS.verifyJWT=function(t,e,n){var s=lt.jws,o=s.JWS,r=o.readSafeJSONString,a=o.inArray,c=o.includedArray,l=t.split("."),u=l[0],h=l[1],d=(wt(l[2]),r(ht(u))),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 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=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().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 B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return j(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 b(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:m(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):m(t,[e],i,n,s);throw new TypeError("val must be string, number or Buffer")}function m(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 l(t,e){return 1===r?t[e]:t.readUInt16BE(e*r)}if(s){var u=-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 E(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:l>223?3:l>191?2:1;if(s+h<=i)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(o=t[s+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:r=t[s+2],128==(192&(o=t[s+1]))&&128==(192&r)&&(c=(15&l)<<12|(63&o)<<6|63&r)>2047&&(c<55296||c>57343)&&(u=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&l)<<18|(63&o)<<12|(63&r)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(n.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),n.push(u),s+=h}return function(t){var e=t.length;if(e<=R)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 I(this,e,i);case"utf8":case"utf-8":return C(this,e,i);case"ascii":return T(this,e,i);case"latin1":case"binary":return k(this,e,i);case"base64":return E(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(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),l=this.slice(n,s),u=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 A(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 v(this,t,e,i);case"base64":return _(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(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 R=4096;function T(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 M(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 P(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 x(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 N(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 L(t,e,i,n,o){return o||N(t,0,i,4),s.write(t,e,i,n,23,4),i+4}function F(t,e,i,n,o){return o||N(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,o=0;++o=(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,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||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||M(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||M(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||M(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||M(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||M(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):x(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);M(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);M(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||M(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||M(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||M(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,i){return L(this,t,e,!0,i)},c.prototype.writeFloatBE=function(t,e,i){return L(this,t,e,!1,i)},c.prototype.writeDoubleLE=function(t,e,i){return F(this,t,e,!0,i)},c.prototype.writeDoubleBE=function(t,e,i){return F(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 j(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function G(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=l(t),i=e[1];return 3*(e[0]+i)/4-i},e.toByteArray=function(t){for(var e,i=l(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,u=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 u(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,u=-7,h=i?s-1:0,d=i?-1:1,p=t[e+h];for(h+=d,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+t[e+h],h+=d,u-=8);for(r=o&(1<<-u)-1,o>>=-u,u+=n;u>0;r=256*r+t[e+h],h+=d,u-=8);if(0===o)o=1-l;else{if(o===c)return r?NaN:1/0*(p?-1:1);r+=Math.pow(2,n),o-=l}return(p?-1:1)*r*Math.pow(2,o-n)},e.write=function(t,e,i,n,s,o){var r,a,c,l=8*o-s-1,u=(1<>1,d=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-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,r=u):(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>=u?(a=0,r=u):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+=f,a/=256,s-=8);for(r=r<0;t[i+p]=255&r,p+=f,r/=256,l-=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,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,l,u,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,l,u,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 l=r+o,u=r-o;if(!c.iat)return n.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(l>>((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,l=e.extraQueryParams,u=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:u}),i=s.UrlUtility.addQueryParam(i,"state",this.state.id))),l)i=s.UrlUtility.addQueryParam(i,h,l[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]:l.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.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 r.UserManagerSettings||(i=new r.UserManagerSettings(i));var b=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 b._events=new c.UserManagerEvents(i),b._silentRenewService=new n(b),b.settings.automaticSilentRenew&&(s.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),b.startSilentRenew()),b.settings.monitorSession&&(s.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),b._sessionMonitor=new o(b)),b._tokenRevocationClient=new a(b._settings),b._tokenClient=new f(b._settings),b._joseUtil=g,b}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,f=i.silentRequestTimeout,g=i.automaticSilentRenew,b=void 0!==g&&g,m=i.validateSubOnSilentRenew,A=void 0!==m&&m,y=i.includeIdTokenInSilentRenew,w=void 0===y||y,v=i.monitorSession,_=void 0===v||v,S=i.monitorAnonymousSession,E=void 0!==S&&S,C=i.checkSessionInterval,R=void 0===C?2e3:C,T=i.stopCheckSessionOnError,k=void 0===T||T,I=i.query_status_response_type,O=i.revokeAccessTokenOnSignout,D=void 0!==O&&O,M=i.accessTokenExpiringNotificationTime,P=void 0===M?60:M,x=i.redirectNavigator,N=void 0===x?new o.RedirectNavigator:x,L=i.popupNavigator,F=void 0===L?new r.PopupNavigator:L,z=i.iframeNavigator,H=void 0===z?new a.IFrameNavigator:z,B=i.userStore,j=void 0===B?new c.WebStorageStateStore({store:l.Global.sessionStorage}):B;!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]));return G._popup_redirect_uri=n,G._popup_post_logout_redirect_uri=s,G._popupWindowFeatures=h,G._popupWindowTarget=d,G._silent_redirect_uri=p,G._silentRequestTimeout=f,G._automaticSilentRenew=b,G._validateSubOnSilentRenew=A,G._includeIdTokenInSilentRenew=w,G._accessTokenExpiringNotificationTime=P,G._monitorSession=_,G._monitorAnonymousSession=E,G._checkSessionInterval=R,G._stopCheckSessionOnError=k,G._query_status_response_type=I||(arguments[0]&&arguments[0].response_type?u.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),G._revokeAccessTokenOnSignout=D,G._redirectNavigator=N,G._popupNavigator=F,G._iframeNavigator=H,G._userStore=j,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),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;ti.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.a{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()}},ma6z:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("TkCa"),s=i("EM62"),o=i("sEIs");let r=(()=>{class t{constructor(){}ngOnInit(){}prepareRoute(t){return t&&t.activatedRouteData&&t.activatedRouteData.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Gb({type:t,selectors:[["app-animated-router-outlet"]],decls:3,vars:0,consts:[["outlet","outlet"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Nb(1,"router-outlet",null,0),s.Rb())},directives:[o.k],styles:[""],data:{animation:[n.a]}}),t})()},mawV:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("3lSR");function s(){return Object(n.a)(1)}},mjJC:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("EM62"),a=i("s2Ay"),c=i("2kYt"),l=i("PBFl"),u=i("csyo"),h=i("29Wa"),d=i("R7+U"),p=i("mFH5");function f(t,e){1&t&&r.Nb(0,"mat-spinner",7)}function g(t,e){if(1&t&&(r.Sb(0,"mat-option",13),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t),r.Ab(1),r.Lc(" ",t.friendlyNameParameter," ")}}function b(t,e){if(1&t&&(r.Sb(0,"mat-option",13),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t),r.Ab(1),r.Lc(" ",t," ")}}function m(t,e){if(1&t&&(r.Sb(0,"mat-option",13),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t),r.Ab(1),r.Lc(" ",t," ")}}function A(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",8),r.Sb(1,"mat-form-field"),r.Sb(2,"mat-label"),r.Jc(3),r.ec(4,"translate"),r.Rb(),r.Sb(5,"mat-select",9),r.Zb("valueChange",(function(e){return r.xc(t),r.dc().selectedLogin=e})),r.Hc(6,g,2,2,"mat-option",10),r.Rb(),r.Rb(),r.Sb(7,"mat-form-field"),r.Sb(8,"mat-label"),r.Jc(9),r.ec(10,"translate"),r.Rb(),r.Sb(11,"mat-select",9),r.Zb("valueChange",(function(e){return r.xc(t),r.dc().selectedLang=e})),r.Hc(12,b,2,2,"mat-option",10),r.Rb(),r.Rb(),r.Sb(13,"mat-form-field"),r.Sb(14,"mat-label"),r.Jc(15),r.ec(16,"translate"),r.Rb(),r.Sb(17,"mat-select",9),r.Zb("valueChange",(function(e){return r.xc(t),r.dc().selectedMail=e})),r.Hc(18,m,2,2,"mat-option",10),r.Rb(),r.Rb(),r.Sb(19,"div",11),r.Sb(20,"p",12),r.Jc(21),r.ec(22,"translate"),r.Rb(),r.Sb(23,"p"),r.Jc(24),r.Rb(),r.Rb(),r.Rb()}if(2&t){const t=r.dc();r.Ab(3),r.Kc(r.fc(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),r.Ab(2),r.kc("value",t.selectedLogin),r.Ab(1),r.kc("ngForOf",t.logins),r.Ab(3),r.Kc(r.fc(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),r.Ab(2),r.kc("value",t.selectedLang),r.Ab(1),r.kc("ngForOf",t.languages),r.Ab(3),r.Kc(r.fc(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),r.Ab(2),r.kc("value",t.selectedMail),r.Ab(1),r.kc("ngForOf",t.mails),r.Ab(3),r.Kc(r.fc(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),r.Ab(3),r.Kc(t.selectedLogin.value)}}let y=(()=>{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=["en","cz"],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.Mb(n.i),r.Mb(n.a),r.Mb(s.i),r.Mb(s.c),r.Mb(o.m),r.Mb(a.e),r.Mb(o.l))},t.\u0275cmp=r.Gb({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.Sb(0,"h1",0),r.Jc(1),r.ec(2,"translate"),r.Rb(),r.Sb(3,"div",1),r.Hc(4,f,1,0,"mat-spinner",2),r.Rb(),r.Hc(5,A,25,19,"div",3),r.Sb(6,"div",4),r.Sb(7,"button",5),r.Zb("click",(function(){return e.onCancel()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Sb(10,"button",6),r.Zb("click",(function(){return e.onSubmit()})),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),r.Ab(3),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading),r.Ab(3),r.Lc(" ",r.fc(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),r.Ab(2),r.kc("disabled",e.loading),r.Ab(1),r.Lc(" ",r.fc(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[n.j,c.t,n.c,l.b,u.c,n.g,h.c,h.g,d.a,c.s,p.n],pipes:[a.d],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),t})()},nIj0:function(t,e,i){"use strict";i.d(e,"a",(function(){return u})),i.d(e,"b",(function(){return Bt})),i.d(e,"c",(function(){return p})),i.d(e,"d",(function(){return Ut})),i.d(e,"e",(function(){return Pt})),i.d(e,"f",(function(){return $t})),i.d(e,"g",(function(){return ht})),i.d(e,"h",(function(){return Tt})),i.d(e,"i",(function(){return Lt})),i.d(e,"j",(function(){return It})),i.d(e,"k",(function(){return Dt})),i.d(e,"l",(function(){return Xt})),i.d(e,"m",(function(){return Jt})),i.d(e,"n",(function(){return Vt})),i.d(e,"o",(function(){return S})),i.d(e,"p",(function(){return c})),i.d(e,"q",(function(){return m})),i.d(e,"r",(function(){return y})),i.d(e,"s",(function(){return w})),i.d(e,"t",(function(){return bt})),i.d(e,"u",(function(){return St})),i.d(e,"v",(function(){return wt})),i.d(e,"w",(function(){return G})),i.d(e,"x",(function(){return P})),i.d(e,"y",(function(){return Zt})),i.d(e,"z",(function(){return L})),i.d(e,"A",(function(){return z})),i.d(e,"B",(function(){return Qt})),i.d(e,"C",(function(){return Ht})),i.d(e,"D",(function(){return j})),i.d(e,"E",(function(){return V})),i.d(e,"F",(function(){return R})),i.d(e,"G",(function(){return q})),i.d(e,"H",(function(){return Et}));var n=i("EM62"),s=i("2kYt"),o=i("P4Xx"),r=i("GoAz"),a=i("YtkY");const c=new n.r("NgValueAccessor"),l={provide:c,useExisting:Object(n.U)(()=>u),multi:!0};let u=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.F),n.Mb(n.l))},t.\u0275dir=n.Hb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&n.Zb("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[n.zb([l])]}),t})();const h={provide:c,useExisting:Object(n.U)(()=>p),multi:!0},d=new n.r("CompositionEventMode");let p=(()=>{class t{constructor(t,e,i){this._renderer=t,this._elementRef=e,this._compositionMode=i,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(s.M)()?Object(s.M)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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.Mb(n.F),n.Mb(n.l),n.Mb(d,8))},t.\u0275dir=n.Hb({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.Zb("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.zb([h])]}),t})(),f=(()=>{class t{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}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.Hb({type:t}),t})(),g=(()=>{class t extends f{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=n.Hb({type:t,features:[n.xb]}),t})();const b=n.Ub(g);class m extends f{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class A{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let y=(()=>{class t extends A{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(m,2))},t.\u0275dir=n.Hb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.Eb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[n.xb]}),t})(),w=(()=>{class t extends A{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(g,2))},t.\u0275dir=n.Hb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.Eb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[n.xb]}),t})();function v(t){return null==t||0===t.length}function _(t){return null!=t&&"number"==typeof t.length}const S=new n.r("NgValidators"),E=new n.r("NgAsyncValidators"),C=/^(?=.{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 R{static min(t){return e=>{if(v(e.value)||v(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(v(e.value)||v(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}static required(t){return v(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return v(t.value)||C.test(t.value)?null:{email:!0}}static minLength(t){return e=>v(e.value)||!_(e.value)?null:e.value.length_(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return R.nullValidator;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(v(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(T);return 0==e.length?null:function(t){return I(O(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(T);return 0==e.length?null:function(t){const i=O(t,e).map(k);return Object(o.a)(i).pipe(Object(a.a)(I))}}}function T(t){return null!=t}function k(t){const e=Object(n.sb)(t)?Object(r.a)(t):t;return Object(n.rb)(e),e}function I(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 O(t,e){return e.map(e=>e(t))}function D(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}const M={provide:c,useExisting:Object(n.U)(()=>P),multi:!0};let P=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.F),n.Mb(n.l))},t.\u0275dir=n.Hb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&n.Zb("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[n.zb([M])]}),t})();const x={provide:c,useExisting:Object(n.U)(()=>L),multi:!0};let N=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),L=(()=>{class t{constructor(t,e,i,n){this._renderer=t,this._elementRef=e,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(m),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.F),n.Mb(n.l),n.Mb(N),n.Mb(n.s))},t.\u0275dir=n.Hb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&n.Zb("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.zb([x])]}),t})();const F={provide:c,useExisting:Object(n.U)(()=>z),multi:!0};let z=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.F),n.Mb(n.l))},t.\u0275dir=n.Hb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&n.Zb("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[n.zb([F])]}),t})();const H={provide:c,useExisting:Object(n.U)(()=>j),multi:!0};function B(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let j=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const i=B(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_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(e){return new(e||t)(n.Mb(n.F),n.Mb(n.l))},t.\u0275dir=n.Hb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&n.Zb("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[n.zb([H])]}),t})(),G=(()=>{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(B(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.Mb(n.l),n.Mb(n.F),n.Mb(j,9))},t.\u0275dir=n.Hb({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const U={provide:c,useExisting:Object(n.U)(()=>V),multi:!0};function K(t,e){return null==t?""+e:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let V=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},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(K(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(K(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.Mb(n.l),n.Mb(n.F),n.Mb(V,9))},t.\u0275dir=n.Hb({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();function J(t,e){return[...e.path,t]}function W(t,e){t.validator=R.compose([t.validator,e.validator]),t.asyncValidator=R.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Z(t,e)})}(t,e),function(t,e){t.registerOnChange((t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Z(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Z(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Y(t,e){t.validator=R.compose([t.validator,e.validator]),t.asyncValidator=R.composeAsync([t.asyncValidator,e.asyncValidator])}function $(t){return null!=t?R.compose(D(t)):null}function X(t){return null!=t?R.composeAsync(D(t)):null}function Q(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}const tt=[u,z,P,j,V,L];function et(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function it(t,e){if(!e)return null;Array.isArray(e);let i=void 0,n=void 0,s=void 0;return e.forEach(t=>{var e;t.constructor===p?i=t:(e=t,tt.some(t=>e.constructor===t)?n=t:s=t)}),s||n||i||null}function nt(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function st(t,e,i,s){Object(n.W)()&&"never"!==s&&((null!==s&&"once"!==s||e._ngModelWarningSentOnce)&&("always"!==s||i._ngModelWarningSent)||(e._ngModelWarningSentOnce=!0,i._ngModelWarningSent=!0))}function ot(t){return(lt(t)?t.validators:t)||null}function rt(t){return Array.isArray(t)?$(t):t||null}function at(t,e){return(lt(e)?e.asyncValidators:t)||null}function ct(t){return Array.isArray(t)?X(t):t||null}function lt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ut{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=rt(this._rawValidators),this._composedAsyncValidatorFn=ct(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=rt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ct(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=k(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 dt?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof pt&&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.o,this.statusChanges=new n.o}_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){lt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ht extends ut{constructor(t=null,e,i){super(ot(e),at(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}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)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(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 dt extends ut{constructor(t,e,i){super(ot(e),at(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}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){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),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={}){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 ht?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=>t(this.controls[e],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 pt extends ut{constructor(t,e,i){super(ot(e),at(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),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={}){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 ht?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_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 ft={provide:g,useExisting:Object(n.U)(()=>bt)},gt=(()=>Promise.resolve(null))();let bt=(()=>{class t extends g{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.o,this.form=new dt({},$(t),X(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){gt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),W(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){gt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),nt(this._directives,t)})}addFormGroup(t){gt.then(()=>{const e=this._findContainer(t.path),i=new dt({});Y(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){gt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){gt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,et(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.Mb(S,10),n.Mb(E,10))},t.\u0275dir=n.Hb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&n.Zb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.zb([ft]),n.xb]}),t})(),mt=(()=>{class t extends g{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return $(this._validators)}get asyncValidator(){return X(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return At(e||t)},t.\u0275dir=n.Hb({type:t,features:[n.xb]}),t})();const At=n.Ub(mt),yt={provide:g,useExisting:Object(n.U)(()=>wt)};let wt=(()=>{class t extends mt{constructor(t,e,i){super(),this._parent=t,this._validators=e,this._asyncValidators=i}_checkParentType(){}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(g,5),n.Mb(S,10),n.Mb(E,10))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.zb([yt]),n.xb]}),t})();const vt={provide:m,useExisting:Object(n.U)(()=>St)},_t=(()=>Promise.resolve(null))();let St=(()=>{class t extends m{constructor(t,e,i,s){super(),this.control=new ht,this._registered=!1,this.update=new n.o,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=i||[],this.valueAccessor=it(0,s)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Q(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?J(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return $(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}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(){W(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){_t.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;_t.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.Mb(g,9),n.Mb(S,10),n.Mb(E,10),n.Mb(c,10))},t.\u0275dir=n.Hb({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.zb([vt]),n.xb,n.yb]}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Ct=new n.r("NgModelWithFormControlWarning"),Rt={provide:m,useExisting:Object(n.U)(()=>Tt)};let Tt=(()=>{class t extends m{constructor(t,e,i,s){super(),this._ngModelWarningConfig=s,this.update=new n.o,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=it(0,i)}set isDisabled(t){}ngOnChanges(e){this._isControlChanged(e)&&(W(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Q(e,this.viewModel)&&(st(0,t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return $(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}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.Mb(S,10),n.Mb(E,10),n.Mb(c,10),n.Mb(Ct,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.zb([Rt]),n.xb,n.yb]}),t._ngModelWarningSentOnce=!1,t})();const kt={provide:g,useExisting:Object(n.U)(()=>It)};let It=(()=>{class t extends g{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new n.o}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return W(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){nt(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Y(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Y(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(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,et(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=this.form.get(t.path);t.control!==e&&(function(t,e){const i=()=>{};e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&W(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=$(this._validators);this.form.validator=R.compose([this.form.validator,t]);const e=X(this._asyncValidators);this.form.asyncValidator=R.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(S,10),n.Mb(E,10))},t.\u0275dir=n.Hb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&n.Zb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.zb([kt]),n.xb,n.yb]}),t})();const Ot={provide:g,useExisting:Object(n.U)(()=>Dt)};let Dt=(()=>{class t extends mt{constructor(t,e,i){super(),this._parent=t,this._validators=e,this._asyncValidators=i}_checkParentType(){xt(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(g,13),n.Mb(S,10),n.Mb(E,10))},t.\u0275dir=n.Hb({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.zb([Ot]),n.xb]}),t})();const Mt={provide:g,useExisting:Object(n.U)(()=>Pt)};let Pt=(()=>{class t extends g{constructor(t,e,i){super(),this._parent=t,this._validators=e,this._asyncValidators=i}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return $(this._validators)}get asyncValidator(){return X(this._asyncValidators)}_checkParentType(){xt(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(g,13),n.Mb(S,10),n.Mb(E,10))},t.\u0275dir=n.Hb({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.zb([Mt]),n.xb]}),t})();function xt(t){return!(t instanceof Dt||t instanceof It||t instanceof Pt)}const Nt={provide:m,useExisting:Object(n.U)(()=>Lt)};let Lt=(()=>{class t extends m{constructor(t,e,i,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new n.o,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=i||[],this.valueAccessor=it(0,s)}set isDisabled(t){}ngOnChanges(e){this._added||this._setUpControl(),Q(e,this.viewModel)&&(st(0,t,this,this._ngModelWarningConfig),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 J(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return $(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}_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.Mb(g,13),n.Mb(S,10),n.Mb(E,10),n.Mb(c,10),n.Mb(Ct,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.zb([Nt]),n.xb,n.yb]}),t._ngModelWarningSentOnce=!1,t})();const Ft={provide:S,useExisting:Object(n.U)(()=>Ht),multi:!0},zt={provide:S,useExisting:Object(n.U)(()=>Bt),multi:!0};let Ht=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?R.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({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.Bb("required",e.required?"":null)},inputs:{required:"required"},features:[n.zb([Ft])]}),t})(),Bt=(()=>{class t extends Ht{validate(t){return this.required?R.requiredTrue(t):null}}return t.\u0275fac=function(e){return jt(e||t)},t.\u0275dir=n.Hb({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.Bb("required",e.required?"":null)},features:[n.zb([zt]),n.xb]}),t})();const jt=n.Ub(Bt),Gt={provide:S,useExisting:Object(n.U)(()=>Ut),multi:!0};let Ut=(()=>{class t{constructor(){this._enabled=!1}set email(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}validate(t){return this._enabled?R.email(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.zb([Gt])]}),t})();const Kt={provide:S,useExisting:Object(n.U)(()=>Vt),multi:!0};let Vt=(()=>{class t{constructor(){this._validator=R.nullValidator}ngOnChanges(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=R.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.Bb("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[n.zb([Kt]),n.yb]}),t})();const qt={provide:S,useExisting:Object(n.U)(()=>Jt),multi:!0};let Jt=(()=>{class t{constructor(){this._validator=R.nullValidator}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=R.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.Bb("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.zb([qt]),n.yb]}),t})();const Wt={provide:S,useExisting:Object(n.U)(()=>Zt),multi:!0};let Zt=(()=>{class t{constructor(){this._validator=R.nullValidator}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=R.pattern(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.Bb("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[n.zb([Wt]),n.yb]}),t})(),Yt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t})(),$t=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n=null,s=null,o=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(n=null!=e.validators?e.validators:null,s=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(n=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new dt(i,{asyncValidators:s,updateOn:o,validators:n})}control(t,e,i){return new ht(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new pt(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 ht||t instanceof dt||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)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),Xt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[N],imports:[Yt]}),t})(),Qt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ct,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[$t,N],imports:[Yt]}),t})()},nKqi:function(t,e,i){"use strict";i.d(e,"a",(function(){return I})),i.d(e,"b",(function(){return O})),i.d(e,"c",(function(){return D})),i.d(e,"d",(function(){return P})),i.d(e,"e",(function(){return G})),i.d(e,"f",(function(){return B})),i.d(e,"g",(function(){return M})),i.d(e,"h",(function(){return T})),i.d(e,"i",(function(){return j}));var n=i("2kYt"),s=i("EM62"),o=i("mFH5"),r=i("5XID"),a=i("ZTXN"),c=i("kuMc"),l=i("jIqt"),u=i("sg/T"),h=i("cqs0"),d=i("fAiE"),p=i("nIj0"),f=i("zmEM");const g=["*"],b='.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;position:relative}.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;width:100%;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;position:relative}.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;width:100%;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-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',m=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],A=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],y=["text"];function w(t,e){if(1&t&&s.Nb(0,"mat-pseudo-checkbox",5),2&t){const t=s.dc();s.kc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const v=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],_=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"];class S{}const E=Object(o.A)(Object(o.z)(S));class C{}const R=Object(o.z)(C);let T=(()=>{class t extends E{constructor(){super(...arguments),this._stateChanges=new a.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return k(e||t)},t.\u0275cmp=s.Gb({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.xb,s.yb],ngContentSelectors:g,decls:1,vars:0,template:function(t,e){1&t&&(s.jc(),s.ic(0))},styles:[b],encapsulation:2,changeDetection:0}),t})();const k=s.Ub(T);let I=(()=>{class t extends E{constructor(t){super(),this._elementRef=t,this._stateChanges=new a.a,"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.Mb(s.l))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[s.xb,s.yb],ngContentSelectors:g,decls:1,vars:0,template:function(t,e){1&t&&(s.jc(),s.ic(0))},styles:[b],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),t})(),P=(()=>{class t extends R{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new a.a,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(Object(c.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(r.c)(t)}ngAfterContentInit(){Object(o.E)(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.Mb(s.l),s.Mb(s.h),s.Mb(T,8),s.Mb(I,8))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){var n;1&t&&(s.Fb(i,O,!0),s.Fb(i,D,!0),s.Fb(i,o.j,!0)),2&t&&(s.sc(n=s.ac())&&(e._avatar=n.first),s.sc(n=s.ac())&&(e._icon=n.first),s.sc(n=s.ac())&&(e._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&s.Eb("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.xb],ngContentSelectors:A,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.jc(m),s.Sb(0,"div",0),s.Nb(1,"div",1),s.ic(2),s.Sb(3,"div",2),s.ic(4,1),s.Rb(),s.ic(5,2),s.Rb()),2&t&&(s.Ab(1),s.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[o.s],encapsulation:2,changeDetection:0}),t})();class x{}const N=Object(o.z)(x);class L{}const F=Object(o.z)(L),z={provide:p.p,useExisting:Object(s.U)(()=>j),multi:!0};class H{constructor(t,e){this.source=t,this.option=e}}let B=(()=>{class t extends F{constructor(t,e,i){super(),this._element=t,this._changeDetector=e,this.selectionList=i,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.checkboxPosition="after",this._inputsInitialized=!1}get color(){return this._color||this.selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(t){const e=Object(r.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(t){const e=Object(r.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())}ngOnInit(){const t=this.selectionList;t._value&&t._value.some(e=>t.compareWith(e,this._value))&&this._setSelected(!0);const e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetector.markForCheck())}),this._inputsInitialized=!0}ngAfterContentInit(){Object(o.E)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const t=this._hasFocus,e=this.selectionList._removeOptionFromList(this);t&&e&&e.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent(this))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(s.h),s.Mb(Object(s.U)(()=>j)))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-list-option"]],contentQueries:function(t,e,i){var n;1&t&&(s.Fb(i,O,!0),s.Fb(i,D,!0),s.Fb(i,o.j,!0)),2&t&&(s.sc(n=s.ac())&&(e._avatar=n.first),s.sc(n=s.ac())&&(e._icon=n.first),s.sc(n=s.ac())&&(e._lines=n))},viewQuery:function(t,e){var i;1&t&&s.Qc(y,!0),2&t&&s.sc(i=s.ac())&&(e._text=i.first)},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.Zb("focus",(function(){return e._handleFocus()}))("blur",(function(){return e._handleBlur()}))("click",(function(){return e._handleClick()})),2&t&&(s.Bb("aria-selected",e.selected)("aria-disabled",e.disabled)("tabindex",-1),s.Eb("mat-list-item-disabled",e.disabled)("mat-list-item-with-avatar",e._avatar||e._icon)("mat-primary","primary"===e.color)("mat-accent","primary"!==e.color&&"warn"!==e.color)("mat-warn","warn"===e.color)("mat-list-single-selected-option",e.selected&&!e.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected",disabled:"disabled"},exportAs:["matListOption"],features:[s.xb],ngContentSelectors:_,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(t,e){1&t&&(s.jc(v),s.Sb(0,"div",0),s.Nb(1,"div",1),s.Hc(2,w,1,2,"mat-pseudo-checkbox",2),s.Sb(3,"div",3,4),s.ic(5),s.Rb(),s.ic(6,1),s.Rb()),2&t&&(s.Eb("mat-list-item-content-reverse","after"==e.checkboxPosition),s.Ab(1),s.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()),s.Ab(1),s.kc("ngIf",e.selectionList.multiple))},directives:[o.s,n.t,o.q],encapsulation:2,changeDetection:0}),t})(),j=(()=>{class t extends N{constructor(t,e,i){super(),this._element=t,this._changeDetector=i,this._multiple=!0,this._contentInitialized=!1,this.selectionChange=new s.o,this.tabIndex=0,this.color="accent",this.compareWith=(t,e)=>t===e,this._disabled=!1,this.selectedOptions=new h.c(this._multiple),this._tabIndex=-1,this._onChange=t=>{},this._destroyed=new a.a,this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t),this._markOptionsForCheck()}get multiple(){return this._multiple}set multiple(t){const e=Object(r.c)(t);if(e!==this._multiple){if(Object(s.W)()&&this._contentInitialized)throw new Error("Cannot change `multiple` mode of mat-selection-list after initialization.");this._multiple=e,this.selectedOptions=new h.c(this._multiple,this.selectedOptions.selected)}}ngAfterContentInit(){this._contentInitialized=!0,this._keyManager=new u.g(this.options).withWrap().withTypeAhead().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.options.changes.pipe(Object(l.a)(null),Object(c.a)(this._destroyed)).subscribe(()=>{this._updateTabIndex()}),this.selectedOptions.changed.pipe(Object(c.a)(this._destroyed)).subscribe(t=>{if(t.added)for(let e of t.added)e.selected=!0;if(t.removed)for(let e of t.removed)e.selected=!1})}ngOnChanges(t){const e=t.disableRipple,i=t.color;(e&&!e.firstChange||i&&!i.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){this._setAllOptionsSelected(!0)}deselectAll(){this._setAllOptionsSelected(!1)}_setFocusedOption(t){this._keyManager.updateActiveItem(t)}_removeOptionFromList(t){const e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}_keydown(t){const e=t.keyCode,i=this._keyManager,n=i.activeItemIndex,s=Object(d.t)(t);switch(e){case d.o:case d.g:s||i.isTyping()||(this._toggleFocusedOption(),t.preventDefault());break;case d.i:case d.f:s||(e===d.i?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault());break;default:if(e===d.a&&this.multiple&&Object(d.t)(t,"ctrlKey")&&!i.isTyping()){const e=this.options.some(t=>!t.disabled&&!t.selected);this._setAllOptionsSelected(e,!0),t.preventDefault()}else i.onKeydown(t)}this.multiple&&(e===d.q||e===d.e)&&t.shiftKey&&i.activeItemIndex!==n&&this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new H(this,t))}_onFocus(){const t=this._keyManager.activeItemIndex;t&&-1!==t?this._keyManager.setActiveItem(t):this._keyManager.setFirstItemActive()}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_setOptionsFromValues(t){this.options.forEach(t=>t._setSelected(!1)),t.forEach(t=>{const e=this.options.find(e=>!e.selected&&this.compareWith(e.value,t));e&&e._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_toggleFocusedOption(){let t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){let e=this.options.toArray()[t];!e||e.disabled||!this._multiple&&e.selected||(e.toggle(),this._emitChangeEvent(e))}}_setAllOptionsSelected(t,e){let i=!1;this.options.forEach(n=>{e&&n.disabled||!n._setSelected(t)||(i=!0)}),i&&this._reportValueChange()}_isValidIndex(t){return t>=0&&tt._markForCheck())}_allowFocusEscape(){this._tabIndex=-1,setTimeout(()=>{this._tabIndex=0,this._changeDetector.markForCheck()})}_updateTabIndex(){this._tabIndex=0===this.options.length?-1:0}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Xb("tabindex"),s.Mb(s.h))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-selection-list"]],contentQueries:function(t,e,i){var n;1&t&&s.Fb(i,B,!0),2&t&&s.sc(n=s.ac())&&(e.options=n)},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(t,e){1&t&&s.Zb("focus",(function(){return e._onFocus()}))("keydown",(function(t){return e._keydown(t)})),2&t&&s.Bb("aria-multiselectable",e.multiple)("aria-disabled",e.disabled.toString())("tabindex",e._tabIndex)},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[s.zb([z]),s.xb,s.yb],ngContentSelectors:g,decls:1,vars:0,template:function(t,e){1&t&&(s.jc(),s.ic(0))},styles:[b],encapsulation:2,changeDetection:0}),t})(),G=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[o.k,o.t,o.i,o.r,n.c],o.k,o.i,o.r,f.b]}),t})()},nhAq:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("EM62"),s=i("U3ra"),o=i("2kYt"),r=i("b7Yx"),a=i("8cyV"),c=i("UX+r"),l=i("8clQ"),u=i("+0js"),h=i("OZ4H"),d=i("29Wa"),p=i("Cd2c"),f=i("nIj0");let g=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.o}ngOnInit(){this.readonly||(this.readonly=Object(l.s)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t){const e=Object(l.o)();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(u.n,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(h.b))},t.\u0275cmp=n.Gb({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.Sb(0,"mat-form-field",0),n.Sb(1,"input",1),n.Zb("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.Rb(),n.Rb()),2&t&&(n.lc("appearance",e.readonly?"none":"standard"),n.Ab(1),n.Eb("cursor-pointer",e.readonly&&void 0!==e.attribute.value),n.kc("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[d.c,p.b,f.x,f.c,f.r,f.u],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const b=["map"];function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"perun-web-apps-attribute-value-boolean",3),n.Zb("sendEventToParent",(function(){return n.xc(t),n.dc()._sendEventToParent2()})),n.Rb()}if(2&t){const t=n.dc();n.kc("attribute",t.attribute)("readonly",t.readonly)}}function A(t,e){if(1&t){const t=n.Tb();n.Sb(0,"perun-web-apps-attribute-value-list",3),n.Zb("sendEventToParent",(function(){return n.xc(t),n.dc()._sendEventToParent2()})),n.Rb()}if(2&t){const t=n.dc();n.kc("attribute",t.attribute)("readonly",t.readonly)}}function y(t,e){if(1&t&&n.Nb(0,"perun-web-apps-attribute-value-map",4,5),2&t){const t=n.dc();n.kc("attribute",t.attribute)("readonly",t.readonly)}}function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"perun-web-apps-attribute-value-string",3),n.Zb("sendEventToParent",(function(){return n.xc(t),n.dc()._sendEventToParent2()})),n.Rb()}if(2&t){const t=n.dc();n.kc("attribute",t.attribute)("readonly",t.readonly)}}function v(t,e){if(1&t){const t=n.Tb();n.Sb(0,"perun-web-apps-attribute-value-integer",3),n.Zb("sendEventToParent",(function(){return n.xc(t),n.dc()._sendEventToParent2()})),n.Rb()}if(2&t){const t=n.dc();n.kc("attribute",t.attribute)("readonly",t.readonly)}}let _=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent2=new n.o}ngOnInit(){}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.Gb({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){var i;1&t&&n.Qc(b,!0),2&t&&n.sc(i=n.ac())&&(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.Sb(0,"div"),n.Hc(1,m,1,2,"perun-web-apps-attribute-value-boolean",0),n.Hc(2,A,1,2,"perun-web-apps-attribute-value-list",0),n.Sb(3,"div",1),n.Zb("click",(function(){return e._sendEventToParent2()})),n.Hc(4,y,2,2,"perun-web-apps-attribute-value-map",2),n.Rb(),n.Hc(5,w,1,2,"perun-web-apps-attribute-value-string",0),n.Hc(6,v,1,2,"perun-web-apps-attribute-value-integer",0),n.Rb()),2&t&&(n.Ab(1),n.kc("ngIf","java.lang.Boolean"===e.attribute.type),n.Ab(1),n.kc("ngIf","java.util.ArrayList"===e.attribute.type),n.Ab(2),n.kc("ngIf","java.util.LinkedHashMap"===e.attribute.type),n.Ab(1),n.kc("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),n.Ab(1),n.kc("ngIf","java.lang.Integer"===e.attribute.type))},directives:[o.t,r.a,a.a,s.a,c.a,g],styles:[""]}),t})()},noDS:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("Ssnw"),o=i("X2Q7"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_OWNERS.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_OWNERS.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.facilitiesManagerService=s,this.displayedColumns=["name"],n.get("DIALOGS.REMOVE_OWNERS.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.dataSource=new r.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.l),a.Mb(c.e),a.Mb(o.g))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,9,"DIALOGS.REMOVE_OWNERS.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_OWNERS.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_OWNERS.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t})()},nyAh:function(t,e,i){"use strict";i.d(e,"a",(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})()},nz2m:function(t,e,i){"use strict";i.d(e,"a",(function(){return et}));var n=i("EM62"),s=i("cePI"),o=i("FlRo"),r=i("iAde"),a=i("cqs0"),c=i("8clQ"),l=i("+0js"),u=i("Ssnw"),h=i("OZ4H"),d=i("sEIs"),p=i("9wx0"),f=i("2kYt"),g=i("+Tre"),b=i("Y2X+"),m=i("bFHC"),A=i("TQS+"),y=i("FcRk"),w=i("s2Ay"),v=i("j+u3"),_=i("C5kn"),S=i("yAs8"),E=i("RK/0"),C=i("IBaA"),R=i("NZNE"),T=i("Log1");function k(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("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.Tb();n.Sb(0,"td",27),n.Sb(1,"mat-checkbox",28),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.ec(2,"translate"),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","DIRECT"!==t.membershipType)("matTooltip","DIRECT"!==t.membershipType?n.fc(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function O(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ID")))}function D(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function M(t,e){1&t&&n.Nb(0,"th",29)}function P(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-icon",32),n.Zb("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().viewMemberGroupTree(e)}))("mouseenter",(function(){return n.xc(t),n.dc(2).disableRouting=!0}))("mouseleave",(function(){n.xc(t);const e=n.dc(2);return e.disableRouting=e.disabledRouting})),n.ec(1,"translate"),n.Jc(2,"transfer_within_a_station"),n.Rb()}2&t&&n.kc("matTooltip",n.fc(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function x(t,e){if(1&t&&(n.Sb(0,"td",30),n.Hc(1,P,3,3,"mat-icon",31),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf","DIRECT"!==t.membershipType)}}function N(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.NAME")))}function L(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.user))}}function F(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.STATUS")))}function z(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",30),n.Sb(1,"i",33),n.Zb("click",(function(i){n.xc(t);const s=e.$implicit;return n.dc().changeStatus(i,s)})),n.ec(2,"memberStatusIconColor"),n.ec(3,"memberStatusTooltip"),n.Sb(4,"span"),n.Jc(5),n.ec(6,"memberStatusIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(1),n.Db("material-icons ",n.fc(2,5,t.status),""),n.lc("matTooltip",n.gc(3,7,t,!1)),n.Ab(4),n.Lc(" ",n.fc(6,10,t.status)," ")}}function H(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function B(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",30),n.Sb(1,"i",33),n.Zb("click",(function(i){n.xc(t);const s=e.$implicit;return n.dc().changeStatus(i,s)})),n.ec(2,"memberStatusIconColor"),n.ec(3,"memberStatusTooltip"),n.Sb(4,"span"),n.Jc(5),n.ec(6,"memberStatusIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(1),n.Db("material-icons ",n.fc(2,5,t.groupStatus),""),n.lc("matTooltip",n.gc(3,7,t,!0)),n.Ab(4),n.Lc(" ",n.fc(6,10,t.groupStatus)," ")}}function j(t,e){1&t&&(n.Sb(0,"th",34),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")))}function G(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"check_circle_outline"),n.Rb())}function U(t,e){if(1&t&&(n.Sb(0,"td",35),n.Hc(1,G,2,0,"mat-icon",36),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",t.sponsored)}}function K(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ORGANIZATION")))}function V(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberOrganization"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function q(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.EMAIL")))}function J(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberEmail"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function W(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.LOGINS")))}function Z(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberLogins"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t))}}function Y(t,e){1&t&&n.Nb(0,"tr",37)}const $=function(t,e){return["/organizations",t,"members",e]};function X(t,e){if(1&t&&n.Nb(0,"tr",38),2&t){const t=e.$implicit,i=n.dc();n.Eb("disable-outline",i.disableRouting)("cursor-pointer",!i.disabledRouting)("italic_font","DIRECT"!==t.membershipType),n.kc("routerLink",i.disableRouting?null:n.qc(8,$,t.voId,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.qc(11,$,t.voId,t.id))}}function Q(t,e){1&t&&(n.Sb(0,"app-alert",39),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.kc("alert_type","warn"),n.Ab(1),n.Lc(" ",n.fc(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function tt(t,e){1&t&&(n.Sb(0,"app-alert",39),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.kc("alert_type","warn"),n.Ab(1),n.Lc(" ",n.fc(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let et=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.tableCheckbox=i,this.route=s,this.selection=new a.c,this.hideColumns=[],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.o,this.updateTable=new n.o,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.pageSizeOptions=c.a,this.canBeSelected=t=>"DIRECT"===t.membershipType}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=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 Object(c.A)(t);case"email":return Object(c.v)(t);default:return""}}getFilterDataForColumn(t,e){var i;switch(e){case"fullName":return t.user?t.user.lastName?t.user.lastName:null!==(i=t.user.firstName)&&void 0!==i?i:"":"";case"email":return Object(c.v)(t);case"logins":return Object(c.x)(t);default:return""}}getExportDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"fullName":return t.user?Object(c.w)(t.user):"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return Object(c.A)(t);case"email":return Object(c.v)(t);case"logins":return Object(c.x)(t);default:return""}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getSortDataForColumn,this),this.dataSource.filter=this.filter,this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.paginator}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new o.o(this.members),this.setDataSource(),this.disabledRouting=this.disableRouting,this.route.parent.params.subscribe(t=>{t.groupId&&(this.groupId=t.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.paginator.hasNextPage(),this.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.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=Object(c.o)();t.width="500px",t.data={member:e},this.dialog.open(l.e,t).afterClosed().subscribe(t=>{t&&this.updateTable.emit(!0)})}}pageChanged(t){this.page.emit(t)}viewMemberGroupTree(t){const e=Object(c.o)();e.width="800px",e.data={member:t,groupId:this.groupId},this.dialog.open(l.k,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(h.b),n.Mb(u.h),n.Mb(u.n),n.Mb(d.a))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-members-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(s.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",hideColumns:"hideColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page",updateTable:"updateTable"},features:[n.yb],decls:40,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["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"],["mat-header-cell","","class","center new-line",4,"matHeaderCellDef"],["mat-cell","","class","center",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","cursor-pointer","italic_font","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],[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,"routerLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,k,2,3,"th",6),n.Hc(7,I,3,6,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,O,3,3,"th",9),n.Hc(10,D,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,M,1,0,"th",9),n.Hc(13,x,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,N,3,3,"th",9),n.Hc(16,L,3,3,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,F,3,3,"th",9),n.Hc(19,z,7,12,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,H,3,3,"th",9),n.Hc(22,B,7,12,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,j,3,3,"th",16),n.Hc(25,U,2,1,"td",17),n.Pb(),n.Qb(26,18),n.Hc(27,K,3,3,"th",9),n.Hc(28,V,3,3,"td",11),n.Pb(),n.Qb(29,19),n.Hc(30,q,3,3,"th",9),n.Hc(31,J,3,3,"td",11),n.Pb(),n.Qb(32,20),n.Hc(33,W,3,3,"th",6),n.Hc(34,Z,3,3,"td",11),n.Pb(),n.Hc(35,Y,1,0,"tr",21),n.Hc(36,X,1,14,"tr",22),n.Rb(),n.Rb(),n.Sb(37,"mat-paginator",23),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(38,Q,3,4,"app-alert",24),n.Hc(39,tt,3,4,"app-alert",24)),2&t&&(n.kc("hidden",0===e.members.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(31),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.members.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0!==e.members.length&&0===e.dataSource.filteredData.length),n.Ab(1),n.kc("ngIf",0===e.members.length))},directives:[p.a,o.n,s.a,o.c,o.i,o.b,o.k,o.m,r.a,f.t,o.h,g.a,o.a,b.a,s.b,m.a,o.j,o.l,d.g,A.c,y.a],pipes:[w.d,v.a,_.a,S.a,E.a,C.a,R.a,T.a],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}.italic_font[_ngcontent-%COMP%]{font-style:italic}"]}),t})()},oCM2:function(t,e,i){"use strict";i.d(e,"a",(function(){return it}));var n=i("EM62"),s=i("X2Q7"),o=i("iAde"),r=i("FlRo"),a=i("8clQ"),c=i("Ssnw"),l=i("sEIs"),u=i("9wx0"),h=i("2kYt"),d=i("TQS+"),p=i("csyo"),f=i("FcRk"),g=i("s2Ay"),b=i("j+u3");function m(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function y(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_ID")))}function w(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.vo.id)}}function v(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_NAME")))}function _(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.vo.name)}}function S(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_ID")))}function E(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.group?t.group.id:"")}}function C(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function R(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.group?t.group.name:"")}}function T(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function k(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.type)}}function I(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function O(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.state)}}function D(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCENAME")))}function M(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.extSourceName)}}function P(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCETYPE")))}function x(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.extSourceType)}}function N(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_USER")))}function L(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.user?n.fc(2,1,t.user):"null"," ")}}function F(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_BY")))}function z(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length)," ")}}function H(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function B(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.createdAt,"d.M.y"))}}function j(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function G(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.Kc(i.getFriendlyName(t.modifiedBy))}}function U(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_AT")))}function K(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,t.modifiedAt,"d.M.y"))}}function V(t,e){if(1&t&&(n.Sb(0,"th",29),n.Jc(1),n.Rb()),2&t){const t=n.dc().$implicit;n.Ab(1),n.Kc(t)}}function q(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc().$implicit;n.Ab(1),n.Kc(t[i])}}function J(t,e){1&t&&(n.Qb(0,32),n.Hc(1,V,2,1,"th",6),n.Hc(2,q,2,1,"td",13),n.Pb()),2&t&&n.kc("matColumnDef",e.$implicit)}function W(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_FEDINFO")))}function Z(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.fedInfo)}}function Y(t,e){1&t&&n.Nb(0,"tr",33)}function $(t,e){if(1&t&&n.Nb(0,"tr",34),2&t){const t=e.$implicit,i=n.dc();n.Eb("cursor-pointer",!i.disableRouting),n.kc("routerLink",i.selectApplication(t))("perunWebAppsMiddleClickRouterLink",i.selectApplication(t))}}function X(t,e){1&t&&n.Nb(0,"mat-spinner",35)}function Q(t,e){1&t&&(n.Sb(0,"app-alert",37),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND")," "))}function tt(t,e){1&t&&(n.Sb(0,"app-alert",37),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT")," "))}function et(t,e){if(1&t&&(n.Sb(0,"div"),n.Hc(1,Q,3,3,"app-alert",36),n.Hc(2,tt,3,3,"app-alert",36),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("ngIf",0===t.dataSource.data.length),n.Ab(1),n.kc("ngIf",0===t.dataSource.filteredData.length&&0!==t.table.length)}}let it=(()=>{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.o,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.a}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.loading=!0,this.table=[],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?Object(a.w)(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){Object(a.i)(Object(a.n)(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 r.o(this.table),this.dataSource.paginator=this.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]}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.f),n.Mb(c.h),n.Mb(s.l))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-perun-web-apps-application-list-details"]],viewQuery:function(t,e){var i;1&t&&n.Qc(o.a,!0),2&t&&n.sc(i=n.ac())&&(e.paginator=i.first)},inputs:{applications:"applications",group:"group",member:"member",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:56,vars:11,consts:[[1,"card","mt-2","w-100",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["mat-table","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",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"],["mat-row","","class","dark-hover-list-item",3,"cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],[1,"ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,m,3,3,"th",6),n.Hc(7,A,2,1,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",6),n.Hc(10,w,2,1,"td",7),n.Pb(),n.Qb(11,9),n.Hc(12,v,3,3,"th",6),n.Hc(13,_,2,1,"td",7),n.Pb(),n.Qb(14,10),n.Hc(15,S,3,3,"th",6),n.Hc(16,E,2,1,"td",7),n.Pb(),n.Qb(17,11),n.Hc(18,C,3,3,"th",6),n.Hc(19,R,2,1,"td",7),n.Pb(),n.Qb(20,12),n.Hc(21,T,3,3,"th",6),n.Hc(22,k,2,1,"td",13),n.Pb(),n.Qb(23,14),n.Hc(24,I,3,3,"th",6),n.Hc(25,O,2,1,"td",13),n.Pb(),n.Qb(26,15),n.Hc(27,D,3,3,"th",6),n.Hc(28,M,2,1,"td",13),n.Pb(),n.Qb(29,16),n.Hc(30,P,3,3,"th",6),n.Hc(31,x,2,1,"td",13),n.Pb(),n.Qb(32,17),n.Hc(33,N,3,3,"th",6),n.Hc(34,L,3,3,"td",13),n.Pb(),n.Qb(35,18),n.Hc(36,F,3,3,"th",6),n.Hc(37,z,2,1,"td",13),n.Pb(),n.Qb(38,19),n.Hc(39,H,3,3,"th",6),n.Hc(40,B,3,4,"td",13),n.Pb(),n.Qb(41,20),n.Hc(42,j,3,3,"th",6),n.Hc(43,G,2,1,"td",13),n.Pb(),n.Qb(44,21),n.Hc(45,U,3,3,"th",6),n.Hc(46,K,3,4,"td",13),n.Pb(),n.Hc(47,J,3,1,"ng-container",22),n.Qb(48,23),n.Hc(49,W,3,3,"th",6),n.Hc(50,Z,2,1,"td",13),n.Pb(),n.Hc(51,Y,1,0,"tr",24),n.Hc(52,$,1,4,"tr",25),n.Rb(),n.Rb(),n.Sb(53,"mat-paginator",26),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(54,X,1,0,"mat-spinner",27),n.Hc(55,et,3,2,"div",28)),2&t&&(n.Eb("hide-table",e.loading),n.kc("hidden",0===e.table.length||!!e.dataSource&&0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(43),n.kc("ngForOf",e.addedColumns),n.Ab(4),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",e.loading),n.Ab(1),n.kc("ngIf",!e.loading))},directives:[u.a,r.n,r.c,r.i,r.b,h.s,r.k,r.m,o.a,h.t,r.h,r.a,r.j,r.l,l.g,d.c,p.c,f.a],pipes:[g.d,b.a,h.f],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})()},oYGW:function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var n=i("EM62"),s=i("nIj0"),o=i("Ssnw"),r=i("29Wa"),a=i("Cd2c"),c=i("2kYt"),l=i("+Tre"),u=i("ABWF"),h=i("s2Ay");function d(t,e){if(1&t){const t=n.Tb();n.Sb(0,"mat-checkbox",7),n.Zb("change",(function(){return n.xc(t),n.dc().emitAsSubGroup()}))("ngModelChange",(function(e){return n.xc(t),n.dc().asSubgroup=e})),n.Jc(1),n.ec(2,"translate"),n.Rb()}if(2&t){const t=n.dc();n.kc("labelPosition","before")("ngModel",t.asSubgroup),n.Ab(1),n.Lc(" ",n.fc(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function p(t,e){if(1&t){const t=n.Tb();n.Sb(0,"perun-web-apps-group-search-select",8),n.Zb("groupSelected",(function(e){return n.xc(t),n.dc().emitParentGroup(e)})),n.Rb()}if(2&t){const t=n.dc();n.kc("disableAutoSelect",!0)("groups",t.voGroups)}}let f=(()=>{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.o,this.descriptionChanged=new n.o,this.parentGroupChanged=new n.o,this.asSubgroupChanged=new n.o}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new s.g("",[s.F.required,s.F.pattern(this.secondaryRegex?this.secondaryRegex:""),s.F.pattern(".*[\\S]+.*")]),this.descriptionControl=new s.g("",[s.F.required,s.F.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.Mb(o.m))},t.\u0275cmp=n.Gb({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.Sb(0,"div",0),n.Sb(1,"mat-form-field",1),n.Zb("keyup",(function(){return e.emitName()})),n.Sb(2,"label",2),n.Nb(3,"input",3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"mat-error"),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Rb(),n.Sb(8,"mat-form-field",4),n.Zb("keyup",(function(){return e.emitDescription()})),n.Sb(9,"label",2),n.Nb(10,"textarea",3),n.ec(11,"translate"),n.Rb(),n.Sb(12,"mat-error"),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Rb(),n.Hc(15,d,3,5,"mat-checkbox",5),n.Hc(16,p,1,2,"perun-web-apps-group-search-select",6),n.Rb()),2&t&&(n.Ab(3),n.lc("placeholder",n.fc(4,8,"DIALOGS.CREATE_GROUP.NAME")),n.kc("formControl",e.nameControl),n.Ab(3),n.Lc(" ",e.invalidNameMessage.length?e.invalidNameMessage:n.fc(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),n.Ab(4),n.lc("placeholder",n.fc(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),n.kc("formControl",e.descriptionControl),n.Ab(3),n.Lc(" ",n.fc(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),n.Ab(2),n.kc("ngIf",e.isNotSubGroup),n.Ab(1),n.kc("ngIf",e.asSubgroup))},directives:[r.c,a.b,s.c,s.C,s.r,s.h,r.b,c.t,l.a,s.u,u.a],pipes:[h.d],styles:[""]}),t})()},"oqI+":function(t,e,i){"use strict";i.d(e,"a",(function(){return st})),i.d(e,"b",(function(){return Q})),i.d(e,"c",(function(){return tt})),i.d(e,"d",(function(){return et})),i.d(e,"e",(function(){return ct})),i.d(e,"f",(function(){return rt})),i.d(e,"g",(function(){return lt})),i.d(e,"h",(function(){return B}));var n=i("EM62"),s=i("2kYt"),o=i("qvOF"),r=i("cZZj"),a=i("5XID"),c=i("ZTXN"),l=i("bwdy"),u=i("3p4X"),h=i("VvXq"),d=i("IdLP"),p=i("g6G6"),f=i("kuMc"),g=i("YtkY"),b=i("J+dc"),m=i("jIqt"),A=i("8j5Y"),y=i("TLy2"),w=i("E5oP");function v(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function _(t,e){const i=e?"":"none";v(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}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 C(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 R(t,e,i){const{top:n,bottom:s,left:o,right:r}=t;return i>=n&&i<=s&&e>=o&&e<=r}function T(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function k(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:C(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)&&T(t.clientRect,a,c)}),s.top=o,s.left=r,{top:a,left:c}}}const O=Object(r.f)({passive:!0}),D=Object(r.f)({passive:!1});class M{constructor(t,e,i,n,s,o){this._config=e,this._document=i,this._ngZone=n,this._viewportRuler=s,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new c.a,this._pointerMoveSubscription=l.a.EMPTY,this._pointerUpSubscription=l.a.EMPTY,this._scrollSubscription=l.a.EMPTY,this._resizeSubscription=l.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new c.a,this.started=new c.a,this.released=new c.a,this.ended=new c.a,this.entered=new c.a,this.exited=new c.a,this.dropped=new c.a,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{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=>{t.preventDefault();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){if(!(Date.now()>=this._dragStartTime+this._getDragStartDelay(t)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(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()));const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i);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),this._parentPositions=new I(i,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(a.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){return this._handles=t.map(t=>Object(a.e)(t)),this._handles.forEach(t=>_(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(a.e)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,D),e.addEventListener("touchstart",this._pointerDown,O)}),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?Object(a.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&L(this._rootElement),L(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._placeholderTemplate=this._previewTemplate=this._anchor=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._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}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}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t))}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&L(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&L(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){this.started.next({source:this}),F(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,n=t.parentNode,s=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(r,t),t.style.display="none",this._document.body.appendChild(n.replaceChild(o,t)),(i=this._document,i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body).appendChild(s),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;var i;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const i=this.isDragging(),n=F(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=C(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._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){this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(this._getPointerPositionOnPage(t)),o=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s}),e.drop(this,i,this._initialContainer,o,s,this._initialIndex),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,t,e,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=P(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=z(s,this._document),this._previewRef=s,t.matchSize?H(n,e):n.style.transform=P(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=x(t),H(n,t.getBoundingClientRect())}return v(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),_(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._preview.style.transform=P(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=z(this._placeholderRef,this._document)):i=x(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=F(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=F(t)?t.touches[0]||t.changedTouches[0]:t,i=this._getViewportScrollPosition();return{x:e.pageX-i.left,y:e.pageY-i.top}}_getConstrainedPointerPosition(t){const e=this.constrainPosition?this.constrainPosition(t,this):t,i=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===i?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==i||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:i}=this._pickupPositionInElement,n=this._boundaryRect,s=this._previewRect,o=n.top+i,r=n.bottom-(s.height-i);e.x=N(e.x,n.left+t,n.right-(s.width-t)),e.y=N(e.y,o,r)}return e}_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,_(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,D),t.removeEventListener("touchstart",this._pointerDown,O)}_applyRootElementTransform(t,e){const i=P(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform:i}_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:F(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);this._boundaryRect&&e&&T(this._boundaryRect,e.top,e.left)}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}}function P(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function x(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.querySelectorAll("canvas");e.removeAttribute("id");for(let s=0;sn.appendChild(t)),n}function H(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=P(e.left,e.top)}function B(t,e,i){const n=j(e,t.length-1),s=j(i,t.length-1);if(n===s)return;const o=t[n],r=s!0,this.beforeStarted=new c.a,this.entered=new c.a,this.exited=new c.a,this.dropped=new c.a,this.sorted=new c.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=l.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new c.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),Object(u.a)(0,h.a).pipe(Object(f.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?K(t,-2):2===this._verticalScrollDirection&&K(t,2),1===this._horizontalScrollDirection?V(t,-2):2===this._horizontalScrollDirection&&V(t,2)})},this.element=Object(a.e)(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new I(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(){const t=Object(a.e)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,i,n){let s;this.start(),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{const n=Object(a.e)(this.element);this._shouldEnterAsFirstChild(e,i)?(n.insertBefore(c,o[0].getRootElement()),o.unshift(t)):(n.appendChild(c),o.push(t))}c.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),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){this._reset(),null==o&&(o=i.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:o,container:this,previousContainer:i,isPointerOverContainer:n,distance:s})}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=Object(a.e)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?U("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||!k(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=U(s,e=>e.drag===t),c=s[o],l=s[a].clientRect,u=c.clientRect,h=a>o?1:-1;this._previousSwap.drag=c.drag,this._previousSwap.delta=r?n.x:n.y;const d=this._getItemOffsetPx(l,u,h),p=this._getSiblingOffsetPx(a,s,h),f=s.slice();B(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:t}),s.forEach((e,i)=>{if(f[i]===e)return;const n=e.drag===t,s=n?d:p,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,r?(o.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,T(e.clientRect,0,s)):(o.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,T(e.clientRect,s,0))})}_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&&k(o.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=q(e,n),o=J(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=q(a,e),s=J(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()}_cacheParentPositions(){const t=Object(a.e)(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,clientRect:C(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=Object(a.e)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,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;return U(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&&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(!R(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=Object(a.e)(this.element);return n===s||s.contains(n)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.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})=>{T(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=Object(r.c)(Object(a.e)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function U(t,e){for(let i=0;i=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}function J(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 W=Object(r.f)({passive:!1,capture:!0});let Z=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new c.a,this.pointerUp=new c.a,this.scroll=new c.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},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._preventDefaultWhileDragging,W)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,W)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),i=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:W}).set(i,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:W}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}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.Wb(n.A),n.Wb(s.e))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(n.A),Object(n.Wb)(s.e))},token:t,providedIn:"root"}),t})();const Y={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let $=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=Y){return new M(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new G(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(s.e),n.Wb(n.A),n.Wb(o.h),n.Wb(Z))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(s.e),Object(n.Wb)(n.A),Object(n.Wb)(o.h),Object(n.Wb)(Z))},token:t,providedIn:"root"}),t})();const X=new n.r("CDK_DRAG_PARENT");let Q=(()=>{class t{constructor(t,e){this.element=t,this._stateChanges=new c.a,this._disabled=!1,this._parentDrag=e,_(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.c)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(X,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),t})(),tt=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.M))},t.\u0275dir=n.Hb({type:t,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),t})(),et=(()=>{class t{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=Object(a.c)(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.M))},t.\u0275dir=n.Hb({type:t,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),t})();const it=new n.r("CDK_DRAG_CONFIG"),nt=new n.r("CDK_DROP_LIST");let st=(()=>{class t{constructor(t,e,i,s,o,r,a,l,u){this.element=t,this.dropContainer=e,this._document=i,this._ngZone=s,this._viewContainerRef=o,this._dir=a,this._changeDetectorRef=u,this._destroyed=new c.a,this.started=new n.o,this.released=new n.o,this.ended=new n.o,this.entered=new n.o,this.exited=new n.o,this.dropped=new n.o,this.moved=new d.a(t=>{const e=this._dragRef.moved.pipe(Object(g.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:r&&null!=r.dragStartThreshold?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&null!=r.pointerDirectionChangeThreshold?r.pointerDirectionChangeThreshold:5,zIndex:null==r?void 0:r.zIndex}),this._dragRef.data=this,r&&this._assignDefaults(r),e&&(this._dragRef._withDropContainer(e._dropListRef),e.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=Object(a.c)(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.asObservable().pipe(Object(b.a)(1),Object(f.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(m.a)(this._handles),Object(A.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Object(y.a)(t=>Object(p.a)(...t.map(t=>t._stateChanges.pipe(Object(m.a)(t))))),Object(f.a)(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),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?ot(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return ot(this.element.nativeElement,t);const e=Object(a.e)(t);if(Object(n.W)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=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;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:Object(a.f)(i),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(s),e&&t.withDirection(e.value)}})}_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}),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})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:n,previewClass:s,boundaryElement:o,draggingDisabled:r,rootElementSelector:a}=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)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(nt,12),n.Mb(s.e),n.Mb(n.A),n.Mb(n.Q),n.Mb(it,8),n.Mb(w.c,8),n.Mb($),n.Mb(n.h))},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){var s;1&t&&(n.Fb(i,et,!0),n.Fb(i,tt,!0),n.Fb(i,Q,!0)),2&t&&(n.sc(s=n.ac())&&(e._previewTemplate=s.first),n.sc(s=n.ac())&&(e._placeholderTemplate=s.first),n.sc(s=n.ac())&&(e._handles=s))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&n.Eb("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"],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.zb([{provide:X,useExisting:t}]),n.yb]}),t})();function ot(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 rt=(()=>{class t{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.c)(t)}ngOnDestroy(){this._items.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),t})(),at=0,ct=(()=>{class t{constructor(e,i,s,o,r,a,l){this.element=e,this._changeDetectorRef=s,this._dir=o,this._group=r,this._scrollDispatcher=a,this._destroyed=new c.a,this.connectedTo=[],this.id="cdk-drop-list-"+at++,this.enterPredicate=()=>!0,this.dropped=new n.o,this.entered=new n.o,this.exited=new n.o,this.sorted=new n.o,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._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),r&&r._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Object(a.c)(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()}start(){this._dropListRef.start()}drop(t,e,i,n){this._dropListRef.drop(t._dragRef,e,i._dropListRef,n,{x:0,y:0})}enter(t,e,i){this._dropListRef.enter(t._dragRef,e,i)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(m.a)(this._dir.value),Object(f.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=Object(a.b)(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&&this._scrollDispatcher){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=Object(a.c)(this.sortingDisabled),e.autoScrollDisabled=Object(a.c)(this.autoScrollDisabled),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}),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.Mb(n.l),n.Mb($),n.Mb(n.h),n.Mb(w.c,8),n.Mb(rt,12),n.Mb(o.f),n.Mb(it,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(n.Vb("id",e.id),n.Eb("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"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n.zb([{provide:rt,useValue:void 0},{provide:nt,useExisting:t}])]}),t._dropLists=[],t})(),lt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[$],imports:[o.c]}),t})()},"ozd/":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("nIj0"),a=i("EM62"),c=i("s2Ay"),l=i("29Wa"),u=i("Cd2c"),h=i("2kYt"),d=i("PBFl");function p(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function f(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function g(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_USER.ERROR_FIRST_NAME")))}function b(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function m(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LAST_NAME")))}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.userService=i,this.notificator=n,this.translateService=s,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.titleBefore=new r.g(this.data.user.titleBefore,[r.F.pattern(".*[\\S]+.*"),r.F.maxLength(129)]),this.titleAfter=new r.g(this.data.user.titleAfter,[r.F.pattern(".*[\\S]+.*"),r.F.maxLength(129)]),this.firstName=new r.g(this.data.user.firstName,[r.F.required,r.F.pattern(".*[\\S]+.*"),r.F.maxLength(129)]),this.middleName=new r.g(this.data.user.middleName,[r.F.pattern(".*[\\S]+.*"),r.F.maxLength(129)]),this.lastName=new r.g(this.data.user.lastName,[r.F.required,r.F.pattern(".*[\\S]+.*"),r.F.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)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.q),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",1),a.Sb(5,"mat-form-field"),a.Nb(6,"input",2),a.ec(7,"translate"),a.Hc(8,p,3,3,"mat-error",3),a.Rb(),a.Sb(9,"mat-form-field"),a.Nb(10,"input",2),a.ec(11,"translate"),a.Hc(12,f,3,3,"mat-error",3),a.Rb(),a.Sb(13,"mat-form-field"),a.Nb(14,"input",4),a.ec(15,"translate"),a.Hc(16,g,3,3,"mat-error",3),a.Rb(),a.Sb(17,"mat-form-field"),a.Nb(18,"input",2),a.ec(19,"translate"),a.Hc(20,b,3,3,"mat-error",3),a.Rb(),a.Sb(21,"mat-form-field"),a.Nb(22,"input",4),a.ec(23,"translate"),a.Hc(24,m,3,3,"mat-error",3),a.Rb(),a.Rb(),a.Sb(25,"div",5),a.Sb(26,"button",6),a.Zb("click",(function(){return e.onCancel()})),a.Jc(27),a.ec(28,"translate"),a.Rb(),a.Sb(29,"button",7),a.Zb("click",(function(){return e.onSave()})),a.Jc(30),a.ec(31,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,22,"DIALOGS.EDIT_USER.DIALOG_TITLE")),a.Ab(4),a.lc("placeholder",a.fc(7,24,"DIALOGS.EDIT_USER.TITLE_BEFORE")),a.kc("formControl",e.titleBefore),a.Ab(2),a.kc("ngIf",e.titleBefore.invalid),a.Ab(2),a.lc("placeholder",a.fc(11,26,"DIALOGS.EDIT_USER.TITLE_AFTER")),a.kc("formControl",e.titleAfter),a.Ab(2),a.kc("ngIf",e.titleAfter.invalid),a.Ab(2),a.lc("placeholder",a.fc(15,28,"DIALOGS.EDIT_USER.FIRST_NAME")),a.kc("formControl",e.firstName),a.Ab(2),a.kc("ngIf",e.firstName.invalid),a.Ab(2),a.lc("placeholder",a.fc(19,30,"DIALOGS.EDIT_USER.MIDDLE_NAME")),a.kc("formControl",e.middleName),a.Ab(2),a.kc("ngIf",e.middleName.invalid),a.Ab(2),a.lc("placeholder",a.fc(23,32,"DIALOGS.EDIT_USER.LAST_NAME")),a.kc("formControl",e.lastName),a.Ab(2),a.kc("ngIf",e.lastName.invalid),a.Ab(3),a.Lc(" ",a.fc(28,34,"DIALOGS.EDIT_USER.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading||e.firstName.invalid||e.lastName.invalid||e.titleBefore.invalid||e.titleAfter.invalid||e.middleName.invalid),a.Ab(1),a.Lc(" ",a.fc(31,36,"DIALOGS.EDIT_USER.SAVE")," "))},directives:[s.g,l.c,u.b,r.c,r.r,r.h,h.t,r.C,s.c,d.b,l.b],pipes:[c.d],styles:[""]}),t})()},"p/8k":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name,"")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.authzService=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new s.o(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(t=>t.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.d))},t.\u0275cmp=a.Gb({type:t,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(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l],pipes:[c.d],styles:[""]}),t})()},p3Ob:function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("OZ4H"),s=i("Ssnw"),o=i("cqs0"),r=i("X2Q7"),a=i("nyAh"),c=i("8clQ"),l=i("iyZ4"),u=i("ZWQq"),h=i("nIj0"),d=i("EM62"),p=i("s2Ay"),f=i("sEIs"),g=i("2kYt"),b=i("29Wa"),m=i("Cd2c"),A=i("PBFl"),y=i("csyo"),w=i("FcRk"),v=i("Y2X+");const _=["list"];function S(t,e){1&t&&d.Nb(0,"mat-spinner",10)}function E(t,e){1&t&&(d.Sb(0,"app-alert",14),d.Jc(1),d.ec(2,"translate"),d.Rb()),2&t&&(d.Ab(1),d.Lc(" ",d.fc(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND")," "))}function C(t,e){if(1&t){const t=d.Tb();d.Sb(0,"app-members-candidates-list",15,16),d.Zb("page",(function(e){return d.xc(t),d.dc(3).pageChanged(e)})),d.Rb()}if(2&t){const t=d.dc(3);d.kc("group",t.data.group)("pageSize",t.pageSize)("selection",t.selection)("members",t.members)("type",t.data.type)}}function R(t,e){if(1&t&&(d.Sb(0,"div",11),d.Hc(1,E,3,3,"app-alert",12),d.Hc(2,C,2,5,"app-members-candidates-list",13),d.Rb()),2&t){const t=d.dc(2);d.Ab(1),d.kc("ngIf",0===t.members.length&&t.firstSearchDone),d.Ab(1),d.kc("ngIf",0!==t.members.length)}}function T(t,e){if(1&t){const t=d.Tb();d.Sb(0,"div",4),d.Sb(1,"mat-form-field",5),d.Sb(2,"label"),d.Sb(3,"input",6),d.Zb("keyup.enter",(function(){return d.xc(t),d.dc().onSearchByString()})),d.ec(4,"translate"),d.Rb(),d.Rb(),d.Sb(5,"mat-error"),d.Jc(6),d.ec(7,"translate"),d.Rb(),d.Rb(),d.Sb(8,"button",7),d.Zb("click",(function(){return d.xc(t),d.dc().onSearchByString()})),d.Jc(9),d.ec(10,"translate"),d.Rb(),d.Sb(11,"div",8),d.Hc(12,S,1,0,"mat-spinner",2),d.Rb(),d.Hc(13,R,3,2,"div",9),d.Rb()}if(2&t){const t=d.dc();d.Ab(3),d.lc("placeholder",d.fc(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),d.kc("formControl",t.searchCtrl),d.Ab(3),d.Lc(" ",d.fc(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),d.Ab(2),d.kc("disabled",t.loading),d.Ab(1),d.Lc(" ",d.fc(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),d.Ab(3),d.kc("ngIf",t.loading),d.Ab(1),d.kc("ngIf",!!t.members&&!t.loading)}}function k(t,e){1&t&&d.Nb(0,"mat-spinner",10)}function I(t,e){if(1&t){const t=d.Tb();d.Sb(0,"button",21),d.Zb("click",(function(){return d.xc(t),d.dc(2).onInvite()})),d.Jc(1),d.ec(2,"translate"),d.Rb()}if(2&t){const t=d.dc(2);d.kc("disabled",0===t.selection.selected.length||t.loading),d.Ab(1),d.Lc(" ",d.fc(2,2,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function O(t,e){if(1&t){const t=d.Tb();d.Sb(0,"div",17),d.Sb(1,"button",18),d.Zb("click",(function(){return d.xc(t),d.dc().onCancel()})),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Sb(4,"span",19),d.ec(5,"translate"),d.Hc(6,I,3,4,"button",20),d.Rb(),d.Sb(7,"button",21),d.Zb("click",(function(){return d.xc(t),d.dc().onAdd()})),d.Jc(8),d.ec(9,"translate"),d.Rb(),d.Rb()}if(2&t){const t=d.dc();d.Ab(2),d.Lc(" ",d.fc(3,6,"DIALOGS.ADD_MEMBERS.CANCEL")," "),d.Ab(2),d.lc("matTooltip",d.fc(5,8,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),d.kc("matTooltipDisabled",0===t.selection.selected.length||"group"!==t.data.type||void 0!==t.list&&t.list.addAuth),d.Ab(2),d.kc("ngIf","group"!==t.data.type||"group"===t.data.type&&t.inviteAuth),d.Ab(1),d.kc("disabled",0===t.selection.selected.length||t.loading||"group"===t.data.type&&void 0!==t.list&&!t.list.addAuth),d.Ab(1),d.Lc(" ",d.fc(9,10,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let D=(()=>{class t{constructor(t,e,i,n,s,r,a,c,u,h,d,p){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.selection=new o.c(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=l.g,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(){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(Object(c.m)(this.selection.selected[0].candidate),"en",this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup(Object(c.m)(this.selection.selected[0].candidate),"en",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.a.USER_DEF_ORGANIZATION,a.a.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.a.USER_DEF_ORGANIZATION,a.a.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){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.g("",[h.F.required,h.F.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)(d.Mb(n.i),d.Mb(n.a),d.Mb(r.i),d.Mb(r.h),d.Mb(r.r),d.Mb(r.l),d.Mb(p.e),d.Mb(s.l),d.Mb(f.a),d.Mb(l.pb),d.Mb(f.f),d.Mb(s.h))},t.\u0275cmp=d.Gb({type:t,selectors:[["app-add-member-dialog"]],viewQuery:function(t,e){var i;1&t&&d.Qc(_,!0),2&t&&d.sc(i=d.ac())&&(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"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(d.Sb(0,"div"),d.Sb(1,"h1",0),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Hc(4,T,14,13,"div",1),d.Hc(5,k,1,0,"mat-spinner",2),d.Hc(6,O,10,12,"div",3),d.Rb()),2&t&&(d.Cb(e.theme),d.Ab(2),d.Kc(d.fc(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),d.Ab(2),d.kc("ngIf",!e.processing),d.Ab(1),d.kc("ngIf",e.processing),d.Ab(1),d.kc("ngIf",!e.processing))},directives:[n.j,g.t,n.g,b.c,m.b,h.c,h.r,h.h,b.b,A.b,y.c,w.a,u.a,n.c,v.a],pipes:[p.d],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),t})()},pBDD:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");class s extends n.a{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},pU19:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("Ssnw"),o=i("nIj0"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("csyo"),h=i("29Wa"),d=i("Cd2c"),p=i("+Tre"),f=i("PBFl");function g(t,e){1&t&&a.Nb(0,"mat-spinner",4)}function b(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",5),a.Sb(1,"mat-form-field"),a.Sb(2,"input",6),a.Zb("change",(function(){return a.xc(t),a.dc().makePath()})),a.ec(3,"translate"),a.Rb(),a.Sb(4,"mat-error"),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Sb(7,"mat-form-field"),a.Sb(8,"input",7),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().description=e})),a.ec(9,"translate"),a.Rb(),a.Rb(),a.Sb(10,"mat-form-field"),a.Nb(11,"input",8),a.ec(12,"translate"),a.Sb(13,"mat-error"),a.Jc(14),a.ec(15,"translate"),a.Rb(),a.Rb(),a.Sb(16,"mat-form-field"),a.Nb(17,"input",8),a.ec(18,"translate"),a.Sb(19,"mat-error"),a.Jc(20),a.ec(21,"translate"),a.Rb(),a.Rb(),a.Sb(22,"mat-form-field"),a.Nb(23,"input",8),a.ec(24,"translate"),a.Sb(25,"mat-error"),a.Jc(26),a.ec(27,"translate"),a.Rb(),a.Rb(),a.Sb(28,"span"),a.Jc(29),a.ec(30,"translate"),a.Rb(),a.Sb(31,"mat-checkbox",9),a.Zb("ngModelChange",(function(e){return a.xc(t),a.dc().status=e})),a.Jc(32),a.ec(33,"translate"),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.lc("placeholder",a.fc(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),a.kc("formControl",t.nameControl),a.Ab(3),a.Kc(a.fc(6,19,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_NAME")),a.Ab(3),a.lc("placeholder",a.fc(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),a.kc("ngModel",t.description),a.Ab(3),a.lc("placeholder",a.fc(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),a.kc("formControl",t.delayControl),a.Ab(3),a.Kc(a.fc(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),a.Ab(3),a.lc("placeholder",a.fc(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),a.kc("formControl",t.recurrenceControl),a.Ab(3),a.Kc(a.fc(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),a.Ab(3),a.lc("placeholder",a.fc(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),a.kc("formControl",t.pathControl),a.Ab(3),a.Kc(a.fc(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),a.Ab(3),a.Kc(a.fc(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")),a.Ab(2),a.kc("ngModel",t.status),a.Ab(1),a.Kc(a.fc(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function m(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",10),a.Sb(1,"button",11),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"button",12),a.Zb("click",(function(){a.xc(t);const e=a.dc();return e.asEdit?e.onEdit():e.onCreate()})),a.Jc(5),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),a.Ab(2),a.kc("disabled",t.nameControl.invalid||t.delayControl.invalid||t.recurrenceControl.invalid||t.pathControl.invalid),a.Ab(1),a.Lc(" ",t.buttonText," ")}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.serviceManager=i,this.notificator=n,this.translate=s,this.loading=!1,this.status=!0,this.nameControl=new o.g("",[o.F.required]),this.delayControl=new o.g(10,[o.F.pattern("^[0-9]*$")]),this.recurrenceControl=new o.g(2,[o.F.pattern("^[0-9]*$")]),this.pathControl=new o.g("",[o.F.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)(a.Mb(n.i),a.Mb(n.a),a.Mb(r.n),a.Mb(s.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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,"ml-5",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&&(a.Sb(0,"h1",0),a.Jc(1),a.Rb(),a.Sb(2,"div"),a.Hc(3,g,1,0,"mat-spinner",1),a.Hc(4,b,34,39,"div",2),a.Hc(5,m,6,5,"div",3),a.Rb()),2&t&&(a.Ab(1),a.Kc(e.title),a.Ab(1),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,l.t,u.c,n.g,h.c,d.b,o.c,o.C,o.r,o.h,h.b,o.u,p.a,n.c,f.b],pipes:[c.d],styles:[""]}),t})()},pgvo:function(t,e,i){"use strict";i.d(e,"a",(function(){return H}));var n=i("EM62"),s=i("cePI"),o=i("cqs0"),r=i("iAde"),a=i("FlRo"),c=i("8clQ"),l=i("Ssnw"),u=i("9wx0"),h=i("2kYt"),d=i("+Tre"),p=i("bFHC"),f=i("Y2X+"),g=i("FcRk"),b=i("s2Ay");function m(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",21),n.Sb(1,"mat-checkbox",22),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("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.Tb();n.Sb(0,"td",23),n.Sb(1,"mat-checkbox",24),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function y(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION_ID")))}function w(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function v(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.SERVICE")))}function _(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.service.name)}}function S(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.FACILITY")))}function E(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.facility.name)}}function C(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION")))}function R(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.destination)}}function T(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.TYPE")))}function k(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.type.toUpperCase())}}function I(t,e){1&t&&n.Nb(0,"th",21)}function O(t,e){1&t&&(n.Sb(0,"mat-icon",28),n.ec(1,"translate"),n.Jc(2," check_circle_outline "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.ALLOWED"))}function D(t,e){1&t&&(n.Sb(0,"mat-icon",28),n.ec(1,"translate"),n.Jc(2," block "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.BLOCKED"))}function M(t,e){if(1&t&&(n.Sb(0,"td",26),n.Hc(1,O,3,3,"mat-icon",27),n.Hc(2,D,3,3,"mat-icon",27),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngIf",!t.blocked),n.Ab(1),n.kc("ngIf",t.blocked)}}function P(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.PROPAGATION_TYPE")))}function x(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.propagationType)}}function N(t,e){1&t&&n.Nb(0,"tr",29)}function L(t,e){1&t&&n.Nb(0,"tr",30)}function F(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function z(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.NO_DESTINATIONS"),"\n"))}let H=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.destinations=[],this.selection=new o.c(!0,[]),this.filterValue="",this.pageSize=10,this.page=new n.o,this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"destinationId"!==t)),this.dataSource=new a.o(this.destinations),this.setDataSource(),this.dataSource.filter=this.filterValue.toLowerCase()}getDataForColumn(t,e){switch(e){case"destinationId":return t.id.toString();case"service":return t.service.name;case"facility":return t.facility.name;case"destination":return t.destination;case"type":return t.type;case"status":return t.blocked?"blocked":"allowed";case"propagationType":return t.propagationType;default:return""}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}pageChanged(t){this.page.emit(t)}ngAfterViewInit(){this.dataSource.paginator=this.paginator}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-perun-web-apps-destination-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(s.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{destinations:"destinations",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[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","destinationId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","service"],["mat-cell","",4,"matCellDef"],["matColumnDef","facility"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","propagationType"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,m,2,3,"th",6),n.Hc(7,A,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",9),n.Hc(10,w,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,v,3,3,"th",9),n.Hc(13,_,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,S,3,3,"th",9),n.Hc(16,E,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,C,3,3,"th",9),n.Hc(19,R,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,T,3,3,"th",9),n.Hc(22,k,2,1,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,I,1,0,"th",6),n.Hc(25,M,3,2,"td",11),n.Pb(),n.Qb(26,16),n.Hc(27,P,3,3,"th",9),n.Hc(28,x,2,1,"td",11),n.Pb(),n.Hc(29,N,1,0,"tr",17),n.Hc(30,L,1,0,"tr",18),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",19),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,F,3,3,"app-alert",20),n.Hc(33,z,3,3,"app-alert",20)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.destinations.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.destinations.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.destinations.length),n.Ab(1),n.kc("ngIf",0===e.destinations.length))},directives:[u.a,a.n,s.a,a.c,a.i,a.b,a.k,a.m,r.a,h.t,a.h,d.a,a.a,s.b,p.a,f.a,a.j,a.l,g.a],pipes:[b.d],styles:[""]}),t})()},pnmw:function(t,e,i){"use strict";i.d(e,"a",(function(){return j}));var n=i("EM62"),s=i("X2Q7"),o=i("cePI"),r=i("FlRo"),a=i("iAde"),c=i("8clQ"),l=i("OL2r"),u=i("Ssnw"),h=i("mjJC"),d=i("OZ4H"),p=i("9wx0"),f=i("2kYt"),g=i("+Tre"),b=i("PBFl"),m=i("bFHC"),A=i("Y2X+"),y=i("sEIs"),w=i("TQS+"),v=i("FcRk"),_=i("s2Ay"),S=i("j+u3");function E(t,e){if(1&t){const t=n.Tb();n.Sb(0,"th",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(e){n.xc(t);const i=n.dc();return e?i.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function C(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",20),n.Sb(1,"mat-checkbox",21),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function R(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")))}function T(t,e){if(1&t&&(n.Sb(0,"td",20),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.member.id)}}function k(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")))}function I(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.member.user))}}function O(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")))}function D(t,e){if(1&t&&(n.Sb(0,"span"),n.Jc(1),n.ec(2,"userFullName"),n.Nb(3,"br"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Lc(" ",n.fc(2,1,t.user),"")}}function M(t,e){if(1&t&&(n.Sb(0,"td",23),n.Hc(1,D,4,3,"span",24),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.kc("ngForOf",t.sponsors)}}function P(t,e){1&t&&n.Nb(0,"th",22)}function x(t,e){if(1&t){const t=n.Tb();n.Sb(0,"span",27),n.ec(1,"translate"),n.Sb(2,"button",28),n.Zb("mouseenter",(function(){return n.xc(t),n.dc(2).disableRouting=!0}))("mouseleave",(function(){n.xc(t);const e=n.dc(2);return e.disableRouting=e.routingStrategy}))("click",(function(){n.xc(t);const e=n.dc().$implicit;return n.dc().resetPassword(e)})),n.Sb(3,"mat-icon"),n.Jc(4,"vpn_key"),n.Rb(),n.Rb(),n.Rb()}if(2&t){const t=n.dc(2);n.kc("matTooltip",n.fc(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET"))("matTooltipPosition","above"),n.Ab(2),n.kc("disabled",t.loading)}}function N(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",23),n.Sb(1,"button",25),n.Zb("mouseenter",(function(){return n.xc(t),n.dc().disableRouting=!0}))("mouseleave",(function(){n.xc(t);const e=n.dc();return e.disableRouting=e.routingStrategy}))("click",(function(){n.xc(t);const i=e.$implicit;return n.dc().showSponsors(i)})),n.Sb(2,"mat-icon"),n.Jc(3,"edit"),n.Rb(),n.Rb(),n.Hc(4,x,5,5,"span",26),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(4),n.kc("ngIf",i.passwdResetAuth(t))}}function L(t,e){1&t&&n.Nb(0,"tr",29)}const F=function(t,e){return["/organizations",t,"members",e]};function z(t,e){if(1&t&&n.Nb(0,"tr",30),2&t){const t=e.$implicit,i=n.dc();n.Eb("disable-outline",i.disableRouting)("cursor-pointer",!i.disableRouting),n.kc("routerLink",i.disableRouting?null:n.qc(6,F,t.member.voId,t.member.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.qc(9,F,t.member.voId,t.member.id))}}function H(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function B(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let j=(()=>{class t{constructor(t,e,i,s,o){this.dialog=t,this.authResolver=e,this.storeService=i,this.attributesManager=s,this.tableCheckbox=o,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.pageSize=10,this.page=new n.o,this.refreshTable=new n.o,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=c.a}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(this.sponsoredMembers),this.setDataSource(),this.dataSource.filter=this.filterValue,this.routingStrategy=this.disableRouting}getDataForColumn(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.map(t=>Object(c.w)(t.user)).join();default:return""}}exportData(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>Object(c.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(c.g)(t,e,this.getDataForColumn,this),this.dataSource.filter=this.filterValue,this.dataSource.paginator=this.paginator)}showSponsors(t){const e=Object(c.o)();e.width="650px",e.data={sponsors:t.sponsors,member:t.member,theme:"vo-theme"},this.dialog.open(l.a,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.paginator}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=Object(c.o)();s.width="400px",s.data={userId:t.member.userId,memberId:t.member.id,logins:n},this.dialog.open(h.a,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)(n.Mb(d.b),n.Mb(u.h),n.Mb(u.m),n.Mb(s.c),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-sponsored-members-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Qc(a.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSize:"pageSize"},outputs:{page:"page",refreshTable:"refreshTable"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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,"routerLink","perunWebAppsMiddleClickRouterLink","disable-outline","cursor-pointer",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"mouseenter","mouseleave","click"],[3,"matTooltip","matTooltipPosition",4,"ngIf"],[3,"matTooltip","matTooltipPosition"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,E,2,3,"th",6),n.Hc(7,C,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,R,3,3,"th",9),n.Hc(10,T,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,k,3,3,"th",9),n.Hc(13,I,3,3,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,O,3,3,"th",9),n.Hc(16,M,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,P,1,0,"th",9),n.Hc(19,N,5,1,"td",11),n.Pb(),n.Hc(20,L,1,0,"tr",14),n.Hc(21,z,1,12,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,H,3,3,"app-alert",17),n.Hc(24,B,3,3,"app-alert",17)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.sponsoredMembers.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.sponsoredMembers.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.sponsoredMembers.length),n.Ab(1),n.kc("ngIf",0===e.sponsoredMembers.length))},directives:[p.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,a.a,f.t,r.h,g.a,r.a,o.b,f.s,b.b,m.a,A.a,r.j,r.l,y.g,w.c,v.a],pipes:[_.d,S.a],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},prE9:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("Efrr"),s=i("pBDD"),o=i("mW0F");class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new a(t,this.durationSelector))}}class a extends s.a{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=Object(o.a)(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("8lHc");function l(t,e=n.a){return i=()=>Object(c.a)(t,e),function(t){return t.lift(new r(i))};var i}},py76:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("8clQ"),s=i("nyAh"),o=i("EM62");let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const e=Object(n.l)(t.attributes,s.a.GROUP_SYNC_ENABLED),i=Object(n.l)(t.attributes,s.a.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=Object(n.l)(t.attributes,s.a.GROUP_LAST_SYNC_STATE),i=Object(n.l)(t.attributes,s.a.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=Object(n.l)(t.attributes,s.a.GROUP_LAST_STRUCTURE_SYNC_STATE),i=Object(n.l)(t.attributes,s.a.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.Lb({name:"groupSyncIconColor",type:t,pure:!0}),t})()},pynj:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("EM62"),s=i("KTx3"),o=i("YtkY"),r=i("mWib"),a=i("Ohay"),c=i("29Wa"),l=i("Cd2c"),u=i("s2Ay");const h=["groupFilterInput"];let d=(()=>{class t{constructor(){this.filter=new n.o}ngOnInit(){Object(s.a)(this.groupFilterInput.nativeElement,"keyup").pipe(Object(o.a)(t=>t.target.value),Object(r.a)(500),Object(a.a)()).subscribe(t=>{this.filter.emit(t)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){var i;1&t&&n.Dc(h,!0),2&t&&n.sc(i=n.ac())&&(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.Sb(0,"mat-form-field",0),n.Nb(1,"input",1,2),n.ec(3,"translate"),n.Rb()),2&t&&(n.Ab(1),n.lc("placeholder",n.fc(3,1,e.placeholder)))},directives:[c.c,l.b],pipes:[u.d],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})()},qEfY:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},qZtG:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("ROBh"),s=i("mawV");function o(...t){return Object(s.a)()(Object(n.a)(...t))}},qvOF:function(t,e,i){"use strict";i.d(e,"a",(function(){return P})),i.d(e,"b",(function(){return N})),i.d(e,"c",(function(){return j})),i.d(e,"d",(function(){return B})),i.d(e,"e",(function(){return z})),i.d(e,"f",(function(){return x})),i.d(e,"g",(function(){return G})),i.d(e,"h",(function(){return L}));var n=i("5XID"),s=i("EM62"),o=i("ZTXN"),r=i("ROBh"),a=i("IdLP"),c=i("KTx3"),l=i("g6G6"),u=i("VvXq"),h=i("vT4p"),d=i("bwdy"),p=i("9bRT"),f=i("Ohay"),g=i("prE9"),b=i("xVbo"),m=i("kuMc"),A=i("jIqt"),y=i("5uGe");class w{call(t,e){return e.subscribe(new v(t))}}class v extends y.a{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 _=i("TLy2"),S=i("wqq/"),E=i("cZZj"),C=i("2kYt"),R=i("E5oP"),T=i("cqs0");const k=["contentWrapper"],I=["*"],O=new s.r("VIRTUAL_SCROLL_STRATEGY");class D{constructor(t,e,i){this._scrolledIndexChange=new o.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(f.a)()),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){if(i0&&(n.end=Math.min(o,n.end+t),n.start=Math.max(0,Math.floor(e-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(n),this._viewport.setRenderedContentOffset(this._itemSize*n.start),this._scrolledIndexChange.next(Math.floor(e))}}function M(t){return t._scrollStrategy}let P=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new D(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Object(n.f)(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Object(n.f)(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Object(n.f)(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[s.zb([{provide:O,useFactory:M,deps:[Object(s.U)(()=>t)]}]),s.yb]}),t})(),x=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new o.a,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.a(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(Object(g.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(r.a)()}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(Object(b.a)(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let i=e.nativeElement,n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(c.a)(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.Wb(s.A),s.Wb(E.a),s.Wb(C.e,8))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(s.A),Object(s.Wb)(E.a),Object(s.Wb)(C.e,8))},token:t,providedIn:"root"}),t})(),N=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new o.a,this._elementScrolled=new a.a(t=>this.ngZone.runOutsideAngular(()=>Object(c.a)(this.elementRef.nativeElement,"scroll").pipe(Object(m.a)(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!=Object(E.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(E.d)()?t.left=t.right:1==Object(E.d)()&&(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;Object(E.g)()?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==Object(E.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==Object(E.d)()?"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.Mb(s.l),s.Mb(x),s.Mb(s.A),s.Mb(R.c,8))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),L=(()=>{class t{constructor(t,e,i){this._platform=t,this._document=i,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?Object(l.a)(Object(c.a)(e,"resize"),Object(c.a)(e,"orientationchange")):Object(r.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}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._getDocument(),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(Object(g.a)(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().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.Wb(E.a),s.Wb(s.A),s.Wb(C.e,8))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(E.a),Object(s.Wb)(s.A),Object(s.Wb)(C.e,8))},token:t,providedIn:"root"}),t})();const F="undefined"!=typeof requestAnimationFrame?u.a:h.a;let z=(()=>{class t extends N{constructor(t,e,i,n,s,r,c){if(super(t,r,i,s),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=n,this._detachedSubject=new o.a,this._renderedRangeSubject=new o.a,this._orientation="vertical",this.scrolledIndexChange=new a.a(t=>this._scrollStrategy.scrolledIndexChange.subscribe(e=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(e))))),this.renderedRangeStream=this._renderedRangeSubject.asObservable(),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=d.a.EMPTY,!n)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');c&&(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(Object(A.a)(null),Object(g.a)(0,F)).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){if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Object(m.a)(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.Mb(s.l),s.Mb(s.h),s.Mb(s.A),s.Mb(O,8),s.Mb(R.c,8),s.Mb(x),s.Mb(L,8))},t.\u0275cmp=s.Gb({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){var i;1&t&&s.Dc(k,!0),2&t&&s.sc(i=s.ac())&&(e._contentWrapper=i.first)},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&s.Eb("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[s.zb([{provide:N,useExisting:t}]),s.xb],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.jc(),s.Sb(0,"div",0,1),s.ic(2),s.Rb(),s.Nb(3,"div",2)),2&t&&(s.Ab(3),s.Ec("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 H(t,e){if(!e.getBoundingClientRect)return 0;const i=e.getBoundingClientRect();return"horizontal"==t?i.width:i.height}let B=(()=>{class t{constructor(t,e,i,n,s){this._viewContainerRef=t,this._template=e,this._differs=i,this._viewport=n,this.viewChange=new o.a,this._dataSourceChanges=new o.a,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Object(A.a)(null),t=>t.lift(new w),Object(_.a)(([t,e])=>this._changeDataSource(t,e)),Object(S.a)(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new o.a,this.dataStream.subscribe(t=>{this._data=t,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Object(m.a)(this._destroyed)).subscribe(t=>{this._renderedRange=t,s.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,Object(T.e)(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new T.a(Object(p.a)(t)?t:Array.prototype.slice.call(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)}measureRangeSize(t,e){if(t.start>=t.end)return 0;if(t.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");const i=t.start-this._renderedRange.start;let n=0,s=t.end-t.start;for(;s--;){const t=this._viewContainerRef.get(s+i);let o=t?t.rootNodes.length:0;for(;o--;)n+=H(e,t.rootNodes[o])}return n}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(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(let t of this._templateCache)t.destroy()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):Object(r.a)()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){let i=this._viewContainerRef.get(e);i.context.index=this._renderedRange.start+e,i.context.count=t,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(t){t.forEachOperation((t,e,i)=>{if(null==t.previousIndex)this._insertViewForNewItem(i).context.$implicit=t.item;else if(null==i)this._cacheView(this._detachView(e));else{const n=this._viewContainerRef.get(e);this._viewContainerRef.move(n,i),n.context.$implicit=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)}}_cacheView(t){if(this._templateCache.length{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)}}),t})(),G=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[R.a,E.b,j],R.a,j]}),t})()},qySP:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("8clQ"),c=i("Ssnw"),l=i("9wx0"),u=i("2kYt"),h=i("+Tre"),d=i("Ds80"),p=i("sEIs"),f=i("TQS+"),g=i("FcRk"),b=i("s2Ay");function m(t,e){1&t&&n.Nb(0,"th",18)}function A(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function y(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")))}function w(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.id)}}function v(t,e){1&t&&n.Nb(0,"th",18)}function _(t,e){if(1&t&&(n.Sb(0,"td",22),n.Nb(1,"perun-web-apps-recently-viewed-icon",23),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("recentIds",i.recentIds)("id",t.id)}}function S(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")))}function E(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.shortName)}}function C(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")))}function R(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.name)}}function T(t,e){1&t&&n.Nb(0,"tr",24)}const k=function(t){return["/organizations",t]};function I(t,e){if(1&t&&n.Nb(0,"tr",25),2&t){const t=e.$implicit,i=n.dc();n.Eb("disable-outline",i.disableRouting),n.kc("routerLink",i.disableRouting?null:n.pc(4,k,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.pc(6,k,t.id))}}function O(t,e){1&t&&(n.Sb(0,"app-alert",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function D(t,e){1&t&&(n.Sb(0,"app-alert",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let M=(()=>{class t{constructor(t){this.authResolver=t,this.vos=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.pageSizeOptions=a.a,this.page=new n.o}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.o(this.vos),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.paginator}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){Object(a.i)(Object(a.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Object(a.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(a.g)(t,e,this.getDataForColumn,this),this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Qc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,m,1,0,"th",6),n.Hc(7,A,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",9),n.Hc(10,w,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,v,1,0,"th",6),n.Hc(13,_,2,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,S,3,3,"th",9),n.Hc(16,E,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,C,3,3,"th",9),n.Hc(19,R,2,1,"td",11),n.Pb(),n.Hc(20,T,1,0,"tr",14),n.Hc(21,I,1,8,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,O,3,3,"app-alert",17),n.Hc(24,D,3,3,"app-alert",17)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.vos.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.vos.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.vos.length),n.Ab(1),n.kc("ngIf",0===e.vos.length))},directives:[l.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,u.t,r.h,r.a,h.a,o.b,d.a,r.j,r.l,p.g,f.c,g.a],pipes:[b.d],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})()},r3xl:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Kc(a.fc(3,5,"DIALOGS.DELETE_SERVICE.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.DELETE_SERVICE.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.serviceManager=i,this.notificator=n,this.translate=s,this.displayedColumns=["name"],this.dataSource=new r.o(this.data.services),this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.services=this.data.services}recDelete(){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).subscribe(()=>{this.recDelete(),this.loading=!1},()=>this.loading=!1)}onDelete(){this.recDelete()}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Mb(s.i),a.Mb(s.a),a.Mb(n.n),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({type:t,selectors:[["app-delete-service-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.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onDelete()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,9,"DIALOGS.DELETE_SERVICE.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.DELETE_SERVICE.CANCEL"),""),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.DELETE_SERVICE.DELETE"),""))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t})()},r9RI:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");class s extends n.a{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()}}},rWo0:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("HgnN"),s=i("i9P/");const o={closed:!0,next(t){},error(t){if(n.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)},complete(){}}},rmDM:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),s=i("s2Ay");let o=(()=>{class t{constructor(t){this.translateService=t}transform(t,...e){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)(n.Mb(s.e))},t.\u0275pipe=n.Lb({name:"applicationFormItemDisabled",type:t,pure:!0}),t})()},ruxD:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("5uGe"),s=i("bwdy");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.a{constructor(t,e){super(t),this.add(new s.a(e))}}},ryP2:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("6Oco"),s=i("ROBh"),o=i("47ST");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 Object(s.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(n.b)()}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})()},s2Ay:function(t,e,i){"use strict";i.d(e,"a",(function(){return x})),i.d(e,"b",(function(){return f})),i.d(e,"c",(function(){return L})),i.d(e,"d",(function(){return N})),i.d(e,"e",(function(){return P}));var n=i("EM62"),s=i("ROBh"),o=i("9bRT"),r=i("P4Xx"),a=i("qZtG"),c=i("i9xl"),l=i("J+dc"),u=i("wqq/"),h=i("YtkY"),d=i("5uDM"),p=i("TLy2");class f{}let g=(()=>{class t extends f{getTranslation(t){return Object(s.a)({})}}return t.\u0275fac=function(e){return b(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();const b=n.Ub(g);class m{}let A=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();function y(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(!y(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{class t extends _{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(e){return E(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();const E=n.Ub(S);class C{}let R=(()=>{class t extends C{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(e){return T(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();const T=n.Ub(R);class k{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new n.o,this.onLangChange=new n.o,this.onDefaultLangChange=new n.o}}const I=new n.r("USE_STORE"),O=new n.r("USE_DEFAULT_LANG"),D=new n.r("DEFAULT_LANGUAGE"),M=new n.r("USE_EXTEND");let P=(()=>{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.o,this._onLangChange=new n.o,this._onDefaultLangChange=new n.o,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(Object(l.a)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(s.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(l.a)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Object(s.a)(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(Object(u.a)(1),Object(l.a)(1));return this.loadingTranslations=e.pipe(Object(h.a)(e=>this.compiler.compileTranslations(e,t)),Object(u.a)(1),Object(l.a)(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]?function t(e,i){let n=Object.assign({},e);return v(e)&&v(i)&&Object.keys(i).forEach(s=>{v(i[s])?s in e?n[s]=t(e[s],i[s]):Object.assign(n,{[s]:i[s]}):Object.assign(n,{[s]:i[s]})}),n}(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),Object(o.a)(n[s])&&(a=!0);if(a){const t=e.map(t=>Object(o.a)(n[t])?n[t]:Object(s.a)(n[t]));return Object(r.a)(t).pipe(Object(h.a)(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(Object(d.a)(i=>(i=this.getParsedResult(i,t,e),Object(o.a)(i)?i:Object(s.a)(i))));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(o.a)(i)?i:Object(s.a)(i)}}getStreamOnTranslationChange(t,e){if(!w(t)||!t.length)throw new Error('Parameter "key" required');return Object(a.a)(Object(c.a)(()=>this.get(t,e)),this.onTranslationChange.pipe(Object(p.a)(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:Object(s.a)(n)})))}stream(t,e){if(!w(t)||!t.length)throw new Error('Parameter "key" required');return Object(a.a)(Object(c.a)(()=>this.get(t,e)),this.onLangChange.pipe(Object(p.a)(i=>{const n=this.getParsedResult(i.translations,t,e);return Object(o.a)(n)?n:Object(s.a)(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(Object(o.a)(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.Wb(k),n.Wb(f),n.Wb(C),n.Wb(_),n.Wb(m),n.Wb(O),n.Wb(I),n.Wb(M),n.Wb(D))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e,i){this.translateService=t,this.element=e,this._ref=i,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(t=>{t.lang===this.translateService.currentLang&&this.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(t=>{this.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(t=>{this.checkNodes(!0)}))}set translate(t){t&&(this.key=t,this.checkNodes())}set translateParams(t){y(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(t=!1,e){let i=this.element.nativeElement.childNodes;i.length||(this.setContent(this.element.nativeElement,this.key),i=this.element.nativeElement.childNodes);for(let n=0;n{i!==t&&(e.lastKey=t),e.originalContent||(e.originalContent=this.getContent(e)),e.currentValue=w(i)?i:e.originalContent||t,this.setContent(e,this.key?e.currentValue:e.originalContent.replace(t,e.currentValue)),this._ref.markForCheck()};if(w(i)){let e=this.translateService.getParsedResult(i,t,this.currentParams);Object(o.a)(e)?e.subscribe(n):n(e)}else this.translateService.get(t,this.currentParams).subscribe(n)}}getContent(t){return w(t.textContent)?t.textContent:t.data}setContent(t,e){w(t.textContent)?t.textContent=e:t.data=e}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(P),n.Mb(n.l),n.Mb(n.h))},t.\u0275dir=n.Hb({type:t,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),t})(),N=(()=>{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);Object(o.a)(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(y(t,this.lastKey)&&y(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.Mb(P),n.Yb())},t.\u0275pipe=n.Lb({name:"translate",type:t,pure:!1}),t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),L=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:f,useClass:g},e.compiler||{provide:C,useClass:R},e.parser||{provide:_,useClass:S},e.missingTranslationHandler||{provide:m,useClass:A},k,{provide:I,useValue:e.isolate},{provide:O,useValue:e.useDefaultLang},{provide:M,useValue:e.extend},{provide:D,useValue:e.defaultLanguage},P]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:f,useClass:g},e.compiler||{provide:C,useClass:R},e.parser||{provide:_,useClass:S},e.missingTranslationHandler||{provide:m,useClass:A},{provide:I,useValue:e.isolate},{provide:O,useValue:e.useDefaultLang},{provide:M,useValue:e.extend},{provide:D,useValue:e.defaultLanguage},P]}}}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t})()},s8L6:function(t,e,i){"use strict";i.d(e,"a",(function(){return E}));var n=i("cqs0"),s=i("V78E"),o=i("X2Q7"),r=i("snnp"),a=i("iyZ4"),c=i("8clQ"),l=i("Ssnw"),u=i("EM62"),h=i("OZ4H"),d=i("sEIs"),p=i("0XDM"),f=i("2kYt"),g=i("A8Ay"),b=i("PBFl"),m=i("csyo"),A=i("23RZ"),y=i("s2Ay");function w(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",7),u.Zb("click",(function(){return u.xc(t),u.dc().createResource()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function v(t,e){if(1&t){const t=u.Tb();u.Sb(0,"button",8),u.Zb("click",(function(){return u.xc(t),u.dc().removeResource()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}if(2&t){const t=u.dc();u.kc("disabled",0===t.selected.selected.length),u.Ab(1),u.Lc(" ",u.fc(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function _(t,e){1&t&&u.Nb(0,"mat-spinner",9)}function S(t,e){if(1&t){const t=u.Tb();u.Sb(0,"perun-web-apps-resources-list",10),u.Zb("page",(function(e){return u.xc(t),u.dc().pageChanged(e)})),u.Rb()}if(2&t){const t=u.dc();u.kc("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("selection",t.selected)("disableRouting",!t.routeAuth)("displayedColumns",t.displayedColumns)}}let E=(()=>{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.c(!0,[]),this.filterValue="",this.tableId=a.z,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=Object(c.o)();t.width="450px",t.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(s.a,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=Object(c.o)();t.width="1350px",t.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(r.a,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.Mb(h.b),u.Mb(o.g),u.Mb(a.pb),u.Mb(d.a),u.Mb(l.h))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"perun-web-apps-refresh-button",1),u.Zb("refresh",(function(){return e.refreshTable()})),u.Rb(),u.Hc(5,w,3,3,"button",2),u.Hc(6,v,3,4,"button",3),u.Sb(7,"perun-web-apps-immediate-filter",4),u.Zb("filter",(function(t){return e.applyFilter(t)})),u.Rb(),u.Hc(8,_,1,0,"mat-spinner",5),u.Hc(9,S,1,6,"perun-web-apps-resources-list",6),u.Rb()),2&t&&(u.Ab(2),u.Kc(u.fc(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),u.Ab(3),u.kc("ngIf",!e.loading&&e.addAuth),u.Ab(1),u.kc("ngIf",!e.loading&&e.removeAuth),u.Ab(1),u.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading))},directives:[p.a,f.t,g.a,b.b,m.c,A.a],pipes:[y.d],styles:[""]}),t})()},sEIs:function(t,e,i){"use strict";i.d(e,"a",(function(){return Ft})),i.d(e,"b",(function(){return z})),i.d(e,"c",(function(){return F})),i.d(e,"d",(function(){return ai})),i.d(e,"e",(function(){return ze})),i.d(e,"f",(function(){return Qe})),i.d(e,"g",(function(){return ti})),i.d(e,"h",(function(){return ni})),i.d(e,"i",(function(){return ei})),i.d(e,"j",(function(){return fi})),i.d(e,"k",(function(){return si})),i.d(e,"l",(function(){return Be}));var n=i("2kYt"),s=i("EM62"),o=i("ROBh"),r=i("GoAz"),a=i("C05f"),c=i("HM3f"),l=i("IdLP"),u=i("VxHp"),h=i("i9xl"),d=i("6Oco"),p=i("ZTXN"),f=i("YtkY"),g=i("mawV"),b=i("xVbo"),m=i("5uGe"),A=i("PNff");function y(t){return function(e){return 0===t?Object(d.b)():e.lift(new w(t))}}class w{constructor(t){if(this.total=t,this.total<0)throw new A.a}call(t,e){return e.subscribe(new v(t,this.total))}}class v extends m.a{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 ot(t){return Array.prototype.concat.apply([],t)}function rt(t){return t.length>0?t[t.length-1]:null}function at(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function ct(t){return Object(s.rb)(t)?t:Object(s.sb)(t)?Object(r.a)(Promise.resolve(t)):Object(o.a)(t)}function lt(t,e,i){return i?function(t,e){return nt(t,e)}(t.queryParams,e.queryParams)&&function t(e,i){if(!pt(e.segments,i.segments))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!e.children[n])return!1;if(!t(e.children[n],i.children[n]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>st(t[i],e[i]))}(t.queryParams,e.queryParams)&&function t(e,i){return function e(i,n,s){if(i.segments.length>s.length)return!!pt(i.segments.slice(0,s.length),s)&&!n.hasChildren();if(i.segments.length===s.length){if(!pt(i.segments,s))return!1;for(const e in n.children){if(!i.children[e])return!1;if(!t(i.children[e],n.children[e]))return!1}return!0}{const t=s.slice(0,i.segments.length),o=s.slice(i.segments.length);return!!pt(i.segments,t)&&!!i.children.primary&&e(i.children.primary,n,o)}}(e,i,i.segments)}(t.root,e.root)}class ut{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=tt(this.queryParams)),this._queryParamMap}toString(){return mt.serialize(this)}}class ht{constructor(t,e){this.segments=t,this.children=e,this.parent=null,at(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return At(this)}}class dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=tt(this.parameters)),this._parameterMap}toString(){return Et(this)}}function pt(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}function ft(t,e){let i=[];return at(t.children,(t,n)=>{"primary"===n&&(i=i.concat(e(t,n)))}),at(t.children,(t,n)=>{"primary"!==n&&(i=i.concat(e(t,n)))}),i}class gt{}class bt{parse(t){const e=new It(t);return new ut(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,i){if(!e.hasChildren())return At(e);if(i){const i=e.children.primary?t(e.children.primary,!1):"",n=[];return at(e.children,(e,i)=>{"primary"!==i&&n.push(`${i}:${t(e,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=ft(e,(i,n)=>"primary"===n?[t(e.children.primary,!1)]:[`${n}:${t(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${At(e)}/${i[0]}`:`${At(e)}/(${i.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${wt(e)}=${wt(t)}`).join("&"):`${wt(e)}=${wt(i)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const mt=new bt;function At(t){return t.segments.map(t=>Et(t)).join("/")}function yt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wt(t){return yt(t).replace(/%3B/gi,";")}function vt(t){return yt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _t(t){return decodeURIComponent(t)}function St(t){return _t(t.replace(/\+/g,"%20"))}function Et(t){return`${vt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${vt(t)}=${vt(e[t])}`).join("")}`;var e}const Ct=/^[^\/()?;=#]+/;function Rt(t){const e=t.match(Ct);return e?e[0]:""}const Tt=/^[^=?&#]+/,kt=/^[^?&#]+/;class It{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ht([],{}):new ht([],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 ht(t,e)),i}parseSegment(){const t=Rt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new dt(_t(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Rt(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=Rt(this.remaining);t&&(i=t,this.capture(i))}t[_t(e)]=_t(i)}parseQueryParam(t){const e=function(t){const e=t.match(Tt);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(kt);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=St(e),s=St(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=Rt(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;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 ht([],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 Ot{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=Dt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Dt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Mt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Mt(t,this._root).map(t=>t.value)}}function Dt(t,e){if(t===e.value)return e;for(const i of e.children){const e=Dt(t,i);if(e)return e}return null}function Mt(t,e){if(t===e.value)return[e];for(const i of e.children){const n=Mt(t,i);if(n.length)return n.unshift(e),n}return[]}class Pt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function xt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Nt extends Ot{constructor(t,e){super(t),this.snapshot=e,jt(this,t)}toString(){return this.snapshot.toString()}}function Lt(t,e){const i=function(t,e){const i=new Ht([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Bt("",new Pt(i,[]))}(t,e),n=new a.a([new dt("",{})]),s=new a.a({}),o=new a.a({}),r=new a.a({}),c=new a.a(""),l=new Ft(n,s,r,c,o,"primary",e,i.root);return l.snapshot=i.root,new Nt(new Pt(l,[]),i)}class Ft{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(Object(f.a)(t=>tt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>tt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zt(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 Ht{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=tt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=tt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bt extends Ot{constructor(t,e){super(e),this.url=t,jt(this,e)}toString(){return Gt(this._root)}}function jt(t,e){e.value._routerState=t,e.children.forEach(e=>jt(t,e))}function Gt(t){const e=t.children.length>0?` { ${t.children.map(Gt).join(", ")} } `:"";return`${t.value}${e}`}function Ut(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,nt(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),nt(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;int(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Kt(t.parent,e.parent))}function Vt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function qt(t,e,i,n,s){let o={};return n&&at(n,(t,e)=>{o[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new ut(i.root===t?e:function t(e,i,n){const s={};return at(e.children,(e,o)=>{s[o]=e===i?n:t(e,i,n)}),new ht(e.segments,s)}(i.root,t,e),o,s)}class Jt{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Vt(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(n&&n!==rt(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wt{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function Zt(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Yt(t,e,i){if(t||(t=new ht([],{})),0===t.segments.length&&t.hasChildren())return $t(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=Zt(i[n]),a=n0&&void 0===r)break;if(r&&a&&"object"==typeof a&&void 0===a.outlets){if(!ee(r,a,e))return o;n+=2}else{if(!ee(r,{},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{null!==i&&(s[n]=Yt(t.children[n],e,i))}),at(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new ht(t.segments,s)}}function Xt(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{null!==t&&(e[i]=Xt(new ht([],{}),0,t))}),e}function te(t){const e={};return at(t,(t,i)=>e[i]=""+t),e}function ee(t,e,i){return t==i.path&&nt(e,i.parameters)}class ie{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),Ut(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=xt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),at(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);if(i){const n=xt(t),s=t.value.component?i.children:e;at(n,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(t,e,i){const n=xt(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new $(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Z(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(Ut(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),ne(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 ne(t){Ut(t.value),t.children.forEach(ne)}class se{constructor(t,e){this.routes=t,this.module=e}}function oe(t){return"function"==typeof t}function re(t){return t instanceof ut}const ae=Symbol("INITIAL_VALUE");function ce(){return Object(C.a)(t=>Object(c.a)(...t.map(t=>t.pipe(Object(R.a)(1),Object(T.a)(ae)))).pipe(Object(k.a)((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==ae)return t;if(n===ae&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||re(n))return n}return t},t)},ae),Object(b.a)(t=>t!==ae),Object(f.a)(t=>re(t)?t:!0===t),Object(R.a)(1)))}class le{constructor(t){this.segmentGroup=t||null}}class ue{constructor(t){this.urlTree=t}}function he(t){return new l.a(e=>e.error(new le(t)))}function de(t){return new l.a(e=>e.error(new ue(t)))}function pe(t){return new l.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class fe{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.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(I.a)(t=>{if(t instanceof ue)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof le)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(I.a)(t=>{if(t instanceof le)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 ht([],{primary:t}):t;return new ut(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(Object(f.a)(t=>new ht([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){return function(t,e){if(0===Object.keys(t).length)return Object(o.a)({});const i=[],n=[],s={};return at(t,(t,o)=>{const r=e(o,t).pipe(Object(f.a)(t=>s[o]=t));"primary"===o?i.push(r):n.push(r)}),o.a.apply(null,i.concat(n)).pipe(Object(g.a)(),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Object(b.a)((e,i)=>t(e,i,n)):E.a,y(1),i?Object(S.a)(e):Object(_.a)(()=>new u.a))}(),Object(f.a)(()=>s))}(i.children,(i,n)=>this.expandSegmentGroup(t,e,n,i))}expandSegment(t,e,i,n,s,r){return Object(o.a)(...i).pipe(Object(O.a)(a=>this.expandSegmentAgainstRoute(t,e,i,a,n,s,r).pipe(Object(I.a)(t=>{if(t instanceof le)return Object(o.a)(null);throw t}))),Object(D.a)(t=>!!t),Object(I.a)((t,i)=>{if(t instanceof u.a||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,n,s))return Object(o.a)(new ht([],{}));throw new le(e)}throw t}))}noLeftoversInUrl(t,e,i){return 0===e.length&&!t.children[i]}expandSegmentAgainstRoute(t,e,i,n,s,o,r){return Ae(n)!==o?he(e):void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o):he(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("/")?de(s):this.lineralizeSegments(i,s).pipe(Object(M.a)(i=>{const s=new ht(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}=ge(e,n,s);if(!r)return he(e);const u=this.applyRedirectCommands(a,n.redirectTo,l);return n.redirectTo.startsWith("/")?de(u):this.lineralizeSegments(n,u).pipe(Object(M.a)(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),o,!1)))}matchSegmentAgainstRoute(t,e,i,n){if("**"===i.path)return i.loadChildren?this.configLoader.load(t.injector,i).pipe(Object(f.a)(t=>(i._loadedConfig=t,new ht(n,{})))):Object(o.a)(new ht(n,{}));const{matched:s,consumedSegments:r,lastChild:a}=ge(e,i,n);if(!s)return he(e);const c=n.slice(a);return this.getChildConfig(t,i,n).pipe(Object(M.a)(t=>{const i=t.module,n=t.routes,{segmentGroup:s,slicedSegments:a}=function(t,e,i,n){return i.length>0&&function(t,e,i){return i.some(i=>me(t,e,i)&&"primary"!==Ae(i))}(t,i,n)?{segmentGroup:be(new ht(e,function(t,e){const i={};i.primary=e;for(const n of t)""===n.path&&"primary"!==Ae(n)&&(i[Ae(n)]=new ht([],{}));return i}(n,new ht(i,t.children)))),slicedSegments:[]}:0===i.length&&function(t,e,i){return i.some(i=>me(t,e,i))}(t,i,n)?{segmentGroup:be(new ht(t.segments,function(t,e,i,n){const s={};for(const o of i)me(t,e,o)&&!n[Ae(o)]&&(s[Ae(o)]=new ht([],{}));return Object.assign(Object.assign({},n),s)}(t,i,n,t.children))),slicedSegments:i}:{segmentGroup:t,slicedSegments:i}}(e,r,c,n);return 0===a.length&&s.hasChildren()?this.expandChildren(i,n,s).pipe(Object(f.a)(t=>new ht(r,t))):0===n.length&&0===a.length?Object(o.a)(new ht(r,{})):this.expandSegment(i,s,n,a,"primary",!0).pipe(Object(f.a)(t=>new ht(r.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?Object(o.a)(new se(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(Object(M.a)(i=>i?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new l.a(e=>e.error(et(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(o.a)(new se([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;if(!n||0===n.length)return Object(o.a)(!0);const s=n.map(n=>{const s=t.get(n);let o;if(function(t){return t&&oe(t.canLoad)}(s))o=s.canLoad(e,i);else{if(!oe(s))throw new Error("Invalid CanLoad guard");o=s(e,i)}return ct(o)});return Object(o.a)(s).pipe(ce(),Object(P.a)(t=>{if(!re(t))return;const e=et(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(f.a)(t=>!0===t))}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return Object(o.a)(i);if(n.numberOfChildren>1||!n.children.primary)return pe(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 ut(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return at(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 at(e.children,(e,s)=>{o[s]=this.createSegmentGroup(t,e,i,n)}),new ht(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 ge(t,e,i){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(e.matcher||it)(i,t,e);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function be(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new ht(t.segments.concat(e.segments),e.children)}return t}function me(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function Ae(t){return t.outlet||"primary"}class ye{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class we{constructor(t,e){this.component=t,this.route=e}}function ve(t,e,i){const n=t._root;return function t(e,i,n,s,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=xt(i);return e.children.forEach(e=>{!function(e,i,n,s,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=e.value,a=i?i.value:null,c=n?n.getContext(e.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){const l=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!pt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!pt(t.url,e.url)||!nt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Kt(t,e)||!nt(t.queryParams,e.queryParams);case"paramsChange":default:return!Kt(t,e)}}(a,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new ye(s)):(r.data=a.data,r._resolvedData=a._resolvedData),t(e,i,r.component?c?c.children:null:n,s,o),l&&c&&c.outlet&&c.outlet.isActivated&&o.canDeactivateChecks.push(new we(c.outlet.component,a))}else a&&Se(i,c,o),o.canActivateChecks.push(new ye(s)),t(e,null,r.component?c?c.children:null:n,s,o)}(e,r[e.value.outlet],n,s.concat([e.value]),o),delete r[e.value.outlet]}),at(r,(t,e)=>Se(t,n.getContext(e),o)),o}(n,e?e._root:null,i,[n.value])}function _e(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 Se(t,e,i){const n=xt(t),s=t.value;at(n,(t,n)=>{Se(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new we(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function Ee(t,e){return null!==t&&e&&e(new Y(t)),Object(o.a)(!0)}function Ce(t,e){return null!==t&&e&&e(new W(t)),Object(o.a)(!0)}function Re(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return Object(o.a)(!0);const s=n.map(n=>Object(h.a)(()=>{const s=_e(n,e,i);let o;if(function(t){return t&&oe(t.canActivate)}(s))o=ct(s.canActivate(e,t));else{if(!oe(s))throw new Error("Invalid CanActivate guard");o=ct(s(e,t))}return o.pipe(Object(D.a)())}));return Object(o.a)(s).pipe(ce())}function Te(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=>Object(h.a)(()=>{const s=e.guards.map(s=>{const o=_e(s,e.node,i);let r;if(function(t){return t&&oe(t.canActivateChild)}(o))r=ct(o.canActivateChild(n,t));else{if(!oe(o))throw new Error("Invalid CanActivateChild guard");r=ct(o(n,t))}return r.pipe(Object(D.a)())});return Object(o.a)(s).pipe(ce())}));return Object(o.a)(s).pipe(ce())}class ke{}class Ie{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(){try{const t=Me(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),i=new Ht([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Pt(i,e),s=new Bt(this.url,n);return this.inheritParamsAndData(s._root),Object(o.a)(s)}catch(t){return new l.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,i=zt(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=ft(e,(e,i)=>this.processSegmentGroup(t,e,i));return function(t){const e={};t.forEach(t=>{const i=e[t.value.outlet];if(i){const e=i.url.map(t=>t.toString()).join("/"),n=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${n}'.`)}e[t.value.outlet]=t.value})}(i),i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,i,n){for(const o of t)try{return this.processSegmentAgainstRoute(o,e,i,n)}catch(s){if(!(s instanceof ke))throw s}if(this.noLeftoversInUrl(e,i,n))return[];throw new ke}noLeftoversInUrl(t,e,i){return 0===e.length&&!t.children[i]}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo)throw new ke;if((t.outlet||"primary")!==n)throw new ke;let s,o=[],r=[];if("**"===t.path){const o=i.length>0?rt(i).parameters:{};s=new Ht(i,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ne(t),n,t.component,t,Oe(e),De(e)+i.length,Le(t))}else{const a=function(t,e,i){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||i.length>0))throw new ke;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(e.matcher||it)(i,t,e);if(!n)throw new ke;const s={};at(n.posParams,(t,e)=>{s[e]=t.path});const o=n.consumed.length>0?Object.assign(Object.assign({},s),n.consumed[n.consumed.length-1].parameters):s;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:o}}(e,t,i);o=a.consumedSegments,r=i.slice(a.lastChild),s=new Ht(o,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ne(t),n,t.component,t,Oe(e),De(e)+o.length,Le(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:l}=Me(e,o,r,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new Pt(s,t)]}if(0===a.length&&0===l.length)return[new Pt(s,[])];const u=this.processSegment(a,c,l,"primary");return[new Pt(s,u)]}}function Oe(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function De(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 Me(t,e,i,n,s){if(i.length>0&&function(t,e,i){return i.some(i=>Pe(t,e,i)&&"primary"!==xe(i))}(t,i,n)){const s=new ht(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"!==xe(o)){const i=new ht([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[xe(o)]=i}return s}(t,e,n,new ht(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=>Pe(t,e,i))}(t,i,n)){const o=new ht(t.segments,function(t,e,i,n,s,o){const r={};for(const a of n)if(Pe(t,i,a)&&!s[xe(a)]){const i=new ht([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===o?t.segments.length:e.length,r[xe(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 ht(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}function Pe(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function xe(t){return t.outlet||"primary"}function Ne(t){return t.data||{}}function Le(t){return t.resolve||{}}function Fe(t){return function(e){return e.pipe(Object(C.a)(e=>{const i=t(e);return i?Object(r.a)(i).pipe(Object(f.a)(()=>e)):Object(r.a)([e])}))}}class ze{}class He 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}}{}let Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Gb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s.Nb(0,"router-outlet")},directives:function(){return[si]},encapsulation:2}),t})();function je(t,e=""){for(let i=0;i{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new se(ot(n.injector.get(Ve)).map(Ke),n)}))}loadModuleFactory(t){return"string"==typeof t?Object(r.a)(this.loader.load(t)):ct(t()).pipe(Object(M.a)(t=>t instanceof s.w?Object(o.a)(t):Object(r.a)(this.compiler.compileModuleAsync(t))))}}class Je{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new We,this.attachRef=null}}class We{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 Je,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Ze{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Ye(t){throw t}function $e(t,e,i){return e.parse("/")}function Xe(t,e){return Object(o.a)(null)}let Qe=(()=>{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.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=Ye,this.malformedUriErrorHandler=$e,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Xe,afterPreactivation:Xe},this.urlHandlingStrategy=new Ze,this.routeReuseStrategy=new He,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(s.y),this.console=o.get(s.Z);const u=o.get(s.A);this.isNgZoneEnabled=u instanceof s.A,this.resetConfig(l),this.currentUrlTree=new ut(new ht([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new qe(r,c,t=>this.triggerEvent(new q(t)),t=>this.triggerEvent(new J(t))),this.routerState=Lt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id: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(Object(b.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(C.a)(t=>{let i=!1,n=!1;return Object(o.a)(t).pipe(Object(P.a)(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}}),Object(C.a)(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(C.a)(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()?d.a:[t]}),Object(C.a)(t=>Promise.resolve(t)),(n=this.ngModule.injector,s=this.configLoader,r=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(C.a)(t=>function(t,e,i,n,s){return new fe(t,e,i,n,s).apply()}(n,s,r,t.extractedUrl,a).pipe(Object(f.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(P.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return function(o){return o.pipe(Object(M.a)(o=>function(t,e,i,n,s="emptyOnly",o="legacy"){return new Ie(t,e,i,n,s,o).recognize()}(t,e,o.urlAfterRedirects,i(o.urlAfterRedirects),n,s).pipe(Object(f.a)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(P.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(P.a)(t=>{const i=new j(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,s,r,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:r,extras:a}=t,c=new F(i,this.serializeUrl(n),s,r);e.next(c);const l=Lt(n,this.rootComponentType).snapshot;return Object(o.a)(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),d.a}),Fe(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})}),Object(P.a)(t=>{const e=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign(Object.assign({},t),{guards:ve(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(i){return i.pipe(Object(M.a)(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:c}}=i;return 0===c.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return Object(r.a)(t).pipe(Object(M.a)(t=>function(t,e,i,n,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(o.a)(!0);const a=r.map(o=>{const r=_e(o,e,s);let a;if(function(t){return t&&oe(t.canDeactivate)}(r))a=ct(r.canDeactivate(t,e,i,n));else{if(!oe(r))throw new Error("Invalid CanDeactivate guard");a=ct(r(t,e,i,n))}return a.pipe(Object(D.a)())});return Object(o.a)(a).pipe(ce())}(t.component,t.route,i,e,n)),Object(D.a)(t=>!0!==t,!0))}(c,n,s,t).pipe(Object(M.a)(i=>i&&"boolean"==typeof i?function(t,e,i,n){return Object(r.a)(e).pipe(Object(O.a)(e=>Object(r.a)([Ce(e.route.parent,n),Ee(e.route,n),Te(t,e.path,i),Re(t,e.route,i)]).pipe(Object(g.a)(),Object(D.a)(t=>!0!==t,!0))),Object(D.a)(t=>!0!==t,!0))}(n,a,t,e):Object(o.a)(i)),Object(f.a)(t=>Object.assign(Object.assign({},i),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(P.a)(t=>{if(re(t.guardsResult)){const e=et(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(P.a)(t=>{const e=new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(b.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const i=new H(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(i),t.resolve(!1),!1}return!0}),Fe(t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(P.a)(t=>{const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(C.a)(t=>{let i=!1;return Object(o.a)(t).pipe((n=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(t){return t.pipe(Object(M.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:i}}=t;if(!i.length)return Object(o.a)(t);let a=0;return Object(r.a)(i).pipe(Object(O.a)(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return Object(o.a)({});const a={};return Object(r.a)(s).pipe(Object(M.a)(s=>function(t,e,i,n){const s=_e(t,e,n);return ct(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe(Object(P.a)(t=>{a[s]=t}))),y(1),Object(M.a)(()=>Object.keys(a).length===s.length?Object(o.a)(a):d.a))}(t._resolve,t,e,n).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),zt(t,i).resolve),null)))}(t.route,e,n,s)),Object(P.a)(()=>a++),y(1),Object(M.a)(e=>a===i.length?Object(o.a)(t):d.a))}))}),Object(P.a)({next:()=>i=!0,complete:()=>{if(!i){const i=new H(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(i),t.resolve(!1)}}}));var n,s}),Object(P.a)(t=>{const e=new V(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Fe(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})}),Object(f.a)(t=>{const e=function(t,e,i){const n=function t(e,i,n){if(n&&e.shouldReuseRoute(i.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=i.value;const o=function(e,i,n){return i.children.map(i=>{for(const s of n.children)if(e.shouldReuseRoute(s.value.snapshot,i.value))return t(e,i,s);return t(e,i)})}(e,i,n);return new Pt(s,o)}{const n=e.retrieve(i.value);if(n){const t=n.route;return function t(e,i){if(e.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=e.value;for(let n=0;nt(e,i));return new Pt(n,o)}}var s}(t,e._root,i?i._root:void 0);return new Nt(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(P.a)(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.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,c=this.routeReuseStrategy,l=t=>this.triggerEvent(t),Object(f.a)(t=>(new ie(c,t.targetRouterState,t.currentRouterState,l).activate(s),t))),Object(P.a)({next(){i=!0},complete(){i=!0}}),Object(x.a)(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new H(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(i),t.resolve(!1)}this.currentNavigation=null}),Object(I.a)(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=re(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);return 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 B(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(o){t.reject(o)}}var s;return d.a}));var s,c,l}))}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,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){je(t),this.config=t.map(Ke),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:i,queryParams:n,fragment:o,preserveQueryParams:r,queryParamsHandling:a,preserveFragment:c}=e;Object(s.W)()&&r&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=i||this.routerState.root,u=c?this.currentUrlTree.fragment:o;let h=null;if(a)switch(a){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=n||null}else h=r?this.currentUrlTree.queryParams:n||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,i,n,s){if(0===i.length)return qt(e.root,e.root,e,n,s);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Jt(!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 at(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 Jt(i,e,n)}(i);if(o.toRoot())return qt(e.root,new ht([],{}),e,n,s);const r=function(t,e,i){if(t.isAbsolute)return new Wt(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new Wt(t,t===e.root,0)}const n=Vt(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 Wt(n,!1,s-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(o,e,t),a=r.processChildren?$t(r.segmentGroup,r.index,o.commands):Yt(r.segmentGroup,r.index,o.commands);return qt(r.segmentGroup,a,e,n,s)}(l,this.currentUrlTree,t,h,u)}navigateByUrl(t,e={skipLocationChange:!1}){Object(s.W)()&&this.isNgZoneEnabled&&!s.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=re(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,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.events.next(new z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){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;return this.setTransition({id:h,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,i,n){const s=this.urlSerializer.serialize(t);n=n||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(s,"",Object.assign(Object.assign({},n),{navigationId:i}))}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),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(s.O),s.Wb(gt),s.Wb(We),s.Wb(n.n),s.Wb(s.s),s.Wb(s.x),s.Wb(s.i),s.Wb(void 0))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),ti=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new p.a,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]:[]}set preserveQueryParams(t){Object(s.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:ii(this.skipLocationChange),replaceUrl:ii(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:ii(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:ii(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(Qe),s.Mb(Ft),s.Xb("tabindex"),s.Mb(s.F),s.Mb(s.l))},t.\u0275dir=s.Hb({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.Zb("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[s.yb]}),t})(),ei=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new p.a,this.subscription=t.events.subscribe(t=>{t instanceof z&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(s.W)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=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:ii(this.skipLocationChange),replaceUrl:ii(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:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:ii(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:ii(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(Qe),s.Mb(Ft),s.Mb(n.o))},t.\u0275dir=s.Hb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.Zb("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(s.Vb("href",e.href,s.zc),s.Bb("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[s.yb]}),t})();function ii(t){return""===t||!!t}let ni=(()=>{class t{constructor(t,e,i,n,s,o){this.router=t,this.element=e,this.renderer=i,this.cdr=n,this.link=s,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof z&&this.update()})}ngAfterContentInit(){Object(r.a)([this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)]).pipe(Object(N.a)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Object(r.a)(e).pipe(Object(N.a)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(Qe),s.Mb(s.l),s.Mb(s.F),s.Mb(s.h),s.Mb(ti,8),s.Mb(ei,8))},t.\u0275dir=s.Hb({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,i){var n;1&t&&(s.Fb(i,ti,!0),s.Fb(i,ei,!0)),2&t&&(s.sc(n=s.ac())&&(e.links=n),s.sc(n=s.ac())&&(e.linksWithHrefs=n))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s.yb]}),t})(),si=(()=>{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.o,this.deactivateEvents=new s.o,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 oi(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.Mb(We),s.Mb(s.Q),s.Mb(s.j),s.Xb("name"),s.Mb(s.h))},t.\u0275dir=s.Hb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class oi{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Ft?this.route:t===We?this.childContexts:this.parent.get(t,e)}}class ri{}class ai{preload(t,e){return Object(o.a)(null)}}let ci=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new qe(e,i,e=>t.triggerEvent(new q(e)),e=>t.triggerEvent(new J(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(b.a)(t=>t instanceof z),Object(O.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.y);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 Object(r.a)(i).pipe(Object(N.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(M.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(Qe),s.Wb(s.x),s.Wb(s.i),s.Wb(s.s),s.Wb(ri))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),li=(()=>{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 z&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof X&&(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 X(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.Wb(Qe),s.Wb(n.H),s.Wb(void 0))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const ui=new s.r("ROUTER_CONFIGURATION"),hi=new s.r("ROUTER_FORROOT_GUARD"),di=[n.n,{provide:gt,useClass:bt},{provide:Qe,useFactory:function(t,e,i,s,o,r,a,c={},l,u){const h=new Qe(null,t,e,i,s,o,r,ot(a));if(l&&(h.urlHandlingStrategy=l),u&&(h.routeReuseStrategy=u),c.errorHandler&&(h.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(h.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const t=Object(n.M)();h.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return c.onSameUrlNavigation&&(h.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(h.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(h.relativeLinkResolution=c.relativeLinkResolution),h},deps:[gt,We,n.n,s.s,s.x,s.i,Ve,ui,[class{},new s.B],[ze,new s.B]]},We,{provide:Ft,useFactory:function(t){return t.routerState.root},deps:[Qe]},{provide:s.x,useClass:s.L},ci,ai,class{preload(t,e){return e().pipe(Object(I.a)(()=>Object(o.a)(null)))}},{provide:ui,useValue:{enableTracing:!1}}];function pi(){return new s.z("Router",Qe)}let fi=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[di,Ai(e),{provide:hi,useFactory:mi,deps:[[Qe,new s.B,new s.K]]},{provide:ui,useValue:i||{}},{provide:n.o,useFactory:bi,deps:[n.D,[new s.q(n.a),new s.B],ui]},{provide:li,useFactory:gi,deps:[Qe,n.H,ui]},{provide:ri,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:ai},{provide:s.z,multi:!0,useFactory:pi},[yi,{provide:s.d,multi:!0,useFactory:wi,deps:[yi]},{provide:_i,useFactory:vi,deps:[yi]},{provide:s.b,multi:!0,useExisting:_i}]]}}static forChild(e){return{ngModule:t,providers:[Ai(e)]}}}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)(s.Wb(hi,8),s.Wb(Qe,8))}}),t})();function gi(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new li(t,e,i)}function bi(t,e,i={}){return i.useHash?new n.h(t,e):new n.B(t,e)}function mi(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ai(t){return[{provide:s.a,multi:!0,useValue:t},{provide:Ve,multi:!0,useValue:t}]}let yi=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}appInitializer(){return this.injector.get(n.m,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(Qe),n=this.injector.get(ui);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))t(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(ui),i=this.injector.get(ci),n=this.injector.get(li),o=this.injector.get(Qe),r=this.injector.get(s.g);t===r.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(s.s))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();function wi(t){return t.appInitializer.bind(t)}function vi(t){return t.bootstrapListener.bind(t)}const _i=new s.r("Router Initializer")},sWLk:function(t,e,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(e,"a",(function(){return s}));const s=n()},seVz:function(t,e,i){"use strict";i.d(e,"a",(function(){return A})),i.d(e,"b",(function(){return C})),i.d(e,"c",(function(){return S})),i.d(e,"d",(function(){return I})),i.d(e,"e",(function(){return E})),i.d(e,"f",(function(){return v})),i.d(e,"g",(function(){return y})),i.d(e,"h",(function(){return T})),i.d(e,"i",(function(){return k})),i.d(e,"j",(function(){return b})),i.d(e,"k",(function(){return m}));var n=i("cqs0"),s=i("9bRT"),o=i("ZTXN"),r=i("C05f"),a=i("ROBh"),c=i("J+dc"),l=i("xVbo"),u=i("kuMc"),h=i("EM62"),d=i("5XID"),p=i("sg/T"),f=i("E5oP");class g{constructor(){this.expansionModel=new n.c(!0)}toggle(t){this.expansionModel.toggle(t)}expand(t){this.expansionModel.select(t)}collapse(t){this.expansionModel.deselect(t)}isExpanded(t){return this.expansionModel.isSelected(t)}toggleDescendants(t){this.expansionModel.isSelected(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)}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e)}}class b extends g{constructor(t,e){super(),this.getLevel=t,this.isExpandable=e}getDescendants(t){const e=[];for(let i=this.dataNodes.indexOf(t)+1;i[...t,...this.getDescendants(e),e],[]);this.expansionModel.select(...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)):Object(s.a)(i)&&i.pipe(Object(c.a)(1),Object(l.a)(Boolean)).subscribe(e=>{for(const i of e)this._getDescendants(t,i)})}}const A=new h.r("CDK_TREE_NODE_OUTLET_NODE");let y=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.Q),h.Mb(A,8))},t.\u0275dir=h.Hb({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class w{constructor(t){this.$implicit=t}}let v=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.M))},t.\u0275dir=h.Hb({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})();function _(){return Error("Could not find functions for nested/flat tree in tree control.")}let S=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new o.a,this._levels=new Map,this.viewChange=new r.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw Error("Could not find a tree control for the tree.")}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);if(t.length>1)throw Error("There can only be one default row without a when predicate function.");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;if(Object(n.e)(this._dataSource)?t=this._dataSource.connect(this):Object(s.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(a.a)(this._dataSource)),!t)throw Error("A valid data source must be provided.");this._dataSubscription=t.pipe(Object(u.a)(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){if(1===this._nodeDefs.length)return this._nodeDefs.first;const i=this._nodeDefs.find(i=>i.when&&i.when(e,t))||this._defaultNodeDef;if(!i)throw Error("Could not find a matching node definition for the provided node data.");return i}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),E.mostRecentTreeNode&&(E.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.t),h.Mb(h.h))},t.\u0275cmp=h.Gb({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,i){var n;1&t&&h.Fb(i,v,!0),2&t&&h.sc(n=h.ac())&&(e._nodeDefs=n)},viewQuery:function(t,e){var i;1&t&&h.Dc(y,!0),2&t&&h.sc(i=h.ac())&&(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&&h.Ob(0,0)},directives:[y],encapsulation:2}),t})(),E=(()=>{class t{constructor(e,i){this._elementRef=e,this._tree=i,this._destroyed=new o.a,this._dataChanges=new o.a,this.role="treeitem",t.mostRecentTreeNode=this}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)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw _();const t=this._tree.treeControl.getChildren(this._data);Array.isArray(t)?this._setRoleFromChildren(t):Object(s.a)(t)&&t.pipe(Object(u.a)(this._destroyed)).subscribe(t=>this._setRoleFromChildren(t))}}_setRoleFromChildren(t){this.role=t&&t.length?"group":"treeitem"}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.l),h.Mb(S))},t.\u0275dir=h.Hb({type:t,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:3,hostBindings:function(t,e){2&t&&h.Bb("aria-expanded",e.isExpanded)("aria-level","treeitem"===e.role?e.level:null)("role",e.role)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})(),C=(()=>{class t extends E{constructor(t,e,i){super(t,e),this._elementRef=t,this._tree=e,this._differs=i}ngAfterContentInit(){if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw _();const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):Object(s.a)(t)&&t.pipe(Object(u.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(u.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}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.Mb(h.l),h.Mb(S),h.Mb(h.t))},t.\u0275dir=h.Hb({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,i){var n;1&t&&h.Fb(i,y,!0),2&t&&h.sc(n=h.ac())&&(e.nodeOutlet=n)},hostAttrs:[1,"cdk-tree-node","cdk-nested-tree-node"],hostVars:2,hostBindings:function(t,e){2&t&&h.Bb("aria-expanded",e.isExpanded)("role",e.role)},exportAs:["cdkNestedTreeNode"],features:[h.zb([{provide:E,useExisting:t},{provide:A,useExisting:t}]),h.xb]}),t})();const R=/([A-Za-z%]+)$/;let T=(()=>{class t{constructor(t,e,i,n,s){this._treeNode=t,this._tree=e,this._element=n,this._dir=s,this._destroyed=new o.a,this.indentUnits="px",this._indent=40,this._setPadding(),s&&s.change.pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._level=Object(d.f)(t,null),this._setPadding()}get indent(){return this._indent}set indent(t){let e=t,i="px";if("string"==typeof t){const n=t.split(R);e=n[0],i=n[1]||i}this.indentUnits=i,this._indent=Object(d.f)(e),this._setPadding()}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}}}return t.\u0275fac=function(e){return new(e||t)(h.Mb(E),h.Mb(S),h.Mb(h.F),h.Mb(h.l),h.Mb(f.c,8))},t.\u0275dir=h.Hb({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=Object(d.c)(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.Mb(S),h.Mb(E))},t.\u0275dir=h.Hb({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&h.Zb("click",(function(t){return e._toggle(t)}))},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),I=(()=>{class t{}return t.\u0275mod=h.Kb({type:t}),t.\u0275inj=h.Jb({factory:function(e){return new(e||t)},providers:[p.h,v]}),t})()},"sg/T":function(t,e,i){"use strict";i.d(e,"a",(function(){return G})),i.d(e,"b",(function(){return S})),i.d(e,"c",(function(){return v})),i.d(e,"d",(function(){return x})),i.d(e,"e",(function(){return B})),i.d(e,"f",(function(){return O})),i.d(e,"g",(function(){return E})),i.d(e,"h",(function(){return z})),i.d(e,"i",(function(){return I})),i.d(e,"j",(function(){return j})),i.d(e,"k",(function(){return P})),i.d(e,"l",(function(){return N}));var n=i("2kYt"),s=i("EM62"),o=i("ZTXN"),r=i("bwdy"),a=i("ROBh"),c=i("fAiE"),l=i("8j5Y"),u=i("mWib"),h=i("xVbo"),d=i("YtkY"),p=i("J+dc"),f=i("5XID"),g=i("cZZj"),b=i("TKFd");function m(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let A=0;const y=new Map;let w=null,v=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),y.set(e,{messageElement:e,referenceCount:0})):y.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=y.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}w&&0===w.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=y.get(e);!function(t,e,i){const n=m(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=y.get(e);i.referenceCount--,function(t,e,i){const n=m(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=m(t,"aria-describedby"),n=y.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.Wb(n.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(n.e))},token:t,providedIn:"root"}),t})();class _{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=r.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,t instanceof s.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){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)(t=>this._pressedLetters.push(t)),Object(u.a)(t),Object(h.a)(()=>this._pressedLetters.length>0),Object(d.a)(()=>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.p:return void this.tabOut.next();case c.e:if(this._vertical&&i){this.setNextItemActive();break}return;case c.q:if(this._vertical&&i){this.setPreviousItemActive();break}return;case c.n:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.j:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||Object(c.t)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.a&&e<=c.r||e>=c.s&&e<=c.k)&&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.E?this._items.toArray():this._items}}class S extends _{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class E extends _{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 C=(()=>{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){const t=e&&e.nodeName.toLowerCase();if(-1===T(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=T(t);if(t.hasAttribute("contenteditable"))return-1!==s;if("iframe"===n)return!1;if("audio"===n){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(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))&&t.tabIndex>=0}isFocusable(t){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")||R(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(g.a))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(g.a))},token:t,providedIn:"root"}),t})();function R(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 T(t){if(!R(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class k{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}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(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_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.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let I=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new k(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(C),s.Wb(s.A),s.Wb(n.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(C),Object(s.Wb)(s.A),Object(s.Wb)(n.e))},token:t,providedIn:"root"}),t})(),O=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(f.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(f.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(I),s.Mb(n.e))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),t})();"undefined"!=typeof Element&∈const D=new s.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),M=new s.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let P=(()=>{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="off"}get politeness(){return this._politeness}set politeness(t){this._politeness="polite"===t||"assertive"===t?t:"off","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.Mb(s.l),s.Mb(P),s.Mb(b.b),s.Mb(s.A))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function N(t){return 0===t.buttons}const L=new s.r("cdk-focus-monitor-default-options"),F=Object(g.f)({passive:!0,capture:!0});let z=(()=>{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=N(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=H(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=H(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){if(!this._platform.isBrowser)return Object(a.a)(null);const i=Object(f.e)(t),n=Object(g.c)(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject.asObservable();const r={checkChildren:e,subject:new o.a,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject.asObservable()}stopMonitoring(t){const e=Object(f.e)(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=Object(f.e)(t);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=H(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);if(!i||!i.checkChildren&&e!==H(t))return;const n=this._getFocusOrigin(t);this._setClasses(e,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_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,F),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,F)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,F),t.addEventListener("mousedown",this._documentMousedownListener,F),t.addEventListener("touchstart",this._documentTouchstartListener,F),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,F),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,F),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,F),t.removeEventListener("mousedown",this._documentMousedownListener,F),t.removeEventListener("touchstart",this._documentTouchstartListener,F),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(s.Wb(s.A),s.Wb(g.a),s.Wb(n.e,8),s.Wb(L,8))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(s.A),Object(s.Wb)(g.a),Object(s.Wb)(n.e,8),Object(s.Wb)(L,8))},token:t,providedIn:"root"}),t})();function H(t){return t.composedPath?t.composedPath()[0]:t.target}let B=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(z))},t.\u0275dir=s.Hb({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._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");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.Wb(g.a),s.Wb(n.e))},t.\u0275prov=Object(s.Ib)({factory:function(){return new t(Object(s.Wb)(g.a),Object(s.Wb)(n.e))},token:t,providedIn:"root"}),t})(),G=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)(s.Wb(j))},imports:[[g.b,b.c]]}),t})()},snnp:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("nIj0"),s=i("OZ4H"),o=i("X2Q7"),r=i("Ssnw"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("YRqw"),p=i("29Wa"),f=i("Cd2c");function g(t,e){1&t&&a.Nb(0,"mat-spinner",5)}function b(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div",6),a.Sb(1,"perun-web-apps-vo-search-select",7),a.Zb("voSelected",(function(e){return a.xc(t),a.dc().selectedVo=e})),a.Rb(),a.Sb(2,"mat-form-field"),a.Nb(3,"input",8),a.ec(4,"translate"),a.Sb(5,"mat-error"),a.Jc(6),a.ec(7,"translate"),a.Rb(),a.Rb(),a.Sb(8,"mat-form-field"),a.Nb(9,"input",8),a.ec(10,"translate"),a.Sb(11,"mat-error"),a.Jc(12),a.ec(13,"translate"),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(1),a.kc("vos",t.vos),a.Ab(2),a.lc("placeholder",a.fc(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),a.kc("formControl",t.nameCtrl),a.Ab(3),a.Lc(" ",a.fc(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),a.Ab(3),a.lc("placeholder",a.fc(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),a.kc("formControl",t.descriptionCtrl),a.Ab(3),a.Lc(" ",a.fc(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let m=(()=>{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 n.g(null,[n.F.required,n.F.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new n.g(null,[n.F.required,n.F.pattern(".*[\\S]+.*")]),this.nameCtrl.markAllAsTouched(),this.descriptionCtrl.markAllAsTouched()}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)(a.Mb(s.i),a.Mb(s.a),a.Mb(r.l),a.Mb(o.r),a.Mb(c.e),a.Mb(o.m))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Hc(1,g,1,0,"mat-spinner",0),a.Hc(2,b,14,15,"div",1),a.Sb(3,"div",2),a.Sb(4,"button",3),a.Zb("click",(function(){return e.onCancel()})),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Kc(a.fc(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")),a.Ab(2),a.kc("disabled",e.nameCtrl.invalid||e.descriptionCtrl.invalid||null===e.selectedVo||e.loading),a.Ab(1),a.Kc(a.fc(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")))},directives:[l.t,s.c,u.b,h.c,s.g,d.a,p.c,f.b,n.c,n.C,n.r,n.h,p.b],pipes:[c.d],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),t})()},st5j:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("iyZ4"),a=i("cqs0"),c=i("EM62"),l=i("s2Ay"),u=i("2kYt"),h=i("csyo"),d=i("A8Ay"),p=i("9Iem"),f=i("PBFl");function g(t,e){1&t&&c.Nb(0,"mat-spinner",3)}function b(t,e){if(1&t){const t=c.Tb();c.Sb(0,"div"),c.Sb(1,"perun-web-apps-immediate-filter",4),c.Zb("filter",(function(e){return c.xc(t),c.dc().applyFilter(e)})),c.Rb(),c.Sb(2,"div",5),c.Sb(3,"perun-web-apps-owners-list",6),c.Zb("page",(function(e){return c.xc(t),c.dc().pageChanged(e)})),c.Rb(),c.Rb(),c.Sb(4,"div",7),c.Sb(5,"button",8),c.Zb("click",(function(){return c.xc(t),c.dc().onCancel()})),c.Jc(6),c.ec(7,"translate"),c.Rb(),c.Sb(8,"button",9),c.Zb("click",(function(){return c.xc(t),c.dc().onAdd()})),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Rb(),c.Rb()}if(2&t){const t=c.dc();c.Ab(1),c.kc("placeholder","DIALOGS.ADD_OWNERS.FILTER"),c.Ab(2),c.kc("filterValue",t.filterValue)("pageSize",t.pageSize)("owners",t.owners)("selection",t.selection),c.Ab(3),c.Lc(" ",c.fc(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),c.Ab(2),c.kc("disabled",0===t.selection.selected.length||t.loading),c.Ab(1),c.Lc(" ",c.fc(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}let m=(()=>{class t{constructor(t,e,i,n,s,o,c){this.dialogRef=t,this.data=e,this.notificator=i,this.tableConfigService=n,this.translate=s,this.ownersManagerService=o,this.facilitiesManagerService=c,this.extSources=[],this.selection=new a.c(!0,[]),this.filterValue="",this.tableId=r.d,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)(c.Mb(n.i),c.Mb(n.a),c.Mb(o.l),c.Mb(r.pb),c.Mb(l.e),c.Mb(s.j),c.Mb(s.g))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Sb(3,"div"),c.Hc(4,g,1,0,"mat-spinner",1),c.Hc(5,b,11,12,"div",2),c.Rb()),2&t&&(c.Ab(1),c.Kc(c.fc(2,6,"DIALOGS.ADD_OWNERS.TITLE")),c.Ab(2),c.Cb(e.theme),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[n.j,u.t,h.c,d.a,n.g,p.a,n.c,f.b],pipes:[l.d],styles:[""]}),t})()},t47Z:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r.a})),i.d(e,"a",(function(){return a.a}));var n=i("2kYt"),s=i("EM62");let o=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[n.c]]}),t})();i("YEcy");var r=i("j+u3"),a=(i("W5/Z"),i("aea8"));i("Y7Yh"),i("C5kn"),i("RK/0"),i("yAs8"),i("NZNE"),i("Log1"),i("SAuR"),i("EFHi"),i("H2Dp"),i("h1GH")},tDou:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("Ssnw"),o=i("nIj0"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("sEIs"),u=i("2kYt"),h=i("csyo"),d=i("29Wa"),p=i("Cd2c"),f=i("PBFl"),g=i("Y2X+");function b(t,e){1&t&&a.Nb(0,"mat-spinner",3)}function m(t,e){if(1&t){const t=a.Tb();a.Sb(0,"div"),a.Sb(1,"div",4),a.Sb(2,"mat-form-field"),a.Nb(3,"input",5),a.ec(4,"translate"),a.Sb(5,"mat-error"),a.Jc(6),a.ec(7,"translate"),a.Rb(),a.Rb(),a.Sb(8,"mat-form-field"),a.Nb(9,"input",5),a.ec(10,"translate"),a.Sb(11,"mat-error"),a.Jc(12),a.ec(13,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Sb(14,"div",6),a.Sb(15,"button",7),a.Zb("click",(function(){return a.xc(t),a.dc().onCancel()})),a.Jc(16),a.ec(17,"translate"),a.Rb(),a.Sb(18,"div",8),a.ec(19,"translate"),a.Sb(20,"button",9),a.Zb("click",(function(){return a.xc(t),a.dc().onSubmit()})),a.Jc(21),a.ec(22,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){const t=a.dc();a.Ab(3),a.lc("placeholder",a.fc(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),a.kc("formControl",t.fullNameCtrl),a.Ab(3),a.Lc(" ",a.fc(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),a.Ab(3),a.lc("placeholder",a.fc(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),a.kc("formControl",t.shortNameCtrl),a.Ab(3),a.Lc(" ",a.fc(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),a.Ab(4),a.Lc(" ",a.fc(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),a.Ab(2),a.lc("matTooltip",a.fc(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),a.kc("matTooltipDisabled",t.shortNameCtrl.valid&&t.fullNameCtrl.valid),a.Ab(2),a.kc("disabled",t.shortNameCtrl.invalid||t.fullNameCtrl.invalid),a.Ab(1),a.Lc(" ",a.fc(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 o.g(null,[o.F.required,o.F.pattern("^[\\w.-]+$"),o.F.maxLength(33)]),this.fullNameCtrl=new o.g(null,[o.F.required,o.F.pattern(".*[\\S]+.*"),o.F.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)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.l),a.Mb(r.r),a.Mb(c.e),a.Mb(l.f))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,b,1,0,"mat-spinner",1),a.Hc(5,m,23,25,"div",2),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,6,"DIALOGS.CREATE_VO.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[n.j,u.t,h.c,n.g,d.c,p.b,o.c,o.C,o.r,o.h,d.b,n.c,f.b,g.a],pipes:[c.d],styles:[""]}),t})()},tT6Y:function(t,e,i){"use strict";i.d(e,"a",(function(){return B}));var n=i("OF3q"),s=i("4sdY"),o=i("RUSO"),r=i("cqs0"),a=i("yaDT"),c=i("8clQ"),l=i("X2Q7"),u=i("iyZ4"),h=i("nyAh"),d=i("Ssnw"),p=(i("HHEo"),i("EM62")),f=i("OZ4H"),g=i("sEIs"),b=i("0XDM"),m=i("2kYt"),A=i("pynj"),y=i("k8N0"),w=i("nIj0"),v=i("PBFl"),_=i("Y2X+"),S=i("csyo"),E=i("XAvq"),C=i("K9kF"),R=i("FcRk"),T=i("s2Ay");const k=["toggle"],I=["tree"],O=["list"];function D(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",10),p.Zb("click",(function(){return p.xc(t),p.dc().onCreateGroup()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function M(t,e){if(1&t){const t=p.Tb();p.Sb(0,"button",13),p.Zb("click",(function(){return p.xc(t),p.dc(2).deleteGroup()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){const t=p.dc(2);p.kc("disabled",0===t.selected.selected.length||t.disableRemove()),p.Ab(1),p.Lc(" ",p.fc(2,2,"VO_DETAIL.GROUPS.DELETE_GROUP")," ")}}function P(t,e){if(1&t&&(p.Sb(0,"span",11),p.ec(1,"translate"),p.Hc(2,M,3,4,"button",12),p.Rb()),2&t){const t=p.dc();p.lc("matTooltip",p.fc(1,3,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),p.kc("matTooltipDisabled",void 0===t.tree&&void 0===t.list||t.disableTooltip()),p.Ab(2),p.kc("ngIf",!t.loading)}}function x(t,e){1&t&&p.Nb(0,"mat-spinner",14)}function N(t,e){if(1&t){const t=p.Tb();p.Sb(0,"perun-web-apps-groups-tree",18,19),p.Zb("moveGroup",(function(e){return p.xc(t),p.dc(2).onMoveGroup(e)}))("refreshTable",(function(){return p.xc(t),p.dc(2).loadAllGroups()})),p.Rb()}if(2&t){const t=p.dc(2);p.kc("groups",t.groups)("expandAll",t.filtering)("vo",t.vo)("selection",t.selected)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)}}const L=function(){return["expiration","vo","recent"]};function F(t,e){if(1&t){const t=p.Tb();p.Sb(0,"perun-web-apps-groups-list",20,21),p.Zb("page",(function(e){return p.xc(t),p.dc(2).pageChanged(e)}))("moveGroup",(function(e){return p.xc(t),p.dc(2).onMoveGroup(e)}))("refreshTable",(function(){return p.xc(t),p.dc(2).loadAllGroups()})),p.Rb()}if(2&t){const t=p.dc(2);p.kc("pageSize",t.pageSize)("groups",t.groups)("selection",t.selected)("disableMembers",!0)("hideColumns",p.oc(8,L))("disableRouting",!t.routeAuth)("authType","vo-groups")("filter",t.filterValue)}}function z(t,e){if(1&t&&(p.Sb(0,"div",15),p.Hc(1,N,2,6,"perun-web-apps-groups-tree",16),p.Hc(2,F,2,9,"perun-web-apps-groups-list",17),p.Rb()),2&t){const t=p.dc();p.Ab(1),p.kc("ngIf",!t.showGroupList),p.Ab(1),p.kc("ngIf",t.showGroupList)}}function H(t,e){1&t&&(p.Sb(0,"app-alert",22),p.Jc(1),p.ec(2,"translate"),p.Rb()),2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let B=(()=>{class t{constructor(t,e,i,n,s,o,a,c){this.dialog=t,this.groupService=e,this.sideMenuService=i,this.voService=n,this.route=s,this.tableConfigService=o,this.authResolver=a,this.initAuthService=c,this.groups=[],this.showGroupList=!1,this.selected=new r.c(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=u.jb}onCreateGroup(){const t=Object(c.o)();t.width="450px",t.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(n.a,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=Object(c.o)();t.width="450px",t.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(o.a,t).afterClosed().subscribe(t=>{t&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(t){const e=Object(c.o)();e.width="550px",e.data={group:t,theme:"vo-theme"},this.dialog.open(a.a,e).afterClosed().subscribe(t=>{t&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[h.a.GROUP_SYNC_ENABLED,h.a.GROUP_LAST_SYNC_STATE,h.a.GROUP_LAST_SYNC_TIMESTAMP,h.a.GROUP_STRUCTURE_SYNC_ENABLED,h.a.GROUP_LAST_STRUCTURE_SYNC_STATE,h.a.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)(p.Mb(f.b),p.Mb(l.h),p.Mb(s.a),p.Mb(l.r),p.Mb(g.a),p.Mb(u.pb),p.Mb(d.h),p.Mb(d.i))},t.\u0275cmp=p.Gb({type:t,selectors:[["app-vo-groups"]],viewQuery:function(t,e){var i;1&t&&(p.Dc(k,!0),p.Qc(I,!0),p.Qc(O,!0)),2&t&&(p.sc(i=p.ac())&&(e.toggle=i.first),p.sc(i=p.ac())&&(e.tree=i.first),p.sc(i=p.ac())&&(e.list=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&p.Eb("router-component",!0)},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","hideColumns","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","hideColumns","disableRouting","authType","filter","page","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(t,e){if(1&t&&(p.Sb(0,"div"),p.Sb(1,"h1",0),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"perun-web-apps-refresh-button",1),p.Zb("refresh",(function(){return e.loadAllGroups()})),p.Rb(),p.Hc(5,D,3,3,"button",2),p.Hc(6,P,3,5,"span",3),p.Sb(7,"perun-web-apps-debounce-filter",4),p.Zb("filter",(function(t){return e.applyFilter(t)})),p.Rb(),p.Sb(8,"mat-slide-toggle",5,6),p.Zb("change",(function(){return e.removeAllGroups()}))("ngModelChange",(function(t){return e.showGroupList=t})),p.Jc(10),p.ec(11,"translate"),p.Rb(),p.Sb(12,"label"),p.Jc(13),p.ec(14,"translate"),p.Rb(),p.Hc(15,x,1,0,"mat-spinner",7),p.Hc(16,z,3,2,"div",8),p.Hc(17,H,3,3,"app-alert",9),p.Rb()),2&t){const t=p.tc(9);p.Ab(2),p.Kc(p.fc(3,11,"VO_DETAIL.GROUPS.TITLE")),p.Ab(3),p.kc("ngIf",!e.loading&&e.createAuth),p.Ab(1),p.kc("ngIf",!e.loading),p.Ab(1),p.kc("placeholder","VO_DETAIL.GROUPS.FILTER"),p.Ab(1),p.kc("ngModel",e.showGroupList),p.Ab(2),p.Kc(p.fc(11,13,"VO_DETAIL.GROUPS.TREE_VIEW")),p.Ab(2),p.Bb("for",t.inputId),p.Ab(1),p.Kc(p.fc(14,15,"VO_DETAIL.GROUPS.LIST_VIEW")),p.Ab(2),p.kc("ngIf",e.loading),p.Ab(1),p.kc("ngIf",!e.loading&&0!==e.groups.length),p.Ab(1),p.kc("ngIf",0===e.groups.length&&!e.loading)}},directives:[b.a,m.t,A.a,y.a,w.r,w.u,v.b,_.a,S.c,E.a,C.a,R.a],pipes:[T.d],styles:[""]}),t})()},tmvS:function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));var n=i("EM62"),s=i("Ssnw"),o=i("8clQ"),r=i("+0js"),a=i("OZ4H"),c=i("2kYt"),l=i("bFHC"),u=i("s2Ay");function h(t,e){if(1&t&&(n.Sb(0,"div",5),n.Sb(1,"mat-icon"),n.Jc(2),n.Rb(),n.Rb()),2&t){const t=n.dc();n.Ab(2),n.Kc(t.data.icon)}}function d(t,e){if(1&t&&(n.Sb(0,"div",6),n.Jc(1),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.Lc(" ",t.showTimestamp()," ")}}let p=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new n.o,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=Object(o.o)();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(r.l,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){Object(o.h)(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.Mb(a.b),n.Mb(s.k))},t.\u0275cmp=n.Gb({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.Sb(0,"div"),n.Sb(1,"div",0),n.Zb("click",(function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()})),n.Hc(2,h,3,1,"div",1),n.Sb(3,"div",2),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Hc(6,d,2,1,"div",3),n.Sb(7,"div",4),n.Zb("click",(function(){return e.waiting=!0,e.doAction()})),n.Jc(8),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Db("notification ",e.inDialog?"":"mat-elevation-z7",""),n.Eb("error","error"===e.data.type)("success","success"===e.data.type),n.Ab(2),n.kc("ngIf",null!==e.data.icon),n.Ab(2),n.Lc(" ",n.fc(5,12,e.data.title)," "),n.Ab(2),n.kc("ngIf",e.inDialog),n.Ab(1),n.kc("hidden",e.alreadyPressed),n.Ab(1),n.Lc(" ",e.data.actionText," "))},directives:[c.t,l.a],pipes:[u.d],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})()},ulve:function(t,e,i){"use strict";i.d(e,"a",(function(){return L})),i.d(e,"b",(function(){return G})),i.d(e,"c",(function(){return F})),i.d(e,"d",(function(){return j}));var n=i("sg/T"),s=i("5XID"),o=i("EM62"),r=i("mFH5"),a=i("bwdy"),c=i("ZTXN"),l=i("i9xl"),u=i("g6G6"),h=i("ROBh"),d=i("KTx3"),p=i("2kYt"),f=i("HYj3"),g=i("qvOF"),b=i("fAiE"),m=i("cZZj"),A=i("Sv/w"),y=i("nIj0"),w=i("29Wa"),v=i("J+dc"),_=i("TLy2"),S=i("xVbo"),E=i("YtkY"),C=i("8j5Y"),R=i("BwBJ"),T=i("E5oP");const k=["panel"];function I(t,e){if(1&t&&(o.Sb(0,"div",0,1),o.ic(2),o.Rb()),2&t){const t=o.dc();o.kc("id",t.id)("ngClass",t._classList)}}const O=["*"];let D=0;class M{constructor(t,e){this.source=t,this.option=e}}class P{}const x=Object(r.z)(P),N=new o.r("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let L=(()=>{class t extends x{constructor(t,e,i){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=a.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new o.o,this.opened=new o.o,this.closed=new o.o,this.optionActivated=new o.o,this._classList={},this.id="mat-autocomplete-"+D++,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(s.c)(t)}set classList(t){this._classList=t&&t.length?t.split(" ").reduce((t,e)=>(t[e.trim()]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new n.b(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 M(this,t);this.optionSelected.emit(e)}_setVisibilityClasses(t){t["mat-autocomplete-visible"]=this.showPanel,t["mat-autocomplete-hidden"]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.h),o.Mb(o.l),o.Mb(N))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){var n;1&t&&(o.Fb(i,r.n,!0),o.Fb(i,r.m,!0)),2&t&&(o.sc(n=o.ac())&&(e.options=n),o.sc(n=o.ac())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(o.Dc(o.M,!0),o.Qc(k,!0)),2&t&&(o.sc(i=o.ac())&&(e.template=i.first),o.sc(i=o.ac())&&(e.panel=i.first))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple",displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[o.zb([{provide:r.g,useExisting:t}]),o.xb],ngContentSelectors:O,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(o.jc(),o.Hc(0,I,3,2,"ng-template"))},directives:[p.q],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}\n"],encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"]}),t})();const z=new o.r("mat-autocomplete-scroll-strategy"),H={provide:z,deps:[f.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},B={provide:y.p,useExisting:Object(o.U)(()=>j),multi:!0};let j=(()=>{class t{constructor(t,e,i,n,s,o,r,h,d,p){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=n,this._changeDetectorRef=s,this._dir=r,this._formField=h,this._document=d,this._viewportRuler=p,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=a.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new c.a,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=Object(l.a)(()=>this.autocomplete&&this.autocomplete.options?Object(u.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.asObservable().pipe(Object(v.a)(1),Object(_.a)(()=>this.optionSelections))),this._scrollStrategy=o}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(s.c)(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 Object(u.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(S.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(S.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(E.a)(t=>t instanceof r.p?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(u.a)(Object(d.a)(this._document,"click"),Object(d.a)(this._document,"touchend")).pipe(Object(S.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.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.h&&t.preventDefault(),this.activeOption&&e===b.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const i=this.autocomplete._keyManager.activeItem,n=e===b.q||e===b.e;this.panelOpen||e===b.p?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption()}}_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)}_scrollToOption(){const t=this.autocomplete._keyManager.activeItemIndex||0,e=Object(r.w)(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{const i=Object(r.x)(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(i)}}_subscribeToClosingActions(){const t=this._zone.onStable.asObservable().pipe(Object(v.a)(1)),e=this.autocomplete.options.changes.pipe(Object(C.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(R.a)(0));return Object(u.a)(t,e).pipe(Object(_.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(v.a)(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(){if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(m.c)(this._element.nativeElement));let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new A.j(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(t=>{(t.keyCode===b.h||t.keyCode===b.q&&t.altKey)&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new f.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}_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=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"}];let n;n="above"===this.position?i:"below"===this.position?e:[...e,...i],t.withPositions(n)}_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(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-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}}return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l),o.Mb(f.c),o.Mb(o.Q),o.Mb(o.A),o.Mb(o.h),o.Mb(z),o.Mb(T.c,8),o.Mb(w.a,9),o.Mb(p.e,8),o.Mb(g.h))},t.\u0275dir=o.Hb({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&o.Zb("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&&o.Bb("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)},inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},exportAs:["matAutocompleteTrigger"],features:[o.zb([B]),o.yb]}),t})(),G=(()=>{class t{}return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[H],imports:[[r.o,f.f,r.i,p.c],g.c,r.o,r.i]}),t})()},v0MX:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.name," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.REMOVE_RELATION.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_RELATION.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.groupService=n,this.translate=s,this.displayedColumns=["name"],s.get("DIALOGS.REMOVE_RELATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(r.h),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.REMOVE_RELATION.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_RELATION.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_RELATION.DELETE")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l],pipes:[c.d],styles:[""]}),t})()},vNdQ:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("X2Q7"),s=i("OZ4H"),o=i("Ssnw"),r=i("nIj0"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo"),d=i("29Wa"),p=i("Cd2c");function f(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function g(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function b(t,e){if(1&t&&(a.Sb(0,"mat-form-field"),a.Sb(1,"label"),a.Nb(2,"input",9),a.Rb(),a.Hc(3,g,3,3,"mat-error",8),a.Rb()),2&t){const t=a.dc(2);a.Ab(2),a.kc("formControl",t.emailControl),a.Ab(1),a.kc("ngIf",t.emailControl.invalid)}}function m(t,e){1&t&&(a.Sb(0,"mat-error"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function A(t,e){if(1&t&&(a.Sb(0,"mat-form-field"),a.Nb(1,"input",10),a.Hc(2,m,3,3,"mat-error",8),a.Rb()),2&t){const t=a.dc(2);a.Ab(1),a.kc("formControl",t.inputControl),a.Ab(1),a.kc("ngIf",t.inputControl.invalid)}}function y(t,e){if(1&t&&(a.Sb(0,"div",7),a.Hc(1,b,4,2,"mat-form-field",8),a.Hc(2,A,3,2,"mat-form-field",8),a.Rb()),2&t){const t=a.dc();a.Ab(1),a.kc("ngIf",null!==t.emailControl),a.Ab(1),a.kc("ngIf",null!==t.inputControl)}}let w=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translateService=n,this.registrarService=s,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 r.g(this.formItemData.value,[r.F.required,r.F.email]):this.inputControl=new r.g(this.formItemData.value,[r.F.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)(a.Mb(s.i),a.Mb(s.a),a.Mb(o.l),a.Mb(c.e),a.Mb(n.l))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,f,1,0,"mat-spinner",1),a.Hc(5,y,3,2,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Mc("",a.fc(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",e.itemName,""),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading||null!==e.inputControl&&e.inputControl.invalid||null!==e.emailControl&&e.emailControl.invalid),a.Ab(1),a.Lc(" ",a.fc(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[s.j,l.t,s.c,u.b,h.c,s.g,d.c,p.b,r.c,r.C,r.r,r.h,d.b],pipes:[c.d],styles:[""]}),t})()},vT4p:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));let n=1;const s=(()=>Promise.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("EWqr");class l extends c.a{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("DG/E");class h extends u.a{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{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.I,this.memberAttrNames=[o.a.MEMBER_DEF_ORGANIZATION,o.a.MEMBER_DEF_MAIL,o.a.USER_DEF_ORGANIZATION,o.a.USER_DEF_PREFERRED_MAIL,o.a.MEMBER_DEF_EXPIRATION,o.a.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[o.a.GROUP_SYNC_ENABLED,o.a.GROUP_LAST_SYNC_STATE,o.a.GROUP_LAST_SYNC_TIMESTAMP,o.a.GROUP_STRUCTURE_SYNC_ENABLED,o.a.GROUP_LAST_STRUCTURE_SYNC_STATE,o.a.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.hideColumns=[],this.statuses=new d.g,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new d.g,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.searchControl=new d.g("",[d.F.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new n.c(!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.hideColumns=this.removeAuth?[]:["checkbox"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(){this.searchString=this.searchControl.value}onAddMember(){const t=Object(u.o)();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.a,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onKeyInput(t){"Enter"===t.key&&this.onSearchByString()}onRemoveMembers(){const t=Object(u.o)();t.width="450px",t.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(a.a,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const t=Object(u.o)();t.width="650px",t.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(h.a,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,n)=>{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.Mb(c.h),p.Mb(f.a),p.Mb(l.pb),p.Mb(g.b),p.Mb(s.h),p.Mb(s.m),p.Mb(c.c),p.Mb(s.b),p.Mb(s.l))},t.\u0275cmp=p.Gb({type:t,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.Eb("router-component",!0)},decls:41,vars:45,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[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,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","primary",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","pageSize","selection","hideColumns","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","hideColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page"]],template:function(t,e){1&t&&(p.Sb(0,"h1",0),p.Jc(1),p.ec(2,"translate"),p.Rb(),p.Hc(3,k,3,3,"app-alert",1),p.Sb(4,"div",2),p.Sb(5,"span",3),p.ec(6,"translate"),p.Sb(7,"div",4),p.ec(8,"translate"),p.Hc(9,I,3,4,"button",5),p.Rb(),p.Rb(),p.Sb(10,"span",3),p.ec(11,"translate"),p.Hc(12,O,3,4,"button",5),p.Rb(),p.Sb(13,"span",3),p.ec(14,"translate"),p.Hc(15,D,3,4,"button",6),p.Rb(),p.Sb(16,"mat-form-field",7),p.Sb(17,"mat-label"),p.Jc(18),p.ec(19,"translate"),p.Rb(),p.Sb(20,"mat-select",8),p.Zb("closed",(function(){return e.changeVoStatuses()})),p.Sb(21,"mat-select-trigger"),p.Jc(22),p.Rb(),p.Hc(23,M,2,2,"mat-option",9),p.Rb(),p.Rb(),p.Sb(24,"mat-form-field",7),p.Sb(25,"mat-label"),p.Jc(26),p.ec(27,"translate"),p.Rb(),p.Sb(28,"mat-select",8),p.Zb("closed",(function(){return e.changeGroupStatuses()})),p.Sb(29,"mat-select-trigger"),p.Jc(30),p.Rb(),p.Hc(31,P,2,2,"mat-option",9),p.Rb(),p.Rb(),p.Sb(32,"mat-form-field",10),p.Sb(33,"label"),p.Sb(34,"input",11),p.Zb("keyup.enter",(function(){return e.onSearchByString()})),p.ec(35,"translate"),p.Rb(),p.Rb(),p.Rb(),p.Sb(36,"button",12),p.Zb("click",(function(){return e.onSearchByString()})),p.Sb(37,"mat-icon"),p.Jc(38,"search"),p.Rb(),p.Rb(),p.Rb(),p.Hc(39,x,1,0,"mat-spinner",13),p.Hc(40,N,1,10,"perun-web-apps-members-dynamic-list",14)),2&t&&(p.Ab(1),p.Kc(p.fc(2,29,"GROUP_DETAIL.MEMBERS.TITLE")),p.Ab(2),p.kc("ngIf",e.synchEnabled),p.Ab(2),p.lc("matTooltip",p.fc(6,31,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.kc("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.Ab(2),p.lc("matTooltip",p.fc(8,33,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),p.kc("matTooltipDisabled",!e.blockManualMemberAdding),p.Ab(2),p.kc("ngIf",e.addAuth),p.Ab(1),p.lc("matTooltip",p.fc(11,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.kc("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.Ab(2),p.kc("ngIf",e.inviteAuth),p.Ab(1),p.lc("matTooltip",p.fc(14,37,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.kc("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.Ab(2),p.kc("ngIf",e.removeAuth),p.Ab(3),p.Kc(p.fc(19,39,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),p.Ab(2),p.kc("formControl",e.statuses),p.Ab(2),p.Lc(" ",e.displaySelectedStatuses()," "),p.Ab(1),p.kc("ngForOf",e.statusList),p.Ab(3),p.Kc(p.fc(27,41,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),p.Ab(2),p.kc("formControl",e.groupStatuses),p.Ab(2),p.Lc(" ",e.displaySelectedGroupStatuses()," "),p.Ab(1),p.kc("ngForOf",e.groupStatusList),p.Ab(3),p.lc("placeholder",p.fc(35,43,"GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION")),p.kc("formControl",e.searchControl),p.Ab(2),p.kc("disabled",e.loading),p.Ab(3),p.kc("ngIf",e.loading),p.Ab(1),p.kc("ngIf",!e.loading))},directives:[b.t,m.a,A.c,A.g,y.a,d.r,d.h,y.c,b.s,w.b,d.c,v.b,_.a,S.a,E.n,C.c,R.a],pipes:[T.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),t})()},vUrr:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("X2Q7"),o=i("Ssnw"),r=i("FlRo"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit;a.Ab(1),a.Lc(" ",t.hostname," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Kc(a.fc(3,5,"DIALOGS.REMOVE_HOST.DESCRIPTION")),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.REMOVE_HOST.ASK")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{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}ngOnInit(){this.theme=this.data.theme,this.hosts=this.data.hosts,this.dataSource=new r.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(s.g),a.Mb(o.l),a.Mb(c.e))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Sb(3,"div"),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onConfirm()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,9,"DIALOGS.REMOVE_HOST.TITLE")),a.Ab(2),a.Cb(e.theme),a.Ab(1),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.REMOVE_HOST.CANCEL"),""),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.REMOVE_HOST.CONFIRM"),""))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t})()},vhVt:function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("OZ4H"),s=i("Ssnw"),o=i("cqs0"),r=i("nIj0"),a=i("jIqt"),c=i("YtkY"),l=i("X2Q7"),u=i("iyZ4"),h=i("EM62"),d=i("s2Ay"),p=i("sEIs"),f=i("29Wa"),g=i("R7+U"),b=i("2kYt"),m=i("Cd2c"),A=i("ulve"),y=i("PBFl"),w=i("mFH5"),v=i("pynj"),_=i("csyo"),S=i("K9kF"),E=i("L4Ow");function C(t,e){if(1&t&&(h.Sb(0,"mat-option",17),h.Jc(1),h.ec(2,"displayedRole"),h.Rb()),2&t){const t=e.$implicit;h.kc("value",t),h.Ab(1),h.Kc(h.fc(2,2,t))}}function R(t,e){if(1&t&&(h.Sb(0,"mat-option",17),h.Jc(1),h.Rb()),2&t){const t=e.$implicit;h.kc("value",t),h.Ab(1),h.Lc(" ",t.name," ")}}function T(t,e){if(1&t){const t=h.Tb();h.Sb(0,"perun-web-apps-debounce-filter",18),h.Zb("filter",(function(e){return h.xc(t),h.dc().applyFilter(e)})),h.ec(1,"translate"),h.Rb()}2&t&&h.lc("placeholder",h.fc(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function k(t,e){1&t&&h.Nb(0,"mat-spinner",19)}const I=function(){return["menu","recent","expiration","vo"]};function O(t,e){if(1&t){const t=h.Tb();h.Sb(0,"div",20),h.Sb(1,"perun-web-apps-groups-list",21),h.Zb("page",(function(e){return h.xc(t),h.dc().pageChanged(e)})),h.Rb(),h.Rb()}if(2&t){const t=h.dc();h.Ab(1),h.kc("pageSize",t.pageSize)("disableRouting",!0)("hideColumns",h.oc(7,I))("selection",t.selection)("filter",t.filterValue)("groups",t.groups)("disableMembers",!1)}}let D=(()=>{class t{constructor(t,e,i,n,s,a,c,l,h,d){this.dialogRef=t,this.data=e,this.authzService=i,this.voService=n,this.groupService=s,this.translate=a,this.notificator=c,this.route=l,this.tableConfigService=h,this.router=d,this.searchString="",this.selection=new o.c(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new r.g,this.firstSearchDone=!1,this.tableId=u.W,a.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(t=>this.title=t),a.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(t=>this.successMessage=t)}displayFn(t){return t?t.name:null}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(t=>t.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(t=>{this.filteredOptions=this.myControl.valueChanges.pipe(Object(a.a)(""),Object(c.a)(t=>this._filter(t))),this.vos=t,this.loading=!1},()=>this.loading=!1)}_filter(t){const e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.vos.filter(t=>t.name.toLowerCase().includes(e))}showVoGroups(t){this.loading=!0,this.groupService.getAllGroups(t.option.value.id).subscribe(t=>{this.groups=t,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}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)(h.Mb(n.i),h.Mb(n.a),h.Mb(l.d),h.Mb(l.r),h.Mb(l.h),h.Mb(d.e),h.Mb(s.l),h.Mb(p.a),h.Mb(u.pb),h.Mb(p.f))},t.\u0275cmp=h.Gb({type:t,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","hideColumns","selection","filter","groups","disableMembers","page"]],template:function(t,e){if(1&t&&(h.Sb(0,"div"),h.Sb(1,"h1",0),h.Jc(2),h.ec(3,"translate"),h.Rb(),h.Sb(4,"div",1),h.Sb(5,"div",2),h.Sb(6,"mat-form-field",3),h.Sb(7,"mat-label"),h.Jc(8),h.ec(9,"translate"),h.Rb(),h.Sb(10,"mat-select",4),h.Zb("valueChange",(function(t){return e.selectedRole=t})),h.Hc(11,C,3,4,"mat-option",5),h.Rb(),h.Rb(),h.Sb(12,"mat-form-field",6),h.Sb(13,"mat-label"),h.Jc(14),h.ec(15,"translate"),h.Rb(),h.Nb(16,"input",7),h.ec(17,"translate"),h.Sb(18,"mat-autocomplete",8,9),h.Zb("optionSelected",(function(t){return e.showVoGroups(t)})),h.Hc(20,R,2,2,"mat-option",5),h.ec(21,"async"),h.Rb(),h.Rb(),h.Rb(),h.Hc(22,T,2,3,"perun-web-apps-debounce-filter",10),h.Sb(23,"div",11),h.Hc(24,k,1,0,"mat-spinner",12),h.Rb(),h.Hc(25,O,2,8,"div",13),h.Rb(),h.Sb(26,"div",14),h.Sb(27,"button",15),h.Zb("click",(function(){return e.onCancel()})),h.Jc(28),h.ec(29,"translate"),h.Rb(),h.Sb(30,"button",16),h.Zb("click",(function(){return e.onSubmit()})),h.Jc(31),h.ec(32,"translate"),h.Rb(),h.Rb(),h.Rb()),2&t){const t=h.tc(19);h.Cb(e.theme),h.Ab(2),h.Kc(h.fc(3,19,"DIALOGS.ADD_GROUPS.TITLE")),h.Ab(6),h.Kc(h.fc(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),h.Ab(2),h.kc("value",e.selectedRole),h.Ab(1),h.kc("ngForOf",e.availableRoles),h.Ab(3),h.Kc(h.fc(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),h.Ab(2),h.lc("placeholder",h.fc(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),h.kc("formControl",e.myControl)("matAutocomplete",t),h.Ab(2),h.kc("displayWith",e.displayFn),h.Ab(2),h.kc("ngForOf",h.fc(21,27,e.filteredOptions)),h.Ab(2),h.kc("ngIf",null!==e.groups&&e.groups.length>0&&!e.loading),h.Ab(2),h.kc("ngIf",e.loading),h.Ab(1),h.kc("ngIf",null!==e.groups&&!e.loading),h.Ab(3),h.Lc(" ",h.fc(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),h.Ab(2),h.kc("disabled",0===e.selection.selected.length||e.loading),h.Ab(1),h.Lc(" ",h.fc(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[n.j,n.g,f.c,f.g,g.a,b.s,m.b,r.c,A.d,r.r,r.h,A.a,b.t,n.c,y.b,w.n,v.a,_.c,S.a],pipes:[d.d,b.b,E.a],styles:[""]}),t})()},vobO:function(t,e,i){"use strict";i.d(e,"a",(function(){return k})),i.d(e,"b",(function(){return R})),i.d(e,"c",(function(){return j})),i.d(e,"d",(function(){return d})),i.d(e,"e",(function(){return g})),i.d(e,"f",(function(){return S}));var n=i("EM62"),s=i("ROBh"),o=i("IdLP"),r=i("5uDM"),a=i("xVbo"),c=i("YtkY"),l=i("2kYt");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 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,"/")}class g{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.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"})}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 g({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(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(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)}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function m(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.params&&(this.params=s.params)),this.headers||(this.headers=new d),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]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),c)),new y(e,i,s,{params:c,headers:a,reportProgress:r,responseType:n,withCredentials:o})}}var w=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 _ extends v{constructor(t={}){super(t),this.type=w.ResponseHeader}clone(t={}){return new _({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 v{constructor(t={}){super(t),this.type=w.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 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,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let R=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof y)n=t;else{let s=void 0;s=i.headers instanceof d?i.headers:new d(i.headers);let o=void 0;i.params&&(o=i.params instanceof g?i.params:new g({fromObject:i.params})),n=new y(t,e,void 0!==i.body?i.body:null,{headers:s,params:o,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=Object(s.a)(n).pipe(Object(r.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===i.observe)return o;const l=o.pipe(Object(a.a)(t=>t instanceof S));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(Object(c.a)(t=>t.body))}case"response":return l;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 g).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)(n.Wb(u))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();class T{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const k=new n.r("HTTP_INTERCEPTORS");let I=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();const O=/^\)\]\}',?\n/;class D{}let M=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),P=(()=>{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 o.a(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 _({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(O,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=t,l&&(l=!1,c={error:u,text:c})}}l?(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 l=n=>{c||(e.next(o()),c=!0);let s={type:w.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:w.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",r),i.addEventListener("error",a),t.reportProgress&&(i.addEventListener("progress",l),null!==n&&i.upload&&i.upload.addEventListener("progress",u)),i.send(n),e.next({type:w.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("load",r),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)(n.Wb(D))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})();const x=new n.r("XSRF_COOKIE_NAME"),N=new n.r("XSRF_HEADER_NAME");class L{}let F=(()=>{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=Object(l.N)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(l.e),n.Wb(n.C),n.Wb(x))},t.\u0275prov=n.Ib({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)(n.Wb(L),n.Wb(N))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),H=(()=>{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(k,[]);this.chain=t.reduceRight((t,e)=>new T(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(h),n.Wb(n.s))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:z,useClass:I}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:x,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}}}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[z,{provide:k,useExisting:z,multi:!0},{provide:L,useClass:F},{provide:x,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),t})(),j=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[R,{provide:u,useClass:H},P,{provide:h,useExisting:P},M,{provide:D,useExisting:M}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},"w+DT":function(t,e,i){"use strict";i.d(e,"a",(function(){return Y}));var n=i("EM62"),s=i("iAde"),o=i("cePI"),r=i("FlRo"),a=i("8clQ"),c=i("Ssnw"),l=i("9wx0"),u=i("2kYt"),h=i("+Tre"),d=i("Ds80"),p=i("nIj0"),f=i("Y2X+"),g=i("PBFl"),b=i("bFHC");function m(t,e){if(1&t&&(n.Sb(0,"div",6),n.Jc(1),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.Lc(" ",t[i.paramName]," ")}}function A(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"more_horiz"),n.Rb())}function y(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"keyboard_arrow_up"),n.Rb())}function w(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",7),n.Zb("click",(function(){return n.xc(t),n.dc().onShowChange()})),n.Hc(1,A,2,0,"mat-icon",8),n.Hc(2,y,2,0,"mat-icon",8),n.Rb()}if(2&t){const t=n.dc();n.Ab(1),n.kc("ngIf",!t.showMore),n.Ab(1),n.kc("ngIf",t.showMore)}}let v=(()=>{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.Gb({type:t,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[n.yb],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.Sb(0,"form",0),n.Sb(1,"div",1),n.Sb(2,"div",2),n.Hc(3,m,2,1,"div",3),n.Rb(),n.Sb(4,"div"),n.Sb(5,"span",4),n.Hc(6,w,3,2,"button",5),n.Rb(),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(3),n.kc("ngForOf",e.objects.slice(0,e.itemsShown)),n.Ab(2),n.kc("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.Ab(1),n.kc("ngIf",e.objects.length>e.defaultItemsShown))},directives:[p.H,p.s,p.t,u.s,f.a,u.t,g.b,b.a],styles:[""]}),t})();var _=i("sEIs"),S=i("TQS+"),E=i("FcRk"),C=i("s2Ay"),R=i("EFHi"),T=i("H2Dp");function k(t,e){1&t&&n.Nb(0,"th",21)}function I(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.selection.toggle(s):null}))("click",(function(e){return n.xc(t),e.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function O(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")))}function D(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.facility.id)}}function M(t,e){1&t&&n.Nb(0,"th",21)}function P(t,e){if(1&t&&(n.Sb(0,"td",25),n.Nb(1,"perun-web-apps-recently-viewed-icon",26),n.Rb()),2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("recentIds",i.recentIds)("id",t.facility.id)}}function x(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")))}function N(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.facility.name)}}function L(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")))}function F(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(t.facility.description)}}function z(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")))}function H(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"technicalOwners"),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,t.owners))}}function B(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")))}function j(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",25),n.Sb(1,"perun-web-apps-object-list-values",27),n.Zb("mouseenter",(function(){return n.xc(t),n.dc().disableRouting=!0}))("mouseleave",(function(){return n.xc(t),n.dc().disableRouting=!1})),n.ec(2,"filterUniqueObjects"),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("paramName","destination")("objects",n.hc(2,2,t.destinations,i.filterValue,"destination"))}}function G(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")))}function U(t,e){if(1&t){const t=n.Tb();n.Sb(0,"td",25),n.Sb(1,"perun-web-apps-object-list-values",27),n.Zb("mouseenter",(function(){return n.xc(t),n.dc().disableRouting=!0}))("mouseleave",(function(){return n.xc(t),n.dc().disableRouting=!1})),n.ec(2,"filterUniqueObjects"),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("paramName","hostname")("objects",n.hc(2,2,t.hosts,i.filterValue,"hostname"))}}function K(t,e){1&t&&n.Nb(0,"tr",28)}const V=function(){return[]},q=function(t){return["/facilities",t]};function J(t,e){if(1&t&&n.Nb(0,"tr",29),2&t){const t=e.$implicit,i=n.dc();n.kc("routerLink",i.disableRouting?n.oc(2,V):n.pc(3,q,t.facility.id))("perunWebAppsMiddleClickRouterLink",n.pc(5,q,t.facility.id))}}function W(t,e){1&t&&(n.Sb(0,"app-alert",30),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Z(t,e){1&t&&(n.Sb(0,"app-alert",30),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let Y=(()=>{class t{constructor(t,e){this.authResolver=t,this.cd=e,this.pageSize=10,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=a.a,this.page=new n.o}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t,this.setDataSource(),this.cd.detectChanges()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(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 Object(a.D)(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){Object(a.i)(Object(a.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.paginator&&(this.dataSource||(this.dataSource=new r.o,this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filterPredicate=(t,e)=>Object(a.f)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Object(a.g)(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"}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(c.h),n.Mb(n.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Qc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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,"routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],[3,"paramName","objects","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,k,1,0,"th",6),n.Hc(7,I,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,O,3,3,"th",9),n.Hc(10,D,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,M,1,0,"th",6),n.Hc(13,P,2,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,x,3,3,"th",9),n.Hc(16,N,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,L,3,3,"th",6),n.Hc(19,F,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,z,3,3,"th",6),n.Hc(22,H,3,3,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,B,3,3,"th",6),n.Hc(25,j,3,6,"td",11),n.Pb(),n.Qb(26,16),n.Hc(27,G,3,3,"th",6),n.Hc(28,U,3,6,"td",11),n.Pb(),n.Hc(29,K,1,0,"tr",17),n.Hc(30,J,1,7,"tr",18),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",19),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,W,3,3,"app-alert",20),n.Hc(33,Z,3,3,"app-alert",20)),2&t&&(n.kc("hidden",!e.dataSource||0===e.dataSource.filteredData.length||0===e.facilities.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.facilities.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.facilities.length),n.Ab(1),n.kc("ngIf",0===e.facilities.length))},directives:[l.a,r.n,o.a,r.c,r.i,r.b,r.k,r.m,s.a,u.t,r.h,r.a,h.a,o.b,d.a,v,r.j,r.l,_.g,S.c,E.a],pipes:[C.d,R.a,T.a],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},wBUr:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),s=i("2kYt"),o=i("PBFl"),r=i("s2Ay");function a(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"button",1),n.Zb("click",(function(){n.xc(t);const i=e.$implicit;return n.dc().addTag("{"+i[0]+"}")})),n.Jc(2),n.Rb(),n.Jc(3),n.ec(4,"translate"),n.Rb()}if(2&t){const t=e.$implicit;n.Ab(2),n.Lc("",t[0]," "),n.Ab(1),n.Lc(" - ",n.fc(4,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+t[1]),"\n")}}let c=(()=>{class t{constructor(){this.tags=[],this.addedTag=new n.o}ngOnChanges(t){}addTag(t){this.addedTag.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},features:[n.yb],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"]],template:function(t,e){1&t&&n.Hc(0,a,5,4,"div",0),2&t&&n.kc("ngForOf",e.tags)},directives:[s.s,o.b],pipes:[r.d],styles:[""]}),t})()},wOqL:function(t,e,i){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,i,s){i=i||"=";var o={};if("string"!=typeof t||0===t.length)return o;var r=/\+/g;t=t.split(e=e||"&");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=f.substr(0,g),h=f.substr(g+1)):(u=f,h=""),d=decodeURIComponent(u),p=decodeURIComponent(h),n(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},"wqq/":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("QQZH");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.a(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))}},x9Az:function(t,e,i){"use strict";i.d(e,"a",(function(){return et})),i.d(e,"b",(function(){return X})),i.d(e,"c",(function(){return Z})),i.d(e,"d",(function(){return V})),i.d(e,"e",(function(){return Q})),i.d(e,"f",(function(){return $})),i.d(e,"g",(function(){return ct})),i.d(e,"h",(function(){return st})),i.d(e,"i",(function(){return rt})),i.d(e,"j",(function(){return nt}));var n=i("Sv/w"),s=i("sg/T"),o=i("E5oP"),r=i("5XID"),a=i("fAiE"),c=i("2kYt"),l=i("EM62"),u=i("ZTXN"),h=i("ROBh"),d=i("jIqt"),p=i("kuMc");function f(t,e){1&t&&l.ic(0)}const g=["*"];let b=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(l.l))},t.\u0275dir=l.Hb({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),m=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(l.M))},t.\u0275dir=l.Hb({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),A=0;const y=new l.r("STEPPER_GLOBAL_OPTIONS");let w=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,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=Object(r.c)(t)}get optional(){return this._optional}set optional(t){this._optional=Object(r.c)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=Object(r.c)(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=Object(r.c)(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()}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(Object(l.U)(()=>v)),l.Mb(y,8))},t.\u0275cmp=l.Gb({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){var n;1&t&&l.Fb(i,m,!0),2&t&&l.sc(n=l.ac())&&(e.stepLabel=n.first)},viewQuery:function(t,e){var i;1&t&&l.Dc(l.M,!0),2&t&&l.sc(i=l.ac())&&(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"},exportAs:["cdkStep"],features:[l.yb],ngContentSelectors:g,decls:1,vars:0,template:function(t,e){1&t&&(l.jc(),l.Hc(0,f,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{constructor(t,e,i,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=i,this._destroyed=new u.a,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.o,this._orientation="horizontal",this._groupId=A++,this._document=n}get steps(){return this._steps}get linear(){return this._linear}set linear(t){this._linear=Object(r.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=Object(r.f)(t);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)}else this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}ngAfterViewInit(){this._keyManager=new s.g(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(h.a)()).pipe(Object(d.a)(this._layoutDirection()),Object(p.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.pipe(Object(p.a)(this._destroyed)).subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))})}ngOnDestroy(){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=Object(a.t)(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==a.o&&i!==a.g?i===a.i?(n.setFirstItemActive(),t.preventDefault()):i===a.f?(n.setLastItemActive(),t.preventDefault()):n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){const e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&t>=0)&&e.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(){if(!this._document||!this._elementRef)return!1;const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(o.c,8),l.Mb(l.h),l.Mb(l.l),l.Mb(c.e))},t.\u0275dir=l.Hb({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(t,e,i){var n;1&t&&(l.Fb(i,w,!0),l.Fb(i,b,!0)),2&t&&(l.sc(n=l.ac())&&(e._steps=n),l.sc(n=l.ac())&&(e._stepHeader=n))},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),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.Mb(v))},t.\u0275dir=l.Hb({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&l.Zb("click",(function(){return e._handleClick()})),2&t&&l.Vb("type",e.type)},inputs:{type:"type"}}),t})(),S=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(v))},t.\u0275dir=l.Hb({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&l.Zb("click",(function(){return e._handleClick()})),2&t&&l.Vb("type",e.type)},inputs:{type:"type"}}),t})(),E=(()=>{class t{}return t.\u0275mod=l.Kb({type:t}),t.\u0275inj=l.Jb({factory:function(e){return new(e||t)},imports:[[o.a]]}),t})();var C=i("PBFl"),R=i("mFH5"),T=i("bFHC"),k=i("Ohay"),I=i("f7+R");function O(t,e){if(1&t&&l.Ob(0,9),2&t){const t=l.dc();l.kc("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function D(t,e){if(1&t&&(l.Sb(0,"span"),l.Jc(1),l.Rb()),2&t){const t=l.dc(2);l.Ab(1),l.Kc(t._getDefaultTextForState(t.state))}}function M(t,e){if(1&t&&(l.Sb(0,"mat-icon"),l.Jc(1),l.Rb()),2&t){const t=l.dc(2);l.Ab(1),l.Kc(t._getDefaultTextForState(t.state))}}function P(t,e){if(1&t&&(l.Qb(0,10),l.Hc(1,D,2,1,"span",11),l.Hc(2,M,2,1,"mat-icon",12),l.Pb()),2&t){const t=l.dc();l.kc("ngSwitch",t.state),l.Ab(1),l.kc("ngSwitchCase","number")}}function x(t,e){if(1&t&&l.Ob(0,13),2&t){const t=l.dc();l.kc("ngTemplateOutlet",t._templateLabel().template)}}function N(t,e){if(1&t&&(l.Sb(0,"div",14),l.Jc(1),l.Rb()),2&t){const t=l.dc();l.Ab(1),l.Kc(t.label)}}function L(t,e){if(1&t&&(l.Sb(0,"div",15),l.Jc(1),l.Rb()),2&t){const t=l.dc();l.Ab(1),l.Kc(t._intl.optionalLabel)}}function F(t,e){if(1&t&&(l.Sb(0,"div",16),l.Jc(1),l.Rb()),2&t){const t=l.dc();l.Ab(1),l.Kc(t.errorMessage)}}function z(t,e){1&t&&l.ic(0)}const H=["*"];function B(t,e){1&t&&l.Nb(0,"div",6)}function j(t,e){if(1&t){const t=l.Tb();l.Qb(0),l.Sb(1,"mat-step-header",4),l.Zb("click",(function(){return e.$implicit.select()}))("keydown",(function(e){return l.xc(t),l.dc()._onKeydown(e)})),l.Rb(),l.Hc(2,B,1,0,"div",5),l.Pb()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,s=l.dc();l.Ab(1),l.kc("tabIndex",s._getFocusIndex()===i?0:-1)("id",s._getStepLabelId(i))("index",i)("state",s._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",s.selectedIndex===i)("active",t.completed||s.selectedIndex===i||!s.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple),l.Bb("aria-posinset",i+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(i))("aria-selected",s.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),l.Ab(1),l.kc("ngIf",!n)}}function G(t,e){if(1&t){const t=l.Tb();l.Sb(0,"div",7),l.Zb("@stepTransition.done",(function(e){return l.xc(t),l.dc()._animationDone.next(e)})),l.Ob(1,8),l.Rb()}if(2&t){const t=e.$implicit,i=e.index,n=l.dc();l.kc("@stepTransition",n._getAnimationDirection(i))("id",n._getStepContentId(i)),l.Bb("tabindex",n.selectedIndex===i?0:null)("aria-labelledby",n._getStepLabelId(i))("aria-expanded",n.selectedIndex===i),l.Ab(1),l.kc("ngTemplateOutlet",t.content)}}function U(t,e){if(1&t){const t=l.Tb();l.Sb(0,"div",1),l.Sb(1,"mat-step-header",2),l.Zb("click",(function(){return e.$implicit.select()}))("keydown",(function(e){return l.xc(t),l.dc()._onKeydown(e)})),l.Rb(),l.Sb(2,"div",3),l.Sb(3,"div",4),l.Zb("@stepTransition.done",(function(e){return l.xc(t),l.dc()._animationDone.next(e)})),l.Sb(4,"div",5),l.Ob(5,6),l.Rb(),l.Rb(),l.Rb(),l.Rb()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,s=l.dc();l.Ab(1),l.kc("tabIndex",s._getFocusIndex()==i?0:-1)("id",s._getStepLabelId(i))("index",i)("state",s._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",s.selectedIndex===i)("active",t.completed||s.selectedIndex===i||!s.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple),l.Bb("aria-posinset",i+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(i))("aria-selected",s.selectedIndex===i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),l.Ab(1),l.Eb("mat-stepper-vertical-line",!n),l.Ab(1),l.kc("@stepTransition",s._getAnimationDirection(i))("id",s._getStepContentId(i)),l.Bb("tabindex",s.selectedIndex===i?0:null)("aria-labelledby",s._getStepLabelId(i))("aria-expanded",s.selectedIndex===i),l.Ab(2),l.kc("ngTemplateOutlet",t.content)}}const K='.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;top:36px}.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;top:36px;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;padding:24px}.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;padding:24px;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;top:-16px;bottom:-16px;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';let V=(()=>{class t extends m{}return t.\u0275fac=function(e){return q(e||t)},t.\u0275dir=l.Hb({type:t,selectors:[["","matStepLabel",""]],features:[l.xb]}),t})();const q=l.Ub(V);let J=(()=>{class t{constructor(){this.changes=new u.a,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(l.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const W={provide:J,deps:[[new l.B,new l.K,J]],useFactory:function(t){return t||new J}};let Z=(()=>{class t extends b{constructor(t,e,i,n){super(i),this._intl=t,this._focusMonitor=e,e.monitor(i,!0),this._intlSubscription=t.changes.subscribe(()=>n.markForCheck())}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(){this._focusMonitor.focusVia(this._elementRef,"program")}_stringLabel(){return this.label instanceof V?null:this.label}_templateLabel(){return this.label instanceof V?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.Mb(J),l.Mb(s.h),l.Mb(l.l),l.Mb(l.h))},t.\u0275cmp=l.Gb({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header","mat-focus-indicator"],inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[l.xb],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],[3,"ngTemplateOutlet",4,"ngIf"],["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"],[3,"ngTemplateOutlet"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(l.Nb(0,"div",0),l.Sb(1,"div"),l.Sb(2,"div",1),l.Hc(3,O,1,2,"ng-container",2),l.Hc(4,P,3,2,"ng-container",3),l.Rb(),l.Rb(),l.Sb(5,"div",4),l.Hc(6,x,1,1,"ng-container",5),l.Hc(7,N,2,1,"div",6),l.Hc(8,L,2,1,"div",7),l.Hc(9,F,2,1,"div",8),l.Rb()),2&t&&(l.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),l.Ab(1),l.Db("mat-step-icon-state-",e.state," mat-step-icon"),l.Eb("mat-step-icon-selected",e.selected),l.Ab(1),l.kc("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),l.Ab(1),l.kc("ngSwitchCase",!0),l.Ab(2),l.Eb("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),l.Ab(1),l.kc("ngIf",e._templateLabel()),l.Ab(1),l.kc("ngIf",e._stringLabel()),l.Ab(1),l.kc("ngIf",e.optional&&"error"!=e.state),l.Ab(1),l.kc("ngIf","error"==e.state))},directives:[R.s,c.x,c.y,c.z,c.t,c.A,T.a],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 Y={horizontalStepTransition:Object(I.n)("stepTransition",[Object(I.k)("previous",Object(I.l)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Object(I.k)("current",Object(I.l)({transform:"none",visibility:"visible"})),Object(I.k)("next",Object(I.l)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Object(I.m)("* => *",Object(I.e)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Object(I.n)("stepTransition",[Object(I.k)("previous",Object(I.l)({height:"0px",visibility:"hidden"})),Object(I.k)("next",Object(I.l)({height:"0px",visibility:"hidden"})),Object(I.k)("current",Object(I.l)({height:"*",visibility:"visible"})),Object(I.m)("* <=> current",Object(I.e)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let $=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(l.M))},t.\u0275dir=l.Hb({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),X=(()=>{class t extends w{constructor(t,e,i){super(t,i),this._errorStateMatcher=e}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(Object(l.U)(()=>Q)),l.Mb(R.d,4),l.Mb(y,8))},t.\u0275cmp=l.Gb({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){var n;1&t&&l.Fb(i,V,!0),2&t&&l.sc(n=l.ac())&&(e.stepLabel=n.first)},exportAs:["matStep"],features:[l.zb([{provide:R.d,useExisting:t},{provide:w,useExisting:t}]),l.xb],ngContentSelectors:H,decls:1,vars:0,template:function(t,e){1&t&&(l.jc(),l.Hc(0,z,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),Q=(()=>{class t extends v{constructor(){super(...arguments),this.animationDone=new l.o,this._iconOverrides={},this._animationDone=new u.a}ngAfterContentInit(){this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this._steps.changes.pipe(Object(p.a)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Object(k.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),Object(p.a)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return tt(e||t)},t.\u0275dir=l.Hb({type:t,selectors:[["","matStepper",""]],contentQueries:function(t,e,i){var n;1&t&&(l.Fb(i,X,!0),l.Fb(i,$,!0)),2&t&&(l.sc(n=l.ac())&&(e._steps=n),l.sc(n=l.ac())&&(e._icons=n))},viewQuery:function(t,e){var i;1&t&&l.Qc(Z,!0),2&t&&l.sc(i=l.ac())&&(e._stepHeader=i)},inputs:{disableRipple:"disableRipple"},outputs:{animationDone:"animationDone"},features:[l.zb([{provide:v,useExisting:t}]),l.xb]}),t})();const tt=l.Ub(Q);let et=(()=>{class t extends Q{constructor(){super(...arguments),this.labelPosition="end"}}return t.\u0275fac=function(e){return it(e||t)},t.\u0275cmp=l.Gb({type:t,selectors:[["mat-horizontal-stepper"]],hostAttrs:["aria-orientation","horizontal","role","tablist",1,"mat-stepper-horizontal"],hostVars:4,hostBindings:function(t,e){2&t&&l.Eb("mat-stepper-label-position-end","end"==e.labelPosition)("mat-stepper-label-position-bottom","bottom"==e.labelPosition)},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition"},exportAs:["matHorizontalStepper"],features:[l.zb([{provide:Q,useExisting:t},{provide:v,useExisting:t}]),l.xb],decls:4,vars:2,consts:[[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"],[1,"mat-horizontal-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","click","keydown"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(l.Sb(0,"div",0),l.Hc(1,j,3,18,"ng-container",1),l.Rb(),l.Sb(2,"div",2),l.Hc(3,G,2,6,"div",3),l.Rb()),2&t&&(l.Ab(1),l.kc("ngForOf",e.steps),l.Ab(2),l.kc("ngForOf",e.steps))},directives:[c.s,Z,c.t,c.A],styles:[K],encapsulation:2,data:{animation:[Y.horizontalStepTransition]},changeDetection:0}),t})();const it=l.Ub(et);let nt=(()=>{class t extends Q{constructor(t,e,i,n){super(t,e,i,n),this._orientation="vertical"}}return t.\u0275fac=function(e){return new(e||t)(l.Mb(o.c,8),l.Mb(l.h),l.Mb(l.l),l.Mb(c.e))},t.\u0275cmp=l.Gb({type:t,selectors:[["mat-vertical-stepper"]],hostAttrs:["aria-orientation","vertical","role","tablist",1,"mat-stepper-vertical"],inputs:{selectedIndex:"selectedIndex"},exportAs:["matVerticalStepper"],features:[l.zb([{provide:Q,useExisting:t},{provide:v,useExisting:t}]),l.xb],decls:1,vars:1,consts:[["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","click","keydown"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&l.Hc(0,U,6,25,"div",0),2&t&&l.kc("ngForOf",e.steps)},directives:[c.s,Z,c.A],styles:[K],encapsulation:2,data:{animation:[Y.verticalStepTransition]},changeDetection:0}),t})(),st=(()=>{class t extends _{}return t.\u0275fac=function(e){return ot(e||t)},t.\u0275dir=l.Hb({type:t,selectors:[["button","matStepperNext",""]],hostVars:1,hostBindings:function(t,e){2&t&&l.Vb("type",e.type)},inputs:{type:"type"},features:[l.xb]}),t})();const ot=l.Ub(st);let rt=(()=>{class t extends S{}return t.\u0275fac=function(e){return at(e||t)},t.\u0275dir=l.Hb({type:t,selectors:[["button","matStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){2&t&&l.Vb("type",e.type)},inputs:{type:"type"},features:[l.xb]}),t})();const at=l.Ub(rt);let ct=(()=>{class t{}return t.\u0275mod=l.Kb({type:t}),t.\u0275inj=l.Jb({factory:function(e){return new(e||t)},providers:[W,R.d],imports:[[R.i,c.c,n.i,C.c,E,T.b,R.t],R.i]}),t})()},xVbo:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("5uGe");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.a{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)}}},yAs8:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),s=i("EM62");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: ${Object(n.y)(t.groupStatus)}, Expiration: ${s&&s.value?s.value:"never"}`:`Status: ${Object(n.y)(t.status,t.groupStatus)}\n Vo status: ${Object(n.y)(t.status)}, Expiration: ${i&&i.value?i.value:"never"}`,o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Lb({name:"memberStatusTooltip",type:t,pure:!0}),t})()},yLXW:function(t,e,i){"use strict";i.d(e,"a",(function(){return g}));var n=i("OZ4H"),s=i("X2Q7"),o=i("EM62"),r=i("2kYt"),a=i("PBFl"),c=i("csyo"),l=i("29Wa"),u=i("Cd2c"),h=i("nIj0"),d=i("s2Ay");function p(t,e){1&t&&o.Nb(0,"mat-spinner",6)}function f(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div",7),o.Sb(1,"mat-form-field"),o.Sb(2,"input",8),o.Zb("ngModelChange",(function(e){return o.xc(t),o.dc().name=e})),o.ec(3,"translate"),o.Rb(),o.Sb(4,"mat-error"),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb()}if(2&t){const t=o.dc();o.Ab(2),o.lc("placeholder",o.fc(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.kc("ngModel",t.name),o.Ab(3),o.Kc(o.fc(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}let g=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,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 t.\u0275fac=function(e){return new(e||t)(o.Mb(n.i),o.Mb(n.a),o.Mb(s.m))},t.\u0275cmp=o.Gb({type:t,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(t,e){1&t&&(o.Sb(0,"div"),o.Sb(1,"h1",0),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,p,1,0,"mat-spinner",1),o.Hc(5,f,7,7,"div",2),o.Sb(6,"div",3),o.Sb(7,"button",4),o.Zb("click",(function(){return e.onCancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",5),o.Zb("click",(function(){return e.onSubmit()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Cb(e.theme),o.Ab(2),o.Kc(o.fc(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.Ab(2),o.kc("disabled",e.loading),o.Ab(1),o.Lc(" ",o.fc(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[n.j,r.t,n.c,a.b,c.c,n.g,l.c,u.b,h.c,h.C,h.r,h.u,l.b],pipes:[d.d],styles:[""]}),t})()},yNE8:function(t,e,i){"use strict";i.d(e,"a",(function(){return E}));var n=i("sEIs"),s=i("TkCa"),o=i("Ssnw"),r=i("EM62"),a=i("mFH5"),c=i("2kYt"),l=i("TQS+"),u=i("bFHC"),h=i("s2Ay");const d=["collapse"],p=function(){return{color:"linkTextColor"}};function f(t,e){1&t&&(r.Sb(0,"mat-icon",12),r.Jc(1,"keyboard_arrow_right"),r.Rb()),2&t&&r.kc("ngStyle",r.oc(1,p))}function g(t,e){1&t&&(r.Sb(0,"mat-icon",12),r.Jc(1,"keyboard_arrow_down"),r.Rb()),2&t&&r.kc("ngStyle",r.oc(1,p))}function b(t,e){if(1&t&&(r.Sb(0,"span",10),r.Hc(1,f,2,2,"mat-icon",11),r.Hc(2,g,2,2,"mat-icon",11),r.Rb()),2&t){const t=r.dc().$implicit,e=r.dc();r.Ab(1),r.kc("ngIf",!e.isActive(e.currentUrl,t.showChildrenRegex)),r.Ab(1),r.kc("ngIf",e.isActive(e.currentUrl,t.showChildrenRegex))}}const m=function(t,e){return{color:t,"border-color":e}};function A(t,e){if(1&t){const t=r.Tb();r.Sb(0,"a",14),r.Zb("click",(function(){r.xc(t);const i=e.$implicit;return r.dc(3).navigate(i.url)})),r.Jc(1),r.ec(2,"translate"),r.Rb()}if(2&t){const t=e.$implicit,i=r.dc(3);r.Eb("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),r.kc("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",r.qc(9,m,i.linkTextColor,i.linkTextColor))("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:""),r.Ab(1),r.Lc(" ",r.fc(2,7,t.label)," ")}}function y(t,e){if(1&t&&(r.Sb(0,"div"),r.Hc(1,A,3,12,"a",13),r.Rb()),2&t){const t=r.dc().$implicit;r.kc("@rollInOut",void 0),r.Ab(1),r.kc("ngForOf",null==t?null:t.children)}}function w(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div"),r.Sb(1,"a",7),r.Zb("click",(function(){r.xc(t);const i=e.$implicit;return r.dc().navigate(i.url)})),r.Jc(2),r.ec(3,"translate"),r.Hc(4,b,3,2,"span",8),r.Rb(),r.Hc(5,y,2,2,"div",9),r.Rb()}if(2&t){const t=e.$implicit,i=r.dc();r.Ab(1),r.Eb("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),r.kc("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",r.qc(11,m,i.linkTextColor,i.linkTextColor))("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:""),r.Ab(1),r.Lc(" ",r.fc(3,9,t.label)," "),r.Ab(2),r.kc("ngIf",t.children),r.Ab(1),r.kc("ngIf",i.isActive(i.currentUrl,t.showChildrenRegex))}}const v=function(t){return{background:t}},_=function(t){return{color:t}},S=function(){return{color:"currentColor"}};let E=(()=>{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 n.b&&(this.currentUrl=t.url)})}ngOnInit(){this.expanded=this.showOpen}ngOnChanges(t){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)(r.Mb(n.f),r.Mb(o.m))},t.\u0275cmp=r.Gb({type:t,selectors:[["app-side-menu-root-item"]],viewQuery:function(t,e){var i;1&t&&r.Qc(d,!0),2&t&&r.sc(i=r.ac())&&(e.collapseDiv=i.first)},inputs:{item:"item",index:"index",showOpen:"showOpen",sideNav:"sideNav"},features:[r.yb],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&&(r.Sb(0,"div",0),r.Sb(1,"div",1),r.Zb("click",(function(){return e.toggle()})),r.Sb(2,"div"),r.Sb(3,"a",2),r.Sb(4,"div"),r.Nb(5,"mat-icon",3),r.Rb(),r.Sb(6,"div",4),r.Jc(7),r.ec(8,"translate"),r.Rb(),r.Rb(),r.Rb(),r.Rb(),r.Sb(9,"div"),r.Sb(10,"div",5),r.Hc(11,w,6,14,"div",6),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.Eb("root-header-activated",e.isActive(e.currentUrl,e.item.baseColorClassRegex)),r.kc("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",r.pc(20,v,e.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",e.item.baseLink),r.Ab(1),r.Db("entity-menu-item-link ",e.item.labelClass,""),r.Ab(1),r.kc("ngStyle",r.pc(22,_,e.item.textColorCss)),r.Ab(2),r.kc("ngStyle",r.oc(24,S))("svgIcon",e.item.icon),r.Ab(2),r.Kc(r.fc(8,18,e.item.label)),r.Ab(2),r.kc("@openClose",e.expanded?"open":"closed"),r.Ab(1),r.Db("side-entity-menu ",e.item.linksClass,""),r.kc("ngStyle",r.pc(25,v,e.linkBgColor)),r.Ab(1),r.kc("ngForOf",e.item.links))},directives:[a.s,c.w,l.c,u.a,c.s,c.q,c.t],pipes:[h.d],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;-ms-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:[s.c,s.d]}}),t})()},yTkW:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("bwdy");class s extends n.a{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)}}},yWI2:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var n=i("X2Q7"),s=i("Ssnw"),o=i("EM62"),r=i("OZ4H"),a=i("s2Ay"),c=i("2kYt"),l=i("PBFl"),u=i("csyo"),h=i("FcRk"),d=i("29Wa"),p=i("Cd2c"),f=i("nIj0");function g(t,e){1&t&&o.Nb(0,"mat-spinner",7)}function b(t,e){if(1&t){const t=o.Tb();o.Sb(0,"div",8),o.Sb(1,"app-alert",9),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Sb(4,"mat-form-field",10),o.Sb(5,"input",11),o.Zb("ngModelChange",(function(e){return o.xc(t),o.dc().value=e})),o.ec(6,"translate"),o.Rb(),o.Rb(),o.Rb()}if(2&t){const t=o.dc();o.Ab(2),o.Lc(" ",o.fc(3,3,"DIALOGS.IMPORT_ATTRIBUTE.INFO")," "),o.Ab(3),o.kc("ngModel",t.value)("placeholder",o.fc(6,5,"DIALOGS.IMPORT_ATTRIBUTE.HINT"))}}let m=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.notificator=e,this.translate=i,this.attributesManager=n,this.value="",this.loading=!1}ngOnInit(){}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)(o.Mb(r.i),o.Mb(s.l),o.Mb(a.e),o.Mb(n.c))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"div",0),o.Sb(1,"h1",1),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,g,1,0,"mat-spinner",2),o.Hc(5,b,7,7,"div",3),o.Sb(6,"div",4),o.Sb(7,"button",5),o.Zb("click",(function(){return e.dialogRef.close()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",6),o.Zb("click",(function(){return e.create()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Ab(2),o.Lc(" ",o.fc(3,6,"DIALOGS.IMPORT_ATTRIBUTE.TITLE")," "),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,8,"DIALOGS.IMPORT_ATTRIBUTE.CANCEL")," "),o.Ab(2),o.kc("disabled",0===e.value.trim().length||e.loading),o.Ab(1),o.Lc(" ",o.fc(12,10,"DIALOGS.IMPORT_ATTRIBUTE.CREATE")," "))},directives:[r.j,c.t,r.c,l.b,u.c,r.g,h.a,d.c,p.b,f.c,f.C,f.r,f.u],pipes:[a.d],styles:[""]}),t})()},yaDT:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("OZ4H"),s=i("nIj0"),o=i("jIqt"),r=i("YtkY"),a=i("TkCa"),c=i("Ssnw"),l=i("X2Q7"),u=i("EM62"),h=i("s2Ay"),d=i("F1o0"),p=i("2kYt"),f=i("PBFl"),g=i("Y2X+"),b=i("FcRk"),m=i("29Wa"),A=i("Cd2c"),y=i("ulve"),w=i("mFH5"),v=i("csyo");function _(t,e){1&t&&(u.Sb(0,"mat-radio-button",12),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function S(t,e){1&t&&(u.Sb(0,"mat-radio-button",13),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function E(t,e){1&t&&(u.Sb(0,"app-alert",14),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function C(t,e){if(1&t){const t=u.Tb();u.Sb(0,"mat-option",20),u.Zb("click",(function(){u.xc(t);const i=e.$implicit;return u.dc(2).selectedGroup=i})),u.Sb(1,"span"),u.Jc(2),u.Rb(),u.Rb()}if(2&t){const t=e.$implicit;u.kc("value",t),u.Ab(2),u.Kc(t.name)}}function R(t,e){if(1&t){const t=u.Tb();u.Sb(0,"mat-form-field",15),u.Sb(1,"input",16),u.Zb("change",(function(){return u.xc(t),u.dc().selectedGroup=null})),u.ec(2,"translate"),u.Rb(),u.Sb(3,"mat-autocomplete",17,18),u.Hc(5,C,3,2,"mat-option",19),u.ec(6,"async"),u.Rb(),u.Rb()}if(2&t){const t=u.tc(4),e=u.dc();u.kc("@openClose","toGroup"===e.moveOption?"open":"closed"),u.Ab(1),u.lc("placeholder",u.fc(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),u.kc("matAutocomplete",t)("formControl",e.otherGroupsCtrl),u.Ab(2),u.kc("displayWith",e.displayFn),u.Ab(2),u.kc("ngForOf",u.fc(6,8,e.filteredGroups))}}function T(t,e){1&t&&u.Nb(0,"mat-spinner",21)}let k=(()=>{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.g(null,[s.F.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(Object(o.a)(""),Object(r.a)(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.Mb(n.i),u.Mb(n.a),u.Mb(l.h),u.Mb(c.l),u.Mb(h.e),u.Mb(c.b),u.Mb(c.h))},t.\u0275cmp=u.Gb({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.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"div",1),u.Sb(5,"p"),u.Jc(6),u.ec(7,"translate"),u.Rb(),u.Sb(8,"mat-radio-group",2),u.Zb("ngModelChange",(function(t){return e.moveOption=t})),u.Hc(9,_,3,3,"mat-radio-button",3),u.Hc(10,S,3,3,"mat-radio-button",4),u.Rb(),u.Hc(11,E,3,3,"app-alert",5),u.Hc(12,R,7,10,"mat-form-field",6),u.Rb(),u.Hc(13,T,1,0,"mat-spinner",7),u.Sb(14,"div",8),u.Sb(15,"button",9),u.Zb("click",(function(){return e.close()})),u.Jc(16),u.ec(17,"translate"),u.Rb(),u.Sb(18,"span",10),u.ec(19,"translate"),u.Sb(20,"button",11),u.Zb("click",(function(){return e.confirm()})),u.Jc(21),u.ec(22,"translate"),u.Rb(),u.Rb(),u.Rb(),u.Rb()),2&t&&(u.Cb(e.data.theme),u.Ab(2),u.Mc("",u.fc(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",e.data.group.name,""),u.Ab(4),u.Lc(" ",u.fc(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),u.Ab(2),u.kc("ngModel",e.moveOption),u.Ab(1),u.kc("ngIf",!e.toRootOptionDisabled),u.Ab(1),u.kc("ngIf",!e.toGroupOptionDisabled),u.Ab(1),u.kc("ngIf",e.toRootOptionDisabled&&e.toGroupOptionDisabled),u.Ab(1),u.kc("ngIf",!e.toGroupOptionDisabled),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(3),u.Lc(" ",u.fc(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),u.Ab(2),u.lc("matTooltip",u.fc(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),u.kc("matTooltipPosition","above")("matTooltipDisabled",null!==e.selectedGroup||"toRoot"===e.moveOption),u.Ab(2),u.kc("disabled",(e.otherGroupsCtrl.invalid||null===e.selectedGroup)&&"toRoot"!==e.moveOption||e.loading),u.Ab(1),u.Lc(" ",u.fc(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[n.j,n.g,d.b,s.r,s.u,p.t,n.c,f.b,g.a,d.a,b.a,m.c,A.b,y.d,s.c,s.C,s.h,y.a,p.s,w.n,v.c],pipes:[h.d,p.b],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[a.c]}}),t})()},yv0D:function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"c",(function(){return l.a})),i.d(e,"d",(function(){return u.a})),i.d(e,"b",(function(){return h.a}));var n=i("2kYt"),s=i("OZ4H"),o=i("PBFl"),r=i("s2Ay"),a=i("EM62");let c=(()=>{class t{}return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},imports:[[n.c,s.h,o.c,r.c]]}),t})();var l=i("j610"),u=i("VBdk"),h=i("jjFd")},zSH9:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),s=i("FlRo"),o=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("csyo");function d(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&a.Nb(0,"th",15)}function f(t,e){if(1&t&&(a.Sb(0,"td",16),a.Jc(1),a.Rb()),2&t){const t=e.$implicit,i=a.dc(2);a.Ab(1),a.Lc(" ",i.getMailType(t)," ")}}function g(t,e){1&t&&a.Nb(0,"tr",17)}function b(t,e){1&t&&a.Nb(0,"tr",18)}function m(t,e){if(1&t&&(a.Sb(0,"div",7),a.Sb(1,"p"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"div",8),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Sb(7,"table",9),a.Qb(8,10),a.Hc(9,p,1,0,"th",11),a.Hc(10,f,2,1,"td",12),a.Pb(),a.Hc(11,g,1,0,"tr",13),a.Hc(12,b,1,0,"tr",14),a.Rb(),a.Rb()),2&t){const t=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),a.Ab(3),a.Lc(" ",a.fc(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),a.Ab(2),a.kc("dataSource",t.dataSource),a.Ab(4),a.kc("matHeaderRowDef",t.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",t.displayedColumns)}}let A=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.registrarService=s,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.o(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(o.l),a.Mb(c.e),a.Mb(r.l))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,d,1,0,"mat-spinner",1),a.Hc(5,m,13,9,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[n.j,l.t,n.c,u.b,h.c,n.g,s.n,s.c,s.i,s.b,s.k,s.m,s.h,s.a,s.j,s.l],pipes:[c.d],styles:[""]}),t})()},zUnb:function(t,e,i){"use strict";i.r(e);var n=i("EM62"),s=i("e4iD"),o=i("sEIs");let r=(()=>{class t{ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})();var a=i("X2Q7"),c=i("Ssnw"),l=i("4sdY"),u=i("8clQ"),h=i("+0js"),d=i("s2Ay"),p=i("OZ4H"),f=i("lQ7A"),g=i("+Tre"),b=i("nIj0"),m=i("2kYt"),A=i("bFHC"),y=i("PBFl"),w=i("FcRk"),v=i("mFH5");function _(t,e){1&t&&(n.Sb(0,"app-alert",2),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function S(t,e){if(1&t&&(n.Sb(0,"div",5),n.Sb(1,"a",6),n.Sb(2,"span",7),n.Jc(3),n.Rb(),n.Nb(4,"mat-icon",8),n.Jc(5),n.Rb(),n.Rb()),2&t){const t=e.$implicit;n.Ab(1),n.Db("",t.style," item-itself"),n.kc("routerLink",t.url),n.Ab(2),n.Kc(t.type),n.Ab(1),n.kc("svgIcon",t.cssIcon),n.Ab(1),n.Lc(" ",t.label," ")}}function E(t,e){if(1&t&&(n.Sb(0,"div",3),n.Hc(1,S,6,7,"div",4),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("ngForOf",t.items)}}let C=(()=>{class t{constructor(){this.items=[]}ngOnInit(){const t=Object(u.r)("recent");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,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)},t.\u0275cmp=n.Gb({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,"routerLink"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(n.Hc(0,_,3,3,"app-alert",0),n.Hc(1,E,2,1,"div",1)),2&t&&(n.kc("ngIf",0===e.items.length),n.Ab(1),n.kc("ngIf",e.items.length>0))},directives:[m.t,w.a,m.s,v.s,o.i,A.a],pipes:[d.d],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 R=i("Y2X+"),T=i("csyo"),k=i("qySP"),I=i("K9kF"),O=i("23RZ"),D=i("w+DT");function M(t,e){1&t&&n.Nb(0,"mat-spinner",7)}const P=function(){return["id","recent","shortName","name"]};function x(t,e){if(1&t&&(n.Sb(0,"span"),n.Nb(1,"perun-web-apps-vos-list",8),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.kc("pageSizeOptions",null)("pageSize",5)("displayedColumns",n.oc(5,P))("recentIds",t.recentIds)("vos",t.objects)}}const N=function(){return["select","expiration","menu"]};function L(t,e){if(1&t&&(n.Sb(0,"span"),n.Nb(1,"perun-web-apps-groups-list",9),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.kc("pageSizeOptions",null)("pageSize",5)("groups",t.objects)("recentIds",t.recentIds)("hideColumns",n.oc(5,N))}}const F=function(){return["id","recent","name","vo","facility"]};function z(t,e){if(1&t&&(n.Sb(0,"span"),n.Nb(1,"perun-web-apps-resources-list",10),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.kc("pageSizeOptions",null)("pageSize",5)("resources",t.objects)("displayedColumns",n.oc(6,F))("recentIds",t.recentIds)("routingVo",!0)}}const H=function(){return["id","recent","name","description"]};function B(t,e){if(1&t&&(n.Sb(0,"span"),n.Nb(1,"perun-web-apps-facilities-list",11),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.kc("pageSizeOptions",null)("pageSize",5)("facilities",t.objects)("recentIds",t.recentIds)("displayedColumns",n.oc(5,H))}}function j(t,e){if(1&t&&(n.Sb(0,"div"),n.Hc(1,x,2,6,"span",6),n.Hc(2,L,2,6,"span",6),n.Hc(3,z,2,7,"span",6),n.Hc(4,B,2,6,"span",6),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("ngIf","Vo"==t.primaryObject),n.Ab(1),n.kc("ngIf","Group"==t.primaryObject),n.Ab(1),n.kc("ngIf","Resource"==t.primaryObject),n.Ab(1),n.kc("ngIf","Facility"==t.primaryObject)}}let G=(()=>{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=Object(u.r)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(t=>{this.objects=t,this.recentIds=Object(u.r)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(t=>{this.objects=t,this.recentIds=Object(u.r)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(t=>{this.objects=t.map(t=>({facility:t})),this.recentIds=Object(u.r)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(a.d),n.Mb(c.h),n.Mb(a.m))},t.\u0275cmp=n.Gb({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","hideColumns"],[3,"pageSizeOptions","pageSize","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","pageSize","facilities","recentIds","displayedColumns"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Nb(2,"mat-icon",2),n.Jc(3),n.ec(4,"translate"),n.Sb(5,"span",3),n.ec(6,"translate"),n.Sb(7,"mat-icon",4),n.Jc(8,"info_outline"),n.Rb(),n.Rb(),n.Rb(),n.Hc(9,M,1,0,"mat-spinner",5),n.Hc(10,j,5,4,"div",6),n.Rb()),2&t&&(n.Ab(2),n.kc("svgIcon",e.svgIcon),n.Ab(1),n.Lc(" ",n.fc(4,5,e.title)," "),n.Ab(2),n.lc("matTooltip",n.fc(6,7,e.roleTooltipInfo)),n.Ab(4),n.kc("ngIf",e.loading),n.Ab(1),n.kc("ngIf",!e.loading))},directives:[A.a,R.a,m.t,T.c,k.a,I.a,O.a,D.a],pipes:[d.d],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 U=i("j+u3");function K(t,e){if(1&t){const t=n.Tb();n.Sb(0,"div"),n.Sb(1,"mat-checkbox",8),n.Zb("change",(function(i){n.xc(t);const s=e.$implicit,o=n.dc();return i?o.changeRoleView(s):null})),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Rb()}if(2&t){const t=e.$implicit,i=n.dc();n.Ab(1),n.kc("checked",i.isRoleShowed(t)),n.Ab(1),n.Kc(n.fc(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+t))}}function V(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",15),n.Zb("click",(function(){return n.xc(t),n.dc(2).rightSettingOpened=!0})),n.Sb(1,"mat-icon"),n.Jc(2,"settings"),n.Rb(),n.Rb()}}function q(t,e){1&t&&(n.Sb(0,"span"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function J(t,e){1&t&&(n.Sb(0,"span"),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function W(t,e){if(1&t){const t=n.Tb();n.Sb(0,"button",23),n.Zb("click",(function(){return n.xc(t),n.dc(3).goToUserProfile()})),n.Sb(1,"mat-icon",24),n.Jc(2,"exit_to_app"),n.Rb(),n.Jc(3),n.ec(4,"translate"),n.Rb()}2&t&&(n.Ab(3),n.Lc("",n.fc(4,1,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," "))}const Z=function(){return["/myProfile"]};function Y(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"div",16),n.Sb(2,"div",17),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"div",18),n.Hc(6,q,3,3,"span",14),n.Hc(7,J,3,3,"span",14),n.Rb(),n.Sb(8,"div",19),n.Sb(9,"button",20),n.Nb(10,"mat-icon",21),n.Jc(11),n.ec(12,"translate"),n.Rb(),n.Hc(13,W,5,3,"button",22),n.Rb(),n.Rb(),n.Rb()),2&t){const t=n.dc(2);n.Ab(3),n.Lc(" ",n.fc(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),n.Ab(3),n.kc("ngIf",!t.userProfileUrl),n.Ab(1),n.kc("ngIf",t.userProfileUrl),n.Ab(2),n.kc("routerLink",n.oc(10,Z)),n.Ab(2),n.Lc(" ",n.fc(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),n.Ab(2),n.kc("ngIf",t.userProfileUrl)}}function $(t,e){1&t&&(n.Sb(0,"span"),n.Sb(1,"div",3),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Nb(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),n.Rb()),2&t&&(n.Ab(2),n.Lc(" ",n.fc(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function X(t,e){1&t&&(n.Sb(0,"div",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function Q(t,e){if(1&t&&n.Nb(0,"app-perun-web-apps-dashboard-card",30),2&t){const t=n.dc().$implicit,e=n.dc(3);n.kc("roleName",t)("role",e.roles[t])}}function tt(t,e){if(1&t&&(n.Sb(0,"div",28),n.Hc(1,Q,1,2,"app-perun-web-apps-dashboard-card",29),n.Rb()),2&t){const t=e.$implicit,i=n.dc(3);n.Ab(1),n.kc("ngIf",i.isRoleShowed(t))}}function et(t,e){if(1&t&&(n.Sb(0,"div"),n.Hc(1,$,5,3,"span",14),n.Hc(2,X,3,3,"div",25),n.Sb(3,"div"),n.Hc(4,tt,2,1,"div",26),n.Rb(),n.Rb()),2&t){const t=n.dc(2);n.Ab(1),n.kc("ngIf",t.recentlyViewedShow),n.Ab(1),n.kc("ngIf",t.rolesToHide.toString()!==t.roleNames.toString()),n.Ab(2),n.kc("ngForOf",t.roleNames)}}function it(t,e){if(1&t&&(n.Sb(0,"div",9),n.Sb(1,"h1",10),n.Nb(2,"mat-icon",11),n.Sb(3,"span",12),n.Jc(4),n.ec(5,"translate"),n.ec(6,"userFullName"),n.Rb(),n.Hc(7,V,3,0,"button",13),n.Rb(),n.Hc(8,Y,14,11,"div",14),n.Hc(9,et,5,3,"div",14),n.Rb()),2&t){const t=n.dc();n.Ab(4),n.Mc("",n.fc(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",n.fc(6,7,t.user),""),n.Ab(3),n.kc("ngIf",!t.isOnlySelfRole),n.Ab(1),n.kc("ngIf",t.isOnlySelfRole),n.Ab(1),n.kc("ngIf",!t.isOnlySelfRole)}}let nt=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l,u,h){this.userManager=t,this.storeService=e,this.guiAuthResolver=i,this.facilitiesService=n,this.resourcesService=s,this.sideMenuService=o,this.route=r,this.router=a,this.notificator=c,this.translateService=l,this.dialog=u,this.apiRequestConfiguration=h,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"],l.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.userProfileUrl=this.storeService.get("user_profile_url");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=Object(u.o)();t.width="600px",this.dialog.open(h.j,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}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(a.q),n.Mb(c.m),n.Mb(c.h),n.Mb(a.g),n.Mb(a.m),n.Mb(l.a),n.Mb(o.a),n.Mb(o.f),n.Mb(c.l),n.Mb(d.e),n.Mb(p.b),n.Mb(c.b))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(t,e){2&t&&n.Eb("router-component",!0)},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,"d-flex","pt-3"],["mat-stroked-button","",1,"ml-auto","mr-auto","text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon"],["mat-stroked-button","","class","ml-auto mr-auto text-bigger",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","mr-auto","text-bigger",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&&(n.Sb(0,"mat-sidenav-container",0),n.Sb(1,"mat-sidenav",1),n.Zb("openedChange",(function(t){return e.rightSettingOpened=t})),n.Sb(2,"div",2),n.Sb(3,"div",3),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Sb(6,"div"),n.Sb(7,"mat-checkbox",4),n.Zb("ngModelChange",(function(t){return e.recentlyViewedShow=t}))("change",(function(t){return t?e.recentlyViewedChanged():null})),n.Jc(8),n.ec(9,"translate"),n.Rb(),n.Rb(),n.Sb(10,"div",5),n.Jc(11),n.ec(12,"translate"),n.Rb(),n.Hc(13,K,4,4,"div",6),n.Rb(),n.Rb(),n.Sb(14,"mat-sidenav-content"),n.Hc(15,it,10,9,"div",7),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.kc("opened",e.rightSettingOpened),n.Ab(3),n.Kc(n.fc(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),n.Ab(3),n.kc("ngModel",e.recentlyViewedShow),n.Ab(1),n.Kc(n.fc(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),n.Ab(3),n.Kc(n.fc(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),n.Ab(2),n.kc("ngForOf",e.roleNames),n.Ab(2),n.kc("ngIf",void 0!==e.user))},directives:[f.e,f.d,g.a,b.r,b.u,m.s,f.f,m.t,A.a,y.b,o.g,C,G],pipes:[d.d,U.a],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;-moz-column-gap:1rem;column-gap:1rem;margin:0}.dashboard-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 1rem 1rem 0;display:inline-block;min-width:300px;width:100%}.home-image[_ngcontent-%COMP%]{transform:scale(1.4);margin-right:.7rem;margin-left:.6rem}.text-align[_ngcontent-%COMP%]{text-align:center;font-size:1.25rem}.text-bigger[_ngcontent-%COMP%]{font-size:1.1rem}.user-icon[_ngcontent-%COMP%]{vertical-align:top}.dashboard[_ngcontent-%COMP%]{position:relative;min-height:calc(100vh - 64px - 200px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),t})();var st=i("h39k"),ot=i("HHEo");let rt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[m.c,y.c,A.b,o.j,ot.d,d.c]]}),t})(),at=(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(c.d))},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"div",2),n.Sb(3,"h4",3),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Sb(6,"button",4),n.Zb("click",(function(){return e.startAuth()})),n.Jc(7),n.ec(8,"translate"),n.Sb(9,"mat-icon"),n.Jc(10," login "),n.Rb(),n.Rb(),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(4),n.Lc(" ",n.fc(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),n.Ab(3),n.Lc(" ",n.fc(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[y.b,A.a],pipes:[d.d],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})();var ct=i("2Zb0");const lt=function(t){return{padding:t}},ut=function(){return{height:"56px"}};function ht(t,e){if(1&t&&(n.Sb(0,"div",9),n.Nb(1,"div",10),n.Rb()),2&t){const t=n.dc();n.kc("ngStyle",n.pc(3,lt,t.logoPadding)),n.Ab(1),n.kc("innerHTML",t.logo,n.yc)("ngStyle",n.oc(5,ut))}}function dt(t,e){if(1&t&&(n.Sb(0,"div",11),n.Nb(1,"div",12),n.Nb(2,"mat-icon",13),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("innerHTML",t.logo,n.yc)}}function pt(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"a",14),n.Rb()),2&t){const t=n.dc();n.Ab(1),n.kc("innerHTML",t.logo,n.yc)}}const ft=function(t){return{color:t}};function gt(t,e){if(1&t&&(n.Sb(0,"p",15),n.Jc(1),n.Rb()),2&t){const t=n.dc();n.kc("ngStyle",n.pc(2,ft,t.textColor)),n.Ab(1),n.Lc(" ",t.headerTitle," ")}}const bt=function(t){return{background:t}},mt=function(t,e){return{"min-height":t,"background-color":e}};let At=(()=>{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",this.headerColorConfigLabel),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)(n.Mb(c.m),n.Mb(s.b))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerColorConfigLabel:"headerColorConfigLabel",headerTitle:"headerTitle"},decls:11,vars:11,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],[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"],[1,"ml-3",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Hc(1,ht,2,6,"div",1),n.Hc(2,dt,3,1,"div",2),n.Hc(3,pt,2,1,"div",3),n.Hc(4,gt,2,4,"p",4),n.Rb(),n.Sb(5,"div",5),n.Sb(6,"div",6),n.Sb(7,"div",7),n.Nb(8,"router-outlet"),n.Rb(),n.Sb(9,"div",8),n.Nb(10,"perun-web-apps-footer"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.kc("ngStyle",n.pc(6,bt,e.headerBackgroundColor)),n.Ab(1),n.kc("ngIf","admin-gui"===e.application),n.Ab(1),n.kc("ngIf","publications"===e.application),n.Ab(1),n.kc("ngIf","user-profile"===e.application),n.Ab(1),n.kc("ngIf",!!e.headerTitle),n.Ab(2),n.kc("ngStyle",n.qc(8,mt,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[m.w,m.t,o.k,ct.a,A.a],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;height:200px;bottom:0;width:100%}@media (max-width:768px){#footer[_ngcontent-%COMP%]{height:450px}}#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:ot.e},{path:"api-callback",component:r},{path:"login",component:at},{path:"organizations",loadChildren:()=>Promise.all([i.e(2),i.e(9)]).then(i.bind(null,"B2++")).then(t=>t.VosModule)},{path:"admin",loadChildren:()=>Promise.all([i.e(1),i.e(7)]).then(i.bind(null,"jkDv")).then(t=>t.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([i.e(1),i.e(2),i.e(8)]).then(i.bind(null,"pjY/")).then(t=>t.FacilitiesModule)},{path:"myProfile",loadChildren:()=>i.e(1).then(i.bind(null,"zrcO")).then(t=>t.UsersModule)},{path:"home",component:nt},{path:"**",component:st.a}];let wt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[o.j.forRoot(yt,{preloadingStrategy:o.d,scrollPositionRestoration:"enabled"})],o.j]}),t})();var vt=i("Sy1n"),_t=i("PCNd");const St=function(){return["organizations"]};function Et(t,e){1&t&&(n.Sb(0,"a",6),n.Nb(1,"mat-icon",2),n.Sb(2,"h1"),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"p"),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Rb()),2&t&&(n.kc("routerLink",n.oc(8,St)),n.Ab(1),n.kc("svgIcon","perun-vo"),n.Ab(2),n.Kc(n.fc(4,4,"MAIN_MENU.ACCESS")),n.Ab(3),n.Kc(n.fc(7,6,"MAIN_MENU.ACCESS_DESC")))}const Ct=function(){return["facilities"]};function Rt(t,e){1&t&&(n.Sb(0,"a",7),n.Nb(1,"mat-icon",2),n.Sb(2,"h1"),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"p"),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Rb()),2&t&&(n.kc("routerLink",n.oc(8,Ct)),n.Ab(1),n.kc("svgIcon","perun-manage-facility"),n.Ab(2),n.Kc(n.fc(4,4,"MAIN_MENU.FACILITIES")),n.Ab(3),n.Kc(n.fc(7,6,"MAIN_MENU.FACILITIES_DESC")))}const Tt=function(){return["admin"]};function kt(t,e){1&t&&(n.Sb(0,"a",8),n.Nb(1,"mat-icon",2),n.Sb(2,"h1"),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"p"),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Rb()),2&t&&(n.kc("routerLink",n.oc(8,Tt)),n.Ab(1),n.kc("svgIcon","perun-perun-admin"),n.Ab(2),n.Kc(n.fc(4,4,"MAIN_MENU.ADMIN")),n.Ab(3),n.Kc(n.fc(7,6,"MAIN_MENU.ADMIN_DESC")))}const It=function(){return["profile"]};let Ot=(()=>{class t{constructor(t,e){this.sideMenuService=t,this.authResolver=e}ngOnInit(){this.sideMenuService.reset()}}return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.a),n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-main-menu-page"]],decls:12,vars:12,consts:[[1,"buttons-container","pl-2","pr-2","pl-xl-5","pr-xl-5"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","user-btn",3,"routerLink"],[1,"item-pic","perun-icon",3,"svgIcon"],["class","main-menu-button vo-btn","queryParamsHandling","merge","mat-ripple","",3,"routerLink",4,"ngIf"],["class","main-menu-button facility-btn","queryParamsHandling","merge","mat-ripple","",3,"routerLink",4,"ngIf"],["class","main-menu-button admin-btn","queryParamsHandling","merge","mat-ripple","",3,"routerLink",4,"ngIf"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","vo-btn",3,"routerLink"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","facility-btn",3,"routerLink"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","admin-btn",3,"routerLink"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"a",1),n.Nb(2,"mat-icon",2),n.Sb(3,"h1"),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Sb(6,"p"),n.Jc(7),n.ec(8,"translate"),n.Rb(),n.Rb(),n.Hc(9,Et,8,9,"a",3),n.Hc(10,Rt,8,9,"a",4),n.Hc(11,kt,8,9,"a",5),n.Rb()),2&t&&(n.Ab(1),n.kc("routerLink",n.oc(11,It)),n.Ab(1),n.kc("svgIcon","perun-user"),n.Ab(2),n.Kc(n.fc(5,7,"MAIN_MENU.PROFILE")),n.Ab(3),n.Kc(n.fc(8,9,"MAIN_MENU.PROFILE_DESC")),n.Ab(2),n.kc("ngIf",e.authResolver.isVoAdmin()||e.authResolver.isVoObserver()),n.Ab(1),n.kc("ngIf",e.authResolver.canManageFacilities()),n.Ab(1),n.kc("ngIf",e.authResolver.isPerunAdmin()))},directives:[o.i,v.s,A.a,m.t],pipes:[d.d],styles:[".buttons-container[_ngcontent-%COMP%]{display:grid;padding-top:24px;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-column-gap:24px;grid-row-gap:24px}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:60px;margin-bottom:22px}.main-menu-button[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;min-width:230px;min-height:230px;padding:30px}.main-menu-button[_ngcontent-%COMP%]:hover{text-decoration:none}.main-menu-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px}.main-menu-button[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:500;font-size:1.25rem;text-align:center;margin-bottom:1rem}.main-menu-button[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;margin-bottom:0!important}"]}),t})();class Dt{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 Mt=i("vobO"),Pt=i("5lCh");let xt=(()=>{class t{}return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[c.d],imports:[[m.c]]}),t})();var Nt=i("M7la"),Lt=i("tT6Y"),Ft=i("Sv31"),zt=i("dWQl"),Ht=i("got8"),Bt=i("HdwC"),jt=i("vUMc"),Gt=i("Wq+4"),Ut=i("s8L6"),Kt=i("hQLc"),Vt=i("5bHy"),qt=i("KSio"),Jt=i("D+oT"),Wt=i("IgBI"),Zt=i("JKyc"),Yt=i("7TQF"),$t=i("VFai"),Xt=i("+Jyz");let Qt=(()=>{class t{constructor(){this.allowCachePages=[{type:"vo",components:[Nt.a.id,Lt.a.id,Ft.a.id,Vt.a.id,qt.a.id,Wt.a.id,Xt.a.id]},{type:"group",components:[jt.a.id,Bt.a.id,Ht.a.id,zt.a.id,Zt.a.id]},{type:"facility",components:[Gt.a.id,Ut.a.id]},{type:"member",components:[Kt.a.id]},{type:"admin",components:[Jt.a.id]},{type:"entitySelect",components:[Yt.a.id,$t.a.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=n.Ib({token:t,factory:t.\u0275fac}),t})();const te=new n.r("perun-api-service");let ee=(()=>{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,[ie(tinycolor(n).lighten(52),"50"),ie(tinycolor(n).lighten(37),"100"),ie(tinycolor(n).lighten(26),"200"),ie(tinycolor(n).lighten(12),"300"),ie(tinycolor(n).lighten(6),"400"),ie(tinycolor(n),"500"),ie(tinycolor(n).darken(6),"600"),ie(tinycolor(n).darken(12),"700"),ie(tinycolor(n).darken(18),"800"),ie(tinycolor(n).darken(24),"900"),ie(tinycolor(n).lighten(50).saturate(30),"A100"),ie(tinycolor(n).lighten(30).saturate(30),"A200"),ie(tinycolor(n).lighten(10).saturate(15),"A400"),ie(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,e)=>{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 Mt.d({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}}return t.\u0275fac=function(e){return new(e||t)(n.Wb(Mt.b),n.Wb(c.m))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ie(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}}var ne=i("yv0D");let se=(()=>{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.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=Object(u.o)();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(ne.b,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(ne.c,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)(n.Wb(c.i),n.Wb(ee),n.Wb(c.m),n.Wb(a.d),n.Wb(p.b),n.Wb(m.n),n.Wb(d.e),n.Wb(c.h),n.Wb(s.d),n.Wb(o.f))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var oe=i("ZTXN"),re=i("KTx3"),ae=i("g6G6"),ce=i("prE9"),le=i("kuMc"),ue=i("Ohay"),he=i("5uGe");function de(t){return e=>e.lift(new pe(t))}class pe{constructor(t){this.value=t}call(t,e){return e.subscribe(new fe(t,this.value))}}class fe extends he.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}function ge(t){return getComputedStyle(t)}function be(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function me(t){var e=document.createElement("div");return e.className=t,e}var Ae="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function ye(t,e){if(!Ae)throw new Error("No element matching method supported");return Ae.call(t,e)}function we(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function ve(t,e){return Array.prototype.filter.call(t.children,(function(t){return ye(t,e)}))}var _e=function(t){return"ps__thumb-"+t},Se=function(t){return"ps__rail-"+t},Ee=function(t){return"ps--active-"+t},Ce=function(t){return"ps--scrolling-"+t},Re={x:null,y:null};function Te(t,e){var i=t.element.classList,n=Ce(e);i.contains(n)?clearTimeout(Re[e]):i.add(n)}function ke(t,e){Re[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(Ce(e))}),t.settings.scrollingThreshold)}var Ie=function(t){this.element=t,this.handlers={}},Oe={isEmpty:{configurable:!0}};Ie.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},Ie.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)}))},Ie.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},Oe.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(Ie.prototype,Oe);var De=function(){this.eventElements=[]};function Me(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 Pe(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(Me("ps-scroll-"+c)),e<0?h.dispatchEvent(Me("ps-scroll-"+l)):e>0&&h.dispatchEvent(Me("ps-scroll-"+u)),n&&function(t,e){Te(t,e),ke(t,e)}(t,c)),t.reach[c]&&(e||s)&&h.dispatchEvent(Me("ps-"+c+"-reach-"+t.reach[c]))}(t,i,o,n,s)}function xe(t){return parseInt(t,10)||0}De.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new Ie(t),this.eventElements.push(e)),e},De.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},De.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)},De.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},De.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 Ne={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 Le(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)||(ve(e,Se("x")).forEach((function(t){return we(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(ve(e,Se("y")).forEach((function(t){return we(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,be(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,be(e.scrollbarYRail,s),be(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),be(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(Ee("x")):(e.classList.remove(Ee("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(Ee("y")):(e.classList.remove(Ee("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function Fe(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 ze(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,f=null;function g(e){e.touches&&e.touches[0]&&(e[s]=e.touches[0].pageY),h[c]=d+f*(e[s]-p),Te(t,l),Le(t),e.stopPropagation(),e.preventDefault()}function b(){ke(t,l),t[u].classList.remove("ps--clicking"),t.event.unbind(t.ownerDocument,"mousemove",g)}function m(e,r){d=h[c],r&&e.touches&&(e[s]=e.touches[0].pageY),p=e[s],f=(t[n]-t[i])/(t[o]-t[a]),r?t.event.bind(t.ownerDocument,"touchmove",g):(t.event.bind(t.ownerDocument,"mousemove",g),t.event.once(t.ownerDocument,"mouseup",b),e.preventDefault()),t[u].classList.add("ps--clicking"),e.stopPropagation()}t.event.bind(t[r],"mousedown",(function(t){m(t)})),t.event.bind(t[r],"touchstart",(function(t){m(t,!0)}))}var He={"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,Le(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,Le(t),e.stopPropagation()}))},"drag-thumb":function(t){ze(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ze(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)&&(ye(e,":hover")||ye(t.scrollbarX,":focus")||ye(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(ye(n=s,"input,[contenteditable]")||ye(n,"select,[contenteditable]")||ye(n,"textarea,[contenteditable]")||ye(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,Le(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(!Ne.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=ge(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),Le(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(Ne.supportsTouch||Ne.supportsIePointer){var e=t.element,i={},n=0,s={},o=null;Ne.supportsTouch?(t.event.bind(e,"touchstart",l),t.event.bind(e,"touchmove",u),t.event.bind(e,"touchend",h)):Ne.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,Le(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=ge(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(),f=p-n;f>0&&(s.x=h/f,s.y=d/f,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&&Ne.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))}}},Be=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"===ge(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 De,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=me(Se("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=me(_e("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=ge(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=xe(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=xe(c.borderLeftWidth)+xe(c.borderRightWidth),be(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=xe(c.marginLeft)+xe(c.marginRight),be(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=me(Se("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=me(_e("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=ge(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=xe(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=ge(t);return xe(e.width)+xe(e.paddingLeft)+xe(e.paddingRight)+xe(e.borderLeftWidth)+xe(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=xe(l.borderTopWidth)+xe(l.borderBottomWidth),be(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=xe(l.marginTop)+xe(l.marginBottom),be(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 He[t](i)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return i.onScroll(t)})),Le(this)};Be.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,be(this.scrollbarXRail,{display:"block"}),be(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=xe(ge(this.scrollbarXRail).marginLeft)+xe(ge(this.scrollbarXRail).marginRight),this.railYMarginHeight=xe(ge(this.scrollbarYRail).marginTop)+xe(ge(this.scrollbarYRail).marginBottom),be(this.scrollbarXRail,{display:"none"}),be(this.scrollbarYRail,{display:"none"}),Le(this),Pe(this,"top",0,!1,!0),Pe(this,"left",0,!1,!0),be(this.scrollbarXRail,{display:""}),be(this.scrollbarYRail,{display:""}))},Be.prototype.onScroll=function(t){this.isAlive&&(Le(this),Pe(this,"top",this.element.scrollTop-this.lastScrollTop),Pe(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Be.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),we(this.scrollbarX),we(this.scrollbarY),we(this.scrollbarXRail),we(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Be.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")};var je=Be,Ge=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(){Ue&&!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(){Ue&&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;qe.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}(),Ze=function(t,e){for(var i=0,n=Object.keys(e);i0},t}(),oi="undefined"!=typeof WeakMap?new WeakMap:new Ge,ri=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=We.getInstance(),n=new si(e,i,this);oi.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){ri.prototype[t]=function(){var e;return(e=oi.get(this))[t].apply(e,arguments)}}));var ai=void 0!==Ke.ResizeObserver?Ke.ResizeObserver:ri;function ci(t,e){if(1&t&&(n.Sb(0,"div",3),n.Nb(1,"div",4),n.Nb(2,"div",5),n.Nb(3,"div",6),n.Nb(4,"div",7),n.Rb()),2&t){const t=n.dc();n.Eb("ps-at-top",t.states.top)("ps-at-left",t.states.left)("ps-at-right",t.states.right)("ps-at-bottom",t.states.bottom),n.Ab(1),n.Eb("ps-indicator-show",t.indicatorY&&t.interaction),n.Ab(1),n.Eb("ps-indicator-show",t.indicatorX&&t.interaction),n.Ab(1),n.Eb("ps-indicator-show",t.indicatorX&&t.interaction),n.Ab(1),n.Eb("ps-indicator-show",t.indicatorY&&t.interaction)}}const li=["*"],ui=new n.r("PERFECT_SCROLLBAR_CONFIG");class hi{constructor(t,e,i,n){this.x=t,this.y=e,this.w=i,this.h=n}}class di{constructor(t,e){this.x=t,this.y=e}}const pi=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class fi{constructor(t={}){this.assign(t)}assign(t={}){for(const e in t)this[e]=t[e]}}let gi=(()=>{let t=class{constructor(t,e,i,s,o){this.zone=t,this.differs=e,this.elementRef=i,this.platformId=s,this.defaults=o,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new oe.a,this.disabled=!1,this.psScrollY=new n.o,this.psScrollX=new n.o,this.psScrollUp=new n.o,this.psScrollDown=new n.o,this.psScrollLeft=new n.o,this.psScrollRight=new n.o,this.psYReachEnd=new n.o,this.psYReachStart=new n.o,this.psXReachEnd=new n.o,this.psXReachStart=new n.o}ngOnInit(){if(!this.disabled&&Object(m.J)(this.platformId)){const t=new fi(this.defaults);t.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new je(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 ai(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{pi.forEach(t=>{const e=t.replace(/([A-Z])/g,t=>"-"+t.toLowerCase());Object(re.a)(this.elementRef.nativeElement,e).pipe(Object(ce.a)(20),Object(le.a)(this.ngDestroy)).subscribe(e=>{this[t].emit(e)})})})}}ngOnDestroy(){Object(m.J)(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&&Object(m.J)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(t){t.disabled&&!t.disabled.isFirstChange()&&Object(m.J)(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 hi(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 di(this.instance.reach.x||0,this.instance.reach.y||0):new di(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)(n.Mb(n.A),n.Mb(n.u),n.Mb(n.l),n.Mb(n.C),n.Mb(ui,8))},t.\u0275dir=n.Hb({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:[n.yb]}),t})(),bi=(()=>{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 oe.a,this.stateUpdate=new oe.a,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new n.o,this.psScrollX=new n.o,this.psScrollUp=new n.o,this.psScrollDown=new n.o,this.psScrollLeft=new n.o,this.psScrollRight=new n.o,this.psYReachEnd=new n.o,this.psYReachStart=new n.o,this.psXReachEnd=new n.o,this.psXReachStart=new n.o}ngOnInit(){Object(m.J)(this.platformId)&&(this.stateUpdate.pipe(Object(le.a)(this.ngDestroy),Object(ue.a)((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;Object(re.a)(t,"wheel").pipe(Object(le.a)(this.ngDestroy)).subscribe(t=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(t,t.deltaX,t.deltaY)}),Object(re.a)(t,"touchmove").pipe(Object(le.a)(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}}),Object(ae.a)(Object(re.a)(t,"ps-scroll-x").pipe(de("x")),Object(re.a)(t,"ps-scroll-y").pipe(de("y")),Object(re.a)(t,"ps-x-reach-end").pipe(de("right")),Object(re.a)(t,"ps-y-reach-end").pipe(de("bottom")),Object(re.a)(t,"ps-x-reach-start").pipe(de("left")),Object(re.a)(t,"ps-y-reach-start").pipe(de("top"))).pipe(Object(le.a)(this.ngDestroy)).subscribe(t=>{this.disabled||!this.autoPropagation&&!this.scrollIndicators||this.stateUpdate.next(t)})}}),window.setTimeout(()=>{pi.forEach(t=>{this.directiveRef&&(this.directiveRef[t]=this[t])})},0))}ngOnDestroy(){Object(m.J)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if(Object(m.J)(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)(n.Mb(n.A),n.Mb(n.h),n.Mb(n.C))},t.\u0275cmp=n.Gb({type:t,selectors:[["perfect-scrollbar"]],viewQuery:function(t,e){var i;1&t&&n.Dc(gi,!0),2&t&&n.sc(i=n.ac())&&(e.directiveRef=i.first)},hostVars:4,hostBindings:function(t,e){2&t&&n.Eb("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:li,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&&(n.jc(),n.Sb(0,"div",0),n.Sb(1,"div",1),n.ic(2),n.Rb(),n.Hc(3,ci,5,16,"div",2),n.Rb()),2&t&&(n.Eb("ps",e.usePSClass),n.kc("perfectScrollbar",e.config)("disabled",e.disabled),n.Ab(3),n.kc("ngIf",e.scrollIndicators))},directives:[gi,m.t],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})(),mi=(()=>{let t=class{};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[m.c],m.c]}),t})();var Ai=i("BYpP"),yi=i("gpj7"),wi=i("qvOF"),vi=i("ulve"),_i=i("E5oP"),Si=i("H0K4"),Ei=i("29Wa"),Ci=i("Cd2c"),Ri=i("A1vf"),Ti=i("cePI"),ki=i("FlRo"),Ii=i("KZIX"),Oi=i("QcI7"),Di=i("R7+U"),Mi=i("W1gw"),Pi=i("66mq"),xi=i("k8N0"),Ni=i("gcUQ"),Li=i("F1o0"),Fi=i("zmEM"),zi=i("Meci"),Hi=i("x9Az"),Bi=i("alep"),ji=i("iAde"),Gi=i("oqI+"),Ui=i("jk8c"),Ki=i("WimW"),Vi=i("vhVt"),qi=i("p/8k"),Ji=i("p3Ob"),Wi=i("ZWQq"),Zi=i("S17y"),Yi=i("3Uyd"),$i=i("Jb3d"),Xi=i("NU+N"),Qi=i("ma6z"),tn=i("Rbfv"),en=i("snnp"),nn=i("ZWyU"),sn=i("yNE8"),on=i("pgvo"),rn=i("bdug"),an=i("gdiH"),cn=i("77So"),ln=i("iT3j"),un=i("gcZR"),hn=i("eakH"),dn=i("NC8S"),pn=i("pnmw"),fn=i("OL2r"),gn=i("IDQ9"),bn=i("KF6X"),mn=i("j610"),An=i("VBdk"),yn=i("jjFd"),wn=i("9wx0"),vn=i("XpU2"),_n=i("0XDM"),Sn=i("EtYo"),En=i("A8Ay"),Cn=i("LKLE"),Rn=i("nhAq"),Tn=i("b7Yx"),kn=i("8cyV"),In=i("U3ra"),On=i("UX+r"),Dn=i("ZG5M"),Mn=i("tmvS"),Pn=i("TQS+"),xn=i("YFHD"),Nn=i("3jrC"),Ln=i("XAvq"),Fn=i("WLDY"),zn=i("B/Qt"),Hn=i("YRqw"),Bn=i("nz2m"),jn=i("COMt"),Gn=i("ABWF"),Un=i("eXxK"),Kn=i("22FB"),Vn=i("KQGD"),qn=i("jqZM"),Jn=i("HMTk"),Wn=i("Ds80"),Zn=i("LAw4"),Yn=i("BnyX"),$n=i("ajPJ"),Xn=i("oYGW"),Qn=i("pynj"),ts=i("l18O"),es=i("6Xhx"),is=i("9Iem"),ns=i("LLgS"),ss=i("e+sS"),os=i("kdIE"),rs=i("XhvO"),as=i("g3Wv"),cs=i("1Gb8"),ls=i("+TsY"),us=i("hLiN"),hs=i("L4Ow"),ds=i("7fDV"),ps=i("7o/y"),fs=i("yAs8"),gs=i("O/Vf"),bs=i("bwko"),ms=i("A6H7");const As={provide:Mt.a,useExisting:Object(n.U)(()=>c.a),multi:!0};function ys(t){return new Dt(t,"./assets/i18n/",".json")}function ws(t){const e={basePath:t.get("api_url")};return new a.e(e)}const vs=t=>()=>t.initialize(),_s={suppressScrollX:!0};let Ss=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275mod=n.Kb({type:t,bootstrap:[vt.a]}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)(n.Wb(c.e),n.Wb(d.e))},providers:[se,{provide:n.d,useFactory:vs,multi:!0,deps:[se]},{provide:a.e,useFactory:ws,deps:[c.m]},{provide:o.e,useClass:Qt},c.e,{provide:te,useClass:c.c},c.a,As,{provide:ui,useValue:_s}],imports:[[Pt.b,s.a,Mt.c,_t.a,xt,wt,A.b,ne.a,d.c.forRoot({loader:{provide:d.b,useFactory:ys,deps:[Mt.b]}}),a.b,mi,ot.d,rt]]}),t})();n.Ac(vt.a,[m.q,m.r,m.s,m.t,m.A,m.w,m.x,m.y,m.z,m.u,m.v,Ai.a,Ai.c,yi.a,wi.b,vi.a,v.n,v.m,vi.d,vi.c,_i.b,Si.b,Si.c,Ei.b,Ei.c,Ei.f,Ei.g,Ei.h,Ei.i,Ei.j,Ci.b,Ci.d,o.k,o.g,o.i,o.h,o.l,b.H,b.w,b.G,b.c,b.x,b.A,b.a,b.D,b.E,b.z,b.r,b.s,b.C,b.n,b.m,b.y,b.b,b.d,b.h,b.j,b.i,b.k,b.e,b.u,b.v,b.t,A.a,Ri.a,f.a,f.b,f.c,f.d,f.e,f.f,d.a,Ti.a,Ti.b,ki.n,ki.i,ki.k,ki.c,ki.b,ki.m,ki.e,ki.g,ki.h,ki.a,ki.d,ki.j,ki.l,ki.f,ki.q,Ii.c,Ii.d,Ii.a,Ii.f,Ii.e,Ii.b,Oi.a,Oi.h,Oi.j,Oi.k,Oi.b,Oi.g,Oi.i,y.b,y.a,g.a,g.c,p.f,p.d,p.j,p.g,p.c,Di.a,Di.c,Mi.a,T.a,T.c,Pi.a,R.a,R.c,xi.c,xi.a,Ni.a,Ni.b,Ni.d,Ni.e,Ni.f,Ni.h,Ni.i,Ni.j,Ni.l,Ni.k,Ni.c,Li.b,Li.a,Fi.a,zi.a,zi.f,zi.n,zi.d,zi.m,zi.l,zi.b,zi.e,zi.k,zi.i,zi.h,zi.g,zi.o,zi.c,Hi.a,Hi.j,Hi.b,Hi.d,Hi.e,Hi.h,Hi.i,Hi.c,Hi.f,Bi.a,v.s,ji.a,Gi.e,Gi.f,Gi.a,Gi.b,Gi.d,Gi.c,Ui.a,Ki.a,Vi.a,qi.a,Ji.a,Wi.a,Zi.d,Zi.a,Zi.c,Zi.e,Zi.b,Zi.f,Yi.a,Yi.c,Yi.d,Yi.g,Yi.h,Yi.f,Yi.e,$i.e,$i.b,$i.d,$i.a,wi.a,wi.d,wi.e,Xi.a,Qi.a,tn.a,en.a,nn.a,sn.a,on.a,rn.a,an.a,cn.a,ln.a,un.a,hn.a,dn.a,pn.a,fn.a,gn.a,bn.a,r,mn.a,An.a,yn.a,bi,gi,k.a,I.a,wn.a,vn.a,_n.a,Sn.a,En.a,Cn.a,Rn.a,Tn.a,kn.a,In.a,On.a,O.a,Dn.a,Mn.a,Pn.a,xn.a,Nn.a,Ln.a,Fn.a,Pn.b,zn.a,Hn.a,Bn.a,jn.a,Gn.a,Pn.c,Un.a,Kn.a,Vn.a,qn.a,Jn.a,Wn.a,D.a,Zn.a,Yn.a,ct.a,$n.a,Xn.a,Qn.a,ts.a,es.a,is.a,ns.a,At,at,vt.a,Ot],[m.b,m.G,m.p,m.k,m.E,m.g,m.C,m.F,m.d,m.f,m.i,m.j,m.l,d.d,ss.a,os.a,rs.a,as.a,cs.a,ls.a,us.a,hs.a,ds.a,ps.a,fs.a,gs.a,bs.a,ms.a]),Object(n.T)(),s.e().bootstrapModule(Ss).catch(t=>console.error(t))},zldI:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("Ssnw"),s=i("X2Q7"),o=i("Iydx"),r=i("EM62"),a=i("OZ4H"),c=i("s2Ay"),l=i("2kYt"),u=i("PBFl"),h=i("Y2X+"),d=i("csyo"),p=i("29Wa"),f=i("Cd2c"),g=i("nIj0"),b=i("H0K4"),m=i("R7+U"),A=i("k8N0"),y=i("+Tre"),w=i("mFH5");function v(t,e){1&t&&r.Nb(0,"mat-spinner",7)}function _(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function S(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function E(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function C(t,e){if(1&t&&(r.Sb(0,"mat-option",29),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t),r.Ab(1),r.Kc(t)}}function R(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function T(t,e){if(1&t&&(r.Sb(0,"mat-option",29),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t),r.Ab(1),r.Kc(t)}}function k(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function I(t,e){if(1&t&&(r.Sb(0,"mat-option",29),r.Jc(1),r.Rb()),2&t){const t=e.$implicit;r.kc("value",t),r.Ab(1),r.Kc(t)}}function O(t,e){1&t&&(r.Sb(0,"mat-error"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function D(t,e){if(1&t){const t=r.Tb();r.Sb(0,"div",8),r.Sb(1,"mat-form-field",9),r.Sb(2,"label"),r.Sb(3,"input",10),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().attDef.friendlyName=e})),r.ec(4,"translate"),r.Rb(),r.Rb(),r.Hc(5,_,3,3,"mat-error",11),r.Rb(),r.Nb(6,"br"),r.Sb(7,"mat-form-field",9),r.Sb(8,"label"),r.Sb(9,"input",10),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().attDef.displayName=e})),r.ec(10,"translate"),r.Rb(),r.Rb(),r.Hc(11,S,3,3,"mat-error",11),r.Rb(),r.Nb(12,"br"),r.Sb(13,"mat-form-field",9),r.Sb(14,"label"),r.Sb(15,"textarea",12),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().attDef.description=e})),r.ec(16,"translate"),r.Jc(17," "),r.Rb(),r.Rb(),r.Hc(18,E,3,3,"mat-error",11),r.Rb(),r.Nb(19,"br"),r.Sb(20,"mat-form-field",9),r.Sb(21,"mat-placeholder"),r.Jc(22),r.ec(23,"translate"),r.Rb(),r.Sb(24,"mat-select",13),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().entity=e})),r.Hc(25,C,2,2,"mat-option",14),r.Rb(),r.Hc(26,R,3,3,"mat-error",11),r.Rb(),r.Nb(27,"br"),r.Sb(28,"mat-form-field",9),r.Sb(29,"mat-placeholder"),r.Jc(30),r.ec(31,"translate"),r.Rb(),r.Sb(32,"mat-select",13),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().definitionType=e})),r.Hc(33,T,2,2,"mat-option",14),r.Rb(),r.Hc(34,k,3,3,"mat-error",11),r.Rb(),r.Nb(35,"br"),r.Sb(36,"mat-form-field",9),r.Sb(37,"mat-placeholder"),r.Jc(38),r.ec(39,"translate"),r.Rb(),r.Sb(40,"mat-select",13),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().valueType=e})),r.Hc(41,I,2,2,"mat-option",14),r.Rb(),r.Hc(42,O,3,3,"mat-error",11),r.Rb(),r.Nb(43,"br"),r.Sb(44,"div",15),r.Sb(45,"p"),r.Jc(46),r.ec(47,"translate"),r.Rb(),r.Sb(48,"p",16),r.Zb("click",(function(){return r.xc(t),r.dc().attDef.unique=!1})),r.Jc(49,"OFF"),r.Rb(),r.Sb(50,"mat-slide-toggle",17),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().attDef.unique=e})),r.ec(51,"translate"),r.Jc(52," ON "),r.Rb(),r.Rb(),r.Sb(53,"div",18),r.Sb(54,"p",19),r.Jc(55),r.ec(56,"translate"),r.Rb(),r.Sb(57,"p",20),r.Jc(58),r.ec(59,"translate"),r.Rb(),r.Rb(),r.Sb(60,"div",21),r.Sb(61,"p",22),r.Jc(62),r.ec(63,"translate"),r.Rb(),r.Sb(64,"mat-checkbox",23),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().readSelf=e})),r.Rb(),r.Sb(65,"mat-checkbox",24),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().writeSelf=e})),r.Rb(),r.Rb(),r.Sb(66,"div",21),r.Sb(67,"p",22),r.Jc(68),r.ec(69,"translate"),r.Rb(),r.Sb(70,"mat-checkbox",25),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().readSelfPublic=e})),r.Rb(),r.Sb(71,"mat-checkbox",24),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().writeSelfPublic=e})),r.Rb(),r.Rb(),r.Sb(72,"div",21),r.Sb(73,"p",22),r.Jc(74),r.ec(75,"translate"),r.Rb(),r.Sb(76,"mat-checkbox",26),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().readSelfVo=e})),r.Rb(),r.Sb(77,"mat-checkbox",24),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().writeSelfVo=e})),r.Rb(),r.Rb(),r.Sb(78,"div",21),r.Sb(79,"p",22),r.Jc(80),r.ec(81,"translate"),r.Rb(),r.Sb(82,"mat-checkbox",27),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().readVo=e})),r.Rb(),r.Sb(83,"mat-checkbox",24),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().writeVo=e})),r.Rb(),r.Rb(),r.Sb(84,"div",21),r.Sb(85,"p",22),r.Jc(86),r.ec(87,"translate"),r.Rb(),r.Sb(88,"mat-checkbox",28),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().readGroup=e})),r.Rb(),r.Sb(89,"mat-checkbox",24),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().writeGroup=e})),r.Rb(),r.Rb(),r.Sb(90,"div",21),r.Sb(91,"p",22),r.Jc(92),r.ec(93,"translate"),r.Rb(),r.Sb(94,"mat-checkbox",26),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().readFacility=e})),r.Rb(),r.Sb(95,"mat-checkbox",24),r.Zb("ngModelChange",(function(e){return r.xc(t),r.dc().writeFacility=e})),r.Rb(),r.Rb(),r.Rb()}if(2&t){const t=r.dc();r.Ab(3),r.lc("placeholder",r.fc(4,46,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FRIENDLY_NAME")),r.kc("ngModel",t.attDef.friendlyName),r.Ab(2),r.kc("ngIf",""===t.attDef.friendlyName),r.Ab(4),r.lc("placeholder",r.fc(10,48,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),r.kc("ngModel",t.attDef.displayName),r.Ab(2),r.kc("ngIf",""===t.attDef.displayName),r.Ab(4),r.lc("placeholder",r.fc(16,50,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DESCRIPTION")),r.kc("ngModel",t.attDef.description),r.Ab(3),r.kc("ngIf",""===t.attDef.description),r.Ab(4),r.Kc(r.fc(23,52,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ENTITY")),r.Ab(2),r.kc("ngModel",t.entity),r.Ab(1),r.kc("ngForOf",t.entities),r.Ab(1),r.kc("ngIf",""===t.attDef.entity),r.Ab(4),r.Kc(r.fc(31,54,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DEFINITION")),r.Ab(2),r.kc("ngModel",t.definitionType),r.Ab(1),r.kc("ngForOf",t.definitionTypes),r.Ab(1),r.kc("ngIf",""===t.definitionType),r.Ab(4),r.Kc(r.fc(39,56,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VALUE_TYPE")),r.Ab(2),r.kc("ngModel",t.valueType),r.Ab(1),r.kc("ngForOf",t.valueTypes),r.Ab(1),r.kc("ngIf",""===t.valueType),r.Ab(4),r.Kc(r.fc(47,58,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.UNIQUE")),r.Ab(4),r.lc("matTooltip",r.fc(51,60,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),r.kc("matTooltipDisabled",!t.disableUniqueToggle())("disabled",t.disableUniqueToggle())("ngModel",t.attDef.unique),r.Ab(5),r.Kc(r.fc(56,62,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),r.Ab(3),r.Kc(r.fc(59,64,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),r.Ab(4),r.Kc(r.fc(63,66,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),r.Ab(2),r.kc("ngModel",t.readSelf),r.Ab(1),r.kc("ngModel",t.writeSelf),r.Ab(3),r.Kc(r.fc(69,68,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),r.Ab(2),r.kc("ngModel",t.readSelfPublic),r.Ab(1),r.kc("ngModel",t.writeSelfPublic),r.Ab(3),r.Kc(r.fc(75,70,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),r.Ab(2),r.kc("ngModel",t.readSelfVo),r.Ab(1),r.kc("ngModel",t.writeSelfVo),r.Ab(3),r.Kc(r.fc(81,72,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),r.Ab(2),r.kc("ngModel",t.readVo),r.Ab(1),r.kc("ngModel",t.writeVo),r.Ab(3),r.Kc(r.fc(87,74,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),r.Ab(2),r.kc("ngModel",t.readGroup),r.Ab(1),r.kc("ngModel",t.writeGroup),r.Ab(3),r.Kc(r.fc(93,76,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),r.Ab(2),r.kc("ngModel",t.readFacility),r.Ab(1),r.kc("ngModel",t.writeFacility)}}let M=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.notificator=e,this.translate=i,this.attributesManager=n,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=o.a.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 i={};i.attributeId=this.attDef.id,i.role=o.a.VOADMIN,i.rights=[],this.readVo&&i.rights.push(s.a.READ),this.writeVo&&i.rights.push(s.a.WRITE),t.push(i);const n={};n.attributeId=this.attDef.id,n.role=o.a.GROUPADMIN,n.rights=[],this.readGroup&&n.rights.push(s.a.READ),this.writeGroup&&n.rights.push(s.a.WRITE),t.push(n);const r={};return r.attributeId=this.attDef.id,r.role=o.a.FACILITYADMIN,r.rights=[],this.readFacility&&r.rights.push(s.a.READ),this.writeFacility&&r.rights.push(s.a.WRITE),t.push(r),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)(r.Mb(a.i),r.Mb(n.l),r.Mb(c.e),r.Mb(s.c))},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"div",0),r.Sb(1,"h1",1),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Hc(4,v,1,0,"mat-spinner",2),r.Hc(5,D,96,78,"div",3),r.Sb(6,"div",4),r.Sb(7,"button",5),r.Zb("click",(function(){return e.onCancel()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Sb(10,"button",6),r.Zb("click",(function(){return e.onSubmit()})),r.ec(11,"translate"),r.Jc(12),r.ec(13,"translate"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Ab(2),r.Kc(r.fc(3,8,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TITLE")),r.Ab(2),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading),r.Ab(3),r.Lc(" ",r.fc(9,10,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CANCEL")," "),r.Ab(2),r.lc("matTooltip",r.fc(11,12,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),r.kc("disabled",e.disableConfirmButton())("matTooltipDisabled",!e.disableConfirmButton()),r.Ab(2),r.Lc(" ",r.fc(13,14,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[a.j,l.t,a.c,u.b,h.a,d.c,a.g,p.c,f.b,g.c,g.C,g.r,g.u,b.c,p.h,m.a,l.s,A.a,y.a,p.b,w.n],pipes:[c.d],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})()},zmEM:function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return a}));var n=i("5XID"),s=i("mFH5"),o=i("EM62");let r=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(n.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(n.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(o.Bb("aria-orientation",e.vertical?"vertical":"horizontal"),o.Eb("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.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},imports:[[s.i],s.i]}),t})()},zn8P:function(t,e){function i(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}i.keys=function(){return[]},i.resolve=i,t.exports=i,i.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/dist/apps/admin-gui/main-es5.a3f8ebcf6d4383a45e75.js b/dist/apps/admin-gui/main-es5.a3f8ebcf6d4383a45e75.js new file mode 100644 index 000000000..7142b0ab3 --- /dev/null +++ b/dist/apps/admin-gui/main-es5.a3f8ebcf6d4383a45e75.js @@ -0,0 +1 @@ +!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,i,n){return(e=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&&o(r,i.prototype),r}).apply(null,arguments)}function i(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||f(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 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){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var i=[],n=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(i.push(o.value),!e||i.length!==e);n=!0);}catch(c){r=!0,a=c}finally{try{n||null==s.return||s.return()}finally{if(r)throw a}}return i}(t,e)||f(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 a(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&&o(t,e)}function o(t,e){return(o=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 c(this,i)}}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?u(t):e}function u(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 Date.prototype.toString.call(Reflect.construct(Date,[],(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,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=f(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 a,o=!0,s=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function f(t,e){if(t){if("string"==typeof t)return p(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)?p(t,e):void 0}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i()\[\].,;:\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}()).\u0275fac=function(t){return new(t||Mt)(w.Mb(o.i),w.Mb(o.a),w.Mb(r.e),w.Mb(_.l),w.Mb(S.q),w.Mb(_.d))},Mt.\u0275cmp=w.Gb({type:Mt,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&&(w.Sb(0,"h1",0),w.Jc(1),w.ec(2,"translate"),w.ec(3,"customTranslate"),w.Rb(),w.Sb(4,"div",1),w.Hc(5,Ot,2,1,"app-alert",2),w.Sb(6,"mat-form-field",3),w.Sb(7,"label",3),w.Nb(8,"input",4),w.ec(9,"translate"),w.ec(10,"customTranslate"),w.Rb(),w.Hc(11,Dt,4,5,"mat-error",5),w.Rb(),w.Rb(),w.Sb(12,"div",6),w.Sb(13,"button",7),w.Zb("click",(function(){return e.onCancel()})),w.Jc(14),w.ec(15,"translate"),w.ec(16,"customTranslate"),w.Rb(),w.Sb(17,"button",8),w.Zb("click",(function(){return e.onSubmit()})),w.Jc(18),w.ec(19,"translate"),w.ec(20,"customTranslate"),w.Rb(),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,8,w.fc(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),w.Ab(4),w.kc("ngIf",e.pendingMails.length),w.Ab(3),w.lc("placeholder",w.fc(9,12,w.fc(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),w.kc("formControl",e.emailControl),w.Ab(3),w.kc("ngIf",e.emailControl.invalid),w.Ab(3),w.Lc(" ",w.fc(15,16,w.fc(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),w.Ab(3),w.kc("disabled",!e.emailControl.valid),w.Ab(1),w.Lc(" ",w.fc(19,20,w.fc(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[o.j,o.g,n.t,c.c,l.b,u.c,u.C,u.r,u.h,o.c,s.b,It.a,c.b],pipes:[r.d,st.a],styles:[""]}),Mt);function xt(t,e){1&t&&w.Nb(0,"mat-spinner",6)}function Nt(t,e){1&t&&w.Nb(0,"th",15)}function Lt(t,e){if(1&t&&(w.Sb(0,"td",16),w.Jc(1),w.Rb()),2&t){var i=e.$implicit;w.Ab(1),w.Lc(" ",i," ")}}function Ft(t,e){1&t&&w.Nb(0,"tr",17)}function zt(t,e){1&t&&w.Nb(0,"tr",18)}function Ht(t,e){if(1&t&&(w.Sb(0,"div",7),w.Sb(1,"p"),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Sb(4,"div",8),w.Jc(5),w.ec(6,"translate"),w.Rb(),w.Sb(7,"table",9),w.Qb(8,10),w.Hc(9,Nt,1,0,"th",11),w.Hc(10,Lt,2,1,"td",12),w.Pb(),w.Hc(11,Ft,1,0,"tr",13),w.Hc(12,zt,1,0,"tr",14),w.Rb(),w.Rb()),2&t){var i=w.dc();w.Ab(2),w.Lc(" ",w.fc(3,5,i.data.description)," "),w.Ab(3),w.Lc(" ",w.fc(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),w.Ab(2),w.kc("dataSource",i.dataSource),w.Ab(4),w.kc("matHeaderRowDef",i.displayedColumns),w.Ab(1),w.kc("matRowDefColumns",i.displayedColumns)}}var Bt,jt=((Bt=function(){function t(e,i){g(this,t),this.dialogRef=e,this.data=i,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new a.o(this.data.items)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){this.dialogRef.close(!0)}}]),t}()).\u0275fac=function(t){return new(t||Bt)(w.Mb(o.i),w.Mb(o.a))},Bt.\u0275cmp=w.Gb({type:Bt,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&&(w.Sb(0,"div"),w.Sb(1,"h1",0),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Hc(4,xt,1,0,"mat-spinner",1),w.Hc(5,Ht,13,9,"div",2),w.Sb(6,"div",3),w.Sb(7,"button",4),w.Zb("click",(function(){return e.onCancel()})),w.Jc(8),w.ec(9,"translate"),w.Rb(),w.Sb(10,"button",5),w.Zb("click",(function(){return e.onSubmit()})),w.Jc(11),w.ec(12,"translate"),w.Rb(),w.Rb(),w.Rb()),2&t&&(w.Cb(e.theme),w.Ab(2),w.Kc(w.fc(3,9,e.data.title)),w.Ab(2),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(3),w.Lc(" ",w.fc(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),w.Ab(2),w.kc("disabled",e.loading),w.Ab(1),w.Lc(" ",w.fc(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[o.j,n.t,o.c,s.b,h.c,o.g,a.n,a.c,a.i,a.b,a.k,a.m,a.h,a.a,a.j,a.l],pipes:[r.d],styles:[""]}),Bt),Gt=i("seVz"),Ut=i("h1GH");function Kt(t,e){1&t&&w.Nb(0,"mat-spinner",7)}function Vt(t,e){1&t&&(w.Sb(0,"app-alert"),w.Jc(1),w.ec(2,"translate"),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function qt(t,e){1&t&&(w.Sb(0,"span",23),w.Jc(1),w.ec(2,"translate"),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Jt(t,e){1&t&&(w.Sb(0,"span",23),w.Jc(1),w.ec(2,"translate"),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}var Wt=function(t){return{"min-width":t}};function Zt(t,e){if(1&t){var i=w.Tb();w.Sb(0,"mat-tree-node",16),w.Sb(1,"li",17),w.Sb(2,"div",18),w.Zb("click",(function(){w.xc(i);var t=e.$implicit;return w.dc(3).navigate(t.id,t.include)})),w.Nb(3,"button",19),w.Sb(4,"div",20),w.Sb(5,"span"),w.Jc(6),w.ec(7,"parseGroupName"),w.Rb(),w.Hc(8,qt,3,3,"span",21),w.Hc(9,Jt,3,3,"span",21),w.Rb(),w.Sb(10,"span",22),w.Jc(11),w.Rb(),w.Rb(),w.Rb(),w.Rb()}if(2&t){var n=e.$implicit,r=w.dc(3);w.Ab(2),w.Eb("cursor-pointer",n.direct||n.include)("act-disabled",!n.direct&&!n.include),w.Ab(2),w.kc("ngStyle",w.pc(11,Wt,r.getMinWidth(n.level))),w.Ab(2),w.Kc(w.fc(7,9,n.name)),w.Ab(2),w.kc("ngIf",n.direct),w.Ab(1),w.kc("ngIf",n.include),w.Ab(2),w.Kc(n.description)}}function Yt(t,e){1&t&&(w.Sb(0,"span",23),w.Jc(1),w.ec(2,"translate"),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Xt(t,e){1&t&&(w.Sb(0,"span",23),w.Jc(1),w.ec(2,"translate"),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Qt(t,e){if(1&t){var i=w.Tb();w.Sb(0,"mat-nested-tree-node"),w.Sb(1,"li"),w.Sb(2,"div",17),w.Sb(3,"button",24),w.Sb(4,"mat-icon",25),w.Jc(5),w.Rb(),w.Rb(),w.Sb(6,"div",18),w.Zb("click",(function(){w.xc(i);var t=e.$implicit;return w.dc(3).navigate(t.id,t.include)})),w.Sb(7,"div",20),w.Sb(8,"span"),w.Jc(9),w.ec(10,"parseGroupName"),w.Rb(),w.Hc(11,Yt,3,3,"span",21),w.Hc(12,Xt,3,3,"span",21),w.Rb(),w.Sb(13,"span",22),w.Jc(14),w.Rb(),w.Rb(),w.Rb(),w.Sb(15,"ul"),w.Ob(16,26),w.Rb(),w.Rb(),w.Rb()}if(2&t){var n=e.$implicit,r=w.dc(3);w.Ab(3),w.Bb("aria-label","Toggle "+n.name),w.Ab(2),w.Lc(" ",r.treeControl.isExpanded(n)?"expand_more":"chevron_right"," "),w.Ab(1),w.Eb("cursor-pointer",n.direct||n.include)("act-disabled",!n.direct&&!n.include),w.Ab(1),w.kc("ngStyle",w.pc(15,Wt,r.getMinWidth(n.level))),w.Ab(2),w.Kc(w.fc(10,13,n.name)),w.Ab(2),w.kc("ngIf",n.direct),w.Ab(1),w.kc("ngIf",n.include),w.Ab(2),w.Kc(n.description),w.Ab(1),w.Eb("example-tree-invisible",!r.treeControl.isExpanded(n))}}function $t(t,e){if(1&t&&(w.Sb(0,"mat-tree",13),w.Hc(1,Zt,12,13,"mat-tree-node",14),w.Hc(2,Qt,17,17,"mat-nested-tree-node",15),w.Rb()),2&t){var i=w.dc(2);w.kc("dataSource",i.dataSource)("treeControl",i.treeControl),w.Ab(2),w.kc("matTreeNodeDefWhen",i.hasChild)}}function te(t,e){if(1&t&&(w.Sb(0,"div",8),w.Sb(1,"p"),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Sb(4,"mat-form-field",9),w.Nb(5,"input",10),w.ec(6,"translate"),w.Rb(),w.Hc(7,Vt,3,3,"app-alert",11),w.Hc(8,$t,3,3,"mat-tree",12),w.Rb()),2&t){var i=w.dc();w.Ab(2),w.Kc(w.fc(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),w.Ab(3),w.lc("placeholder",w.fc(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),w.kc("formControl",i.formControl),w.Ab(2),w.kc("ngIf",!i.dataSource.data.length),w.Ab(1),w.kc("ngIf",i.dataSource.data.length)}}var ee,ie,ne=function(t){return{name:t}},re=((ie=function(){function t(e,i,n){g(this,t),this.dialogRef=e,this.data=i,this.groupsManagerService=n,this.treeControl=new Gt.k((function(t){return t.children})),this.dataSource=new A.f,this.groupTree=[],this.paths=[],this.formControl=new u.g(""),this.userName="",this.hasChild=function(t,e){return!!e.children&&e.children.length>0}}return m(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}()).\u0275fac=function(t){return new(t||ie)(w.Mb(o.i),w.Mb(o.a),w.Mb(S.h))},ie.\u0275cmp=w.Gb({type:ie,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&&(w.Sb(0,"div",0),w.Sb(1,"h1",1),w.Jc(2),w.ec(3,"translate"),w.Rb(),w.Hc(4,Kt,1,0,"mat-spinner",2),w.Hc(5,te,9,9,"div",3),w.Sb(6,"div",4),w.Sb(7,"div",5),w.Sb(8,"button",6),w.Zb("click",(function(){return e.onCancel()})),w.Jc(9),w.ec(10,"translate"),w.Rb(),w.Rb(),w.Rb(),w.Rb()),2&t&&(w.Ab(2),w.Kc(w.gc(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",w.pc(9,ne,e.userName))),w.Ab(2),w.kc("ngIf",e.loading),w.Ab(1),w.kc("ngIf",!e.loading),w.Ab(4),w.Lc(" ",w.fc(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[o.j,n.t,o.c,s.b,h.c,o.g,c.c,l.b,u.c,u.r,u.h,It.a,A.b,A.h,A.g,A.k,n.w,A.a,v.a,A.i],pipes:[r.d,Ut.a],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}"]}),ie),ae=((ee=function(){function t(e,i){g(this,t),this.dialogRef=e,this.router=i}return m(t,[{key:"ngOnInit",value:function(){}},{key:"onClose",value:function(){this.router.navigate([]),this.dialogRef.close()}}]),t}()).\u0275fac=function(t){return new(t||ee)(w.Mb(o.i),w.Mb(y.f))},ee.\u0275cmp=w.Gb({type:ee,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&&(w.Sb(0,"h1",0),w.Jc(1),w.ec(2,"translate"),w.Rb(),w.Sb(3,"div",1),w.Sb(4,"app-alert",2),w.Jc(5),w.ec(6,"translate"),w.Rb(),w.Rb(),w.Sb(7,"div",3),w.Sb(8,"button",4),w.Zb("click",(function(){return e.onClose()})),w.Jc(9),w.ec(10,"translate"),w.Rb(),w.Rb()),2&t&&(w.Ab(1),w.Kc(w.fc(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),w.Ab(4),w.Kc(w.fc(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),w.Ab(4),w.Lc(" ",w.fc(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[o.j,o.g,It.a,o.c,s.b],pipes:[r.d],styles:[""]}),ee)},"+Jyz":function(t,e,i){"use strict";i.d(e,"a",(function(){return P}));var n=i("X2Q7"),r=i("cqs0"),a=i("iyZ4"),o=i("8clQ"),s=i("7Y6W"),c=i("jMG3"),u=i("Ssnw"),l=i("EtR/"),h=i("nyAh"),d=i("Iydx"),f=i("EM62"),p=i("sEIs"),b=i("OZ4H"),v=i("0XDM"),y=i("Y2X+"),A=i("2kYt"),w=i("Jb3d"),_=i("A8Ay"),S=i("PBFl"),k=i("csyo"),E=i("pnmw"),C=i("s2Ay");function R(t,e){if(1&t&&(f.Sb(0,"button",10),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t){var i=f.dc(),n=f.tc(9);f.kc("disabled",i.findSponsorsAuth&&0===i.voSponsors.length)("matMenuTriggerFor",n),f.Ab(1),f.Lc(" ",f.fc(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function T(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",11),f.Zb("click",(function(){return f.xc(i),f.dc().onCreate()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function I(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",11),f.Zb("click",(function(){return f.xc(i),f.dc().onGenerate()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function O(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",12),f.Zb("click",(function(){return f.xc(i),f.dc().onSponsorExistingMember()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function D(t,e){1&t&&f.Nb(0,"mat-spinner",13)}function M(t,e){if(1&t){var i=f.Tb();f.Sb(0,"app-sponsored-members-list",14),f.Zb("page",(function(t){return f.xc(i),f.dc().pageChanged(t)}))("refreshTable",(function(){return f.xc(i),f.dc().refresh()})),f.Rb()}if(2&t){var n=f.dc();f.kc("sponsoredMembers",n.members)("disableRouting",!n.routeAuth)("selection",n.selection)("filterValue",n.searchString)("pageSize",n.pageSize)}}var P=function(){var t=function(){function t(e,i,n,o,s,c,u){g(this,t),this.membersManager=e,this.route=i,this.dialog=n,this.authResolver=o,this.tableConfigService=s,this.storeService=c,this.authzResolver=u,this.members=[],this.voSponsors=[],this.attrNames=[],this.selection=new r.c(!0,[]),this.searchString="",this.loading=!1,this.tableId=a.X}return m(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.vo={id:t.voId,beanName:"Vo"};var i=["SPONSOR"],n=new Map;t.authResolver.getRolesAuthorization(i,t.vo,n),t.findSponsorsAuth=n.get(i[0]).readAuth,t.findSponsorsAuth?t.authzResolver.getAuthzRichAdmins(d.a.SPONSOR,t.vo.id,"Vo",[h.a.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe((function(e){t.voSponsors=e,t.setAuthRights(),t.refresh()})):(t.setAuthRights(),t.refresh())}))}},{key:"setAuthRights",value:function(){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]))}},{key:"onCreate",value:function(){var t=this,e=Object(o.o)();e.width="620px",e.data={entityId:this.voId,voId:this.voId,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(s.a,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=Object(o.o)();e.width="750px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(c.a,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=Object(o.o)();e.width="650px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(l.a,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)(f.Mb(n.i),f.Mb(p.a),f.Mb(b.b),f.Mb(u.h),f.Mb(a.pb),f.Mb(u.m),f.Mb(n.d))},t.\u0275cmp=f.Gb({type:t,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(t,e){2&t&&f.Eb("router-component",!0)},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&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return e.refresh()})),f.Rb(),f.Sb(5,"span",2),f.ec(6,"translate"),f.Hc(7,R,3,5,"button",3),f.Rb(),f.Sb(8,"mat-menu",null,4),f.Hc(10,T,3,3,"button",5),f.Hc(11,I,3,3,"button",5),f.Rb(),f.Hc(12,O,3,3,"button",6),f.Sb(13,"perun-web-apps-immediate-filter",7),f.Zb("filter",(function(t){return e.applyFilter(t)})),f.Rb(),f.Hc(14,D,1,0,"mat-spinner",8),f.Hc(15,M,1,5,"app-sponsored-members-list",9),f.Rb()),2&t&&(f.Ab(2),f.Kc(f.fc(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),f.Ab(3),f.lc("matTooltip",f.fc(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),f.kc("matTooltipDisabled",!(e.findSponsorsAuth&&0===e.voSponsors.length)),f.Ab(2),f.kc("ngIf",!e.loading&&(e.createAuth||e.generateAuth)),f.Ab(3),f.kc("ngIf",e.createAuth),f.Ab(1),f.kc("ngIf",e.generateAuth),f.Ab(1),f.kc("ngIf",!e.loading&&e.setSponsorshipAuth),f.Ab(1),f.kc("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),f.Ab(1),f.kc("ngIf",e.loading),f.Ab(1),f.kc("ngIf",!e.loading))},directives:[v.a,y.a,A.t,w.e,_.a,S.b,w.d,w.b,k.c,E.a],pipes:[C.d],styles:[""]}),t}()},"+MEm":function(t,e,i){"use strict";i.d(e,"a",(function(){return b}));var n=i("Ssnw"),r=i("EM62"),a=i("OZ4H"),o=i("2kYt"),s=i("PBFl"),c=i("qvOF"),u=i("tmvS"),l=i("FcRk"),h=i("s2Ay");function d(t,e){if(1&t&&(r.Sb(0,"div",9),r.Nb(1,"perun-web-apps-notification",10),r.Rb()),2&t){var i=e.$implicit;r.Ab(1),r.kc("data",i)("inDialog",!0)}}function f(t,e){if(1&t&&(r.Sb(0,"div",6),r.Sb(1,"cdk-virtual-scroll-viewport",7),r.Hc(2,d,2,2,"div",8),r.Rb(),r.Rb()),2&t){var i=r.dc();r.Ab(2),r.kc("cdkVirtualForOf",i.notifications)}}function p(t,e){1&t&&(r.Sb(0,"app-alert",11),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}var b=function(){var t=function(){function t(e,i){g(this,t),this.dialogRef=e,this.notificationStorageService=i}return m(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.Mb(a.i),r.Mb(n.k))},t.\u0275cmp=r.Gb({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.Sb(0,"h1",0),r.Jc(1),r.ec(2,"translate"),r.Rb(),r.Hc(3,f,3,1,"div",1),r.Hc(4,p,3,3,"app-alert",2),r.Sb(5,"div",3),r.Sb(6,"button",4),r.Zb("click",(function(){return e.onClear()})),r.Jc(7),r.ec(8,"translate"),r.Rb(),r.Sb(9,"button",5),r.Zb("click",(function(){return e.onCancel()})),r.Jc(10),r.ec(11,"translate"),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),r.Ab(2),r.kc("ngIf",0!==e.notifications.length),r.Ab(1),r.kc("ngIf",0===e.notifications.length),r.Ab(3),r.Lc(" ",r.fc(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),r.Ab(3),r.Lc(" ",r.fc(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[a.j,o.t,a.c,s.b,c.e,c.a,c.d,u.a,l.a],pipes:[h.d],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),t}()},"+Tre":function(t,e,i){"use strict";i.d(e,"a",(function(){return S})),i.d(e,"b",(function(){return T})),i.d(e,"c",(function(){return E}));var n=i("5XID"),r=i("EM62"),o=i("nIj0"),c=i("mFH5"),u=i("5lCh"),l=i("TKFd"),h=i("sg/T"),d=["input"],f=function(){return{enterDuration:150}},p=["*"],b=new r.r("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),v=new r.r("mat-checkbox-click-action"),y=0,A={provide:o.p,useExisting:Object(r.U)((function(){return S})),multi:!0},w=function t(){g(this,t)},_=Object(c.D)(Object(c.y)(Object(c.z)(Object(c.A)((function t(e){g(this,t),this._elementRef=e}))))),S=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a,o,s,c,u,l){var h;return g(this,i),(h=e.call(this,t))._changeDetectorRef=n,h._focusMonitor=a,h._ngZone=o,h._clickAction=c,h._animationMode=u,h._options=l,h.ariaLabel="",h.ariaLabelledby=null,h._uniqueId="mat-checkbox-"+ ++y,h.id=h._uniqueId,h.labelPosition="after",h.name=null,h.change=new r.o,h.indeterminateChange=new r.o,h._onTouched=function(){},h._currentAnimationClass="",h._currentCheckState=0,h._controlValueAccessorChangeFn=function(){},h._checked=!1,h._disabled=!1,h._indeterminate=!1,h._options=h._options||{},h._options.color&&(h.color=h._options.color),h.tabIndex=parseInt(s)||0,h._focusMonitor.monitor(t,!0).subscribe((function(t){t||Promise.resolve().then((function(){h._onTouched(),n.markForCheck()}))})),h._clickAction=h._clickAction||h._options.clickAction,h}return m(i,[{key:"ngAfterViewInit",value:function(){this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{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 w;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,t,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-"+i}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(n.c)(t)}},{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=Object(n.c)(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=Object(n.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),i}(_);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(r.h),r.Mb(h.h),r.Mb(r.A),r.Xb("tabindex"),r.Mb(v,8),r.Mb(u.a,8),r.Mb(b,8))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var i;1&t&&(r.Qc(d,!0),r.Qc(c.s,!0)),2&t&&(r.sc(i=r.ac())&&(e._inputElement=i.first),r.sc(i=r.ac())&&(e.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Vb("id",e.id),r.Bb("tabindex",null),r.Eb("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",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r.zb([A]),r.xb],ngContentSelectors:p,decls:17,vars:19,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.jc(),r.Sb(0,"label",0,1),r.Sb(2,"div",2),r.Sb(3,"input",3,4),r.Zb("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),r.Rb(),r.Sb(5,"div",5),r.Nb(6,"div",6),r.Rb(),r.Nb(7,"div",7),r.Sb(8,"div",8),r.cc(),r.Sb(9,"svg",9),r.Nb(10,"path",10),r.Rb(),r.bc(),r.Nb(11,"div",11),r.Rb(),r.Rb(),r.Sb(12,"span",12,13),r.Zb("cdkObserveContent",(function(){return e._onLabelTextChange()})),r.Sb(14,"span",14),r.Jc(15,"\xa0"),r.Rb(),r.ic(16),r.Rb(),r.Rb()),2&t){var i=r.tc(1),n=r.tc(13);r.Bb("for",e.inputId),r.Ab(2),r.Eb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.Ab(1),r.kc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Bb("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),r.Ab(2),r.kc("matRippleTrigger",i)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.oc(18,f))}},directives:[c.s,l.a],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{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-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.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.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)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{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%}.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}\n"],encapsulation:2,changeDetection:0}),t}(),k={provide:o.o,useExisting:Object(r.U)((function(){return E})),multi:!0},E=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(o.b);return t.\u0275fac=function(e){return C(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[r.zb([k]),r.xb]}),t}(),C=r.Ub(E),R=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}(),T=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[c.t,c.i,l.c,R],c.i,R]}),t}()},"+TsY":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){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=n.Lb({name:"anyToString",type:t,pure:!0}),t}()},"/VkC":function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("PBFl");function d(t,e){1&t&&s.Nb(0,"mat-spinner",4)}function f(t,e){1&t&&s.Nb(0,"th",13)}function p(t,e){if(1&t&&(s.Sb(0,"td",14),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function b(t,e){1&t&&s.Nb(0,"tr",15)}function v(t,e){1&t&&s.Nb(0,"tr",16)}function y(t,e){if(1&t&&(s.Sb(0,"div",5),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",6),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",7),s.Qb(8,8),s.Hc(9,f,1,0,"th",9),s.Hc(10,p,2,1,"td",10),s.Pb(),s.Hc(11,b,1,0,"tr",11),s.Hc(12,v,1,0,"tr",12),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}function A(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",17),s.Sb(1,"button",18),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"button",19),s.Zb("click",(function(){return s.xc(i),s.dc().onSubmit()})),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),s.Ab(2),s.kc("disabled",n.loading),s.Ab(1),s.Lc(" ",s.fc(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.ownersManagerService=a,this.displayedColumns=["name"],this.owners=[]}return m(t,[{key:"ngOnInit",value:function(){this.dataSource=new o.o(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)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(r.j))},t.\u0275cmp=s.Gb({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.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Hc(3,d,1,0,"mat-spinner",1),s.Hc(4,y,13,9,"div",2),s.Hc(5,A,7,7,"div",3)),2&t&&(s.Ab(1),s.Kc(s.fc(2,4,"DIALOGS.DELETE_OWNER.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[n.j,u.t,l.c,n.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l,n.c,h.b],pipes:[c.d],styles:[""]}),t}()},"/bE8":function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("iyZ4"),s=i("cqs0"),c=i("EM62"),u=i("s2Ay"),l=i("2kYt"),h=i("PBFl"),f=i("csyo"),p=i("pynj"),b=i("gcZR");function v(t,e){1&t&&c.Nb(0,"mat-spinner",6)}function y(t,e){if(1&t){var i=c.Tb();c.Sb(0,"app-services-list",10),c.Zb("page",(function(t){return c.xc(i),c.dc(2).pageChanged(t)})),c.Rb()}if(2&t){var n=c.dc(2);c.kc("pageSize",n.pageSize)("disableRouting",!0)("services",n.unAssignedServices)("filterValue",n.filterValue)("selection",n.selection)}}function A(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div",7),c.Sb(1,"perun-web-apps-debounce-filter",8),c.Zb("filter",(function(t){return c.xc(i),c.dc().applyFilter(t)})),c.ec(2,"translate"),c.Rb(),c.Hc(3,y,1,5,"app-services-list",9),c.Rb()}if(2&t){var n=c.dc();c.Ab(1),c.lc("placeholder",c.fc(2,2,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.FILTER_DESCRIPTION")),c.Ab(2),c.kc("ngIf",!n.loading)}}var w=function(){var t=function(){function t(e,i,n,r,a,c,u){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourceManager=a,this.servicesManager=c,this.tableConfigService=u,this.loading=!1,this.selection=new s.c(!0,[]),this.tableId=o.q,this.filterValue=""}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resourceManager.getAssignedServicesToResource(this.data.resourceId).subscribe((function(e){t.servicesManager.getServices().subscribe((function(i){t.unAssignedServices=i;var n,r=d(e);try{for(r.s();!(n=r.n()).done;){var a,o=n.value,s=d(i);try{for(s.s();!(a=s.n()).done;){var c=a.value;o.id===c.id&&t.unAssignedServices.splice(t.unAssignedServices.indexOf(c),1)}}catch(u){s.e(u)}finally{s.f()}}}catch(u){r.e(u)}finally{r.f()}t.filteredServices=t.unAssignedServices,t.loading=!1}))}))}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onAdd",value:function(){var t=this;this.loading=!0;var e,i=[],n=d(this.selection.selected);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.push(r.id)}}catch(a){n.e(a)}finally{n.f()}this.resourceManager.assignServices(this.data.resourceId,i).subscribe((function(){t.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SUCCESS_MESSAGE").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}),(function(){return 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)(c.Mb(n.i),c.Mb(n.a),c.Mb(r.l),c.Mb(u.e),c.Mb(a.m),c.Mb(a.n),c.Mb(o.pb))},t.\u0275cmp=c.Gb({type:t,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(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,v,1,0,"mat-spinner",1),c.Hc(5,A,4,4,"div",2),c.Sb(6,"div",3),c.Sb(7,"button",4),c.Zb("click",(function(){return e.onCancel()})),c.Jc(8),c.ec(9,"translate"),c.Rb(),c.Sb(10,"button",5),c.Zb("click",(function(){return e.onAdd()})),c.Jc(11),c.ec(12,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(2),c.Kc(c.fc(3,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.TITLE")),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(3),c.Lc(" ",c.fc(9,11,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.CANCEL_BUTTON")," "),c.Ab(2),c.kc("disabled",0===e.selection.selected.length||e.loading),c.Ab(1),c.Lc(" ",c.fc(12,13,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.ADD_BUTTON")," "))},directives:[n.j,l.t,n.c,h.b,f.c,n.g,p.a,b.a],pipes:[u.d],styles:[""]}),t}()},"/nwi":function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("X2Q7"),r=i("OZ4H"),a=i("FlRo"),o=i("Ssnw"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),d=i("FcRk"),f=i("pgvo");function p(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function b(t,e){if(1&t&&s.Nb(0,"app-perun-web-apps-destination-list",11),2&t){var i=s.dc(2);s.kc("destinations",i.destinations)("displayedColumns",i.displayedColumns)}}function v(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"app-alert",8),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"p"),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"div",9),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Hc(10,b,1,2,"app-perun-web-apps-destination-list",10),s.Rb()),2&t){var i=s.dc();s.Ab(1),s.kc("alert_type","warn"),s.Ab(1),s.Kc(s.fc(3,5,"DIALOGS.REMOVE_DESTINATIONS.WARNING")),s.Ab(3),s.Kc(s.fc(6,7,"DIALOGS.REMOVE_DESTINATIONS.DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(9,9,"DIALOGS.REMOVE_DESTINATIONS.ASK")," "),s.Ab(2),s.kc("ngIf",!i.loading)}}var y=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.serviceManager=a,this.displayedColumns=[],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.destinations=this.data.destinations,this.displayedColumns="admin-theme"===this.theme?["destinationId","facility","destination","type","propagationType"]:["destinationId","service","destination","type","propagationType"],this.dataSource=new a.o(this.data.destinations)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"deleteDestinations",value:function(){var t=this;if(0===this.destinations.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_DESTINATIONS.SUCCESS")),void this.dialogRef.close(!0);var e=this.destinations.pop();this.serviceManager.removeDestination(e.service.id,e.facility.id,e.destination,e.type).subscribe((function(){t.deleteDestinations()}),(function(){return t.loading=!1}))}},{key:"onConfirm",value:function(){this.loading=!0,this.deleteDestinations()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(r.i),s.Mb(r.a),s.Mb(o.l),s.Mb(c.e),s.Mb(n.n))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-perun-web-apps-remove-destination-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",""],[3,"alert_type"],[1,"font-weight-bold"],[3,"destinations","displayedColumns",4,"ngIf"],[3,"destinations","displayedColumns"]],template:function(t,e){1&t&&(s.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"div"),s.Hc(4,p,1,0,"mat-spinner",1),s.Hc(5,v,11,11,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onConfirm()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,9,"DIALOGS.REMOVE_DESTINATIONS.TITLE")),s.Ab(2),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_DESTINATIONS.CANCEL"),""),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_DESTINATIONS.CONFIRM"),""))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,d.a,f.a],pipes:[c.d],styles:[""]}),t}()},"/vgl":function(t,e,i){"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,"a",(function(){return n}))},0:function(t,e,i){t.exports=i("zUnb")},"0N5F":function(t,e,i){"use strict";i.d(e,"a",(function(){return z}));var n=i("OZ4H"),r=i("TkCa"),a=i("X2Q7"),o=i("Ssnw"),s=i("EM62"),c=i("2kYt"),u=i("PBFl"),l=i("Y2X+"),h=i("csyo"),f=i("FcRk"),p=i("KZIX"),b=i("29Wa"),v=i("R7+U"),y=i("nIj0"),A=i("mFH5"),w=i("+Tre"),_=i("Cd2c"),S=i("VYu3"),k=i("s2Ay");function E(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",9),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Rb()),2&t&&(s.Ab(2),s.Kc(s.fc(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function C(t,e){1&t&&(s.Sb(0,"h1",9),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function R(t,e){1&t&&s.Nb(0,"mat-spinner",10)}function T(t,e){1&t&&(s.Sb(0,"div",34),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function I(t,e){1&t&&(s.Sb(0,"div",34),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function O(t,e){1&t&&(s.Sb(0,"mat-option",36),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function D(t,e){1&t&&(s.Sb(0,"div",34),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function M(t,e){1&t&&(s.Sb(0,"div",34),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function P(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",37),s.Sb(1,"div",38),s.Sb(2,"div",39),s.Sb(3,"span",40),s.Jc(4),s.ec(5,"translate"),s.Rb(),s.Sb(6,"mat-form-field",18),s.Sb(7,"input",41,42),s.Zb("focus",(function(){return s.xc(i),s.dc(2).isTextFocused=!1}))("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationMail.message.en.subject=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(9,"div",43),s.Jc(10),s.ec(11,"translate"),s.Rb(),s.Sb(12,"button",44),s.Zb("click",(function(){s.xc(i);var t=s.dc(2);return t.showTags=!t.showTags})),s.Jc(13),s.ec(14,"translate"),s.ec(15,"translate"),s.Rb(),s.Sb(16,"mat-form-field",18),s.Sb(17,"textarea",45,46),s.Zb("focus",(function(){return s.xc(i),s.dc(2).isTextFocused=!0}))("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationMail.message.en.text=t})),s.Jc(19," "),s.Rb(),s.Rb(),s.Rb(),s.Sb(20,"div"),s.Sb(21,"app-tag-bar",47),s.Zb("addedTag",(function(t){s.xc(i);var e=s.tc(8),n=s.tc(18);return s.dc(2).addTag(e,n,"en",t)})),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(4),s.Lc("",s.fc(5,6,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT")," :"),s.Ab(3),s.kc("ngModel",n.applicationMail.message.en.subject),s.Ab(3),s.Lc(" ",s.fc(11,8,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),s.Ab(3),s.Lc(" ",n.showTags?s.fc(14,10,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):s.fc(15,12,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),s.Ab(4),s.kc("ngModel",n.applicationMail.message.en.text),s.Ab(3),s.kc("@tagsOpenClose",n.showTags?"open":"closed")}}function x(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",37),s.Sb(1,"div",38),s.Sb(2,"div",39),s.Sb(3,"span",40),s.Jc(4),s.ec(5,"translate"),s.Rb(),s.Sb(6,"mat-form-field",18),s.Sb(7,"input",41,48),s.Zb("focus",(function(){return s.xc(i),s.dc(2).isTextFocused=!1}))("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationMail.message.cs.subject=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(9,"div",43),s.Jc(10),s.ec(11,"translate"),s.Rb(),s.Sb(12,"button",44),s.Zb("click",(function(){s.xc(i);var t=s.dc(2);return t.showTags=!t.showTags})),s.Jc(13),s.ec(14,"translate"),s.ec(15,"translate"),s.Rb(),s.Sb(16,"mat-form-field",18),s.Sb(17,"textarea",45,49),s.Zb("focus",(function(){return s.xc(i),s.dc(2).isTextFocused=!0}))("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationMail.message.cs.text=t})),s.Jc(19," "),s.Rb(),s.Rb(),s.Rb(),s.Sb(20,"div"),s.Sb(21,"app-tag-bar",47),s.Zb("addedTag",(function(t){s.xc(i);var e=s.tc(8),n=s.tc(18);return s.dc(2).addTag(e,n,"cs",t)})),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(4),s.Lc("",s.fc(5,6,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT")," :"),s.Ab(3),s.kc("ngModel",n.applicationMail.message.cs.subject),s.Ab(3),s.Lc(" ",s.fc(11,8,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),s.Ab(3),s.Lc(" ",n.showTags?s.fc(14,10,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):s.fc(15,12,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),s.Ab(4),s.kc("ngModel",n.applicationMail.message.cs.text),s.Ab(3),s.kc("@tagsOpenClose",n.showTags?"open":"closed")}}function N(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",11),s.Sb(1,"div"),s.Sb(2,"app-alert",12),s.Jc(3),s.ec(4,"translate"),s.Rb(),s.Rb(),s.Sb(5,"mat-tab-group",13),s.Sb(6,"mat-tab",14),s.ec(7,"translate"),s.Sb(8,"div",15),s.Sb(9,"span",16),s.Jc(10),s.ec(11,"translate"),s.Rb(),s.Sb(12,"div",17),s.Sb(13,"mat-form-field",18),s.Sb(14,"mat-select",19),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().applicationMail.mailType=t}))("selectionChange",(function(){return s.xc(i),s.dc().notificationExist()})),s.Sb(15,"mat-option",20),s.Jc(16),s.ec(17,"translate"),s.Rb(),s.Sb(18,"mat-option",21),s.Jc(19),s.ec(20,"translate"),s.Rb(),s.Sb(21,"mat-option",22),s.Jc(22),s.ec(23,"translate"),s.Rb(),s.Sb(24,"mat-option",23),s.Jc(25),s.ec(26,"translate"),s.Rb(),s.Sb(27,"mat-option",24),s.Jc(28),s.ec(29,"translate"),s.Rb(),s.Sb(30,"mat-option",25),s.Jc(31),s.ec(32,"translate"),s.Rb(),s.Sb(33,"mat-option",26),s.Jc(34),s.ec(35,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Rb(),s.Rb(),s.Sb(36,"div",27),s.Nb(37,"span",28),s.Hc(38,T,3,3,"div",29),s.Hc(39,I,3,3,"div",29),s.Rb(),s.Sb(40,"div",15),s.Sb(41,"span",30),s.Jc(42),s.ec(43,"translate"),s.Rb(),s.Sb(44,"div",17),s.Sb(45,"mat-form-field",18),s.Sb(46,"mat-select",19),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().applicationMail.appType=t}))("selectionChange",(function(){return s.xc(i),s.dc().notificationExist()})),s.Sb(47,"mat-option",31),s.Jc(48),s.ec(49,"translate"),s.Rb(),s.Hc(50,O,3,3,"mat-option",32),s.Rb(),s.Rb(),s.Rb(),s.Rb(),s.Sb(51,"div",27),s.Nb(52,"span",28),s.Hc(53,D,3,3,"div",29),s.Hc(54,M,3,3,"div",29),s.Rb(),s.Sb(55,"div",15),s.Sb(56,"span",30),s.Jc(57),s.ec(58,"translate"),s.Rb(),s.Sb(59,"div",17),s.Sb(60,"mat-checkbox",33),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().applicationMail.send=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(61,"div",27),s.Nb(62,"span",28),s.Sb(63,"div",34),s.Jc(64),s.ec(65,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Sb(66,"mat-tab",14),s.ec(67,"translate"),s.Hc(68,P,22,14,"ng-template",35),s.Rb(),s.Sb(69,"mat-tab",14),s.ec(70,"translate"),s.Hc(71,x,22,14,"ng-template",35),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(1),s.kc("@openClose",n.invalidNotification?"open":"closed"),s.Ab(2),s.Kc(s.fc(4,27,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),s.Ab(3),s.lc("label",s.fc(7,29,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),s.Ab(4),s.Lc("",s.fc(11,31,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),s.Ab(4),s.kc("ngModel",n.applicationMail.mailType)("disabled",!n.data.createMailNotification),s.Ab(2),s.Lc(" ",s.fc(17,33,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),s.Ab(3),s.Lc(" ",s.fc(20,35,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),s.Ab(3),s.Lc(" ",s.fc(23,37,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),s.Ab(3),s.Lc(" ",s.fc(26,39,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),s.Ab(3),s.Lc(" ",s.fc(29,41,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),s.Ab(3),s.Lc(" ",s.fc(32,43,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),s.Ab(3),s.Lc(" ",s.fc(35,45,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),s.Ab(4),s.kc("ngIf",!n.data.createMailNotification),s.Ab(1),s.kc("ngIf",n.data.createMailNotification),s.Ab(3),s.Lc("",s.fc(43,47,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),s.Ab(4),s.kc("ngModel",n.applicationMail.appType)("disabled",!n.data.createMailNotification),s.Ab(2),s.Lc(" ",s.fc(49,49,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),s.Ab(2),s.kc("ngIf","USER_INVITE"!==n.applicationMail.mailType),s.Ab(3),s.kc("ngIf",!n.data.createMailNotification),s.Ab(1),s.kc("ngIf",n.data.createMailNotification),s.Ab(3),s.Lc("",s.fc(58,51,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),s.Ab(3),s.kc("ngModel",n.applicationMail.send),s.Ab(4),s.Lc(" ",s.fc(65,53,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),s.Ab(2),s.lc("label",s.fc(67,55,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_EN")),s.Ab(3),s.lc("label",s.fc(70,57,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_CS"))}}function L(t,e){if(1&t){var i=s.Tb();s.Sb(0,"button",50),s.Zb("click",(function(){return s.xc(i),s.dc().create()})),s.Jc(1),s.ec(2,"translate"),s.Rb()}if(2&t){var n=s.dc();s.kc("disabled",n.invalidNotification||n.loading),s.Ab(1),s.Lc(" ",s.fc(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function F(t,e){if(1&t){var i=s.Tb();s.Sb(0,"button",50),s.Zb("click",(function(){return s.xc(i),s.dc().save()})),s.Jc(1),s.ec(2,"translate"),s.Rb()}if(2&t){var n=s.dc();s.kc("disabled",n.loading||!n.editAuth),s.Ab(1),s.Lc(" ",s.fc(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}var z=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.registrarService=i,this.data=n,this.authResolver=r,this.groupsService=a,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.language="en",this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){var t=this;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,n){var r,a=(r=this.isTextFocused?e:t).selectionStart;this.isTextFocused?this.applicationMail.message[i].text=this.applicationMail.message[i].text.substring(0,a)+n+this.applicationMail.message[i].text.substring(a):this.applicationMail.message[i].subject=this.applicationMail.message[i].subject.substring(0,a)+n+this.applicationMail.message[i].subject.substring(a),r.focus()}},{key:"notificationExist",value:function(){var t,e=d(this.data.applicationMails);try{for(e.s();!(t=e.n()).done;){var i=t.value;if(i.mailType===this.applicationMail.mailType&&i.appType===this.applicationMail.appType)return void(this.invalidNotification=!0)}}catch(n){e.e(n)}finally{e.f()}this.invalidNotification=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(a.l),s.Mb(n.a),s.Mb(o.h),s.Mb(a.h))},t.\u0275cmp=s.Gb({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"],["matTabContent",""],["value","EXTENSION"],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["enInput",""],[1,"font-weight-bold"],["mat-flat-button","",3,"click"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["enTextarea",""],[3,"addedTag"],["csInput",""],["csTextarea",""],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){if(1&t&&(s.Sb(0,"div"),s.Sb(1,"div",0),s.Hc(2,E,4,3,"div",1),s.Hc(3,C,3,3,"ng-template",null,2,s.Ic),s.Hc(5,R,1,0,"mat-spinner",3),s.Hc(6,N,72,59,"div",4),s.Sb(7,"div",5),s.Sb(8,"button",6),s.Zb("click",(function(){return e.cancel()})),s.Jc(9),s.ec(10,"translate"),s.Rb(),s.Hc(11,L,3,4,"button",7),s.Sb(12,"div",8),s.ec(13,"translate"),s.Hc(14,F,3,4,"button",7),s.Rb(),s.Rb(),s.Rb(),s.Rb()),2&t){var i=s.tc(4);s.Db("",e.theme," h-100"),s.Ab(2),s.kc("ngIf",e.data.createMailNotification)("ngIfElse",i),s.Ab(3),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),s.Ab(2),s.kc("ngIf",e.data.createMailNotification),s.Ab(1),s.lc("matTooltip",s.fc(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),s.kc("matTooltipPosition","above")("matTooltipDisabled",e.editAuth),s.Ab(2),s.kc("ngIf",!e.data.createMailNotification)}},directives:[c.t,n.c,u.b,l.a,n.j,h.c,n.g,f.a,p.c,p.a,b.c,v.a,y.r,y.u,A.n,w.a,p.b,_.b,y.c,S.a],pipes:[k.d],styles:[""],data:{animation:[r.h,r.c]}}),t}()},"0XDM":function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),r=i("PBFl"),a=i("Y2X+"),o=i("bFHC"),s=i("s2Ay"),c=function(){var t=function(){function t(){g(this,t),this.refresh=new n.o}return m(t,[{key:"onClickbutton",value:function(t){this.refresh.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"button",0),n.Zb("click",(function(t){return e.onClickbutton(t)})),n.ec(1,"translate"),n.Nb(2,"mat-icon",1),n.Rb()),2&t&&(n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),n.kc("disabled",e.disabled),n.Ab(2),n.lc("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[r.b,a.a,o.a],pipes:[s.d],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}()},"1Gb8":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),r=i("s2Ay"),a=function(){var t=function(){function t(e){g(this,t),this.translateService=e,this.returnData=""}return m(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)(n.Mb(r.e))},t.\u0275pipe=n.Lb({name:"applicationFormWidgetDescription",type:t,pure:!0}),t}()},"1MAX":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("dUuy"),r=i("i9P/"),a=i("sWLk"),o=i("qEfY"),s=i("eY+9"),c=i("/vgl"),u=i("X0qr"),l=function(t){if(t&&"function"==typeof t[o.a])return l=t,function(t){var e=l[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(n.a)(t);if(Object(c.a)(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.a),t};if(t&&"function"==typeof t[a.a])return e=t,function(t){for(var i=e[a.a]();;){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=Object(u.a)(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."))}},"22FB":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62"),r=i("8clQ"),a=i("LAw4"),o=i("s2Ay"),s=function(){var t=function t(){g(this,t),this.memberSelected=new n.o,this.memberFullNameFunction=function(t){return Object(r.w)(t.user)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.memberSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.members)("searchFunction",e.memberFullNameFunction)("mainTextFunction",e.memberFullNameFunction)("selectPlaceholder",n.fc(1,6,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.SELECT_MEMBER"))("findPlaceholder",n.fc(2,8,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.FIND_MEMBER"))("noEntriesText",n.fc(3,10,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.NO_MEMBER_FOUND"))},directives:[a.a],pipes:[o.d],styles:[""]}),t}()},"23RZ":function(t,e,i){"use strict";i.d(e,"a",(function(){return U}));var n=i("EM62"),r=i("iAde"),a=i("cePI"),o=i("FlRo"),s=i("cqs0"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("Ds80"),p=i("sEIs"),b=i("TQS+"),v=i("FcRk"),y=i("s2Ay"),A=i("dhrr"),w=i("aea8");function _(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function S(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",24),n.Sb(1,"mat-checkbox",25),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.itemSelectionToggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function k(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function E(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function C(t,e){1&t&&n.Nb(0,"th",22)}function R(t,e){if(1&t&&(n.Sb(0,"td",27),n.Nb(1,"perun-web-apps-recently-viewed-icon",28),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.kc("recentIds",r.recentIds)("id",i.id)}}function T(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function I(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.name)}}function O(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function D(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.vo.name)}}function M(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function P(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.facility.name)}}function x(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function N(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.ec(2,"resourceTagsToString"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.resourceTags))}}function L(t,e){1&t&&(n.Sb(0,"th",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function F(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.description)}}function z(t,e){1&t&&n.Nb(0,"tr",29)}var H=function(t){return[t]};function B(t,e){if(1&t&&(n.Nb(0,"tr",30),n.ec(1,"getResourceRoute"),n.ec(2,"getResourceRoute")),2&t){var i=e.$implicit,r=n.dc();n.Eb("cursor-pointer",!r.disableRouting)("disable-outline",r.disableRouting),n.kc("routerLink",r.disableRouting?null:n.gc(1,6,i,r.routingVo))("perunWebAppsMiddleClickRouterLink",n.pc(12,H,r.disableRouting?null:n.gc(2,9,i,r.routingVo)))}}function j(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function G(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}var U=function(){var t=function(){function t(e,i){g(this,t),this.guiAuthResolver=e,this.tableCheckbox=i,this.resources=[],this.selection=new s.c(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","facility","tags","description"],this.pageSizeOptions=c.a,this.page=new n.o,this.allSelected=new n.o,this.removeAuth=!1,this.addAuth=!1}return m(t,[{key:"ngOnChanges",value:function(t){this.guiAuthResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new o.o(this.resources),this.setDataSource(),this.dataSource.filter=this.filterValue,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;default:return t[e]}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(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 Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){var t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.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.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:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{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()}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds"},outputs:{page:"page",allSelected:"allSelected"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,_,2,3,"th",6),n.Hc(7,S,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,k,3,3,"th",9),n.Hc(10,E,2,1,"td",10),n.Pb(),n.Qb(11,11),n.Hc(12,C,1,0,"th",6),n.Hc(13,R,2,2,"td",12),n.Pb(),n.Qb(14,13),n.Hc(15,T,3,3,"th",9),n.Hc(16,I,2,1,"td",12),n.Pb(),n.Qb(17,14),n.Hc(18,O,3,3,"th",9),n.Hc(19,D,2,1,"td",12),n.Pb(),n.Qb(20,15),n.Hc(21,M,3,3,"th",9),n.Hc(22,P,2,1,"td",12),n.Pb(),n.Qb(23,16),n.Hc(24,x,3,3,"th",9),n.Hc(25,N,3,3,"td",12),n.Pb(),n.Qb(26,17),n.Hc(27,L,3,3,"th",9),n.Hc(28,F,2,1,"td",12),n.Pb(),n.Hc(29,z,1,0,"tr",18),n.Hc(30,B,3,14,"tr",19),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",20),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,j,3,3,"app-alert",21),n.Hc(33,G,3,3,"app-alert",21)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.resources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),n.Ab(1),n.kc("ngIf",0===e.resources.length))},directives:[l.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,h.t,o.h,d.a,o.a,a.b,f.a,o.j,o.l,p.g,b.c,v.a],pipes:[y.d,A.a,w.a],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}()},"25CY":function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"29Wa":function(t,e,i){"use strict";i.d(e,"a",(function(){return tt})),i.d(e,"b",(function(){return j})),i.d(e,"c",(function(){return et})),i.d(e,"d",(function(){return U})),i.d(e,"e",(function(){return it})),i.d(e,"f",(function(){return q})),i.d(e,"g",(function(){return J})),i.d(e,"h",(function(){return W})),i.d(e,"i",(function(){return Z})),i.d(e,"j",(function(){return Y}));var n=i("TKFd"),r=i("2kYt"),o=i("EM62"),c=i("mFH5"),u=i("5XID"),l=i("ZTXN"),h=i("g6G6"),f=i("KTx3"),p=i("jIqt"),b=i("kuMc"),v=i("J+dc"),y=i("f7+R"),A=i("5lCh"),w=i("E5oP"),_=i("cZZj"),S=["underline"],k=["connectionContainer"],E=["inputContainer"],C=["label"];function R(t,e){1&t&&(o.Qb(0),o.Sb(1,"div",14),o.Nb(2,"div",15),o.Nb(3,"div",16),o.Nb(4,"div",17),o.Rb(),o.Sb(5,"div",18),o.Nb(6,"div",15),o.Nb(7,"div",16),o.Nb(8,"div",17),o.Rb(),o.Pb())}function T(t,e){1&t&&(o.Sb(0,"div",19),o.ic(1,1),o.Rb())}function I(t,e){if(1&t&&(o.Qb(0),o.ic(1,2),o.Sb(2,"span"),o.Jc(3),o.Rb(),o.Pb()),2&t){var i=o.dc(2);o.Ab(3),o.Kc(i._control.placeholder)}}function O(t,e){1&t&&o.ic(0,3,["*ngSwitchCase","true"])}function D(t,e){1&t&&(o.Sb(0,"span",23),o.Jc(1," *"),o.Rb())}function M(t,e){if(1&t){var i=o.Tb();o.Sb(0,"label",20,21),o.Zb("cdkObserveContent",(function(){return o.xc(i),o.dc().updateOutlineGap()})),o.Hc(2,I,4,1,"ng-container",12),o.Hc(3,O,1,0,"ng-content",12),o.Hc(4,D,2,0,"span",22),o.Rb()}if(2&t){var n=o.dc();o.Eb("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.kc("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),o.Bb("for",n._control.id)("aria-owns",n._control.id),o.Ab(2),o.kc("ngSwitchCase",!1),o.Ab(1),o.kc("ngSwitchCase",!0),o.Ab(1),o.kc("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function P(t,e){1&t&&(o.Sb(0,"div",24),o.ic(1,4),o.Rb())}function x(t,e){if(1&t&&(o.Sb(0,"div",25,26),o.Nb(2,"span",27),o.Rb()),2&t){var i=o.dc();o.Ab(2),o.Eb("mat-accent","accent"==i.color)("mat-warn","warn"==i.color)}}function N(t,e){if(1&t&&(o.Sb(0,"div"),o.ic(1,5),o.Rb()),2&t){var i=o.dc();o.kc("@transitionMessages",i._subscriptAnimationState)}}function L(t,e){if(1&t&&(o.Sb(0,"div",31),o.Jc(1),o.Rb()),2&t){var i=o.dc(2);o.kc("id",i._hintLabelId),o.Ab(1),o.Kc(i.hintLabel)}}function F(t,e){if(1&t&&(o.Sb(0,"div",28),o.Hc(1,L,2,2,"div",29),o.ic(2,6),o.Nb(3,"div",30),o.ic(4,7),o.Rb()),2&t){var i=o.dc();o.kc("@transitionMessages",i._subscriptAnimationState),o.Ab(1),o.kc("ngIf",i.hintLabel)}}var z=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],H=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],B=0,j=function(){var t=function t(){g(this,t),this.id="mat-error-"+B++};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&o.Bb("id",e.id)},inputs:{id:"id"}}),t}(),G={transitionMessages:Object(y.n)("transitionMessages",[Object(y.k)("enter",Object(y.l)({opacity:1,transform:"translateY(0%)"})),Object(y.m)("void => enter",[Object(y.l)({opacity:0,transform:"translateY(-100%)"}),Object(y.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},U=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t}),t}();function K(t){return Error("A hint was already declared for 'align=\"".concat(t,"\"'."))}var V=0,q=function(){var t=function t(){g(this,t),this.align="start",this.id="mat-hint-"+V++};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(o.Bb("id",e.id)("align",null),o.Eb("mat-right","end"==e.align))},inputs:{align:"align",id:"id"}}),t}(),J=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-label"]]}),t}(),W=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["mat-placeholder"]]}),t}(),Z=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matPrefix",""]]}),t}(),Y=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","matSuffix",""]]}),t}(),X=0,Q=Object(c.y)((function t(e){g(this,t),this._elementRef=e}),"primary"),$=new o.r("MAT_FORM_FIELD_DEFAULT_OPTIONS"),tt=new o.r("MatFormField"),et=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,c,u){var h;return g(this,i),(h=e.call(this,t))._elementRef=t,h._changeDetectorRef=n,h._dir=a,h._defaults=o,h._platform=s,h._ngZone=c,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new l.a,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+X++,h._labelId="mat-form-field-label-"+X++,h._labelOptions=r||{},h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==u,h.appearance=o&&o.appearance?o.appearance:"legacy",h._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,h}return m(i,[{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-"+e.controlType),e.stateChanges.pipe(Object(p.a)(null)).subscribe((function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(b.a)(this._destroyed)).subscribe((function(){return t._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(Object(b.a)(t._destroyed)).subscribe((function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}))})),Object(h.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Object(p.a)(null)).subscribe((function(){t._processHints(),t._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Object(p.a)(null)).subscribe((function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Object(b.a)(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._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(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,Object(f.a)(this._label.nativeElement,"transitionend").pipe(Object(v.a)(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var t,e,i=this;this._hintChildren&&this._hintChildren.forEach((function(n){if("start"===n.align){if(t||i.hintLabel)throw K("start");t=n}else if("end"===n.align){if(e)throw K("end");e=n}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if("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=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{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"),a=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=n.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var s,c=this._getStartEnd(o),u=this._getStartEnd(t.children[0].getBoundingClientRect()),l=0,h=d(t.children);try{for(h.s();!(s=h.n()).done;){l+=s.value.offsetWidth}}catch(g){h.e(g)}finally{h.f()}e=Math.abs(u-c)-5,i=l>0?.75*l+10:0}for(var f=0;f0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+k(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+k(n));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,i,n){var r=this.prepareExternalUrl(i+k(n));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),i}(E);return t.\u0275fac=function(e){return new(e||t)(n.Wb(p),n.Wb(R,8))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t}(),I=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this))._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return m(i,[{key:"onPopState",value:function(t){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=_(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,i,n){var r=this.prepareExternalUrl(i+k(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+k(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()}}]),i}(E);return t.\u0275fac=function(e){return new(e||t)(n.Wb(p),n.Wb(R,8))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t}(),O=function(){var t=function(){function t(e,i){var r=this;g(this,t),this._subject=new n.o,this._urlChangeListeners=[],this._platformStrategy=e;var a=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=S(M(a)),this._platformStrategy.onPopState((function(t){r._subject.emit({url:r.path(!0),pop:!0,state:t.state,type:t.type})}))}return m(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+k(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,M(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+k(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+k(e)),i)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{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.Wb(E),n.Wb(p))},t.normalizeQueryParams=k,t.joinWithSlash=_,t.stripTrailingSlash=S,t.\u0275prov=Object(n.Ib)({factory:D,token:t,providedIn:"root"}),t}();function D(){return new O(Object(n.Wb)(E),Object(n.Wb)(p))}function M(t){return t.replace(/\/index.html$/,"")}var P={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},x=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),N=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}({}),L=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),F=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),z=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),H=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 B(t,e){return J(Object(n.kb)(t)[n.bb.DateFormat],e)}function j(t,e){return J(Object(n.kb)(t)[n.bb.TimeFormat],e)}function G(t,e){return J(Object(n.kb)(t)[n.bb.DateTimeFormat],e)}function U(t,e){var i=Object(n.kb)(t),r=i[n.bb.NumberSymbols][e];if(void 0===r){if(e===H.CurrencyDecimal)return i[n.bb.NumberSymbols][H.Decimal];if(e===H.CurrencyGroup)return i[n.bb.NumberSymbols][H.Group]}return r}function K(t,e){return Object(n.kb)(t)[n.bb.NumberFormats][e]}var V=n.nb;function q(t){if(!t[n.bb.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[n.bb.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 W(t){var e=r(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var Z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},X=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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]*)/,Q=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),$=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}({}),tt=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 et(t,e,i,a){var o=function(t){if(lt(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,i=parseFloat(t);if(!isNaN(t-i))return new Date(i);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var n=r(t.split("-").map((function(t){return+t})),3),a=n[0],o=n[1],s=n[2];return new Date(a,o-1,s)}if(e=t.match(Z))return function(t){var e=new Date(0),i=0,n=0,r=t[8]?e.setUTCFullYear:e.setFullYear,a=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 o=Number(t[4]||0)-i,s=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,c,u),e}(e)}var c=new Date(t);if(!lt(c))throw new Error('Unable to convert "'.concat(t,'" into a date'));return c}(t);e=function t(e,i){var r=function(t){return Object(n.kb)(t)[n.bb.LocaleId]}(e);if(Y[r]=Y[r]||{},Y[r][i])return Y[r][i];var a="";switch(i){case"shortDate":a=B(e,z.Short);break;case"mediumDate":a=B(e,z.Medium);break;case"longDate":a=B(e,z.Long);break;case"fullDate":a=B(e,z.Full);break;case"shortTime":a=j(e,z.Short);break;case"mediumTime":a=j(e,z.Medium);break;case"longTime":a=j(e,z.Long);break;case"fullTime":a=j(e,z.Full);break;case"short":var o=t(e,"shortTime"),s=t(e,"shortDate");a=it(G(e,z.Short),[o,s]);break;case"medium":var c=t(e,"mediumTime"),u=t(e,"mediumDate");a=it(G(e,z.Medium),[c,u]);break;case"long":var l=t(e,"longTime"),h=t(e,"longDate");a=it(G(e,z.Long),[l,h]);break;case"full":var d=t(e,"fullTime"),f=t(e,"fullDate");a=it(G(e,z.Full),[d,f])}return a&&(Y[r][i]=a),a}(i,e)||e;for(var s,c=[];e;){if(!(s=X.exec(e))){c.push(e);break}var u=(c=c.concat(s.slice(1))).pop();if(!u)break;e=u}var l=o.getTimezoneOffset();a&&(l=ut(a,l),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*(ut(e,n)-n))}(o,a));var h="";return c.forEach((function(t){var e=function(t){if(ct[t])return ct[t];var e;switch(t){case"G":case"GG":case"GGG":e=at(tt.Eras,F.Abbreviated);break;case"GGGG":e=at(tt.Eras,F.Wide);break;case"GGGGG":e=at(tt.Eras,F.Narrow);break;case"y":e=rt($.FullYear,1,0,!1,!0);break;case"yy":e=rt($.FullYear,2,0,!0,!0);break;case"yyy":e=rt($.FullYear,3,0,!1,!0);break;case"yyyy":e=rt($.FullYear,4,0,!1,!0);break;case"M":case"L":e=rt($.Month,1,1);break;case"MM":case"LL":e=rt($.Month,2,1);break;case"MMM":e=at(tt.Months,F.Abbreviated);break;case"MMMM":e=at(tt.Months,F.Wide);break;case"MMMMM":e=at(tt.Months,F.Narrow);break;case"LLL":e=at(tt.Months,F.Abbreviated,L.Standalone);break;case"LLLL":e=at(tt.Months,F.Wide,L.Standalone);break;case"LLLLL":e=at(tt.Months,F.Narrow,L.Standalone);break;case"w":e=st(1);break;case"ww":e=st(2);break;case"W":e=st(1,!0);break;case"d":e=rt($.Date,1);break;case"dd":e=rt($.Date,2);break;case"E":case"EE":case"EEE":e=at(tt.Days,F.Abbreviated);break;case"EEEE":e=at(tt.Days,F.Wide);break;case"EEEEE":e=at(tt.Days,F.Narrow);break;case"EEEEEE":e=at(tt.Days,F.Short);break;case"a":case"aa":case"aaa":e=at(tt.DayPeriods,F.Abbreviated);break;case"aaaa":e=at(tt.DayPeriods,F.Wide);break;case"aaaaa":e=at(tt.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":e=at(tt.DayPeriods,F.Abbreviated,L.Standalone,!0);break;case"bbbb":e=at(tt.DayPeriods,F.Wide,L.Standalone,!0);break;case"bbbbb":e=at(tt.DayPeriods,F.Narrow,L.Standalone,!0);break;case"B":case"BB":case"BBB":e=at(tt.DayPeriods,F.Abbreviated,L.Format,!0);break;case"BBBB":e=at(tt.DayPeriods,F.Wide,L.Format,!0);break;case"BBBBB":e=at(tt.DayPeriods,F.Narrow,L.Format,!0);break;case"h":e=rt($.Hours,1,-12);break;case"hh":e=rt($.Hours,2,-12);break;case"H":e=rt($.Hours,1);break;case"HH":e=rt($.Hours,2);break;case"m":e=rt($.Minutes,1);break;case"mm":e=rt($.Minutes,2);break;case"s":e=rt($.Seconds,1);break;case"ss":e=rt($.Seconds,2);break;case"S":e=rt($.FractionalSeconds,1);break;case"SS":e=rt($.FractionalSeconds,2);break;case"SSS":e=rt($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=ot(Q.Short);break;case"ZZZZZ":e=ot(Q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ot(Q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=ot(Q.Long);break;default:return null}return ct[t]=e,e}(t);h+=e?e(o,i,l):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),h}function it(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,i){return null!=e&&i in e?e[i]:t}))),t}function nt(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,a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=i));for(var o=String(t);o.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(a,o){var s,c=function(t,e){switch(t){case $.FullYear:return e.getFullYear();case $.Month:return e.getMonth();case $.Date:return e.getDate();case $.Hours:return e.getHours();case $.Minutes:return e.getMinutes();case $.Seconds:return e.getSeconds();case $.FractionalSeconds:return e.getMilliseconds();case $.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}(t,a);if((i>0||c>-i)&&(c+=i),t===$.Hours)0===c&&-12===i&&(c=12);else if(t===$.FractionalSeconds)return s=e,nt(c,3).substr(0,s);var u=U(o,H.MinusSign);return nt(c,e,u,n,r)}}function at(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L.Format,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,s){return function(t,e,i,a,o,s){switch(i){case tt.Months:return function(t,e,i){var r=Object(n.kb)(t),a=J([r[n.bb.MonthsFormat],r[n.bb.MonthsStandalone]],e);return J(a,i)}(e,o,a)[t.getMonth()];case tt.Days:return function(t,e,i){var r=Object(n.kb)(t),a=J([r[n.bb.DaysFormat],r[n.bb.DaysStandalone]],e);return J(a,i)}(e,o,a)[t.getDay()];case tt.DayPeriods:var c=t.getHours(),u=t.getMinutes();if(s){var l=function(t){var e=Object(n.kb)(t);return q(e),(e[n.bb.ExtraData][2]||[]).map((function(t){return"string"==typeof t?W(t):[W(t[0]),W(t[1])]}))}(e),h=function(t,e,i){var r=Object(n.kb)(t);q(r);var a=J([r[n.bb.ExtraData][0],r[n.bb.ExtraData][1]],e)||[];return J(a,i)||[]}(e,o,a),d=l.findIndex((function(t){if(Array.isArray(t)){var e=r(t,2),i=e[0],n=e[1],a=c>=i.hours&&u>=i.minutes,o=c0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Q.Short:return(r>=0?"+":"")+nt(o,2,a)+nt(Math.abs(r%60),2,a);case Q.ShortGMT:return"GMT"+(r>=0?"+":"")+nt(o,1,a);case Q.Long:return"GMT"+(r>=0?"+":"")+nt(o,2,a)+":"+nt(Math.abs(r%60),2,a);case Q.Extended:return 0===n?"Z":(r>=0?"+":"")+nt(o,2,a)+":"+nt(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function st(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,n){var r,a,o,s;if(e){var c=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,u=i.getDate();r=1+Math.floor((u+c)/7)}else{var l=(s=i,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),h=(a=l.getFullYear(),o=new Date(a,0,1).getDay(),new Date(a,0,1+(o<=4?4:11)-o)),d=l.getTime()-h.getTime();r=1+Math.round(d/6048e5)}return nt(r,t,U(n,H.MinusSign))}}var ct={};function ut(t,e){t=t.replace(/:/g,"");var i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function lt(t){return t instanceof Date&&!isNaN(t.valueOf())}var ht=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function dt(t,e,i,n,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",c=!1;if(isFinite(t)){var u=function(t){var e,i,n,r,a,o=Math.abs(t)+"",s=0;for((i=o.indexOf("."))>-1&&(o=o.replace(".","")),(n=o.search(/e/i))>0?(i<0&&(i=n),i+=+o.slice(n+1),o=o.substring(0,n)):i<0&&(i=o.length),n=0;"0"===o.charAt(n);n++);if(n===(a=o.length))e=[0],i=1;else{for(a--;"0"===o.charAt(a);)a--;for(i-=n,e=[],r=0;n<=a;n++,r++)e[r]=Number(o.charAt(n))}return i>22&&(e=e.splice(0,21),s=i-1,i=1),{digits:e,exponent:s,integerLen:i}}(t);o&&(u=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(u));var l=e.minInt,h=e.minFrac,d=e.maxFrac;if(a){var f=a.match(ht);if(null===f)throw new Error(a+" is not a valid digit info");var p=f[1],g=f[3],b=f[5];null!=p&&(l=pt(p)),null!=g&&(h=pt(g)),null!=b?d=pt(b):null!=g&&h>d&&(d=h)}!function(t,e,i){if(e>i)throw new Error("The minimum number of digits after fraction (".concat(e,") is higher than the maximum (").concat(i,")."));var n=t.digits,r=n.length-t.integerLen,a=Math.min(Math.max(e,r),i),o=a+t.integerLen,s=n[o];if(o>0){n.splice(Math.max(t.integerLen,o));for(var c=o;c=5)if(o-1<0){for(var l=0;l>o;l--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[o-1]++;for(;r=d?n.pop():h=!1),e>=10?1:0}),0);f&&(n.unshift(f),t.integerLen++)}(u,h,d);var m=u.digits,v=u.integerLen,y=u.exponent,A=[];for(c=m.every((function(t){return!t}));v0?A=m.splice(v,m.length):(A=m,m=[0]);var w=[];for(m.length>=e.lgSize&&w.unshift(m.splice(-e.lgSize,m.length).join(""));m.length>e.gSize;)w.unshift(m.splice(-e.gSize,m.length).join(""));m.length&&w.unshift(m.join("")),s=w.join(U(i,n)),A.length&&(s+=U(i,r)+A.join("")),y&&(s+=U(i,H.Exponential)+"+"+y)}else s=U(i,H.Infinity);return s=t<0&&!c?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}function ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(";"),r=n[0],a=n[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=o[0],c=o[1]||"";i.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u-1)return r;if(r=i.getPluralCategory(t,n),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(t,'"'))}var mt=function(){var t=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this)).locale=t,n}return m(i,[{key:"getPluralCategory",value:function(t,e){switch(V(e||this.locale)(t)){case N.Zero:return"zero";case N.One:return"one";case N.Two:return"two";case N.Few:return"few";case N.Many:return"many";default:return"other"}}}]),i}(gt);return t.\u0275fac=function(e){return new(e||t)(n.Wb(n.v))},t.\u0275prov=n.Ib({token:t,factory:t.\u0275fac}),t}();function vt(t,e){e=encodeURIComponent(e);var i,n=d(t.split(";"));try{for(n.s();!(i=n.n()).done;){var a=i.value,o=a.indexOf("="),s=r(-1==o?[a,""]:[a.slice(0,o),a.slice(o+1)],2),c=s[0],u=s[1];if(c.trim()===e)return decodeURIComponent(u)}}catch(l){n.e(l)}finally{n.f()}return null}var yt=function(){var t=function(){function t(e,i,n,r){g(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 m(t,[{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 "+Object(n.vb)(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)}))}},{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&&(Object(n.qb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.t),n.Mb(n.u),n.Mb(n.l),n.Mb(n.F))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),At=function(){var t=function(){function t(e){g(this,t),this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return m(t,[{key:"ngOnChanges",value:function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var i=e.get(n.y);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(i.injector)}else this._moduleRef=null;var r=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(n.j)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(r,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.Q))},t.\u0275dir=n.Hb({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.yb]}),t}(),wt=function(){function t(e,i,n,r){g(this,t),this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}return m(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}(),_t=function(){var t=function(){function t(e,i,n){g(this,t),this._viewContainer=e,this._template=i,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return m(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 a=e._viewContainer.createEmbeddedView(e._template,new wt(null,e._ngForOf,-1,-1),null===r?void 0:r),o=new St(t,a);i.push(o)}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 c=new St(t,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==e||""===e||e!=e)return null;try{return et(e,i,r||this.locale,n)}catch(a){throw Nt(t,a.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.v))},t.\u0275pipe=n.Lb({name:"date",type:t,pure:!0}),t}(),Vt=/#/g,qt=function(){var t=function(){function t(e){g(this,t),this._localization=e}return m(t,[{key:"transform",value:function(e,i,n){if(null==e)return"";if("object"!=typeof i||null===i)throw Nt(t,i);return i[bt(e,Object.keys(i),this._localization,n)].replace(Vt,e.toString())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(gt))},t.\u0275pipe=n.Lb({name:"i18nPlural",type:t,pure:!0}),t}(),Jt=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(e,i){if(null==e)return"";if("object"!=typeof i||"string"!=typeof e)throw Nt(t,i);return i.hasOwnProperty(e)?i[e]:i.hasOwnProperty("other")?i.other:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"i18nSelect",type:t,pure:!0}),t}(),Wt=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t){return JSON.stringify(t,null,2)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"json",type:t,pure:!1}),t}(),Zt=function(){var t=function(){function t(e){g(this,t),this.differs=e,this.keyValues=[]}return m(t,[{key:"transform",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Yt;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem((function(t){e.keyValues.push({key:t.key,value:t.currentValue})})),this.keyValues.sort(i)),this.keyValues}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.u))},t.\u0275pipe=n.Lb({name:"keyvalue",type:t,pure:!1}),t}();function Yt(t,e){var i=t.key,n=e.key;if(i===n)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(null===i)return 1;if(null===n)return-1;if("string"==typeof i&&"string"==typeof n)return i1&&void 0!==arguments[1]?arguments[1]:"USD";g(this,t),this._locale=e,this._defaultCurrencyCode=i}return m(t,[{key:"transform",value:function(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(te(e))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var s=i||this._defaultCurrencyCode;"code"!==r&&(s="symbol"===r||"symbol-narrow"===r?function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",r=function(t){return Object(n.kb)(t)[n.bb.Currencies]}(i)[t]||P[t]||[],a=r[1];return"narrow"===e&&"string"==typeof a?a:r[0]||t}(s,"symbol"===r?"wide":"narrow",o):r);try{return function(t,e,i,n,r){var a=ft(K(e,x.Currency),U(e,H.MinusSign));return a.minFrac=function(t){var e,i=P[t];return i&&(e=i[2]),"number"==typeof e?e:2}(n),a.maxFrac=a.minFrac,dt(t,a,e,H.CurrencyGroup,H.CurrencyDecimal,r).replace("\xa4",i).replace("\xa4","").trim()}(ee(e),o,s,i,a)}catch(c){throw Nt(t,c.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.v),n.Mb(n.k))},t.\u0275pipe=n.Lb({name:"currency",type:t,pure:!0}),t}();function te(t){return null==t||""===t||t!=t}function ee(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}var ie=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(e,i,n){if(null==e)return e;if(!this.supports(e))throw Nt(t,e);return e.slice(i,n)}},{key:"supports",value:function(t){return"string"==typeof t||Array.isArray(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"slice",type:t,pure:!1}),t}(),ne=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[{provide:gt,useClass:mt}]}),t}(),re="browser";function ae(t){return t===re}var oe=function(){var t=function t(){g(this,t)};return t.\u0275prov=Object(n.Ib)({token:t,providedIn:"root",factory:function(){return new se(Object(n.Wb)(f),window,Object(n.Wb)(n.n))}}),t}(),se=function(){function t(e,i,n){g(this,t),this.document=e,this.window=i,this.errorHandler=n,this.offset=function(){return[0,0]}}return m(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[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=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(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:"supportScrollRestoration",value:function(){try{if(!this.window||!this.window.scrollTo)return!1;var t=ce(this.window.history)||ce(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(e){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window.scrollTo}catch(t){return!1}}}]),t}();function ce(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},"3EQ+":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("X2Q7"),a=i("EM62"),o=i("2kYt"),s=i("PBFl"),c=i("csyo"),u=i("29Wa"),l=i("Cd2c"),h=i("nIj0"),d=i("R7+U"),f=i("mFH5"),p=i("s2Ay");function b(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function v(t,e){if(1&t){var i=a.Tb();a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Sb(3,"mat-form-field",9),a.Sb(4,"mat-select",10),a.Zb("valueChange",(function(t){return a.xc(i),a.dc(2).embeddedState=t})),a.Sb(5,"mat-option",11),a.Jc(6),a.ec(7,"translate"),a.Rb(),a.Sb(8,"mat-option",12),a.Jc(9),a.ec(10,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Rb()}if(2&t){var n=a.dc(2);a.Ab(1),a.Lc(" ",a.fc(2,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),": "),a.Ab(3),a.kc("value",n.embeddedState),a.Ab(2),a.Kc(a.fc(7,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),a.Ab(3),a.Kc(a.fc(10,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function y(t,e){if(1&t){var i=a.Tb();a.Sb(0,"div",7),a.Sb(1,"div"),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"mat-form-field"),a.Sb(5,"input",8),a.Zb("ngModelChange",(function(t){return a.xc(i),a.dc().moduleName=t})),a.Rb(),a.Rb(),a.Sb(6,"div"),a.Jc(7),a.ec(8,"translate"),a.Rb(),a.Sb(9,"mat-form-field",9),a.Sb(10,"mat-select",10),a.Zb("valueChange",(function(t){return a.xc(i),a.dc().initialState=t})),a.Sb(11,"mat-option",11),a.Jc(12),a.ec(13,"translate"),a.Rb(),a.Sb(14,"mat-option",12),a.Jc(15),a.ec(16,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Sb(17,"div"),a.Jc(18),a.ec(19,"translate"),a.Rb(),a.Sb(20,"mat-form-field",9),a.Sb(21,"mat-select",10),a.Zb("valueChange",(function(t){return a.xc(i),a.dc().extensionState=t})),a.Sb(22,"mat-option",11),a.Jc(23),a.ec(24,"translate"),a.Rb(),a.Sb(25,"mat-option",12),a.Jc(26),a.ec(27,"translate"),a.Rb(),a.Rb(),a.Rb(),a.Hc(28,v,11,10,"div",13),a.Rb()}if(2&t){var n=a.dc();a.Ab(2),a.Kc(a.fc(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),a.Ab(3),a.kc("ngModel",n.moduleName),a.Ab(2),a.Lc(" ",a.fc(8,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),": "),a.Ab(3),a.kc("value",n.initialState),a.Ab(2),a.Kc(a.fc(13,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),a.Ab(3),a.Kc(a.fc(16,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),a.Ab(3),a.Lc(" ",a.fc(19,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),": "),a.Ab(3),a.kc("value",n.extensionState),a.Ab(2),a.Kc(a.fc(24,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),a.Ab(3),a.Kc(a.fc(27,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),a.Ab(2),a.kc("ngIf","group"===n.entity&&n.autoRegistrationEnabled)}}var A=function(){var t=function(){function t(e,i,n){g(this,t),this.dialogRef=e,this.data=i,this.registrarManager=n,this.loading=!1}return m(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)(a.Mb(n.i),a.Mb(n.a),a.Mb(r.l))},t.\u0275cmp=a.Gb({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&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,b,1,0,"mat-spinner",1),a.Hc(5,y,29,25,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.submit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[n.j,o.t,n.c,s.b,c.c,n.g,u.c,l.b,h.c,h.r,h.u,d.a,f.n],pipes:[p.d],styles:[""]}),t}()},"3Uyd":function(t,e,i){"use strict";i.d(e,"a",(function(){return st})),i.d(e,"b",(function(){return ut})),i.d(e,"c",(function(){return it})),i.d(e,"d",(function(){return nt})),i.d(e,"e",(function(){return $})),i.d(e,"f",(function(){return at})),i.d(e,"g",(function(){return rt})),i.d(e,"h",(function(){return ot}));var r,o,c,u=i("EM62"),l=i("5XID"),d=i("ZTXN"),f=i("bwdy"),p=i("cqs0"),b=0,v=((c=function(){function t(){g(this,t),this._stateChanges=new d.a,this._openCloseAllActions=new d.a,this.id="cdk-accordion-"+b++,this._multi=!1}return m(t,[{key:"openAll",value:function(){this._openCloseAll(!0)}},{key:"closeAll",value:function(){this._openCloseAll(!1)}},{key:"ngOnChanges",value:function(t){this._stateChanges.next(t)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_openCloseAll",value:function(t){this.multi&&this._openCloseAllActions.next(t)}},{key:"multi",get:function(){return this._multi},set:function(t){this._multi=Object(l.c)(t)}}]),t}()).\u0275fac=function(t){return new(t||c)},c.\u0275dir=u.Hb({type:c,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[u.yb]}),c),y=0,A=((o=function(){function t(e,i,n){var r=this;g(this,t),this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=n,this._openCloseAllSubscription=f.a.EMPTY,this.closed=new u.o,this.opened=new u.o,this.destroyed=new u.o,this.expandedChange=new u.o,this.id="cdk-accordion-child-"+y++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen((function(t,e){r.accordion&&!r.accordion.multi&&r.accordion.id===e&&r.id!==t&&(r.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return m(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)}))}},{key:"expanded",get:function(){return this._expanded},set:function(t){t=Object(l.c)(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=Object(l.c)(t)}}]),t}()).\u0275fac=function(t){return new(t||o)(u.Mb(v,12),u.Mb(u.h),u.Mb(p.d))},o.\u0275dir=u.Hb({type:o,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[u.zb([{provide:v,useValue:void 0}])]}),o),w=((r=function t(){g(this,t)}).\u0275mod=u.Kb({type:r}),r.\u0275inj=u.Jb({factory:function(t){return new(t||r)}}),r),_=i("Sv/w"),S=i("2kYt"),k=i("sg/T"),E=i("fAiE"),C=i("Ohay"),R=i("jIqt"),T=i("xVbo"),I=i("J+dc"),O=i("6Oco"),D=i("g6G6"),M=i("f7+R"),P=i("5lCh"),x=["body"];function N(t,e){}var L=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],F=["mat-expansion-panel-header","*","mat-action-row"],z=function(t,e){return{collapsedHeight:t,expandedHeight:e}},H=function(t,e){return{value:t,params:e}};function B(t,e){if(1&t&&u.Nb(0,"span",2),2&t){var i=u.dc();u.kc("@indicatorRotate",i._getExpandedState())}}var j,G,U,K,V,q,J,W,Z=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Y=["mat-panel-title","mat-panel-description","*"],X=new u.r("MAT_ACCORDION"),Q={indicatorRotate:Object(M.n)("indicatorRotate",[Object(M.k)("collapsed, void",Object(M.l)({transform:"rotate(0deg)"})),Object(M.k)("expanded",Object(M.l)({transform:"rotate(180deg)"})),Object(M.m)("expanded <=> collapsed, void => collapsed",Object(M.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(M.n)("expansionHeight",[Object(M.k)("collapsed, void",Object(M.l)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(M.k)("expanded",Object(M.l)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(M.m)("expanded <=> collapsed, void => collapsed",Object(M.g)([Object(M.i)("@indicatorRotate",Object(M.f)(),{optional:!0}),Object(M.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(M.n)("bodyExpansion",[Object(M.k)("collapsed, void",Object(M.l)({height:"0px",visibility:"hidden"})),Object(M.k)("expanded",Object(M.l)({height:"*",visibility:"visible"})),Object(M.m)("expanded <=> collapsed, void => collapsed",Object(M.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},$=((j=function t(e){g(this,t),this._template=e}).\u0275fac=function(t){return new(t||j)(u.Mb(u.M))},j.\u0275dir=u.Hb({type:j,selectors:[["ng-template","matExpansionPanelContent",""]]}),j),tt=0,et=new u.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),it=((J=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,c){var l;return g(this,i),(l=e.call(this,t,n,r))._viewContainerRef=a,l._animationMode=s,l._hideToggle=!1,l.afterExpand=new u.o,l.afterCollapse=new u.o,l._inputChanges=new d.a,l._headerId="mat-expansion-panel-header-"+tt++,l._bodyAnimationDone=new d.a,l.accordion=t,l._document=o,l._bodyAnimationDone.pipe(Object(C.a)((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){"void"!==t.fromState&&("expanded"===t.toState?l.afterExpand.emit():"collapsed"===t.toState&&l.afterCollapse.emit())})),c&&(l.hideToggle=c.hideToggle),l}return m(i,[{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(Object(R.a)(null),Object(T.a)((function(){return t.expanded&&!t._portal})),Object(I.a)(1)).subscribe((function(){t._portal=new _.j(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}},{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=Object(l.c)(t)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t}}]),i}(A)).\u0275fac=function(t){return new(t||J)(u.Mb(X,12),u.Mb(u.h),u.Mb(p.d),u.Mb(u.Q),u.Mb(S.e),u.Mb(P.a,8),u.Mb(et,8))},J.\u0275cmp=u.Gb({type:J,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){var n;1&t&&u.Fb(i,$,!0),2&t&&u.sc(n=u.ac())&&(e._lazyContent=n.first)},viewQuery:function(t,e){var i;1&t&&u.Qc(x,!0),2&t&&u.sc(i=u.ac())&&(e._body=i.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&u.Eb("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:[u.zb([{provide:X,useValue:void 0}]),u.xb,u.yb],ngContentSelectors:F,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&&(u.jc(L),u.ic(0),u.Sb(1,"div",0,1),u.Zb("@bodyExpansion.done",(function(t){return e._bodyAnimationDone.next(t)})),u.Sb(3,"div",2),u.ic(4,1),u.Hc(5,N,0,0,"ng-template",3),u.Rb(),u.ic(6,2),u.Rb()),2&t&&(u.Ab(1),u.kc("@bodyExpansion",e._getExpandedState())("id",e.id),u.Bb("aria-labelledby",e._headerId),u.Ab(4),u.kc("cdkPortalOutlet",e._portal))},directives:[_.c],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}),J),nt=((q=function t(){g(this,t)}).\u0275fac=function(t){return new(t||q)},q.\u0275dir=u.Hb({type:q,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),q),rt=((V=function(){function t(e,i,n,r,a){var o=this;g(this,t),this.panel=e,this._element=i,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=f.a.EMPTY,this._animationsDisabled=!0;var s=e.accordion?e.accordion._stateChanges.pipe(Object(T.a)((function(t){return!(!t.hideToggle&&!t.togglePosition)}))):O.a;this._parentChangeSubscription=Object(D.a)(e.opened,e.closed,s,e._inputChanges.pipe(Object(T.a)((function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)})))).subscribe((function(){return o._changeDetectorRef.markForCheck()})),e.closed.pipe(Object(T.a)((function(){return e._containsFocus()}))).subscribe((function(){return n.focusVia(i,"program")})),n.monitor(i).subscribe((function(t){t&&e.accordion&&e.accordion._handleHeaderFocus(o)})),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}return m(t,[{key:"_animationStarted",value:function(){this._animationsDisabled=!1}},{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:"_keydown",value:function(t){switch(t.keyCode){case E.o:case E.g:Object(E.t)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,t,e)}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}},{key:"disabled",get:function(){return this.panel.disabled}}]),t}()).\u0275fac=function(t){return new(t||V)(u.Mb(it,1),u.Mb(u.l),u.Mb(k.h),u.Mb(u.h),u.Mb(et,8))},V.\u0275cmp=u.Gb({type:V,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(t,e){1&t&&(u.Fc("@expansionHeight.start",(function(){return e._animationStarted()})),u.Zb("click",(function(){return e._toggle()}))("keydown",(function(t){return e._keydown(t)}))),2&t&&(u.Bb("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),u.Gc("@.disabled",e._animationsDisabled)("@expansionHeight",u.qc(16,H,e._getExpandedState(),u.qc(13,z,e.collapsedHeight,e.expandedHeight))),u.Eb("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:Y,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(u.jc(Z),u.Sb(0,"span",0),u.ic(1),u.ic(2,1),u.ic(3,2),u.Rb(),u.Hc(4,B,1,1,"span",1)),2&t&&(u.Ab(4),u.kc("ngIf",e._showToggle()))},directives:[S.t],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.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}\n'],encapsulation:2,data:{animation:[Q.indicatorRotate,Q.expansionHeaderHeight]},changeDetection:0}),V),at=((K=function t(){g(this,t)}).\u0275fac=function(t){return new(t||K)},K.\u0275dir=u.Hb({type:K,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),K),ot=((U=function t(){g(this,t)}).\u0275fac=function(t){return new(t||U)},U.\u0275dir=u.Hb({type:U,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),U),st=((G=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._ownHeaders=new u.E,t._hideToggle=!1,t.displayMode="default",t.togglePosition="after",t}return m(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._headers.changes.pipe(Object(R.a)(this._headers)).subscribe((function(e){t._ownHeaders.reset(e.filter((function(e){return e.panel.accordion===t}))),t._ownHeaders.notifyOnChanges()})),this._keyManager=new k.g(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(t){var e=t.keyCode,i=this._keyManager;e===E.i?Object(E.t)(t)||(i.setFirstItemActive(),t.preventDefault()):e===E.f?Object(E.t)(t)||(i.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}},{key:"_handleHeaderFocus",value:function(t){this._keyManager.updateActiveItem(t)}},{key:"hideToggle",get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(l.c)(t)}}]),i}(v)).\u0275fac=function(t){return ct(t||G)},G.\u0275dir=u.Hb({type:G,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){var n;1&t&&u.Fb(i,rt,!0),2&t&&u.sc(n=u.ac())&&(e._headers=n)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[u.zb([{provide:X,useExisting:G}]),u.xb]}),G),ct=u.Ub(st),ut=((W=function t(){g(this,t)}).\u0275mod=u.Kb({type:W}),W.\u0275inj=u.Jb({factory:function(t){return new(t||W)},imports:[[S.c,w,_.i]]}),W)},"3jrC":function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("X2Q7"),r=i("Ssnw"),a=i("FlRo"),o=i("EM62"),s=i("2kYt"),c=i("cePI"),u=i("FcRk"),l=i("PBFl"),h=i("s2Ay"),d=i("W5/Z");function f(t,e){1&t&&(o.Sb(0,"app-alert"),o.Jc(1),o.ec(2,"translate"),o.ec(3,"customTranslate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,o.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function p(t,e){1&t&&(o.Sb(0,"th",15),o.Jc(1),o.ec(2,"translate"),o.ec(3,"customTranslate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,o.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function b(t,e){if(1&t&&(o.Sb(0,"td",16),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.Ab(1),o.Kc(i.friendlyNameParameter)}}function v(t,e){1&t&&(o.Sb(0,"th",15),o.Jc(1),o.ec(2,"translate"),o.ec(3,"customTranslate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,o.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function y(t,e){if(1&t&&(o.Sb(0,"td",17),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.Ab(1),o.Kc(i.value)}}function A(t,e){1&t&&o.Nb(0,"th",15)}function w(t,e){if(1&t){var i=o.Tb();o.Sb(0,"td",18),o.Sb(1,"button",19),o.Zb("click",(function(){o.xc(i);var t=e.$implicit;return o.dc().changePassword(t.friendlyNameParameter)})),o.Jc(2),o.ec(3,"translate"),o.ec(4,"customTranslate"),o.Rb(),o.Rb()}if(2&t){var n=e.$implicit,r=o.dc();o.Ab(1),o.kc("disabled",!r.logins.includes(n)),o.Ab(1),o.Kc(o.fc(3,2,o.fc(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function _(t,e){1&t&&o.Nb(0,"tr",20)}function S(t,e){1&t&&o.Nb(0,"tr",21)}var k=function(){var t=function(){function t(e,i){g(this,t),this.attributesManagerService=e,this.store=i,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","change"]}return m(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.o(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)(o.Mb(n.c),o.Mb(r.m))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.ec(3,"customTranslate"),o.Rb(),o.Hc(4,f,4,5,"app-alert",1),o.Sb(5,"div",2),o.Sb(6,"div",3),o.Sb(7,"div",4),o.Sb(8,"table",5),o.Qb(9,6),o.Hc(10,p,4,5,"th",7),o.Hc(11,b,2,1,"td",8),o.Pb(),o.Qb(12,9),o.Hc(13,v,4,5,"th",7),o.Hc(14,y,2,1,"td",10),o.Pb(),o.Qb(15,11),o.Hc(16,A,1,0,"th",7),o.Hc(17,w,5,6,"td",12),o.Pb(),o.Hc(18,_,1,0,"tr",13),o.Hc(19,S,1,0,"tr",14),o.Rb(),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,5,o.fc(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),o.Ab(3),o.kc("ngIf",!e.logins.length),o.Ab(4),o.kc("dataSource",e.dataSource),o.Ab(10),o.kc("matHeaderRowDef",e.displayedColumns),o.Ab(1),o.kc("matRowDefColumns",e.displayedColumns))},directives:[s.t,a.n,c.a,a.c,a.i,a.b,a.k,a.m,u.a,a.h,a.a,l.b,a.j,a.l],pipes:[h.d,d.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t}()},"3lSR":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("cJ9h"),r=i("5E2i");function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(n.a)(r.a,t)}},"3p4X":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("IdLP"),r=i("Efrr"),a=i("KRZI");function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return(!Object(a.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=r.a),new n.a((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)}},"47ST":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("IdLP");function r(t,e){return new n.a(e?function(i){return e.schedule(a,0,{error:t,subscriber:i})}:function(e){return e.error(t)})}function a(t){var e=t.error;t.subscriber.error(e)}},"49Zq":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("JjRu"),l=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.facilitiesManager=n,this.notificator=r,this.translate=a,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new o.o([this.facility]),this.relations.push(this.translate.instant("DIALOGS.DELETE_FACILITY.RESOURCE_RELATION"))}},{key:"onConfirm",value:function(){var t=this;this.loading=!0,this.facilitiesManager.deleteFacility(this.facility.id,this.force).subscribe((function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.DELETE_FACILITY.SUCCESS")),t.dialogRef.close(!0)}),(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)(s.Mb(r.i),s.Mb(r.a),s.Mb(n.g),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-delete-facility-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"app-delete-entity-dialog",0),s.Zb("deleted",(function(t){return e.onSubmit(t)})),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(1),s.kc("entityNames",e.dataSource)("entityType","facilities")("relations",e.relations))},directives:[u.a],styles:[""]}),t}()},"4CqK":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(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.Lb({name:"getMailFromAttributes",type:t,pure:!0}),t}()},"4e/d":function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var r=i("pBDD"),o=i("r9RI"),c=i("mW0F");function u(t){return function(e){var i=new l(t),n=e.lift(i);return i.caught=n}}var l=function(){function t(e){g(this,t),this.selector=e}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new d(t,this.selector,this.caught))}}]),t}(),d=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t)).selector=n,a.caught=r,a}return m(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 o.a(this,void 0,void 0);this.add(r);var a=Object(c.a)(this,e,void 0,void 0,r);a!==r&&this.add(a)}}}]),i}(r.a)},"4sdY":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t),this.accessItemsChange=new n.o,this.facilityItemsChange=new n.o,this.adminItemsChange=new n.o,this.userItemsChange=new n.o,this.resetChange=new n.o,this.homeItemsChange=new n.o}return m(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.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},"4zkG":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("JjRu"),l=function(){var t=function(){function t(e,i,n,r,a){var o=this;g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.voService=r,this.translate=a,this.force=!1,this.displayedColumns=["name"],this.relations=[],a.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe((function(t){return o.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(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.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(o.r),s.Mb(c.e))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-remove-vo-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"app-delete-entity-dialog",0),s.Zb("deleted",(function(t){return e.onSubmit(t)})),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(1),s.kc("entityNames",e.dataSource)("entityType","organizations")("relations",e.relations))},directives:[u.a],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),t}()},"5E2i":function(t,e,i){"use strict";function n(t){return t}i.d(e,"a",(function(){return n}))},"5XID":function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return r})),i.d(e,"d",(function(){return c})),i.d(e,"e",(function(){return u})),i.d(e,"f",(function(){return a}));var n=i("EM62");function r(t){return null!=t&&""+t!="false"}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function s(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.l?t.nativeElement:t}},"5bHy":function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("cqs0"),r=i("X2Q7"),a=i("V78E"),o=i("iyZ4"),s=i("8clQ"),c=i("Ssnw"),u=i("EM62"),l=i("sEIs"),h=i("OZ4H"),d=i("0XDM"),f=i("2kYt"),p=i("A8Ay"),b=i("PBFl"),v=i("csyo"),y=i("23RZ"),A=i("s2Ay");function w(t,e){if(1&t){var i=u.Tb();u.Sb(0,"button",6),u.Zb("click",(function(){return u.xc(i),u.dc().deleteSelectedResources()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}if(2&t){var n=u.dc();u.kc("disabled",0===n.selected.selected.length),u.Ab(1),u.Lc(" ",u.fc(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function _(t,e){1&t&&u.Nb(0,"mat-spinner",7)}function S(t,e){if(1&t){var i=u.Tb();u.Sb(0,"perun-web-apps-resources-list",8),u.Zb("page",(function(t){return u.xc(i),u.dc().pageChanged(t)})),u.Rb()}if(2&t){var n=u.dc();u.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("routingVo",!0)("disableRouting",!n.routeAuth)("selection",n.selected)("displayedColumns",n.displayedColumns)}}var k=function(){var t=function(){function t(e,i,r,a,s,c){g(this,t),this.resourcesManager=e,this.voService=i,this.route=r,this.tableConfigService=a,this.dialog=s,this.authResolver=c,this.resources=[],this.selected=new n.c(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=o.lb,this.routeAuth=!1}return m(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=Object(s.o)();e.width="450px",e.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(a.a,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)(u.Mb(r.m),u.Mb(r.r),u.Mb(l.a),u.Mb(o.pb),u.Mb(h.b),u.Mb(c.h))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&u.Eb("router-component",!0)},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.Sb(0,"div"),u.Sb(1,"h1",0),u.Jc(2),u.ec(3,"translate"),u.Rb(),u.Sb(4,"perun-web-apps-refresh-button",1),u.Zb("refresh",(function(){return e.refreshTable()})),u.Rb(),u.Hc(5,w,3,4,"button",2),u.Sb(6,"perun-web-apps-immediate-filter",3),u.Zb("filter",(function(t){return e.applyFilter(t)})),u.Rb(),u.Hc(7,_,1,0,"mat-spinner",4),u.Hc(8,S,1,7,"perun-web-apps-resources-list",5),u.Rb()),2&t&&(u.Ab(2),u.Kc(u.fc(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),u.Ab(3),u.kc("ngIf",!e.loading&&e.removeAuth),u.Ab(1),u.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.Ab(1),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading))},directives:[d.a,f.t,p.a,b.b,v.c,y.a],pipes:[A.d],styles:[""]}),t}()},"5lCh":function(t,e,o){"use strict";o.d(e,"a",(function(){return Oe})),o.d(e,"b",(function(){return Me}));var c=o("EM62"),u=o("e4iD"),l=o("f7+R");function f(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function p(t){switch(t.length){case 0:return new l.d;case 1:return t[0];default:return new l.o(t)}}function b(t,e,i,n){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(n.forEach((function(t){var i=t.offset,n=i==c,h=n&&u||{};Object.keys(t).forEach((function(i){var n=i,s=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,o),s){case l.p:s=r[i];break;case l.a:s=a[i];break;default:s=e.normalizeStyleValue(i,n,s,o)}h[n]=s})),n||s.push(h),u=h,c=i})),o.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(o.join(h)))}return s}function v(t,e,i,n){switch(e){case"start":t.onStart((function(){return n(i&&y(i,"start",t))}));break;case"done":t.onDone((function(){return n(i&&y(i,"done",t))}));break;case"destroy":t.onDestroy((function(){return n(i&&y(i,"destroy",t))}))}}function y(t,e,i){var n=i.totalTime,r=A(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),a=t._data;return null!=a&&(r._data=a),r}function A(t,e,i,n){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:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:a,disabled:!!o}}function w(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 _(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var S=function(t,e){return!1},k=function(t,e){return!1},E=function(t,e,i){return[]},C=f();(C||"undefined"!=typeof Element)&&(S=function(t,e){return t.contains(e)},k=function(){if(C||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])}:k}(),E=function(t,e,n){var r=[];if(n)r.push.apply(r,i(t.querySelectorAll(e)));else{var a=t.querySelector(e);a&&r.push(a)}return r});var R=null,T=!1;function I(t){R||(R=("undefined"!=typeof document?document.body:null)||{},T=!!R.style&&"WebkitAppearance"in R.style);var e=!0;return R.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(!(e=t in R.style)&&T)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in R.style),e}var O=k,D=S,M=E;function P(t){var e={};return Object.keys(t).forEach((function(i){var n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]})),e}var x,N=((x=function(){function t(){g(this,t)}return m(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 D(t,e)}},{key:"query",value:function(t,e,i){return M(t,e,i)}},{key:"computeStyle",value:function(t,e,i){return i||""}},{key:"animate",value:function(t,e,i,n,r){return new l.d(i,n)}}]),t}()).\u0275fac=function(t){return new(t||x)},x.\u0275prov=c.Ib({token:x,factory:x.\u0275fac}),x),L=function(){var t=function t(){g(this,t)};return t.NOOP=new N,t}();function F(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:z(parseFloat(e[1]),e[2])}function z(t,e){switch(e){case"s":return 1e3*t;default:return t}}function H(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){var n,r=0,a="";if("string"==typeof t){var o=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};n=z(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=z(parseFloat(s),o[4]));var c=o[5];c&&(a=c)}else n=t;if(!i){var u=!1,l=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(l,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:n,delay:r,easing:a}}(t,e,i)}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach((function(i){e[i]=t[i]})),e}function j(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 G(t,e,i){return i?e+":"+i+";":""}function U(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 a=r[1],o=r[2],s=r[3];e.push(at(a,s)),"<"!=o[0]||"*"==a&&"*"==s||e.push(at(s,a))}(t,r,n)})):r.push(i),r),animation:a,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,a=t.steps.map((function(t){e.currentTime=n;var a=et(i,t,e);return r=Math.max(r,e.currentTime),a}));return e.currentTime=r,{type:3,steps:a,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(H(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||H(n,e)).duration,i.delay,i.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var r=t.styles?t.styles:Object(l.l)({});if(5==r.type)i=this.visitKeyframes(r,e);else{var a=t.styles,o=!1;if(!a){o=!0;var s={};n.easing&&(s.easing=n.easing),a=Object(l.l)(s)}e.currentTime+=n.duration+n.delay;var c=this.visitStyle(a,e);c.isEmptyStep=o,i=c}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==l.a?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 a in e)if(e[a].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,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(n){if(i._driver.validateStyleProperty(n)){var o,s,c,u,l,h=e.collectedStyles[e.currentQuerySelector],d=h[n],f=!0;d&&(a!=r&&a>=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(a,'ms" and "').concat(r,'ms"')),f=!1),a=d.startTime),f&&(h[n]={startTime:a,endTime:r}),e.options&&(o=t[n],s=e.options,c=e.errors,u=s.params||{},(l=W(o)).length&&l.forEach((function(t){u.hasOwnProperty(t)||c.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,a=[],o=!1,s=!1,c=0,u=t.steps.map((function(t){var n=i._makeStyleAst(t,e),u=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!=u&&(r++,l=n.offset=u),s=s||l<0||l>1,o=o||l0&&r0?r==d?1:h*r:a[r],s=o*g;e.currentTime=f+p.delay+s,p.duration=s,i._validateStyleAst(t,e),t.offset=o,n.styles.push(t)})),n}},{key:"visitReference",value:function(t,e){return{type:8,animation:et(this,q(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 a=r(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(ot,"")),[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),o=a[0],s=a[1];e.currentQuerySelector=i.length?i+" "+o:o,w(e.collectedStyles,e.currentQuerySelector,{});var c=et(this,q(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:c,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"}:H(t.timings,e.errors,!0);return{type:12,animation:et(this,q(t.animation),e),timings:i,options:null}}}]),t}(),ut=function t(e){g(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,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:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var pt=function(){function t(){g(this,t),this._map=new Map}return m(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 n,r=this._map.get(t);r||this._map.set(t,r=[]),(n=r).push.apply(n,i(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),gt=new RegExp(":enter","g"),bt=new RegExp(":leave","g");function mt(t,e,i,n,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 vt).buildKeyframes(t,e,i,n,r,a,o,s,c,u)}var vt=function(){function t(){g(this,t)}return m(t,[{key:"buildKeyframes",value:function(t,e,i,n,r,a,o,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new pt;var l=new At(t,e,c,n,r,u,[]);l.options=s,l.currentTimeline.setStyles([a],null,l.errors,s),et(this,i,l);var h=l.timelines.filter((function(t){return t.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(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,a=this._visitSubInstructions(i,n,n.options);r!=a&&e.transformIntoNewTimeline(a)}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?F(i.duration):null,a=null!=i.delay?F(i.delay):null;return 0!==r&&t.forEach((function(t){var i=e.appendInstructionToTimeline(t,r,a);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,a=t.options;if(a&&(a.params||a.delay)&&((r=e.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=yt);var o=F(a.delay);r.delayNextStep(o)}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,a=t.options&&t.options.delay?F(t.options.delay):0;t.steps.forEach((function(o){var s=e.createSubContext(t.options);a&&s.delayNextStep(a),et(i,o,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 H(e.params?Z(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,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach((function(t){a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(n+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var i=this,n=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?F(r.delay):0;a&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=yt);var o=n,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var c=null;s.forEach((function(n,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,n);a&&s.delayNextStep(a),n===e.element&&(c=s.currentTimeline),et(i,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var i=e.parentContext,n=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1),s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=i.currentStaggerTime}var c=e.currentTimeline;s&&c.delayNextStep(s);var u=c.currentTime;et(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}]),t}(),yt={},At=function(){function t(e,i,n,r,a,o,s,c){g(this,t),this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new wt(this._driver,i,0),s.push(this.currentTimeline)}return m(t,[{key:"updateOptions",value:function(t,e){var i=this;if(t){var n=t,r=this.options;null!=n.duration&&(r.duration=F(n.duration)),null!=n.delay&&(r.delay=F(n.delay));var a=n.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(t){e&&o.hasOwnProperty(t)||(o[t]=Z(a[t],o,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,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=yt,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 _t(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,n,r,a,o){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(gt,"."+this._enterClassName)).replace(bt,"."+this._leaveClassName);var c=this._driver.query(this.element,t,1!=n);0!==n&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),s.push.apply(s,i(c))}return a||0!=s.length||o.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),s}},{key:"params",get:function(){return this.options.params}}]),t}(),wt=function(){function t(e,i,n,r){g(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 m(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:"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]||l.a,e._currentKeyframe[t]=l.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,i,n){var r=this;e&&(this._previousKeyframe.easing=e);var a=n&&n.params||{},o=function(t,e){var i,n={};return t.forEach((function(t){"*"===t?(i=i||Object.keys(e)).forEach((function(t){n[t]=l.a})):j(t,!1,n)})),n}(t,this._globalTimelineStyles);Object.keys(o).forEach((function(t){var e=Z(o[t],a,i);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:l.a),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:"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(a,o){var s=j(a,!0);Object.keys(s).forEach((function(t){var n=s[t];n==l.p?e.add(t):n==l.a&&i.add(t)})),n||(s.offset=o/t.duration),r.push(s)}));var a=e.size?Y(e.values()):[],o=i.size?Y(i.values()):[];if(n){var s=r[0],c=B(s);s.offset=0,c.offset=1,r=[s,c]}return ft(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}}]),t}(),_t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s){var c,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return g(this,i),(c=e.call(this,t,n,s.delay)).element=n,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 m(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 a=[],o=n+i,s=i/o,c=j(t[0],!1);c.offset=0,a.push(c);var u=j(t[0],!1);u.offset=St(s),a.push(u);for(var l=t.length-1,h=1;h<=l;h++){var d=j(t[h],!1);d.offset=St((i+d.offset*n)/o),a.push(d)}n=o,i=0,r="",t=a}return ft(this.element,t,this.preStyleProps,this.postStyleProps,n,i,r,!0)}}]),i}(wt);function St(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 kt,Et,Ct=function t(){g(this,t)},Rt=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"normalizePropertyName",value:function(t,e){return Q(t)}},{key:"normalizeStyleValue",value:function(t,e,i,n){var r="",a=i.toString().trim();if(Tt[e]&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{var o=i.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&n.push("Please provide a CSS unit value for ".concat(t,":").concat(i))}return a+r}}]),i}(Ct),Tt=(kt="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(","),Et={},kt.forEach((function(t){return Et[t]=!0})),Et);function It(t,e,i,n,r,a,o,s,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:a,toState:n,toStyles:o,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}var Ot={},Dt=function(){function t(e,i,n){g(this,t),this._triggerName=e,this.ast=i,this._stateStyles=n}return m(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],a=n?n.buildStyles(e,i):{};return r?r.buildStyles(e,i):a}},{key:"build",value:function(t,e,i,n,r,a,o,s,c,u){var l=[],h=this.ast.options&&this.ast.options.params||Ot,d=this.buildStyles(i,o&&o.params||Ot,l),f=s&&s.params||Ot,p=this.buildStyles(n,f,l),g=new Set,b=new Map,m=new Map,v="void"===n,y={params:Object.assign(Object.assign({},h),f)},A=u?[]:mt(t,e,this.ast.animation,r,a,d,p,y,c,l),_=0;if(A.forEach((function(t){_=Math.max(t.duration+t.delay,_)})),l.length)return It(e,this._triggerName,i,n,v,d,p,[],[],b,m,_,l);A.forEach((function(t){var i=t.element,n=w(b,i,{});t.preStyleProps.forEach((function(t){return n[t]=!0}));var r=w(m,i,{});t.postStyleProps.forEach((function(t){return r[t]=!0})),i!==e&&g.add(i)}));var S=Y(g.values());return It(e,this._triggerName,i,n,v,d,p,A,S,b,m,_)}}]),t}(),Mt=function(){function t(e,i){g(this,t),this.styles=e,this.defaultParams=i}return m(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 a=r[t];a.length>1&&(a=Z(a,n,e)),i[t]=a}))}})),i}}]),t}(),Pt=function(){function t(e,i){var n=this;g(this,t),this.name=e,this.ast=i,this.transitionFactories=[],this.states={},i.states.forEach((function(t){n.states[t.name]=new Mt(t.style,t.options&&t.options.params||{})})),xt(this.states,"true","1"),xt(this.states,"false","0"),i.transitions.forEach((function(t){n.transitionFactories.push(new Dt(e,t,n.states))})),this.fallbackTransition=new Dt(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return m(t,[{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)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),t}();function xt(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}var Nt=new pt,Lt=function(){function t(e,i,n){g(this,t),this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return m(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: "+i.join("\n"));this._animations[t]=n}},{key:"_buildPlayer",value:function(t,e,i){var n=t.element,r=b(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]:{},a=[],o=this._animations[t],s=new Map;if(o?(i=mt(this._driver,e,o,"ng-enter","ng-leave",{},{},r,Nt,a)).forEach((function(t){var e=w(s,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=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: "+a.join("\n"));s.forEach((function(t,e){Object.keys(t).forEach((function(i){t[i]=n._driver.computeStyle(e,i,l.a)}))}));var c=p(i.map((function(t){var e=s.get(t.element);return n._buildPlayer(t,{},e)})));return this._playersById[t]=c,c.onDestroy((function(){return n.destroy(t)})),this.players.push(c),c}},{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 "+t);return e}},{key:"listen",value:function(t,e,i,n){var r=A(e,"","","");return v(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}(),Ft=[],zt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ht={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]:"";g(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 a=B(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return m(t,[{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])}))}}},{key:"params",get:function(){return this.options.params}}]),t}(),jt=new Bt("void"),Gt=function(){function t(e,i,n){g(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,Zt(i,this._hostClassName)}return m(t,[{key:"listen",value:function(t,e,i,n){var r,a=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 o=w(this._elementListeners,t,[]),s={name:e,phase:i,callback:n};o.push(s);var c=w(this._engine.statesByElement,t,{});return c.hasOwnProperty(e)||(Zt(t,"ng-trigger"),Zt(t,"ng-trigger-"+e),c[e]=jt),function(){a._engine.afterFlush((function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),a._triggers[e]||delete c[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],a=this._getTrigger(e),o=new Kt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Zt(t,"ng-trigger"),Zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var c=s[e],u=new Bt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s[e]=u,c||(c=jt),"void"===u.value||c.value!==u.value){var l=w(this._engine.playersByElement,t,[]);l.forEach((function(t){t.namespaceId==n.id&&t.triggerName==e&&t.queued&&t.destroy()}));var h=a.matchTransition(c.value,u.value,t,u.params),d=!1;if(!h){if(!r)return;h=a.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:c,toState:u,player:o,isFallbackTransition:d}),d||(Zt(t,"ng-animate-queued"),o.onStart((function(){Yt(t,"ng-animate-queued")}))),o.onDone((function(){var e=n.players.indexOf(o);e>=0&&n.players.splice(e,1);var i=n._engine.playersByElement.get(t);if(i){var r=i.indexOf(o);r>=0&&i.splice(r,1)}})),this.players.push(o),l.push(o),o}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(a,1)}if(t){var o=this._fetchNamespace(t);o&&o.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),Zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Yt(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,i,n){if(Vt(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){var a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.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 Vt(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 p(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=zt,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;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach((function(t){var e=t.player,i=t.element;if(T.push(e),n.collectedEnterElements.length){var o=i.__ng_removed;if(o&&o.setForMove)return void e.destroy()}var l=!f||!n.driver.containsElement(f,i),d=C.get(i),p=m.get(i),g=n._buildInstruction(t,r,p,d,l);if(g.errors&&g.errors.length)I.push(g);else{if(l)return e.onStart((function(){return V(i,g.fromStyles)})),e.onDestroy((function(){return K(i,g.toStyles)})),void a.push(e);if(t.isFallbackTransition)return e.onStart((function(){return V(i,g.fromStyles)})),e.onDestroy((function(){return K(i,g.toStyles)})),void a.push(e);g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),r.append(i,g.timelines),s.push({instruction:g,player:e,element:i}),g.queriedElements.forEach((function(t){return w(c,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=h.get(e);n||h.set(e,n=new Set),i.forEach((function(t){return n.add(t)}))}))}}));if(I.length){var D=[];I.forEach((function(t){D.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach((function(t){return D.push("- ".concat(t,"\n"))}))})),T.forEach((function(t){return t.destroy()})),this.reportError(D)}var M=new Map,P=new Map;s.forEach((function(t){var e=t.element;r.has(e)&&(P.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,M))})),a.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){w(M,e,[]).push(t),t.destroy()}))}));var x=y.filter((function(t){return Qt(t,u,h)})),N=new Map;Jt(N,this.driver,_,h,l.a).forEach((function(t){Qt(t,u,h)&&x.push(t)}));var L=new Map;b.forEach((function(t,e){Jt(L,n.driver,new Set(t),u,l.p)})),x.forEach((function(t){var e=N.get(t),i=L.get(t);N.set(t,Object.assign(Object.assign({},e),i))}));var F=[],z=[],H={};s.forEach((function(t){var e=t.element,i=t.player,s=t.instruction;if(r.has(e)){if(d.has(e))return i.onDestroy((function(){return K(e,s.toStyles)})),i.disabled=!0,i.overrideTotalTime(s.totalTime),void a.push(i);var c=H;if(P.size>1){for(var u=e,l=[];u=u.parentNode;){var h=P.get(u);if(h){c=h;break}l.push(u)}l.forEach((function(t){return P.set(t,c)}))}var f=n._buildAnimation(i.namespaceId,s,M,o,L,N);if(i.setRealPlayer(f),c===H)F.push(i);else{var g=n.playersByElement.get(c);g&&g.length&&(i.parentPlayer=p(g)),a.push(i)}}else V(e,s.fromStyles),i.onDestroy((function(){return K(e,s.toStyles)})),z.push(i),d.has(e)&&a.push(i)})),z.forEach((function(t){var e=o.get(t.element);if(e&&e.length){var i=p(e);t.setRealPlayer(i)}})),a.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 l.d(t.duration,t.delay)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach((function(e){e.players.forEach((function(e){e.queued&&t.push(e)}))})),t}}]),t}(),Kt=function(){function t(e,i,n){g(this,t),this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new l.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return m(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 v(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){w(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 Vt(t){return t&&1===t.nodeType}function qt(t,e){var i=t.style.display;return t.style.display=null!=e?e:"none",i}function Jt(t,e,i,n,r){var a=[];i.forEach((function(t){return a.push(qt(t))}));var o=[];n.forEach((function(i,n){var a={};i.forEach((function(t){var i=a[t]=e.computeStyle(n,t,r);i&&0!=i.length||(n.__ng_removed=Ht,o.push(n))})),t.set(n,a)}));var s=0;return i.forEach((function(t){return qt(t,a[s++])})),o}function Wt(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;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var a=r.get(e);if(a)return a;var o=e.parentNode;return a=i.has(o)?o:n.has(o)?1:t(o),r.set(e,a),a}(t);1!==e&&i.get(e).push(t)})),i}function Zt(t,e){if(t.classList)t.classList.add(e);else{var i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function Yt(t,e){if(t.classList)t.classList.remove(e);else{var i=t.$$classes;i&&delete i[e]}}function Xt(t,e,i){p(i).onDone((function(){return t.processLeaveNode(e)}))}function Qt(t,e,i){var n=i.get(t);if(!n)return!1;var r=e.get(t);return r?n.forEach((function(t){return r.add(t)})):e.set(t,n),i.delete(t),!0}var $t=function(){function t(e,i,n){var r=this;g(this,t),this.bodyNode=e,this._driver=i,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Ut(e,i,n),this._timelineEngine=new Lt(e,i,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return m(t,[{key:"registerTrigger",value:function(t,e,i,n,r){var a=t+"-"+n,o=this._triggerCache[a];if(!o){var s=[],c=st(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(n,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(t,e){return new Pt(t,e)}(n,c),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(e,n,o)}},{key:"register",value:function(t,e){this._transitionEngine.register(t,e)}},{key:"destroy",value:function(t,e){this._transitionEngine.destroy(t,e)}},{key:"onInsert",value:function(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}},{key:"onRemove",value:function(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}},{key:"disableAnimations",value:function(t,e){this._transitionEngine.markElementAsDisabled(t,e)}},{key:"process",value:function(t,e,i,n){if("@"==i.charAt(0)){var a=r(_(i),2),o=a[0],s=a[1];this._timelineEngine.command(o,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}},{key:"listen",value:function(t,e,i,n,a){if("@"==i.charAt(0)){var o=r(_(i),2),s=o[0],c=o[1];return this._timelineEngine.listen(s,e,c,a)}return this._transitionEngine.listen(t,e,i,n,a)}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),t}();function te(t,e){var i=null,n=null;return Array.isArray(e)&&e.length?(i=ie(e[0]),e.length>1&&(n=ie(e[e.length-1]))):e&&(i=ie(e)),i||n?new ee(t,i,n):null}var ee=function(){var t=function(){function t(e,i,n){g(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 m(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(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&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function ie(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=le(t,"").split(","),(n=se(i,e))>=0&&(i.splice(n,1),ue(t,"",i.join(","))))}}]),t}();function ae(t,e,i){ue(t,"PlayState",i,oe(t,e))}function oe(t,e){var i=le(t,"");return i.indexOf(",")>0?se(i.split(","),e):se([i],e)}function se(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 ue(t,e,i,n){var r="animation"+e;if(null!=n){var a=t.style[r];if(a.length){var o=a.split(",");o[n]=i,i=o.join(",")}}t.style[r]=i}function le(t,e){return t.style["animation"+e]}var he=function(){function t(e,i,n,r,a,o,s,c){g(this,t),this.element=e,this.keyframes=i,this.animationName=n,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return m(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._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new re(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}(),de=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=P(n),r}return m(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}(l.d),fe=function(){function t(){g(this,t),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return m(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 D(t,e)}},{key:"query",value:function(t,e,i){return M(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 P(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+=r+"}\n"})),n+="}\n";var a=document.createElement("style");return a.innerHTML=n,a}},{key:"animate",value:function(t,e,i,n,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=a.filter((function(t){return t instanceof he})),c={};$(i,n)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return c[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,c));if(0==i)return new de(t,u);var l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(h);var d=te(t,e),f=new he(t,e,l,i,n,r,u,d);return f.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),t}(),pe=function(){function t(e,i,n,r){g(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 m(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){this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{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}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),t}(),ge=function(){function t(){g(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(be().toString()),this._cssKeyframesDriver=new fe}return m(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 D(t,e)}},{key:"query",value:function(t,e,i){return M(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 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(t,e,i,n,r,a);var s={duration:i,delay:n,fill:0==n?"both":"forwards"};r&&(s.easing=r);var c={},u=a.filter((function(t){return t instanceof pe}));$(i,n)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return c[t]=e[t]}))}));var l=te(t,e=tt(t,e=e.map((function(t){return j(t,!1)})),c));return new pe(t,e,s,l)}}]),t}();function be(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var me,ve=o("2kYt"),ye=((me=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:c.R.None,styles:[],data:{animation:[]}}),r}return m(i,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var i=Array.isArray(t)?Object(l.j)(t):t;return _e(this._renderer,null,e,"register",[i]),new Ae(e,this._renderer)}}]),i}(l.b)).\u0275fac=function(t){return new(t||me)(c.Wb(c.G),c.Wb(ve.e))},me.\u0275prov=c.Ib({token:me,factory:me.\u0275fac}),me),Ae=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this))._id=t,r._renderer=n,r}return m(i,[{key:"create",value:function(t,e){return new we(this._id,t,e||{},this._renderer)}}]),i}(l.c),we=function(){function t(e,i,n,r){g(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 m(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&&t1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(e,Math.min(i,t))}var w=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[r.c,o.i],o.i]}),t}()},"6Oco":function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return a}));var n=i("IdLP"),r=new n.a((function(t){return t.complete()}));function a(t){return t?function(t){return new n.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):r}},"6Xhx":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return s}));var n=i("EM62"),r=(i("X2Q7"),i("s2Ay")),a=i("LAw4"),o={},s=function(){var t=function t(e){var i=this;g(this,t),this.translate=e,this.item=null,this.itemSelected=new n.o,this.nameFunction=function(t){return t===o?i.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):t.shortname},this.secondaryFunction=function(t){return t===o?"":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===o?"":t.shortname+t.id}};return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.e))},t.\u0275cmp=n.Gb({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.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.itemSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.items)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.secondaryFunction)("entity",e.item)("disableAutoSelect",!0)("selectPlaceholder",n.fc(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",n.fc(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",n.fc(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[a.a],pipes:[r.d],styles:[""]}),t}()},"6mVK":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&s.Nb(0,"th",15)}function p(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){1&t&&s.Nb(0,"tr",18)}function y(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,1,0,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Hc(11,b,1,0,"tr",13),s.Hc(12,v,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Kc(s.fc(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.groupManager=n,this.notificator=r,this.translate=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new o.o(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)(s.Mb(r.i),s.Mb(r.a),s.Mb(n.h),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onRemove()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc("",s.fc(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc("",s.fc(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[c.d],styles:[""]}),t}()},"77So":function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("EM62"),r=i("cePI"),a=i("cqs0"),o=i("iAde"),s=i("FlRo"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("FcRk"),p=i("s2Ay"),b=i("j+u3");function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function y(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function A(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")))}function w(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i[1].id)}}function _(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")))}function S(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i[1]))}}function k(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")))}function E(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i[0].description)}}function C(t,e){1&t&&n.Nb(0,"tr",23)}function R(t,e){1&t&&n.Nb(0,"tr",24)}function T(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function I(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}var O=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.bansOnFacilitiesWithUsers=[],this.selection=new a.c(!0,[]),this.pageSize=10,this.page=new n.o,this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=c.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"userId"!==t}))),this.dataSource=new s.o(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(t,e){switch(e){case"userId":return t[1].id.toString();case"reason":return t[0].description;case"name":return Object(c.z)(t[1]);default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(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 Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t[0].userId+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",pageSize:"pageSize"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,v,2,3,"th",6),n.Hc(7,y,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,A,3,3,"th",9),n.Hc(10,w,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,_,3,3,"th",9),n.Hc(13,S,3,3,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,k,3,3,"th",9),n.Hc(16,E,2,1,"td",11),n.Pb(),n.Hc(17,C,1,0,"tr",13),n.Hc(18,R,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,T,3,3,"app-alert",16),n.Hc(21,I,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.bansOnFacilitiesWithUsers.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.bansOnFacilitiesWithUsers.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.bansOnFacilitiesWithUsers.length),n.Ab(1),n.kc("ngIf",0===e.bansOnFacilitiesWithUsers.length))},directives:[l.a,s.n,r.a,s.c,s.i,s.b,s.k,s.m,o.a,h.t,s.h,d.a,s.a,r.b,s.j,s.l,f.a],pipes:[p.d,b.a],styles:[""]}),t}()},"7TQF":function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("4sdY"),r=i("X2Q7"),a=i("8clQ"),o=i("Ssnw"),s=i("4zkG"),c=i("cqs0"),u=i("tDou"),l=i("iyZ4"),h=i("EM62"),d=i("OZ4H"),f=i("EtYo"),p=i("bFHC"),b=i("2kYt"),v=i("0XDM"),y=i("PBFl"),A=i("A8Ay"),w=i("csyo"),_=i("qySP"),S=i("s2Ay");function k(t,e){if(1&t){var i=h.Tb();h.Sb(0,"perun-web-apps-refresh-button",9),h.Zb("refresh",(function(){return h.xc(i),h.dc().refreshTable()})),h.Rb()}}function E(t,e){if(1&t){var i=h.Tb();h.Sb(0,"button",10),h.Zb("click",(function(){return h.xc(i),h.dc().onCreateVo()})),h.Jc(1),h.ec(2,"translate"),h.Rb()}2&t&&(h.Ab(1),h.Lc(" ",h.fc(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function C(t,e){if(1&t){var i=h.Tb();h.Sb(0,"button",11),h.Zb("click",(function(){return h.xc(i),h.dc().onRemoveVo()})),h.Jc(1),h.ec(2,"translate"),h.Rb()}if(2&t){var n=h.dc();h.kc("disabled",0===n.selection.selected.length),h.Ab(1),h.Lc(" ",h.fc(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function R(t,e){if(1&t){var i=h.Tb();h.Sb(0,"perun-web-apps-immediate-filter",12),h.Zb("filter",(function(t){return h.xc(i),h.dc().applyFilter(t)})),h.Rb()}2&t&&h.kc("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function T(t,e){1&t&&h.Nb(0,"mat-spinner",13)}function I(t,e){if(1&t){var i=h.Tb();h.Sb(0,"perun-web-apps-vos-list",14),h.Zb("page",(function(t){return h.xc(i),h.dc().pageChanged(t)})),h.Rb()}if(2&t){var n=h.dc();h.kc("pageSize",n.pageSize)("displayedColumns",n.displayedColumns)("filterValue",n.filterValue)("recentIds",n.recentIds)("selection",n.selection)("vos",n.vos)}}var O=function(){return{color:"black"}},D=function(){var t=function(){function t(e,i,n,r,a,o,s,c){g(this,t),this.sideMenuService=e,this.voService=i,this.guiAuthResolver=n,this.tableConfigService=r,this.dialog=a,this.notificator=o,this.apiRequest=s,this.initAuthService=c,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=l.nb}return m(t,[{key:"ngOnInit",value:function(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new c.c(!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=Object(a.r)("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=Object(a.o)();e.width="600px",e.data={theme:"vo-theme"},this.dialog.open(u.a,e).afterClosed().subscribe((function(e){e&&(t.loading=!0,t.refreshTable())}))}},{key:"onRemoveVo",value:function(){var t=this,e=Object(a.o)();e.width="500px",e.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(s.a,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)(h.Mb(n.a),h.Mb(r.r),h.Mb(o.h),h.Mb(l.pb),h.Mb(d.b),h.Mb(o.l),h.Mb(o.b),h.Mb(o.i))},t.\u0275cmp=h.Gb({type:t,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&h.Eb("router-component",!0)},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&&(h.Sb(0,"div",0),h.Nb(1,"perun-web-apps-back-button"),h.Sb(2,"h1",1),h.Nb(3,"mat-icon",2),h.Jc(4),h.ec(5,"translate"),h.Rb(),h.Hc(6,k,1,0,"perun-web-apps-refresh-button",3),h.Hc(7,E,3,3,"button",4),h.Hc(8,C,3,4,"button",5),h.Hc(9,R,1,2,"perun-web-apps-immediate-filter",6),h.Hc(10,T,1,0,"mat-spinner",7),h.Hc(11,I,1,6,"perun-web-apps-vos-list",8),h.Rb()),2&t&&(h.Ab(3),h.kc("ngStyle",h.oc(10,O)),h.Ab(1),h.Lc(" ",h.fc(5,8,"VO_MANAGEMENT.TITLE")," "),h.Ab(2),h.kc("ngIf",!e.loading),h.Ab(1),h.kc("ngIf",!e.loading&&e.createAuth),h.Ab(1),h.kc("ngIf",!e.loading&&e.deleteAuth),h.Ab(1),h.kc("ngIf",!e.loading),h.Ab(1),h.kc("ngIf",e.loading),h.Ab(1),h.kc("ngIf",!e.loading))},directives:[f.a,p.a,b.w,b.t,v.a,y.b,A.a,w.c,_.a],pipes:[S.d],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t}()},"7Y6W":function(t,e,i){"use strict";i.d(e,"a",(function(){return it}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("nIj0"),s=i("2kYt"),c=i("Iydx"),u=i("8lHc"),l=i("ROBh"),h=i("TLy2"),f=i("YtkY"),p=i("4e/d"),b=i("EM62"),v=i("s2Ay"),y=i("csyo"),A=i("x9Az"),w=i("29Wa"),_=i("Cd2c"),S=i("PBFl"),k=i("R7+U"),E=i("Y2X+"),C=i("+Tre"),R=i("F1o0"),T=i("HMTk"),I=i("FcRk"),O=i("mFH5"),D=i("bFHC"),M=i("jqZM"),P=i("j+u3");function x(t,e){1&t&&(b.Sb(0,"h1",4),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Kc(b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")))}function N(t,e){1&t&&b.Nb(0,"mat-spinner",5)}function L(t,e){1&t&&(b.Jc(0),b.ec(1,"translate")),2&t&&b.Kc(b.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function F(t,e){1&t&&(b.Sb(0,"app-alert",42),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Lc(" ",b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function z(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Lc(" ",b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function H(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Lc(" ",b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function B(t,e){1&t&&(b.Jc(0),b.ec(1,"translate")),2&t&&b.Kc(b.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function j(t,e){if(1&t&&(b.Sb(0,"mat-option",43),b.Jc(1),b.Rb()),2&t){var i=e.$implicit;b.kc("value",i),b.Ab(1),b.Lc(" ",i," ")}}function G(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Lc(" ",b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function U(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Lc(" ",b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function K(t,e){1&t&&b.Nb(0,"mat-spinner",44),2&t&&b.kc("diameter",18)}function V(t,e){1&t&&(b.Sb(0,"mat-icon",45),b.ec(1,"translate"),b.Jc(2," error "),b.Rb()),2&t&&b.kc("matTooltip",b.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR_LONG"))}function q(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Kc(b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")))}function J(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Kc(b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR")))}function W(t,e){1&t&&(b.Sb(0,"mat-error"),b.Jc(1),b.ec(2,"translate"),b.Rb()),2&t&&(b.Ab(1),b.Lc(" ",b.fc(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Z(t,e){1&t&&(b.Jc(0),b.ec(1,"translate")),2&t&&b.Kc(b.fc(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function Y(t,e){if(1&t){var i=b.Tb();b.Sb(0,"div"),b.Sb(1,"perun-web-apps-user-search-select",46),b.Zb("userSelected",(function(t){return b.xc(i),b.dc(2).selectedSponsor=t})),b.Rb(),b.Rb()}if(2&t){var n=b.dc(2);b.Ab(1),b.kc("users",n.voSponsors)("disableAutoSelect",!0)}}function X(t,e){if(1&t){var i=b.Tb();b.Sb(0,"div",6),b.Sb(1,"mat-horizontal-stepper",7),b.Sb(2,"mat-step",8),b.Hc(3,L,2,3,"ng-template",9),b.Hc(4,F,3,3,"app-alert",10),b.Sb(5,"form",11),b.Sb(6,"h5",12),b.Jc(7),b.ec(8,"translate"),b.Rb(),b.Sb(9,"mat-form-field",13),b.Nb(10,"input",14),b.ec(11,"translate"),b.Hc(12,z,3,3,"mat-error",15),b.Rb(),b.Sb(13,"mat-form-field"),b.Nb(14,"input",16),b.ec(15,"translate"),b.Hc(16,H,3,3,"mat-error",15),b.Rb(),b.Sb(17,"mat-form-field"),b.Nb(18,"input",17),b.ec(19,"translate"),b.Rb(),b.Sb(20,"mat-form-field"),b.Nb(21,"input",18),b.ec(22,"translate"),b.Rb(),b.Rb(),b.Sb(23,"div",19),b.Sb(24,"button",20),b.Zb("click",(function(){return b.xc(i),b.dc().onCancel()})),b.Jc(25),b.ec(26,"translate"),b.Rb(),b.Sb(27,"button",21),b.Jc(28),b.ec(29,"translate"),b.Rb(),b.Rb(),b.Rb(),b.Sb(30,"mat-step",8),b.Hc(31,B,2,3,"ng-template",9),b.Sb(32,"h5",12),b.Jc(33),b.ec(34,"translate"),b.Rb(),b.Sb(35,"form",22),b.Sb(36,"mat-form-field"),b.Sb(37,"mat-select",23),b.Zb("valueChange",(function(t){return b.xc(i),b.dc().onNamespaceChanged(t)})),b.ec(38,"translate"),b.Hc(39,j,2,2,"mat-option",24),b.Rb(),b.Hc(40,G,3,3,"mat-error",15),b.Rb(),b.Sb(41,"mat-form-field",25),b.ec(42,"translate"),b.Nb(43,"input",26),b.ec(44,"translate"),b.Hc(45,U,3,3,"mat-error",15),b.Rb(),b.Sb(46,"span",25),b.ec(47,"translate"),b.Sb(48,"mat-checkbox",27),b.Zb("change",(function(){return b.xc(i),b.dc().passwordResetChange()})),b.Jc(49),b.ec(50,"translate"),b.Rb(),b.Rb(),b.Sb(51,"mat-form-field",25),b.Nb(52,"input",28),b.ec(53,"translate"),b.Hc(54,K,1,1,"mat-spinner",29),b.Hc(55,V,3,3,"mat-icon",30),b.Hc(56,q,3,3,"mat-error",15),b.Hc(57,J,3,3,"mat-error",15),b.Rb(),b.Sb(58,"mat-checkbox",31),b.Jc(59),b.ec(60,"translate"),b.Rb(),b.Sb(61,"mat-form-field"),b.Nb(62,"input",32),b.ec(63,"translate"),b.Hc(64,W,3,3,"mat-error",15),b.Rb(),b.Sb(65,"div",19),b.Sb(66,"button",20),b.Zb("click",(function(){return b.xc(i),b.dc().onCancel()})),b.Jc(67),b.ec(68,"translate"),b.Rb(),b.Sb(69,"button",33),b.Jc(70),b.ec(71,"translate"),b.Rb(),b.Sb(72,"button",34),b.Jc(73),b.ec(74,"translate"),b.Rb(),b.Rb(),b.Rb(),b.Rb(),b.Sb(75,"mat-step"),b.Hc(76,Z,2,3,"ng-template",9),b.Sb(77,"div",35),b.Sb(78,"h5",12),b.Jc(79),b.ec(80,"translate"),b.Rb(),b.Sb(81,"div",13),b.Sb(82,"h6"),b.Jc(83),b.ec(84,"translate"),b.Rb(),b.Sb(85,"mat-radio-group",36),b.Zb("ngModelChange",(function(t){return b.xc(i),b.dc().sponsorType=t})),b.Sb(86,"span",37),b.ec(87,"translate"),b.Sb(88,"mat-radio-button",38),b.Zb("click",(function(){return b.xc(i),b.dc().selectedSponsor=null})),b.Jc(89),b.ec(90,"translate"),b.Rb(),b.Rb(),b.Sb(91,"span",37),b.ec(92,"translate"),b.Sb(93,"mat-radio-button",39),b.Jc(94),b.ec(95,"translate"),b.Rb(),b.Rb(),b.Rb(),b.Hc(96,Y,2,2,"div",15),b.Rb(),b.Sb(97,"h6",13),b.Jc(98),b.ec(99,"translate"),b.Rb(),b.Sb(100,"perun-web-apps-expiration-select",40),b.Zb("datePicker",(function(t){return b.xc(i),b.dc().setExpiration(t)})),b.Rb(),b.Rb(),b.Sb(101,"div",19),b.Sb(102,"button",20),b.Zb("click",(function(){return b.xc(i),b.dc().onCancel()})),b.Jc(103),b.ec(104,"translate"),b.Rb(),b.Sb(105,"button",33),b.Jc(106),b.ec(107,"translate"),b.Rb(),b.Sb(108,"button",41),b.Zb("click",(function(){return b.xc(i),b.dc().onConfirm()})),b.Jc(109),b.ec(110,"translate"),b.Rb(),b.Rb(),b.Rb(),b.Rb(),b.Rb()}if(2&t){var n=b.dc();b.Ab(1),b.kc("linear",!0),b.Ab(1),b.kc("stepControl",n.userControl),b.Ab(2),b.kc("ngIf",n.functionalityNotSupported),b.Ab(1),b.kc("formGroup",n.userControl),b.Ab(2),b.Lc(" ",b.fc(8,60,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),b.Ab(3),b.lc("placeholder",b.fc(11,62,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),b.Ab(2),b.kc("ngIf",n.userControl.hasError("required","firstName")),b.Ab(2),b.lc("placeholder",b.fc(15,64,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),b.Ab(2),b.kc("ngIf",n.userControl.hasError("required","lastName")),b.Ab(2),b.lc("placeholder",b.fc(19,66,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),b.Ab(3),b.lc("placeholder",b.fc(22,68,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),b.Ab(4),b.Lc(" ",b.fc(26,70,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.Ab(2),b.kc("disabled",n.userControl.invalid),b.Ab(1),b.Lc(" ",b.fc(29,72,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),b.Ab(2),b.kc("stepControl",n.namespaceControl),b.Ab(3),b.Kc(b.fc(34,74,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),b.Ab(2),b.kc("formGroup",n.namespaceControl),b.Ab(2),b.lc("placeholder",b.fc(38,76,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),b.Ab(2),b.kc("ngForOf",n.namespaceOptions),b.Ab(1),b.kc("ngIf",n.namespaceControl.hasError("required","namespace")),b.Ab(1),b.lc("matTooltip",b.fc(42,78,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),b.kc("matTooltipDisabled",n.namespaceControl.get("login").enabled),b.Ab(2),b.lc("placeholder",b.fc(44,80,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),b.Ab(2),b.kc("ngIf",n.namespaceControl.hasError("required","login")),b.Ab(1),b.lc("matTooltip",b.fc(47,82,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),b.kc("matTooltipDisabled",n.namespaceControl.get("passwordReset").enabled),b.Ab(3),b.Lc("",b.fc(50,84,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),b.Ab(2),b.kc("matTooltip",n.getPasswordDisabledTooltip())("matTooltipDisabled",n.namespaceControl.get("password").enabled),b.Ab(1),b.lc("placeholder",b.fc(53,86,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")),b.kc("type",n.namespaceControl.get("showPassword").value?"text":"password")("errorStateMatcher",n.passwordStateMatcher),b.Ab(2),b.kc("ngIf",n.namespaceControl.get("password").pending),b.Ab(1),b.kc("ngIf",n.namespaceControl.get("password").dirty&&null!==n.namespaceControl.get("password").errors),b.Ab(1),b.kc("ngIf",n.namespaceControl.get("password").hasError("required")),b.Ab(1),b.kc("ngIf",n.namespaceControl.get("password").hasError("backendError")),b.Ab(2),b.Lc(" ",b.fc(60,88,"DIALOGS.CREATE_SPONSORED_MEMBER.SHOW_PASSWORD")," "),b.Ab(3),b.lc("placeholder",b.fc(63,90,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),b.Ab(2),b.kc("ngIf",n.namespaceControl.hasError("required","email")||n.namespaceControl.hasError("pattern","email")),b.Ab(3),b.Lc(" ",b.fc(68,92,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.Ab(3),b.Lc(" ",b.fc(71,94,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),b.Ab(2),b.kc("disabled",n.namespaceControl.invalid||n.namespaceControl.get("password").pending),b.Ab(1),b.Lc(" ",b.fc(74,96,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),b.Ab(6),b.Kc(b.fc(80,98,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),b.Ab(4),b.Kc(b.fc(84,100,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),b.Ab(2),b.kc("ngModel",n.sponsorType),b.Ab(1),b.lc("matTooltip",b.fc(87,102,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),b.kc("matTooltipDisabled",n.isSponsor),b.Ab(2),b.kc("disabled",!n.isSponsor),b.Ab(1),b.Lc(" ",b.fc(90,104,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),b.Ab(2),b.lc("matTooltip",b.fc(92,106,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),b.kc("matTooltipDisabled",n.isPerunAdmin),b.Ab(2),b.kc("disabled",!n.isPerunAdmin),b.Ab(1),b.Lc(" ",b.fc(95,108,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),b.Ab(2),b.kc("ngIf","other"===n.sponsorType),b.Ab(2),b.Kc(b.fc(99,110,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION")),b.Ab(5),b.Lc(" ",b.fc(104,112,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.Ab(3),b.Lc(" ",b.fc(107,114,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),b.Ab(2),b.kc("disabled",null===n.sponsorType||"other"===n.sponsorType&&null===n.selectedSponsor),b.Ab(1),b.Lc(" ",b.fc(110,116,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function Q(t,e){if(1&t&&(b.Sb(0,"div",6),b.Sb(1,"div",47),b.Sb(2,"mat-icon",48),b.Jc(3,"done"),b.Rb(),b.Jc(4),b.ec(5,"translate"),b.Sb(6,"i"),b.Jc(7),b.ec(8,"userFullName"),b.Rb(),b.Jc(9),b.ec(10,"translate"),b.Rb(),b.Sb(11,"div"),b.Jc(12),b.ec(13,"translate"),b.Rb(),b.Sb(14,"div"),b.Jc(15),b.ec(16,"translate"),b.Rb(),b.Sb(17,"app-alert",49),b.Jc(18),b.ec(19,"translate"),b.Rb(),b.Rb()),2&t){var i=b.dc();b.Ab(4),b.Lc(" ",b.fc(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),b.Ab(3),b.Kc(b.fc(8,10,i.createdMember.user)),b.Ab(2),b.Lc(" ",b.fc(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),b.Ab(3),b.Mc("",b.fc(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",i.loginThatWasSet,""),b.Ab(3),b.Mc("",b.fc(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",i.namespaceControl.get("password").value," "),b.Ab(3),b.Kc(b.fc(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function $(t,e){if(1&t){var i=b.Tb();b.Sb(0,"div",19),b.Sb(1,"button",50),b.Zb("click",(function(){return b.xc(i),b.dc().onCancel()})),b.Jc(2),b.ec(3,"translate"),b.Rb(),b.Rb()}2&t&&(b.Ab(2),b.Lc(" ",b.fc(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}var tt=function(){function t(){g(this,t)}return m(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&t.dirty)}}]),t}(),et=function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;return function(r){return Object(u.a)(n).pipe(Object(h.a)((function(){return i.dontHandleErrorForNext(),null===t||"No namespace"===t?Object(l.a)(null):e.checkPasswordStrength(r.value,t)})),Object(f.a)((function(){return null})),Object(p.a)((function(t){return Object(l.a)({backendError:t.error.message.substr(t.error.message.indexOf(":")+1)})})))}},it=function(){var t=function(){function t(e,i,n,r,a,o,s,c,u,l){g(this,t),this.dialogRef=e,this.data=i,this.membersService=n,this.apiRequestConfiguration=r,this.usersService=a,this.store=o,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.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 tt,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}return m(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(c.a.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.userControl=this.formBuilder.group({firstName:["",o.F.required],lastName:["",o.F.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",o.F.required],login:["",[o.F.required]],password:["",o.F.required,[et(null,this.usersService,this.apiRequestConfiguration)]],passwordReset:[!1,[]],showPassword:[!1,[]],email:["",[o.F.required,o.F.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=d(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=d(e);try{for(r.s();!(n=r.n()).done;){switch(n.value){case"login":t.login=i;break;case"password":t.password=i}}}catch(a){r.e(a)}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:"enableFormControl",value:function(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()}},{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"),a=this.namespaceControl.get("showPassword");"disabled"!==e.login?this.enableFormControl(i,"optional"===e.login?[]:[o.F.required]):(i.disable(),i.setValue("")),"disabled"!==e.password?(this.enableFormControl(n,"optional"===e.password?[]:[o.F.required],[et(t,this.usersService,this.apiRequestConfiguration)]),this.enableFormControl(r,[]),this.enableFormControl(a,[])):(n.disable(),n.setValue(""),r.disable(),r.setValue(!1),a.disable(),a.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":Object(s.I)(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)(b.Mb(n.i),b.Mb(n.a),b.Mb(r.i),b.Mb(a.b),b.Mb(r.q),b.Mb(a.m),b.Mb(v.e),b.Mb(r.d),b.Mb(a.h),b.Mb(o.f))},t.\u0275cmp=b.Gb({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.Sb(0,"div"),b.Hc(1,x,3,3,"h1",0),b.Hc(2,N,1,0,"mat-spinner",1),b.Hc(3,X,111,118,"div",2),b.Hc(4,Q,20,20,"div",2),b.Hc(5,$,4,3,"div",3),b.Rb()),2&t&&(b.Cb(e.theme),b.Ab(1),b.kc("ngIf",!e.successfullyCreated),b.Ab(1),b.kc("ngIf",e.loading),b.Ab(1),b.kc("ngIf",!e.loading&&!e.successfullyCreated),b.Ab(1),b.kc("ngIf",!e.loading&&e.successfullyCreated),b.Ab(1),b.kc("ngIf",e.successfullyCreated))},directives:[s.t,n.j,y.c,n.g,A.a,A.b,A.d,o.H,o.s,o.j,w.c,_.b,o.c,o.r,o.i,o.C,n.c,S.b,A.h,k.a,s.s,E.a,C.a,A.i,R.b,o.u,R.a,T.a,I.a,w.b,O.n,w.j,D.a,M.a],pipes:[v.d,P.a],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}()},"7fDV":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return t.substring(40)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"extSourceType",type:t,pure:!0}),t}()},"7ntQ":function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var r=i("ZTXN"),o=i("IdLP"),c=i("5uGe"),u=i("bwdy");function l(){return function(t){return t.lift(new f(t))}}var d,f=function(){function t(e){g(this,t),this.connectable=e}return m(t,[{key:"call",value:function(t,e){var i=this.connectable;i._refCount++;var n=new p(t,i),r=e.subscribe(n);return n.closed||(n.connection=i.connect()),r}}]),t}(),p=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).connectable=n,r}return m(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}(c.a),b=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this)).source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return m(i,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u.a).add(this.source.subscribe(new y(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.a.EMPTY)),t}},{key:"refCount",value:function(){return l()(this)}}]),i}(o.a),v={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(d=b.prototype)._subscribe},_isComplete:{value:d._isComplete,writable:!0},getSubject:{value:d.getSubject},connect:{value:d.connect},refCount:{value:d.refCount}},y=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).connectable=n,r}return m(i,[{key:"_error",value:function(t){this._unsubscribe(),n(h(i.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),n(h(i.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),i}(r.b);function A(){return new r.a}function w(){return function(t){return l()((e=A,function(t){var i;i="function"==typeof e?e:function(){return e};var n=Object.create(t,v);return n.source=t,n.subjectFactory=i,n})(t));var e}}},"7o/y":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?"invalid"===t.toLowerCase()||e&&"invalid"===t.toLowerCase()?"INACTIVE":t:"ACTIVE"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"transformMemberStatus",type:t,pure:!0}),t}()},"8clQ":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"C",(function(){return c})),i.d(e,"B",(function(){return u})),i.d(e,"v",(function(){return l})),i.d(e,"E",(function(){return h})),i.d(e,"F",(function(){return f})),i.d(e,"x",(function(){return p})),i.d(e,"w",(function(){return g})),i.d(e,"z",(function(){return b})),i.d(e,"t",(function(){return m})),i.d(e,"D",(function(){return v})),i.d(e,"h",(function(){return y})),i.d(e,"r",(function(){return A})),i.d(e,"b",(function(){return w})),i.d(e,"c",(function(){return _})),i.d(e,"G",(function(){return S})),i.d(e,"j",(function(){return k})),i.d(e,"k",(function(){return E})),i.d(e,"l",(function(){return C})),i.d(e,"m",(function(){return R})),i.d(e,"p",(function(){return T})),i.d(e,"e",(function(){return I})),i.d(e,"o",(function(){return O})),i.d(e,"d",(function(){return D})),i.d(e,"s",(function(){return M})),i.d(e,"y",(function(){return P})),i.d(e,"A",(function(){return x})),i.d(e,"q",(function(){return N})),i.d(e,"u",(function(){return L})),i.d(e,"g",(function(){return F})),i.d(e,"f",(function(){return z})),i.d(e,"n",(function(){return H})),i.d(e,"i",(function(){return B}));var n=i("D57K"),r=i("OZ4H"),a=i("2kYt"),o=i("etrl"),s=[5,10,25,100,1e3,1e4];function c(t){switch(t.status){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete"}}function u(t){switch(t.status){case"VALID":return"accent";case"INVALID":return"warn";default:return""}}function l(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 h(t){var e="";return t&&t.userAttributes.forEach((function(t){"preferredMail"===t.friendlyName&&(e=t.value)})),e}function f(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 p(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 g(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 b(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 m(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=d(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;"technical"===r.type&&(i+=r.name+", ")}}catch(a){n.e(a)}finally{n.f()}return i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function y(t,e){return Object(n.a)(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 A(t){return JSON.parse(localStorage.getItem(t))||[]}function w(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 _(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 S(t){var e="";return t&&t.userAttributes.forEach((function(t){"organization"===t.friendlyName&&(e=t.value)})),e}function k(t){return t.filter((function(t){return!t.namespace.includes("def:core")}))}function E(t,e){var i=e.find((function(e){return e.id===t}));return i?i.parentGroupId?E(i.parentGroupId,e).concat(i):[i]:[]}function C(t,e){var i,n=d(t);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.namespace+":"+r.friendlyName===e)return r}}catch(a){n.e(a)}finally{n.f()}return null}function R(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 T(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 I(){return{appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{en:{locale:"en",subject:"",text:""},cs:{locale:"cs",subject:"",text:""}}}}function O(){var t=new r.e;return t.disableClose=!0,t.autoFocus=!1,t}function D(){return{applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{en:{locale:"en",errorMessage:"",help:"",label:"",options:""},cs:{locale:"cs",errorMessage:"",help:"",label:"",options:""}},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null}}function M(t){return"virt"===t.namespace.split(":")[4]}function P(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?"invalid"===t.toLowerCase()||e&&"invalid"===t.toLowerCase()?"INACTIVE":t:"ACTIVE"}function x(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 N(t){var e=t.attributes.find((function(t){return"groupMembershipExpiration"===t.baseFriendlyName}));return e&&e.value?e.value:"Never"}function L(t){return t&&"never"!==t.toLowerCase()?Object(a.I)(t,"d.M.yyyy","en"):t}function F(t,e,i,n){var r=e.active,a=e.direction;return r&&""!==a?t.sort((function(t,e){var o=i(t,r,n),s=i(e,r,n);return new Intl.Collator("cs",{numeric:!0}).compare(o,s)*("asc"===a?1:-1)})):t}function z(t,e,i,n,r){e=e.toLowerCase();var a="";return i.forEach((function(e){a+=";"+n(t,e,r)})),-1!==a.toLowerCase().indexOf(e)}function H(t,e,i,n){var r=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter((function(t){return!a.includes(t)})),t.forEach((function(t){var a={};e.forEach((function(e){var r;a[e]=(null!==(r=i(t,e,n))&&void 0!==r?r:"").split('"').join("''").trim()})),r.push(a)})),r}function B(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]),a=t.map((function(t){return r.map((function(e){return JSON.stringify(t[e],n)})).join(",")}));a.unshift(r.join(",").split(" ").join("_").split('"').join("''"));var s=a.join("\r\n"),c=new Blob([s],{type:"text/csv"});Object(o.saveAs)(c,"".concat(i,".").concat(e))}}},"8cyV":function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n=i("EM62"),r=i("fAiE"),a=i("oqI+"),o=i("+0js"),s=i("8clQ"),c=i("OZ4H"),u=i("S17y"),l=i("2kYt"),h=i("bFHC"),d=i("Y2X+"),f=i("PBFl"),p=i("29Wa"),b=i("Cd2c");function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-icon",9),n.Zb("mousedown",(function(){return n.xc(i),n.dc(2).dragDisabled=!1})),n.Jc(1,"drag_indicator"),n.Rb()}}function y(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-icon",10),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc().edit(t)})),n.Jc(1,"edit"),n.Rb()}}function A(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-icon",11),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc().remove(t)})),n.Jc(1,"cancel"),n.Rb()}}function w(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-chip",4),n.Zb("removed",(function(){n.xc(i);var t=e.$implicit,r=n.dc();return r.remove(t),r._sendEventToParent()})),n.Hc(1,v,2,0,"mat-icon",5),n.Sb(2,"div",6),n.Zb("click",(function(){n.xc(i);var t=e.$implicit,r=n.dc();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(t,r.attribute.displayName)})),n.Jc(3),n.Rb(),n.Hc(4,y,2,0,"mat-icon",7),n.Hc(5,A,2,0,"mat-icon",8),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.kc("selectable",a.selectable)("cdkDragData",r)("removable",a.removable),n.Ab(1),n.kc("ngIf",a.removable),n.Ab(1),n.Eb("cursor-pointer",a.readonly&&void 0!==a.attribute.displayName),n.Ab(1),n.Kc(r),n.Ab(1),n.kc("ngIf",a.removable),n.Ab(1),n.kc("ngIf",a.removable)}}function _(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"more_horiz"),n.Rb())}function S(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"keyboard_arrow_up"),n.Rb())}function k(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div",12),n.Sb(1,"span",13),n.Sb(2,"button",14),n.Zb("click",(function(){return n.xc(i),n.dc().onShowChange()})),n.Hc(3,_,2,0,"mat-icon",15),n.Hc(4,S,2,0,"mat-icon",15),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("matTooltip",r.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.Ab(2),n.kc("ngIf",!r.showMore),n.Ab(1),n.kc("ngIf",r.showMore)}}function E(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-form-field",12),n.Sb(1,"input",16),n.Zb("matChipInputTokenEnd",(function(t){return n.xc(i),n.dc().add(t)}))("change",(function(){return n.xc(i),n.dc()._sendEventToParent()})),n.Rb(),n.Rb()}if(2&t){var r=n.dc(),a=n.tc(2);n.Ab(1),n.kc("matChipInputFor",a)("matChipInputSeparatorKeyCodes",r.separatorKeysCodes)("matChipInputAddOnBlur",r.addOnBlur)}}var C=function(){var t=function(){function t(e){g(this,t),this.dialog=e,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[r.g,r.c],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new n.o,this.readonly=!1}return m(t,[{key:"ngOnInit",value:function(){this.removable=!Object(s.s)(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=Object(s.s)(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=Object(s.o)();i.width="400px",i.data={name:t},this.dialog.open(o.a,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,Object(a.h)(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=Object(s.o)();n.width="600px",n.data={attribute:this.attribute,index:i},this.dialog.open(o.b,n).afterClosed().subscribe((function(t){t&&(e.values=Object.values(e.attribute.value),e.sendEventToParent.emit())}))}},{key:"showValue",value:function(t,e){var i=Object(s.o)();i.width="350px",i.data={value:t,title:e},this.dialog.open(o.n,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.Mb(c.b))},t.\u0275cmp=n.Gb({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.Sb(0,"div"),n.Sb(1,"mat-chip-list",0,1),n.Zb("cdkDropListDropped",(function(t){return e.drop(t),e._sendEventToParent()})),n.Hc(3,w,6,9,"mat-chip",2),n.Hc(4,k,5,4,"div",3),n.Hc(5,E,2,3,"mat-form-field",3),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.kc("cdkDropListDisabled",e.dragDisabled),n.Ab(2),n.kc("ngForOf",e.values.slice(0,e.itemsShown)),n.Ab(1),n.kc("ngIf",e.values.length>e.defaultItemsShown),n.Ab(1),n.kc("ngIf",!e.readonly))},directives:[u.d,a.e,l.s,l.t,u.a,a.a,h.a,d.a,f.b,p.c,b.b,u.c],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}()},"8j5Y":function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("5uGe");function r(){}var o=i("IJgj");function c(t,e,i){return function(n){return n.lift(new l(t,e,i))}}var l=function(){function t(e,i,n){g(this,t),this.nextOrObserver=e,this.error=i,this.complete=n}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new h(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),h=function(t){a(i,t);var e=s(i);function i(t,n,a,s){var c;return g(this,i),(c=e.call(this,t))._tapNext=r,c._tapError=r,c._tapComplete=r,c._tapError=a||r,c._tapComplete=s||r,Object(o.a)(n)?(c._context=u(c),c._tapNext=n):n&&(c._context=n,c._tapNext=n.next||r,c._tapError=n.error||r,c._tapComplete=n.complete||r),c}return m(i,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),i}(n.a)},"8lHc":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("IdLP"),r=i("Efrr"),a=i("KRZI"),o=i("gBlb");function s(){var t=arguments.length>0&&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 Object(a.a)(e)?s=Number(e)<1?1:Number(e):Object(o.a)(e)&&(i=e),Object(o.a)(i)||(i=r.a),new n.a((function(e){var n=Object(a.a)(t)?t:+t-i.now();return i.schedule(c,n,{index:0,period:s,subscriber:e})}))}function c(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)}}},"9Iem":function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("EM62"),r=i("cePI"),a=i("iAde"),o=i("cqs0"),s=i("FlRo"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("FcRk"),p=i("s2Ay");function b(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",20),n.Sb(1,"mat-checkbox",21),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function y(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",20),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Lc(" ",i.id," ")}}function w(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")))}function _(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.name)}}function S(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")))}function k(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.contact)}}function E(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")))}function C(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.type)}}function R(t,e){1&t&&n.Nb(0,"tr",24)}function T(t,e){1&t&&n.Nb(0,"tr",25)}function I(t,e){1&t&&(n.Sb(0,"app-alert",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS")))}function O(t,e){1&t&&(n.Sb(0,"app-alert",26),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS")))}var D=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.owners=[],this.hideColumns=[],this.selection=new o.c(!0,[]),this.pageSize=10,this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.page=new n.o,this.pageSizeOptions=c.a}return m(t,[{key:"ngAfterViewInit",value:function(){this.setDataSource()}},{key:"getDataForColumn",value:function(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""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(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 Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}},{key:"ngOnChanges",value:function(t){var e=this;this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.displayedColumns=this.displayedColumns.filter((function(t){return!e.hideColumns.includes(t)})),this.dataSource=new s.o(this.owners),this.setDataSource()}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matPaginator",set:function(t){this.paginator=t}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matPaginator=i.first),n.sc(i=n.ac())&&(e.matSort=i.first))},inputs:{owners:"owners",hideColumns:"hideColumns",selection:"selection",pageSize:"pageSize",filterValue:"filterValue",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSizeOptions","pageSize","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,b,2,3,"th",6),n.Hc(7,v,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",9),n.Hc(10,A,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,w,3,3,"th",9),n.Hc(13,_,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,S,3,3,"th",9),n.Hc(16,k,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,E,3,3,"th",9),n.Hc(19,C,2,1,"td",11),n.Pb(),n.Hc(20,R,1,0,"tr",14),n.Hc(21,T,1,0,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,I,3,3,"app-alert",17),n.Hc(24,O,3,3,"app-alert",17)),2&t&&(n.kc("hidden",!e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.owners.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.Ab(1),n.kc("ngIf",!e.owners.length),n.Ab(1),n.kc("ngIf",!e.dataSource.filteredData.length&&e.owners.length))},directives:[l.a,s.n,r.a,s.c,s.i,s.b,s.k,s.m,a.a,h.t,s.h,d.a,s.a,r.b,s.j,s.l,f.a],pipes:[p.d],styles:[""]}),t}()},"9RND":function(t){t.exports=JSON.parse('{"a":"0.24.0"}')},"9bRT":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("IdLP");function r(t){return!!t&&(t instanceof n.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"9wx0":function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),r=i("PBFl"),a=i("Jb3d"),o=i("bFHC"),s=i("s2Ay"),c=function(){var t=function t(){g(this,t),this.exportData=new n.o};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"div",0),n.Sb(1,"button",1),n.Sb(2,"mat-icon"),n.Jc(3,"more_vert"),n.Rb(),n.Rb(),n.Sb(4,"mat-menu",null,2),n.Sb(6,"button",3),n.Jc(7),n.ec(8,"translate"),n.Rb(),n.Rb(),n.Sb(9,"mat-menu",null,4),n.Sb(11,"button",5),n.Zb("click",(function(){return e.exportData.emit("csv")})),n.Jc(12,"Csv"),n.Rb(),n.Rb(),n.Rb()),2&t){var i=n.tc(5),r=n.tc(10);n.Ab(1),n.kc("matMenuTriggerFor",i),n.Ab(5),n.kc("matMenuTriggerFor",r),n.Ab(1),n.Lc(" ",n.fc(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[r.b,a.d,o.a,a.e,a.b],pipes:[s.d],styles:[".position-right[_ngcontent-%COMP%]{position:absolute;right:20px;margin:-1.25rem}"]}),t}()},A1vf:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("4sdY"),r=i("Sy1n"),a=i("EkAj"),o=i("Ssnw"),s=i("TkCa"),c=i("EM62");function u(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",9),c.Rb()),2&t){var i=e.$implicit,n=e.index,r=c.dc();c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",r.sideNav)("item",i)("index",n)}}function l(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){var i=e.$implicit,n=e.index,r=c.dc();c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.accessItems.length-1)}}function h(t,e){if(1&t&&c.Nb(0,"app-side-menu-root-item",2),2&t){var i=c.dc();c.kc("sideNav",i.sideNav)("item",i.facilityItem)}}function d(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){var i=e.$implicit,n=e.index,r=c.dc(2);c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.facilityItems.length-1)}}function f(t,e){if(1&t&&(c.Sb(0,"div"),c.Hc(1,d,2,5,"div",3),c.Rb()),2&t){var i=c.dc();c.Ab(1),c.kc("ngForOf",i.facilityItems)}}function p(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){var i=e.$implicit,n=e.index,r=c.dc();c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.userItems.length-1)}}function b(t,e){if(1&t&&c.Nb(0,"app-side-menu-root-item",6),2&t){var i=c.dc();c.kc("sideNav",i.sideNav)("showOpen",i.adminItemOpened)("item",i.adminItem)}}function v(t,e){if(1&t&&(c.Sb(0,"div",8),c.Nb(1,"app-side-menu-item",10),c.Rb()),2&t){var i=e.$implicit,n=e.index,r=c.dc(2);c.kc("@rollInOut",void 0),c.Ab(1),c.kc("sideNav",r.sideNav)("item",i)("index",n)("showLinks",!0)}}function y(t,e){if(1&t&&(c.Sb(0,"div"),c.Hc(1,v,2,5,"div",3),c.Rb()),2&t){var i=c.dc();c.Ab(1),c.kc("ngForOf",i.adminItems)}}var A=function(){var t=function(){function t(e,i,n,r){g(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 m(t,[{key:"ngOnInit",value:function(){var t=this;this.mobileView=window.innerWidth<=r.a.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,a=0;a3&&void 0!==arguments[3]?arguments[3]:null,u=arguments.length>4?arguments[4]:void 0,m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;g(this,t),this.matSelect=e,this.changeDetectorRef=i,this._viewportRuler=o,this.matOption=c,this.liveAnnouncer=u,this.matFormField=m,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.toggleAll=new n.o,this.onTouched=function(t){},this._options$=new l.a(null),this.optionsList$=this._options$.pipe(Object(p.a)((function(t){return t?t.changes.pipe(Object(b.a)((function(t){return t.toArray()})),Object(v.a)(t.toArray())):Object(h.a)(null)}))),this.optionsLength$=this.optionsList$.pipe(Object(b.a)((function(t){return t?t.length:0}))),this._formControl=new a.g(""),this._showNoEntriesFound$=Object(d.a)([this._formControl.valueChanges,this.optionsLength$]).pipe(Object(b.a)((function(t){var e=r(t,2),i=e[0],n=e[1];return s.noEntriesFoundLabel&&i&&n===s.getOptionsLengthOffset()}))),this._onDestroy=new f.a}return m(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.initMultiSelectedValuesTracking(),this.matSelect.openedChange.pipe(Object(y.a)(1),Object(A.a)(this._onDestroy)).subscribe((function(e){e?(t.updateInputWidth(),t.disableInitialFocus||t._focus()):t.clearSearchInput&&t._reset()})),this.matSelect.openedChange.pipe(Object(w.a)(1)).pipe(Object(A.a)(this._onDestroy)).subscribe((function(){t.matSelect._keyManager?t.matSelect._keyManager.change.pipe(Object(A.a)(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(Object(A.a)(t._onDestroy)).subscribe((function(){setTimeout((function(){var i=t._options.toArray()[t.getOptionsLengthOffset()],n=t.matSelect._keyManager;n&&t.matSelect.panelOpen&&(!t.matSelect.compareWith(e,i)&&n.setFirstItemActive(),setTimeout((function(){t.updateInputWidth()})),t.disableScrollToActiveOnOptionsChanged||t.adjustScrollTopToFitActiveOptionIntoView()),e=i}))}))})),this._showNoEntriesFound$.pipe(Object(A.a)(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(Object(A.a)(this._onDestroy)).subscribe((function(){t.matSelect.panelOpen&&t.updateInputWidth()})),this.initMultipleHandling(),this.optionsList$.pipe(Object(A.a)(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){(t.key&&1===t.key.length||t.keyCode>=u.a&&t.keyCode<=u.r||t.keyCode>=u.s&&t.keyCode<=u.k||t.keyCode===u.o||this.preventHomeEndKeyPropagation&&(t.keyCode===u.i||t.keyCode===u.f))&&t.stopPropagation(),!0===this.enableClearOnEscapePressed&&t.keyCode===u.h&&this.value&&(this._reset(!0),t.stopPropagation())}},{key:"_handleKeyup",value:function(t){if(t.keyCode===u.q||t.keyCode===u.e){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(Object(_.a)((function(t){return t!==e._lastExternalInputValue})),Object(S.a)((function(){return e._lastExternalInputValue=void 0})),Object(A.a)(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.valueChange.pipe(Object(A.a)(this._onDestroy)).subscribe((function(e){if(t.matSelect.multiple){var i=!1;if(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)}))}i&&(t.matSelect._onChange(e),t.previousSelectedValues=e)}}))}},{key:"adjustScrollTopToFitActiveOptionIntoView",value:function(){if(this.matSelect.panel&&this.matSelect.options.length>0){var t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=Object(o.w)(e,this.matSelect.options,this.matSelect.optionGroups),n=(this.matOption?-1:0)+i+e,r=this.matSelect.panel.nativeElement.scrollTop,a=this.innerSelectSearch.nativeElement.offsetHeight,c=Math.floor((s.d-a)/t),u=Math.round((r+a)/t)-1;u>=n?this.matSelect.panel.nativeElement.scrollTop=n*t:u+c<=n&&(this.matSelect.panel.nativeElement.scrollTop=(n+1)*t-(s.d-a))}}},{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:"initMultiSelectedValuesTracking",value:function(){var t=this;this._formControl.valueChanges.pipe(Object(v.a)(void 0),Object(k.a)((function(t,e){return{currentValue:e,previousValue:t.currentValue}}),{currentValue:void 0,previousValue:void 0}),Object(A.a)(this._onDestroy)).subscribe((function(e){var i=t._options?t._options.toArray():[];t.matSelect.multiple&&!e.previousValue&&(t.previousSelectedValues=i.filter((function(t){return t.selected})).map((function(t){return t.value})))}))}},{key:"getOptionsLengthOffset",value:function(){return this.matOption?1:0}},{key:"isInsideMatOption",get:function(){return!!this.matOption}},{key:"value",get:function(){return this._formControl.value}},{key:"_options",set:function(t){this._options$.next(t)},get:function(){return this._options$.getValue()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.a),n.Mb(n.h),n.Mb(D.h),n.Mb(o.n,8),n.Mb(M.k),n.Mb(c.c,8))},t.\u0275cmp=n.Gb({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){var r;1&t&&n.Fb(i,V,!0),2&t&&n.sc(r=n.ac())&&(e.clearIcon=r.first)},viewQuery:function(t,e){var i;1&t&&(n.Dc(P,!0,n.l),n.Dc(x,!0,n.l)),2&t&&(n.sc(i=n.ac())&&(e.searchSelectInput=i.first),n.sc(i=n.ac())&&(e.innerSelectSearch=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&n.Eb("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"},outputs:{toggleAll:"toggleAll"},features:[n.zb([{provide:a.p,useExisting:Object(n.U)((function(){return j})),multi:!0}])],ngContentSelectors:K,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&&(n.jc(G),n.Nb(0,"input",0),n.Sb(1,"div",1,2),n.Hc(3,N,1,5,"mat-checkbox",3),n.Sb(4,"input",4,5),n.Zb("keydown",(function(t){return e._handleKeydown(t)}))("keyup",(function(t){return e._handleKeyup(t)}))("blur",(function(){return e.onBlur()})),n.Rb(),n.Hc(6,L,1,0,"mat-spinner",6),n.Hc(7,H,4,2,"button",7),n.ic(8),n.Rb(),n.Hc(9,B,2,1,"div",8),n.ec(10,"async")),2&t&&(n.Ab(1),n.kc("ngClass",n.qc(11,U,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),n.Ab(2),n.kc("ngIf",e._isToggleAllCheckboxVisible()),n.Ab(1),n.kc("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),n.Bb("aria-label",e.ariaLabel),n.Ab(2),n.kc("ngIf",e.searching),n.Ab(1),n.kc("ngIf",e.value&&!e.searching),n.Ab(2),n.kc("ngIf",n.fc(10,9,e._showNoEntriesFound$)))},directives:[O.q,O.t,a.c,a.r,a.h,C.a,I.a,T.c,E.b,R.a],pipes:[O.b],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}(),J=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[O.c,a.B,E.c,C.b,R.b,T.b,I.b]]}),t}()},BnyX:function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("EM62"),r=i("29Wa"),a=i("Cd2c"),o=i("gcUQ"),s=i("nIj0"),c=i("s2Ay"),u=function(){var t=function(){function t(){g(this,t),this.datePicker=new n.o}return m(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.Gb({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.Tb();n.Sb(0,"mat-form-field",0),n.Zb("click",(function(){return n.xc(i),n.tc(7).open()})),n.Sb(1,"mat-label"),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"input",1),n.Zb("dateChange",(function(){return e.dateChange()})),n.Rb(),n.Nb(5,"mat-datepicker-toggle",2),n.Nb(6,"mat-datepicker",null,3),n.Rb(),n.Sb(8,"mat-form-field",4),n.Zb("click",(function(){return n.xc(i),n.tc(15).open()})),n.Sb(9,"mat-label"),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Sb(12,"input",1),n.Zb("dateChange",(function(){return e.dateChange()})),n.Rb(),n.Nb(13,"mat-datepicker-toggle",2),n.Nb(14,"mat-datepicker",null,5),n.Rb()}if(2&t){var r=n.tc(7),a=n.tc(15);n.Ab(2),n.Kc(n.fc(3,12,"VO_DETAIL.APPLICATION.DATE.START")),n.Ab(2),n.kc("matDatepicker",r)("min",e.startMinDate)("max",e.startMaxDate)("formControl",e.startDate),n.Ab(1),n.kc("for",r),n.Ab(5),n.Kc(n.fc(11,14,"VO_DETAIL.APPLICATION.DATE.END")),n.Ab(2),n.kc("matDatepicker",a)("min",e.endMinDate)("max",e.endMaxDate)("formControl",e.endDate),n.Ab(1),n.kc("for",a)}},directives:[r.c,r.g,a.b,o.f,s.c,s.r,s.h,o.h,r.j,o.d],pipes:[c.d],styles:[""]}),t}()},BwBJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("Efrr"),r=i("5uGe"),o=i("ryP2");function c(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.a,r=(e=t)instanceof Date&&!isNaN(+e)?+t-i.now():Math.abs(t);return function(t){return t.lift(new u(r,i))}}var u=function(){function t(e,i){g(this,t),this.delay=e,this.scheduler=i}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}]),t}(),l=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t)).delay=n,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return m(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(o.a.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(o.a.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 a=Math.max(0,i[0].time-n.now());this.schedule(t,a)}else this.unsubscribe(),e.active=!1}}]),i}(r.a),h=function t(e,i){g(this,t),this.time=e,this.notification=i}},C05f:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var r=i("ZTXN"),o=i("MiDb"),c=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this))._value=t,n}return m(i,[{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 o.a;return this._value}},{key:"next",value:function(t){n(h(i.prototype),"next",this).call(this,this._value=t)}},{key:"value",get:function(){return this.getValue()}}]),i}(r.a)},C5kn:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){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.Lb({name:"memberStatusIconColor",type:t,pure:!0}),t}()},CIWc:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&(s.Sb(0,"th",17),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")))}function p(t,e){if(1&t&&(s.Sb(0,"td",18),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.id," ")}}function b(t,e){1&t&&(s.Sb(0,"th",17),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")))}function v(t,e){if(1&t&&(s.Sb(0,"td",18),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.destination.destination," ")}}function y(t,e){1&t&&(s.Sb(0,"th",17),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function A(t,e){if(1&t&&(s.Sb(0,"td",18),s.Jc(1),s.ec(2,"date"),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",s.gc(2,1,i.timestamp,"d.M.y H:mm:ss")," ")}}function w(t,e){1&t&&s.Nb(0,"tr",19)}function _(t,e){1&t&&s.Nb(0,"tr",20)}function S(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,3,3,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Qb(11,13),s.Hc(12,b,3,3,"th",11),s.Hc(13,v,2,1,"td",12),s.Pb(),s.Qb(14,14),s.Hc(15,y,3,3,"th",11),s.Hc(16,A,3,4,"td",12),s.Pb(),s.Hc(17,w,1,0,"tr",15),s.Hc(18,_,1,0,"tr",16),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Kc(s.fc(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(10),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var k=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.taskManager=n,this.notificator=r,this.translate=a,this.loading=!1,this.dataSource=new o.o(this.data.taskResults),this.displayedColumns=["id","destination","time"]}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}},{key:"deleteResults",value:function(){var t=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(){t.deleteResults()}),(function(){return t.loading=!1}))}},{key:"onDelete",value:function(){this.deleteResults()}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(r.i),s.Mb(r.a),s.Mb(n.o),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"div"),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,S,19,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onDelete()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),s.Ab(2),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[c.d,u.f],styles:[""]}),t}()},COMt:function(t,e,i){"use strict";i.d(e,"a",(function(){return G}));var n=i("EM62"),r=i("cqs0"),a=i("iAde"),o=i("cePI"),s=i("FlRo"),c=i("8clQ"),u=i("Ssnw"),l=i("2kYt"),h=i("9wx0"),d=i("+Tre"),f=i("FcRk"),p=i("s2Ay");function b(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",23),n.Sb(1,"mat-checkbox",24),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function y(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function w(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")))}function _(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.destination.destination)}}function S(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")))}function k(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.destination.type.toUpperCase())}}function E(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")))}function C(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.service.name)}}function R(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")))}function T(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.status)}}function I(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")))}function O(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,i.timestamp,"d.M.y H:mm:ss"))}}function D(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")))}function M(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.returnCode)}}function P(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")))}function x(t,e){if(1&t&&(n.Sb(0,"span"),n.Jc(1),n.Nb(2,"br"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i)}}function N(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,x,3,1,"span",28),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngForOf",i.standardMessage.split("\n"))}}function L(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")))}function F(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.errorMessage)}}function z(t,e){1&t&&n.Nb(0,"tr",29)}function H(t,e){if(1&t&&n.Nb(0,"tr",30),2&t){var i=e.$implicit;n.Eb("yellowTableItem","WARNING"===i.status)("greenTableItem","DONE"===i.status)("redTableItem","ERROR"===i.status||"DENIED"===i.status)}}function B(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function j(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}var G=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.pageSizeOptions=c.a,this.taskResults=[],this.selection=new r.c(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.page=new n.o}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new s.o(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(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 Object(l.I)(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""}}},{key:"getSortDataForColumn",value:function(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 Object(l.I)(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""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=function(e,i){return Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getSortDataForColumn,t)})}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(a.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:40,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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"],["mat-cell","","class","static-column-size",4,"matCellDef"],["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,"yellowTableItem","greenTableItem","redTableItem",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,b,2,3,"th",6),n.Hc(7,v,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",9),n.Hc(10,A,2,1,"td",10),n.Pb(),n.Qb(11,11),n.Hc(12,w,3,3,"th",9),n.Hc(13,_,2,1,"td",10),n.Pb(),n.Qb(14,12),n.Hc(15,S,3,3,"th",9),n.Hc(16,k,2,1,"td",10),n.Pb(),n.Qb(17,13),n.Hc(18,E,3,3,"th",9),n.Hc(19,C,2,1,"td",10),n.Pb(),n.Qb(20,14),n.Hc(21,R,3,3,"th",9),n.Hc(22,T,2,1,"td",10),n.Pb(),n.Qb(23,15),n.Hc(24,I,3,3,"th",9),n.Hc(25,O,3,4,"td",10),n.Pb(),n.Qb(26,16),n.Hc(27,D,3,3,"th",9),n.Hc(28,M,2,1,"td",10),n.Pb(),n.Qb(29,17),n.Hc(30,P,3,3,"th",9),n.Hc(31,N,2,1,"td",10),n.Pb(),n.Qb(32,18),n.Hc(33,L,3,3,"th",9),n.Hc(34,F,2,1,"td",10),n.Pb(),n.Hc(35,z,1,0,"tr",19),n.Hc(36,H,1,6,"tr",20),n.Rb(),n.Rb(),n.Sb(37,"mat-paginator",21),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(38,B,3,3,"app-alert",22),n.Hc(39,j,3,3,"app-alert",22)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.taskResults.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(31),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.taskResults.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.taskResults.length),n.Ab(1),n.kc("ngIf",0===e.taskResults.length))},directives:[h.a,s.n,o.a,s.c,s.i,s.b,s.k,s.m,a.a,l.t,s.h,d.a,s.a,o.b,l.s,s.j,s.l,f.a],pipes:[p.d,l.f],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),t}()},Cd2c:function(t,e,i){"use strict";i.d(e,"a",(function(){return b})),i.d(e,"b",(function(){return w})),i.d(e,"c",(function(){return _})),i.d(e,"d",(function(){return f}));var n=i("H0K4"),r=i("EM62"),o=i("5XID"),c=i("cZZj"),u=i("mFH5"),l=i("29Wa"),h=i("ZTXN"),d=i("nIj0"),f=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"matAutosizeMinRows",get:function(){return this.minRows},set:function(t){this.minRows=t}},{key:"matAutosizeMaxRows",get:function(){return this.maxRows},set:function(t){this.maxRows=t}},{key:"matAutosize",get:function(){return this.enabled},set:function(t){this.enabled=t}},{key:"matTextareaAutosize",get:function(){return this.enabled},set:function(t){this.enabled=t}}]),i}(n.c);return t.\u0275fac=function(e){return p(e||t)},t.\u0275dir=r.Hb({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:[r.xb]}),t}(),p=r.Ub(f),b=new r.r("MAT_INPUT_VALUE_ACCESSOR"),v=["button","checkbox","file","hidden","image","radio","range","reset","submit"],y=0,A=Object(u.B)((function t(e,i,n,r){g(this,t),this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r})),w=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,u,l,d){var f;g(this,i),(f=e.call(this,s,a,o,r))._elementRef=t,f._platform=n,f.ngControl=r,f._autofillMonitor=l,f._uid="mat-input-"+y++,f.focused=!1,f.stateChanges=new h.a,f.controlType="mat-input",f.autofilled=!1,f._disabled=!1,f._required=!1,f._type="text",f._readonly=!1,f._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Object(c.e)().has(t)}));var p=f._elementRef.nativeElement,b=p.nodeName.toLowerCase();return f._inputValueAccessor=u||p,f._previousNativeValue=f.value,f.id=f.id,n.IOS&&d.runOutsideAngular((function(){t.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),f._isServer=!f._platform.isBrowser,f._isNativeSelect="select"===b,f._isTextarea="textarea"===b,f._isNativeSelect&&(f.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select"),f}return m(i,[{key:"ngOnInit",value:function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.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()}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_focusChanged",value:function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckNativeValue",value:function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}},{key:"_validateType",value:function(){if(v.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(o.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(o.c)(t)}},{key:"type",get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(c.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(t){this._readonly=Object(o.c)(t)}},{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}}]),i}(A);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(c.a),r.Mb(d.q,10),r.Mb(d.t,8),r.Mb(d.j,8),r.Mb(u.d),r.Mb(b,10),r.Mb(n.a),r.Mb(r.A))},t.\u0275dir=r.Hb({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&r.Zb("focus",(function(){return e._focusChanged(!0)}))("blur",(function(){return e._focusChanged(!1)}))("input",(function(){return e._onInput()})),2&t&&(r.Vb("disabled",e.disabled)("required",e.required),r.Bb("id",e.id)("placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),r.Eb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[r.zb([{provide:l.d,useExisting:t}]),r.xb,r.yb]}),t}(),_=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[u.d],imports:[[n.d,l.e],n.d,l.e]}),t}()},"D+oT":function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n=i("X2Q7"),r=i("iyZ4"),a=i("nyAh"),o=i("Ssnw"),s=i("nIj0"),c=i("EM62"),u=i("29Wa"),l=i("Cd2c"),h=i("PBFl"),d=i("bFHC"),f=i("2kYt"),p=i("csyo"),b=i("NC8S"),v=i("FcRk"),y=i("s2Ay");function A(t,e){1&t&&c.Nb(0,"mat-spinner",8)}var w=function(){return["user","id","name","email","logins","organization"]};function _(t,e){if(1&t){var i=c.Tb();c.Sb(0,"app-users-list",11),c.Zb("page",(function(t){return c.xc(i),c.dc(2).pageChanged(t)})),c.Rb()}if(2&t){var n=c.dc(2);c.kc("pageSize",n.pageSize)("displayedColumns",c.oc(3,w))("users",n.users)}}function S(t,e){1&t&&(c.Sb(0,"app-alert",12),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.kc("alert_type","info"),c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.USERS.SEARCH_INFO")," "))}function k(t,e){1&t&&(c.Sb(0,"app-alert",12),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.kc("alert_type","warn"),c.Ab(1),c.Lc(" ",c.fc(2,2,"ADMIN.USERS.NO_USERS_FOUND")," "))}function E(t,e){if(1&t&&(c.Sb(0,"div"),c.Hc(1,_,1,4,"app-users-list",9),c.Hc(2,S,3,4,"app-alert",10),c.Hc(3,k,3,4,"app-alert",10),c.Rb()),2&t){var i=c.dc();c.Ab(1),c.kc("ngIf",void 0!==i.users&&i.users.length>0),c.Ab(1),c.kc("ngIf",!i.firstSearchDone),c.Ab(1),c.kc("ngIf",i.firstSearchDone&&0===i.users.length)}}var C=function(){var t=function(){function t(e,i,n){g(this,t),this.usersService=e,this.storeService=i,this.tableConfigService=n,this.loading=!1,this.firstSearchDone=!1,this.tableId=r.n,this.attributes=[]}return m(t,[{key:"ngOnInit",value:function(){this.searchControl=new s.g("",[s.F.required,s.F.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.attributes=[a.a.USER_DEF_ORGANIZATION,a.a.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)(c.Mb(n.q),c.Mb(o.m),c.Mb(r.pb))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("router-component",!0)},decls:19,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.Sb(0,"div",0),c.Zb("keyup",(function(t){return e.onKeyInput(t)})),c.Sb(1,"h1",1),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Sb(4,"mat-form-field",2),c.Sb(5,"label"),c.Nb(6,"input",3),c.ec(7,"translate"),c.Rb(),c.Sb(8,"mat-error"),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Rb(),c.Sb(11,"button",4),c.Zb("click",(function(){return e.onSearchByString()})),c.Sb(12,"mat-icon"),c.Jc(13,"search"),c.Rb(),c.Rb(),c.Sb(14,"button",5),c.Zb("click",(function(){return e.findUsersWithoutVO()})),c.Jc(15),c.ec(16,"translate"),c.Rb(),c.Hc(17,A,1,0,"mat-spinner",6),c.Hc(18,E,4,3,"div",7),c.Rb()),2&t&&(c.Ab(2),c.Kc(c.fc(3,9,"ADMIN.USERS.TITLE")),c.Ab(4),c.lc("placeholder",c.fc(7,11,"ADMIN.USERS.SEARCH_PLACEHOLDER")),c.kc("formControl",e.searchControl),c.Ab(3),c.Lc(" ",c.fc(10,13,"ADMIN.USERS.EMPTY_SEARCH")," "),c.Ab(2),c.kc("disabled",e.loading),c.Ab(3),c.kc("disabled",e.loading),c.Ab(1),c.Lc(" ",c.fc(16,15,"ADMIN.USERS.USERS_WITHOUT_VO")," "),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[u.c,l.b,s.c,s.r,s.h,u.b,h.b,d.a,f.t,p.c,b.a,v.a],pipes:[y.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}"]}),t}()},D57K:function(t,e,i){"use strict";function n(t,e,i,n){var r,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,i,o):r(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o}function r(t,e,i,n){return new(i||(i=Promise))((function(r,a){function o(t){try{c(n.next(t))}catch(e){a(e)}}function s(t){try{c(n.throw(t))}catch(e){a(e)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}c((n=n.apply(t,e||[])).next())}))}i.d(e,"b",(function(){return n})),i.d(e,"a",(function(){return r}))},"DG/E":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var r=function(){var t=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;g(this,t),this.SchedulerAction=e,this.now=i}return m(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}(),o=function(t){a(i,t);var e=s(i);function i(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return g(this,i),(n=e.call(this,t,(function(){return i.delegate&&i.delegate!==u(n)?i.delegate.now():a()}))).actions=[],n.active=!1,n.scheduled=void 0,n}return m(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)},Dkjx:function(t,e,i){"use strict";i.d(e,"a",(function(){return D}));var n=i("OZ4H"),r=i("TkCa"),a=i("X2Q7"),o=i("nIj0"),s=i("EM62"),c=i("2kYt"),u=i("PBFl"),l=i("csyo"),h=i("29Wa"),d=i("R7+U"),f=i("+Tre"),p=i("mFH5"),b=i("Cd2c"),v=i("s2Ay");function y(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function A(t,e){1&t&&(s.Sb(0,"mat-option",19),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.SELECTION_ALL")))}function w(t,e){1&t&&(s.Sb(0,"mat-option",20),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.NO_SERVICE")))}function _(t,e){if(1&t&&(s.Sb(0,"mat-option",21),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i),s.Ab(1),s.Lc(" ",i.name," ")}}function S(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.CHOOSE_SERVICE")," "))}function k(t,e){if(1&t&&(s.Sb(0,"mat-option",21),s.Jc(1),s.Rb()),2&t){var i=e.$implicit,n=s.dc(2);s.kc("value",i),s.Ab(1),s.Lc(" ",n.getTypeForView(i)," ")}}function E(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.REQUIRED_FIELD")," "))}function C(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.INVALID_DESTINATION")," "))}function R(t,e){if(1&t&&(s.Sb(0,"mat-form-field",22),s.Nb(1,"input",23),s.Hc(2,E,3,3,"mat-error",13),s.Hc(3,C,3,3,"mat-error",13),s.Rb()),2&t){var i=s.dc(2);s.Ab(1),s.lc("placeholder",i.getTypeForView(i.selectedType)),s.kc("formControl",i.destinationControl),s.Ab(1),s.kc("ngIf","host"===i.selectedType&&!i.useFacilityHost&&i.destinationControl.hasError("required")),s.Ab(1),s.kc("ngIf",i.destinationControl.hasError("invalidDestination"))}}function T(t,e){if(1&t){var i=s.Tb();s.Sb(0,"mat-checkbox",24),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).useFacilityHost=t})),s.Jc(1),s.ec(2,"translate"),s.Rb()}if(2&t){var n=s.dc(2);s.kc("ngModel",n.useFacilityHost),s.Ab(1),s.Lc(" ",s.fc(2,2,"DIALOGS.ADD_SERVICE_DESTINATION.USE_FACILITY_HOST")," ")}}function I(t,e){if(1&t&&(s.Sb(0,"mat-option",21),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i),s.Ab(1),s.Lc(" ",i," ")}}function O(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",7),s.Sb(1,"div",8),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"mat-form-field"),s.Sb(5,"mat-select",9),s.ec(6,"translate"),s.Hc(7,A,3,3,"mat-option",10),s.Hc(8,w,3,3,"mat-option",11),s.Hc(9,_,2,2,"mat-option",12),s.Rb(),s.Hc(10,S,3,3,"mat-error",13),s.Rb(),s.Sb(11,"mat-checkbox",14),s.Zb("change",(function(){return s.xc(i),s.dc().getServices()}))("ngModelChange",(function(t){return s.xc(i),s.dc().servicesOnFacility=t})),s.Jc(12),s.ec(13,"translate"),s.Rb(),s.Sb(14,"mat-form-field"),s.Sb(15,"mat-select",15),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().selectedType=t}))("selectionChange",(function(){return s.xc(i),s.dc().destinationControl.updateValueAndValidity()})),s.ec(16,"translate"),s.Hc(17,k,2,2,"mat-option",12),s.Rb(),s.Rb(),s.Hc(18,R,4,4,"mat-form-field",16),s.Hc(19,T,3,4,"mat-checkbox",17),s.Sb(20,"mat-form-field"),s.Sb(21,"mat-select",18),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().selectedPropagation=t})),s.ec(22,"translate"),s.Hc(23,I,2,2,"mat-option",12),s.Rb(),s.Rb(),s.Sb(24,"div",8),s.Jc(25),s.ec(26,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Kc(s.fc(3,18,"DIALOGS.ADD_SERVICE_DESTINATION.DESCRIPTION")),s.Ab(3),s.lc("placeholder",s.fc(6,20,"DIALOGS.ADD_SERVICE_DESTINATION.SERVICE")),s.kc("formControl",n.serviceControl),s.Ab(2),s.kc("ngIf",0!==n.services.length),s.Ab(1),s.kc("ngIf",0===n.services.length),s.Ab(1),s.kc("ngForOf",n.services),s.Ab(1),s.kc("ngIf",null==n.serviceControl.value),s.Ab(1),s.kc("ngModel",n.servicesOnFacility),s.Ab(1),s.Kc(s.fc(13,22,"DIALOGS.ADD_SERVICE_DESTINATION.IS_SERVICES_ONLY_ON_FACILITY")),s.Ab(3),s.lc("placeholder",s.fc(16,24,"DIALOGS.ADD_SERVICE_DESTINATION.TYPE")),s.kc("ngModel",n.selectedType),s.Ab(2),s.kc("ngForOf",n.types),s.Ab(1),s.kc("ngIf",!("host"===n.selectedType&&n.useFacilityHost)),s.Ab(1),s.kc("ngIf","host"===n.selectedType),s.Ab(2),s.lc("placeholder",s.fc(22,26,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION")),s.kc("ngModel",n.selectedPropagation),s.Ab(2),s.kc("ngForOf",n.propagations),s.Ab(2),s.Lc(" ",s.fc(26,28,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION_TYPE_"+n.selectedPropagation)," ")}}var D=function(){var t=function(){function t(e,i,n,r){g(this,t),this.dialogRef=e,this.data=i,this.facilitiesManager=n,this.servicesManager=r,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-_.:/]*$")}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.serviceControl=new o.g(void 0,o.F.required),this.destinationControl=new o.g("",this.getDestinationValidator()),this.emailControl=new o.g("",[o.F.required,o.F.pattern(this.emailRegex)]),this.facilitiesManager.getHosts(this.data.facility.id).subscribe((function(e){t.hosts=e,t.servicesOnFacility=!0,t.getServices(),t.loading=!1}),(function(){return t.loading=!1}))}},{key:"getDestinationValidator",value:function(){var t=this;return function(e){if(!e.value)return null;var i;switch(t.selectedType){case"host":case"host-windows-proxy":i=t.hostPattern;break;case"email":case"semail":i=t.emailRegex;break;case"url":i=t.urlPattern;break;case"user@host":case"user@host-windows":i=t.userAtHostPattern;break;case"user@host:port":i=t.userAtHostPortPattern;break;case"service-specific":i=t.serviceSpecificPattern;break;default:return null}return i.test(e.value)?null:{invalidDestination:{value:e.value}}}}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,"all"===this.serviceControl.value?this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility({services:this.services,facility:this.data.facility.id}).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.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(){t.dialogRef.close(!0)}),(function(){return t.loading=!1})):this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(this.serviceControl.value.id,this.data.facility.id).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.loading=!1})):this.servicesManager.addDestination(this.serviceControl.value.id,this.data.facility.id,this.destinationControl.value,this.selectedType,this.selectedPropagation).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}},{key:"getServices",value:function(){var t=this;this.loading=!0,this.servicesOnFacility?this.servicesManager.getAssignedServices(this.data.facility.id).subscribe((function(e){t.services=e}),(function(){return t.loading=!1})):this.servicesManager.getServices().subscribe((function(e){t.services=e}),(function(){return t.loading=!1})),this.loading=!1,this.serviceControl.setValue(void 0)}},{key:"getTypeForView",value:function(t){return"semail"===t?"Send Mail":"service-specific"===t?"Service Specific":t}},{key:"invalidDestination",value:function(){return("host"!==this.selectedType||!this.useFacilityHost)&&this.destinationControl.invalid}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.g),s.Mb(a.n))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,y,1,0,"mat-spinner",1),s.Hc(5,O,27,30,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.data.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading||e.invalidDestination()||e.serviceControl.invalid||"noService"===e.serviceControl.value),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[n.j,c.t,n.c,u.b,l.c,n.g,h.c,d.a,o.C,o.r,o.h,c.s,f.a,o.u,p.n,h.b,b.b,o.c],pipes:[v.d],styles:[""],data:{animation:[r.c]}}),t}()},DnAX:function(t,e,i){"use strict";i.d(e,"a",(function(){return at}));var n=i("OZ4H"),r=i("X2Q7"),a=i("8clQ"),o=i("HHEo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),f=i("KZIX"),p=i("dEHC"),b=i("29Wa"),v=i("Cd2c"),y=i("nIj0"),A=i("+Tre"),w=i("R7+U"),_=i("mFH5"),S=i("6Xhx"),k=i("H0K4"),E=i("g3Wv"),C=i("rmDM"),R=i("Qgg6");function T(t,e){1&t&&s.Nb(0,"mat-spinner",7)}function I(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"section"),s.Sb(5,"mat-checkbox",20),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(3).applicationFormItem.updatable=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(3);s.Ab(1),s.kc("label",s.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",s.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.updatable)}}function O(t,e){if(1&t&&(s.Sb(0,"mat-option",23),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i.value),s.Ab(1),s.Lc(" ",i.displayName," ")}}function D(t,e){if(1&t&&(s.Sb(0,"mat-option",23),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i.value),s.Ab(1),s.Lc(" ",i.displayName," ")}}function M(t,e){if(1&t&&(s.Sb(0,"mat-option",23),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i.value),s.Ab(1),s.Lc(" ",i.displayName," ")}}function P(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",12),s.Sb(1,"mat-form-field",12),s.Sb(2,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(3).applicationFormItem.federationAttribute=t})),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(3);s.Ab(2),s.kc("ngModel",n.applicationFormItem.federationAttribute)}}function x(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"section"),s.Sb(5,"mat-checkbox",20),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.required=t})),s.Rb(),s.Rb(),s.Rb(),s.Hc(6,I,6,7,"div",16),s.Sb(7,"app-edit-application-form-item-line",11),s.ec(8,"translate"),s.ec(9,"translate"),s.Sb(10,"mat-form-field",12),s.Sb(11,"mat-select",17),s.Zb("valueChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.perunSourceAttribute=t})),s.Hc(12,O,2,2,"mat-option",18),s.Rb(),s.Rb(),s.Rb(),s.Sb(13,"app-edit-application-form-item-line",11),s.ec(14,"translate"),s.ec(15,"translate"),s.Sb(16,"mat-form-field",12),s.Sb(17,"mat-select",17),s.Zb("valueChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.perunDestinationAttribute=t})),s.Hc(18,D,2,2,"mat-option",18),s.Rb(),s.Rb(),s.Rb(),s.Sb(19,"app-edit-application-form-item-line",11),s.ec(20,"translate"),s.ec(21,"translate"),s.Sb(22,"mat-form-field",12),s.Sb(23,"mat-select",21),s.Zb("selectionChange",(function(){return s.xc(i),s.dc(2).federationAttributeschanged()}))("valueChange",(function(t){return s.xc(i),s.dc(2).federationAttribute=t})),s.Hc(24,M,2,2,"mat-option",18),s.Rb(),s.Rb(),s.Hc(25,P,3,1,"div",22),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",s.fc(3,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.required),s.Ab(1),s.kc("ngIf",n.typesWithUpdatable.indexOf(n.applicationFormItem.type)>-1),s.Ab(1),s.kc("label",s.fc(8,21,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",s.fc(9,23,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),s.Ab(4),s.kc("value",n.applicationFormItem.perunSourceAttribute),s.Ab(1),s.kc("ngForOf",n.sourceAttributes),s.Ab(1),s.kc("label",s.fc(14,25,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",s.fc(15,27,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),s.Ab(4),s.kc("value",n.applicationFormItem.perunDestinationAttribute),s.Ab(1),s.kc("ngForOf",n.destinationAttributes),s.Ab(1),s.kc("label",s.fc(20,29,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",s.fc(21,31,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),s.Ab(4),s.kc("value",n.federationAttribute),s.Ab(1),s.kc("ngForOf",n.federationAttributes),s.Ab(1),s.kc("ngIf","custom"===n.federationAttribute)}}function N(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.regex=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",s.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.regex)}}function L(t,e){if(1&t&&(s.Sb(0,"mat-option",23),s.Jc(1),s.ec(2,"applicationFormItemDisabled"),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i),s.Ab(1),s.Lc(" ",s.fc(2,2,i)," ")}}function F(t,e){if(1&t){var i=s.Tb();s.Sb(0,"perun-web-apps-app-form-item-search-select",24),s.Zb("itemSelected",(function(t){return s.xc(i),s.dc(3).disabledDependencyItem=t})),s.Rb()}if(2&t){var n=s.dc(3);s.kc("item",n.disabledDependencyItem)("items",n.possibleDependencyItems)}}function z(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"mat-select",17),s.Zb("valueChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.disabled=t})),s.Hc(6,L,3,4,"mat-option",18),s.Rb(),s.Rb(),s.Rb(),s.Sb(7,"app-edit-application-form-item-line",11),s.ec(8,"translate"),s.ec(9,"translate"),s.Sb(10,"div",12),s.Hc(11,F,1,2,"perun-web-apps-app-form-item-search-select",19),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",s.fc(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),s.Ab(4),s.kc("value",n.applicationFormItem.disabled),s.Ab(1),s.kc("ngForOf",n.disabledValues),s.Ab(1),s.kc("label",s.fc(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",s.fc(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),s.Ab(4),s.kc("ngIf",null!==n.disabledDependencyItem)}}function H(t,e){if(1&t&&(s.Sb(0,"mat-option",23),s.Jc(1),s.ec(2,"applicationFormItemHidden"),s.Rb()),2&t){var i=e.$implicit;s.kc("value",i),s.Ab(1),s.Lc(" ",s.fc(2,2,i)," ")}}function B(t,e){if(1&t){var i=s.Tb();s.Sb(0,"perun-web-apps-app-form-item-search-select",24),s.Zb("itemSelected",(function(t){return s.xc(i),s.dc(2).hiddenDependencyItem=t})),s.Rb()}if(2&t){var n=s.dc(2);s.kc("item",n.hiddenDependencyItem)("items",n.possibleDependencyItems)}}function j(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"textarea",25),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.en.label=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",s.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),s.Ab(4),s.kc("cdkTextareaAutosize",!0)("ngModel",n.applicationFormItem.i18n.en.label)}}function G(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.en.label=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(6,"app-edit-application-form-item-line",11),s.ec(7,"translate"),s.ec(8,"translate"),s.Sb(9,"mat-form-field",12),s.Sb(10,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.en.help=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(11,"app-edit-application-form-item-line",11),s.ec(12,"translate"),s.ec(13,"translate"),s.Sb(14,"mat-form-field",12),s.Sb(15,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.en.errorMessage=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",s.fc(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.en.label),s.Ab(1),s.kc("label",s.fc(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",s.fc(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.en.help),s.Ab(1),s.kc("label",s.fc(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",s.fc(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.en.errorMessage)}}function U(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.en.label=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",s.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.en.label)}}function K(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Jc(1),s.ec(2,"translate"),s.Sb(3,"mat-form-field"),s.Sb(4,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),e.$implicit[0]=t})),s.Rb(),s.Rb(),s.Jc(5),s.ec(6,"translate"),s.Sb(7,"mat-form-field"),s.Sb(8,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),e.$implicit[1]=t})),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=e.$implicit;s.Ab(1),s.Lc(" ",s.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),s.Ab(3),s.kc("ngModel",n[0]),s.Ab(1),s.Lc(" ",s.fc(6,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),s.Ab(3),s.kc("ngModel",n[1])}}function V(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"div",26),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",27),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"div",28),s.Sb(8,"button",29),s.Zb("click",(function(){return s.xc(i),s.dc(2).sortEnOptionsAZ()})),s.Sb(9,"i",30),s.Jc(10,"arrow_downward"),s.Rb(),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Sb(13,"button",31),s.Zb("click",(function(){return s.xc(i),s.dc(2).sortEnOptionsZA()})),s.Sb(14,"i",30),s.Jc(15,"arrow_upward"),s.Rb(),s.Jc(16),s.ec(17,"translate"),s.Rb(),s.Rb(),s.Hc(18,K,9,8,"div",32),s.Sb(19,"button",33),s.Zb("click",(function(){return s.xc(i),s.dc(2).addEnOption()})),s.Jc(20),s.ec(21,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(2),s.Lc("",s.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),s.Ab(3),s.Lc(" ",s.fc(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),s.Ab(6),s.Lc(" ",s.fc(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),s.Ab(5),s.Lc(" ",s.fc(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),s.Ab(2),s.kc("ngForOf",n.optionsEn),s.Ab(2),s.Lc(" ",s.fc(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}function q(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"textarea",25),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.cs.label=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",s.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),s.Ab(4),s.kc("cdkTextareaAutosize",!0)("ngModel",n.applicationFormItem.i18n.cs.label)}}function J(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.cs.label=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(6,"app-edit-application-form-item-line",11),s.ec(7,"translate"),s.ec(8,"translate"),s.Sb(9,"mat-form-field",12),s.Sb(10,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.cs.help=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(11,"app-edit-application-form-item-line",11),s.ec(12,"translate"),s.ec(13,"translate"),s.Sb(14,"mat-form-field",12),s.Sb(15,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.cs.errorMessage=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",s.fc(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.cs.label),s.Ab(1),s.kc("label",s.fc(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",s.fc(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.cs.help),s.Ab(1),s.kc("label",s.fc(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",s.fc(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.cs.errorMessage)}}function W(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"app-edit-application-form-item-line",11),s.ec(2,"translate"),s.ec(3,"translate"),s.Sb(4,"mat-form-field",12),s.Sb(5,"textarea",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc(2).applicationFormItem.i18n.cs.label=t})),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(1),s.kc("label",s.fc(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",s.fc(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.i18n.cs.label)}}function Z(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Jc(1),s.ec(2,"translate"),s.Sb(3,"mat-form-field"),s.Sb(4,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),e.$implicit[0]=t})),s.Rb(),s.Rb(),s.Jc(5),s.ec(6,"translate"),s.Sb(7,"mat-form-field"),s.Sb(8,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),e.$implicit[1]=t})),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=e.$implicit;s.Ab(1),s.Lc(" ",s.fc(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),s.Ab(3),s.kc("ngModel",n[0]),s.Ab(1),s.Lc(" ",s.fc(6,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),s.Ab(3),s.kc("ngModel",n[1])}}function Y(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"div",26),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",27),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"div",28),s.Sb(8,"button",29),s.Zb("click",(function(){return s.xc(i),s.dc(2).sortCsOptionsAZ()})),s.Sb(9,"i",30),s.Jc(10,"arrow_downward"),s.Rb(),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Sb(13,"button",31),s.Zb("click",(function(){return s.xc(i),s.dc(2).sortCsOptionsZA()})),s.Sb(14,"i",30),s.Jc(15,"arrow_upward"),s.Rb(),s.Jc(16),s.ec(17,"translate"),s.Rb(),s.Rb(),s.Hc(18,Z,9,8,"div",32),s.Sb(19,"button",33),s.Zb("click",(function(){return s.xc(i),s.dc(2).addCsOption()})),s.Jc(20),s.ec(21,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc(2);s.Ab(2),s.Lc("",s.fc(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),s.Ab(3),s.Lc(" ",s.fc(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),s.Ab(6),s.Lc(" ",s.fc(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),s.Ab(5),s.Lc(" ",s.fc(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),s.Ab(2),s.kc("ngForOf",n.optionsCs),s.Ab(2),s.Lc(" ",s.fc(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}var X=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},Q=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},$=function(){return["HEADING","HTML_COMMENT"]},tt=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},et=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},it=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function nt(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",8),s.Sb(1,"mat-tab-group",9),s.Sb(2,"mat-tab",10),s.ec(3,"translate"),s.Sb(4,"app-edit-application-form-item-line",11),s.ec(5,"translate"),s.ec(6,"translate"),s.Sb(7,"mat-form-field",12),s.Sb(8,"input",13),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().applicationFormItem.shortname=t})),s.Rb(),s.Rb(),s.Rb(),s.Sb(9,"app-edit-application-form-item-line",11),s.ec(10,"translate"),s.ec(11,"translate"),s.Jc(12),s.ec(13,"applicationFormItemType"),s.Rb(),s.Sb(14,"app-edit-application-form-item-line",11),s.ec(15,"translate"),s.ec(16,"translate"),s.Sb(17,"section"),s.Sb(18,"mat-checkbox",14),s.Zb("change",(function(){return s.xc(i),s.dc().onChangingType("INITIAL")})),s.Jc(19),s.ec(20,"translate"),s.Rb(),s.Sb(21,"mat-checkbox",15),s.Zb("change",(function(){return s.xc(i),s.dc().onChangingType("EXTENSION")})),s.Jc(22),s.ec(23,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Hc(24,x,26,33,"div",16),s.Hc(25,N,6,7,"div",16),s.Hc(26,z,12,15,"div",16),s.Sb(27,"app-edit-application-form-item-line",11),s.ec(28,"translate"),s.ec(29,"translate"),s.Sb(30,"mat-form-field",12),s.Sb(31,"mat-select",17),s.Zb("valueChange",(function(t){return s.xc(i),s.dc().applicationFormItem.hidden=t})),s.Hc(32,H,3,4,"mat-option",18),s.Rb(),s.Rb(),s.Rb(),s.Sb(33,"app-edit-application-form-item-line",11),s.ec(34,"translate"),s.ec(35,"translate"),s.Sb(36,"div",12),s.Hc(37,B,1,2,"perun-web-apps-app-form-item-search-select",19),s.Rb(),s.Rb(),s.Rb(),s.Sb(38,"mat-tab",10),s.ec(39,"translate"),s.Hc(40,j,6,8,"div",16),s.Hc(41,G,16,21,"div",16),s.Hc(42,U,6,7,"div",16),s.Hc(43,V,22,16,"div",16),s.Rb(),s.Sb(44,"mat-tab",10),s.ec(45,"translate"),s.Hc(46,q,6,8,"div",16),s.Hc(47,J,16,21,"div",16),s.Hc(48,W,6,7,"div",16),s.Hc(49,Y,22,16,"div",16),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.lc("label",s.fc(3,33,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),s.Ab(2),s.kc("label",s.fc(5,35,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",s.fc(6,37,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.shortname),s.Ab(1),s.kc("label",s.fc(10,39,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",s.fc(11,41,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(13,43,n.applicationFormItem.type)," "),s.Ab(2),s.kc("label",s.fc(15,45,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",s.fc(16,47,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),s.Ab(4),s.kc("ngModel",n.applicationFormItem.applicationTypes.includes("INITIAL")),s.Ab(1),s.Lc(" ",s.fc(20,49,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),s.Ab(2),s.kc("ngModel",n.applicationFormItem.applicationTypes.includes("EXTENSION")),s.Ab(1),s.Lc(" ",s.fc(23,51,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),s.Ab(2),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(65,X))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(66,Q))),s.Ab(1),s.kc("ngIf",n.typesWithDisabled.indexOf(n.applicationFormItem.type)>-1),s.Ab(1),s.kc("label",s.fc(28,53,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",s.fc(29,55,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),s.Ab(4),s.kc("value",n.applicationFormItem.hidden),s.Ab(1),s.kc("ngForOf",n.hiddenValues),s.Ab(1),s.kc("label",s.fc(34,57,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",s.fc(35,59,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),s.Ab(4),s.kc("ngIf",null!==n.hiddenDependencyItem),s.Ab(1),s.lc("label",s.fc(39,61,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_EN")),s.Ab(2),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(67,$))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(68,tt))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(69,et))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(70,it))),s.Ab(1),s.lc("label",s.fc(45,63,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_CS")),s.Ab(2),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(71,$))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(72,tt))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(73,et))),s.Ab(1),s.kc("ngIf",n.isApplicationFormItemOfType(s.oc(74,it)))}}var rt=function t(e,i){g(this,t),this.value=i,this.displayName=e},at=function(){var t=function(){function t(e,i,n,r){g(this,t),this.dialogRef=e,this.data=i,this.attributesManager=n,this.translateService=r,this.federationAttributes=[],this.federationAttribute="",this.sourceAttributes=[],this.destinationAttributes=[],this.optionsEn=[],this.optionsCs=[],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=["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"]}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.hiddenDependencyItem=this.data.allItems.find((function(e){return e.id===t.data.applicationFormItem.hiddenDependencyItemId})),this.hiddenDependencyItem||(this.hiddenDependencyItem=o.b),this.disabledDependencyItem=this.data.allItems.find((function(e){return e.id===t.data.applicationFormItem.disabledDependencyItemId})),this.disabledDependencyItem||(this.disabledDependencyItem=o.b),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=Object(a.d)(),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[o.b].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===o.b?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===o.b?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=d(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=d(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:"addEnOption",value:function(){this.optionsEn.push(["",""])}},{key:"addCsOption",value:function(){this.optionsCs.push(["",""])}},{key:"updateOptions",value:function(){var t,e="",i=d(this.optionsEn);try{for(i.s();!(t=i.n()).done;){var n=t.value;""!==n[0]&&""!==n[1]&&(e=""===e?n[0]+"#"+n[1]:e+"|"+n[0]+"#"+n[1])}}catch(c){i.e(c)}finally{i.f()}this.applicationFormItem.i18n.en.options=e;var r,a="",o=d(this.optionsCs);try{for(o.s();!(r=o.n()).done;){var s=r.value;""!==s[0]&&""!==s[1]&&(a=""===a?s[0]+"#"+s[1]:a+"|"+s[0]+"#"+s[1])}}catch(c){o.e(c)}finally{o.f()}this.applicationFormItem.i18n.cs.options=a}},{key:"getOptions",value:function(){if(this.applicationFormItem.i18n.en.options){var t,e=d(this.applicationFormItem.i18n.en.options.split("|"));try{for(e.s();!(t=e.n()).done;){var i=t.value.split("#");this.optionsEn.push([i[0],i[1]])}}catch(o){e.e(o)}finally{e.f()}}if(this.applicationFormItem.i18n.cs.options){var n,r=d(this.applicationFormItem.i18n.cs.options.split("|"));try{for(r.s();!(n=r.n()).done;){var a=n.value.split("#");this.optionsCs.push([a[0],a[1]])}}catch(o){r.e(o)}finally{r.f()}}}},{key:"sortEnOptionsAZ",value:function(){this.optionsEn=this.optionsEn.sort((function(t,e){return t[1]>e[1]?1:t[1]e[1]?-1:t[1]e[1]?-1:t[1]e[1]?1:t[1]-1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(r.c),s.Mb(c.e))},t.\u0275cmp=s.Gb({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,"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"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"div",0),s.Sb(2,"h1",1),s.Jc(3),s.ec(4,"translate"),s.Rb(),s.Hc(5,T,1,0,"mat-spinner",2),s.Hc(6,nt,50,75,"div",3),s.Sb(7,"div",4),s.Sb(8,"button",5),s.Zb("click",(function(){return e.cancel()})),s.Jc(9),s.ec(10,"translate"),s.Rb(),s.Sb(11,"button",6),s.Zb("click",(function(){return e.submit()})),s.Jc(12),s.ec(13,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Db("",e.theme," h-100"),s.Ab(3),s.Mc("",s.fc(4,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",e.applicationFormItem.shortname,""),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(10,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(13,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,f.c,f.a,p.a,b.c,v.b,y.c,y.r,y.u,A.a,w.a,u.s,_.n,S.a,k.c],pipes:[c.d,E.a,C.a,R.a],styles:[""]}),t}()},Ds80:function(t,e,i){"use strict";i.d(e,"a",(function(){return u}));var n=i("EM62"),r=i("2kYt"),a=i("bFHC"),o=i("Y2X+"),s=i("s2Ay");function c(t,e){1&t&&(n.Sb(0,"mat-icon",1),n.ec(1,"translate"),n.Jc(2," visibility\n"),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}var u=function(){var t=function(){function t(){g(this,t),this.recentIds=[]}return m(t,[{key:"ngOnChanges",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},features:[n.yb],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.Hc(0,c,3,3,"mat-icon",0),2&t&&n.kc("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[r.t,a.a,o.a],pipes:[s.d],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t}()},E5oP:function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return o}));var n=i("EM62"),r=i("2kYt"),a=new n.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(n.V)(r.e)}}),o=function(){var t=function(){function t(e){if(g(this,t),this.value="ltr",this.change=new n.o,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 m(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Wb(a,8))},t.\u0275prov=Object(n.Ib)({factory:function(){return new t(Object(n.Wb)(a,8))},token:t,providedIn:"root"}),t}(),s=function(){var t=function(){function t(){g(this,t),this._dir="ltr",this._isInitialized=!1,this.change=new n.o}return m(t,[{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this.change.complete()}},{key:"dir",get:function(){return this._dir},set:function(t){var e=this._dir,i=t?t.toLowerCase():t;this._rawDir=t,this._dir="ltr"===i||"rtl"===i?i:"ltr",e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}},{key:"value",get:function(){return this.dir}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Hb({type:t,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.Bb("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[n.zb([{provide:o,useExisting:t}])]}),t}(),c=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)}}),t}()},EFHi:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t){return Object(n.D)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"technicalOwners",type:t,pure:!0}),t}()},EM62:function(t,o,c){"use strict";c.d(o,"a",(function(){return za})),c.d(o,"b",(function(){return au})),c.d(o,"c",(function(){return tu})),c.d(o,"d",(function(){return Qc})),c.d(o,"e",(function(){return $c})),c.d(o,"f",(function(){return Zu})),c.d(o,"g",(function(){return zu})),c.d(o,"h",(function(){return Aa})),c.d(o,"i",(function(){return bu})),c.d(o,"j",(function(){return As})),c.d(o,"k",(function(){return cu})),c.d(o,"l",(function(){return ws})),c.d(o,"m",(function(){return Vu})),c.d(o,"n",(function(){return Gi})),c.d(o,"o",(function(){return Tc})),c.d(o,"p",(function(){return rt})),c.d(o,"q",(function(){return w})),c.d(o,"r",(function(){return nt})),c.d(o,"s",(function(){return Fa})),c.d(o,"t",(function(){return Bs})),c.d(o,"u",(function(){return js})),c.d(o,"v",(function(){return su})),c.d(o,"w",(function(){return vt})),c.d(o,"x",(function(){return Bu})),c.d(o,"y",(function(){return mt})),c.d(o,"z",(function(){return Pu})),c.d(o,"A",(function(){return yu})),c.d(o,"B",(function(){return _})),c.d(o,"C",(function(){return ru})),c.d(o,"D",(function(){return nu})),c.d(o,"E",(function(){return Oc})),c.d(o,"F",(function(){return Es})),c.d(o,"G",(function(){return Ss})),c.d(o,"H",(function(){return ks})),c.d(o,"I",(function(){return Rs})),c.d(o,"J",(function(){return Dn})),c.d(o,"K",(function(){return k})),c.d(o,"L",(function(){return Uu})),c.d(o,"M",(function(){return Vs})),c.d(o,"N",(function(){return Ru})),c.d(o,"O",(function(){return _a})),c.d(o,"P",(function(){return Ts})),c.d(o,"Q",(function(){return Js})),c.d(o,"R",(function(){return Tt})),c.d(o,"S",(function(){return xu})),c.d(o,"T",(function(){return sn})),c.d(o,"U",(function(){return j})),c.d(o,"V",(function(){return ft})),c.d(o,"W",(function(){return on})),c.d(o,"X",(function(){return Ju})),c.d(o,"Y",(function(){return Iu})),c.d(o,"Z",(function(){return ou})),c.d(o,"ab",(function(){return Sa})),c.d(o,"bb",(function(){return uc})),c.d(o,"cb",(function(){return In})),c.d(o,"db",(function(){return dn})),c.d(o,"eb",(function(){return Yi})),c.d(o,"fb",(function(){return Qi})),c.d(o,"gb",(function(){return nn})),c.d(o,"hb",(function(){return tn})),c.d(o,"ib",(function(){return $i})),c.d(o,"jb",(function(){return en})),c.d(o,"kb",(function(){return ac})),c.d(o,"lb",(function(){return qu})),c.d(o,"mb",(function(){return oc})),c.d(o,"nb",(function(){return sc})),c.d(o,"ob",(function(){return Xi})),c.d(o,"pb",(function(){return Z})),c.d(o,"qb",(function(){return Za})),c.d(o,"rb",(function(){return Ao})),c.d(o,"sb",(function(){return yo})),c.d(o,"tb",(function(){return rc})),c.d(o,"ub",(function(){return ae})),c.d(o,"vb",(function(){return z})),c.d(o,"wb",(function(){return Zi})),c.d(o,"xb",(function(){return ja})),c.d(o,"yb",(function(){return $t})),c.d(o,"zb",(function(){return ms})),c.d(o,"Ab",(function(){return Qn})),c.d(o,"Bb",(function(){return io})),c.d(o,"Cb",(function(){return Go})),c.d(o,"Db",(function(){return ss})),c.d(o,"Eb",(function(){return jo})),c.d(o,"Fb",(function(){return Uc})),c.d(o,"Gb",(function(){return Mt})),c.d(o,"Hb",(function(){return Bt})),c.d(o,"Ib",(function(){return T})),c.d(o,"Jb",(function(){return I})),c.d(o,"Kb",(function(){return Ft})),c.d(o,"Lb",(function(){return jt})),c.d(o,"Mb",(function(){return so})),c.d(o,"Nb",(function(){return po})),c.d(o,"Ob",(function(){return mo})),c.d(o,"Pb",(function(){return bo})),c.d(o,"Qb",(function(){return go})),c.d(o,"Rb",(function(){return fo})),c.d(o,"Sb",(function(){return ho})),c.d(o,"Tb",(function(){return vo})),c.d(o,"Ub",(function(){return zi})),c.d(o,"Vb",(function(){return cs})),c.d(o,"Wb",(function(){return dt})),c.d(o,"Xb",(function(){return co})),c.d(o,"Yb",(function(){return Xc})),c.d(o,"Zb",(function(){return wo})),c.d(o,"ac",(function(){return qc})),c.d(o,"bc",(function(){return Qe})),c.d(o,"cc",(function(){return Xe})),c.d(o,"dc",(function(){return Co})),c.d(o,"ec",(function(){return _c})),c.d(o,"fc",(function(){return Sc})),c.d(o,"gc",(function(){return kc})),c.d(o,"hc",(function(){return Ec})),c.d(o,"ic",(function(){return Io})),c.d(o,"jc",(function(){return To})),c.d(o,"kc",(function(){return uo})),c.d(o,"lc",(function(){return Oo})),c.d(o,"mc",(function(){return Do})),c.d(o,"nc",(function(){return Mo})),c.d(o,"oc",(function(){return pc})),c.d(o,"pc",(function(){return gc})),c.d(o,"qc",(function(){return bc})),c.d(o,"rc",(function(){return mc})),c.d(o,"sc",(function(){return Hc})),c.d(o,"tc",(function(){return oo})),c.d(o,"uc",(function(){return yi})),c.d(o,"vc",(function(){return vi})),c.d(o,"wc",(function(){return mi})),c.d(o,"xc",(function(){return Ee})),c.d(o,"yc",(function(){return Mn})),c.d(o,"zc",(function(){return Pn})),c.d(o,"Ac",(function(){return Pt})),c.d(o,"Bc",(function(){return zt})),c.d(o,"Cc",(function(){return Kc})),c.d(o,"Dc",(function(){return Bc})),c.d(o,"Ec",(function(){return Bo})),c.d(o,"Fc",(function(){return _o})),c.d(o,"Gc",(function(){return us})),c.d(o,"Hc",(function(){return ao})),c.d(o,"Ic",(function(){return Yc})),c.d(o,"Jc",(function(){return ts})),c.d(o,"Kc",(function(){return es})),c.d(o,"Lc",(function(){return is})),c.d(o,"Mc",(function(){return ns})),c.d(o,"Nc",(function(){return rs})),c.d(o,"Oc",(function(){return as})),c.d(o,"Pc",(function(){return os})),c.d(o,"Qc",(function(){return jc}));var l=c("ZTXN"),f=c("bwdy"),p=c("IdLP"),b=c("g6G6"),v=c("7ntQ");function y(t){return{toString:t}.toString()}function A(t,i,n){return y((function(){var r=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var i in e)this[i]=e[i]}}}(i);function a(){for(var t=arguments.length,i=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:E.Default;if(void 0===ct)throw new Error("inject() must be called from an injection context");return null===ct?pt(t,void 0,e):ct.get(t,e&E.Optional?null:void 0,e)}function dt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E.Default;return(K||ht)(G(t),e)}var ft=dt;function pt(t,e,i){var n=O(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&E.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND [".concat(z(t),"]"))}function gt(t){for(var e=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:at;if(e===at){var i=new Error("NullInjectorError: No provider for ".concat(z(t),"!"));throw i.name="NullInjectorError",i}return e}}]),t}(),mt=function t(){g(this,t)},vt=function t(){g(this,t)};function yt(t,e){t.forEach((function(t){return Array.isArray(t)?yt(t,e):e(t)}))}function At(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function wt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _t(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 kt(t,e){var i=Et(t,e);if(i>=0)return t[1|i]}function Et(t,e){return function(t,e,i){for(var n=0,r=t.length>>1;r!==n;){var a=n+(r-n>>1),o=t[a<<1];if(e===o)return a<<1;o>e?r=a:n=a+1}return~(r<<1)}(t,e)}var Ct,Rt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Tt=((Ct={})[Ct.Emulated=0]="Emulated",Ct[Ct.Native=1]="Native",Ct[Ct.None=2]="None",Ct[Ct.ShadowDom=3]="ShadowDom",Ct),It={},Ot=[],Dt=0;function Mt(t){return y((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===Rt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ot,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Tt.Emulated,id:"c",styles:t.styles||Ot,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,r=t.features,a=t.pipes;return i.id+=Dt++,i.inputs=Ht(t.inputs,e),i.outputs=Ht(t.outputs),r&&r.forEach((function(t){return t(i)})),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(xt)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(Nt)}:null,i}))}function Pt(t,e,i){var n=t.\u0275cmp;n.directiveDefs=function(){return e.map(xt)},n.pipeDefs=function(){return i.map(Nt)}}function xt(t){return Gt(t)||function(t){return t[X]||null}(t)}function Nt(t){return function(t){return t[Q]||null}(t)}var Lt={};function Ft(t){var e={type:t.type,bootstrap:t.bootstrap||Ot,declarations:t.declarations||Ot,imports:t.imports||Ot,exports:t.exports||Ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&y((function(){Lt[t.id]=t.type})),e}function zt(t,e){return y((function(){var i=Kt(t,!0);i.declarations=e.declarations||Ot,i.imports=e.imports||Ot,i.exports=e.exports||Ot}))}function Ht(t,e){if(null==t)return It;var i={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),i[r]=n,e&&(e[r]=a)}return i}var Bt=Mt;function jt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Gt(t){return t[Y]||null}function Ut(t,e){return t.hasOwnProperty(et)?t[et]:null}function Kt(t,e){var i=t[$]||null;if(!i&&!0===e)throw new Error("Type ".concat(z(t)," does not have '\u0275mod' property."));return i}function Vt(t){return Array.isArray(t)&&"object"==typeof t[1]}function qt(t){return Array.isArray(t)&&!0===t[1]}function Jt(t){return 0!=(8&t.flags)}function Wt(t){return 2==(2&t.flags)}function Zt(t){return 1==(1&t.flags)}function Yt(t){return null!==t.template}function Xt(t){return 0!=(512&t[2])}var Qt=function(){function t(e,i,n){g(this,t),this.previousValue=e,this.currentValue=i,this.firstChange=n}return m(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function $t(){return te}function te(t){return t.type.prototype.ngOnChanges&&(t.setInput=ie),ee}function ee(){var t=ne(this),e=null==t?void 0:t.current;if(e){var i=t.previous;if(i===It)t.previous=e;else for(var n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function ie(t,e,i,n){var r=ne(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:It,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[i],c=o[s];a[s]=new Qt(c&&c.currentValue,e,o===It),t[n]=e}function ne(t){return t.__ngSimpleChanges__||null}$t.ngInherit=!0;var re=void 0;function ae(t){re=t}function oe(){return void 0!==re?re:"undefined"!=typeof document?document:void 0}function se(t){return!!t.listen}var ce={createRenderer:function(t,e){return oe()}};function ue(t){for(;Array.isArray(t);)t=t[0];return t}function le(t,e){return ue(e[t+20])}function he(t,e){return ue(e[t.index])}function de(t,e){return t.data[e+20]}function fe(t,e){return t[e+20]}function pe(t,e){var i=e[t];return Vt(i)?i:i[0]}function ge(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function be(t){return 4==(4&t[2])}function me(t){return 128==(128&t[2])}function ve(t,e){return null===t||null==e?null:t[e]}function ye(t){t[18]=0}function Ae(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 we={lFrame:Ke(null),bindingsEnabled:!0,checkNoChangesMode:!1};function _e(){return we.bindingsEnabled}function Se(){return we.lFrame.lView}function ke(){return we.lFrame.tView}function Ee(t){we.lFrame.contextLView=t}function Ce(){return we.lFrame.currentTNode}function Re(t,e){we.lFrame.currentTNode=t,we.lFrame.isParent=e}function Te(){return we.lFrame.isParent}function Ie(){we.lFrame.isParent=!1}function Oe(){return we.checkNoChangesMode}function De(t){we.checkNoChangesMode=t}function Me(){var t=we.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Pe(){return we.lFrame.bindingIndex}function xe(){return we.lFrame.bindingIndex++}function Ne(t){var e=we.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Le(t,e){var i=we.lFrame;i.bindingIndex=i.bindingRootIndex=t,Fe(e)}function Fe(t){we.lFrame.currentDirectiveIndex=t}function ze(t){var e=we.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function He(){return we.lFrame.currentQueryIndex}function Be(t){we.lFrame.currentQueryIndex=t}function je(t,e){var i=Ue();we.lFrame=i,i.currentTNode=e,i.lView=t}function Ge(t){var e=Ue(),i=t[1];we.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex}function Ue(){var t=we.lFrame,e=null===t?null:t.child;return null===e?Ke(t):e}function Ke(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Ve(){var t=we.lFrame;return we.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var qe=Ve;function Je(){var t=Ve();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function We(){return we.lFrame.selectedIndex}function Ze(t){we.lFrame.selectedIndex=t}function Ye(){var t=we.lFrame;return de(t.tView,t.selectedIndex)}function Xe(){we.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Qe(){we.lFrame.currentNamespace=null}function $e(t,e){for(var i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[o]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e&&(t[2]+=2048,a.call(o)):a.call(o)}var ai=function t(e,i,n){g(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n};function oi(t,e,i){for(var n=se(t),r=0;re){o=a-1;break}}}for(;a>16,n=e;i>0;)n=n[15],i--;return n}function pi(t){return"string"==typeof t?t:null==t?"":""+t}function gi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():pi(t)}var bi=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Z);function mi(t){return{name:"window",target:t.ownerDocument.defaultView}}function vi(t){return{name:"document",target:t.ownerDocument}}function yi(t){return{name:"body",target:t.ownerDocument.body}}function Ai(t){return t instanceof Function?t():t}var wi=!0;function _i(t){var e=wi;return wi=t,e}var Si=0;function ki(t,e){var i=Ci(t,e);if(-1!==i)return i;var n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,Ei(n.data,t),Ei(e,null),Ei(n.blueprint,null));var r=Ri(t,e),a=t.injectorIndex;if(hi(r))for(var o=di(r),s=fi(r,e),c=s[1].data,u=0;u<8;u++)e[a+u]=s[o+u]|c[o+u];return e[a+8]=r,a}function Ei(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 Ri(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var i=0,n=null,r=e;null!==r;){var a=r[1],o=a.type;if(null===(n=2===o?a.declTNode:1===o?r[6]:null))return-1;if(i++,r=r[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function Ti(t,e,i){!function(t,e,i){var n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(it)&&(n=i[it]),null==n&&(n=i[it]=Si++);var r=255&n,a=1<3&&void 0!==arguments[3]?arguments[3]:E.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(it)?t[it]:void 0;return"number"==typeof e&&e>0?255&e:e}(i);if("function"==typeof a){je(e,t);try{var o=a();if(null!=o||n&E.Optional)return o;throw new Error("No provider for ".concat(gi(i),"!"))}finally{qe()}}else if("number"==typeof a){if(-1===a)return new Li(t,e);var s=null,c=Ci(t,e),u=-1,l=n&E.Host?e[16][6]:null;for((-1===c||n&E.SkipSelf)&&(-1!==(u=-1===c?Ri(t,e):e[c+8])&&Ni(n,!1)?(s=e[1],c=di(u),e=fi(u,e)):c=-1);-1!==c;){var h=e[1];if(xi(a,c,h.data)){var d=Di(c,e,i,s,n,l);if(d!==Oi)return d}-1!==(u=e[c+8])&&Ni(n,e[1].data[c+8]===l)&&xi(a,c,e)?(s=h,c=di(u),e=fi(u,e)):c=-1}}}if(n&E.Optional&&void 0===r&&(r=null),0==(n&(E.Self|E.Host))){var f=e[9],p=lt(void 0);try{return f?f.get(i,r,n&E.Optional):pt(i,r,n&E.Optional)}finally{lt(p)}}if(n&E.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(gi(i),"]"))}var Oi={};function Di(t,e,i,n,r,a){var o=e[1],s=o.data[t+8],c=Mi(s,o,i,null==n?Wt(s)&&wi:n!=o&&2===s.type,r&E.Host&&a===s);return null!==c?Pi(e,o,c,s):Oi}function Mi(t,e,i,n,r){for(var a=t.providerIndexes,o=e.data,s=1048575&a,c=t.directiveStart,u=a>>20,l=r?s+u:t.directiveEnd,h=n?s:s+u;h=c&&d.type===i)return h}if(r){var f=o[c];if(f&&Yt(f)&&f.type===i)return c}return null}function Pi(t,e,i,n){var r=t[i],a=e.data;if(r instanceof ai){var o=r;if(o.resolving)throw new Error("Circular dep for "+gi(a[i]));var s=_i(o.canSeeViewProviders);o.resolving=!0;var c=o.injectImpl?lt(o.injectImpl):null;je(t,n);try{r=t[i]=o.factory(void 0,a,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){var n=e.type.prototype,r=n.ngOnChanges,a=n.ngOnInit,o=n.ngDoCheck;if(r){var s=te(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,s),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,s)}a&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,a),o&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,o),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,o))}(i,a[i],e)}finally{null!==c&<(c),_i(s),o.resolving=!1,qe()}}return r}function xi(t,e,i){var n=64&t,r=32&t;return!!((128&t?n?r?i[e+7]:i[e+6]:r?i[e+5]:i[e+4]:n?r?i[e+3]:i[e+2]:r?i[e+1]:i[e])&1<1?e-1:0),n=1;n"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();An.hasOwnProperty(e)&&!bn.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(Tn(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: "+t.outerHTML);return e}}]),t}(),Cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rn=/([^\#-~ |!])/g;function Tn(t){return t.replace(/&/g,"&").replace(Cn,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Rn,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function In(t,e){var i=null;try{gn=gn||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new cn:new un(t)}(t);var n=e?String(e):"";i=gn.getInertBodyElement(n);var r=5,a=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=i.innerHTML,i=gn.getInertBodyElement(n)}while(n!==a);var o=new En,s=o.sanitizeChildren(On(i)||i);return on()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(i)for(var c=On(i)||i;c.firstChild;)c.removeChild(c.firstChild)}}function On(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Dn=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 Mn(t){var e=xn();return e?e.sanitize(Dn.HTML,t)||"":Yi(t,"HTML")?Zi(t):In(oe(),pi(t))}function Pn(t){var e=xn();return e?e.sanitize(Dn.URL,t)||"":Yi(t,"URL")?Zi(t):dn(pi(t))}function xn(){var t=Se();return t&&t[12]}function Nn(t,e){t.__ngContext__=e}function Ln(t,e,i){for(var n=t.length;;){var r=t.indexOf(e,i);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var a=e.length;if(r+a===n||t.charCodeAt(r+a)<=32)return r}i=r+1}}function Fn(t,e,i){for(var n=0;na?"":r[l+1].toLowerCase();var d=8&n?h:null;if(d&&-1!==Ln(d,u,0)||2&n&&u!==h){if(jn(n))return!1;o=!0}}}}else{if(!o&&!jn(n)&&!jn(c))return!1;if(o&&jn(c))continue;o=!1,n=c|1&n}}return jn(n)||o}function jn(t){return 0==(1&t)}function Gn(t,e,i,n){if(null===e)return-1;var r=0;if(n||!i){for(var a=!1;r-1)for(i++;i2&&void 0!==arguments[2]&&arguments[2],n=0;n0?'="'+s+'"':"")+"]"}else 8&n?r+="."+o:4&n&&(r+=" "+o);else""===r||jn(o)||(e+=Vn(a,r),r=""),n=o,a=a||!jn(n);i++}return""!==r&&(e+=Vn(a,r)),e}var Jn={};function Wn(t){var e=t[3];return qt(e)?e[3]:e}function Zn(t){return Xn(t[13])}function Yn(t){return Xn(t[4])}function Xn(t){for(;null!==t&&!qt(t);)t=t[4];return t}function Qn(t){$n(ke(),Se(),We()+t,Oe())}function $n(t,e,i,n){if(!n)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&ti(e,r,i)}else{var a=t.preOrderHooks;null!==a&&ei(e,a,0,i)}Ze(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 rr(t,e){return-131069&t|e<<2}function ar(t){return 1|t}function or(t,e){var i=t.contentQueries;if(null!==i)for(var n=0;n20&&$n(t,e,0,Oe()),i(n,r)}finally{Ze(a)}}function pr(t,e,i){if(Jt(e))for(var n=e.directiveEnd,r=e.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:he,n=e.localNames;if(null!==n)for(var r=e.index+1,a=0;a0&&function t(e){for(var i=Zn(e);null!==i;i=Yn(i))for(var n=10;n0&&t(r)}var o=e[1].components;if(null!==o)for(var s=0;s0&&t(c)}}(i)}}function Lr(t,e){var i=pe(e,t),n=i[1];!function(t,e){for(var i=e.length;i0&&(t[n-1][4]=r[4]);var o=wt(t,10+e);sa(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;var s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Xr(t,e){if(!(256&e[2])){var i=e[11];se(i)&&i.destroyNode&&sa(t,e,i,3,null,null),function(t){var e=t[13];if(!e)return Qr(t[1],t);for(;e;){var i=null;if(Vt(e))i=e[13];else{var n=e[10];n&&(i=n)}if(!i){for(;e&&!e[4]&&e!==t;)Vt(e)&&Qr(e[1],e),e=e[3];null===e&&(e=t),Vt(e)&&Qr(e[1],e),i=e&&e[4]}e=i}}(e)}}function Qr(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[c]():n[-c].unsubscribe(),r+=2}else i[r].call(n[i[r+1]]);e[7]=null}}(t,e),1===e[1].type&&se(e[11])&&e[11].destroy();var i=e[17];if(null!==i&&qt(e[3])){i!==e[3]&&Zr(i,e);var n=e[19];null!==n&&n.detachView(t)}}}function $r(t,e,i){for(var n=e.parent;null!=n&&(3===n.type||4===n.type);)n=(e=n).parent;if(null===n)return i[0];if(e&&4===e.type&&4&e.flags)return he(e,i).parentNode;if(2&n.flags){var r=t.data,a=r[r[n.index].directiveStart].encapsulation;if(a!==Tt.ShadowDom&&a!==Tt.Native)return null}return he(n,i)}function ta(t,e,i,n){se(t)?t.insertBefore(e,i,n):e.insertBefore(i,n,!0)}function ea(t,e,i){se(t)?t.appendChild(e,i):e.appendChild(i)}function ia(t,e,i,n){null!==n?ta(t,e,i,n):ea(t,e,i)}function na(t,e){return se(t)?t.parentNode(e):e.parentNode}function ra(t,e){return 3===t.type||4===t.type?he(t,e):null}function aa(t,e,i,n){var r=$r(t,n,e);if(null!=r){var a=e[11],o=ra(n.parent||e[6],e);if(Array.isArray(i))for(var s=0;s-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Xr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){yr(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){zr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Hr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,i){De(!0);try{Hr(t,e,i)}finally{De(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,sa(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}},{key:"rootNodes",get:function(){var t=this._lView,e=t[1];return function t(e,n,r,a){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var s=n[r.index];if(null!==s&&a.push(ue(s)),qt(s))for(var c=10;c0;)this.remove(this.length-1)}},{key:"get",value:function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}},{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 a=i||this.parentInjector;if(!r&&null==t.ngModule&&a){var o=a.get(mt,null);o&&(r=o)}var s=t.create(a,n,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var i=t._lView,n=i[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),qt(i[3])){var r=this.indexOf(t);if(-1!==r)this.detach(r);else{var a=i[3],o=new fa(a,a[6],a[3]);o.detach(o.indexOf(t))}}var s=this._adjustIndex(e),c=this._lContainer;!function(t,e,i,n){var r=10+n,a=i.length;n>0&&(i[r-1][4]=e),n1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return ba(e,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new Li(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var t=Ri(this._hostTNode,this._hostView);if(hi(t)){var e=fi(t,this._hostView),i=di(t);return new Li(e[1].data[i+8],e)}return new Li(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),n}(t));var o=n[i.index];if(qt(o))r=o;else{var c;if(3===i.type)c=ue(o);else if(c=n[11].createComment(""),Xt(n)){var u=n[11],l=he(i,n);ta(u,na(u,l),c,function(t,e){return se(t)?t.nextSibling(e):e.nextSibling}(u,l))}else aa(n[1],n,c,i);n[i.index]=r=xr(o,n,c,i),Fr(n,r)}return new fa(r,i,n)}function ya(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,e,i){if(!i&&Wt(t)){var n=pe(t.index,e);return new pa(n,n)}return 2===t.type||0===t.type||3===t.type||4===t.type?new pa(e[16],e):null}(Ce(),Se(),t)}var Aa=function(){var t=function t(){g(this,t)};return t.__NG_ELEMENT_ID__=function(){return wa()},t}(),wa=ya,_a=Function,Sa=new nt("Set Injector scope."),ka={},Ea={},Ca=[],Ra=void 0;function Ta(){return void 0===Ra&&(Ra=new bt),Ra}function Ia(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 Oa(t,i,e||Ta(),n)}var Oa=function(){function t(e,i,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;g(this,t),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];i&&yt(i,(function(t){return r.processProvider(t,e,i)})),yt([e],(function(t){return r.processInjectorType(t,[],o)})),this.records.set(rt,Pa(void 0,this));var s=this.records.get(Sa);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof e?null:z(e))}return m(t,[{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]:at,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E.Default;this.assertNotDestroyed();var n,r=ut(this);try{if(!(i&E.SkipSelf)){var a=this.records.get(t);if(void 0===a){var o=("function"==typeof(n=t)||"object"==typeof n&&n instanceof nt)&&O(t);a=o&&this.injectableDefInScope(o)?Pa(Da(t),ka):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&E.Self?Ta():this.parent).get(t,e=i&E.Optional&&e===at?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(z(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=z(e);if(Array.isArray(e))r=e.map(z).join(" -> ");else if("object"==typeof e){var a=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):z(s)))}r="{".concat(a.join(", "),"}")}return"".concat(i).concat(n?"("+n+")":"","[").concat(r,"]: ").concat(t.replace(ot,"\n "))}("\n"+t.message,r,"R3InjectorError",n),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,0,this.source)}throw s}finally{ut(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(z(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=G(t)))return!1;var r=M(t),a=null==r&&t.ngModule||void 0,o=void 0===a?t:a,s=-1!==i.indexOf(o);if(void 0!==a&&(r=M(a)),null==r)return!1;if(null!=r.imports&&!s){var c;i.push(o);try{yt(r.imports,(function(t){n.processInjectorType(t,e,i)&&(void 0===c&&(c=[]),c.push(t))}))}finally{}if(void 0!==c)for(var u=function(t){var e=c[t],i=e.ngModule,r=e.providers;yt(r,(function(t){return n.processProvider(t,i,r||Ca)}))},l=0;l0){var i=_t(e,"?");throw new Error("Can't resolve all parameters for ".concat(z(t),": (").concat(i.join(", "),")."))}var n=function(t){var e=t&&(t[P]||t[L]||t[N]&&t[N]());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 Ma(t,n,r){var a,o=void 0;if(Na(t)){var s=G(t);return Ut(s)||Da(s)}if(xa(t))o=function(){return G(t.useValue)};else if((a=t)&&a.useFactory)o=function(){return t.useFactory.apply(t,i(gt(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))o=function(){return dt(G(t.useExisting))};else{var c=G(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Ut(c)||Da(c);o=function(){return e(c,i(gt(t.deps)))}}return o}function Pa(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:i?[]:void 0}}function xa(t){return null!==t&&"object"==typeof t&&st in t}function Na(t){return"function"==typeof t}var La=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=Ia(t,e,i,n);return r._resolveInjectorDefTypes(),r}({name:i},e,t,i)},Fa=function(){var t=function(){function t(){g(this,t)}return m(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?La(t,e,""):La(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=at,t.NULL=new bt,t.\u0275prov=T({token:t,providedIn:"any",factory:function(){return dt(rt)}}),t.__NG_ELEMENT_ID__=-1,t}(),za=new nt("AnalyzeForEntryComponents");function Ha(t,e,i){var n=i?t.styles:null,r=i?t.classes:null,a=0;if(null!==e)for(var o=0;o=0;n--){var r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=ui(r.hostAttrs,i=ui(i,r.hostAttrs))}}(n)}function Ga(t){return t===It?{}:t===Ot?[]:t}function Ua(t,e){var i=t.viewQuery;t.viewQuery=i?function(t,n){e(t,n),i(t,n)}:e}function Ka(t,e){var i=t.contentQueries;t.contentQueries=i?function(t,n,r){e(t,n,r),i(t,n,r)}:e}function Va(t,e){var i=t.hostBindings;t.hostBindings=i?function(t,n){e(t,n),i(t,n)}:e}var qa=null;function Ja(){if(!qa){var t=Z.Symbol;if(t&&t.iterator)qa=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),i=0;i1&&void 0!==arguments[1]?arguments[1]:E.Default,i=Se();return null===i?dt(t,e):Ii(Ce(),i,G(t),e)}function co(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var i=t.attrs;if(i)for(var n=i.length,r=0;r2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0,r=Se(),a=ke(),o=Ce();return So(a,r,r[11],o,t,e,i,n),wo}function _o(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0,r=Ce(),a=Se(),o=ke();return So(o,a,Kr(ze(o.data),r,a),r,t,e,i,n),_o}function So(t,e,i,n,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=Zt(n),u=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),l=Ur(e),h=!0;if(2===n.type){var d=he(n,e),f=s?s(d):It,p=f.target||d,g=l.length,b=s?function(t){return s(ue(t[n.index])).target}:n.index;if(se(i)){var m=null;if(!s&&c&&(m=function(t,e,i,n){var r=t.cleanup;if(null!=r)for(var a=0;ac?s[c]:null}"string"==typeof o&&(a+=2)}return null}(t,e,r,n.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=a,m.__ngLastListenerFn__=a,h=!1;else{a=Eo(n,e,a,!1);var v=i.listen(f.name||p,r,a);l.push(a,v),u&&u.push(r,b,g,g+1)}}else a=Eo(n,e,a,!0),p.addEventListener(r,a,o),l.push(a),u&&u.push(r,b,g,o)}var y,A=n.outputs;if(h&&null!==A&&(y=A[r])){var w=y.length;if(w)for(var _=0;_0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(we.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,we.lFrame.contextLView))[8]}(t)}function Ro(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=Se(),r=ke(),a=ur(r,t,1,null,i||null);null===a.projection&&(a.projection=e),Ie(),function(t,e,i){ca(e[11],0,e,i,$r(t,i,e),ra(i.parent||e[6],e))}(r,n,a)}function Oo(t,e,i){return Do(t,"",e,"",i),Oo}function Do(t,e,i,n,r){var a=Se(),o=no(a,e,i,n);return o!==Jn&&wr(ke(),Ye(),a,t,o,a[11],r,!1),Do}function Mo(t,e,i,n,r,a,o){var s=Se(),c=ro(s,e,i,n,r,a);return c!==Jn&&wr(ke(),Ye(),s,t,c,s[11],o,!1),Mo}var Po=[];function xo(t,e,i,n,r){for(var a=t[i+1],o=null===e,s=n?er(a):nr(a),c=!1;0!==s&&(!1===c||o);){var u=t[s+1];No(t[s],e)&&(c=!0,t[s+1]=n?ar(u):ir(u)),s=n?er(u):nr(u)}c&&(t[i+1]=n?ir(a):ar(a))}function No(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Et(t,e)>=0}var Lo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Fo(t){return t.substring(Lo.key,Lo.keyEnd)}function zo(t,e){var i=Lo.textEnd;return i===e?-1:(e=Lo.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Lo.key=e,i),Ho(t,e,i))}function Ho(t,e,i){for(;e=0;i=zo(e,i))St(t,Fo(e),!0)}function Ko(t,e,i,n){var r=Se(),a=ke(),o=Ne(2);a.firstUpdatePass&&Jo(a,t,o,n),e!==Jn&&Qa(r,o,e)&&Yo(a,a.data[We()+20],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=z(Zi(t)))),t}(e,i),n,o)}function Vo(t,e,i,n){var r=ke(),a=Ne(2);r.firstUpdatePass&&Jo(r,null,a,n);var o=Se();if(i!==Jn&&Qa(o,a,i)){var s=r.data[We()+20];if($o(s,n)&&!qo(r,a)){var c=n?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(i=H(c,i||"")),lo(r,s,o,i,n)}else!function(t,e,i,n,r,a,o,s){r===Jn&&(r=Po);for(var c=0,u=0,l=0=t.expandoStartIndex}function Jo(t,e,i,n){var r=t.data;if(null===r[i+1]){var a=r[We()+20],o=qo(t,i);$o(a,n)&&null===e&&!o&&(e=!1),e=function(t,e,i,n){var r=ze(t),a=n?e.residualClasses:e.residualStyles;if(null===r)0===(n?e.classBindings:e.styleBindings)&&(i=Zo(i=Wo(null,t,e,i,n),e.attrs,n),a=null);else{var o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(i=Wo(r,t,e,i,n),null===a){var s=function(t,e,i){var n=i?e.classBindings:e.styleBindings;if(0!==nr(n))return t[er(n)]}(t,e,n);void 0!==s&&Array.isArray(s)&&function(t,e,i,n){t[er(i?e.classBindings:e.styleBindings)]=n}(t,e,n,s=Zo(s=Wo(null,t,e,s[1],n),e.attrs,n))}else a=function(t,e,i){for(var n=void 0,r=e.directiveEnd,a=1+e.directiveStylingLast;a0)&&(l=!0)}else u=i;if(r)if(0!==c){var d=er(t[s+1]);t[n+1]=tr(d,s),0!==d&&(t[d+1]=rr(t[d+1],n)),t[s+1]=131071&t[s+1]|n<<17}else t[n+1]=tr(s,0),0!==s&&(t[s+1]=rr(t[s+1],n)),s=n;else t[n+1]=tr(c,0),0===s?s=n:t[c+1]=rr(t[c+1],n),c=n;l&&(t[n+1]=ir(t[n+1])),xo(t,u,n,!0),xo(t,u,n,!1),function(t,e,i,n,r){var a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&Et(a,e)>=0&&(i[n+1]=ar(i[n+1]))}(e,u,t,n,a),o=tr(s,c),a?e.classBindings=o:e.styleBindings=o}(r,a,e,i,o,n)}}function Wo(t,e,i,n,r){var a=null,o=i.directiveEnd,s=i.directiveStylingLast;for(-1===s?s=i.directiveStart:s++;s0;){var c=t[r],u=Array.isArray(c),l=u?c[1]:c,h=null===l,d=i[r+1];d===Jn&&(d=h?Po:void 0);var f=h?kt(d,n):l===n?d:void 0;if(u&&!Qo(f)&&(f=kt(c,n)),Qo(f)&&(s=f,o))return s;var p=t[r+1];r=o?er(p):nr(p)}if(null!==e){var g=a?e.residualClasses:e.residualStyles;null!=g&&(s=kt(g,n))}return s}function Qo(t){return void 0!==t}function $o(t,e){return 0!=(t.flags&(e?16:32))}function ts(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=Se(),n=ke(),r=t+20,a=n.firstCreatePass?ur(n,t,2,null,null):n.data[r],o=i[r]=function(t,e){return se(e)?e.createText(t):e.createTextNode(t)}(e,i[11]);aa(n,i,o,a),Re(a,!1)}function es(t){return is("",t,""),es}function is(t,e,i){var n=Se(),r=no(n,t,e,i);return r!==Jn&&Jr(n,We(),r),is}function ns(t,e,i,n,r){var a=Se(),o=ro(a,t,e,i,n,r);return o!==Jn&&Jr(a,We(),o),ns}function rs(t,e,i,n,r,a,o){var s=Se(),c=function(t,e,i,n,r,a,o,s){var c=to(t,Pe(),i,r,o);return Ne(3),c?e+pi(i)+n+pi(r)+a+pi(o)+s:Jn}(s,t,e,i,n,r,a,o);return c!==Jn&&Jr(s,We(),c),rs}function as(t,e,i,n,r,a,o,s,c){var u=Se(),l=function(t,e,i,n,r,a,o,s,c,u){var l=eo(t,Pe(),i,r,o,c);return Ne(4),l?e+pi(i)+n+pi(r)+a+pi(o)+s+pi(c)+u:Jn}(u,t,e,i,n,r,a,o,s,c);return l!==Jn&&Jr(u,We(),l),as}function os(t,e,i,n,r,a,o,s,c,u,l){var h=Se(),d=function(t,e,i,n,r,a,o,s,c,u,l,h){var d=Pe(),f=eo(t,d,i,r,o,c);return f=Qa(t,d+4,l)||f,Ne(5),f?e+pi(i)+n+pi(r)+a+pi(o)+s+pi(c)+u+pi(l)+h:Jn}(h,t,e,i,n,r,a,o,s,c,u,l);return d!==Jn&&Jr(h,We(),d),os}function ss(t,e,i){Vo(St,Uo,no(Se(),t,e,i),!0)}function cs(t,e,i){var n=Se();return Qa(n,xe(),e)&&wr(ke(),Ye(),n,t,e,n[11],i,!0),cs}function us(t,e,i){var n=Se();if(Qa(n,xe(),e)){var r=ke(),a=Ye();wr(r,a,n,t,e,Kr(ze(r.data),a,n),i,!0)}return us}function ls(t,e,i,n,r){if(t=G(t),Array.isArray(t))for(var a=0;a>20;if(Na(t)||!t.multi){var p=new ai(u,r,so),g=fs(c,e,r?h:h+f,d);-1===g?(Ti(ki(l,s),o,c),hs(o,t,e.length),e.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(p),s.push(p)):(i[g]=p,s[g]=p)}else{var b=fs(c,e,h+f,d),m=fs(c,e,h,h+f),v=b>=0&&i[b],y=m>=0&&i[m];if(r&&!y||!r&&!v){Ti(ki(l,s),o,c);var A=function(t,e,i,n,r){var a=new ai(t,i,so);return a.multi=[],a.index=e,a.componentProviders=0,ds(a,r,n&&!i),a}(r?gs:ps,i.length,r,n,u);!r&&y&&(i[m].providerFactory=A),hs(o,t,e.length,0),e.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(A),s.push(A)}else hs(o,t,b>-1?b:m,ds(i[r?m:b],u,!r&&n));!r&&n&&y&&i[m].componentProviders++}}}function hs(t,e,i,n){var r=Na(e);if(r||e.useClass){var a=(e.useClass||e).prototype.ngOnDestroy;if(a){var o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=o.indexOf(i);-1===s?o.push(i,[n,a]):o[s+1].push(n,a)}else o.push(i,a)}}}function ds(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function fs(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=ke();if(n.firstCreatePass){var r=Yt(t);ls(i,n.data,n.blueprint,r,!0),ls(e,n.data,n.blueprint,r,!1)}}(i,n?n(t):t,e)}}}var vs=function t(){g(this,t)},ys=function(){function t(){g(this,t)}return m(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(z(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),As=function(){var t=function t(){g(this,t)};return t.NULL=new ys,t}(),ws=function(){var t=function t(e){g(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=function(){return _s(t)},t}(),_s=function(t){return ba(t,Ce(),Se())},Ss=function t(){g(this,t)},ks=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Es=function(){var t=function t(){g(this,t)};return t.__NG_ELEMENT_ID__=function(){return Cs()},t}(),Cs=function(){var t=Se(),e=pe(Ce().index,t);return function(t){var e=t[11];if(se(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Vt(e)?e:t)},Rs=function(){var t=function t(){g(this,t)};return t.\u0275prov=T({token:t,providedIn:"root",factory:function(){return null}}),t}(),Ts=function t(e){g(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},Is=new Ts("10.1.5"),Os=function(){function t(){g(this,t)}return m(t,[{key:"supports",value:function(t){return Za(t)}},{key:"create",value:function(t){return new Ms(t)}}]),t}(),Ds=function(t,e){return e},Ms=function(){function t(e){g(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||Ds}return m(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 a=!i||e&&e.currentIndex0&&la(u,h,y.join(" "))}if(a=de(p,0),void 0!==e)for(var A=a.projection=[],w=0;w null != ".concat(e," <=Actual]"))}(0,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var hc=new Map,dc=function(t){a(i,t);var e=s(i);function i(t,n){var r;g(this,i),(r=e.call(this))._parent=n,r._bootstrapComponents=[],r.injector=u(r),r.destroyCbs=[],r.componentFactoryResolver=new Ys(u(r));var a=Kt(t),o=t[tt]||null;return o&&lc(o),r._bootstrapComponents=Ai(a.bootstrap),r._r3Injector=Ia(t,n,[{provide:mt,useValue:u(r)},{provide:As,useValue:r.componentFactoryResolver}],z(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return m(i,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fa.THROW_IF_NOT_FOUND,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E.Default;return t===Fa||t===mt||t===rt?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}(mt),fc=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this)).moduleType=t,null!==Kt(t)&&function t(e){if(null!==e.\u0275mod.id){var i=e.\u0275mod.id;(function(t,e,i){if(e&&e!==i)throw new Error("Duplicate module registered for ".concat(t," - ").concat(z(e)," vs ").concat(z(e.name)))})(i,hc.get(i),e),hc.set(i,e)}var n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach((function(e){return t(e)}))}(t),n}return m(i,[{key:"create",value:function(t){return new dc(this.moduleType,t)}}]),i}(vt);function pc(t,e,i){var n=Me()+t,r=Se();return r[n]===Jn?Xa(r,n,i?e.call(i):e()):function(t,e){return t[e]}(r,n)}function gc(t,e,i,n){return yc(Se(),Me(),t,e,i,n)}function bc(t,e,i,n,r){return Ac(Se(),Me(),t,e,i,n,r)}function mc(t,e,i,n,r,a){return wc(Se(),Me(),t,e,i,n,r,a)}function vc(t,e){var i=t[e];return i===Jn?void 0:i}function yc(t,e,i,n,r,a){var o=e+i;return Qa(t,o,r)?Xa(t,o+1,a?n.call(a,r):n(r)):vc(t,o+1)}function Ac(t,e,i,n,r,a,o){var s=e+i;return $a(t,s,r,a)?Xa(t,s+2,o?n.call(o,r,a):n(r,a)):vc(t,s+2)}function wc(t,e,i,n,r,a,o,s){var c=e+i;return to(t,c,r,a,o)?Xa(t,c+3,s?n.call(s,r,a,o):n(r,a,o)):vc(t,c+3)}function _c(t,e){var i,n=ke(),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 Error("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 a=i.factory||(i.factory=Ut(i.type)),o=lt(so);try{var s=_i(!1),c=a();return _i(s),function(t,e,i,n){var r=i+20;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}(n,Se(),t,c),c}finally{lt(o)}}function Sc(t,e,i){var n=Se(),r=fe(n,t);return Rc(n,Cc(n,t)?yc(n,Me(),e,r.transform,i,r):r.transform(i))}function kc(t,e,i,n){var r=Se(),a=fe(r,t);return Rc(r,Cc(r,t)?Ac(r,Me(),e,a.transform,i,n,a):a.transform(i,n))}function Ec(t,e,i,n,r){var a=Se(),o=fe(a,t);return Rc(a,Cc(a,t)?wc(a,Me(),e,o.transform,i,n,r,o):o.transform(i,n,r))}function Cc(t,e){return t[1].data[e+20].pure}function Rc(t,e){return Wa.isWrapped(e)&&(e=Wa.unwrap(e),t[Pe()]=Jn),e}var Tc=function(t){a(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return g(this,i),(t=e.call(this)).__isAsync=n,t}return m(i,[{key:"emit",value:function(t){n(h(i.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,r){var a,o=function(t){return null},s=function(){return null};t&&"object"==typeof t?(a=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(a=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},e&&(o=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var c=n(h(i.prototype),"subscribe",this).call(this,a,o,s);return t instanceof f.a&&t.add(c),c}}]),i}(l.a);function Ic(){return this._results[Ja()]()}var Oc=function(){function t(){g(this,t),this.dirty=!0,this._results=[],this.changes=new Tc,this.length=0;var e=Ja(),i=t.prototype;i[e]||(i[e]=Ic)}return m(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){this._results=function t(e,i){void 0===i&&(i=e);for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];g(this,t),this.queries=e}return m(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=[],a=0;a3&&void 0!==arguments[3]?arguments[3]:null;g(this,t),this.predicate=e,this.descendants=i,this.isStatic=n,this.read=r},xc=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];g(this,t),this.queries=e}return m(t,[{key:"elementStart",value:function(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:-1;g(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}return m(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===this.metadata.descendants){for(var e=this._declarationNodeIndex,i=t.parent;null!==i&&3===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)r.push(s[c/2]);else{for(var l=o[c+1],h=i[-u],d=10;d0&&void 0!==arguments[0]?arguments[0]:E.Default,e=ya(!0);if(null!=e||t&E.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}var Qc=new nt("Application Initializer"),$c=function(){var t=function(){function t(e){var i=this;g(this,t),this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,e){i.resolve=t,i.reject=e}))}return m(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],i=function(){t.done=!0,t.resolve()};if(this.appInits)for(var n=0;n0&&(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/dist/task-tracking.js" 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)(dt(yu))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t}(),Tu=function(){var t=function(){function t(){g(this,t),this._applications=new Map,Du.addToWindow(this)}return m(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 Du.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t}();function Iu(t){Du=t}var Ou,Du=new(function(){function t(){g(this,t)}return m(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,i){return null}}]),t}()),Mu=new nt("AllowMultipleToken"),Pu=function t(e,i){g(this,t),this.name=e,this.token=i};function xu(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: "+e,r=new nt(n);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Nu();if(!a||a.injector.get(Mu,!1))if(t)t(i.concat(e).concat({provide:r,useValue:!0}));else{var o=i.concat(e).concat({provide:r,useValue:!0},{provide:Sa,useValue:"platform"});!function(t){if(Ou&&!Ou.destroyed&&!Ou.injector.get(Mu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ou=t.get(Lu);var e=t.get(nu,null);e&&e.forEach((function(t){return t()}))}(Fa.create({providers:o,name:n}))}return function(t){var e=Nu();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 Nu(){return Ou&&!Ou.destroyed?Ou:null}var Lu=function(){var t=function(){function t(e){g(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return m(t,[{key:"bootstrapModuleFactory",value:function(t,e){var i,n,r=this,a=(i=e?e.ngZone:void 0,n=e&&e.ngZoneEventCoalescing||!1,"noop"===i?new Cu:("zone.js"===i?void 0:i)||new yu({enableLongStackTrace:on(),shouldCoalesceEventChangeDetection:n})),o=[{provide:yu,useValue:a}];return a.run((function(){var e=Fa.create({providers:o,parent:r.injector,name:t.moduleType.name}),i=t.create(e),n=i.injector.get(Gi,null);if(!n)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy((function(){return Hu(r._modules,i)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(t){n.handleError(t)}})})),function(t,e,n){try{var a=((o=i.injector.get($c)).runInitializers(),o.donePromise.then((function(){return lc(i.injector.get(su,"en-US")||"en-US"),r._moduleDoBootstrap(i),i})));return yo(a)?a.catch((function(i){throw e.runOutsideAngular((function(){return t.handleError(i)})),i})):a}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var o}(n,a)}))}},{key:"bootstrapModule",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Fu({},i);return function(t,e,i){var n=new fc(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(zu);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(z(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:"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:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(dt(Fa))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t}();function Fu(t,e){return Array.isArray(e)?e.reduce(Fu,t):Object.assign(Object.assign({},t),e)}var zu=function(){var t=function(){function t(e,i,n,r,a,o){var s=this;g(this,t),this._zone=e,this._console=i,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=on(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var c=new p.a((function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){t.next(s._stable),t.complete()}))})),u=new p.a((function(t){var e;s._zone.runOutsideAngular((function(){e=s._zone.onStable.subscribe((function(){yu.assertNotInAngularZone(),vu((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))}))}))}));var i=s._zone.onUnstable.subscribe((function(){yu.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),i.unsubscribe()}}));this.isStable=Object(b.a)(c,u.pipe(Object(v.a)()))}return m(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 vs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);var r=i.isBoundToModule?void 0:this._injector.get(mt),a=i.create(Fa.NULL,[],e||i.selector,r);a.onDestroy((function(){n._unloadComponent(a)}));var o=a.injector.get(Ru,null);return o&&a.injector.get(Tu).registerApplication(a.location.nativeElement,o),this._loadComponent(a),on()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}},{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=d(this._views);try{for(i.s();!(e=i.n()).done;){e.value.detectChanges()}}catch(a){i.e(a)}finally{i.f()}if(this._enforceNoNewChanges){var n,r=d(this._views);try{for(r.s();!(n=r.n()).done;){n.value.checkNoChanges()}}catch(a){r.e(a)}finally{r.f()}}}catch(o){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(o)}))}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;Hu(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(au,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))}},{key:"_unloadComponent",value:function(t){this.detachView(t.hostView),Hu(this.components,t)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(t){return t.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(dt(yu),dt(ou),dt(Fa),dt(Gi),dt(As),dt($c))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t}();function Hu(t,e){var i=t.indexOf(e);i>-1&&t.splice(i,1)}var Bu=function t(){g(this,t)},ju=function t(){g(this,t)},Gu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Uu=function(){var t=function(){function t(e,i){g(this,t),this._compiler=e,this._config=i||Gu}return m(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],a=i[1];return void 0===a&&(a="default"),c("zn8P")(n).then((function(t){return t[a]})).then((function(t){return Ku(t,n,a)})).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],a="NgFactory";return void 0===n&&(n="default",a=""),c("zn8P")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(t){return t[n+a]})).then((function(t){return Ku(t,i,n)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(dt(bu),dt(ju,8))},t.\u0275prov=T({token:t,factory:t.\u0275fac}),t}();function Ku(t,e,i){if(!t)throw new Error("Cannot find '".concat(i,"' in '").concat(e,"'"));return t}var Vu=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(Aa)),qu=function(t){return null},Ju=xu(null,"core",[{provide:ru,useValue:"unknown"},{provide:Lu,deps:[Fa]},{provide:Tu,deps:[]},{provide:ou,deps:[]}]),Wu=[{provide:zu,useClass:zu,deps:[yu,ou,Fa,Gi,As,$c]},{provide:Qs,deps:[yu],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:$c,useClass:$c,deps:[[new _,Qc]]},{provide:bu,useClass:bu,deps:[]},eu,{provide:Bs,useFactory:function(){return Us},deps:[]},{provide:js,useFactory:function(){return Ks},deps:[]},{provide:su,useFactory:function(t){return lc(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new w(su),new _,new k]]},{provide:cu,useValue:"USD"}],Zu=function(){var t=function t(e){g(this,t)};return t.\u0275mod=Ft({type:t}),t.\u0275inj=I({factory:function(e){return new(e||t)(dt(zu))},providers:Wu}),t}()},ESXS:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function f(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&s.Nb(0,"th",15)}function b(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function v(t,e){1&t&&s.Nb(0,"tr",17)}function y(t,e){1&t&&s.Nb(0,"tr",18)}function A(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,p,1,0,"th",11),s.Hc(10,b,2,1,"td",12),s.Pb(),s.Hc(11,v,1,0,"tr",13),s.Hc(12,y,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=a,this.displayedColumns=["name"]}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new o.o(this.data.services)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var e,i=[],n=d(this.data.services);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.push(r.id)}}catch(a){n.e(a)}finally{n.f()}this.resourcesManager.removeServices(this.data.resourceId,i).subscribe((function(){t.translate.get("DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}),(function(){return t.loading=!1}))}},{key:"onCancel",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(r.l),s.Mb(c.e),s.Mb(a.m))},t.\u0275cmp=s.Gb({type:t,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(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,f,1,0,"mat-spinner",1),s.Hc(5,A,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DELETE")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[c.d],styles:[""]}),t}()},EWqr:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t,n)).scheduler=t,r.work=n,r.pending=!1,r}return m(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=!1,n=void 0;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{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){a(i,t);var e=s(i);function i(t,n){return g(this,i),e.call(this)}return m(i,[{key:"schedule",value:function(t){return this}}]),i}(i("bwdy").a))},Efrr:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EWqr"),r=new(i("DG/E").a)(n.a)},EkAj:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("Ssnw"),r=i("X2Q7"),a=i("8clQ"),o=i("t47Z"),s=i("nyAh"),c=i("EM62"),u=i("s2Ay"),l=function(){var t=function(){function t(e,i,n,r,a,o,s){g(this,t),this.translate=e,this.authResolver=i,this.store=n,this.apiRequest=r,this.attributesManager=a,this.notificator=o,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 m(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/"+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 o.a).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: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$"}),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}},{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/"+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:Object(a.w)(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:Object(a.w)(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/"+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/".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/"+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$"}),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),a=this.authResolver.isThisVoAdminOrObserver(t.id);if(r||n||a){var o=[];a&&o.push({label:"MENU_ITEMS.VO.EXPIRATION",url:["/organizations/".concat(t.id,"/settings/expiration")],activatedRegex:"/organizations/\\d+/settings/expiration$"}),r&&o.push({label:"MENU_ITEMS.VO.MANAGERS",url:["/organizations/".concat(t.id,"/settings/managers")],activatedRegex:"/organizations/\\d+/settings/managers$"}),a&&o.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:["/organizations/".concat(t.id,"/settings/applicationForm")],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),a&&o.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:["/organizations/".concat(t.id,"/settings/notifications")],activatedRegex:"/organizations/\\d+/settings/notifications$"}),n&&o.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:o,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: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.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:"^".concat(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:"^".concat(e,"/settings/associated-users")}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[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/"+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]),a=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[t]);if(i||n||r||a){var o=[];r&&o.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",t.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),n&&o.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",t.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),a&&o.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:["/facilities/".concat(t.id,"/settings/security-teams")],activatedRegex:"facilities/\\d+/settings/security-teams"}),i&&o.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:o,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]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[t]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[t]);return r&&a&&o&&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.a.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)(c.Wb(u.e),c.Wb(n.h),c.Wb(n.m),c.Wb(n.b),c.Wb(r.c),c.Wb(n.l),c.Wb(n.h))},t.\u0275prov=c.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},EkHC:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("cqs0"),r=i("X2Q7"),a=i("iyZ4"),o=i("8clQ"),s=(i("HHEo"),i("mEf3")),c=i("+0js"),u=i("IDQ9"),l=i("EM62"),h=i("OZ4H"),d=i("sEIs"),f=i("0XDM"),p=i("PBFl"),b=i("2kYt"),v=i("csyo"),y=i("LKLE"),A=i("s2Ay"),w=["list"];function _(t,e){1&t&&l.Nb(0,"mat-spinner",7)}function S(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-attributes-list",8,9),l.Zb("page",(function(t){return l.xc(i),l.dc().pageChanged(t)})),l.Rb()}if(2&t){var n=l.dc();l.kc("pageSize",n.pageSize)("attributes",n.attributes)("selection",n.selection)}}var k=function(){var t=function(){function t(e,i,r,o,s){g(this,t),this.dialog=e,this.attributesManager=i,this.tableConfigService=r,this.userService=o,this.route=s,this.loading=!1,this.selection=new n.c(!0,[]),this.tableId=a.r,this.attributes=[]}return m(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=Object(o.j)(e),t.selection.clear(),t.loading=!1}))}},{key:"onAdd",value:function(){var t=this,e=Object(o.o)();e.width="1050px",e.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(u.a,e).afterClosed().subscribe((function(e){"saved"===e&&t.refreshTable()}))}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e=Object(o.o)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(c.f,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"onRemove",value:function(){var t=this,e=Object(o.o)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(s.a,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)(l.Mb(h.b),l.Mb(r.c),l.Mb(a.pb),l.Mb(r.q),l.Mb(d.a))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-identity-detail"]],viewQuery:function(t,e){var i;1&t&&l.Qc(w,!0),2&t&&l.sc(i=l.ac())&&(e.list=i.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&&(l.Sb(0,"div"),l.Sb(1,"h1",0),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"perun-web-apps-refresh-button",1),l.Zb("refresh",(function(){return e.refreshTable()})),l.Rb(),l.Sb(5,"button",2),l.Zb("click",(function(){return e.onSave()})),l.Jc(6),l.ec(7,"translate"),l.Rb(),l.Sb(8,"button",3),l.Zb("click",(function(){return e.onAdd()})),l.Jc(9),l.ec(10,"translate"),l.Rb(),l.Sb(11,"button",4),l.Zb("click",(function(){return e.onRemove()})),l.Jc(12),l.ec(13,"translate"),l.Rb(),l.Hc(14,_,1,0,"mat-spinner",5),l.Hc(15,S,2,3,"perun-web-apps-attributes-list",6),l.Rb()),2&t&&(l.Ab(2),l.Mc("",l.fc(3,9,"SHARED.IDENTITY_DETAIL.TITLE")," - ",e.userExtSource?e.userExtSource.extSource.name:"",""),l.Ab(3),l.kc("disabled",0===e.selection.selected.length),l.Ab(1),l.Kc(l.fc(7,11,"SHARED.IDENTITY_DETAIL.SAVE")),l.Ab(3),l.Kc(l.fc(10,13,"SHARED.IDENTITY_DETAIL.ADD")),l.Ab(2),l.kc("disabled",0===e.selection.selected.length),l.Ab(1),l.Kc(l.fc(13,15,"SHARED.IDENTITY_DETAIL.REMOVE")),l.Ab(2),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading))},directives:[f.a,p.b,b.t,v.c,y.a],pipes:[A.d],styles:[""]}),t}()},"EtR/":function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("2kYt"),s=i("nIj0"),c=i("cqs0"),u=i("nyAh"),l=i("iyZ4"),h=i("EM62"),d=i("s2Ay"),f=i("29Wa"),p=i("Cd2c"),b=i("PBFl"),v=i("HMTk"),y=i("csyo"),A=i("nz2m"),w=i("FcRk");function _(t,e){1&t&&h.Nb(0,"mat-spinner",12)}var S=function(){return["groupStatus","organization","logins","type"]};function k(t,e){if(1&t){var i=h.Tb();h.Sb(0,"perun-web-apps-members-list",13),h.Zb("page",(function(t){return h.xc(i),h.dc().pageChanged(t)})),h.Rb()}if(2&t){var n=h.dc();h.kc("pageSize",n.pageSize)("hidden",n.loading)("members",n.members)("selection",n.selection)("hideColumns",h.oc(6,S))("disableRouting",!0)}}function E(t,e){1&t&&(h.Sb(0,"app-alert",14),h.Jc(1),h.ec(2,"translate"),h.Rb()),2&t&&(h.Ab(1),h.Lc(" ",h.fc(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}var C=function(){var t=function(){function t(e,i,n,r,a,o,u){g(this,t),this.dialogRef=e,this.data=i,this.store=n,this.membersService=r,this.notificator=a,this.translate=o,this.tableConfigService=u,this.loading=!1,this.tableId=l.h,this.expiration="never",this.searchCtrl=new s.g("",[s.F.required]),this.firstSearchDone=!1,this.members=[],this.selection=new c.c(!0,[])}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"sponsor",value:function(t){var e=this;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);var i=t.pop();i.sponsored?this.membersService.sponsorMember(i.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe((function(){e.sponsor(t)}),(function(){return e.loading=!1})):this.membersService.setSponsorshipForMember(i.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe((function(){e.sponsor(t)}),(function(){return e.loading=!1}))}},{key:"onSubmit",value:function(){this.loading=!0;var t=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(t)}},{key:"setExpiration",value:function(t){this.expiration="never"===t?"never":Object(o.I)(t,"yyyy-MM-dd","en-GB")}},{key:"onSearchByString",value:function(){var t=this;this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.firstSearchDone=!0,this.loading=!0,this.selection.clear(),this.membersService.findCompleteRichMembersForVo(this.data.voId,[u.a.MEMBER_DEF_EXPIRATION,u.a.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe((function(e){t.members=e,t.loading=!1}),(function(){return t.loading=!1})))}},{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)(h.Mb(n.i),h.Mb(n.a),h.Mb(r.m),h.Mb(a.i),h.Mb(r.l),h.Mb(d.e),h.Mb(l.pb))},t.\u0275cmp=h.Gb({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","hideColumns","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","hideColumns","disableRouting","page"],["alert_type","warn"]],template:function(t,e){1&t&&(h.Sb(0,"div"),h.Sb(1,"h1",0),h.Jc(2),h.ec(3,"translate"),h.Rb(),h.Sb(4,"div",1),h.Sb(5,"mat-form-field",2),h.Sb(6,"label"),h.Sb(7,"input",3),h.Zb("keyup.enter",(function(){return e.onSearchByString()})),h.ec(8,"translate"),h.Rb(),h.Rb(),h.Sb(9,"mat-error"),h.Jc(10),h.ec(11,"translate"),h.Rb(),h.Rb(),h.Sb(12,"button",4),h.Zb("click",(function(){return e.onSearchByString()})),h.Jc(13),h.ec(14,"translate"),h.Rb(),h.Hc(15,_,1,0,"mat-spinner",5),h.Hc(16,k,1,7,"perun-web-apps-members-list",6),h.Hc(17,E,3,3,"app-alert",7),h.Sb(18,"div"),h.Nb(19,"br"),h.Sb(20,"h6"),h.Jc(21),h.ec(22,"translate"),h.Rb(),h.Sb(23,"perun-web-apps-expiration-select",8),h.Zb("datePicker",(function(t){return e.setExpiration(t)})),h.Rb(),h.Rb(),h.Rb(),h.Sb(24,"div",9),h.Sb(25,"button",10),h.Zb("click",(function(){return e.onCancel()})),h.Jc(26),h.ec(27,"translate"),h.Rb(),h.Sb(28,"button",11),h.Zb("click",(function(){return e.onSubmit()})),h.Jc(29),h.ec(30,"translate"),h.Rb(),h.Rb(),h.Rb()),2&t&&(h.Cb(e.theme),h.Ab(2),h.Kc(h.fc(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),h.Ab(5),h.lc("placeholder",h.fc(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),h.kc("formControl",e.searchCtrl),h.Ab(3),h.Lc(" ",h.fc(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),h.Ab(2),h.kc("disabled",e.loading),h.Ab(1),h.Lc(" ",h.fc(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),h.Ab(2),h.kc("ngIf",e.loading),h.Ab(1),h.kc("ngIf",e.firstSearchDone),h.Ab(1),h.kc("ngIf",!e.firstSearchDone),h.Ab(4),h.Kc(h.fc(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),h.Ab(5),h.Lc(" ",h.fc(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),h.Ab(2),h.kc("disabled",e.loading||0===e.selection.selected.length),h.Ab(1),h.Lc(" ",h.fc(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[n.j,n.g,f.c,p.b,s.c,s.r,s.h,f.b,b.b,o.t,v.a,n.c,y.c,A.a,w.a],pipes:[d.d],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),t}()},EtYo:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("Ssnw"),r=i("EM62"),a=i("2kYt"),o=i("PBFl"),s=i("Y2X+"),c=i("bFHC"),u=i("s2Ay"),l=function(t){return{color:t}},h=function(){var t=function(){function t(e,i){g(this,t),this.location=e,this.storeService=i}return m(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.Mb(a.n),r.Mb(n.m))},t.\u0275cmp=r.Gb({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.Sb(0,"button",0),r.Zb("click",(function(){return e.goBack()})),r.ec(1,"translate"),r.Sb(2,"mat-icon",1),r.Jc(3,"arrow_right_alt"),r.Rb(),r.Rb()),2&t&&(r.lc("matTooltip",r.fc(1,2,"Back")),r.kc("ngStyle",r.pc(4,l,e.backButtonColor)))},directives:[o.b,a.w,s.a,c.a],pipes:[u.d],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),t}()},F1o0:function(t,e,i){"use strict";i.d(e,"a",(function(){return k})),i.d(e,"b",(function(){return w})),i.d(e,"c",(function(){return C}));var n=i("EM62"),r=i("mFH5"),o=i("5XID"),c=i("nIj0"),u=i("5lCh"),l=i("sg/T"),h=i("cqs0"),d=["input"],f=function(){return{enterDuration:150}},p=["*"],b=new n.r("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),v=0,y={provide:c.p,useExisting:Object(n.U)((function(){return w})),multi:!0},A=function t(e,i){g(this,t),this.source=e,this.value=i},w=function(){var t=function(){function t(e){g(this,t),this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+v++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new n.o}return m(t,[{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var t=this;this._radios&&this._radios.forEach((function(e){e.name=t.name,e._markForCheck()}))}},{key:"_updateSelectedRadioFromValue",value:function(){var t=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(e){e.checked=t.value===e.value,e.checked&&(t._selected=e)})))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new A(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach((function(t){return t._markForCheck()}))}},{key:"writeValue",value:function(t){this.value=t,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetector.markForCheck()}},{key:"name",get:function(){return this._name},set:function(t){this._name=t,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(o.c)(t),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(o.c)(t),this._markRadiosForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.h))},t.\u0275dir=n.Hb({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,i){var r;1&t&&n.Fb(i,k,!0),2&t&&n.sc(r=n.ac())&&(e._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.zb([y])]}),t}(),_=Object(r.z)(Object(r.D)((function t(e){g(this,t),this._elementRef=e}))),S=function(){var t=function(t){a(i,t);var e=s(i);function i(t,r,a,o,s,c,u){var l;return g(this,i),(l=e.call(this,r))._changeDetector=a,l._focusMonitor=o,l._radioDispatcher=s,l._animationMode=c,l._providerOverride=u,l._uniqueId="mat-radio-"+ ++v,l.id=l._uniqueId,l.change=new n.o,l._checked=!1,l._value=null,l._removeUniqueSelectionListener=function(){},l.radioGroup=t,l._removeUniqueSelectionListener=s.listen((function(t,e){t!==l.id&&e===l.name&&(l.checked=!1)})),l}return m(i,[{key:"focus",value:function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){!e&&t.radioGroup&&t.radioGroup._touch()}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new A(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(t){t.stopPropagation()}},{key:"_onInputChange",value:function(t){t.stopPropagation();var e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}},{key:"checked",get:function(){return this._checked},set:function(t){var e=Object(o.c)(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())}},{key:"value",get:function(){return this._value},set:function(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(t){this._labelPosition=t}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(t){this._setDisabled(Object(o.c)(t))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(t){this._required=Object(o.c)(t)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(t){this._color=t}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}}]),i}(_);return t.\u0275fac=function(e){return new(e||t)(n.Mb(w,8),n.Mb(n.l),n.Mb(n.h),n.Mb(l.h),n.Mb(h.d),n.Mb(u.a,8),n.Mb(b,8))},t.\u0275dir=n.Hb({type:t,viewQuery:function(t,e){var i;1&t&&n.Qc(d,!0),2&t&&n.sc(i=n.ac())&&(e._inputElement=i.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.xb]}),t}(),k=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(S);return t.\u0275fac=function(e){return E(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&n.Zb("focus",(function(){return e._inputElement.nativeElement.focus()})),2&t&&(n.Bb("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.Eb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.xb],ngContentSelectors:p,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","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.jc(),n.Sb(0,"label",0,1),n.Sb(2,"div",2),n.Nb(3,"div",3),n.Nb(4,"div",4),n.Sb(5,"input",5,6),n.Zb("change",(function(t){return e._onInputChange(t)}))("click",(function(t){return e._onInputClick(t)})),n.Rb(),n.Sb(7,"div",7),n.Nb(8,"div",8),n.Rb(),n.Rb(),n.Sb(9,"div",9),n.Sb(10,"span",10),n.Jc(11,"\xa0"),n.Rb(),n.ic(12),n.Rb(),n.Rb()),2&t){var i=n.tc(1);n.Bb("for",e.inputId),n.Ab(5),n.kc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),n.Bb("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),n.Ab(2),n.kc("matRippleTrigger",i)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.oc(18,f)),n.Ab(2),n.Eb("mat-radio-label-before","before"==e.labelPosition)}},directives:[r.s],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;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;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._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}.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-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t}(),E=n.Ub(k),C=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[r.t,r.i],r.i]}),t}()},FU6l:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=Array.isArray||function(t){return t&&"number"==typeof t.length}},FcRk:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),r=i("2kYt"),a=i("bFHC");function o(t,e){1&t&&(n.Sb(0,"mat-icon",2),n.Jc(1," error "),n.Rb())}var s=["*"],c=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.jc(),n.Sb(0,"div",0),n.Hc(1,o,2,0,"mat-icon",1),n.ic(2),n.Rb()),2&t&&(n.Eb("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),n.Ab(1),n.kc("ngIf","error"!==e.alert_type))},directives:[r.t,a.a],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}()},FlRo:function(t,e,o){"use strict";o.d(e,"a",(function(){return ue})),o.d(e,"b",(function(){return $t})),o.d(e,"c",(function(){return ae})),o.d(e,"d",(function(){return ce})),o.d(e,"e",(function(){return ne})),o.d(e,"f",(function(){return ve})),o.d(e,"g",(function(){return de})),o.d(e,"h",(function(){return se})),o.d(e,"i",(function(){return ee})),o.d(e,"j",(function(){return be})),o.d(e,"k",(function(){return le})),o.d(e,"l",(function(){return Ae})),o.d(e,"m",(function(){return pe})),o.d(e,"n",(function(){return Xt})),o.d(e,"o",(function(){return Ee})),o.d(e,"p",(function(){return ke})),o.d(e,"q",(function(){return _e}));var c=o("5XID"),u=o("cqs0"),l=o("EM62"),f=o("E5oP"),p=o("cZZj"),b=o("2kYt"),v=o("ZTXN"),y=o("C05f"),A=o("9bRT"),w=o("ROBh"),_=o("kuMc"),S=[[["caption"]]],k=["caption"];function E(t,e){if(1&t&&(l.Sb(0,"th",3),l.Jc(1),l.Rb()),2&t){var i=l.dc();l.Ec("text-align",i.justify),l.Ab(1),l.Lc(" ",i.headerText," ")}}function C(t,e){if(1&t&&(l.Sb(0,"td",4),l.Jc(1),l.Rb()),2&t){var i=e.$implicit,n=l.dc();l.Ec("text-align",n.justify),l.Ab(1),l.Lc(" ",n.dataAccessor(i,n.name)," ")}}function R(t){return function(t){a(i,t);var e=s(i);function i(){var t;g(this,i);for(var n=arguments.length,r=new Array(n),a=0;a3&&void 0!==arguments[3])||arguments[3];g(this,t),this._isNativeHtmlTable=e,this._stickCellCss=i,this.direction=n,this._isBrowser=r}return m(t,[{key:"clearStickyPositioning",value:function(t,e){var i,n=d(t);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.nodeType===r.ELEMENT_NODE){this._removeStickyStyle(r,e);for(var a=0;a0;r--)e[r]&&(i[r]=n,n+=t[r]);return i}}]),t}();function dt(t){return Error('Could not find column with id "'.concat(t,'".'))}var ft,pt,gt,bt,mt=((bt=function t(e,i){g(this,t),this.viewContainer=e,this.elementRef=i}).\u0275fac=function(t){return new(t||bt)(l.Mb(l.Q),l.Mb(l.l))},bt.\u0275dir=l.Hb({type:bt,selectors:[["","rowOutlet",""]]}),bt),vt=((gt=function t(e,i){g(this,t),this.viewContainer=e,this.elementRef=i}).\u0275fac=function(t){return new(t||gt)(l.Mb(l.Q),l.Mb(l.l))},gt.\u0275dir=l.Hb({type:gt,selectors:[["","headerRowOutlet",""]]}),gt),yt=((pt=function t(e,i){g(this,t),this.viewContainer=e,this.elementRef=i}).\u0275fac=function(t){return new(t||pt)(l.Mb(l.Q),l.Mb(l.l))},pt.\u0275dir=l.Hb({type:pt,selectors:[["","footerRowOutlet",""]]}),pt),At=((ft=function(){function t(e,i,n,r,a,o,s){g(this,t),this._differs=e,this._changeDetectorRef=i,this._elementRef=n,this._dir=a,this._platform=s,this._onDestroy=new v.a,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._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new y.a({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return m(t,[{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}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),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._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(u.e)(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;e.forEachOperation((function(e,n,r){if(null==e.previousIndex)t._insertRow(e.item,r);else if(null==r)i.remove(n);else{var a=i.get(n);i.move(a,r)}})),this._updateRowIndexContext(),e.forEachIdentityChange((function(t){i.get(t.currentIndex).context.$implicit=t.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}},{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:"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),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(i(e),i(n),i(r)),["left","right"]),e.forEach((function(e,i){t._addStickyColumnStyles([e],t._headerRowDefs[i])})),this._rowDefs.forEach((function(e){for(var i=[],r=0;r1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}},{key:"_renderUpdatedColumns",value:function(){var t=function(t,e){return t||!!e.getColumnsDiff()};this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(t){this._data=[],Object(u.e)(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}},{key:"_observeRenderChanges",value:function(){var t=this;if(this.dataSource){var e;if(Object(u.e)(this.dataSource)?e=this.dataSource.connect(this):Object(A.a)(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(w.a)(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(Object(_.a)(this._onDestroy)).subscribe((function(e){t._data=e||[],t.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(e,i){return t._renderRow(t._headerRowOutlet,e,i)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{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(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(t,e){var i=this,n=Array.from(e.columns||[]).map((function(t){var e=i._columnDefsByName.get(t);if(!e)throw dt(t);return e})),r=n.map((function(t){return t.sticky})),a=n.map((function(t){return t.stickyEnd}));this._stickyStyler.updateStickyColumns(t,r,a)}},{key:"_getRenderedRows",value:function(t){for(var e=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{};t.viewContainer.createEmbeddedView(e.template,n,i);var r,a=d(this._getCellTemplates(e));try{for(a.s();!(r=a.n()).done;){var o=r.value;ot.mostRecentCellOutlet&&ot.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n)}}catch(s){a.e(s)}finally{a.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 g(this,i),(t=e.call(this))._renderData=new y.a([]),t._filter=new y.a(""),t._internalPageChanges=new v.a,t._renderChangesSubscription=Rt.a.EMPTY,t.sortingDataAccessor=function(t,e){var i=t[e];if(Object(c.a)(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 a=t.sortingDataAccessor(e,n),o=t.sortingDataAccessor(i,n),s=0;return null!=a&&null!=o?a>o?s=1:a0)){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._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t)}},{key:"filter",get:function(){return this._filter.value},set:function(t){this._filter.next(t)}},{key:"sort",get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()}}]),i}(u.b)},GoAz:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("IdLP"),r=i("1MAX"),a=i("bwdy"),o=i("qEfY"),s=i("czMQ"),c=i("sWLk"),u=i("/vgl"),l=i("eY+9");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new n.a((function(i){var n=new a.a;return n.add(e.schedule((function(){var r=t[o.a]();n.add(r.subscribe({next:function(t){n.add(e.schedule((function(){return i.next(t)})))},error:function(t){n.add(e.schedule((function(){return i.error(t)})))},complete:function(){n.add(e.schedule((function(){return i.complete()})))}}))}))),n}))}(t,e);if(Object(u.a)(t))return function(t,e){return new n.a((function(i){var n=new a.a;return n.add(e.schedule((function(){return t.then((function(t){n.add(e.schedule((function(){i.next(t),n.add(e.schedule((function(){return i.complete()})))})))}),(function(t){n.add(e.schedule((function(){return i.error(t)})))}))}))),n}))}(t,e);if(Object(l.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[c.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new n.a((function(i){var n,r=new a.a;return r.add((function(){n&&"function"==typeof n.return&&n.return()})),r.add(e.schedule((function(){n=t[c.a](),r.add(e.schedule((function(){if(!i.closed){var t,e;try{var r=n.next();t=r.value,e=r.done}catch(a){return void i.error(a)}e?i.complete():(i.next(t),this.schedule())}})))}))),r}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof n.a?t:new n.a(Object(r.a)(t))}},Gtvd:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("FlRo"),r=i("X2Q7"),a=i("OZ4H"),o=i("Ssnw"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("PBFl");function d(t,e){1&t&&s.Nb(0,"mat-spinner",4)}function f(t,e){1&t&&s.Nb(0,"th",13)}function p(t,e){if(1&t&&(s.Sb(0,"td",14),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function b(t,e){1&t&&s.Nb(0,"tr",15)}function v(t,e){1&t&&s.Nb(0,"tr",16)}function y(t,e){if(1&t&&(s.Sb(0,"div",5),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",6),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",7),s.Qb(8,8),s.Hc(9,f,1,0,"th",9),s.Hc(10,p,2,1,"td",10),s.Pb(),s.Hc(11,b,1,0,"tr",11),s.Hc(12,v,1,0,"tr",12),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}function A(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",17),s.Sb(1,"button",18),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"button",19),s.Zb("click",(function(){return s.xc(i),s.dc().onSubmit()})),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),s.Ab(2),s.kc("disabled",n.loading),s.Ab(1),s.Lc(" ",s.fc(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=a,this.displayedColumns=["name"]}return m(t,[{key:"ngOnInit",value:function(){this.dataSource=new n.o(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)(s.Mb(a.i),s.Mb(a.a),s.Mb(o.l),s.Mb(c.e),s.Mb(r.m))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Hc(6,A,7,7,"div",3),s.Rb()),2&t&&(s.Cb(e.data.theme),s.Ab(2),s.Kc(s.fc(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[a.j,u.t,l.c,a.g,n.n,n.c,n.i,n.b,n.k,n.m,n.h,n.a,n.j,n.l,a.c,h.b],pipes:[c.d],styles:[""]}),t}()},H0K4:function(t,e,i){"use strict";i.d(e,"a",(function(){return f})),i.d(e,"b",(function(){return p})),i.d(e,"c",(function(){return b})),i.d(e,"d",(function(){return v}));var n=i("cZZj"),r=i("EM62"),a=i("5XID"),o=i("6Oco"),s=i("ZTXN"),c=i("KTx3"),u=i("prE9"),l=i("kuMc"),h=i("2kYt"),d=Object(n.f)({passive:!0}),f=function(){var t=function(){function t(e,i){g(this,t),this._platform=e,this._ngZone=i,this._monitoredElements=new Map}return m(t,[{key:"monitor",value:function(t){var e=this;if(!this._platform.isBrowser)return o.a;var i=Object(a.e)(t),n=this._monitoredElements.get(i);if(n)return n.subject.asObservable();var r=new s.a,c="cdk-text-field-autofilled",u=function(t){"cdk-text-field-autofill-start"!==t.animationName||i.classList.contains(c)?"cdk-text-field-autofill-end"===t.animationName&&i.classList.contains(c)&&(i.classList.remove(c),e._ngZone.run((function(){return r.next({target:t.target,isAutofilled:!1})}))):(i.classList.add(c),e._ngZone.run((function(){return r.next({target:t.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.asObservable()}},{key:"stopMonitoring",value:function(t){var e=Object(a.e)(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.Wb(n.a),r.Wb(r.A))},t.\u0275prov=Object(r.Ib)({factory:function(){return new t(Object(r.Wb)(n.a),Object(r.Wb)(r.A))},token:t,providedIn:"root"}),t}(),p=function(){var t=function(){function t(e,i){g(this,t),this._elementRef=e,this._autofillMonitor=i,this.cdkAutofill=new r.o}return m(t,[{key:"ngOnInit",value:function(){var t=this;this._autofillMonitor.monitor(this._elementRef).subscribe((function(e){return t.cdkAutofill.emit(e)}))}},{key:"ngOnDestroy",value:function(){this._autofillMonitor.stopMonitoring(this._elementRef)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(f))},t.\u0275dir=r.Hb({type:t,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),t}(),b=function(){var t=function(){function t(e,i,n,r){g(this,t),this._elementRef=e,this._platform=i,this._ngZone=n,this._destroyed=new s.a,this._enabled=!0,this._previousMinRows=-1,this._document=r,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=i.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}return m(t,[{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();Object(c.a)(e,"resize").pipe(Object(u.a)(16),Object(l.a)(t._destroyed)).subscribe((function(){return t.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:"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._cachedLineHeight)){var i=this._elementRef.nativeElement,n=i.value;if(e||this._minRows!==this._previousMinRows||n!==this._previousValue){var r=i.placeholder;i.classList.add(this._measuringClass),i.placeholder="",i.style.height=i.scrollHeight-4+"px",i.classList.remove(this._measuringClass),i.placeholder=r,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)}},{key:"minRows",get:function(){return this._minRows},set:function(t){this._minRows=Object(a.f)(t),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(t){this._maxRows=Object(a.f)(t),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(t){t=Object(a.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(n.a),r.Mb(r.A),r.Mb(h.e,8))},t.\u0275dir=r.Hb({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&r.Zb("input",(function(){return e._noopInputHandler()}))},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t}(),v=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[n.b]]}),t}()},H2Dp:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(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.Lb({name:"filterUniqueObjects",type:t,pure:!0}),t}()},HHEo:function(t,e,i){"use strict";i.d(e,"d",(function(){return j})),i.d(e,"a",(function(){return G.a})),i.d(e,"c",(function(){return U.a})),i.d(e,"e",(function(){return K.a})),i.d(e,"b",(function(){return V.b}));var n,r,o=i("2kYt"),c=i("+Tre"),u=i("FlRo"),l=i("s2Ay"),h=i("sEIs"),d=i("cePI"),f=i("iAde"),p=i("csyo"),b=i("KoHB"),v=i("bFHC"),y=i("Jb3d"),A=i("PBFl"),w=i("Y2X+"),_=i("29Wa"),S=i("nIj0"),k=i("Cd2c"),E=i("S17y"),C=i("oqI+"),R=i("mFH5"),T=i("t47Z"),I=i("HHFY"),O=i("QcI7"),D=i("gcUQ"),M=i("F1o0"),P=i("R7+U"),x=i("BYpP"),N=i("qvOF"),L=i("OZ4H"),F=i("EM62"),z=((n=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(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}(R.u)).\u0275fac=function(t){return H(t||n)},n.\u0275prov=F.Ib({token:n,factory:n.\u0275fac}),n),H=F.Ub(z),B={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"}}},j=((r=function t(){g(this,t)}).\u0275mod=F.Kb({type:r}),r.\u0275inj=F.Jb({factory:function(t){return new(t||r)},providers:[{provide:R.c,useClass:z},{provide:R.e,useValue:B}],imports:[[o.c,c.b,u.p,S.l,E.g,C.g,l.c,h.j,d.c,f.b,p.b,b.a,v.b,y.c,A.c,w.b,_.e,S.B,k.c,R.t,T.b,I.c,O.e,D.g,M.c,R.o,P.b,x.b,N.g,L.h]]}),r);i("LKLE");var G=i("nhAq"),U=(i("b7Yx"),i("8cyV"),i("U3ra"),i("UX+r"),i("23RZ"),i("tmvS"),i("YFHD"),i("3jrC")),K=i("B/Qt"),V=(i("K9kF"),i("XAvq"),i("HMTk"),i("2Zb0"),i("oYGW"),i("6Xhx"))},HHFY:function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return u}));var n=i("2kYt"),r=i("EM62"),a=function(){function t(e,i){g(this,t),this._document=i;var n=this._textarea=this._document.createElement("textarea"),r=n.style;r.opacity="0",r.position="absolute",r.left=r.top="-999em",n.setAttribute("aria-hidden","true"),n.value=e,this._document.body.appendChild(n)}return m(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}(),o=function(){var t=function(){function t(e){g(this,t),this._document=e}return m(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 a(t,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Wb(n.e))},t.\u0275prov=Object(r.Ib)({factory:function(){return new t(Object(r.Wb)(n.e))},token:t,providedIn:"root"}),t}(),s=new r.r("CKD_COPY_TO_CLIPBOARD_CONFIG"),c=function(){var t=function(){function t(e,i,n){g(this,t),this._clipboard=e,this._ngZone=i,this.text="",this.attempts=1,this.copied=new r.o,this._deprecatedCopied=this.copied,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}return m(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?t._ngZone.runOutsideAngular((function(){return setTimeout(e,1)})):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.Mb(o),r.Mb(r.A),r.Mb(s,8))},t.\u0275dir=r.Hb({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&r.Zb("click",(function(){return e.copy()}))},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied",_deprecatedCopied:"copied"}}),t}(),u=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}()},HHqq:function(t,e,i){"use strict";i.d(e,"a",(function(){return F}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("nIj0"),s=i("jIqt"),c=i("YtkY"),u=i("cqs0"),l=i("EM62"),h=i("s2Ay"),f=i("x9Az"),p=i("2kYt"),b=i("PBFl"),v=i("csyo"),y=i("29Wa"),A=i("Cd2c"),w=i("ulve"),_=i("R7+U"),S=i("mFH5"),k=i("K9kF"),E=i("FcRk");function C(t,e){1&t&&(l.Jc(0),l.ec(1,"translate")),2&t&&l.Kc(l.fc(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECT_RESOURCE"))}function R(t,e){1&t&&l.Nb(0,"mat-spinner",13)}function T(t,e){if(1&t&&(l.Sb(0,"mat-option",24),l.Jc(1),l.Rb()),2&t){var i=e.$implicit;l.kc("value",i),l.Ab(1),l.Lc(" ",i," ")}}function I(t,e){if(1&t){var i=l.Tb();l.Sb(0,"mat-option",25),l.Zb("click",(function(){l.xc(i);var t=e.$implicit,n=l.dc(2),r=l.tc(6);return n.setResource(t),r.selected.completed=!0})),l.Jc(1),l.Rb()}if(2&t){var n=e.$implicit;l.kc("value",n),l.Ab(1),l.Lc(" ",n.name," ")}}function O(t,e){if(1&t&&(l.Sb(0,"div",22),l.Jc(1),l.Rb()),2&t){var i=e.$implicit;l.Ab(1),l.Kc(i.name)}}function D(t,e){if(1&t&&(l.Sb(0,"div"),l.Sb(1,"div"),l.Sb(2,"mat-form-field",14),l.Nb(3,"input",15),l.ec(4,"translate"),l.Sb(5,"mat-autocomplete",16,17),l.Hc(7,T,2,2,"mat-option",18),l.ec(8,"async"),l.Rb(),l.Rb(),l.Rb(),l.Sb(9,"div"),l.Sb(10,"mat-form-field",14),l.Sb(11,"mat-select",19),l.ec(12,"translate"),l.Hc(13,I,2,2,"mat-option",20),l.ec(14,"async"),l.Rb(),l.Rb(),l.Rb(),l.Sb(15,"div"),l.Sb(16,"span",21),l.Jc(17),l.ec(18,"translate"),l.Rb(),l.Sb(19,"div",22),l.Jc(20),l.Rb(),l.Rb(),l.Sb(21,"div"),l.Sb(22,"span",21),l.Jc(23),l.ec(24,"translate"),l.Rb(),l.Hc(25,O,2,1,"div",23),l.Rb(),l.Rb()),2&t){var i=l.tc(6),n=l.dc();l.Ab(3),l.lc("placeholder",l.fc(4,10,"DIALOGS.ADD_MEMBER_TO_RESOURCE.FILTER")),l.kc("formControl",n.facilityCtrl)("matAutocomplete",i),l.Ab(4),l.kc("ngForOf",l.fc(8,12,n.filteredFacilities)),l.Ab(4),l.lc("placeholder",l.fc(12,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECTED")),l.Ab(2),l.kc("ngForOf",l.fc(14,16,n.filteredResources)),l.Ab(4),l.Kc(l.fc(18,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.DESCRIPTION")),l.Ab(3),l.Lc(" ",n.description," "),l.Ab(3),l.Kc(l.fc(24,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SERVICES")),l.Ab(2),l.kc("ngForOf",n.services)}}function M(t,e){1&t&&(l.Jc(0),l.ec(1,"translate")),2&t&&l.Kc(l.fc(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.ADD_GROUP"))}function P(t,e){1&t&&l.Nb(0,"mat-spinner",13)}var x=function(){return["recent","vo","expiration","menu"]};function N(t,e){if(1&t&&(l.Sb(0,"div"),l.Nb(1,"perun-web-apps-groups-list",26),l.Rb()),2&t){var i=l.dc();l.Ab(1),l.kc("disableGroups",!0)("disableHeadCheckbox",!0)("disableRouting",!0)("groupsToDisable",i.membersGroupsId)("groups",i.groups)("hideColumns",l.oc(7,x))("selection",i.selectedGroups)}}function L(t,e){1&t&&(l.Sb(0,"app-alert",27),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.NO_GROUPS")," "))}var F=function(){var t=function(){function t(e,i,n,r,a,s,c){g(this,t),this.dialogRef=e,this.data=i,this.resourceManager=n,this.groupManager=r,this.notificator=a,this.translate=s,this.authResolver=c,this.loading=!1,this.processing=!1,this.membersGroupsId=new Set,this.facilityCtrl=new o.g,this.facilitiesNames=[],this.resources=[],this.selectedResource=null,this.services=[],this.description="",this.groups=[],this.selectedGroups=new u.c(!1,[])}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.resourceManager.getRichResources(this.data.voId).subscribe((function(e){t.resources=e,t.getResourceFacilities(),t.loading=!1}),(function(){return t.loading=!1}))}},{key:"getResourceFacilities",value:function(){var t,e=this,i=new Set,n=d(this.resources);try{for(n.s();!(t=n.n()).done;){var r=t.value;i.add(r.facility.name)}}catch(a){n.e(a)}finally{n.f()}this.facilitiesNames=Array.from(i),this.filteredFacilities=this.facilityCtrl.valueChanges.pipe(Object(s.a)(""),Object(c.a)((function(t){return e.filterFacilities(t)}))),this.filteredResources=this.facilityCtrl.valueChanges.pipe(Object(s.a)(""),Object(c.a)((function(t){return e.filterResources(t)})))}},{key:"filterFacilities",value:function(t){var e=t.toLowerCase();return this.facilitiesNames.filter((function(t){return t.toLowerCase().indexOf(e)>=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)(l.Mb(n.i),l.Mb(n.a),l.Mb(a.m),l.Mb(a.h),l.Mb(r.l),l.Mb(h.e),l.Mb(r.h))},t.\u0275cmp=l.Gb({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","hideColumns","selection"],["alert_type","warn"]],template:function(t,e){1&t&&(l.Sb(0,"div"),l.Sb(1,"h1",0),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"div",1),l.Sb(5,"mat-horizontal-stepper",2,3),l.Sb(7,"mat-step",4),l.Hc(8,C,2,3,"ng-template",5),l.Hc(9,R,1,0,"mat-spinner",6),l.Hc(10,D,26,22,"div",7),l.Sb(11,"div",8),l.Sb(12,"button",9),l.Zb("click",(function(){return e.onCancel()})),l.Jc(13),l.ec(14,"translate"),l.Rb(),l.Sb(15,"button",10),l.Zb("click",(function(){return e.loadGroups()})),l.Jc(16),l.ec(17,"translate"),l.Rb(),l.Rb(),l.Rb(),l.Sb(18,"mat-step"),l.Hc(19,M,2,3,"ng-template",5),l.Hc(20,P,1,0,"mat-spinner",6),l.Hc(21,N,2,8,"div",7),l.Hc(22,L,3,3,"app-alert",11),l.Sb(23,"div",8),l.Sb(24,"button",12),l.Zb("click",(function(){return e.selectedGroups.clear()})),l.Jc(25),l.ec(26,"translate"),l.Rb(),l.Sb(27,"button",10),l.Zb("click",(function(){return e.onFinish()})),l.Jc(28),l.ec(29,"translate"),l.Rb(),l.Rb(),l.Rb(),l.Rb(),l.Rb(),l.Rb()),2&t&&(l.Cb(e.theme),l.Ab(2),l.Kc(l.fc(3,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),l.Ab(3),l.kc("linear",!0),l.Ab(4),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(3),l.Kc(l.fc(14,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")),l.Ab(2),l.kc("disabled",null==e.selectedResource||e.processing||e.loading),l.Ab(1),l.Kc(l.fc(17,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")),l.Ab(4),l.kc("ngIf",e.processing),l.Ab(1),l.kc("ngIf",0!==e.groups.length&&!e.processing),l.Ab(1),l.kc("ngIf",0===e.groups.length&&!e.processing),l.Ab(3),l.Lc(" ",l.fc(26,22,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK"),""),l.Ab(2),l.kc("disabled",0===e.selectedGroups.selected.length||e.processing),l.Ab(1),l.Lc(" ",l.fc(29,24,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT"),""))},directives:[n.j,n.g,f.a,f.b,f.d,p.t,n.c,b.b,f.h,f.i,v.c,y.c,A.b,o.c,w.d,o.r,o.h,w.a,p.s,_.a,S.n,k.a,E.a],pipes:[h.d,p.b],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),t}()},HM3f:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("gBlb"),r=i("FU6l"),o=i("pBDD"),c=i("mW0F"),u=i("ckkg"),l={};function h(){for(var t=arguments.length,e=new Array(t),i=0;ithis.total&&this.destination.next(t)}}]),i}(p.a),y=i("mWib"),A=i("YtkY"),w=i("jIqt"),_=i("kuMc"),S=i("5XID"),k=new Set,E=((r=function(){function t(e){g(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C}return m(t,[{key:"matchMedia",value:function(t){return this._platform.WEBKIT&&function(t){if(!k.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),k.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}()).\u0275fac=function(t){return new(t||r)(o.Wb(c.a))},r.\u0275prov=Object(o.Ib)({factory:function(){return new r(Object(o.Wb)(c.a))},token:r,providedIn:"root"}),r);function C(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var R,T=((R=function(){function t(e,i){g(this,t),this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new u.a}return m(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return I(Object(S.b)(t)).some((function(t){return e._registerQuery(t).mql.matches}))}},{key:"observe",value:function(t){var e=this,i=I(Object(S.b)(t)).map((function(t){return e._registerQuery(t).observable})),n=Object(l.a)(i);return(n=Object(h.a)(n.pipe(Object(f.a)(1)),n.pipe((function(t){return t.lift(new b(1))}),Object(y.a)(0)))).pipe(Object(A.a)((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),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 d.a((function(t){var n=function(i){return e._zone.run((function(){return t.next(i)}))};return i.addListener(n),function(){i.removeListener(n)}})).pipe(Object(w.a)(i),Object(A.a)((function(e){return{query:t,matches:e.matches}})),Object(_.a)(this._destroySubject)),mql:i};return this._queries.set(t,n),n}}]),t}()).\u0275fac=function(t){return new(t||R)(o.Wb(E),o.Wb(o.A))},R.\u0275prov=Object(o.Ib)({factory:function(){return new R(Object(o.Wb)(E),Object(o.Wb)(o.A))},token:R,providedIn:"root"}),R);function I(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var O={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},HYj3:function(t,e,i){"use strict";i.d(e,"a",(function(){return Z})),i.d(e,"b",(function(){return W})),i.d(e,"c",(function(){return V})),i.d(e,"d",(function(){return T})),i.d(e,"e",(function(){return N})),i.d(e,"f",(function(){return X}));var n=i("qvOF"),a=i("EM62"),o=i("cZZj"),s=i("E5oP"),c=i("2kYt"),u=i("5XID"),l=i("Sv/w"),h=i("ZTXN"),f=i("bwdy"),p=i("g6G6"),b=i("J+dc"),v=i("kuMc"),y=i("fAiE"),A=function(){function t(e,i){g(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}return m(t,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(u.d)(-this._previousScrollPosition.left),t.style.top=Object(u.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",r=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=r}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}]),t}();function w(){return Error("Scroll strategy has already been attached.")}var _=function(){function t(e,i,n,r){var a=this;g(this,t),this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}return m(t,[{key:"attach",value:function(t){if(this._overlayRef)throw w();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}(),S=function(){function t(){g(this,t)}return m(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function k(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function E(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var C=function(){function t(e,i,n,r){g(this,t),this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}return m(t,[{key:"attach",value:function(t){if(this._overlayRef)throw w();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;k(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}(),R=function(){var t=function t(e,i,n,r){var a=this;g(this,t),this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this.noop=function(){return new S},this.close=function(t){return new _(a._scrollDispatcher,a._ngZone,a._viewportRuler,t)},this.block=function(){return new A(a._viewportRuler,a._document)},this.reposition=function(t){return new C(a._scrollDispatcher,a._viewportRuler,a._ngZone,t)},this._document=r};return t.\u0275fac=function(e){return new(e||t)(a.Wb(n.f),a.Wb(n.h),a.Wb(a.A),a.Wb(c.e))},t.\u0275prov=Object(a.Ib)({factory:function(){return new t(Object(a.Wb)(n.f),Object(a.Wb)(n.h),Object(a.Wb)(a.A),Object(a.Wb)(c.e))},token:t,providedIn:"root"}),t}(),T=function t(e){if(g(this,t),this.scrollStrategy=new S,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;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},this._document=e}return m(t,[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Wb(c.e))},t.\u0275prov=Object(a.Ib)({factory:function(){return new t(Object(a.Wb)(c.e))},token:t,providedIn:"root"}),t}(),x=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),N=function(){var t=function(){function t(e,i){g(this,t),this._platform=i,this._document=e}return m(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(){var t=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||x)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),i=0;ip&&(p=m,f=b)}}catch(v){g.e(v)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.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&&H(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=t.x,a=t.y,o=this._getOffset(n,"x"),s=this._getOffset(n,"y");o&&(r+=o),s&&(a+=s);var c=0-a,u=a+e.height-i.height,l=this._subtractOverflows(e.width,0-r,r+e.width-i.width),h=this._subtractOverflows(e.height,c,u),d=l*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:l==e.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,i){if(this._hasFlexibleDimensions){var n=i.bottom-e.y,r=i.right-e.x,a=B(this._overlayRef.getConfig().minHeight),o=B(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=a&&a<=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,a=this._viewportRect,o=Math.max(t.x+e.width-a.right,0),s=Math.max(t.y+e.height-a.bottom,0),c=Math.max(a.top-i.top-t.y,0),u=Math.max(a.left-i.left-t.x,0);return n=e.width<=a.width?u||-o:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(n=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=c.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)o=t.x,a=c.right-t.x;else{var d=Math.min(c.right-t.x+c.left,t.x),f=this._lastBoundingBoxSize.width;a=2*d,o=t.x-d,a>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.x-f/2)}return{top:n,left:o,bottom:r,right:s,width:a,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,a=this._overlayRef.getConfig().maxWidth;n.height=Object(u.d)(i.height),n.top=Object(u.d)(i.top),n.bottom=Object(u.d)(i.bottom),n.width=Object(u.d)(i.width),n.left=Object(u.d)(i.left),n.right=Object(u.d)(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=Object(u.d)(r)),a&&(n.maxWidth=Object(u.d)(a))}this._lastBoundingBoxSize=i,H(this._boundingBox.style,n)}},{key:"_resetBoundingBoxStyles",value:function(){H(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){H(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var i={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(n){var o=this._viewportRuler.getViewportScrollPosition();H(i,this._getExactOverlayY(e,t,o)),H(i,this._getExactOverlayX(e,t,o))}else i.position="static";var s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+="translateX(".concat(c,"px) ")),l&&(s+="translateY(".concat(l,"px)")),i.transform=s.trim(),a.maxHeight&&(n?i.maxHeight=Object(u.d)(a.maxHeight):r&&(i.maxHeight="")),a.maxWidth&&(n?i.maxWidth=Object(u.d)(a.maxWidth):r&&(i.maxWidth="")),H(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 a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":n.top=Object(u.d)(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=Object(u.d)(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:E(t,i),isOriginOutsideView:k(t,i),isOverlayClipped:E(e,i),isOverlayOutsideView:k(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,a=i.maxWidth,o=i.maxHeight,s=!("100%"!==n&&"100vw"!==n||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=c?"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=c?"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}(),U=function(){var t=function(){function t(e,i,n,r){g(this,t),this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=r}return m(t,[{key:"global",value:function(){return new G}},{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 z(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Wb(n.h),a.Wb(c.e),a.Wb(o.a),a.Wb(N))},t.\u0275prov=Object(a.Ib)({factory:function(){return new t(Object(a.Wb)(n.h),Object(a.Wb)(c.e),Object(a.Wb)(o.a),Object(a.Wb)(N))},token:t,providedIn:"root"}),t}(),K=0,V=function(){var t=function(){function t(e,i,n,r,a,o,s,c,u,l){g(this,t),this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=c,this._directionality=u,this._location=l}return m(t,[{key:"create",value:function(t){var e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),r=new T(t);return r.direction=r.direction||this._directionality.value,new L(n,e,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+K++,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(a.g)),new l.f(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Wb(R),a.Wb(N),a.Wb(a.j),a.Wb(U),a.Wb(P),a.Wb(a.s),a.Wb(a.A),a.Wb(c.e),a.Wb(s.c),a.Wb(c.n,8))},t.\u0275prov=a.Ib({token:t,factory:t.\u0275fac}),t}(),q=[{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"}],J=new a.r("cdk-connected-overlay-scroll-strategy"),W=function(){var t=function t(e){g(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l))},t.\u0275dir=a.Hb({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),Z=function(){var t=function(){function t(e,i,n,r,o){g(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=f.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new a.o,this.positionChange=new a.o,this.attach=new a.o,this.detach=new a.o,this.overlayKeydown=new a.o,this._templatePortal=new l.j(i,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return m(t,[{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{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=q),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(e){t.overlayKeydown.next(e),e.keyCode!==y.h||Object(y.t)(e)||(e.preventDefault(),t._detachOverlay())}))}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new T({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,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe((function(e){return t.positionChange.emit(e)})),e}},{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.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(e){t.backdropClick.emit(e)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}},{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=Object(u.c)(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=Object(u.c)(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=Object(u.c)(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=Object(u.c)(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=Object(u.c)(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(V),a.Mb(a.M),a.Mb(a.Q),a.Mb(J),a.Mb(s.c,8))},t.\u0275dir=a.Hb({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],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"},exportAs:["cdkConnectedOverlay"],features:[a.yb]}),t}(),Y={provide:J,deps:[V],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},X=function(){var t=function t(){g(this,t)};return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},providers:[V,Y],imports:[[s.a,l.i,n.g],n.g]}),t}()},HdwC:function(t,e,i){"use strict";i.d(e,"a",(function(){return z}));var n=i("OF3q"),r=i("cqs0"),a=i("RUSO"),o=i("8clQ"),s=i("X2Q7"),c=i("nyAh"),u=i("iyZ4"),l=i("yaDT"),h=i("Ssnw"),d=(i("HHEo"),i("EM62")),f=i("OZ4H"),p=i("sEIs"),b=i("0XDM"),v=i("2kYt"),y=i("pynj"),A=i("k8N0"),w=i("nIj0"),_=i("PBFl"),S=i("Y2X+"),k=i("csyo"),E=i("XAvq"),C=i("K9kF"),R=i("s2Ay"),T=["tree"],I=["list"],O=["toggle"];function D(t,e){if(1&t){var i=d.Tb();d.Sb(0,"button",9),d.Zb("click",(function(){return d.xc(i),d.dc().onCreateGroup()})),d.Jc(1),d.ec(2,"translate"),d.Rb()}2&t&&(d.Ab(1),d.Lc(" ",d.fc(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function M(t,e){if(1&t){var i=d.Tb();d.Sb(0,"button",12),d.Zb("click",(function(){return d.xc(i),d.dc(2).deleteGroup()})),d.Jc(1),d.ec(2,"translate"),d.Rb()}if(2&t){var n=d.dc(2);d.kc("disabled",0===n.selected.selected.length||void 0!==n.tree&&!n.tree.removeAuth||void 0!==n.list&&!n.list.removeAuth),d.Ab(1),d.Lc(" ",d.fc(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function P(t,e){if(1&t&&(d.Sb(0,"span",10),d.ec(1,"translate"),d.Hc(2,M,3,4,"button",11),d.Rb()),2&t){var i=d.dc();d.lc("matTooltip",d.fc(1,3,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),d.kc("matTooltipDisabled",void 0===i.tree&&void 0===i.list||void 0!==i.tree&&i.tree.removeAuth||void 0!==i.list&&i.list.removeAuth),d.Ab(2),d.kc("ngIf",!i.loading&&i.deleteAuth)}}function x(t,e){1&t&&d.Nb(0,"mat-spinner",13)}function N(t,e){if(1&t){var i=d.Tb();d.Sb(0,"perun-web-apps-groups-tree",17,18),d.Zb("moveGroup",(function(t){return d.xc(i),d.dc(2).onMoveGroup(t)}))("refreshTable",(function(){return d.xc(i),d.dc(2).refreshTable()})),d.Rb()}if(2&t){var n=d.dc(2);d.kc("groups",n.groups)("expandAll",n.filtering)("hideCheckbox",!n.deleteAuth)("selection",n.selected)("filterValue",n.filterValue)("disableRouting",!n.routeAuth)}}function L(t,e){if(1&t){var i=d.Tb();d.Sb(0,"perun-web-apps-groups-list",19,20),d.Zb("page",(function(t){return d.xc(i),d.dc(2).pageChanged(t)}))("moveGroup",(function(t){return d.xc(i),d.dc(2).onMoveGroup(t)}))("refreshTable",(function(){return d.xc(i),d.dc(2).refreshTable()})),d.Rb()}if(2&t){var n=d.dc(2);d.kc("pageSize",n.pageSize)("groups",n.groups)("selection",n.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!n.routeAuth)("hideColumns",n.hideColumns)("filter",n.filterValue)}}function F(t,e){if(1&t&&(d.Sb(0,"div",14),d.Hc(1,N,2,6,"perun-web-apps-groups-tree",15),d.Hc(2,L,2,8,"perun-web-apps-groups-list",16),d.Rb()),2&t){var i=d.dc();d.Ab(1),d.kc("ngIf",!i.showGroupList),d.Ab(1),d.kc("ngIf",i.showGroupList)}}var z=function(){var t=function(){function t(e,i,n,a,o,s){g(this,t),this.dialog=e,this.groupService=i,this.tableConfigService=n,this.route=a,this.guiAuthResolver=o,this.initAuthService=s,this.groups=[],this.selected=new r.c(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=u.M,this.filterValue="",this.hideColumns=["expiration","recent","vo"]}return m(t,[{key:"onCreateGroup",value:function(){var t=this,e=Object(o.o)();e.width="450px",e.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(n.a,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]])),this.hideColumns=this.deleteAuth?["vo","expiration","recent"]:["select","vo","expiration","recent"]}},{key:"deleteGroup",value:function(){var t=this,e=Object(o.o)();e.width="450px",e.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(a.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[c.a.GROUP_DEF_MAIL_FOOTER,c.a.GROUP_SYNC_ENABLED,c.a.GROUP_LAST_SYNC_STATE,c.a.GROUP_LAST_SYNC_TIMESTAMP,c.a.GROUP_STRUCTURE_SYNC_ENABLED,c.a.GROUP_LAST_STRUCTURE_SYNC_STATE,c.a.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=Object(o.o)();i.width="550px",i.data={group:t,theme:"group-theme"},this.dialog.open(l.a,i).afterClosed().subscribe((function(t){t&&e.refreshTable()}))}}]),t}();return t.id="GroupSubgroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Mb(f.b),d.Mb(s.h),d.Mb(u.pb),d.Mb(p.a),d.Mb(h.h),d.Mb(h.i))},t.\u0275cmp=d.Gb({type:t,selectors:[["app-group-subgroups"]],viewQuery:function(t,e){var i;1&t&&(d.Qc(T,!0),d.Qc(I,!0),d.Dc(O,!0)),2&t&&(d.sc(i=d.ac())&&(e.tree=i.first),d.sc(i=d.ac())&&(e.list=i.first),d.sc(i=d.ac())&&(e.toggle=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&d.Eb("router-component",!0)},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","hideColumns","filter","page","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","hideColumns","filter","page","moveGroup","refreshTable"],["list",""]],template:function(t,e){if(1&t&&(d.Sb(0,"div"),d.Sb(1,"h1",0),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Sb(4,"perun-web-apps-refresh-button",1),d.Zb("refresh",(function(){return e.refreshTable()})),d.Rb(),d.Hc(5,D,3,3,"button",2),d.Hc(6,P,3,5,"span",3),d.Sb(7,"perun-web-apps-debounce-filter",4),d.Zb("filter",(function(t){return e.applyFilter(t)})),d.Rb(),d.Sb(8,"mat-slide-toggle",5,6),d.Zb("change",(function(){return e.selected.clear()}))("ngModelChange",(function(t){return e.showGroupList=t})),d.Jc(10),d.ec(11,"translate"),d.Rb(),d.Sb(12,"label"),d.Jc(13),d.ec(14,"translate"),d.Rb(),d.Hc(15,x,1,0,"mat-spinner",7),d.Hc(16,F,3,2,"div",8),d.Rb()),2&t){var i=d.tc(9);d.Ab(2),d.Kc(d.fc(3,10,"GROUP_DETAIL.SUBGROUPS.TITLE")),d.Ab(3),d.kc("ngIf",!e.loading&&e.createAuth),d.Ab(1),d.kc("ngIf",!e.loading),d.Ab(1),d.kc("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),d.Ab(1),d.kc("ngModel",e.showGroupList),d.Ab(2),d.Kc(d.fc(11,12,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),d.Ab(2),d.Bb("for",i.inputId),d.Ab(1),d.Kc(d.fc(14,14,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),d.Ab(2),d.kc("ngIf",e.loading),d.Ab(1),d.kc("ngIf",!e.loading)}},directives:[b.a,v.t,y.a,A.a,w.r,w.u,_.b,S.a,k.c,E.a,C.a],pipes:[R.d],styles:[""]}),t}()},HgnN:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},IBaA:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t){return Object(n.A)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"memberOrganization",type:t,pure:!0}),t}()},IDQ9:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("OZ4H"),r=i("cqs0"),a=i("Ssnw"),o=i("X2Q7"),s=i("iyZ4"),c=(i("HHEo"),i("EM62")),u=i("s2Ay"),l=i("A8Ay"),h=i("2kYt"),f=i("PBFl"),p=i("FcRk"),b=i("csyo"),v=i("LKLE"),y=["list"];function A(t,e){1&t&&(c.Sb(0,"app-alert",10),c.Jc(1),c.ec(2,"translate"),c.Rb()),2&t&&(c.Ab(1),c.Lc(" ",c.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE")," "))}function w(t,e){1&t&&c.Nb(0,"mat-spinner",11)}function _(t,e){if(1&t){var i=c.Tb();c.Sb(0,"perun-web-apps-attributes-list",12,13),c.Zb("page",(function(t){return c.xc(i),c.dc().pageChanged(t)})),c.Rb()}if(2&t){var n=c.dc();c.kc("attributes",n.attributes)("filterValue",n.filterValue)("inDialog",!0)("pageSize",n.pageSize)("selection",n.selected)}}var S=function(){var t=function(){function t(e,i,n,a,o,c){var u=this;g(this,t),this.dialogRef=e,this.data=i,this.attributesManager=n,this.notificator=a,this.tableConfigService=o,this.translate=c,this.selected=new r.c(!0,[]),this.showError=!1,this.filterValue="",this.tableId=s.r,this.translate.get("DIALOGS.CREATE_ATTRIBUTE.SUCCESS_SAVE").subscribe((function(t){return u.saveSuccessMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);var e,i,n,r,a,o,s,c,u=new Array;switch(this.data.notEmptyAttributes.forEach((function(t){u.push(t.id)})),this.data.entity){case"member":e=this.data.entityId;break;case"user":i=this.data.entityId;break;case"vo":n=this.data.entityId;break;case"group":r=this.data.entityId;break;case"resource":a=this.data.entityId;break;case"facility":o=this.data.entityId;break;case"host":s=this.data.entityId;break;case"ues":c=this.data.entityId}switch(this.data.secondEntity){case"member":e=this.data.secondEntityId;break;case"user":i=this.data.secondEntityId;break;case"vo":n=this.data.secondEntityId;break;case"group":r=this.data.secondEntityId;break;case"resource":a=this.data.secondEntityId;break;case"facility":o=this.data.secondEntityId;break;case"host":s=this.data.secondEntityId;break;case"ues":c=this.data.secondEntityId}this.loading=!0,this.attributesManager.getAttributesDefinitionWithRights(e,i,n,r,a,o,s,c).subscribe((function(e){t.attributes=e,t.attributes=t.attributes.filter((function(e){return!u.includes(e.id)&&t.twoEntityValid(e)})),t.loading=!1}))}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e,i=!1,n=d(this.selected.selected);try{for(n.s();!(e=n.n()).done;){var r=e.value;"java.util.ArrayList"===r.type&&0===r.value.length&&(i=!0),void 0===r.value&&(i=!0)}}catch(a){n.e(a)}finally{n.f()}if(i)return this.showError=!0,void setTimeout((function(){t.showError=!1}),5e3);switch(this.data.entity){case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.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((function(){t.handleSuccess()}));break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.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((function(){t.handleSuccess()}));break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.selected.selected}).subscribe((function(){t.handleSuccess()}));break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.handleSuccess()}))}break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.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((function(){t.handleSuccess()}));break;default:this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.handleSuccess()}))}break;case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.handleSuccess()}));break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.selected.selected}).subscribe((function(){t.handleSuccess()}))}}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"handleSuccess",value:function(){this.notificator.showSuccess(this.saveSuccessMessage),this.selected.clear(),this.dialogRef.close("saved")}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"twoEntityValid",value:function(t){return!this.data.secondEntity||t.entity==="".concat(this.data.entity,"_").concat(this.data.secondEntity)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.i),c.Mb(n.a),c.Mb(o.c),c.Mb(a.l),c.Mb(s.pb),c.Mb(u.e))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-create-attribute-dialog"]],viewQuery:function(t,e){var i;1&t&&c.Qc(y,!0),2&t&&c.sc(i=c.ac())&&(e.list=i.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&&(c.Sb(0,"div"),c.Sb(1,"div",0),c.Sb(2,"h1",1),c.Jc(3),c.ec(4,"translate"),c.Rb(),c.Sb(5,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Hc(6,A,3,3,"app-alert",3),c.Rb(),c.Sb(7,"div",4),c.Hc(8,w,1,0,"mat-spinner",5),c.Hc(9,_,2,5,"perun-web-apps-attributes-list",6),c.Rb(),c.Sb(10,"div",7),c.Sb(11,"button",8),c.Zb("click",(function(){return e.onCancel()})),c.Jc(12),c.ec(13,"translate"),c.Rb(),c.Sb(14,"button",9),c.Zb("click",(function(){return e.onSave()})),c.Jc(15),c.ec(16,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.data.style),c.Ab(3),c.Kc(c.fc(4,11,"DIALOGS.CREATE_ATTRIBUTE.SET_NEW")),c.Ab(2),c.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),c.Ab(1),c.kc("ngIf",e.showError),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",void 0!==e.attributes&&!e.loading),c.Ab(3),c.Lc(" ",c.fc(13,13,"DIALOGS.CREATE_ATTRIBUTE.CANCEL")," "),c.Ab(2),c.kc("disabled",0===e.selected.selected.length),c.Ab(1),c.Lc(" ",c.fc(16,15,"DIALOGS.CREATE_ATTRIBUTE.SAVE")," "))},directives:[n.j,l.a,h.t,n.g,n.c,f.b,p.a,b.c,v.a],pipes:[u.d],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t}()},IJgj:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.d(e,"a",(function(){return n}))},ILoV:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("FlRo"),a=i("X2Q7"),o=i("Ssnw"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function f(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&s.Nb(0,"th",15)}function b(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function v(t,e){1&t&&s.Nb(0,"tr",17)}function y(t,e){1&t&&s.Nb(0,"tr",18)}function A(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,p,1,0,"th",11),s.Hc(10,b,2,1,"td",12),s.Pb(),s.Hc(11,v,1,0,"tr",13),s.Hc(12,y,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(this.data.groups)}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t,e=this,i=[],n=d(this.data.groups);try{for(n.s();!(t=n.n()).done;){var r=t.value;i.push(r.id)}}catch(a){n.e(a)}finally{n.f()}this.loading=!0,this.resourceManager.removeGroupsFromResource(i,this.data.resourceId).subscribe((function(){e.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe((function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)}))}),(function(){return e.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(o.l),s.Mb(c.e),s.Mb(a.m))},t.\u0275cmp=s.Gb({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(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,f,1,0,"mat-spinner",1),s.Hc(5,A,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t}()},IdLP:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n,r=i("5uGe"),a=i("25CY"),o=i("rWo0"),s=i("qEfY"),c=i("5E2i"),u=i("HgnN"),l=((n=function(){function t(e){g(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return m(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 n=this.operator,s=function(t,e,i){if(t){if(t instanceof r.a)return t;if(t[a.a])return t[a.a]()}return t||e||i?new r.a(t,e,i):new r.a(o.a)}(t,e,i);if(s.add(n?n.call(s,this.source):this.source||u.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.a.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.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t,i=e.closed,n=e.destination,a=e.isStopped;if(i||a)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}},{key:"forEach",value:function(t,e){var i=this;return new(e=h(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:s.a,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),i=0;i_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=Object(u.o)();e.width="500px",e.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(o.a,e).afterClosed().subscribe((function(i){i&&(t.applicationFormItems=Object.assign([],i[0]),(e=Object(u.o)()).width="600px",e.height="600px",e.data={voId:t.voId,applicationFormItem:i[1],theme:"vo-theme",allItems:t.applicationFormItems},t.dialog.open(s.a,e),t.itemsChanged=!0)}))}},{key:"copy",value:function(){var t=this,e=Object(u.o)();e.width="500px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(a.a,e).afterClosed().subscribe((function(e){e&&t.updateFormItems()}))}},{key:"settings",value:function(){var t=this,e=Object(u.o)();e.width="400px",e.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(n.a,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=d(this.applicationFormItems);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.ordnum=i,r.forDelete||i++}}catch(a){n.e(a)}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.Mb(c.l),l.Mb(h.a),l.Mb(f.b),l.Mb(r.l),l.Mb(p.e),l.Mb(h.f),l.Mb(r.h),l.Mb(c.r))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Hc(3,C,1,0,"mat-spinner",1),l.Hc(4,M,36,30,"div",2)),2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.Ab(2),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading))},directives:[b.t,v.c,y.a,A.a,w.a,_.a,S.b,k.a,E.a],pipes:[p.d],styles:[""]}),t}()},Iydx:function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return r}));var n=function(t){return t.PERUNADMIN="PERUNADMIN",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){g(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 m(t,[{key:"addChild",value:function(t){null==this.children?this.children=[t]:this.children.push(t)}}]),t}()},"J+dc":function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("5uGe"),r=i("PNff"),o=i("6Oco");function c(t){return function(e){return 0===t?Object(o.b)():e.lift(new u(t))}}var u=function(){function t(e){if(g(this,t),this.total=e,this.total<0)throw new r.a}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.total))}}]),t}(),l=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).total=n,r.count=0,r}return m(i,[{key:"_next",value:function(t){var e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}]),i}(n.a)},JKyc:function(t,e,i){"use strict";i.d(e,"a",(function(){return G}));var n=i("Ssnw"),r=i("h1El"),a=i("DnAX"),o=i("ipn+"),s=i("3EQ+"),c=i("X2Q7"),u=i("8clQ"),l=i("EM62"),h=i("sEIs"),f=i("OZ4H"),p=i("s2Ay"),b=i("2kYt"),v=i("csyo"),y=i("bFHC"),A=i("Y2X+"),w=i("zmEM"),_=i("0XDM"),S=i("PBFl"),k=i("O82x"),E=i("k8N0"),C=i("nIj0"),R=i("FcRk"),T=["autoRegToggle"];function I(t,e){1&t&&l.Nb(0,"mat-spinner",3)}function O(t,e){if(1&t&&(l.Sb(0,"span"),l.Jc(1," , "),l.Sb(2,"mat-icon",21),l.Jc(3,"nat"),l.Rb(),l.Jc(4),l.ec(5,"translate"),l.ec(6,"translate"),l.Rb()),2&t){var i=l.dc(2);l.Ab(4),l.Lc(" ",i.applicationForm.automaticApprovalEmbedded?l.fc(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.fc(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function D(t,e){if(1&t){var i=l.Tb();l.Sb(0,"div"),l.Sb(1,"mat-slide-toggle",22,23),l.Zb("change",(function(){return l.xc(i),l.dc(2).updateAutoRegistration()})),l.Jc(3),l.ec(4,"translate"),l.Rb(),l.Rb()}if(2&t){var n=l.dc(2);l.Ab(1),l.kc("disabled",!n.changeAutoRegistration)("ngModel",n.autoRegistrationEnabled),l.Ab(2),l.Lc(" ",l.fc(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function M(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",24),l.Zb("click",(function(){return l.xc(i),l.dc(2).settings()})),l.Sb(1,"i",18),l.Jc(2,"edit"),l.Rb(),l.Jc(3),l.ec(4,"translate"),l.Rb()}2&t&&(l.Ab(3),l.Lc(" ",l.fc(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function P(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",25),l.Zb("click",(function(){return l.xc(i),l.dc(2).add()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function x(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",26),l.Zb("click",(function(){return l.xc(i),l.dc(2).save()})),l.Sb(1,"i",18),l.Jc(2,"save"),l.Rb(),l.Jc(3),l.ec(4,"translate"),l.Rb()}if(2&t){var n=l.dc(2);l.kc("disabled",!n.itemsChanged),l.Ab(3),l.Lc(" ",l.fc(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function N(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",27),l.Zb("click",(function(){return l.xc(i),l.dc(2).copy()})),l.Sb(1,"i",18),l.Jc(2,"file_copy"),l.Rb(),l.Jc(3),l.ec(4,"translate"),l.Rb()}2&t&&(l.Ab(3),l.Lc(" ",l.fc(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function L(t,e){1&t&&(l.Sb(0,"app-alert",28),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}var F=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},z=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function H(t,e){if(1&t){var i=l.Tb();l.Sb(0,"div"),l.Sb(1,"div",4),l.Sb(2,"div",5),l.Sb(3,"div",6),l.Jc(4),l.ec(5,"translate"),l.Rb(),l.Sb(6,"div"),l.Sb(7,"span",6),l.Jc(8),l.ec(9,"translate"),l.Rb(),l.Jc(10,": "),l.Sb(11,"mat-icon",7),l.Jc(12,"arrow_right_alt"),l.Rb(),l.Jc(13),l.ec(14,"translate"),l.ec(15,"translate"),l.Sb(16,"mat-icon",8),l.Jc(17,"restore"),l.Rb(),l.Jc(18),l.ec(19,"translate"),l.ec(20,"translate"),l.Hc(21,O,7,5,"span",2),l.Rb(),l.Hc(22,D,5,5,"div",2),l.Rb(),l.Sb(23,"div",9),l.Hc(24,M,5,3,"button",10),l.Rb(),l.Rb(),l.Nb(25,"mat-divider",11),l.Sb(26,"div",12),l.Sb(27,"perun-web-apps-refresh-button",13),l.Zb("refresh",(function(){return l.xc(i),l.dc().updateFormItems()})),l.Rb(),l.Hc(28,P,3,3,"button",14),l.Hc(29,x,5,4,"button",15),l.Hc(30,N,5,3,"button",16),l.Sb(31,"button",17),l.Zb("click",(function(){return l.xc(i),l.dc().preview()})),l.Sb(32,"i",18),l.Jc(33,"search"),l.Rb(),l.Jc(34),l.ec(35,"translate"),l.Rb(),l.Rb(),l.Hc(36,L,3,3,"app-alert",19),l.Sb(37,"app-application-form-list",20),l.Zb("applicationFormItemsChange",(function(){return l.xc(i),l.dc().changeItems()})),l.Rb(),l.Rb()}if(2&t){var n=l.dc();l.Ab(2),l.kc("ngClass",n.autoRegistrationEnabled?"w-75":"w-50"),l.Ab(2),l.Mc("",l.fc(5,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",n.applicationForm.moduleClassName," "),l.Ab(4),l.Kc(l.fc(9,21,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.Ab(5),l.Lc(" ",n.applicationForm.automaticApproval?l.fc(14,23,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.fc(15,25,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.Ab(5),l.Lc(" ",n.applicationForm.automaticApprovalExtension?l.fc(19,27,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.fc(20,29,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.Ab(3),l.kc("ngIf",n.autoRegistrationEnabled),l.Ab(1),l.kc("ngIf",n.voHasEmbeddedGroupApplication),l.Ab(2),l.kc("ngIf",n.editAuth),l.Ab(4),l.kc("ngIf",n.editAuth),l.Ab(1),l.kc("ngIf",n.editAuth),l.Ab(1),l.kc("ngIf",n.editAuth),l.Ab(4),l.Lc(" ",l.fc(35,31,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.Ab(2),l.kc("ngIf",n.editAuth),l.Ab(1),l.kc("loading",n.loading)("applicationForm",n.applicationForm)("applicationFormItems",n.applicationFormItems)("theme","group-theme")("displayedColumns",n.editAuth?l.oc(33,F):l.oc(34,z))}}function B(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",17),l.Zb("click",(function(){return l.xc(i),l.dc(2).createEmptyApplicationForm()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function j(t,e){if(1&t&&(l.Sb(0,"div"),l.Sb(1,"app-alert",29),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Hc(4,B,3,3,"button",30),l.Rb()),2&t){var i=l.dc();l.Ab(2),l.Kc(l.fc(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),l.Ab(2),l.kc("ngIf",i.createEmptyForm)}}var G=function(){var t=function(){function t(e,i,n,r,a,o,s,c,u,l){g(this,t),this.registrarManager=e,this.route=i,this.dialog=n,this.notificator=r,this.translate=a,this.apiRequest=o,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 m(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=Object(u.o)();e.width="500px",e.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(r.a,e).afterClosed().subscribe((function(i){i&&(t.applicationFormItems=Object.assign([],i[0]),(e=Object(u.o)()).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(a.a,e),t.itemsChanged=!0)}))}},{key:"copy",value:function(){var t=this,e=Object(u.o)();e.width="500px",e.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(o.a,e).afterClosed().subscribe((function(e){e&&t.updateFormItems()}))}},{key:"settings",value:function(){var t=this,e=Object(u.o)();e.width="400px",e.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(s.a,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=d(this.applicationFormItems);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.ordnum=i,r.forDelete||i++}}catch(a){n.e(a)}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.Mb(c.l),l.Mb(h.a),l.Mb(f.b),l.Mb(n.l),l.Mb(p.e),l.Mb(n.b),l.Mb(h.f),l.Mb(n.h),l.Mb(c.h),l.Mb(c.c))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-group-settings-application-form"]],viewQuery:function(t,e){var i;1&t&&l.Qc(T,!0),2&t&&l.sc(i=l.ac())&&(e.autoRegToggle=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Hc(3,I,1,0,"mat-spinner",1),l.Hc(4,H,38,35,"div",2),l.Hc(5,j,5,4,"div",2)),2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.Ab(2),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading&&!e.noApplicationForm),l.Ab(1),l.kc("ngIf",!e.loading&&e.noApplicationForm))},directives:[b.t,v.c,b.q,y.a,A.a,w.a,_.a,S.b,k.a,E.a,C.r,C.u,R.a],pipes:[p.d],styles:[""]}),t}()},JVFj:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("EM62"),s=i("s2Ay"),c=i("2kYt"),u=i("PBFl"),l=i("csyo"),h=i("29Wa"),d=i("R7+U"),f=i("mFH5"),p=i("Cd2c"),b=i("nIj0");function v(t,e){1&t&&o.Nb(0,"mat-spinner",6)}function y(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div"),o.Jc(1),o.ec(2,"translate"),o.Sb(3,"mat-form-field",8),o.Sb(4,"textarea",17),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc(2).reason=t})),o.Rb(),o.Rb(),o.Rb()}if(2&t){var n=o.dc(2);o.Ab(1),o.Lc(" ",o.fc(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),o.Ab(3),o.kc("ngModel",n.reason)}}function A(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div",7),o.Jc(1),o.ec(2,"translate"),o.Sb(3,"mat-form-field",8),o.Sb(4,"mat-select",9),o.Zb("valueChange",(function(t){return o.xc(i),o.dc().mailType=t})),o.Sb(5,"mat-option",10),o.Jc(6),o.ec(7,"translate"),o.Rb(),o.Sb(8,"mat-option",11),o.Jc(9),o.ec(10,"translate"),o.Rb(),o.Sb(11,"mat-option",12),o.Jc(12),o.ec(13,"translate"),o.Rb(),o.Sb(14,"mat-option",13),o.Jc(15),o.ec(16,"translate"),o.Rb(),o.Sb(17,"mat-option",14),o.Jc(18),o.ec(19,"translate"),o.Rb(),o.Sb(20,"mat-option",15),o.Jc(21),o.ec(22,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Hc(23,y,5,4,"div",16),o.Rb()}if(2&t){var n=o.dc();o.Ab(1),o.Lc(" ",o.fc(2,9,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),o.Ab(3),o.kc("value",n.mailType),o.Ab(2),o.Kc(o.fc(7,11,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),o.Ab(3),o.Kc(o.fc(10,13,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),o.Ab(3),o.Kc(o.fc(13,15,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),o.Ab(3),o.Kc(o.fc(16,17,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),o.Ab(3),o.Kc(o.fc(19,19,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),o.Ab(3),o.Kc(o.fc(22,21,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),o.Ab(2),o.kc("ngIf","APP_REJECTED_USER"===n.mailType)}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.translate=n,this.notificator=r,this.registrarManager=a,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}return m(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)(o.Mb(n.i),o.Mb(n.a),o.Mb(s.e),o.Mb(r.l),o.Mb(a.l))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"div"),o.Sb(1,"h1",0),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,v,1,0,"mat-spinner",1),o.Hc(5,A,24,23,"div",2),o.Sb(6,"div",3),o.Sb(7,"button",4),o.Zb("click",(function(){return e.onCancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",5),o.Zb("click",(function(){return e.onSubmit()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Db("",e.theme,"}"),o.Ab(2),o.Kc(o.fc(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),o.Ab(2),o.kc("disabled",e.loading),o.Ab(1),o.Lc(" ",o.fc(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[n.j,c.t,n.c,u.b,l.c,n.g,h.c,d.a,f.n,p.b,b.c,b.r,b.u],pipes:[s.d],styles:[""]}),t}()},Jb3d:function(t,e,n){"use strict";n.d(e,"a",(function(){return F})),n.d(e,"b",(function(){return B})),n.d(e,"c",(function(){return Q})),n.d(e,"d",(function(){return Y})),n.d(e,"e",(function(){return q}));var o=n("sg/T"),c=n("5XID"),l=n("fAiE"),h=n("EM62"),d=n("ZTXN"),f=n("bwdy"),p=n("g6G6"),b=n("ROBh"),v=n("vT4p"),y=n("jIqt"),A=n("TLy2"),w=n("J+dc"),_=n("xVbo"),S=n("kuMc"),k=n("BwBJ"),E=n("f7+R"),C=n("Sv/w"),R=n("2kYt"),T=n("mFH5"),I=n("HYj3"),O=n("cZZj"),D=n("qvOF"),M=n("E5oP"),P=["mat-menu-item",""],x=["*"];function N(t,e){if(1&t){var i=h.Tb();h.Sb(0,"div",0),h.Zb("keydown",(function(t){return h.xc(i),h.dc()._handleKeydown(t)}))("click",(function(){return h.xc(i),h.dc().closed.emit("click")}))("@transformMenu.start",(function(t){return h.xc(i),h.dc()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return h.xc(i),h.dc()._onAnimationDone(t)})),h.Sb(1,"div",1),h.ic(2),h.Rb(),h.Rb()}if(2&t){var n=h.dc();h.kc("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),h.Bb("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var L={transformMenu:Object(E.n)("transformMenu",[Object(E.k)("void",Object(E.l)({opacity:0,transform:"scale(0.8)"})),Object(E.m)("void => enter",Object(E.g)([Object(E.i)(".mat-menu-content, .mat-mdc-menu-content",Object(E.e)("100ms linear",Object(E.l)({opacity:1}))),Object(E.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(E.l)({transform:"scale(1)"}))])),Object(E.m)("* => void",Object(E.e)("100ms 25ms linear",Object(E.l)({opacity:0})))]),fadeInItems:Object(E.n)("fadeInItems",[Object(E.k)("showing",Object(E.l)({opacity:1})),Object(E.m)("void => *",[Object(E.l)({opacity:0}),Object(E.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},F=function(){var t=function(){function t(e,i,n,r,a,o,s){g(this,t),this._template=e,this._componentFactoryResolver=i,this._appRef=n,this._injector=r,this._viewContainerRef=a,this._document=o,this._changeDetectorRef=s,this._attached=new d.a}return m(t,[{key:"attach",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new C.j(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new C.f(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.M),h.Mb(h.j),h.Mb(h.g),h.Mb(h.s),h.Mb(h.Q),h.Mb(R.e),h.Mb(h.h))},t.\u0275dir=h.Hb({type:t,selectors:[["ng-template","matMenuContent",""]]}),t}(),z=new h.r("MAT_MENU_PANEL"),H=Object(T.z)(Object(T.A)((function t(){g(this,t)}))),B=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this))._elementRef=t,o._focusMonitor=r,o._parentMenu=a,o.role="menuitem",o._hovered=new d.a,o._focused=new d.a,o._highlighted=!1,o._triggersSubmenu=!1,r&&r.monitor(o._elementRef,!1),a&&a.addItem&&a.addItem(u(o)),o._document=n,o}return m(i,[{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}},{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(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,i="";if(t.childNodes)for(var n=t.childNodes.length,r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(w.a)(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"+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(Object(y.a)(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Object(c.c)(t)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(c.c)(t)}},{key:"panelClass",set:function(t){var e=this,i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(t){this.panelClass=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.l),h.Mb(h.A),h.Mb(j))},t.\u0275dir=h.Hb({type:t,contentQueries:function(t,e,i){var n;1&t&&(h.Fb(i,F,!0),h.Fb(i,B,!0),h.Fb(i,B,!1)),2&t&&(h.sc(n=h.ac())&&(e.lazyContent=n.first),h.sc(n=h.ac())&&(e._allItems=n),h.sc(n=h.ac())&&(e.items=n))},viewQuery:function(t,e){var i;1&t&&h.Qc(h.M,!0),2&t&&h.sc(i=h.ac())&&(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}(),K=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(U);return t.\u0275fac=function(e){return V(e||t)},t.\u0275dir=h.Hb({type:t,features:[h.xb]}),t}(),V=h.Ub(K),q=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){return g(this,i),e.call(this,t,n,r)}return i}(K);return t.\u0275fac=function(e){return new(e||t)(h.Mb(h.l),h.Mb(h.A),h.Mb(j))},t.\u0275cmp=h.Gb({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[h.zb([{provide:z,useExisting:K},{provide:K,useExisting:t}]),h.xb],ngContentSelectors:x,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&&(h.jc(),h.Hc(0,N,3,6,"ng-template"))},directives:[R.q],styles:['.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.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:[L.transformMenu,L.fadeInItems]},changeDetection:0}),t}(),J=new h.r("mat-menu-scroll-strategy"),W={provide:J,deps:[I.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},Z=Object(O.f)({passive:!0}),Y=function(){var t=function(){function t(e,i,n,r,a,o,s,c){var u=this;g(this,t),this._overlay=e,this._element=i,this._viewContainerRef=n,this._parentMenu=a,this._menuItemInstance=o,this._dir=s,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new h.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new h.o,this.onMenuClose=this.menuClosed,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Z),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return m(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,Z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{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 K&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"_destroyMenu",value:function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof K?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(_.a)((function(t){return"void"===t.toState})),Object(w.a)(1),Object(S.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{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:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{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(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{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 I.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",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],a=r("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=a[0],s=a[1],c=o,u=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"===o?8:-8):this.menu.overlapTrigger||(c="top"===o?"bottom":"top",u="top"===s?"bottom":"top"),t.withPositions([{originX:i,originY:c,overlayX:l,overlayY:o,offsetY:d},{originX:n,originY:c,overlayX:h,overlayY:o,offsetY:d},{originX:i,originY:u,overlayX:l,overlayY:s,offsetY:-d},{originX:n,originY:u,overlayX:h,overlayY:s,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var t=this,e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),n=this._parentMenu?this._parentMenu.closed:Object(b.a)(),r=this._parentMenu?this._parentMenu._hovered().pipe(Object(_.a)((function(e){return e!==t._menuItemInstance})),Object(_.a)((function(){return t._menuOpen}))):Object(b.a)();return Object(p.a)(e,n,r,i)}},{key:"_handleMousedown",value:function(t){Object(o.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===l.n&&"ltr"===this.dir||e===l.j&&"rtl"===this.dir)&&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._hoverSubscription=this._parentMenu._hovered().pipe(Object(_.a)((function(e){return e===t._menuItemInstance&&!e.disabled})),Object(k.a)(0,v.a)).subscribe((function(){t._openedBy="mouse",t.menu instanceof K&&t.menu._isAnimating?t.menu._animationDone.pipe(Object(w.a)(1),Object(k.a)(0,v.a),Object(S.a)(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new C.j(this.menu.templateRef,this._viewContainerRef)),this._portal}},{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.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Mb(I.c),h.Mb(h.l),h.Mb(h.Q),h.Mb(J),h.Mb(K,8),h.Mb(B,10),h.Mb(M.c,8),h.Mb(o.h))},t.\u0275dir=h.Hb({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&h.Zb("mousedown",(function(t){return e._handleMousedown(t)}))("keydown",(function(t){return e._handleKeydown(t)}))("click",(function(t){return e._handleClick(t)})),2&t&&h.Bb("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}(),X=function(){var t=function t(){g(this,t)};return t.\u0275mod=h.Kb({type:t}),t.\u0275inj=h.Jb({factory:function(e){return new(e||t)},providers:[W],imports:[T.i]}),t}(),Q=function(){var t=function t(){g(this,t)};return t.\u0275mod=h.Kb({type:t}),t.\u0275inj=h.Jb({factory:function(e){return new(e||t)},providers:[W],imports:[[R.c,T.i,T.t,I.f,X],D.c,T.i,X]}),t}()},JjRu:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("EM62"),r=i("nIj0"),a=i("FlRo"),o=i("2kYt"),s=i("OZ4H"),c=i("PBFl"),u=i("bFHC"),l=i("nKqi"),h=i("FcRk"),d=i("29Wa"),f=i("Cd2c"),p=i("s2Ay");function b(t,e){if(1&t&&(n.Sb(0,"div",14),n.Jc(1),n.ec(2,"translate"),n.ec(3,"translate"),n.Sb(4,"span",15),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Jc(7),n.ec(8,"translate"),n.Rb()),2&t){var i=n.dc(2);n.Ab(1),n.Nc(" ",n.fc(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",n.fc(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",i.entityType," "),n.Ab(4),n.Kc(n.fc(6,10,"DIALOGS.DELETE_ENTITY.OR")),n.Ab(2),n.Mc(" ",i.entityType," ",n.fc(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function v(t,e){if(1&t&&(n.Sb(0,"div",14),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t){var i=n.dc(2);n.Ab(1),n.Mc(" ",n.fc(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",i.entityType," ? ")}}function y(t,e){1&t&&n.Nb(0,"th",16)}function A(t,e){if(1&t&&(n.Sb(0,"td",17),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Lc(" ",i.name," ")}}function w(t,e){1&t&&n.Nb(0,"tr",18)}function _(t,e){1&t&&n.Nb(0,"tr",19)}function S(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",12),n.Zb("click",(function(){return n.xc(i),n.dc(2).force=!0})),n.Sb(1,"mat-icon"),n.Jc(2,"warning"),n.Rb(),n.Jc(3),n.ec(4,"translate"),n.ec(5,"translate"),n.Rb()}2&t&&(n.Ab(3),n.Mc(" ",n.fc(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.fc(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}var k=function(){return["name"]};function E(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div"),n.Sb(1,"h1",1),n.Jc(2),n.ec(3,"translate"),n.Rb(),n.Sb(4,"div",2),n.Hc(5,b,9,14,"div",3),n.Hc(6,v,3,4,"div",3),n.Sb(7,"table",4),n.Qb(8,5),n.Hc(9,y,1,0,"th",6),n.Hc(10,A,2,1,"td",7),n.Pb(),n.Hc(11,w,1,0,"tr",8),n.Hc(12,_,1,0,"tr",9),n.Rb(),n.Rb(),n.Sb(13,"div",10),n.Sb(14,"button",11),n.Zb("click",(function(){return n.xc(i),n.dc().onCancel()})),n.Jc(15),n.ec(16,"translate"),n.Rb(),n.Sb(17,"button",12),n.Zb("click",(function(){return n.xc(i),n.dc().onDelete()})),n.Jc(18),n.ec(19,"translate"),n.Rb(),n.Hc(20,S,6,6,"button",13),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(2),n.Mc("",n.fc(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",r.entityType,""),n.Ab(3),n.kc("ngIf",!r.disableForce),n.Ab(1),n.kc("ngIf",r.disableForce),n.Ab(1),n.kc("dataSource",r.entityNames),n.Ab(4),n.kc("matHeaderRowDef",n.oc(16,k)),n.Ab(1),n.kc("matRowDefColumns",n.oc(17,k)),n.Ab(3),n.Lc(" ",n.fc(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),n.Ab(2),n.kc("ngIf",!r.disableForce)}}function C(t,e){if(1&t&&(n.Sb(0,"mat-list-item"),n.Sb(1,"span"),n.Sb(2,"mat-icon",24),n.Jc(3,"fiber_manual_record"),n.Rb(),n.Jc(4),n.Rb(),n.Rb()),2&t){var i=e.$implicit;n.Ab(4),n.Lc(" ",i," ")}}function R(t,e){1&t&&n.Nb(0,"th",16)}function T(t,e){if(1&t&&(n.Sb(0,"td",17),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Lc(" ",i.name," ")}}function I(t,e){1&t&&n.Nb(0,"tr",18)}function O(t,e){1&t&&n.Nb(0,"tr",19)}function D(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div"),n.Sb(1,"h1",1),n.Jc(2),n.ec(3,"translate"),n.ec(4,"translate"),n.Rb(),n.Sb(5,"div",2),n.Sb(6,"div",14),n.Jc(7),n.ec(8,"translate"),n.Sb(9,"mat-list"),n.Hc(10,C,5,1,"mat-list-item",20),n.Rb(),n.Sb(11,"app-alert",21),n.Jc(12),n.ec(13,"translate"),n.Rb(),n.Sb(14,"table",4),n.Qb(15,5),n.Hc(16,R,1,0,"th",6),n.Hc(17,T,2,1,"td",7),n.Pb(),n.Hc(18,I,1,0,"tr",8),n.Hc(19,O,1,0,"tr",9),n.Rb(),n.Rb(),n.Sb(20,"mat-form-field"),n.Nb(21,"input",22),n.ec(22,"translate"),n.Rb(),n.Rb(),n.Sb(23,"div",10),n.Sb(24,"button",11),n.Zb("click",(function(){return n.xc(i),n.dc().onCancel()})),n.Jc(25),n.ec(26,"translate"),n.Rb(),n.Sb(27,"button",23),n.Zb("click",(function(){return n.xc(i),n.dc().onDelete()})),n.Sb(28,"mat-icon"),n.Jc(29,"warning"),n.Rb(),n.Jc(30),n.ec(31,"translate"),n.ec(32,"translate"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(2),n.Nc("",n.fc(3,16,"DIALOGS.DELETE_ENTITY.DELETE")," ",r.entityType," ",n.fc(4,18,"DIALOGS.DELETE_ENTITY.RELATIONS"),""),n.Ab(5),n.Lc(" ",n.fc(8,20,"DIALOGS.DELETE_ENTITY.WARN"),": "),n.Ab(3),n.kc("ngForOf",r.relations),n.Ab(2),n.Mc(" ",n.fc(13,22,"DIALOGS.DELETE_ENTITY.ASK")," ",r.entityType," ? "),n.Ab(2),n.kc("dataSource",r.entityNames),n.Ab(4),n.kc("matHeaderRowDef",n.oc(32,k)),n.Ab(1),n.kc("matRowDefColumns",n.oc(33,k)),n.Ab(2),n.lc("placeholder",n.fc(22,24,"DIALOGS.DELETE_ENTITY.CONTROL")),n.kc("formControl",r.deleteControl),n.Ab(4),n.Lc(" ",n.fc(26,26,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.Ab(2),n.kc("disabled",r.deleteControl.invalid),n.Ab(3),n.Mc(" ",n.fc(31,28,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.fc(32,30,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}var M=function(){var t=function(){function t(){g(this,t),this.entityNames=new a.o,this.relations=[],this.disableForce=!1,this.deleted=new n.o,this.loading=!1,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new r.g("",[r.F.required,r.F.pattern(this.deleteReg)])}return m(t,[{key:"onCancel",value:function(){this.deleted.emit({deleted:!1,force:!1})}},{key:"onDelete",value:function(){this.deleted.emit({deleted:!0,force:this.force})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",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.Hc(0,E,21,18,"div",0),n.Hc(1,D,33,34,"div",0)),2&t&&(n.kc("ngIf",!e.force),n.Ab(1),n.kc("ngIf",e.force))},directives:[o.t,s.j,s.g,a.n,a.c,a.i,a.b,a.k,a.m,s.c,c.b,a.h,a.a,a.j,a.l,u.a,l.a,o.s,h.a,d.c,f.b,r.c,r.r,r.h,l.d],pipes:[p.d],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),t}()},K9kF:function(t,e,i){"use strict";i.d(e,"a",(function(){return $}));var n=i("EM62"),r=i("cePI"),a=i("FlRo"),o=i("cqs0"),s=i("iAde"),c=i("X2Q7"),u=i("8clQ"),l=i("+0js"),h=i("Ssnw"),f=i("2kYt"),p=i("OZ4H"),b=i("9wx0"),v=i("+Tre"),y=i("Y2X+"),A=i("Ds80"),w=i("PBFl"),_=i("bFHC"),S=i("XpU2"),k=i("sEIs"),E=i("TQS+"),C=i("FcRk"),R=i("s2Ay"),T=i("SAuR"),I=i("OcHD");function O(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-checkbox",24),n.Zb("change",(function(t){n.xc(i);var e=n.dc(2);return t?e.masterToggle():null})),n.Rb()}if(2&t){var r=n.dc(2);n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function D(t,e){if(1&t&&(n.Sb(0,"th",22),n.Hc(1,O,1,3,"mat-checkbox",23),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.kc("ngIf",!i.disableHeadCheckbox)}}function M(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",25),n.Sb(1,"span",26),n.ec(2,"translate"),n.Sb(3,"mat-checkbox",27),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.itemSelectionToggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.lc("matTooltip",n.fc(2,6,a.getCheckboxTooltipMessage(r))),n.kc("matTooltipPosition","above")("matTooltipDisabled",!a.disableSelect(r)),n.Ab(2),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))("disabled","members"===r.name&&a.disableMembers||a.disableSelect(r))}}function P(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")))}function x(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function N(t,e){1&t&&n.Nb(0,"th",22)}function L(t,e){if(1&t&&(n.Sb(0,"td",29),n.Nb(1,"perun-web-apps-recently-viewed-icon",30),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.kc("recentIds",r.recentIds)("id",i.id)}}function F(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")))}function z(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.Kc(r.voNames.get(i.voId))}}function H(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")))}function B(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.name)}}function j(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")))}function G(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.description)}}function U(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")))}function K(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",33),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc().changeExpiration(t)}))("mouseenter",(function(){return n.xc(i),n.dc(2).disabledRouting=!0}))("mouseleave",(function(){n.xc(i);var t=n.dc(2);return t.disabledRouting=t.disableRouting})),n.Sb(1,"mat-icon"),n.Jc(2,"edit"),n.Rb(),n.Rb()}}function V(t,e){if(1&t&&(n.Sb(0,"td",31),n.Jc(1),n.ec(2,"parseDate"),n.ec(3,"groupExpiration"),n.Hc(4,K,3,0,"button",32),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.Lc(" ",n.fc(2,2,n.fc(3,4,i))," "),n.Ab(3),n.kc("ngIf",r.canManageGroup(i))}}function q(t,e){1&t&&n.Nb(0,"th",22)}function J(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",29),n.Sb(1,"perun-web-apps-group-menu",34),n.Zb("mouseenter",(function(){return n.xc(i),n.dc().disabledRouting=!0}))("mouseleave",(function(){n.xc(i);var t=n.dc();return t.disabledRouting=t.disableRouting}))("moveGroup",(function(){n.xc(i);var t=e.$implicit;return n.dc().onMoveGroup(t)}))("changeNameDescription",(function(){n.xc(i);var t=e.$implicit;return n.dc().onChangeNameDescription(t)}))("syncGroup",(function(){n.xc(i);var t=e.$implicit;return n.dc().onSyncDetail(t)})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("disabled","members"===r.name)("displayButtons",a.displayButtons)("group",r)}}function W(t,e){1&t&&n.Nb(0,"tr",35)}var Z=function(t,e){return["/organizations",t,"groups",e]};function Y(t,e){if(1&t&&n.Nb(0,"tr",36),2&t){var i=e.$implicit,r=n.dc();n.Eb("cursor-pointer",!r.disableRouting&&!r.groupsToDisable.has(i.id))("disable-outline",r.disabledRouting||r.groupsToDisable.has(i.id)),n.kc("routerLink",r.disabledRouting||r.groupsToDisable.has(i.id)?null:n.qc(6,Z,i.voId,i.id))("perunWebAppsMiddleClickRouterLink",r.disabledRouting||r.groupsToDisable.has(i.id)?null:n.qc(9,Z,i.voId,i.id))}}function X(t,e){1&t&&(n.Sb(0,"app-alert",37),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function Q(t,e){1&t&&(n.Sb(0,"app-alert",37),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var $=function(){var t=function(){function t(e,i,r,a){var s=this;g(this,t),this.dialog=e,this.authResolver=i,this.voService=r,this.tableCheckbox=a,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new n.o,this.groups=[],this.selection=new o.c(!0,[]),this.hasMembersGroup=!1,this.hideColumns=[],this.groupsToDisable=new Set,this.pageSize=10,this.filter="",this.disableRouting=!1,this.pageSizeOptions=u.a,this.recentIds=[],this.page=new n.o,this.refreshTable=new n.o,this.displayedColumns=["select","id","recent","vo","name","description","expiration","menu"],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 m(t,[{key:"shouldHideButtons",value:function(){this.displayButtons=window.innerWidth>800}},{key:"ngOnInit",value:function(){this.shouldHideButtons()}},{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.dataSource=new a.o(this.groups),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}},{key:"checkIfHasMembersGroup",value:function(){var t,e=d(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=Object(u.q)(t);return Object(u.u)(n);case"recent":return"";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=Object(u.q)(t);return n&&"never"!==n.toLowerCase()?Object(f.I)(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;default:return t[e]}}},{key:"exportData",value:function(t){Object(u.i)(Object(u.n)(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.hideColumns.includes(e)})),this.dataSource&&(this.dataSource.filterPredicate=function(e,i){return Object(u.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(u.g)(e,i,t.getSortDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.filter=this.filter,this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.paginator.hasNextPage(),this.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.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.dataSource.paginator=this.paginator}},{key:"onMoveGroup",value:function(t){this.moveGroup.emit(t)}},{key:"onSyncDetail",value:function(t){var e=Object(u.o)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(l.i,e)}},{key:"onChangeNameDescription",value:function(t){var e=this,i=Object(u.o)();i.data={theme:"group-theme",group:t,dialogType:l.h.GROUP},this.dialog.open(l.g,i).afterClosed().subscribe((function(t){t&&e.refreshTable.emit()}))}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{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.hideColumns.includes("vo")||this.groups.forEach((function(e){t.voIds.has(e.voId)||(t.voIds.add(e.voId),t.voService.getVoById(e.voId).subscribe((function(i){t.voNames.set(e.voId,i.name)})))}))}},{key:"changeExpiration",value:function(t){var e=this,i=t.attributes.find((function(t){return"groupMembershipExpiration"===t.baseFriendlyName})),n=Object(u.o)();n.width="400px",n.data={memberId:this.memberId,groupId:t.id,expirationAttr:i,mode:"group"},this.dialog.open(l.d,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:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(p.b),n.Mb(h.h),n.Mb(c.r),n.Mb(h.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},hostBindings:function(t,e){1&t&&n.Zb("resize",(function(t){return e.shouldHideButtons(t)}),!1,n.wc)},inputs:{theme:"theme",groups:"groups",selection:"selection",hideColumns:"hideColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisable:"groupsToDisable",pageSize:"pageSize",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds"},outputs:{moveGroup:"moveGroup",page:"page",refreshTable:"refreshTable"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","description"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,D,2,1,"th",6),n.Hc(7,M,4,8,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,P,3,3,"th",9),n.Hc(10,x,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,N,1,0,"th",6),n.Hc(13,L,2,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,F,3,3,"th",9),n.Hc(16,z,2,1,"td",7),n.Pb(),n.Qb(17,13),n.Hc(18,H,3,3,"th",9),n.Hc(19,B,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,j,3,3,"th",9),n.Hc(22,G,2,1,"td",15),n.Pb(),n.Qb(23,16),n.Hc(24,U,3,3,"th",9),n.Hc(25,V,5,6,"td",15),n.Pb(),n.Qb(26,17),n.Hc(27,q,1,0,"th",6),n.Hc(28,J,2,3,"td",11),n.Pb(),n.Hc(29,W,1,0,"tr",18),n.Hc(30,Y,1,12,"tr",19),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",20),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,X,3,3,"app-alert",21),n.Hc(33,Q,3,3,"app-alert",21)),2&t&&(n.kc("hidden",0===e.groups.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.groups.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.groups.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.groups.length))},directives:[b.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,s.a,f.t,a.h,v.a,a.a,y.a,r.b,A.a,w.b,_.a,S.a,a.j,a.l,k.g,E.c,C.a],pipes:[R.d,T.a,I.a],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}()},KF6X:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("FlRo"),r=i("EM62"),a=i("Meci"),o=i("s2Ay");function s(t,e){1&t&&r.Nb(0,"th",9)}function c(t,e){if(1&t&&(r.Sb(0,"td",10),r.Jc(1),r.Rb()),2&t){var i=e.$implicit;r.Ab(1),r.Lc(" ",i,": ")}}function u(t,e){1&t&&r.Nb(0,"th",9)}function l(t,e){if(1&t&&(r.Sb(0,"td",11),r.Jc(1),r.Rb()),2&t){var i=e.$implicit,n=r.dc();r.Ab(1),r.Lc(" ",n.statistics.get(i.toLowerCase())," ")}}function h(t,e){1&t&&r.Nb(0,"tr",12)}var d=function(){var t=function(){function t(){g(this,t),this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}return m(t,[{key:"ngOnInit",value:function(){this.dataSource=new n.o(this.rowNames)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Gb({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&&(r.Sb(0,"mat-card",0),r.Sb(1,"mat-card-header"),r.Sb(2,"mat-card-title"),r.Sb(3,"h1",1),r.Jc(4),r.ec(5,"translate"),r.Rb(),r.Rb(),r.Rb(),r.Sb(6,"mat-card-content"),r.Sb(7,"table",2),r.Qb(8,3),r.Hc(9,s,1,0,"th",4),r.Hc(10,c,2,1,"td",5),r.Pb(),r.Qb(11,6),r.Hc(12,u,1,0,"th",4),r.Hc(13,l,2,1,"td",7),r.Pb(),r.Hc(14,h,1,0,"tr",8),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Ab(4),r.Kc(r.fc(5,3,e.title)),r.Ab(3),r.kc("dataSource",e.dataSource),r.Ab(7),r.kc("matRowDefColumns",e.displayedColumns))},directives:[a.a,a.f,a.m,a.d,n.n,n.c,n.i,n.b,n.m,n.h,n.a,n.l],pipes:[o.d],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0;display:inline-block;vertical-align:top}"]}),t}()},KQGD:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),r=i("LAw4"),a=i("s2Ay"),o=function(){var t=function t(){g(this,t),this.facilitySelected=new n.o,this.nameFunction=function(t){return t.name}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.facilitySelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.facilities)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",n.fc(1,6,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.SELECT_FACILITY"))("findPlaceholder",n.fc(2,8,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.FIND_FACILITY"))("noEntriesText",n.fc(3,10,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.NO_FACILITY_FOUND"))},directives:[r.a],pipes:[a.d],styles:[""]}),t}()},KRZI:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("FU6l");function r(t){return!Object(n.a)(t)&&t-parseFloat(t)+1>=0}},KSio:function(t,e,i){"use strict";i.d(e,"a",(function(){return it}));var n=i("Ssnw"),r=i("X2Q7"),a=i("EM62"),o=i("sEIs"),s=i("2kYt"),c=i("csyo"),u=i("0XDM"),l=i("KZIX"),h=i("FlRo"),f=i("3Uyd"),p=i("zmEM"),b=i("s2Ay");function v(t,e){if(1&t&&(a.Sb(0,"mat-panel-description"),a.Sb(1,"div"),a.Sb(2,"i",7),a.Jc(3," error "),a.Rb(),a.Jc(4),a.ec(5,"translate"),a.ec(6,"translate"),a.Rb(),a.Rb()),2&t){var i=a.dc().$implicit,n=a.dc();a.Ab(4),a.Oc(" ",n.getErrorCountStates(i)," ",a.fc(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",i.taskList.length," ",a.fc(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function y(t,e){1&t&&(a.Sb(0,"th",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")))}function A(t,e){if(1&t&&(a.Sb(0,"td",21),a.Jc(1),a.Rb()),2&t){var i=e.$implicit;a.Ab(1),a.Kc(i.id)}}function w(t,e){1&t&&(a.Sb(0,"th",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")))}function _(t,e){if(1&t&&(a.Sb(0,"td",21),a.Jc(1),a.Rb()),2&t){var i=e.$implicit;a.Ab(1),a.Kc(i.service.name)}}function S(t,e){1&t&&(a.Sb(0,"th",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")))}function k(t,e){if(1&t&&(a.Sb(0,"td",21),a.Jc(1),a.Rb()),2&t){var i=e.$implicit;a.Ab(1),a.Kc(i.status)}}function E(t,e){1&t&&(a.Sb(0,"th",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")))}function C(t,e){if(1&t&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"date"),a.Rb()),2&t){var i=a.dc().$implicit;a.Ab(1),a.Lc(" ",a.gc(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function R(t,e){1&t&&(a.Jc(0),a.ec(1,"translate")),2&t&&a.Lc(" ",a.fc(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function T(t,e){if(1&t&&(a.Sb(0,"td",21),a.Hc(1,C,3,4,"div",22),a.Hc(2,R,2,3,"ng-template",23,24,a.Ic),a.Rb()),2&t){var i=e.$implicit,n=a.tc(3);a.Ab(1),a.kc("ngIf",i.schedule)("ngIfElse",n)}}function I(t,e){1&t&&(a.Sb(0,"th",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")))}function O(t,e){if(1&t&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"date"),a.Rb()),2&t){var i=a.dc().$implicit;a.Ab(1),a.Lc(" ",a.gc(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function D(t,e){1&t&&(a.Jc(0),a.ec(1,"translate")),2&t&&a.Lc(" ",a.fc(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function M(t,e){if(1&t&&(a.Sb(0,"td",21),a.Hc(1,O,3,4,"div",22),a.Hc(2,D,2,3,"ng-template",23,24,a.Ic),a.Rb()),2&t){var i=e.$implicit,n=a.tc(3);a.Ab(1),a.kc("ngIf",i.startTime)("ngIfElse",n)}}function P(t,e){1&t&&(a.Sb(0,"th",20),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Kc(a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")))}function x(t,e){if(1&t&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"date"),a.Rb()),2&t){var i=a.dc().$implicit;a.Ab(1),a.Lc(" ",a.gc(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function N(t,e){1&t&&(a.Jc(0),a.ec(1,"translate")),2&t&&a.Lc(" ",a.fc(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function L(t,e){if(1&t&&(a.Sb(0,"td",21),a.Hc(1,x,3,4,"div",22),a.Hc(2,N,2,3,"ng-template",23,24,a.Ic),a.Rb()),2&t){var i=e.$implicit,n=a.tc(3);a.Ab(1),a.kc("ngIf",i.endTime)("ngIfElse",n)}}function F(t,e){1&t&&a.Nb(0,"tr",25)}var z=function(t,e,i){return{redTableItem:t,greenTableItem:e,yellowTableItem:i}};function H(t,e){if(1&t&&a.Nb(0,"tr",26),2&t){var i=e.$implicit;a.kc("ngClass",a.rc(1,z,"ERROR"===i.status||"SENDERROR"===i.status||"GENERROR"===i.status,"DONE"===i.status,"WARNING"===i.status))}}function B(t,e){if(1&t&&(a.Sb(0,"table",9),a.Qb(1,10),a.Hc(2,y,3,3,"th",11),a.Hc(3,A,2,1,"td",12),a.Pb(),a.Qb(4,13),a.Hc(5,w,3,3,"th",11),a.Hc(6,_,2,1,"td",12),a.Pb(),a.Qb(7,14),a.Hc(8,S,3,3,"th",11),a.Hc(9,k,2,1,"td",12),a.Pb(),a.Qb(10,15),a.Hc(11,E,3,3,"th",11),a.Hc(12,T,4,2,"td",12),a.Pb(),a.Qb(13,16),a.Hc(14,I,3,3,"th",11),a.Hc(15,M,4,2,"td",12),a.Pb(),a.Qb(16,17),a.Hc(17,P,3,3,"th",11),a.Hc(18,L,4,2,"td",12),a.Pb(),a.Hc(19,F,1,0,"tr",18),a.Hc(20,H,1,5,"tr",19),a.Rb()),2&t){var i=a.dc(2).$implicit,n=a.dc();a.kc("dataSource",n.datasources[n.propagation.indexOf(i)]),a.Ab(19),a.kc("matHeaderRowDef",n.displayedColumns),a.Ab(1),a.kc("matRowDefColumns",n.displayedColumns)}}function j(t,e){1&t&&(a.Sb(0,"div"),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function G(t,e){if(1&t&&(a.Nb(0,"mat-divider"),a.Hc(1,B,21,3,"table",8),a.Hc(2,j,3,3,"div",5)),2&t){var i=a.dc().$implicit;a.Ab(1),a.kc("ngIf",0!==i.taskList.length),a.Ab(1),a.kc("ngIf",0===i.taskList.length)}}function U(t,e){if(1&t&&(a.Sb(0,"mat-expansion-panel"),a.Sb(1,"mat-expansion-panel-header"),a.Sb(2,"mat-panel-title"),a.Nb(3,"img",3),a.Sb(4,"div",4),a.Jc(5),a.Rb(),a.Rb(),a.Hc(6,v,7,8,"mat-panel-description",5),a.Rb(),a.Hc(7,G,3,2,"ng-template",6),a.Rb()),2&t){var i=e.$implicit,n=a.dc();a.Ab(5),a.Lc(" ",i.resource.name," "),a.Ab(1),a.kc("ngIf",0!==n.getErrorCountStates(i))}}var K,V=((K=function(){function t(){g(this,t),this.propagation=[],this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}return m(t,[{key:"ngOnInit",value:function(){this.getDataSource()}},{key:"getErrorCountStates",value:function(t){var e,i=0,n=d(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(a){n.e(a)}finally{n.f()}return i}},{key:"getDataSource",value:function(){var t,e=d(this.propagation);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.datasources.push(new h.o(i.taskList))}}catch(n){e.e(n)}finally{e.f()}}}]),t}()).\u0275fac=function(t){return new(t||K)},K.\u0275cmp=a.Gb({type:K,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&&(a.Sb(0,"div",0),a.Sb(1,"mat-accordion",1),a.Hc(2,U,8,2,"mat-expansion-panel",2),a.Rb(),a.Rb()),2&t&&(a.Ab(2),a.kc("ngForOf",e.propagation))},directives:[f.a,s.s,f.c,f.g,f.h,s.t,f.e,f.f,p.a,h.n,h.c,h.i,h.b,h.k,h.m,h.h,h.a,h.j,h.l,s.q],pipes:[b.d,s.f],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}"]}),K),q=i("FcRk");function J(t,e){1&t&&a.Nb(0,"mat-spinner",3)}function W(t,e){if(1&t&&(a.Jc(0),a.ec(1,"translate"),a.Sb(2,"span",8),a.Jc(3),a.Rb()),2&t){var i=a.dc(2);a.Lc(" ",a.fc(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),a.Ab(3),a.Kc(i.errorPropagation.length)}}function Z(t,e){1&t&&(a.Sb(0,"app-alert",11),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.kc("alert_type","warn"),a.Ab(1),a.Lc(" ",a.fc(2,2,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function Y(t,e){if(1&t&&(a.Hc(0,Z,3,4,"app-alert",9),a.Nb(1,"app-state-tab",10)),2&t){var i=a.dc(2);a.kc("ngIf",0===i.errorPropagation.length),a.Ab(1),a.kc("propagation",i.errorPropagation)}}function X(t,e){if(1&t&&(a.Jc(0),a.ec(1,"translate"),a.Sb(2,"span",12),a.Jc(3),a.Rb()),2&t){var i=a.dc(2);a.Lc(" ",a.fc(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),a.Ab(3),a.Kc(i.okPropagation.length)}}function Q(t,e){1&t&&(a.Sb(0,"app-alert",14),a.Jc(1),a.ec(2,"translate"),a.Rb()),2&t&&(a.Ab(1),a.Lc(" ",a.fc(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function $(t,e){if(1&t&&(a.Hc(0,Q,3,3,"app-alert",13),a.Nb(1,"app-state-tab",10)),2&t){var i=a.dc(2);a.kc("ngIf",0===i.okPropagation.length),a.Ab(1),a.kc("propagation",i.okPropagation)}}function tt(t,e){if(1&t){var i=a.Tb();a.Sb(0,"div"),a.Sb(1,"perun-web-apps-refresh-button",4),a.Zb("refresh",(function(){return a.xc(i),a.dc().refreshTable()})),a.Rb(),a.Sb(2,"mat-tab-group",5),a.Zb("selectedIndexChange",(function(t){return a.xc(i),a.dc().selectedIndex=t})),a.Sb(3,"mat-tab"),a.Hc(4,W,4,4,"ng-template",6),a.Hc(5,Y,2,2,"ng-template",7),a.Rb(),a.Sb(6,"mat-tab"),a.Hc(7,X,4,4,"ng-template",6),a.Hc(8,$,2,2,"ng-template",7),a.Rb(),a.Rb(),a.Rb()}if(2&t){var n=a.dc();a.Ab(2),a.kc("selectedIndex",n.selectedIndex)}}var et,it=((et=function(){function t(e,i,n){g(this,t),this.route=e,this.taskService=i,this.customIconService=n,this.loading=!1,this.resourceStates=[],this.selectedIndex=0}return m(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=d(e);try{for(n.s();!(i=n.n()).done;){var r,a=i.value,o=!0,s=d(a.taskList);try{for(s.s();!(r=s.n()).done;){var c=r.value;if("ERROR"===c.status||"GENERROR"===c.status||"SENDERROR"===c.status){o=!1;break}}}catch(u){s.e(u)}finally{s.f()}o?t.okPropagation.push(a):t.errorPropagation.push(a)}}catch(u){n.e(u)}finally{n.f()}t.loading=!1}))}}]),t}()).id="VoResourcesStatesComponent",et.\u0275fac=function(t){return new(t||et)(a.Mb(o.a),a.Mb(r.o),a.Mb(n.e))},et.\u0275cmp=a.Gb({type:et,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Eb("router-component",!0)},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&&(a.Sb(0,"h1",0),a.Jc(1),a.ec(2,"translate"),a.Rb(),a.Hc(3,J,1,0,"mat-spinner",1),a.Hc(4,tt,9,1,"div",2)),2&t&&(a.Ab(1),a.Kc(a.fc(2,3,"VO_DETAIL.RESOURCES.STATES.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading))},directives:[s.t,c.c,u.a,l.c,l.a,l.d,l.b,V,q.a],pipes:[b.d],styles:[""]}),et)},KTx3:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("IdLP"),a=n("FU6l"),o=n("IJgj"),s=n("YtkY");function c(t,e,n,u){return Object(o.a)(n)&&(u=n,n=void 0),u?c(t,e,n).pipe(Object(s.a)((function(t){return Object(a.a)(t)?u.apply(void 0,i(t)):u(t)}))):new r.a((function(i){!function t(e,i,n,r,a){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(i,n,a),o=function(){return s.removeEventListener(i,n,a)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var c=e;e.on(i,n),o=function(){return c.off(i,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(i,n),o=function(){return u.removeListener(i,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,h=e.length;l1?Array.prototype.slice.call(arguments):t)}),i,n)}))}},KZIX:function(t,e,r){"use strict";r.d(e,"a",(function(){return nt})),r.d(e,"b",(function(){return Q})),r.d(e,"c",(function(){return ft})),r.d(e,"d",(function(){return $})),r.d(e,"e",(function(){return kt})),r.d(e,"f",(function(){return wt})),r.d(e,"g",(function(){return Et}));var o=r("sg/T"),c=r("TKFd"),l=r("Sv/w"),d=r("2kYt"),f=r("EM62"),p=r("mFH5"),b=r("5lCh"),v=r("ZTXN"),y=r("bwdy"),A=r("g6G6"),w=r("KTx3"),_=r("ROBh"),S=r("8lHc"),k=r("f7+R"),E=r("jIqt"),C=r("Ohay"),R=r("kuMc"),T=r("5XID"),I=r("cZZj"),O=r("fAiE"),D=r("E5oP"),M=r("qvOF");function P(t,e){1&t&&f.ic(0)}var x=["*"];function N(t,e){}var L=function(t){return{animationDuration:t}},F=function(t,e){return{value:t,params:e}},z=["tabBodyWrapper"],H=["tabHeader"];function B(t,e){}function j(t,e){if(1&t&&f.Hc(0,B,0,0,"ng-template",9),2&t){var i=f.dc().$implicit;f.kc("cdkPortalOutlet",i.templateLabel)}}function G(t,e){if(1&t&&f.Jc(0),2&t){var i=f.dc().$implicit;f.Kc(i.textLabel)}}function U(t,e){if(1&t){var i=f.Tb();f.Sb(0,"div",6),f.Zb("click",(function(){f.xc(i);var t=e.$implicit,n=e.index,r=f.dc(),a=f.tc(1);return r._handleClick(t,a,n)})),f.Sb(1,"div",7),f.Hc(2,j,1,1,"ng-template",8),f.Hc(3,G,1,1,"ng-template",8),f.Rb(),f.Rb()}if(2&t){var n=e.$implicit,r=e.index,a=f.dc();f.Eb("mat-tab-label-active",a.selectedIndex==r),f.kc("id",a._getTabLabelId(r))("disabled",n.disabled)("matRippleDisabled",n.disabled||a.disableRipple),f.Bb("tabIndex",a._getTabIndex(n,r))("aria-posinset",r+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(r))("aria-selected",a.selectedIndex==r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),f.Ab(2),f.kc("ngIf",n.templateLabel),f.Ab(1),f.kc("ngIf",!n.templateLabel)}}function K(t,e){if(1&t){var i=f.Tb();f.Sb(0,"mat-tab-body",10),f.Zb("_onCentered",(function(){return f.xc(i),f.dc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(t){return f.xc(i),f.dc()._setTabBodyWrapperHeight(t)})),f.Rb()}if(2&t){var n=e.$implicit,r=e.index,a=f.dc();f.Eb("mat-tab-body-active",a.selectedIndex==r),f.kc("id",a._getTabContentId(r))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",a.animationDuration),f.Bb("aria-labelledby",a._getTabLabelId(r))}}var V=["tabListContainer"],q=["tabList"],J=["nextPaginator"],W=["previousPaginator"],Z=["mat-tab-nav-bar",""],Y=new f.r("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),X=function(){var t=function(){function t(e,i,n,r){g(this,t),this._elementRef=e,this._ngZone=i,this._inkBarPositioner=n,this._animationMode=r}return m(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)(f.Mb(f.l),f.Mb(f.A),f.Mb(Y),f.Mb(b.a,8))},t.\u0275dir=f.Hb({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&f.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t}(),Q=function(){var t=function t(e){g(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.M))},t.\u0275dir=f.Hb({type:t,selectors:[["","matTabContent",""]]}),t}(),$=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(l.b);return t.\u0275fac=function(e){return tt(e||t)},t.\u0275dir=f.Hb({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[f.xb]}),t}(),tt=f.Ub($),et=Object(p.A)((function t(){g(this,t)})),it=new f.r("MAT_TAB_GROUP"),nt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this))._viewContainerRef=t,r._closestTabGroup=n,r.textLabel="",r._contentPortal=null,r._stateChanges=new v.a,r.position=null,r.origin=null,r.isActive=!1,r}return m(i,[{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 l.j(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(t){t&&(this._templateLabel=t)}},{key:"content",get:function(){return this._contentPortal}}]),i}(et);return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.Q),f.Mb(it,8))},t.\u0275cmp=f.Gb({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){var n;1&t&&(f.Fb(i,$,!0),f.Cc(i,Q,!0,f.M)),2&t&&(f.sc(n=f.ac())&&(e.templateLabel=n.first),f.sc(n=f.ac())&&(e._explicitContent=n.first))},viewQuery:function(t,e){var i;1&t&&f.Dc(f.M,!0),2&t&&f.sc(i=f.ac())&&(e._implicitContent=i.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[f.xb,f.yb],ngContentSelectors:x,decls:1,vars:0,template:function(t,e){1&t&&(f.jc(),f.Hc(0,P,1,0,"ng-template"))},encapsulation:2}),t}(),rt={translateTab:Object(k.n)("translateTab",[Object(k.k)("center, void, left-origin-center, right-origin-center",Object(k.l)({transform:"none"})),Object(k.k)("left",Object(k.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(k.k)("right",Object(k.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(k.m)("* => left, * => right, left => center, right => center",Object(k.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(k.m)("void => left-origin-center",[Object(k.l)({transform:"translate3d(-100%, 0, 0)"}),Object(k.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(k.m)("void => right-origin-center",[Object(k.l)({transform:"translate3d(100%, 0, 0)"}),Object(k.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},at=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n,a))._host=r,o._centeringSub=y.a.EMPTY,o._leavingSub=y.a.EMPTY,o}return m(i,[{key:"ngOnInit",value:function(){var t=this;n(h(i.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(E.a)(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}(l.c);return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.j),f.Mb(f.Q),f.Mb(Object(f.U)((function(){return st}))),f.Mb(d.e))},t.\u0275dir=f.Hb({type:t,selectors:[["","matTabBodyHost",""]],features:[f.xb]}),t}(),ot=function(){var t=function(){function t(e,i,n){var r=this;g(this,t),this._elementRef=e,this._dir=i,this._dirChangeSubscription=y.a.EMPTY,this._translateTabComplete=new v.a,this._onCentering=new f.o,this._beforeCentering=new f.o,this._afterLeavingCenter=new f.o,this._onCentered=new f.o(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe((function(t){r._computePositionAnimationState(t),n.markForCheck()}))),this._translateTabComplete.pipe(Object(C.a)((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 m(t,[{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"}},{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.l),f.Mb(D.c,8),f.Mb(f.h))},t.\u0275dir=f.Hb({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t}(),st=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){return g(this,i),e.call(this,t,n,r)}return i}(ot);return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.l),f.Mb(D.c,8),f.Mb(f.h))},t.\u0275cmp=f.Gb({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var i;1&t&&f.Qc(l.g,!0),2&t&&f.sc(i=f.ac())&&(e._portalHost=i.first)},hostAttrs:[1,"mat-tab-body"],features:[f.xb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(f.Sb(0,"div",0,1),f.Zb("@translateTab.start",(function(t){return e._onTranslateTabStarted(t)}))("@translateTab.done",(function(t){return e._translateTabComplete.next(t)})),f.Hc(2,N,0,0,"ng-template",2),f.Rb()),2&t&&f.kc("@translateTab",f.qc(3,F,e._position,f.pc(1,L,e.animationDuration)))},directives:[at],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:[rt.translateTab]}}),t}(),ct=new f.r("MAT_TABS_CONFIG"),ut=0,lt=function t(){g(this,t)},ht=Object(p.y)(Object(p.z)((function t(e){g(this,t),this._elementRef=e})),"primary"),dt=function(){var t=function(t){a(n,t);var e=s(n);function n(t,i,r,a){var o;return g(this,n),(o=e.call(this,t))._changeDetectorRef=i,o._animationMode=a,o._tabs=new f.E,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=y.a.EMPTY,o._tabLabelSubscription=y.a.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new f.o,o.focusChange=new f.o,o.animationDone=new f.o,o.selectedTabChange=new f.o(!0),o._groupId=ut++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o}return m(n,[{key:"ngAfterContentChecked",value:function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var i=null==this._selectedIndex;i||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,i){return t.isActive=i===e})),i||t.selectedIndexChange.emit(e)}))}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}(),pt=Object(p.A)((function t(){g(this,t)})),gt=function(){var t=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this)).elementRef=t,n}return m(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}(pt);return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.l))},t.\u0275dir=f.Hb({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(f.Bb("aria-disabled",!!e.disabled),f.Eb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[f.xb]}),t}(),bt=Object(I.f)({passive:!0}),mt=function(){var t=function(){function t(e,i,n,r,a,o,s){var c=this;g(this,t),this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=n,this._dir=r,this._ngZone=a,this._platform=o,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new f.o,this.indexFocused=new f.o,a.runOutsideAngular((function(){Object(w.a)(e.nativeElement,"mouseleave").pipe(Object(R.a)(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return m(t,[{key:"ngAfterViewInit",value:function(){var t=this;Object(w.a)(this._previousPaginator.nativeElement,"touchstart",bt).pipe(Object(R.a)(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),Object(w.a)(this._nextPaginator.nativeElement,"touchstart",bt).pipe(Object(R.a)(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var t=this,e=this._dir?this._dir.change:Object(_.a)(null),i=this._viewportRuler.change(150),n=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new o.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(A.a)(e,i,this._items.changes).pipe(Object(R.a)(this._destroyed)).subscribe((function(){Promise.resolve().then(n),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(Object(R.a)(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(!Object(O.t)(t))switch(t.keyCode){case O.i:this._keyManager.setFirstItemActive(),t.preventDefault();break;case O.f:this._keyManager.setLastItemActive(),t.preventDefault();break;case O.g:case O.o: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:"_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=this._platform,i="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(i),"px)"),e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{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,a=e.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?n=(i=o)+s:i=(n=this._tabList.nativeElement.offsetWidth-o)-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 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(),Object(S.a)(650,100).pipe(Object(R.a)(Object(A.a)(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}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Object(T.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{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:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.l),f.Mb(f.h),f.Mb(M.h),f.Mb(D.c,8),f.Mb(f.A),f.Mb(I.a),f.Mb(b.a,8))},t.\u0275dir=f.Hb({type:t,inputs:{disablePagination:"disablePagination"}}),t}(),vt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,c){var u;return g(this,i),(u=e.call(this,t,n,r,a,o,s,c))._disableRipple=!1,u}return m(i,[{key:"_itemSelected",value:function(t){t.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Object(T.c)(t)}}]),i}(mt);return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.l),f.Mb(f.h),f.Mb(M.h),f.Mb(D.c,8),f.Mb(f.A),f.Mb(I.a),f.Mb(b.a,8))},t.\u0275dir=f.Hb({type:t,inputs:{disableRipple:"disableRipple"},features:[f.xb]}),t}(),yt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,c){return g(this,i),e.call(this,t,n,r,a,o,s,c)}return i}(vt);return t.\u0275fac=function(e){return new(e||t)(f.Mb(f.l),f.Mb(f.h),f.Mb(M.h),f.Mb(D.c,8),f.Mb(f.A),f.Mb(I.a),f.Mb(b.a,8))},t.\u0275cmp=f.Gb({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){var n;1&t&&f.Fb(i,gt,!1),2&t&&f.sc(n=f.ac())&&(e._items=n)},viewQuery:function(t,e){var i;1&t&&(f.Dc(X,!0),f.Dc(V,!0),f.Dc(q,!0),f.Qc(J,!0),f.Qc(W,!0)),2&t&&(f.sc(i=f.ac())&&(e._inkBar=i.first),f.sc(i=f.ac())&&(e._tabListContainer=i.first),f.sc(i=f.ac())&&(e._tabList=i.first),f.sc(i=f.ac())&&(e._nextPaginator=i.first),f.sc(i=f.ac())&&(e._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&f.Eb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[f.xb],ngContentSelectors:x,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&&(f.jc(),f.Sb(0,"div",0,1),f.Zb("click",(function(){return e._handlePaginatorClick("before")}))("mousedown",(function(t){return e._handlePaginatorPress("before",t)}))("touchend",(function(){return e._stopInterval()})),f.Nb(2,"div",2),f.Rb(),f.Sb(3,"div",3,4),f.Zb("keydown",(function(t){return e._handleKeydown(t)})),f.Sb(5,"div",5,6),f.Zb("cdkObserveContent",(function(){return e._onContentChanges()})),f.Sb(7,"div",7),f.ic(8),f.Rb(),f.Nb(9,"mat-ink-bar"),f.Rb(),f.Rb(),f.Sb(10,"div",8,9),f.Zb("mousedown",(function(t){return e._handlePaginatorPress("after",t)}))("click",(function(){return e._handlePaginatorClick("after")}))("touchend",(function(){return e._stopInterval()})),f.Nb(12,"div",2),f.Rb()),2&t&&(f.Eb("mat-tab-header-pagination-disabled",e._disableScrollBefore),f.kc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),f.Ab(5),f.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode),f.Ab(5),f.Eb("mat-tab-header-pagination-disabled",e._disableScrollAfter),f.kc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[p.s,c.a,X],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}(),At=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,c){var u;return g(this,i),(u=e.call(this,t,a,o,n,r,s,c))._disableRipple=!1,u.color="primary",u}return m(i,[{key:"_itemSelected",value:function(){}},{key:"ngAfterContentInit",value:function(){var t=this;this._items.changes.pipe(Object(E.a)(null),Object(R.a)(this._destroyed)).subscribe((function(){t.updateActiveLink()})),n(h(i.prototype),"ngAfterContentInit",this).call(this)}},{key:"updateActiveLink",value:function(t){if(this._items){for(var e=this._items.toArray(),i=0;i.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.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-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{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;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t}(),_t=Object(p.D)(Object(p.z)(Object(p.A)((function t(){g(this,t)})))),St=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s){var c;return g(this,i),(c=e.call(this))._tabNavBar=t,c.elementRef=n,c._focusMonitor=o,c._isActive=!1,c.rippleConfig=r||{},c.tabIndex=parseInt(a)||0,"NoopAnimations"===s&&(c.rippleConfig.animation={enterDuration:0,exitDuration:0}),o.monitor(n),c}return m(i,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this.elementRef)}},{key:"active",get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this.elementRef))}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}]),i}(_t);return t.\u0275fac=function(e){return new(e||t)(f.Mb(At),f.Mb(f.l),f.Mb(p.h,8),f.Xb("tabindex"),f.Mb(o.h),f.Mb(b.a,8))},t.\u0275dir=f.Hb({type:t,inputs:{active:"active"},features:[f.xb]}),t}(),kt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,c,l){var h;return g(this,i),(h=e.call(this,t,n,o,s,c,l))._tabLinkRipple=new p.v(u(h),r,n,a),h._tabLinkRipple.setupTriggerEvents(n.nativeElement),h}return m(i,[{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this),this._tabLinkRipple._removeTriggerEvents()}}]),i}(St);return t.\u0275fac=function(e){return new(e||t)(f.Mb(wt),f.Mb(f.l),f.Mb(f.A),f.Mb(I.a),f.Mb(p.h,8),f.Xb("tabindex"),f.Mb(o.h),f.Mb(b.a,8))},t.\u0275dir=f.Hb({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(f.Bb("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),f.Eb("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[f.xb]}),t}(),Et=function(){var t=function t(){g(this,t)};return t.\u0275mod=f.Kb({type:t}),t.\u0275inj=f.Jb({factory:function(e){return new(e||t)},imports:[[d.c,p.i,l.i,p.t,c.c,o.a],p.i]}),t}()},KoHB:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n,r=i("bFHC"),a=i("2kYt"),o=i("EM62"),s=((n=function t(){g(this,t)}).\u0275mod=o.Kb({type:n}),n.\u0275inj=o.Jb({factory:function(t){return new(t||n)},imports:[[r.b,a.c]]}),n)},KtsV:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("X2Q7"),a=i("cqs0"),o=i("Ssnw"),s=i("iyZ4"),c=i("EM62"),u=i("s2Ay"),l=i("2kYt"),h=i("csyo"),f=i("A8Ay"),p=i("K9kF"),b=i("PBFl");function v(t,e){1&t&&c.Nb(0,"mat-spinner",3)}function y(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div"),c.Sb(1,"perun-web-apps-immediate-filter",4),c.Zb("filter",(function(t){return c.xc(i),c.dc().applyFilter(t)})),c.Rb(),c.Sb(2,"div",5),c.Sb(3,"perun-web-apps-groups-list",6),c.Zb("page",(function(t){return c.xc(i),c.dc().pageChanged(t)})),c.Rb(),c.Rb(),c.Sb(4,"div",7),c.Sb(5,"button",8),c.Zb("click",(function(){return c.xc(i),c.dc().onCancel()})),c.Jc(6),c.ec(7,"translate"),c.Rb(),c.Sb(8,"button",9),c.Zb("click",(function(){return c.xc(i),c.dc().onSubmit()})),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Rb(),c.Rb()}if(2&t){var n=c.dc();c.Cb(n.theme),c.Ab(1),c.kc("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),c.Ab(2),c.kc("groupsToDisable",n.groupsToDisable)("disableGroups",!0)("pageSize",n.pageSize)("groups",n.groups)("selection",n.selection)("hideColumns",n.hideColumns)("filter",n.filterValue)("disableHeadCheckbox",!0)("disableRouting",!0)("authType","create-relation-dialog"),c.Ab(3),c.Lc(" ",c.fc(7,17,"DIALOGS.CREATE_RELATION.CANCEL")," "),c.Ab(2),c.kc("disabled",n.loading||0===n.selection.selected.length),c.Ab(1),c.Lc(" ",c.fc(10,19,"DIALOGS.CREATE_RELATION.CREATE")," ")}}var A=function(){var t=function(){function t(e,i,n,r,o,c,u){var l=this;g(this,t),this.dialogRef=e,this.groupService=i,this.notificator=n,this.translate=r,this.tableConfigService=o,this.guiAuthResolver=c,this.data=u,this.selection=new a.c(!1,[]),this.hideColumns=["recent","vo","expiration","menu"],this.filterValue="",this.tableId=s.s,this.groupsToDisable=new Set,r.get("DIALOGS.CREATE_RELATION.SUCCESS").subscribe((function(t){return l.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.groupService.getGroupUnions(this.data.group.id,!this.data.reverse).subscribe((function(e){e=e.concat(t.data.groups),t.groupService.getAllGroups(t.data.voId).subscribe((function(i){var n=e.map((function(t){return t.id}));t.groups=i.filter((function(e){return!n.includes(e.id)&&e.id!==t.data.group.id})),t.setGroupsToDisable(),t.loading=!1}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1})),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.groupService.createGroupUnion(this.data.group.id,this.selection.selected[0].id).subscribe((function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)}),(function(){return 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:"setGroupsToDisable",value:function(){var t,e=d(this.groups);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.guiAuthResolver.isAuthorized("createGroupUnion_Group_Group_policy",[this.data.group,i])||this.groupsToDisable.add(i.id)}}catch(n){e.e(n)}finally{e.f()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.i),c.Mb(r.h),c.Mb(o.l),c.Mb(u.e),c.Mb(s.pb),c.Mb(o.h),c.Mb(n.a))},t.\u0275cmp=c.Gb({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","hideColumns","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&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Sb(3,"div"),c.Hc(4,v,1,0,"mat-spinner",1),c.Rb(),c.Hc(5,y,11,21,"div",2)),2&t&&(c.Ab(1),c.Kc(c.fc(2,6,"DIALOGS.CREATE_RELATION.TITLE")),c.Ab(2),c.Cb(e.theme),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[n.j,l.t,h.c,f.a,n.g,p.a,n.c,b.b],pipes:[u.d],styles:[""]}),t}()},L4Ow:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),r=i("s2Ay"),a=function(){var t=function(){function t(e){g(this,t),this.translate=e,this.prefix="ROLES."}return m(t,[{key:"transform",value:function(t,e){var i=this.prefix.concat(t);return this.translate.instant(i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.e))},t.\u0275pipe=n.Lb({name:"displayedRole",type:t,pure:!0}),t}()},LAw4:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("EM62"),r=i("nIj0"),a=i("QQZH"),o=i("ZTXN"),s=i("kuMc"),c=(i("X2Q7"),i("OIgT")),u=i("29Wa"),l=i("R7+U"),h=i("mFH5"),d=i("BYpP"),f=i("2kYt"),p=i("qvOF"),b=["scrollViewport"];function v(t,e){if(1&t&&(n.Sb(0,"mat-option",7),n.Jc(1),n.Sb(2,"span",8),n.Jc(3),n.Rb(),n.Rb()),2&t){var i=n.dc();n.kc("value",null==i.entitiesCtrl?null:i.entitiesCtrl.value),n.Ab(1),n.Lc(" ",i.mainTextFunction(null==i.entitiesCtrl?null:i.entitiesCtrl.value)," "),n.Ab(2),n.Kc(i.secondaryTextFunction(null==i.entitiesCtrl?null:i.entitiesCtrl.value))}}function y(t,e){if(1&t&&(n.Sb(0,"mat-option",9),n.Jc(1),n.Sb(2,"span",8),n.Jc(3),n.Rb(),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.kc("value",i),n.Ab(1),n.Lc(" ",r.mainTextFunction(i)," "),n.Ab(2),n.Kc(r.secondaryTextFunction(i))}}var A=function(){var t=function(){function t(e){g(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.o,this.entitiesCtrl=new r.g,this.entityFilterCtrl=new r.g,this.filteredEntities=new a.a(1),this.entitiesLen=0,this._onDestroy=new o.a,this.mainTextFunction=function(t){return Object(c.stringify)(t)},this.secondaryTextFunction=function(t){return"#"+t.id}}return m(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(Object(s.a)(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(t){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.Mb(n.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(t,e){var i;1&t&&n.Qc(b,!0),2&t&&n.sc(i=n.ac())&&(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.yb],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.Sb(0,"mat-form-field",0),n.Sb(1,"mat-select",1),n.Zb("openedChange",(function(t){return e.openChange(t)})),n.Sb(2,"mat-option"),n.Nb(3,"ngx-mat-select-search",2),n.Rb(),n.Hc(4,v,4,3,"mat-option",3),n.Sb(5,"cdk-virtual-scroll-viewport",4,5),n.Hc(7,y,4,3,"mat-option",6),n.ec(8,"async"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.lc("placeholder",e.selectPlaceholder),n.kc("formControl",e.entitiesCtrl),n.Ab(2),n.lc("placeholderLabel",e.findPlaceholder),n.lc("noEntriesFoundLabel",e.noEntriesText),n.kc("clearSearchInput",!1)("formControl",e.entityFilterCtrl),n.Ab(1),n.kc("ngIf",null==e.entitiesCtrl?null:e.entitiesCtrl.value),n.Ab(1),n.Ec("height",e.getViewportHeight(),"px"),n.kc("minBufferPx",240)("maxBufferPx",480),n.Ab(2),n.kc("cdkVirtualForOf",n.fc(8,12,e.filteredEntities)))},directives:[u.c,l.a,r.r,r.h,h.n,d.a,f.t,p.e,p.a,p.d],pipes:[f.b],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}"]}),t}()},LKLE:function(t,e,i){"use strict";i.d(e,"a",(function(){return N}));var n=i("EM62"),r=i("iAde"),a=i("cePI"),o=i("FlRo"),s=i("cqs0"),c=i("nhAq"),u=i("8clQ"),l=i("Ssnw"),h=i("9wx0"),f=i("2kYt"),p=i("+Tre"),b=i("Y2X+"),v=i("FcRk"),y=i("YEcy"),A=i("s2Ay");function w(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("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.Tb();n.Sb(0,"td",20),n.Sb(1,"mat-checkbox",21),n.Zb("click",(function(t){return n.xc(i),t.stopPropagation()}))("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null})),n.ec(2,"isVirtualAttribute"),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("checked",a.selection.isSelected(r))("disabled",n.fc(2,3,r)||!r.writable)("aria-label",a.checkboxLabel(r))}}function S(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function k(t,e){if(1&t&&(n.Sb(0,"td",20),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function E(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function C(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.displayName)}}function R(t,e){1&t&&(n.Sb(0,"th",18),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function T(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",23),n.Sb(1,"perun-web-apps-attribute-value",24),n.Zb("sendEventToParent2",(function(){n.xc(i);var t=e.$implicit;return n.dc().onValueChange(t)})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("attribute",r)("readonly",a.readonly||!r.writable)}}function I(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function O(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.description)}}function D(t,e){1&t&&n.Nb(0,"tr",25)}function M(t,e){if(1&t&&(n.Nb(0,"tr",26),n.ec(1,"translate")),2&t){var i=e.$implicit,r=n.dc();n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),n.kc("matTooltipPosition","before")("matTooltipDisabled",i.writable||r.readonly)}}function P(t,e){1&t&&(n.Sb(0,"app-alert",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function x(t,e){1&t&&(n.Sb(0,"app-alert",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY"),"\n"))}var N=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.attributes=[],this.selection=new s.c(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new n.o,this.readonly=!1,this.hiddenColumns=[],this.pageSizeOptions=u.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new o.o(Object(u.j)(this.attributes)),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.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){Object(u.i)(Object(u.n)(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 Object(u.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(u.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.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.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=d(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!Object(u.s)(t)&&t.writable}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Dc(r.a,!0),n.Qc(c.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first),n.sc(i=n.ac())&&(e.items=i))},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns"},outputs:{page:"page"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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",""],[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.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,w,2,3,"th",6),n.Hc(7,_,3,5,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,S,3,3,"th",9),n.Hc(10,k,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,E,3,3,"th",9),n.Hc(13,C,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,R,3,3,"th",6),n.Hc(16,T,2,2,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,I,3,3,"th",9),n.Hc(19,O,2,1,"td",11),n.Pb(),n.Hc(20,D,1,0,"tr",14),n.Hc(21,M,2,5,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,P,3,3,"app-alert",17),n.Hc(24,x,3,3,"app-alert",17)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.attributes.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.data.length))},directives:[h.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,f.t,o.h,p.a,o.a,a.b,c.a,o.j,o.l,b.a,v.a],pipes:[y.a,A.d],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}"]}),t}()},LLgS:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("Ssnw"),r=i("TkCa"),a=i("EM62"),o=i("2kYt"),s=i("tmvS");function c(t,e){if(1&t){var i=a.Tb();a.Sb(0,"div"),a.Sb(1,"perun-web-apps-notification",2),a.Zb("closeNotification",(function(){a.xc(i);var t=e.index;return a.dc().removeNotification(t)})),a.Rb(),a.Rb()}if(2&t){var n=e.$implicit;a.kc("@flyInOut",void 0),a.Ab(1),a.kc("data",n)("newNotification",!0)}}var u=function(t){return{top:t}},l=function(){var t=function(){function t(e,i){var n=this;g(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 m(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)(a.Mb(n.l),a.Mb(n.k))},t.\u0275cmp=a.Gb({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&a.Zb("resize",(function(t){return e.getScreenSize(t)}),!1,a.wc)},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&&(a.Sb(0,"div",0),a.Hc(1,c,2,3,"div",1),a.Rb()),2&t&&(a.kc("ngStyle",a.pc(2,u,e.getNotificatorTop())),a.Ab(1),a.kc("ngForOf",e.notifications))},directives:[o.w,o.s,s.a],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:[r.b]}}),t}()},Log1:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return Object(n.x)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"memberLogins",type:t,pure:!0}),t}()},M7la:function(t,e,i){"use strict";i.d(e,"a",(function(){return N}));var n=i("cqs0"),r=i("Ssnw"),a=i("Y9OK"),o=i("p3Ob"),s=i("X2Q7"),c=i("nyAh"),u=i("nIj0"),l=i("iyZ4"),h=i("8clQ"),d=i("hiWg"),f=i("EM62"),p=i("sEIs"),b=i("OZ4H"),v=i("Y2X+"),y=i("2kYt"),A=i("29Wa"),w=i("R7+U"),_=i("Cd2c"),S=i("PBFl"),k=i("bFHC"),E=i("mFH5"),C=i("csyo"),R=i("l18O"),T=i("s2Ay");function I(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",15),f.Zb("click",(function(){return f.xc(i),f.dc().onAddMember()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&t){var n=f.dc();f.kc("disabled",n.blockManualMemberAdding),f.Ab(1),f.Lc(" ",f.fc(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function O(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",16),f.Zb("click",(function(){return f.xc(i),f.dc().onInviteMember()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function D(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",17),f.Zb("click",(function(){return f.xc(i),f.dc().onRemoveMembers()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&t){var n=f.dc();f.kc("disabled",n.selection.isEmpty()),f.Ab(1),f.Lc(" ",f.fc(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function M(t,e){if(1&t&&(f.Sb(0,"mat-option",18),f.Jc(1),f.Rb()),2&t){var i=e.$implicit;f.kc("value",i),f.Ab(1),f.Kc(i)}}function P(t,e){1&t&&f.Nb(0,"mat-spinner",19)}function x(t,e){if(1&t){var i=f.Tb();f.Sb(0,"perun-web-apps-members-dynamic-list",20),f.Zb("page",(function(t){return f.xc(i),f.dc().pageChanged(t)})),f.Rb()}if(2&t){var n=f.dc();f.kc("voId",n.vo.id)("pageSize",n.pageSize)("selection",n.selection)("hideColumns",n.hideColumns)("attrNames",n.attrNames)("searchString",n.searchString)("selectedStatuses",n.selectedStatuses)("updateTable",n.updateTable)}}var N=function(){var t=function(){function t(e,i,r,a,o,s,h,d,f){g(this,t),this.voService=e,this.route=i,this.notificator=r,this.tableConfigService=a,this.dialog=o,this.authzService=s,this.storeService=h,this.attributesManager=d,this.apiRequest=f,this.members=null,this.selection=new n.c(!0,[]),this.loading=!1,this.attrNames=[c.a.MEMBER_DEF_ORGANIZATION,c.a.MEMBER_DEF_MAIL,c.a.USER_DEF_ORGANIZATION,c.a.USER_DEF_PREFERRED_MAIL,c.a.MEMBER_DEF_EXPIRATION],this.statuses=new u.g,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=l.kb,this.hideColumns=[],this.updateTable=!1}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.searchControl=new u.g(""),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.hideColumns=this.removeAuth?["type","groupStatus"]:["checkbox","type","groupStatus"],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(){this.searchString=this.searchControl.value}},{key:"onAddMember",value:function(){var t=this,e=Object(h.o)();e.width="1000px",e.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(o.a,e).afterClosed().subscribe((function(e){e&&(t.updateTable=!t.updateTable,t.selection.clear())}))}},{key:"onRemoveMembers",value:function(){var t=this,e=Object(h.o)();e.width="450px",e.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(a.a,e).afterClosed().subscribe((function(e){e&&(t.updateTable=!t.updateTable,t.selection.clear())}))}},{key:"onInviteMember",value:function(){var t=Object(h.o)();t.width="650px",t.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(d.a,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.Mb(s.r),f.Mb(p.a),f.Mb(r.l),f.Mb(l.pb),f.Mb(b.b),f.Mb(r.h),f.Mb(r.m),f.Mb(s.c),f.Mb(r.b))},t.\u0275cmp=f.Gb({type:t,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(t,e){2&t&&f.Eb("router-component",!0)},decls:27,vars:22,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[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,"mr-2","search-field"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","primary",1,"mr-2",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","pageSize","selection","hideColumns","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","hideColumns","attrNames","searchString","selectedStatuses","updateTable","page"]],template:function(t,e){1&t&&(f.Sb(0,"div",0),f.Sb(1,"h1",1),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"div",2),f.Sb(5,"div",3),f.ec(6,"translate"),f.Hc(7,I,3,4,"button",4),f.Rb(),f.Hc(8,O,3,3,"button",5),f.Hc(9,D,3,4,"button",6),f.Sb(10,"mat-form-field",7),f.Sb(11,"mat-label"),f.Jc(12),f.ec(13,"translate"),f.Rb(),f.Sb(14,"mat-select",8),f.Zb("closed",(function(){return e.changeStatuses()})),f.Sb(15,"mat-select-trigger"),f.Jc(16),f.Rb(),f.Hc(17,M,2,2,"mat-option",9),f.Rb(),f.Rb(),f.Sb(18,"mat-form-field",10),f.Sb(19,"label"),f.Sb(20,"input",11),f.Zb("keyup.enter",(function(){return e.onSearchByString()})),f.ec(21,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Sb(22,"button",12),f.Zb("click",(function(){return e.onSearchByString()})),f.Sb(23,"mat-icon"),f.Jc(24,"search"),f.Rb(),f.Rb(),f.Rb(),f.Hc(25,P,1,0,"mat-spinner",13),f.Hc(26,x,1,8,"perun-web-apps-members-dynamic-list",14),f.Rb()),2&t&&(f.Ab(2),f.Kc(f.fc(3,14,"VO_DETAIL.MEMBERS.TITLE")),f.Ab(3),f.lc("matTooltip",f.fc(6,16,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),f.kc("matTooltipDisabled",!e.blockManualMemberAdding),f.Ab(2),f.kc("ngIf",e.addAuth),f.Ab(1),f.kc("ngIf",e.inviteAuth),f.Ab(1),f.kc("ngIf",e.removeAuth),f.Ab(3),f.Kc(f.fc(13,18,"VO_DETAIL.MEMBERS.FILTER_STATUS")),f.Ab(2),f.kc("formControl",e.statuses),f.Ab(2),f.Lc(" ",e.displaySelectedStatuses()," "),f.Ab(1),f.kc("ngForOf",e.statusList),f.Ab(3),f.lc("placeholder",f.fc(21,20,"VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION")),f.kc("formControl",e.searchControl),f.Ab(5),f.kc("ngIf",e.loading),f.Ab(1),f.kc("ngIf",!e.loading))},directives:[v.a,y.t,A.c,A.g,w.a,u.r,u.h,w.c,y.s,_.b,u.c,S.b,k.a,E.n,C.c,R.a],pipes:[T.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),t}()},MP6f:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),f=i("FcRk");function p(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function b(t,e){1&t&&s.Nb(0,"th",16)}function v(t,e){if(1&t&&(s.Sb(0,"td",17),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.friendlyName," ")}}function y(t,e){1&t&&s.Nb(0,"tr",18)}function A(t,e){1&t&&s.Nb(0,"tr",19)}function w(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"div"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,b,1,0,"th",11),s.Hc(10,v,2,1,"td",12),s.Pb(),s.Hc(11,y,1,0,"tr",13),s.Hc(12,A,1,0,"tr",14),s.Rb(),s.Sb(13,"app-alert",15),s.Jc(14),s.ec(15,"translate"),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,6,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE1")," "),s.Ab(3),s.Lc(" ",s.fc(6,8,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE2")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns),s.Ab(2),s.Lc(" ",s.fc(15,10,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.WARNING")," ")}}var _=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.attributesManager=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(this.data.attributes)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var e,i=[],n=d(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()}this.attributesManager.deleteAttributeDefinitions(i).subscribe((function(){t.translate.get("DIALOGS.DELETE_ATTRIBUTE_DEFINITION.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.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(o.c))},t.\u0275cmp=s.Gb({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.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,p,1,0,"mat-spinner",1),s.Hc(5,w,16,12,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,f.a,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t}()},Meci:function(t,e,i){"use strict";i.d(e,"a",(function(){return k})),i.d(e,"b",(function(){return b})),i.d(e,"c",(function(){return S})),i.d(e,"d",(function(){return d})),i.d(e,"e",(function(){return m})),i.d(e,"f",(function(){return E})),i.d(e,"g",(function(){return v})),i.d(e,"h",(function(){return w})),i.d(e,"i",(function(){return A})),i.d(e,"j",(function(){return R})),i.d(e,"k",(function(){return y})),i.d(e,"l",(function(){return p})),i.d(e,"m",(function(){return f})),i.d(e,"n",(function(){return C})),i.d(e,"o",(function(){return _}));var n=i("5lCh"),r=i("mFH5"),a=i("EM62"),o=["*",[["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=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],h=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"],d=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t}(),f=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t}(),p=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t}(),b=function(){var t=function t(){g(this,t),this.align="start"};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,e){2&t&&a.Eb("mat-card-actions-align-end","end"===e.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t}(),m=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),t}(),v=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),t}(),y=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),t}(),A=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),t}(),w=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),t}(),_=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),t}(),S=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),t}(),k=function(){var t=function t(e){g(this,t),this._animationMode=e};return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.a,8))},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&a.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(a.jc(o),a.ic(0),a.ic(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 .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-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}(),E=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Gb({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&&(a.jc(c),a.ic(0),a.Sb(1,"div",0),a.ic(2,1),a.Rb(),a.ic(3,2))},encapsulation:2,changeDetection:0}),t}(),C=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:h,decls:4,vars:0,template:function(t,e){1&t&&(a.jc(l),a.Sb(0,"div"),a.ic(1),a.Rb(),a.ic(2,1),a.ic(3,2))},encapsulation:2,changeDetection:0}),t}(),R=function(){var t=function t(){g(this,t)};return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},imports:[[r.i],r.i]}),t}()},MiDb:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},NC8S:function(t,e,i){"use strict";i.d(e,"a",(function(){return q}));var n=i("EM62"),r=i("iAde"),a=i("cePI"),o=i("FlRo"),s=i("cqs0"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("bFHC"),p=i("Y2X+"),b=i("TQS+"),v=i("FcRk"),y=i("s2Ay"),A=i("j+u3"),w=i("hLiN"),_=i("bwko"),S=i("O/Vf");function k(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-checkbox",23),n.Zb("change",(function(t){n.xc(i);var e=n.dc(2);return t?e.masterToggle():null})),n.Rb()}if(2&t){var r=n.dc(2);n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function E(t,e){if(1&t&&(n.Sb(0,"th",21),n.Hc(1,k,1,3,"mat-checkbox",22),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.kc("ngIf",i.selection.isMultipleSelection())}}function C(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",24),n.Sb(1,"mat-checkbox",25),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function R(t,e){1&t&&n.Nb(0,"th",21)}function T(t,e){1&t&&(n.Sb(0,"mat-icon",27),n.ec(1,"translate"),n.Jc(2," account_circle "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"MANAGERS_LIST.PERSON"))}function I(t,e){1&t&&(n.Sb(0,"mat-icon",27),n.ec(1,"translate"),n.Jc(2," traffic "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"MANAGERS_LIST.SERVICE"))}function O(t,e){if(1&t&&(n.Sb(0,"td",24),n.Hc(1,T,3,3,"mat-icon",26),n.Hc(2,I,3,3,"mat-icon",26),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf",!i.serviceUser),n.Ab(1),n.kc("ngIf",i.serviceUser)}}function D(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.ID")))}function M(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Lc(" ",i.id," ")}}function P(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.NAME")))}function x(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function N(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.ORGANIZATION")))}function L(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userVo"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function F(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.EMAIL")))}function z(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userEmail"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function H(t,e){1&t&&(n.Sb(0,"th",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MANAGERS_LIST.LOGINS")))}function B(t,e){if(1&t&&(n.Sb(0,"td",29),n.Jc(1),n.ec(2,"userLogins"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function j(t,e){1&t&&n.Nb(0,"tr",30)}var G=function(t){return["/admin/users",t]};function U(t,e){if(1&t&&n.Nb(0,"tr",31),2&t){var i=e.$implicit,r=n.dc();n.Eb("cursor-pointer",!r.disableRouting),n.kc("perunWebAppsForceRouterLink",r.disableRouting?null:n.pc(4,G,i.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.pc(6,G,i.id))}}function K(t,e){1&t&&(n.Sb(0,"app-alert",32),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}function V(t,e){1&t&&(n.Sb(0,"app-alert",32),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var q=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.selection=new s.c(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.o,this.pageSizeOptions=c.a}return m(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 Object(c.G)(t);case"email":return Object(c.E)(t);case"logins":return Object(c.x)(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?Object(c.w)(t):"";case"organization":return Object(c.G)(t);case"email":return Object(c.E)(t);case"logins":return Object(c.x)(t);default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filter=this.filter,this.dataSource.filterPredicate=function(e,i){return Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)})}},{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new o.o(this.users),this.dataSource.paginator=this.paginator,this.setDataSource()}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.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:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-users-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page"},features:[n.yb],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","user"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink","cursor-pointer",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,E,2,1,"th",6),n.Hc(7,C,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,R,1,0,"th",6),n.Hc(10,O,3,2,"td",9),n.Pb(),n.Qb(11,10),n.Hc(12,D,3,3,"th",11),n.Hc(13,M,2,1,"td",7),n.Pb(),n.Qb(14,12),n.Hc(15,P,3,3,"th",11),n.Hc(16,x,3,3,"td",13),n.Pb(),n.Qb(17,14),n.Hc(18,N,3,3,"th",11),n.Hc(19,L,3,3,"td",13),n.Pb(),n.Qb(20,15),n.Hc(21,F,3,3,"th",11),n.Hc(22,z,3,3,"td",13),n.Pb(),n.Qb(23,16),n.Hc(24,H,3,3,"th",11),n.Hc(25,B,3,3,"td",13),n.Pb(),n.Hc(26,j,1,0,"tr",17),n.Hc(27,U,1,8,"tr",18),n.Rb(),n.Rb(),n.Sb(28,"mat-paginator",19),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(29,K,3,3,"app-alert",20),n.Hc(30,V,3,3,"app-alert",20)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.users.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.users.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.users.length))},directives:[l.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,h.t,o.h,d.a,o.a,f.a,p.a,a.b,o.j,o.l,b.b,b.c,v.a],pipes:[y.d,A.a,w.a,_.a,S.a],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},NMas:function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("EM62"),s=i("s2Ay"),c=i("2kYt"),u=i("PBFl"),l=i("csyo");function h(t,e){1&t&&o.Nb(0,"mat-spinner",6)}function d(t,e){1&t&&(o.Sb(0,"div",7),o.Sb(1,"div",8),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Rb()),2&t&&(o.Ab(2),o.Lc(" ",o.fc(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}var f=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.tasksManager=n,this.translate=r,this.notificator=a,this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.taskId=this.data.taskId}},{key:"remove",value:function(){var t=this;this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe((function(){t.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}),(function(){return t.loading=!1}))}},{key:"cancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(n.i),o.Mb(n.a),o.Mb(a.o),o.Mb(s.e),o.Mb(r.l))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Sb(3,"div"),o.Hc(4,h,1,0,"mat-spinner",1),o.Hc(5,d,4,3,"div",2),o.Sb(6,"div",3),o.Sb(7,"button",4),o.Zb("click",(function(){return e.cancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",5),o.Zb("click",(function(){return e.remove()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,9,"DIALOGS.DELETE_TASK.TITLE")),o.Ab(2),o.Cb(e.theme),o.Ab(1),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),o.Ab(2),o.kc("disabled",e.loading),o.Ab(1),o.Lc(" ",o.fc(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[n.j,c.t,n.c,u.b,l.c,n.g],pipes:[s.d],styles:[""]}),t}()},"NU+N":function(t,e,i){"use strict";i.d(e,"a",(function(){return it}));var n=i("cqs0"),r=i("WimW"),a=i("jk8c"),o=i("p/8k"),s=i("vhVt"),c=i("X2Q7"),u=i("nyAh"),l=i("iyZ4"),h=i("8clQ"),f=i("Ssnw"),p=i("EM62"),b=i("OZ4H"),v=i("KZIX"),y=i("2kYt"),A=i("0XDM"),w=i("PBFl"),_=i("29Wa"),S=i("R7+U"),k=i("mFH5"),E=i("csyo"),C=i("NC8S"),R=i("K9kF"),T=i("FcRk"),I=i("s2Ay"),O=i("L4Ow");function D(t,e){1&t&&(p.Jc(0),p.ec(1,"translate")),2&t&&p.Lc(" ",p.fc(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function M(t,e){if(1&t){var i=p.Tb();p.Sb(0,"perun-web-apps-refresh-button",11),p.Zb("refresh",(function(){return p.xc(i),p.dc(2).refreshUsers()})),p.Rb()}}function P(t,e){if(1&t){var i=p.Tb();p.Sb(0,"button",12),p.Zb("click",(function(){return p.xc(i),p.dc(2).addManager()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function x(t,e){if(1&t){var i=p.Tb();p.Sb(0,"button",13),p.Zb("click",(function(){return p.xc(i),p.dc(2).removeManager()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){var n=p.dc(2);p.kc("disabled",0===n.selectionUsers.selected.length),p.Ab(1),p.Lc(" ",p.fc(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function N(t,e){if(1&t&&(p.Sb(0,"mat-option",17),p.Jc(1),p.ec(2,"displayedRole"),p.Rb()),2&t){var i=e.$implicit;p.kc("value",i),p.Ab(1),p.Kc(p.fc(2,2,i))}}function L(t,e){if(1&t){var i=p.Tb();p.Sb(0,"mat-form-field",14),p.Sb(1,"mat-label"),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"mat-select",15),p.Zb("valueChange",(function(t){return p.xc(i),p.dc(2).selectedRole=t}))("selectionChange",(function(){return p.xc(i),p.dc(2).refreshUsers()})),p.Hc(5,N,3,4,"mat-option",16),p.Rb(),p.Rb()}if(2&t){var n=p.dc(2);p.Ab(2),p.Kc(p.fc(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.Ab(2),p.kc("value",n.selectedRole),p.Ab(1),p.kc("ngForOf",n.availableRoles)}}function F(t,e){1&t&&p.Nb(0,"mat-spinner",18)}var z=function(){return["select","id","name","email","logins","organization"]},H=function(){return["id","name","email","logins","organization"]};function B(t,e){if(1&t){var i=p.Tb();p.Sb(0,"app-users-list",20),p.Zb("page",(function(t){return p.xc(i),p.dc(3).pageChanged(t)})),p.Rb()}if(2&t){var n=p.dc(3);p.kc("pageSize",n.pageSize)("users",n.managers)("disableRouting",!n.routeAuth)("displayedColumns",n.manageAuth?p.oc(5,z):p.oc(6,H))("selection",n.selectionUsers)}}function j(t,e){if(1&t&&(p.Sb(0,"div"),p.Hc(1,B,1,7,"app-users-list",19),p.Rb()),2&t){var i=p.dc(2);p.Ab(1),p.kc("ngIf",i.managers)}}function G(t,e){if(1&t&&(p.Hc(0,M,1,0,"perun-web-apps-refresh-button",5),p.Hc(1,P,3,3,"button",6),p.Hc(2,x,3,4,"button",7),p.Hc(3,L,6,5,"mat-form-field",8),p.Hc(4,F,1,0,"mat-spinner",9),p.Hc(5,j,2,1,"div",10)),2&t){var i=p.dc();p.kc("ngIf",!i.loading),p.Ab(1),p.kc("ngIf",!i.loading&&i.manageAuth),p.Ab(1),p.kc("ngIf",!i.loading&&i.manageAuth),p.Ab(1),p.kc("ngIf",!i.loading),p.Ab(1),p.kc("ngIf",i.loading),p.Ab(1),p.kc("ngIf",!i.loading)}}function U(t,e){1&t&&(p.Jc(0),p.ec(1,"translate")),2&t&&p.Lc(" ",p.fc(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function K(t,e){if(1&t){var i=p.Tb();p.Sb(0,"perun-web-apps-refresh-button",11),p.Zb("refresh",(function(){return p.xc(i),p.dc(2).refreshGroups()})),p.Rb()}}function V(t,e){if(1&t){var i=p.Tb();p.Sb(0,"button",12),p.Zb("click",(function(){return p.xc(i),p.dc(2).addGroup()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function q(t,e){if(1&t){var i=p.Tb();p.Sb(0,"button",13),p.Zb("click",(function(){return p.xc(i),p.dc(2).removeGroup()})),p.Jc(1),p.ec(2,"translate"),p.Rb()}if(2&t){var n=p.dc(2);p.kc("disabled",0===n.selectionGroups.selected.length),p.Ab(1),p.Lc(" ",p.fc(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function J(t,e){if(1&t&&(p.Sb(0,"mat-option",17),p.Jc(1),p.ec(2,"displayedRole"),p.Rb()),2&t){var i=e.$implicit;p.kc("value",i),p.Ab(1),p.Kc(p.fc(2,2,i))}}function W(t,e){if(1&t){var i=p.Tb();p.Sb(0,"mat-form-field",14),p.Sb(1,"mat-label"),p.Jc(2),p.ec(3,"translate"),p.Rb(),p.Sb(4,"mat-select",15),p.Zb("valueChange",(function(t){return p.xc(i),p.dc(2).selectedRole=t}))("selectionChange",(function(){return p.xc(i),p.dc(2).refreshGroups()})),p.Hc(5,J,3,4,"mat-option",16),p.Rb(),p.Rb()}if(2&t){var n=p.dc(2);p.Ab(2),p.Kc(p.fc(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.Ab(2),p.kc("value",n.selectedRole),p.Ab(1),p.kc("ngForOf",n.availableRoles)}}function Z(t,e){1&t&&p.Nb(0,"mat-spinner",18)}var Y=function(){return["menu","expiration","recent"]},X=function(){return["select","expiration","menu","recent"]};function Q(t,e){if(1&t){var i=p.Tb();p.Sb(0,"perun-web-apps-groups-list",22),p.Zb("page",(function(t){return p.xc(i),p.dc(3).pageChanged(t)})),p.Rb()}if(2&t){var n=p.dc(3);p.kc("pageSize",n.pageSize)("hideColumns",n.manageAuth?p.oc(5,Y):p.oc(6,X))("groups",n.groups)("selection",n.selectionGroups)("disableMembers",!1)}}function $(t,e){if(1&t&&(p.Sb(0,"div"),p.Hc(1,Q,1,7,"perun-web-apps-groups-list",21),p.Rb()),2&t){var i=p.dc(2);p.Ab(1),p.kc("ngIf",i.groups)}}function tt(t,e){if(1&t&&(p.Hc(0,K,1,0,"perun-web-apps-refresh-button",5),p.Hc(1,V,3,3,"button",6),p.Hc(2,q,3,4,"button",7),p.Hc(3,W,6,5,"mat-form-field",8),p.Hc(4,Z,1,0,"mat-spinner",9),p.Hc(5,$,2,1,"div",10)),2&t){var i=p.dc();p.kc("ngIf",!i.loading),p.Ab(1),p.kc("ngIf",!i.loading&&i.manageAuth),p.Ab(1),p.kc("ngIf",!i.loading&&i.manageAuth),p.Ab(1),p.kc("ngIf",!i.loading),p.Ab(1),p.kc("ngIf",i.loading),p.Ab(1),p.kc("ngIf",!i.loading)}}function et(t,e){1&t&&(p.Sb(0,"app-alert",23),p.Jc(1),p.ec(2,"translate"),p.Rb()),2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}var it=function(){var t=function(){function t(e,i,r,a,o){g(this,t),this.dialog=e,this.tableConfigService=i,this.authzService=r,this.storeService=a,this.guiAuthResolver=o,this.groups=null,this.managers=null,this.selectionUsers=new n.c(!0,[]),this.selectionGroups=new n.c(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=l.H,this.availableRolesPrivileges=new Map}return m(t,[{key:"ngOnInit",value:function(){var t=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(e){return t.availableRolesPrivileges.get(e).readAuth})),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.routeAuth=this.guiAuthResolver.isPerunAdmin(),this.refreshUsers()}},{key:"changeRolePrivileges",value:function(){this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;var t,e=!1,i=d(this.roleModes);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(this.selectedMode===n.toLowerCase()){e=!0;break}}}catch(r){i.e(r)}finally{i.f()}e||(this.selectedMode=this.roleModes[0].toLowerCase())}},{key:"tabChanged",value:function(t){this.loading=!0,0===t.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}},{key:"refreshUsers",value:function(){var t=this;this.loading=!0,this.changeRolePrivileges();var e=[u.a.USER_DEF_ORGANIZATION,u.a.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,e,!1,!0).subscribe((function(e){t.managers=e,t.selectionUsers.clear(),t.loading=!1}),(function(){t.loading=!1}))}},{key:"refreshGroups",value:function(){var t=this;this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe((function(e){t.groups=e,t.selectionGroups.clear(),t.loading=!1}),(function(){t.loading=!1}))}},{key:"addManager",value:function(){var t=this,e=Object(h.o)();e.width="1000px",e.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(r.a,e).afterClosed().subscribe((function(e){e&&t.refreshUsers()}))}},{key:"removeManager",value:function(){var t=this,e=Object(h.o)();e.width="450px",e.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(a.a,e).afterClosed().subscribe((function(e){e&&t.refreshUsers()}))}},{key:"removeGroup",value:function(){var t=this,e=Object(h.o)();e.width="450px",e.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(o.a,e).afterClosed().subscribe((function(e){e&&t.refreshGroups()}))}},{key:"addGroup",value:function(){var t=this,e=Object(h.o)();e.width="1000px",e.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(s.a,e).afterClosed().subscribe((function(e){e&&t.refreshGroups()}))}},{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)(p.Mb(b.b),p.Mb(l.pb),p.Mb(c.d),p.Mb(f.m),p.Mb(f.h))},t.\u0275cmp=p.Gb({type:t,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(t,e){2&t&&p.Eb("router-component",!0)},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","hideColumns","groups","selection","disableMembers","page",4,"ngIf"],[3,"pageSize","hideColumns","groups","selection","disableMembers","page"],["alert_type","warn"]],template:function(t,e){1&t&&(p.Sb(0,"h1",0),p.Jc(1),p.ec(2,"translate"),p.Rb(),p.Sb(3,"mat-tab-group",1),p.Zb("selectedTabChange",(function(t){return e.tabChanged(t)})),p.Sb(4,"mat-tab"),p.Hc(5,D,2,3,"ng-template",2),p.Hc(6,G,6,6,"ng-template",3),p.Rb(),p.Sb(7,"mat-tab"),p.Hc(8,U,2,3,"ng-template",2),p.Hc(9,tt,6,6,"ng-template",3),p.Rb(),p.Rb(),p.Hc(10,et,3,3,"app-alert",4)),2&t&&(p.Ab(1),p.Lc(" ",p.fc(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),p.Ab(9),p.kc("ngIf",0===e.availableRoles.length))},directives:[v.c,v.a,v.d,v.b,y.t,A.a,w.b,_.c,_.g,S.a,y.s,k.n,E.c,C.a,R.a,T.a],pipes:[I.d,O.a],styles:[""]}),t}()},NZNE:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return Object(n.v)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"memberEmail",type:t,pure:!0}),t}()},"O/Vf":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t){return Object(n.F)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"userLogins",type:t,pure:!0}),t}()},O82x:function(t,e,i){"use strict";i.d(e,"a",(function(){return At}));var n=i("EM62"),r=i("oqI+"),a=i("VMyb"),o=i("Ssnw"),s=i("DnAX"),c=i("8clQ"),u=i("OZ4H"),l=i("sEIs"),h=i("s2Ay"),f=i("2kYt"),p=i("csyo"),b=i("FlRo"),v=i("PBFl"),y=i("bFHC"),A=i("Y2X+"),w=i("nIj0"),_=i("FcRk"),S=i("g3Wv"),k=["table"];function E(t,e){1&t&&n.Nb(0,"mat-spinner",3)}function C(t,e){1&t&&n.Nb(0,"th",24)}function R(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",25),n.Sb(1,"button",26),n.Zb("mousedown",(function(){return n.xc(i),n.dc(2).dragDisabled=!1})),n.Sb(2,"mat-icon"),n.Jc(3,"drag_indicator"),n.Rb(),n.Rb(),n.Rb()}}function T(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")))}function I(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.shortname)}}function O(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")))}function D(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"applicationFormItemType"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.type))}}function M(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")))}function P(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",30),n.Jc(2,"lock"),n.Rb(),n.Nb(3,"br"),n.Jc(4),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(1),n.kc("matTooltip",r.disabledTooltip(i)),n.Ab(3),n.Lc(" ",r.disabledHiddenDependency(i,i.disabled,i.disabledDependencyItemId)," ")}}function x(t,e){if(1&t&&(n.Sb(0,"td",28),n.Hc(1,P,5,2,"div",29),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf","NEVER"!==i.disabled)}}function N(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")))}function L(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",30),n.Jc(2,"visibility_off"),n.Rb(),n.Nb(3,"br"),n.Jc(4),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(1),n.kc("matTooltip",r.hiddenTooltip(i)),n.Ab(3),n.Lc(" ",r.disabledHiddenDependency(i,i.hidden,i.hiddenDependencyItemId)," ")}}function F(t,e){if(1&t&&(n.Sb(0,"td",28),n.Hc(1,L,5,2,"div",29),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf","NEVER"!==i.hidden)}}function z(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")))}function H(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",32),n.Rb(),n.Rb())}function B(t,e){1&t&&(n.Sb(0,"div",33),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_VALUE")," "))}function j(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",34),n.Rb(),n.Rb())}function G(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",35),n.Nb(3,"br"),n.Nb(4,"input",32),n.Rb(),n.Rb())}function U(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"input",38),n.Jc(2),n.Nb(3,"br"),n.Rb()),2&t){var i=e.$implicit;n.Ab(2),n.Lc(" ",i,"")}}function K(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Hc(2,U,4,1,"div",36),n.Nb(3,"input",37),n.ec(4,"translate"),n.Rb(),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(2),n.kc("ngForOf",r.getLocalizedOptions(i)),n.Ab(1),n.lc("value",n.fc(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function V(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"span",39),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(1),n.kc("innerHTML",r.getLocalizedLabel(i),n.yc)}}function q(t,e){if(1&t&&(n.Sb(0,"option"),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i)}}function J(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"select"),n.Hc(2,q,2,1,"option",36),n.Rb(),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(2),n.kc("ngForOf",r.getLocalizedOptions(i))}}function W(t,e){1&t&&(n.Sb(0,"div"),n.Nb(1,"textarea"),n.Rb())}function Z(t,e){if(1&t&&(n.Sb(0,"option",43),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i)}}function Y(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",32),n.Rb(),n.Rb())}function X(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div"),n.Sb(1,"select",40),n.Zb("ngModelChange",(function(t){n.xc(i);var e=n.dc().$implicit;return n.dc(2).mapForCombobox[e.id]=t})),n.Hc(2,Z,2,1,"option",41),n.Sb(3,"option",42),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Rb(),n.Hc(6,Y,3,0,"div",29),n.Rb()}if(2&t){var r=n.dc().$implicit,a=n.dc(2);n.Ab(1),n.kc("ngModel",a.mapForCombobox[r.id]),n.Ab(1),n.kc("ngForOf",a.getLocalizedOptions(r)),n.Ab(2),n.Kc(n.fc(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),n.Ab(2),n.kc("ngIf","true"===a.mapForCombobox[r.id])}}function Q(t,e){if(1&t&&(n.Sb(0,"div"),n.Nb(1,"input",44),n.Jc(2),n.Rb()),2&t){var i=e.$implicit;n.Ab(2),n.Lc(" ",i," ")}}function $(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Hc(2,Q,3,1,"div",36),n.Rb(),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(2),n.kc("ngForOf",r.getLocalizedOptions(i))}}function tt(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"button",45),n.Jc(2),n.Rb(),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(2),n.Kc(r.getLocalizedLabel(i))}}function et(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"select",46),n.Sb(2,"option",47),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Sb(5,"option",48),n.Jc(6,"(GMT -12:00) Eniwetok, Kwajalein"),n.Rb(),n.Sb(7,"option",49),n.Jc(8,"(GMT -11:00) Midway Island, Samoa"),n.Rb(),n.Sb(9,"option",50),n.Jc(10,"(GMT -10:00) Hawaii"),n.Rb(),n.Sb(11,"option",51),n.Jc(12,"(GMT -9:30) Taiohae"),n.Rb(),n.Sb(13,"option",52),n.Jc(14,"(GMT -9:00) Alaska"),n.Rb(),n.Sb(15,"option",53),n.Jc(16,"(GMT -8:00) Pacific Time (US & Canada)"),n.Rb(),n.Sb(17,"option",54),n.Jc(18,"(GMT -7:00) Mountain Time (US & Canada)"),n.Rb(),n.Sb(19,"option",55),n.Jc(20,"(GMT -6:00) Central Time (US & Canada), Mexico City"),n.Rb(),n.Sb(21,"option",56),n.Jc(22,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),n.Rb(),n.Sb(23,"option",57),n.Jc(24,"(GMT -4:30) Caracas"),n.Rb(),n.Sb(25,"option",58),n.Jc(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),n.Rb(),n.Sb(27,"option",59),n.Jc(28,"(GMT -3:30) Newfoundland"),n.Rb(),n.Sb(29,"option",60),n.Jc(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),n.Rb(),n.Sb(31,"option",61),n.Jc(32,"(GMT -2:00) Mid-Atlantic"),n.Rb(),n.Sb(33,"option",62),n.Jc(34,"(GMT -1:00) Azores, Cape Verde Islands"),n.Rb(),n.Sb(35,"option",63),n.Jc(36,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),n.Rb(),n.Sb(37,"option",64),n.Jc(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),n.Rb(),n.Sb(39,"option",65),n.Jc(40,"(GMT +2:00) Kaliningrad, South Africa"),n.Rb(),n.Sb(41,"option",66),n.Jc(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),n.Rb(),n.Sb(43,"option",67),n.Jc(44,"(GMT +3:30) Tehran"),n.Rb(),n.Sb(45,"option",68),n.Jc(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),n.Rb(),n.Sb(47,"option",69),n.Jc(48,"(GMT +4:30) Kabul"),n.Rb(),n.Sb(49,"option",70),n.Jc(50,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),n.Rb(),n.Sb(51,"option",71),n.Jc(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),n.Rb(),n.Sb(53,"option",72),n.Jc(54,"(GMT +5:45) Kathmandu, Pokhara"),n.Rb(),n.Sb(55,"option",73),n.Jc(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),n.Rb(),n.Sb(57,"option",74),n.Jc(58,"(GMT +6:30) Yangon, Mandalay"),n.Rb(),n.Sb(59,"option",75),n.Jc(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),n.Rb(),n.Sb(61,"option",76),n.Jc(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),n.Rb(),n.Sb(63,"option",77),n.Jc(64,"(GMT +8:45) Eucla"),n.Rb(),n.Sb(65,"option",78),n.Jc(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),n.Rb(),n.Sb(67,"option",79),n.Jc(68,"(GMT +9:30) Adelaide, Darwin"),n.Rb(),n.Sb(69,"option",80),n.Jc(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),n.Rb(),n.Sb(71,"option",81),n.Jc(72,"(GMT +10:30) Lord Howe Island"),n.Rb(),n.Sb(73,"option",82),n.Jc(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),n.Rb(),n.Sb(75,"option",83),n.Jc(76,"(GMT +11:30) Norfolk Island"),n.Rb(),n.Sb(77,"option",84),n.Jc(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),n.Rb(),n.Sb(79,"option",85),n.Jc(80,"(GMT +12:45) Chatham Islands"),n.Rb(),n.Sb(81,"option",86),n.Jc(82,"(GMT +13:00) Apia, Nukualofa"),n.Rb(),n.Sb(83,"option",87),n.Jc(84,"(GMT +14:00) Line Islands, Tokelau"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(3),n.Kc(n.fc(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")))}function it(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"button",45),n.Jc(2),n.Rb(),n.Rb()),2&t){var i=n.dc().$implicit,r=n.dc(2);n.Ab(2),n.Kc(r.getLocalizedLabel(i))}}function nt(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"form"),n.Nb(2,"input",44),n.Jc(3," example group1 "),n.Nb(4,"br"),n.Nb(5,"input",44),n.Jc(6," example group2 "),n.Nb(7,"br"),n.Nb(8,"input",44),n.Jc(9," example group3 "),n.Rb(),n.Rb())}function rt(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,H,3,0,"div",29),n.Hc(2,B,3,3,"div",31),n.Hc(3,j,3,0,"div",29),n.Hc(4,G,5,0,"div",29),n.Hc(5,K,5,4,"div",29),n.Hc(6,V,2,1,"div",29),n.Hc(7,J,3,1,"div",29),n.Hc(8,W,2,0,"div",29),n.Hc(9,X,7,6,"div",29),n.Hc(10,$,3,1,"div",29),n.Hc(11,tt,3,1,"div",29),n.Hc(12,et,85,3,"div",29),n.Hc(13,it,3,1,"div",29),n.Hc(14,nt,10,0,"div",29),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf","TEXTFIELD"===i.type||"VALIDATED_EMAIL"===i.type||"USERNAME"===i.type),n.Ab(1),n.kc("ngIf","FROM_FEDERATION_HIDDEN"===i.type),n.Ab(1),n.kc("ngIf","FROM_FEDERATION_SHOW"===i.type),n.Ab(1),n.kc("ngIf","PASSWORD"===i.type),n.Ab(1),n.kc("ngIf","RADIO"===i.type),n.Ab(1),n.kc("ngIf","HEADING"===i.type||"HTML_COMMENT"===i.type),n.Ab(1),n.kc("ngIf","SELECTIONBOX"===i.type),n.Ab(1),n.kc("ngIf","TEXTAREA"===i.type),n.Ab(1),n.kc("ngIf","COMBOBOX"===i.type),n.Ab(1),n.kc("ngIf","CHECKBOX"===i.type),n.Ab(1),n.kc("ngIf","SUBMIT_BUTTON"===i.type),n.Ab(1),n.kc("ngIf","TIMEZONE"===i.type),n.Ab(1),n.kc("ngIf","AUTO_SUBMIT_BUTTON"===i.type),n.Ab(1),n.kc("ngIf","EMBEDDED_GROUP_APPLICATION"===i.type)}}function at(t,e){1&t&&n.Nb(0,"th",24)}function ot(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",89),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc(2).openManagingGroups(t)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"supervised_user_circle"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function st(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,ot,4,3,"button",88),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf","EMBEDDED_GROUP_APPLICATION"===i.type&&!i.forDelete)}}function ct(t,e){1&t&&n.Nb(0,"th",24)}function ut(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",92),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc(2).edit(t)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"edit"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function lt(t,e){1&t&&(n.Sb(0,"div",93),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function ht(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,ut,4,3,"button",90),n.Hc(2,lt,3,3,"div",91),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf",!i.forDelete),n.Ab(1),n.kc("ngIf",i.forDelete)}}function dt(t,e){1&t&&n.Nb(0,"th",24)}function ft(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",95),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc(2).delete(t)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"delete"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}function pt(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",89),n.Zb("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc(2).restore(t)})),n.ec(1,"translate"),n.Sb(2,"mat-icon"),n.Jc(3,"settings_backup_restore"),n.Rb(),n.Rb()}2&t&&n.lc("matTooltip",n.fc(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function gt(t,e){if(1&t&&(n.Sb(0,"td",25),n.Hc(1,ft,4,3,"button",94),n.Hc(2,pt,4,3,"button",88),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf",!i.forDelete),n.Ab(1),n.kc("ngIf",i.forDelete)}}function bt(t,e){1&t&&n.Nb(0,"tr",96)}function mt(t,e){if(1&t&&n.Nb(0,"tr",97),2&t){var i=e.$implicit,r=n.dc(2);n.Eb("make-green",i.id<=0)("make-red",i.forDelete)("make-yellow",-1!=r.itemsChanged.indexOf(i.id)&&!i.forDelete&&i.id>0),n.kc("cdkDragData",i)}}function vt(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div",4),n.Sb(1,"div",5),n.Sb(2,"div",6),n.Sb(3,"table",7,8),n.Zb("cdkDropListDropped",(function(t){return n.xc(i),n.dc().drop(t)})),n.Qb(5,9),n.Hc(6,C,1,0,"th",10),n.Hc(7,R,4,0,"td",11),n.Pb(),n.Qb(8,12),n.Hc(9,T,3,3,"th",10),n.Hc(10,I,2,1,"td",11),n.Pb(),n.Qb(11,13),n.Hc(12,O,3,3,"th",10),n.Hc(13,D,3,3,"td",11),n.Pb(),n.Qb(14,14),n.Hc(15,M,3,3,"th",15),n.Hc(16,x,2,1,"td",16),n.Pb(),n.Qb(17,17),n.Hc(18,N,3,3,"th",15),n.Hc(19,F,2,1,"td",16),n.Pb(),n.Qb(20,18),n.Hc(21,z,3,3,"th",10),n.Hc(22,rt,15,14,"td",11),n.Pb(),n.Qb(23,19),n.Hc(24,at,1,0,"th",10),n.Hc(25,st,2,1,"td",11),n.Pb(),n.Qb(26,20),n.Hc(27,ct,1,0,"th",10),n.Hc(28,ht,3,2,"td",11),n.Pb(),n.Qb(29,21),n.Hc(30,dt,1,0,"th",10),n.Hc(31,gt,3,2,"td",11),n.Pb(),n.Hc(32,bt,1,0,"tr",22),n.Hc(33,mt,1,7,"tr",23),n.Rb(),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(3),n.kc("cdkDropListDisabled",r.dragDisabled)("dataSource",r.dataSource),n.Ab(29),n.kc("matHeaderRowDef",r.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",r.displayedColumns)}}function yt(t,e){1&t&&(n.Sb(0,"app-alert",98),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}var At=function(){var t=function(){function t(e,i,r,a){g(this,t),this.dialog=e,this.notificator=i,this.router=r,this.translate=a,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new n.o,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}return m(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(t){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=Object(c.o)();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(s.a,i).afterClosed().subscribe((function(i){i&&(e.itemsChanged.push(t.id),e.applicationFormItemsChange.emit())}))}},{key:"delete",value:function(t){var e=this,i=Object(c.o)();i.width="500px",this.dialog.open(a.a,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);Object(r.h)(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=d(e.split("|"));try{for(r.s();!(i=r.n()).done;){var a=i.value;n.push(a.split("#")[1])}}catch(o){r.e(o)}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(t){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.b),n.Mb(o.l),n.Mb(l.f),n.Mb(h.e))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-application-form-list"]],viewQuery:function(t,e){var i;1&t&&n.Qc(k,!0),2&t&&n.sc(i=n.ac())&&(e.table=i.first)},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[n.yb],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.Hc(0,E,1,0,"mat-spinner",0),n.Hc(1,vt,34,4,"div",1),n.Hc(2,yt,3,3,"app-alert",2)),2&t&&(n.kc("ngIf",e.loading),n.Ab(1),n.kc("ngIf",0!==e.applicationFormItems.length&&!e.loading),n.Ab(1),n.kc("ngIf",0===e.applicationFormItems.length&&!e.loading))},directives:[f.t,p.c,b.n,r.e,b.c,b.i,b.b,b.k,b.m,b.h,b.a,v.b,y.a,A.a,w.H,w.s,w.t,f.s,w.w,w.G,w.D,w.r,w.u,b.j,b.l,r.a,_.a],pipes:[h.d,S.a],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}()},OF3q:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("nIj0"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("29Wa"),d=i("Cd2c"),f=i("PBFl"),p=i("+Tre"),b=i("ABWF");function v(t,e){1&t&&s.Nb(0,"mat-spinner",3)}function y(t,e){if(1&t){var i=s.Tb();s.Sb(0,"mat-checkbox",13),s.Zb("click",(function(){return s.xc(i),s.dc(2).loadVoGroups()}))("ngModelChange",(function(t){return s.xc(i),s.dc(2).asSubgroup=t})),s.Jc(1),s.ec(2,"translate"),s.Rb()}if(2&t){var n=s.dc(2);s.kc("labelPosition","before")("ngModel",n.asSubgroup),s.Ab(1),s.Lc(" ",s.fc(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function A(t,e){if(1&t){var i=s.Tb();s.Sb(0,"perun-web-apps-group-search-select",14),s.Zb("groupSelected",(function(t){return s.xc(i),s.dc(2).selectedParent=t})),s.Rb()}if(2&t){var n=s.dc(2);s.kc("disableAutoSelect",!0)("groups",n.voGroups)}}function w(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"div",4),s.Sb(2,"mat-form-field"),s.Sb(3,"label",5),s.Nb(4,"input",6),s.ec(5,"translate"),s.Rb(),s.Sb(6,"mat-error"),s.Jc(7),s.ec(8,"translate"),s.Rb(),s.Rb(),s.Sb(9,"mat-form-field",7),s.Sb(10,"label",5),s.Nb(11,"textarea",6),s.ec(12,"translate"),s.Rb(),s.Sb(13,"mat-error"),s.Jc(14),s.ec(15,"translate"),s.Rb(),s.Rb(),s.Hc(16,y,3,5,"mat-checkbox",8),s.Hc(17,A,1,2,"perun-web-apps-group-search-select",9),s.Rb(),s.Sb(18,"div",10),s.Sb(19,"button",11),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(20),s.ec(21,"translate"),s.Rb(),s.Sb(22,"button",12),s.Zb("click",(function(){return s.xc(i),s.dc().onSubmit()})),s.Jc(23),s.ec(24,"translate"),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(4),s.lc("placeholder",s.fc(5,11,"DIALOGS.CREATE_GROUP.NAME")),s.kc("formControl",n.nameControl),s.Ab(3),s.Lc(" ",n.invalidNameMessage.length?n.invalidNameMessage:s.fc(8,13,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),s.Ab(4),s.lc("placeholder",s.fc(12,15,"DIALOGS.CREATE_GROUP.DESCRIPTION")),s.kc("formControl",n.descriptionControl),s.Ab(3),s.Lc(" ",s.fc(15,17,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),s.Ab(2),s.kc("ngIf",n.isNotSubGroup),s.Ab(1),s.kc("ngIf",n.asSubgroup),s.Ab(3),s.Lc(" ",s.fc(21,19,"DIALOGS.CREATE_GROUP.CANCEL")," "),s.Ab(2),s.kc("disabled",n.nameControl.invalid||n.descriptionControl.invalid||n.asSubgroup&&null===n.selectedParent||n.loading),s.Ab(1),s.Lc(" ",s.fc(24,21,"DIALOGS.CREATE_GROUP.CREATE")," ")}}var _=function(){var t=function(){function t(e,i,n,r,a,o){var s=this;g(this,t),this.dialogRef=e,this.data=i,this.groupService=n,this.translate=r,this.notificator=a,this.store=o,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("groupNameErrorMessage"),this.secondaryRegex=this.store.get("groupNameSecondaryRegex"),this.voGroups=[],this.nameFunction=function(t){return t.name},this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?r.get("DIALOGS.CREATE_GROUP.TITLE").subscribe((function(t){return s.title=t})):r.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe((function(t){s.title=t+s.data.parentGroup.name})),r.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe((function(t){return s.successMessage=t})),r.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe((function(t){return s.successSubGroupMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new o.g("",[o.F.required,o.F.pattern(this.secondaryRegex?this.secondaryRegex:""),o.F.pattern(".*[\\S]+.*")]),this.descriptionControl=new o.g("",[o.F.required,o.F.maxLength(129)]),this.selectedParent=null}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.isNotSubGroup&&!this.asSubgroup?this.groupService.createGroupWithVoNameDescription(this.data.voId,this.nameControl.value,this.descriptionControl.value).subscribe((function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)}),(function(){return t.loading=!1})):this.groupService.createGroupWithParentGroupNameDescription(this.asSubgroup?this.selectedParent.id:this.data.parentGroup.id,this.nameControl.value,this.descriptionControl.value).subscribe((function(){t.notificator.showSuccess(t.successSubGroupMessage),t.loading=!1,t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}},{key:"loadVoGroups",value:function(){var t=this;this.groupService.getAllGroups(this.data.voId).subscribe((function(e){t.voGroups=e.filter((function(t){return"members"!==t.name}))}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.h),s.Mb(c.e),s.Mb(r.l),s.Mb(r.m))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"h1",0),s.Jc(1),s.Rb(),s.Sb(2,"div"),s.Hc(3,v,1,0,"mat-spinner",1),s.Hc(4,w,25,23,"div",2),s.Rb()),2&t&&(s.Ab(1),s.Kc(e.title),s.Ab(1),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[n.j,u.t,l.c,n.g,h.c,d.b,o.c,o.C,o.r,o.h,h.b,n.c,f.b,p.a,o.u,b.a],pipes:[c.d],styles:[""]}),t}()},OIgT:function(t,e,i){"use strict";e.decode=e.parse=i("wOqL"),e.encode=e.stringify=i("f8+N")},OL2r:function(t,e,i){"use strict";i.d(e,"a",(function(){return x}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("FlRo"),s=i("8clQ"),c=i("+0js"),u=i("2kYt"),l=i("EM62"),h=i("s2Ay"),d=i("PBFl"),f=i("csyo"),p=i("bFHC"),b=i("Y2X+"),v=i("j+u3");function y(t,e){1&t&&l.Nb(0,"mat-spinner",6)}function A(t,e){1&t&&(l.Sb(0,"th",17),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")))}function w(t,e){if(1&t&&(l.Sb(0,"td",18),l.Jc(1),l.Rb()),2&t){var i=e.$implicit;l.Ab(1),l.Lc(" ",i.user.id," ")}}function _(t,e){1&t&&(l.Sb(0,"th",17),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")))}function S(t,e){if(1&t&&(l.Sb(0,"td",18),l.Jc(1),l.ec(2,"userFullName"),l.Rb()),2&t){var i=e.$implicit;l.Ab(1),l.Lc(" ",l.fc(2,1,i.user)," ")}}function k(t,e){1&t&&(l.Sb(0,"th",17),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")))}function E(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",20),l.Zb("click",(function(){l.xc(i);var t=l.dc().$implicit;return l.dc(2).changeExpiration(t)})),l.Sb(1,"mat-icon"),l.Jc(2," today "),l.Rb(),l.Rb()}}function C(t,e){if(1&t&&(l.Sb(0,"td",18),l.Sb(1,"span"),l.Jc(2),l.Rb(),l.Hc(3,E,3,0,"button",19),l.Rb()),2&t){var i=e.$implicit,n=l.dc(2);l.Ab(2),l.Kc(n.parseDate(i.validityTo)),l.Ab(1),l.kc("ngIf",n.isExpirationAuthorized(i))}}function R(t,e){1&t&&l.Nb(0,"th",17)}function T(t,e){1&t&&(l.Sb(0,"mat-icon",25),l.Jc(1,"clear"),l.Rb())}function I(t,e){1&t&&(l.Sb(0,"mat-icon"),l.Jc(1,"settings_backup_restore"),l.Rb())}function O(t,e){if(1&t){var i=l.Tb();l.Sb(0,"td",18),l.Sb(1,"div",21),l.ec(2,"translate"),l.Sb(3,"button",22),l.Zb("click",(function(){l.xc(i);var t=e.$implicit;return l.dc(2).markSponsor(t)})),l.Hc(4,T,2,0,"mat-icon",23),l.Hc(5,I,2,0,"mat-icon",24),l.Rb(),l.Rb(),l.Rb()}if(2&t){var n=e.$implicit,r=l.dc(2);l.Ab(1),l.lc("matTooltip",l.fc(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),l.kc("matTooltipPosition","above")("matTooltipDisabled",r.isRemoveAuthorized(n)),l.Ab(2),l.kc("disabled",!r.isRemoveAuthorized(n)),l.Ab(1),l.kc("ngIf",!r.sponsorsToRemove.has(n.user.id)),l.Ab(1),l.kc("ngIf",r.sponsorsToRemove.has(n.user.id))}}function D(t,e){1&t&&l.Nb(0,"tr",26)}function M(t,e){if(1&t&&l.Nb(0,"tr",27),2&t){var i=e.$implicit,n=l.dc(2);l.Eb("make-red",n.sponsorsToRemove.has(i.user.id))}}function P(t,e){if(1&t&&(l.Sb(0,"div",7),l.Sb(1,"table",8),l.Qb(2,9),l.Hc(3,A,3,3,"th",10),l.Hc(4,w,2,1,"td",11),l.Pb(),l.Qb(5,12),l.Hc(6,_,3,3,"th",10),l.Hc(7,S,3,3,"td",11),l.Pb(),l.Qb(8,13),l.Hc(9,k,3,3,"th",10),l.Hc(10,C,4,2,"td",11),l.Pb(),l.Qb(11,14),l.Hc(12,R,1,0,"th",10),l.Hc(13,O,6,8,"td",11),l.Pb(),l.Hc(14,D,1,0,"tr",15),l.Hc(15,M,1,2,"tr",16),l.Rb(),l.Rb()),2&t){var i=l.dc();l.Ab(1),l.kc("dataSource",i.dataSource),l.Ab(13),l.kc("matHeaderRowDef",i.displayedColumns),l.Ab(1),l.kc("matRowDefColumns",i.displayedColumns)}}var x=function(){var t=function(){function t(e,i,n,r,a,o,s,c){g(this,t),this.dialogRef=e,this.data=i,this.memberService=n,this.userService=r,this.notificator=a,this.authResolver=o,this.translate=s,this.dialog=c,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new o.o(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":Object(u.I)(t,"d.M.y","en")}},{key:"changeExpiration",value:function(t){var e=this,i=Object(s.o)();i.width="400px",i.data={memberId:this.data.member.id,sponsor:t,mode:"sponsor"},this.dialog.open(c.d,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 o.o(e.sponsors),e.loading=!1})))}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Mb(r.i),l.Mb(r.a),l.Mb(n.i),l.Mb(n.q),l.Mb(a.l),l.Mb(a.h),l.Mb(h.e),l.Mb(r.b))},t.\u0275cmp=l.Gb({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.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Sb(3,"div"),l.Hc(4,y,1,0,"mat-spinner",1),l.Hc(5,P,16,3,"div",2),l.Sb(6,"div",3),l.Sb(7,"button",4),l.Zb("click",(function(){return e.onCancel()})),l.Jc(8),l.ec(9,"translate"),l.Rb(),l.Sb(10,"button",5),l.Zb("click",(function(){return e.onSubmit()})),l.Jc(11),l.ec(12,"translate"),l.Rb(),l.Rb(),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),l.Ab(2),l.Cb(e.theme),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(3),l.Lc(" ",l.fc(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL"),""),l.Ab(2),l.kc("disabled",e.loading||0===e.sponsorsToRemove.size),l.Ab(1),l.Lc(" ",l.fc(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT"),""))},directives:[r.j,u.t,r.c,d.b,f.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,p.a,b.a,o.j,o.l],pipes:[h.d,v.a],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:grey}"]}),t}()},OZ4H:function(t,e,i){"use strict";i.d(e,"a",(function(){return I})),i.d(e,"b",(function(){return P})),i.d(e,"c",(function(){return z})),i.d(e,"d",(function(){return N})),i.d(e,"e",(function(){return S})),i.d(e,"f",(function(){return C})),i.d(e,"g",(function(){return F})),i.d(e,"h",(function(){return B})),i.d(e,"i",(function(){return T})),i.d(e,"j",(function(){return L}));var n=i("HYj3"),r=i("Sv/w"),o=i("EM62"),c=i("mFH5"),u=i("E5oP"),l=i("2kYt"),h=i("ZTXN"),d=i("i9xl"),f=i("ROBh"),p=i("xVbo"),b=i("J+dc"),v=i("jIqt"),y=i("f7+R"),A=i("fAiE"),w=i("sg/T");function _(t,e){}var S=function t(){g(this,t),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},k={dialogContainer:Object(y.n)("dialogContainer",[Object(y.k)("void, exit",Object(y.l)({opacity:0,transform:"scale(0.7)"})),Object(y.k)("enter",Object(y.l)({transform:"none"})),Object(y.m)("* => enter",Object(y.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(y.l)({transform:"none",opacity:1}))),Object(y.m)("* => void, * => exit",Object(y.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(y.l)({opacity:0})))])};function E(){throw Error("Attempting to attach dialog content after content is already attached")}var C=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,s){var c;return g(this,i),(c=e.call(this))._elementRef=t,c._focusTrapFactory=n,c._changeDetectorRef=r,c._config=s,c._elementFocusedBeforeDialogWasOpened=null,c._state="enter",c._animationStateChanged=new o.o,c.attachDomPortal=function(t){return c._portalOutlet.hasAttached()&&E(),c._setupFocusTrap(),c._portalOutlet.attachDomPortal(t)},c._ariaLabelledBy=s.ariaLabelledBy||null,c._document=a,c}return m(i,[{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached()&&E(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached()&&E(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||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=this._document.activeElement,i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var t=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return t._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}},{key:"_onAnimationDone",value:function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}},{key:"_onAnimationStart",value:function(t){this._animationStateChanged.emit(t)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),i}(r.a);return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l),o.Mb(w.i),o.Mb(o.h),o.Mb(l.e,8),o.Mb(S))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var i;1&t&&o.Dc(r.c,!0),2&t&&o.sc(i=o.ac())&&(e._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&o.Fc("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(o.Bb("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),o.Gc("@dialogContainer",e._state))},features:[o.xb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o.Hc(0,_,0,0,"ng-template",0)},directives:[r.c],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;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:[k.dialogContainer]}}),t}(),R=0,T=function(){function t(e,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+R++;g(this,t),this._overlayRef=e,this._containerInstance=i,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new h.a,this._afterClosed=new h.a,this._beforeClosed=new h.a,this._state=0,i._id=r,i._animationStateChanged.pipe(Object(p.a)((function(t){return"done"===t.phaseName&&"enter"===t.toState})),Object(b.a)(1)).subscribe((function(){n._afterOpened.next(),n._afterOpened.complete()})),i._animationStateChanged.pipe(Object(p.a)((function(t){return"done"===t.phaseName&&"exit"===t.toState})),Object(b.a)(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(Object(p.a)((function(t){return t.keyCode===A.h&&!n.disableClose&&!Object(A.t)(t)}))).subscribe((function(t){t.preventDefault(),n.close()})),e.backdropClick().subscribe((function(){n.disableClose?n._containerInstance._recaptureFocus():n.close()}))}return m(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(Object(p.a)((function(t){return"start"===t.phaseName})),Object(b.a)(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._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{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._getPositionStrategy().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}(),I=new o.r("MatDialogData"),O=new o.r("mat-dialog-default-options"),D=new o.r("mat-dialog-scroll-strategy"),M={provide:D,deps:[n.c],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},P=function(){var t=function(){function t(e,i,n,r,a,o,s){var c=this;g(this,t),this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new h.a,this._afterOpenedAtThisLevel=new h.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(d.a)((function(){return c.openDialogs.length?c._afterAllClosed:c._afterAllClosed.pipe(Object(v.a)(void 0))})),this._scrollStrategy=a}return m(t,[{key:"open",value:function(t,e){var i=this;if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new S)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'.concat(e.id,'" exists already. The dialog id must be unique.'));var n=this._createOverlay(e),r=this._attachDialogContainer(n,e),a=this._attachDialogContent(t,r,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe((function(){return i._removeOpenDialog(a)})),this.afterOpened.next(a),a}},{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.d({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=o.s.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:S,useValue:e}]}),n=new r.d(C,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}},{key:"_attachDialogContent",value:function(t,e,i,n){var a=new T(i,e,n.id);if(t instanceof o.M)e.attachTemplatePortal(new r.j(t,null,{$implicit:n.data,dialogRef:a}));else{var s=this._createInjector(n,a,e),c=e.attachComponentPortal(new r.d(t,n.viewContainerRef,s));a.componentInstance=c.instance}return a.updateSize(n.width,n.height).updatePosition(n.position),a}},{key:"_createInjector",value:function(t,e,i){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:C,useValue:i},{provide:I,useValue:t.data},{provide:T,useValue:e}];return!t.direction||n&&n.get(u.c,null)||r.push({provide:u.c,useValue:{value:t.direction,change:Object(f.a)()}}),o.s.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._afterAllClosed.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()}},{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:"_afterAllClosed",get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Wb(n.c),o.Wb(o.s),o.Wb(l.n,8),o.Wb(O,8),o.Wb(D),o.Wb(t,12),o.Wb(n.e))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),x=0,N=function(){var t=function(){function t(e,i,n){g(this,t),this.dialogRef=e,this._elementRef=i,this._dialog=n,this.type="button"}return m(t,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=H(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(T,8),o.Mb(o.l),o.Mb(P))},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&o.Zb("click",(function(){return e.dialogRef.close(e.dialogResult)})),2&t&&o.Bb("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.yb]}),t}(),L=function(){var t=function(){function t(e,i,n){g(this,t),this._dialogRef=e,this._elementRef=i,this._dialog=n,this.id="mat-dialog-title-"+x++}return m(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=H(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)(o.Mb(T,8),o.Mb(o.l),o.Mb(P))},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&o.Vb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),F=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),z=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Hb({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}();function H(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}var B=function(){var t=function t(){g(this,t)};return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[P,M],imports:[[n.f,r.i,c.i],c.i]}),t}()},OcHD:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(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.Lb({name:"groupExpiration",type:t,pure:!0}),t}()},Ohay:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("5uGe");function r(t,e){return function(i){return i.lift(new o(t,e))}}var o=function(){function t(e,i){g(this,t),this.compare=e,this.keySelector=i}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))}}]),t}(),c=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t)).keySelector=r,a.hasKey=!1,"function"==typeof n&&(a.compare=n),a}return m(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.a)},P2UU:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("Ssnw"),r=i("X2Q7"),a=i("nIj0"),o=i("EM62"),s=i("OZ4H"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("29Wa"),d=i("Cd2c"),f=i("R7+U"),p=i("mFH5"),b=i("PBFl"),v=i("Y2X+");function y(t,e){1&t&&o.Nb(0,"mat-spinner",4)}function A(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function w(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Lc(" ",o.fc(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function _(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div"),o.Sb(1,"div",5),o.Sb(2,"mat-form-field"),o.Nb(3,"input",6),o.ec(4,"translate"),o.Sb(5,"mat-error"),o.Jc(6),o.ec(7,"translate"),o.Rb(),o.Rb(),o.Sb(8,"mat-form-field"),o.Nb(9,"input",6),o.ec(10,"translate"),o.Hc(11,A,3,3,"mat-error",3),o.Hc(12,w,3,3,"mat-error",3),o.Rb(),o.Sb(13,"mat-form-field"),o.Sb(14,"mat-select",7),o.Zb("valueChange",(function(t){return o.xc(i),o.dc().type=t})),o.Sb(15,"mat-option",8),o.Jc(16),o.ec(17,"translate"),o.Rb(),o.Sb(18,"mat-option",9),o.Jc(19),o.ec(20,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(21,"div",10),o.Sb(22,"button",11),o.Zb("click",(function(){return o.xc(i),o.dc().onCancel()})),o.Jc(23),o.ec(24,"translate"),o.Rb(),o.Sb(25,"div",12),o.ec(26,"translate"),o.Sb(27,"button",13),o.Zb("click",(function(){return o.xc(i),o.dc().onSubmit()})),o.Jc(28),o.ec(29,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Rb()}if(2&t){var n=o.dc();o.Ab(3),o.lc("placeholder",o.fc(4,15,"DIALOGS.ADD_OWNER.NAME")),o.kc("formControl",n.nameCtrl),o.Ab(3),o.Lc(" ",o.fc(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),o.Ab(3),o.lc("placeholder",o.fc(10,19,"DIALOGS.ADD_OWNER.CONTACT")),o.kc("formControl",n.contactCtrl),o.Ab(2),o.kc("ngIf",n.contactCtrl.hasError("required")),o.Ab(1),o.kc("ngIf",n.contactCtrl.invalid&&!n.contactCtrl.hasError("required")),o.Ab(2),o.kc("value",n.type),o.Ab(2),o.Kc(o.fc(17,21,"DIALOGS.ADD_OWNER.TYPE1")),o.Ab(3),o.Kc(o.fc(20,23,"DIALOGS.ADD_OWNER.TYPE2")),o.Ab(4),o.Lc(" ",o.fc(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),o.Ab(2),o.lc("matTooltip",o.fc(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),o.kc("matTooltipDisabled",n.nameCtrl.valid&&n.contactCtrl.valid),o.Ab(2),o.kc("disabled",n.nameCtrl.invalid||n.contactCtrl.invalid),o.Ab(1),o.Lc(" ",o.fc(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}var S=function(){var t=function(){function t(e,i,n,r){var a=this;g(this,t),this.dialogRef=e,this.notificator=i,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((function(t){return a.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){this.nameCtrl=new a.g(null,[a.F.required,a.F.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new a.g(null,[a.F.required,a.F.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)(o.Mb(s.i),o.Mb(n.l),o.Mb(r.j),o.Mb(c.e))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"div",0),o.Sb(1,"h1",1),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,y,1,0,"mat-spinner",2),o.Hc(5,_,30,31,"div",3),o.Rb()),2&t&&(o.Ab(2),o.Kc(o.fc(3,3,"DIALOGS.ADD_OWNER.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading))},directives:[s.j,u.t,l.c,s.g,h.c,d.b,a.c,a.C,a.r,a.h,h.b,f.a,p.n,s.c,b.b,v.a],pipes:[c.d],styles:[""]}),t}()},P4Xx:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("IdLP"),a=n("FU6l"),o=n("YtkY"),s=n("X0qr"),c=n("GoAz");function u(){for(var t=arguments.length,e=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:block;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}\n",f=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],p=Object(n.y)(Object(n.A)(Object(n.z)((function t(e){g(this,t),this._elementRef=e})))),b=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;g(this,i),(a=e.call(this,t))._focusMonitor=n,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var o,s=d(f);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 t.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color="accent"),a}return m(i,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),t,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;n1&&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("EWqr").a),c=new(function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(i("DG/E").a))(o),u=i("bwdy"),l=i("5uGe"),d=i("ryP2"),f=function(t){a(i,t);var e=s(i);function i(t,n){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return g(this,i),(r=e.call(this,t)).scheduler=n,r.delay=a,r}return m(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.a.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(d.a.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(d.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,i=t.destination;e.observe(i),this.unsubscribe()}}]),i}(l.a),p=function t(e,i){g(this,t),this.notification=e,this.destination=i},b=i("MiDb"),v=i("yTkW"),y=function(t){a(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,a=arguments.length>2?arguments[2]:void 0;return g(this,i),(t=e.call(this)).scheduler=a,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 m(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 A(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,a=n.length;if(this.closed)throw new b.a;if(this.isStopped||this.hasError?e=u.a.EMPTY:(this.observers.push(t),e=new v.a(this,t)),r&&t.add(t=new f(t,r)),i)for(var o=0;oe&&(a=Math.max(a,r-e)),a>0&&n.splice(0,a),n}}]),i}(r.a),A=function t(e,i){g(this,t),this.time=e,this.value=i}},QcI7:function(t,e,i){"use strict";i.d(e,"a",(function(){return _})),i.d(e,"b",(function(){return C})),i.d(e,"c",(function(){return M})),i.d(e,"d",(function(){return D})),i.d(e,"e",(function(){return O})),i.d(e,"f",(function(){return P})),i.d(e,"g",(function(){return y})),i.d(e,"h",(function(){return A})),i.d(e,"i",(function(){return E})),i.d(e,"j",(function(){return S})),i.d(e,"k",(function(){return T}));var r=i("seVz"),o=i("mFH5"),c=i("5XID"),u=i("cqs0"),l=i("C05f"),d=i("g6G6"),f=i("J+dc"),p=i("YtkY"),b=i("EM62"),v=Object(o.D)(Object(o.A)(r.e)),y=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t,n))._elementRef=t,a._tree=n,a.role="treeitem",a.tabIndex=Number(r)||0,a}return i}(v);return t.\u0275fac=function(e){return new(e||t)(b.Mb(b.l),b.Mb(r.c),b.Xb("tabindex"))},t.\u0275dir=b.Hb({type:t,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:3,hostBindings:function(t,e){2&t&&b.Bb("aria-expanded",e.isExpanded)("aria-level","treeitem"===e.role?e.level:null)("role",e.role)},inputs:{disabled:"disabled",tabIndex:"tabIndex",role:"role"},exportAs:["matTreeNode"],features:[b.zb([{provide:r.e,useExisting:t}]),b.xb]}),t}(),A=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(r.f);return t.\u0275fac=function(e){return w(e||t)},t.\u0275dir=b.Hb({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[b.zb([{provide:r.f,useExisting:t}]),b.xb]}),t}(),w=b.Ub(A),_=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n,r))._elementRef=t,o._tree=n,o._differs=r,o._disabled=!1,o.tabIndex=Number(a)||0,o}return m(i,[{key:"ngAfterContentInit",value:function(){n(h(i.prototype),"ngAfterContentInit",this).call(this)}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this)}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(c.c)(t)}},{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:0}}]),i}(r.b);return t.\u0275fac=function(e){return new(e||t)(b.Mb(b.l),b.Mb(r.c),b.Mb(b.t),b.Xb("tabindex"))},t.\u0275dir=b.Hb({type:t,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],hostVars:2,hostBindings:function(t,e){2&t&&b.Bb("aria-expanded",e.isExpanded)("role",e.role)},inputs:{tabIndex:"tabIndex",disabled:"disabled",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[b.zb([{provide:r.b,useExisting:t},{provide:r.e,useExisting:t},{provide:r.a,useExisting:t}]),b.xb]}),t}(),S=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(r.h);return t.\u0275fac=function(e){return k(e||t)},t.\u0275dir=b.Hb({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[b.zb([{provide:r.h,useExisting:t}]),b.xb]}),t}(),k=b.Ub(S),E=function(){var t=function t(e,i){g(this,t),this.viewContainer=e,this._node=i};return t.\u0275fac=function(e){return new(e||t)(b.Mb(b.Q),b.Mb(r.a,8))},t.\u0275dir=b.Hb({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[b.zb([{provide:r.g,useExisting:t}])]}),t}(),C=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(r.c);return t.\u0275fac=function(e){return R(e||t)},t.\u0275cmp=b.Gb({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){var i;1&t&&b.Dc(E,!0),2&t&&b.sc(i=b.ac())&&(e._nodeOutlet=i.first)},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[b.zb([{provide:r.c,useExisting:t}]),b.xb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&b.Ob(0,0)},directives:[E],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t}(),R=b.Ub(C),T=function(){var t=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments)).recursive=!1,t}return i}(r.i);return t.\u0275fac=function(e){return I(e||t)},t.\u0275dir=b.Hb({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[b.zb([{provide:r.i,useExisting:t}]),b.xb]}),t}(),I=b.Ub(T),O=function(){var t=function t(){g(this,t)};return t.\u0275mod=b.Kb({type:t}),t.\u0275inj=b.Jb({factory:function(e){return new(e||t)},imports:[[r.d,o.i],o.i]}),t}(),D=function(){function t(e,i,n,r){g(this,t),this.transformFunction=e,this.getLevel=i,this.isExpandable=n,this.getChildren=r}return m(t,[{key:"_flattenNode",value:function(t,e,i,n){var r=this,a=this.transformFunction(t,e);if(i.push(a),this.isExpandable(a)){var o=this.getChildren(t);o&&(Array.isArray(o)?this._flattenChildren(o,e,i,n):o.pipe(Object(f.a)(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(a,o){var s=n.slice();s.push(o!=t.length-1),r._flattenNode(a,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 a=!0,o=0;o<=i.getLevel(t);o++)a=a&&r[o];a&&n.push(t),i.isExpandable(t)&&(r[i.getLevel(t)+1]=e.isExpanded(t))})),n}}]),t}(),M=function(t){a(i,t);var e=s(i);function i(t,n){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return g(this,i),(r=e.call(this))._treeControl=t,r._treeFlattener=n,r._flattenedData=new l.a([]),r._expandedData=new l.a([]),r._data=new l.a(a),r}return m(i,[{key:"connect",value:function(t){var e=this,i=[t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData];return Object(d.a).apply(void 0,i).pipe(Object(p.a)((function(){return e._expandedData.next(e._treeFlattener.expandFlattenedNodes(e._flattenedData.value,e._treeControl)),e._expandedData.value})))}},{key:"disconnect",value:function(){}},{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}}]),i}(u.b),P=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._data=new l.a([]),t}return m(i,[{key:"connect",value:function(t){var e=this;return Object(d.a)(t.viewChange,this._data).pipe(Object(p.a)((function(){return e.data})))}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t)}}]),i}(u.b)},Qgg6:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),r=i("s2Ay"),a=function(){var t=function(){function t(e){g(this,t),this.translateService=e}return m(t,[{key:"transform",value:function(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}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.e))},t.\u0275pipe=n.Lb({name:"applicationFormItemHidden",type:t,pure:!0}),t}()},Qu9H:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),r=i("X2Q7"),a=i("cqs0"),o=i("iyZ4"),s=i("EM62"),c=i("2kYt"),u=i("PBFl"),l=i("csyo"),h=i("pynj"),d=i("K9kF"),f=i("s2Ay");function p(t,e){1&t&&s.Nb(0,"mat-spinner",6)}var b=function(){return["recent","vo","expiration","menu"]};function v(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",7),s.Sb(1,"perun-web-apps-debounce-filter",8),s.Zb("filter",(function(t){return s.xc(i),s.dc().applyFilter(t)})),s.ec(2,"translate"),s.Rb(),s.Sb(3,"perun-web-apps-groups-list",9),s.Zb("page",(function(t){return s.xc(i),s.dc().pageChanged(t)})),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(1),s.lc("placeholder",s.fc(2,8,"DIALOGS.ADD_GROUP_TO_REGISTRATION.FILTER_DESCRIPTION")),s.Ab(2),s.kc("pageSize",n.pageSize)("groups",n.unAssignedGroups)("selection",n.selection)("filter",n.filterValue)("hideColumns",s.oc(10,b))("disableRouting",!0)("disableMembers",!0)}}var y=function(){var t=function(){function t(e,i,n,r,s){g(this,t),this.dialogRef=e,this.data=i,this.groupService=n,this.registrarService=r,this.tableConfigService=s,this.loading=!1,this.selection=new a.c(!0,[]),this.filterValue="",this.tableId=o.e}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.groupService.getAllGroups(this.data.voId).subscribe((function(e){t.unAssignedGroups=e.filter((function(e){return t.data.assignedGroups.indexOf(e.id)<=-1})),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:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onAdd",value:function(){var t=this;this.loading=!0,this.registrarService.addGroupsToAutoRegistration(this.selection.selected.map((function(t){return t.id}))).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(r.h),s.Mb(r.l),s.Mb(o.pb))},t.\u0275cmp=s.Gb({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","hideColumns","disableRouting","disableMembers","page"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,p,1,0,"mat-spinner",1),s.Hc(5,v,4,11,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onAdd()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.ADD_GROUP_TO_REGISTRATION.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.ADD_GROUP_TO_REGISTRATION.CANCEL_BUTTON")," "),s.Ab(2),s.kc("disabled",0===e.selection.selected.length||e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.ADD_GROUP_TO_REGISTRATION.ADD_BUTTON")," "))},directives:[n.j,c.t,n.c,u.b,l.c,n.g,h.a,d.a],pipes:[f.d],styles:[""]}),t}()},R0qJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),r=i("X2Q7"),a=i("cqs0"),o=i("Ssnw"),s=i("iyZ4"),c=i("EM62"),u=i("s2Ay"),l=i("A8Ay"),h=i("2kYt"),d=i("PBFl"),f=i("csyo"),p=i("ZWyU");function b(t,e){1&t&&c.Nb(0,"mat-spinner",8)}function v(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div",9),c.Sb(1,"app-ext-sources-list",10),c.Zb("page",(function(t){return c.xc(i),c.dc().pageChanged(t)})),c.Rb(),c.Rb()}if(2&t){var n=c.dc();c.Ab(1),c.kc("pageSize",n.pageSize)("extSources",n.extSources)("filterValue",n.filterValue)("selection",n.selection)}}var y=function(){var t=function(){function t(e,i,n,r,o,c){g(this,t),this.dialogRef=e,this.data=i,this.extSourceService=n,this.notificator=r,this.tableConfigService=o,this.translate=c,this.extSources=[],this.selection=new a.c(!0,[]),this.loading=!1,this.filterValue="",this.tableId=s.d}return m(t,[{key:"ngOnInit",value:function(){var t=this;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((function(e){t.extSources=e.filter((function(e){return!t.data.extSources.some((function(t){return t.id===e.id}))})),t.loading=!1}),(function(){return t.loading=!1})):this.extSourceService.getExtSources().subscribe((function(e){t.extSources=e.filter((function(e){return!t.data.extSources.some((function(t){return t.id===e.id}))})),t.loading=!1}),(function(){return t.loading=!1}))}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"addVoExtSource",value:function(t){var e=this;if(0!==t.length){var i=t.pop();this.extSourceService.addExtSourceWithVoSource(this.data.voId,i.id).subscribe((function(i){e.addVoExtSource(t)}),(function(){return e.loading=!1}))}else this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe((function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)}))}},{key:"addGroupExtSource",value:function(t){var e=this;if(0!==t.length){var i=t.pop();this.extSourceService.addExtSourceWithGroupSource(this.data.groupId,i.id).subscribe((function(i){e.addGroupExtSource(t)}),(function(){return e.loading=!1}))}else this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe((function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)}))}},{key:"onAdd",value:function(){this.loading=!0,this.data.groupId?this.addGroupExtSource(this.selection.selected):this.addVoExtSource(this.selection.selected)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{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)(c.Mb(n.i),c.Mb(n.a),c.Mb(r.f),c.Mb(o.l),c.Mb(s.pb),c.Mb(u.e))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"div"),c.Sb(1,"div",0),c.Sb(2,"h1",1),c.Jc(3),c.ec(4,"translate"),c.Rb(),c.Sb(5,"perun-web-apps-immediate-filter",2),c.Zb("filter",(function(t){return e.applyFilter(t)})),c.Rb(),c.Rb(),c.Hc(6,b,1,0,"mat-spinner",3),c.Hc(7,v,2,4,"div",4),c.Sb(8,"div",5),c.Sb(9,"button",6),c.Zb("click",(function(){return e.onCancel()})),c.Jc(10),c.ec(11,"translate"),c.Rb(),c.Sb(12,"button",7),c.Zb("click",(function(){return e.onAdd()})),c.Jc(13),c.ec(14,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(3),c.Kc(c.fc(4,10,"DIALOGS.ADD_EXT_SOURCES.TITLE")),c.Ab(2),c.kc("placeholder","DIALOGS.ADD_EXT_SOURCES.FILTER"),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(3),c.Lc(" ",c.fc(11,12,"DIALOGS.ADD_EXT_SOURCES.CANCEL")," "),c.Ab(2),c.kc("disabled",0===e.selection.selected.length||e.loading),c.Ab(1),c.Lc(" ",c.fc(14,14,"DIALOGS.ADD_EXT_SOURCES.ADD")," "))},directives:[n.j,l.a,h.t,n.c,d.b,f.c,n.g,p.a],pipes:[u.d],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t}()},"R7+U":function(t,e,n){"use strict";n.d(e,"a",(function(){return Y})),n.d(e,"b",(function(){return X})),n.d(e,"c",(function(){return Z})),n.d(e,"d",(function(){return U}));var r=n("HYj3"),o=n("2kYt"),c=n("EM62"),l=n("mFH5"),h=n("29Wa"),d=n("qvOF"),f=n("sg/T"),p=n("5XID"),b=n("cqs0"),v=n("fAiE"),y=n("ZTXN"),A=n("i9xl"),w=n("g6G6"),_=n("jIqt"),S=n("TLy2"),k=n("J+dc"),E=n("xVbo"),C=n("YtkY"),R=n("Ohay"),T=n("kuMc"),I=n("f7+R"),O=n("E5oP"),D=n("nIj0"),M=["trigger"],P=["panel"];function x(t,e){if(1&t&&(c.Sb(0,"span",8),c.Jc(1),c.Rb()),2&t){var i=c.dc();c.Ab(1),c.Kc(i.placeholder||"\xa0")}}function N(t,e){if(1&t&&(c.Sb(0,"span"),c.Jc(1),c.Rb()),2&t){var i=c.dc(2);c.Ab(1),c.Kc(i.triggerValue||"\xa0")}}function L(t,e){1&t&&c.ic(0,0,["*ngSwitchCase","true"])}function F(t,e){if(1&t&&(c.Sb(0,"span",9),c.Hc(1,N,2,1,"span",10),c.Hc(2,L,1,0,"ng-content",11),c.Rb()),2&t){var i=c.dc();c.kc("ngSwitch",!!i.customTrigger),c.Ab(2),c.kc("ngSwitchCase",!0)}}function z(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div",12),c.Sb(1,"div",13,14),c.Zb("@transformPanel.done",(function(t){return c.xc(i),c.dc()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return c.xc(i),c.dc()._handleKeydown(t)})),c.ic(3,1),c.Rb(),c.Rb()}if(2&t){var n=c.dc();c.kc("@transformPanelWrap",void 0),c.Ab(1),c.Db("mat-select-panel ",n._getPanelTheme(),""),c.Ec("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),c.kc("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),c.Bb("id",n.id+"-panel")}}var H=[[["mat-select-trigger"]],"*"],B=["mat-select-trigger","*"],j={transformPanelWrap:Object(I.n)("transformPanelWrap",[Object(I.m)("* => void",Object(I.i)("@transformPanel",[Object(I.f)()],{optional:!0}))]),transformPanel:Object(I.n)("transformPanel",[Object(I.k)("void",Object(I.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(I.k)("showing",Object(I.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(I.k)("showing-multiple",Object(I.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(I.m)("void => *",Object(I.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(I.m)("* => void",Object(I.e)("100ms 25ms linear",Object(I.l)({opacity:0})))])},G=0,U=256,K=new c.r("mat-select-scroll-strategy"),V=new c.r("MAT_SELECT_CONFIG"),q={provide:K,deps:[r.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},J=function t(e,i){g(this,t),this.source=e,this.value=i},W=Object(l.z)(Object(l.D)(Object(l.A)(Object(l.B)((function t(e,i,n,r,a){g(this,t),this._elementRef=e,this._defaultErrorStateMatcher=i,this._parentForm=n,this._parentFormGroup=r,this.ngControl=a}))))),Z=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=c.Hb({type:t,selectors:[["mat-select-trigger"]]}),t}(),Y=function(){var t=function(t){a(n,t);var e=s(n);function n(t,r,a,o,s,l,h,d,f,p,b,m,v,R){var T;return g(this,n),(T=e.call(this,s,o,h,d,p))._viewportRuler=t,T._changeDetectorRef=r,T._ngZone=a,T._dir=l,T._parentFormField=f,T.ngControl=p,T._liveAnnouncer=v,T._panelOpen=!1,T._required=!1,T._scrollTop=0,T._multiple=!1,T._compareWith=function(t,e){return t===e},T._uid="mat-select-"+G++,T._destroy=new y.a,T._triggerFontSize=0,T._onChange=function(){},T._onTouched=function(){},T._optionIds="",T._transformOrigin="top",T._panelDoneAnimatingStream=new y.a,T._offsetY=0,T._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],T._disableOptionCentering=!1,T._focused=!1,T.controlType="mat-select",T.ariaLabel="",T.optionSelectionChanges=Object(A.a)((function(){var t=T.options;return t?t.changes.pipe(Object(_.a)(t),Object(S.a)((function(){return Object(w.a).apply(void 0,i(t.map((function(t){return t.onSelectionChange}))))}))):T._ngZone.onStable.asObservable().pipe(Object(k.a)(1),Object(S.a)((function(){return T.optionSelectionChanges})))})),T.openedChange=new c.o,T._openedStream=T.openedChange.pipe(Object(E.a)((function(t){return t})),Object(C.a)((function(){}))),T._closedStream=T.openedChange.pipe(Object(E.a)((function(t){return!t})),Object(C.a)((function(){}))),T.selectionChange=new c.o,T.valueChange=new c.o,T.ngControl&&(T.ngControl.valueAccessor=u(T)),T._scrollStrategyFactory=m,T._scrollStrategy=T._scrollStrategyFactory(),T.tabIndex=parseInt(b)||0,T.id=T.id,R&&(null!=R.disableOptionCentering&&(T.disableOptionCentering=R.disableOptionCentering),null!=R.typeaheadDebounceInterval&&(T.typeaheadDebounceInterval=R.typeaheadDebounceInterval)),T}return m(n,[{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new b.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(R.a)(),Object(T.a)(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(T.a)(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe(Object(T.a)(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(Object(_.a)(null),Object(T.a)(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))}},{key:"ngDoCheck",value:function(){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(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(k.a)(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))}},{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.options&&this._setSelectionByValue(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:"_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===v.e||e===v.q||e===v.j||e===v.n,n=e===v.g||e===v.o,r=this._keyManager;if(!r.isTyping()&&n&&!Object(v.t)(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;e===v.i||e===v.f?(e===v.i?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,i=t.keyCode,n=i===v.e||i===v.q,r=e.isTyping();if(i===v.i||i===v.f)t.preventDefault(),i===v.i?e.setFirstItemActive():e.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(r||i!==v.g&&i!==v.o||!e.activeItem||Object(v.t)(t))if(!r&&this._multiple&&i===v.a&&t.ctrlKey){t.preventDefault();var a=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(a?t.select():t.deselect())}))}else{var o=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==o&&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(Object(k.a)(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{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.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var i=this._selectValue(t);i?this._keyManager.setActiveItem(i):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,i=this.options.find((function(i){try{return null!=i.value&&e._compareWith(i.value,t)}catch(n){return Object(c.W)()&&console.warn(n),!1}}));return i&&this._selectionModel.select(i),i}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new f.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(T.a)(this._destroy)).subscribe((function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())})),this._keyManager.change.pipe(Object(T.a)(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var t=this,e=Object(w.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(T.a)(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),Object(w.a).apply(void 0,i(this.options.map((function(t){return t._stateChanges})))).pipe(Object(T.a)(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()}},{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(),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(new J(this,e)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var t=this._keyManager.activeItemIndex||0,e=Object(l.w)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(l.x)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,U)}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getOptionIndex",value:function(t){return this.options.reduce((function(e,i,n){return void 0!==e?e:t===i?n:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,U),n=e*t-i,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(l.w)(r,this.options,this.optionGroups);var a=i/2;this._scrollTop=this._calculateOverlayScroll(r,a,n),this._offsetY=this._calculateOverlayOffsetY(r,a,n),this._checkOverlayWithinViewport(n)}},{key:"_calculateOverlayScroll",value:function(t,e,i){var n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{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{var a=this._selectionModel.selected[0]||this.options.first;t=a&&a.group?32:16}n||(t*=-1);var o=0-(e.left+t-(n?r:0)),s=e.right+t-i.width+(n?0:r);o>0?t+=o+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(),a=(r-this._triggerRect.height)/2,o=Math.floor(U/r);return this._disableOptionCentering?0:(n=0===this._scrollTop?t*r:this._scrollTop===i?(t-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-U)%r):e-r/2,Math.round(-1*n-a))}},{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,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,U)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>n?this._adjustPanelDown(a,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:"_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:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{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=Object(p.c)(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(p.c)(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Object(p.c)(t)}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=Object(p.f)(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,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:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(W);return t.\u0275fac=function(e){return new(e||t)(c.Mb(d.h),c.Mb(c.h),c.Mb(c.A),c.Mb(l.d),c.Mb(c.l),c.Mb(O.c,8),c.Mb(D.t,8),c.Mb(D.j,8),c.Mb(h.a,8),c.Mb(D.q,10),c.Xb("tabindex"),c.Mb(K),c.Mb(f.k),c.Mb(V,8))},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){var n;1&t&&(c.Fb(i,Z,!0),c.Fb(i,l.n,!0),c.Fb(i,l.m,!0)),2&t&&(c.sc(n=c.ac())&&(e.customTrigger=n.first),c.sc(n=c.ac())&&(e.options=n),c.sc(n=c.ac())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(c.Qc(M,!0),c.Qc(P,!0),c.Qc(r.a,!0)),2&t&&(c.sc(i=c.ac())&&(e.trigger=i.first),c.sc(i=c.ac())&&(e.panel=i.first),c.sc(i=c.ac())&&(e.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&c.Zb("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(c.Bb("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),c.Eb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[c.zb([{provide:h.d,useExisting:t},{provide:l.g,useExisting:t}]),c.xb,c.yb],ngContentSelectors:B,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",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,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(c.jc(H),c.Sb(0,"div",0,1),c.Zb("click",(function(){return e.toggle()})),c.Sb(3,"div",2),c.Hc(4,x,2,1,"span",3),c.Hc(5,F,3,2,"span",4),c.Rb(),c.Sb(6,"div",5),c.Nb(7,"div",6),c.Rb(),c.Rb(),c.Hc(8,z,4,11,"ng-template",7),c.Zb("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){var i=c.tc(1);c.Ab(3),c.kc("ngSwitch",e.empty),c.Ab(1),c.kc("ngSwitchCase",!0),c.Ab(1),c.kc("ngSwitchCase",!1),c.Ab(3),c.kc("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[r.b,o.x,o.y,r.a,o.z,o.q],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}.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}\n"],encapsulation:2,data:{animation:[j.transformPanelWrap,j.transformPanel]},changeDetection:0}),t}(),X=function(){var t=function t(){g(this,t)};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},providers:[q],imports:[[o.c,r.f,l.o,l.i],d.c,h.e,l.o,l.i]}),t}()},RCwe:function(t,e,n){"use strict";n.d(e,"a",(function(){return E}));var r=n("OZ4H"),a=n("X2Q7"),o=n("FlRo"),s=n("cqs0"),c=n("iyZ4"),u=n("Ssnw"),l=n("EM62"),h=n("s2Ay"),d=n("2kYt"),f=n("PBFl"),p=n("csyo"),b=n("+Tre"),v=n("Y2X+"),y=n("23RZ");function A(t,e){1&t&&l.Nb(0,"mat-spinner",6)}function w(t,e){if(1&t){var i=l.Tb();l.Sb(0,"mat-checkbox",13),l.Zb("change",(function(t){return l.xc(i),l.dc(2).change(t)})),l.ec(1,"translate"),l.Jc(2),l.ec(3,"translate"),l.Rb()}if(2&t){var n=l.dc(2);l.lc("matTooltip",l.fc(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),l.kc("matTooltipDisabled",!n.checkboxesDisabled)("disabled",n.checkboxesDisabled)("checked",n.taskChecked),l.Ab(2),l.Lc(" ",l.fc(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function _(t,e){if(1&t){var i=l.Tb();l.Sb(0,"mat-checkbox",14),l.Zb("change",(function(t){return l.xc(i),l.dc(2).change(t)})),l.ec(1,"translate"),l.Jc(2),l.ec(3,"translate"),l.Rb()}if(2&t){var n=l.dc(2);l.lc("matTooltip",l.fc(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),l.kc("matTooltipDisabled",!n.checkboxesDisabled)("disabled",n.checkboxesDisabled)("checked",n.taskResultsChecked),l.Ab(2),l.Lc(" ",l.fc(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function S(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-resources-list",15),l.Zb("allSelected",(function(t){return l.xc(i),l.dc(2).disableCheckboxes(t)}))("page",(function(t){return l.xc(i),l.dc(2).pageChanged(t)})),l.Rb()}if(2&t){var n=l.dc(2);l.kc("pageSize",n.pageSize)("disableRouting",!0)("resources",n.resources)("selection",n.selected)("displayedColumns",n.displayedColumns)}}function k(t,e){if(1&t){var i=l.Tb();l.Sb(0,"div",7),l.Sb(1,"p"),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"div"),l.Hc(5,w,4,9,"mat-checkbox",8),l.Hc(6,_,4,9,"mat-checkbox",9),l.Sb(7,"mat-checkbox",10),l.Zb("change",(function(t){return l.xc(i),l.dc().change(t)})),l.ec(8,"translate"),l.Jc(9),l.ec(10,"translate"),l.Rb(),l.Rb(),l.Sb(11,"p"),l.Jc(12),l.ec(13,"translate"),l.Rb(),l.Sb(14,"div",11),l.Jc(15),l.ec(16,"translate"),l.Rb(),l.Hc(17,S,1,5,"perun-web-apps-resources-list",12),l.Rb()}if(2&t){var n=l.dc();l.Ab(2),l.Kc(l.fc(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),l.Ab(3),l.kc("ngIf",null!==n.taskId),l.Ab(1),l.kc("ngIf",null!==n.taskId),l.Ab(1),l.lc("matTooltip",l.fc(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),l.kc("matTooltipDisabled",!n.checkboxesDisabled)("disabled",n.checkboxesDisabled)("checked",n.destinationChecked),l.Ab(2),l.Lc(" ",l.fc(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),l.Ab(3),l.Kc(l.fc(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),l.Ab(3),l.Lc(" ",l.fc(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),l.Ab(2),l.kc("ngIf",!n.loading)}}var E=function(){var t=function(){function t(e,n,r,a,u,l,h,d,f){g(this,t),this.dialogRef=e,this.data=n,this.tableConfigService=r,this.resourcesManager=a,this.tasksManager=u,this.serviceManager=l,this.translate=h,this.notificator=d,this.cd=f,this.loading=!1,this.dataSource=new o.o(this.data.resource),this.selected=new s.c(!0,i(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=c.U}return m(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 t=this;this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe((function(e){e.forEach((function(e){t.tasksManager.deleteTaskResultById({taskResultId:e.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(e){e.forEach((function(e){t.serviceManager.removeDestination(t.serviceId,t.facilityId,e.destination,e.type).subscribe()}))})),this.selected.selected.forEach((function(e){t.resourcesManager.removeService(e.id,t.serviceId).subscribe((function(){t.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}),(function(){return t.loading=!1}))}))}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"disableCheckboxes",value:function(t){t&&this.checkboxesDisabled&&this.changeCheckboxes(!0),t||this.checkboxesDisabled||this.changeCheckboxes(!1)}},{key:"changeCheckboxes",value:function(t){this.checkboxesDisabled=!t,this.taskChecked=t,this.taskResultsChecked=t,this.destinationChecked=t,this.cd.detectChanges()}},{key:"change",value:function(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}}},{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)(l.Mb(r.i),l.Mb(r.a),l.Mb(c.pb),l.Mb(a.m),l.Mb(a.o),l.Mb(a.n),l.Mb(h.e),l.Mb(u.l),l.Mb(l.h))},t.\u0275cmp=l.Gb({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&&(l.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Sb(3,"div"),l.Hc(4,A,1,0,"mat-spinner",1),l.Hc(5,k,18,21,"div",2),l.Sb(6,"div",3),l.Sb(7,"button",4),l.Zb("click",(function(){return e.cancel()})),l.Jc(8),l.ec(9,"translate"),l.Rb(),l.Sb(10,"button",5),l.Zb("click",(function(){return e.remove()})),l.Jc(11),l.ec(12,"translate"),l.Rb(),l.Rb(),l.Rb()),2&t&&(l.Ab(1),l.Kc(l.fc(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),l.Ab(2),l.Cb(e.theme),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(3),l.Lc(" ",l.fc(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),l.Ab(2),l.kc("disabled",e.loading||0===e.selected.selected.length),l.Ab(1),l.Lc(" ",l.fc(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[r.j,d.t,r.c,f.b,p.c,r.g,b.a,v.a,y.a],pipes:[h.d],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),t}()},"RK/0":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){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.Lb({name:"memberStatusIcon",type:t,pure:!0}),t}()},ROBh:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("gBlb"),r=i("ckkg"),a=i("czMQ");function o(){for(var t=arguments.length,e=new Array(t),i=0;i0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(t),this._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 r.d:case r.b:this.remove(),t.preventDefault();break;case r.o:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}},{key:"_blur",value:function(){var t=this;this._ngZone.onStable.asObservable().pipe(Object(p.a)(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})}},{key:"_markForCheck",value:function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(t){var e=Object(h.c)(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=Object(h.c)(t)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(t){this._disabled=Object(h.c)(t)}},{key:"removable",get:function(){return this._removable},set:function(t){this._removable=Object(h.c)(t)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}}]),i}(R);return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l),o.Mb(o.A),o.Mb(S.a),o.Mb(c.h,8),o.Mb(y.a,8),o.Mb(o.h),o.Xb("tabindex"),o.Mb(l.e,8))},t.\u0275dir=o.Hb({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){var n;1&t&&(o.Fb(i,T,!0),o.Fb(i,I,!0),o.Fb(i,D,!0)),2&t&&(o.sc(n=o.ac())&&(e.avatar=n.first),o.sc(n=o.ac())&&(e.trailingIcon=n.first),o.sc(n=o.ac())&&(e.removeIcon=n.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&o.Zb("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&&(o.Bb("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),o.Eb("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:[o.xb]}),t}(),D=function(){var t=function(){function t(e,i){g(this,t),this._parentChip=e,i&&"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}return m(t,[{key:"_handleClick",value:function(t){var e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(O),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&o.Zb("click",(function(t){return e._handleClick(t)}))}}),t}(),M=new o.r("mat-chips-default-options"),P=Object(c.B)((function t(e,i,n,r){g(this,t),this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r})),x=0,N=function t(e,i){g(this,t),this.source=e,this.value=i},L=function(){var t=function(t){a(n,t);var e=s(n);function n(t,i,r,a,s,c,l){var h;return g(this,n),(h=e.call(this,c,a,s,l))._elementRef=t,h._changeDetectorRef=i,h._dir=r,h.ngControl=l,h.controlType="mat-chip-list",h._lastDestroyedChipIndex=null,h._destroyed=new d.a,h._uid="mat-chip-list-"+x++,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 o.o,h.valueChange=new o.o,h.ngControl&&(h.ngControl.valueAccessor=u(h)),h}return m(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new A.g(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(b.a)(this._destroyed)).subscribe((function(e){return t._keyManager.withHorizontalOrientation(e)})),this._keyManager.tabOut.pipe(Object(b.a)(this._destroyed)).subscribe((function(){t._allowFocusEscape()})),this.chips.changes.pipe(Object(v.a)(null),Object(b.a)(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 w.c(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}},{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;t.keyCode===r.b&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(t.keyCode===r.i?(this._keyManager.setFirstItemActive(),t.preventDefault()):t.keyCode===r.f?(this._keyManager.setLastItemActive(),t.preventDefault()):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 N(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.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}))}},{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=Object(h.c)(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=Object(h.c)(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)&&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=Object(h.c)(t),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(t){var e=this;this._selectable=Object(h.c)(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 Object(f.a).apply(void 0,i(this.chips.map((function(t){return t.selectionChange}))))}},{key:"chipFocusChanges",get:function(){return Object(f.a).apply(void 0,i(this.chips.map((function(t){return t._onFocus}))))}},{key:"chipBlurChanges",get:function(){return Object(f.a).apply(void 0,i(this.chips.map((function(t){return t._onBlur}))))}},{key:"chipRemoveChanges",get:function(){return Object(f.a).apply(void 0,i(this.chips.map((function(t){return t.destroyed}))))}}]),n}(P);return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l),o.Mb(o.h),o.Mb(k.c,8),o.Mb(E.t,8),o.Mb(E.j,8),o.Mb(c.d),o.Mb(E.q,10))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){var n;1&t&&o.Fb(i,O,!0),2&t&&o.sc(n=o.ac())&&(e.chips=n)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&o.Zb("focus",(function(){return e.focus()}))("blur",(function(){return e._blur()}))("keydown",(function(t){return e._keydown(t)})),2&t&&(o.Vb("id",e._uid),o.Bb("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),o.Eb("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:[o.zb([{provide:_.d,useExisting:t}]),o.xb],ngContentSelectors:C,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(o.jc(),o.Sb(0,"div",0),o.ic(1),o.Rb())},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}(),F=0,z=function(){var t=function(){function t(e,i){g(this,t),this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new o.o,this.placeholder="",this.id="mat-chip-list-input-"+F++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return m(t,[{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"_keydown",value:function(t){t&&t.keyCode===r.p&&!Object(r.t)(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)}},{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}),t&&t.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(t){this._inputElement.focus(t)}},{key:"_isSeparatorKey",value:function(t){if(Object(r.t)(t))return!1;var e=this.separatorKeyCodes,i=t.keyCode;return Array.isArray(e)?e.indexOf(i)>-1:e.has(i)}},{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=Object(h.c)(t)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(t){this._disabled=Object(h.c)(t)}},{key:"empty",get:function(){return!this._inputElement.value}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(o.l),o.Mb(M))},t.\u0275dir=o.Hb({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&o.Zb("keydown",(function(t){return e._keydown(t)}))("blur",(function(){return e._blur()}))("focus",(function(){return e._focus()}))("input",(function(){return e._onInput()})),2&t&&(o.Vb("id",e.id),o.Bb("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:[o.yb]}),t}(),H={separatorKeyCodes:[r.g]},B=function(){var t=function t(){g(this,t)};return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[c.d,{provide:M,useValue:H}]}),t}()},SAuR:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("2kYt"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return t&&"never"!==t.toLowerCase()?Object(n.I)(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.Lb({name:"parseDate",type:t,pure:!0}),t}()},SrNW:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("5uGe");function r(t,e){var i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new o(t,e,i))}}var o=function(){function t(e,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];g(this,t),this.accumulator=e,this.seed=i,this.hasSeed=n}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),c=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t)).accumulator=n,o._seed=r,o.hasSeed=a,o.index=0,o}return m(i,[{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)}},{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}}]),i}(n.a)},Ssnw:function(t,e,i){"use strict";i.d(e,"h",(function(){return k})),i.d(e,"d",(function(){return L})),i.d(e,"m",(function(){return O})),i.d(e,"i",(function(){return z})),i.d(e,"e",(function(){return j})),i.d(e,"a",(function(){return J})),i.d(e,"b",(function(){return q})),i.d(e,"l",(function(){return V})),i.d(e,"k",(function(){return W})),i.d(e,"c",(function(){return Y})),i.d(e,"g",(function(){return X})),i.d(e,"n",(function(){return Q})),i.d(e,"f",(function(){return $})),i.d(e,"j",(function(){return nt}));var n,a,o,s,c,u,l,h,f,p,b,v,y,A,w=i("Iydx"),_=i("X2Q7"),S=i("EM62"),k=((n=function(){function t(e){g(this,t),this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}return m(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=d(this.fetchPolicyWithAllIncludedPolicies(t));try{for(r.s();!(i=r.n()).done;){var a=i.value;n=n.concat(a.perunRoles)}}catch(s){r.e(s)}finally{r.f()}var o=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,o)}},{key:"resolveAuthorization",value:function(t,e){var i,n=d(t);try{for(n.s();!(i=n.n()).done;){for(var r=i.value,a=!0,o=0,s=Object.keys(r);o1&&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}()).\u0275fac=function(t){return new(t||p)(S.Wb(M.e))},p.\u0275prov=S.Ib({token:p,factory:p.\u0275fac,providedIn:"root"}),p),q=((f=function(){function t(){g(this,t),this.handleNextError=!0}return m(t,[{key:"dontHandleErrorForNext",value:function(){this.handleNextError=!1}},{key:"shouldHandleError",value:function(){var t=this.handleNextError;return this.handleNextError=!0,t}}]),t}()).\u0275fac=function(t){return new(t||f)},f.\u0275prov=S.Ib({token:f,factory:f.\u0275fac,providedIn:"root"}),f),J=((h=function(){function t(e,i,n,r,a,o){g(this,t),this.authService=e,this.apiRequestConfiguration=i,this.notificator=n,this.store=r,this.dialog=a,this.initAuthService=o}return m(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=Object(D.o)();r.width="450px",this.dialog.open(N,r).afterClosed().subscribe((function(){i.authService.startAuthentication().then((function(){}))}))}t=t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});var a=this.apiRequestConfiguration.shouldHandleError(),o="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe(Object(K.a)((function(t){t instanceof G.f&&o&&i.initAuthService.loadPrincipal()}),(function(e){var n=i.formatErrors(e,t);return void 0===n?Object(U.a)(e):a?void i.notificator.showRPCError(n):Object(U.a)(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.call=e.url,i.payload=e.body,i}}]),t}()).\u0275fac=function(t){return new(t||h)(S.Wb(L),S.Wb(q),S.Wb(V),S.Wb(O),S.Wb(P.b),S.Wb(z))},h.\u0275prov=S.Ib({token:h,factory:h.\u0275fac}),h),W=((l=function(){function t(){g(this,t),this.notificationData=[],this.newNotificationsCount=0}return m(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}()).\u0275fac=function(t){return new(t||l)},l.\u0275prov=S.Ib({token:l,factory:l.\u0275fac,providedIn:"root"}),l),Z=i("4e/d"),Y=((A=function(){function t(e,i,n,r){g(this,t),this.http=e,this.notificator=i,this.authService=n,this.storeService=r}return m(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),Object(U.a)(r)}},{key:"getHeaders",value:function(){var t=new G.d;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 G.e,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),n="".concat(this.getApiUrl()).concat(t);return this.http.get(n,{headers:this.getHeaders()}).pipe(Object(Z.a)((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),a=JSON.stringify(i);return this.http.put(r,a,{headers:this.getHeaders()}).pipe(Object(Z.a)((function(t){return e.formatErrors(t,r,a,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),a=JSON.stringify(i),o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(r,a,{headers:o}).pipe(Object(Z.a)((function(t){return e.formatErrors(t,r,a,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(Object(Z.a)((function(t){return e.formatErrors(t,n,null,i)})))}}]),t}()).\u0275fac=function(t){return new(t||A)(S.Wb(G.b),S.Wb(V),S.Wb(L),S.Wb(O))},A.\u0275prov=S.Ib({token:A,factory:A.\u0275fac,providedIn:"root"}),A),X=((y=function(){function t(e){var i=this;g(this,t),this.router=e,this.lastState="forward",this.history=new Set,e.events.subscribe((function(t){t instanceof I.c&&("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 m(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}()).\u0275fac=function(t){return new(t||y)(S.Wb(I.f))},y.\u0275prov=S.Ib({token:y,factory:y.\u0275fac,providedIn:"root"}),y),Q=((v=function(){function t(){g(this,t)}return m(t,[{key:"isAllSelectedWithDisabledCheckbox",value:function(t,e,i,n,r,a,o,s){var c=this;return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=r*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?a.data.length:a.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),a.sortData(a.filteredData,o).forEach((function(t){c.pageStart<=c.pageIterator&&c.pageIterator1&&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)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),i}(l),p=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this)).element=t instanceof r.l?t.nativeElement:t,n}return i}(l),b=function(){function t(){g(this,t),this._isDisposed=!1,this.attachDomPortal=null}return m(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&c(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof d?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof f?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof p?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{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}(),v=function(t){a(i,t);var e=s(i);function i(t,r,a,o,s){var c,l;return g(this,i),(l=e.call(this)).outletElement=t,l._componentFactoryResolver=r,l._appRef=a,l._defaultInjector=o,l.attachDomPortal=function(t){if(!l._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var r=l._document.createComment("dom-portal");e.parentNode.insertBefore(r,e),l.outletElement.appendChild(e),n((c=u(l),h(i.prototype)),"setDisposeFn",c).call(c,(function(){r.parentNode&&r.parentNode.replaceChild(e,r)}))},l._document=s,l}return m(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)),e}},{key:"attachTemplatePortal",value:function(t){var e=this,i=t.viewContainerRef,n=i.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=i.indexOf(n);-1!==t&&i.remove(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}(b),y=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(v),A=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n){return g(this,i),e.call(this,t,n)}return i}(f);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.M),r.Mb(r.Q))},t.\u0275dir=r.Hb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[r.xb]}),t}(),w=function(){var t=function(t){a(i,t);var e=s(i);function i(t,a,o){var s,c;return g(this,i),(c=e.call(this))._componentFactoryResolver=t,c._viewContainerRef=a,c._isInitialized=!1,c.attached=new r.o,c.attachDomPortal=function(t){if(!c._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var r=c._document.createComment("dom-portal");t.setAttachedHost(u(c)),e.parentNode.insertBefore(r,e),c._getRootNode().appendChild(e),n((s=u(c),h(i.prototype)),"setDisposeFn",s).call(s,(function(){r.parentNode&&r.parentNode.replaceChild(e,r)}))},c._document=o,c}return m(i,[{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),a=e.createComponent(r,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),n(h(i.prototype),"setDisposeFn",this).call(this,(function(){return a.destroy()})),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}},{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}},{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}}]),i}(b);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.j),r.Mb(r.Q),r.Mb(o.e))},t.\u0275dir=r.Hb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.xb]}),t}(),_=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(w);return t.\u0275fac=function(e){return S(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[r.zb([{provide:w,useExisting:t}]),r.xb]}),t}(),S=r.Ub(_),k=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}(),E=function(){function t(e,i){g(this,t),this._parentInjector=e,this._customTokens=i}return m(t,[{key:"get",value:function(t,e){var i=this._customTokens.get(t);return void 0!==i?i:this._parentInjector.get(t,e)}}]),t}()},Sv31:function(t,e,i){"use strict";i.d(e,"a",(function(){return I}));var n=i("X2Q7"),r=i("iyZ4"),a=i("nIj0"),o=i("2kYt"),s=i("EM62"),c=i("sEIs"),u=i("0XDM"),l=i("29Wa"),h=i("R7+U"),d=i("mFH5"),f=i("pynj"),p=i("BnyX"),b=i("+Tre"),v=i("PBFl"),y=i("csyo"),A=i("aag5"),w=i("oCM2"),_=i("s2Ay");function S(t,e){if(1&t){var i=s.Tb();s.Sb(0,"button",16),s.Zb("click",(function(){return s.xc(i),s.dc().showAllDetails=!0})),s.Jc(1),s.ec(2,"translate"),s.Rb()}2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function k(t,e){if(1&t){var i=s.Tb();s.Sb(0,"button",16),s.Zb("click",(function(){return s.xc(i),s.dc().showAllDetails=!1})),s.Jc(1),s.ec(2,"translate"),s.Rb()}2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function E(t,e){1&t&&s.Nb(0,"mat-spinner",17)}function C(t,e){if(1&t){var i=s.Tb();s.Sb(0,"app-applications-list",20),s.Zb("page",(function(t){return s.xc(i),s.dc(2).pageChanged(t)})),s.Rb()}if(2&t){var n=s.dc(2);s.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("applications",n.applications)("displayedColumns",n.displayedColumns)}}function R(t,e){if(1&t){var i=s.Tb();s.Sb(0,"app-perun-web-apps-application-list-details",21),s.Zb("page",(function(t){return s.xc(i),s.dc(2).detailPageChanged(t)})),s.Rb()}if(2&t){var n=s.dc(2);s.kc("pageSize",n.detailPageSize)("filterValue",n.filterValue)("applications",n.applications)}}function T(t,e){if(1&t&&(s.Sb(0,"div"),s.Hc(1,C,1,4,"app-applications-list",18),s.Hc(2,R,1,3,"app-perun-web-apps-application-list-details",19),s.Rb()),2&t){var i=s.dc();s.Ab(1),s.kc("ngIf",!i.showAllDetails),s.Ab(1),s.kc("ngIf",i.showAllDetails)}}var I=function(){var t=function(){function t(e,i,n,a){g(this,t),this.voService=e,this.registrarManager=i,this.tableConfigService=n,this.route=a,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.gb,this.tableId=r.hb,this.checked=!1}return m(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 a.g(Object(o.I)(t.yearAgo(),"yyyy-MM-dd","en-GB")),t.endDate=new a.g(Object(o.I)(new Date,"yyyy-MM-dd","en-GB"))}))}},{key:"setData",value:function(t){var e=this;this.registrarManager.getApplicationsForVo(this.vo.id,t,Object(o.I)(this.startDate.value,"yyyy-MM-dd","en-GB"),Object(o.I)(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.Mb(n.r),s.Mb(n.l),s.Mb(r.pb),s.Mb(c.a))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&s.Eb("router-component",!0)},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.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"div"),s.Sb(4,"perun-web-apps-refresh-button",1),s.Zb("refresh",(function(){return e.select()})),s.Rb(),s.Hc(5,S,3,3,"button",2),s.Hc(6,k,3,3,"button",2),s.Sb(7,"mat-form-field",3),s.Sb(8,"mat-label"),s.Jc(9),s.ec(10,"translate"),s.Rb(),s.Sb(11,"mat-select",4),s.Zb("selectionChange",(function(){return e.select()}))("valueChange",(function(t){return e.state=t})),s.Sb(12,"mat-option",5),s.Jc(13),s.ec(14,"translate"),s.Rb(),s.Sb(15,"mat-option",6),s.Jc(16),s.ec(17,"translate"),s.Rb(),s.Sb(18,"mat-option",7),s.Jc(19),s.ec(20,"translate"),s.Rb(),s.Sb(21,"mat-option",8),s.Jc(22),s.ec(23,"translate"),s.Rb(),s.Sb(24,"mat-option",9),s.Jc(25),s.ec(26,"translate"),s.Rb(),s.Sb(27,"mat-option",10),s.Jc(28),s.ec(29,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Sb(30,"perun-web-apps-debounce-filter",11),s.Zb("filter",(function(t){return e.applyFilter(t)})),s.Rb(),s.Sb(31,"perun-web-apps-date-range",12),s.Zb("datePicker",(function(){return e.select()})),s.Rb(),s.Sb(32,"div"),s.Sb(33,"mat-checkbox",13),s.Zb("change",(function(t){return e.showGroupApplications(t)})),s.Jc(34),s.ec(35,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Hc(36,E,1,0,"mat-spinner",14),s.Hc(37,T,3,2,"div",15)),2&t&&(s.Ab(1),s.Kc(s.fc(2,18,"VO_DETAIL.APPLICATION.TITLE")),s.Ab(4),s.kc("ngIf",!e.showAllDetails),s.Ab(1),s.kc("ngIf",e.showAllDetails),s.Ab(3),s.Kc(s.fc(10,20,"VO_DETAIL.APPLICATION.TABLE_STATE")),s.Ab(2),s.kc("value",e.state),s.Ab(2),s.Kc(s.fc(14,22,"VO_DETAIL.APPLICATION.SELECTION_ALL")),s.Ab(3),s.Kc(s.fc(17,24,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),s.Ab(3),s.Kc(s.fc(20,26,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),s.Ab(3),s.Kc(s.fc(23,28,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),s.Ab(3),s.Kc(s.fc(26,30,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),s.Ab(3),s.Kc(s.fc(29,32,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),s.Ab(2),s.kc("placeholder","VO_DETAIL.APPLICATION.FILTER"),s.Ab(1),s.kc("startDate",e.startDate)("endDate",e.endDate),s.Ab(2),s.kc("checked",e.checked),s.Ab(1),s.Lc(" ",s.fc(35,34,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[u.a,o.t,l.c,l.g,h.a,d.n,f.a,p.a,b.a,v.b,y.c,A.a,w.a],pipes:[_.d],styles:[""]}),t}()},Sy1n:function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n,r=i("sEIs"),a=i("EM62"),o=((n=function(){function t(e,i){g(this,t),this.router=e,this.routeReuseStrategy=i;var n=i;e.events.subscribe((function(t){t instanceof r.c&&n.setLastNavigationType("popstate"===t.navigationTrigger?"back":"direct")}))}return m(t,[{key:"init",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||n)(a.Wb(r.f),a.Wb(r.e))},n.\u0275prov=a.Ib({token:n,factory:n.\u0275fac,providedIn:"root"}),n),s=i("Ssnw"),c=i("3p4X"),u=i("vobO"),l=i("8clQ"),h=i("YSZu"),d=i("9RND"),f=i("xVbo"),p=i("OZ4H");function b(t,e){if(1&t&&(a.Sb(0,"div",3),a.Sb(1,"mat-icon"),a.Jc(2,"alert"),a.Rb(),a.Jc(3),a.Rb()),2&t){var i=a.dc();a.Ab(3),a.Lc(" ",i.warningMessage,"\n")}}var v=function(t,e){return{top:t,background:e}},y=function(t,e){return{"margin-top":t,"min-height":e}},A=function(t){return{"border-color":t}},w=function(t){return{background:t}},_=function(t,e){return{"min-height":t,"background-color":e}};function S(t,e){if(1&t&&(a.Nb(0,"app-perun-nav-menu",4),a.Sb(1,"mat-sidenav-container",5),a.Sb(2,"mat-sidenav",6,7),a.Sb(4,"perfect-scrollbar",8),a.Nb(5,"app-side-menu",9),a.Rb(),a.Rb(),a.Sb(6,"mat-sidenav-content",10),a.Sb(7,"div",11),a.Nb(8,"router-outlet"),a.Rb(),a.Sb(9,"div",12),a.Nb(10,"perun-web-apps-footer"),a.Rb(),a.Rb(),a.Rb()),2&t){var i=a.tc(3),n=a.dc();a.kc("ngStyle",a.qc(13,v,n.getNavMenuTop(),n.navBackgroundColor))("sideNav",i)("principal",n.principal),a.Ab(1),a.kc("ngStyle",a.qc(16,y,n.getSideNavMarginTop(),n.getSideNavMinHeight())),a.Ab(1),a.kc("ngStyle",a.pc(19,A,n.sideBarBorderColor))("mode",n.sidebarMode)("opened",!n.isMobile())("fixedInViewport",!0)("fixedTopGap",n.getTopGap()),a.Ab(2),a.kc("ngStyle",a.pc(21,w,n.sideMenubackgroundColor))("scrollIndicators",!0),a.Ab(1),a.kc("sideNav",i),a.Ab(1),a.kc("ngStyle",a.qc(23,_,n.getContentInnerMinHeight(),n.contentBackgroundColor))}}function k(t,e){1&t&&a.Nb(0,"perun-web-apps-login-screen-base",13),2&t&&a.kc("headerColorConfigLabel","nav_bg_color")("application","admin-gui")}var E,C=((E=function(){function t(e,i,n,r,a,o,s,c){g(this,t),this.cache=e,this.store=i,this.http=n,this.dialog=r,this.router=a,this.initAuth=o,this.auth=s,this.route=c,this.sidebarMode="side",this.navBackgroundColor=this.store.get("theme","nav_bg_color"),this.sideBarBorderColor=this.store.get("theme","sidemenu_border_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.sideMenubackgroundColor=this.store.get("theme","sidemenu_bg_color"),this.displayWarning=this.store.get("display_warning"),this.warningMessage=this.store.get("warning_message"),this.version=d.a,this.cache.init(),this.getScreenSize(null)}return m(t,[{key:"getScreenSize",value:function(t){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(),Object(c.a)(3e4).subscribe((function(){t.loadAppVersion()})),this.router.events.pipe(Object(f.a)((function(t){return t instanceof r.c}))).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 u.d({"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=Object(l.o)();t.dialog.open(h.a,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) + 0px)":"calc((100vh - 64px) + 0px)"}}]),t}()).minWidth=992,E.\u0275fac=function(t){return new(t||E)(a.Mb(o),a.Mb(s.m),a.Mb(u.b),a.Mb(p.b),a.Mb(r.f),a.Mb(s.i),a.Mb(s.d),a.Mb(r.a))},E.\u0275cmp=a.Gb({type:E,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&a.Zb("resize",(function(t){return e.getScreenSize(t)}),!1,a.wc)},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"],["id","content",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,"headerColorConfigLabel","application"]],template:function(t,e){1&t&&(a.Hc(0,b,4,1,"div",0),a.Nb(1,"perun-web-apps-notificator",1),a.Hc(2,S,11,26,"ng-template",2),a.Hc(3,k,1,2,"ng-template",2)),2&t&&(a.kc("ngIf",e.displayWarning),a.Ab(1),a.kc("displayWarning",e.displayWarning),a.Ab(1),a.kc("ngIf",!e.isLoginScreenShow),a.Ab(1),a.kc("ngIf",e.isLoginScreenShow))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#footer[_ngcontent-%COMP%]{position:absolute;height:200px;bottom:0;width:100%}@media (max-width:768px){#footer[_ngcontent-%COMP%]{height:450px}}#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)},TKFd:function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return h}));var n=i("5XID"),r=i("EM62"),a=i("IdLP"),o=i("ZTXN"),s=i("mWib"),c=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),u=function(){var t=function(){function t(e){g(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return m(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach((function(e,i){return t._cleanupObserver(i)}))}},{key:"observe",value:function(t){var e=this,i=Object(n.e)(t);return new a.a((function(t){var n=e._observeElement(i).subscribe(t);return function(){n.unsubscribe(),e._unobserveElement(i)}}))}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new o.a,i=this._mutationObserverFactory.create((function(t){return 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}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),i=e.observer,n=e.stream;i&&i.disconnect(),n.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Wb(c))},t.\u0275prov=Object(r.Ib)({factory:function(){return new t(Object(r.Wb)(c))},token:t,providedIn:"root"}),t}(),l=function(){var t=function(){function t(e,i,n){g(this,t),this._contentObserver=e,this._elementRef=i,this._ngZone=n,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}return m(t,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Object(s.a)(t.debounce)):e).subscribe(t.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(n.c)(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Object(n.f)(t),this._subscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(u),r.Mb(r.l),r.Mb(r.A))},t.\u0275dir=r.Hb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),h=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[c]}),t}()},TLy2:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var r=i("pBDD"),o=i("r9RI"),c=i("mW0F"),u=i("YtkY"),l=i("GoAz");function d(t,e){return"function"==typeof e?function(i){return i.pipe(d((function(i,n){return Object(l.a)(t(i,n)).pipe(Object(u.a)((function(t,r){return e(i,t,n,r)})))})))}:function(e){return e.lift(new f(t))}}var f=function(){function t(e){g(this,t),this.project=e}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new p(t,this.project))}}]),t}(),p=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).project=n,r.index=0,r}return m(i,[{key:"_next",value:function(t){var e,i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}},{key:"_innerSub",value:function(t,e,i){var n=this.innerSubscription;n&&n.unsubscribe();var r=new o.a(this,e,i),a=this.destination;a.add(r),this.innerSubscription=Object(c.a)(this,t,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}},{key:"_complete",value:function(){var t=this.innerSubscription;t&&!t.closed||n(h(i.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&n(h(i.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t,e,i,n,r){this.destination.next(e)}}]),i}(r.a)},"TQS+":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return l}));var n,r,a,o=i("EM62"),s=((n=function(){function t(e){g(this,t),this.elementRef=e}return m(t,[{key:"ngOnInit",value:function(){this.elementRef.nativeElement.focus()}}]),t}()).\u0275fac=function(t){return new(t||n)(o.Mb(o.l))},n.\u0275dir=o.Hb({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n),c=i("Ssnw"),u=((a=function(){function t(e,i){g(this,t),this.el=e,this.router=i}return m(t,[{key:"onClick",value:function(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}]),t}()).\u0275fac=function(t){return new(t||a)(o.Mb(o.l),o.Mb(c.g))},a.\u0275dir=o.Hb({type:a,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(t,e){1&t&&o.Zb("click",(function(){return e.onClick()}))},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),a),l=((r=function(){function t(){g(this,t)}return m(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}()).\u0275fac=function(t){return new(t||r)},r.\u0275dir=o.Hb({type:r,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&o.Zb("mouseup",(function(t){return e.onClick(t)}))},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),r)},TkCa:function(t,e,i){"use strict";i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return a})),i.d(e,"d",(function(){return o})),i.d(e,"a",(function(){return s})),i.d(e,"h",(function(){return c})),i.d(e,"g",(function(){return u})),i.d(e,"e",(function(){return l})),i.d(e,"f",(function(){return h}));var n=i("f7+R"),r=Object(n.n)("openClose",[Object(n.k)("open",Object(n.l)({overflow:"hidden"})),Object(n.k)("closed",Object(n.l)({height:"0px",overflow:"hidden"})),Object(n.m)("open <=> closed",[Object(n.e)(".3s ease-in")])]),a=Object(n.n)("flyInOut",[Object(n.m)(":enter",[Object(n.l)({transform:"translateX(100%)"}),Object(n.e)(".25s")]),Object(n.m)(":leave",[Object(n.e)(".5s",Object(n.l)({transform:"translateX(100%)"}))])]),o=Object(n.n)("rollInOut",[Object(n.m)(":enter",[Object(n.l)({height:"0px"}),Object(n.e)(".25s")]),Object(n.m)(":leave",[Object(n.e)(".25s",Object(n.l)({height:"0px"}))])]),s=Object(n.n)("routeAnimations",[Object(n.m)("* => *",[Object(n.l)({position:"relative"}),Object(n.i)(":enter",[Object(n.l)({width:"100%",opacity:0})],{optional:!0}),Object(n.i)(":leave",[Object(n.l)({position:"absolute",width:"100%",opacity:1}),Object(n.e)("0.15s",Object(n.l)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Object(n.i)(":enter",[Object(n.l)({position:"absolute",width:"100%",opacity:0}),Object(n.e)("0.15s",Object(n.l)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),c=Object(n.n)("tagsOpenClose",[Object(n.k)("open",Object(n.l)({})),Object(n.k)("closed",Object(n.l)({width:"0px",height:"0px"})),Object(n.m)("open <=> closed",[Object(n.e)(".3s ease-in")])]),u=Object(n.n)("switchAnimations",[Object(n.m)("true => false",[Object(n.i)(":enter, :leave",Object(n.l)({})),Object(n.g)([Object(n.i)(":enter",[Object(n.l)({transform:"translateX(-100%)"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(0%)"}))],{optional:!0}),Object(n.i)(":leave",[Object(n.l)({transform:"translateX(0%)",position:"absolute"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(100%)"}))],{optional:!0})])]),Object(n.m)("false => true",[Object(n.i)(":enter, :leave",Object(n.l)({})),Object(n.g)([Object(n.i)(":enter",[Object(n.l)({transform:"translateX(100%)"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(0%)"}))],{optional:!0}),Object(n.i)(":leave",[Object(n.l)({transform:"translateX(0%)",position:"absolute"}),Object(n.e)("1s ease-in-out",Object(n.l)({transform:"translateX(-100%)"}))],{optional:!0})])])]),l=Object(n.n)("slideInOutLeft",[Object(n.m)(":enter",[Object(n.l)({transform:"translateX(-100%)",position:"relative"}),Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(0%)"}))]),Object(n.m)(":leave",[Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(-100%)"}))])]),h=Object(n.n)("slideInOutRight",[Object(n.m)(":enter",[Object(n.l)({transform:"translateX(100%)",position:"fixed"}),Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(0%)"}))]),Object(n.m)(":leave",[Object(n.l)({transform:"translateX(-100%)",position:"relative"}),Object(n.e)("0.5s ease-in",Object(n.l)({transform:"translateX(100%)"}))])])},Tsqg:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("Ssnw"),a=i("nyAh"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("Y2X+"),d=i("csyo"),f=i("29Wa"),p=i("Cd2c"),b=i("H0K4"),v=i("nIj0");function y(t,e){1&t&&s.Nb(0,"mat-spinner",7)}function A(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",8),s.Sb(1,"div"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"mat-form-field"),s.Sb(5,"textarea",9),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().mailFooter=t})),s.Rb(),s.Rb(),s.Sb(6,"div",10),s.Jc(7),s.ec(8,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),": "),s.Ab(3),s.kc("cdkTextareaAutosize",!0)("ngModel",n.mailFooter),s.Ab(2),s.Kc(s.fc(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION"))}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.attributesManager=i,this.translateService=n,this.notificator=r,this.data=a,this.mailFooter="",this.loading=!1}return m(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,a.a.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,a.a.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)(s.Mb(n.i),s.Mb(o.c),s.Mb(c.e),s.Mb(r.l),s.Mb(n.a))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,y,1,0,"mat-spinner",1),s.Hc(5,A,9,8,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.cancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"div",5),s.ec(11,"translate"),s.Sb(12,"button",6),s.Zb("click",(function(){return e.submit()})),s.Jc(13),s.ec(14,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),s.Ab(2),s.lc("matTooltip",s.fc(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),s.kc("matTooltipDisabled",e.editAuth)("matTooltipPosition","above"),s.Ab(2),s.kc("disabled",e.loading||!e.editAuth),s.Ab(1),s.Lc(" ",s.fc(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[n.j,u.t,n.c,l.b,h.a,d.c,n.g,f.c,p.b,b.c,v.c,v.r,v.u],pipes:[c.d],styles:[""]}),t}()},U3ra:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("+0js"),a=i("8clQ"),o=i("EM62"),s=i("OZ4H"),c=i("nIj0"),u=i("2kYt"),l=i("Y2X+"),h=i("29Wa"),d=i("Cd2c"),f=i("PBFl"),p=i("bFHC");function b(t,e){if(1&t){var i=o.Tb();o.Sb(0,"button",15),o.Zb("click",(function(){o.xc(i);var t=o.dc().index;return o.dc().removeValue(t)})),o.Sb(1,"mat-icon"),o.Jc(2," indeterminate_check_box "),o.Rb(),o.Rb()}}function v(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div",9),o.Sb(1,"mat-form-field",10),o.Nb(2,"label",11),o.Sb(3,"input",12),o.Zb("click",(function(){o.xc(i);var t=e.index,n=o.dc();return n.readonly&&n.attribute.displayName&&n.showValue(n.keys[t],n.attribute.displayName)}))("ngModelChange",(function(t){o.xc(i);var n=e.index;return o.dc().keys[n]=t})),o.Rb(),o.Rb(),o.Sb(4,"mat-form-field",10),o.Nb(5,"label",11),o.Sb(6,"input",13),o.Zb("click",(function(){o.xc(i);var t=e.$implicit,n=o.dc();return n.readonly&&void 0!==n.attribute.displayName&&n.showValue(t,n.attribute.displayName)}))("ngModelChange",(function(t){o.xc(i);var n=e.index;return o.dc().values[n]=t})),o.Rb(),o.Rb(),o.Hc(7,b,3,0,"button",14),o.Rb()}if(2&t){var n=e.index,r=o.dc();o.Ab(1),o.lc("appearance",r.readonly?"none":"standard"),o.Ab(1),o.nc("for","",r.attribute.id,"-key-",n,""),o.Ab(1),o.Eb("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),o.nc("id","",r.attribute.id,"-key-",n,""),o.mc("name","key-",n,""),o.kc("ngModel",r.keys[n])("readonly",r.readonly),o.Ab(1),o.lc("appearance",r.readonly?"none":"standard"),o.Ab(1),o.nc("for","",r.attribute.id,"-value-",n,""),o.Ab(1),o.Eb("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),o.mc("name","value-",n,""),o.nc("id","",r.attribute.id,"-value-",n,""),o.kc("readonly",r.readonly)("ngModel",r.values[n]),o.Ab(1),o.kc("ngIf",!r.readonly)}}function y(t,e){1&t&&(o.Sb(0,"mat-icon"),o.Jc(1,"more_horiz"),o.Rb())}function A(t,e){1&t&&(o.Sb(0,"mat-icon"),o.Jc(1,"keyboard_arrow_up"),o.Rb())}function w(t,e){if(1&t){var i=o.Tb();o.Sb(0,"button",16),o.Zb("click",(function(){return o.xc(i),o.dc().onShowChange()})),o.Hc(1,y,2,0,"mat-icon",17),o.Hc(2,A,2,0,"mat-icon",17),o.Rb()}if(2&t){var n=o.dc();o.Ab(1),o.kc("ngIf",!n.showMore),o.Ab(1),o.kc("ngIf",n.showMore)}}function _(t,e){if(1&t){var i=o.Tb();o.Sb(0,"button",18),o.Zb("click",(function(){return o.xc(i),o.dc().addValue()})),o.Sb(1,"mat-icon"),o.Jc(2," add_box "),o.Rb(),o.Rb()}}var S=function(){var t=function(){function t(e){g(this,t),this.dialog=e,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}return m(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),o.Ab(1),o.kc("ngIf",!e.readonly))},directives:[c.H,c.s,c.t,u.s,l.a,u.t,h.c,d.b,c.c,c.C,c.r,c.u,f.b,p.a],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}()},"UX+r":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("EM62"),r=i("8clQ"),a=i("+0js"),o=i("OZ4H"),s=i("29Wa"),c=i("Cd2c"),u=i("nIj0"),l=function(){var t=function(){function t(e){g(this,t),this.dialog=e,this.readonly=!1,this.sendEventToParent=new n.o}return m(t,[{key:"ngOnInit",value:function(){this.value=this.attribute.value,this.readonly||(this.readonly=Object(r.s)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(t,e){var i=Object(r.o)();i.width="350px",i.data={value:t,title:e},this.dialog.open(a.n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(o.b))},t.\u0275cmp=n.Gb({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.Sb(0,"mat-form-field",0),n.Sb(1,"input",1),n.Zb("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.Rb(),n.Rb()),2&t&&(n.lc("appearance",e.readonly?"none":"standard"),n.Ab(1),n.Eb("cursor-pointer",e.readonly&&void 0!==e.value),n.kc("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[s.c,c.b,u.c,u.r,u.u],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t}()},V78E:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("JjRu"),l=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(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.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(o.m))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-remove-resource-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","disableForce","deleted"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"app-delete-entity-dialog",0),s.Zb("deleted",(function(t){return e.onSubmit(t)})),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(1),s.kc("entityNames",e.dataSource)("entityType","resources")("disableForce",!0))},directives:[u.a],styles:[""]}),t}()},VBdk:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),r=i("OZ4H"),a=i("s2Ay"),o=function(){var t=function t(e){g(this,t),this.dialogRef=e};return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.i))},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"h2",0),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[r.g],pipes:[a.d],styles:[""]}),t}()},VEwN:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("cqs0"),s=i("iyZ4"),c=i("EM62"),u=i("s2Ay"),l=i("2kYt"),h=i("PBFl"),f=i("Y2X+"),p=i("csyo"),b=i("pynj"),v=i("K9kF");function y(t,e){1&t&&c.Nb(0,"mat-spinner",6)}var A=function(){return["recent","vo","expiration","menu"]};function w(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div",7),c.Sb(1,"perun-web-apps-debounce-filter",8),c.Zb("filter",(function(t){return c.xc(i),c.dc().applyFilter(t)})),c.ec(2,"translate"),c.Rb(),c.Sb(3,"perun-web-apps-groups-list",9),c.Zb("page",(function(t){return c.xc(i),c.dc().pageChanged(t)})),c.Rb(),c.Rb()}if(2&t){var n=c.dc();c.Ab(1),c.lc("placeholder",c.fc(2,8,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),c.Ab(2),c.kc("pageSize",n.pageSize)("groups",n.unAssignedGroups)("selection",n.selection)("filter",n.filterValue)("hideColumns",c.oc(10,A))("disableRouting",!0)("disableMembers",!1)}}var _=function(){var t=function(){function t(e,i,n,r,a,c,u,l){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourceManager=a,this.tableConfigService=c,this.groupService=u,this.guiAuthResolver=l,this.loading=!1,this.checkGroups=!1,this.selection=new o.c(!0,[]),this.filterValue="",this.tableId=s.p}return m(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(e){t.groupService.getAllGroups(t.resource.voId).subscribe((function(i){t.unAssignedGroups=i;var n,r=d(e);try{for(r.s();!(n=r.n()).done;){var a,o=n.value,s=d(i);try{for(s.s();!(a=s.n()).done;){var c=a.value;o.id===c.id&&t.unAssignedGroups.splice(t.unAssignedGroups.indexOf(c),1)}}catch(u){s.e(u)}finally{s.f()}}}catch(u){r.e(u)}finally{r.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 e,i=[],n=d(this.selection.selected);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.push(r.id)}}catch(a){n.e(a)}finally{n.f()}this.resourceManager.assignGroupsToResource(i,this.resource.id).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(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"canAddGroups",value:function(){var t=this,e=!0;return this.selection.selected.forEach((function(i){t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[t.resource,i])||(e=!1)})),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.i),c.Mb(n.a),c.Mb(r.l),c.Mb(u.e),c.Mb(a.m),c.Mb(s.pb),c.Mb(a.h),c.Mb(r.h))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],decls:14,vars:19,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","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","hideColumns","disableRouting","disableMembers","page"]],template:function(t,e){1&t&&(c.Sb(0,"div"),c.Sb(1,"h1",0),c.Jc(2),c.ec(3,"translate"),c.Rb(),c.Hc(4,y,1,0,"mat-spinner",1),c.Hc(5,w,4,11,"div",2),c.Sb(6,"div",3),c.Sb(7,"button",4),c.Zb("click",(function(){return e.onCancel()})),c.Jc(8),c.ec(9,"translate"),c.Rb(),c.Sb(10,"button",5),c.Zb("click",(function(){return e.onAdd()})),c.ec(11,"translate"),c.Jc(12),c.ec(13,"translate"),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.Cb(e.theme),c.Ab(2),c.Kc(c.fc(3,11,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),c.Ab(2),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading),c.Ab(3),c.Lc(" ",c.fc(9,13,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),c.Ab(2),c.lc("matTooltip",c.fc(11,15,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_TOOLTIP")),c.kc("disabled",0===e.selection.selected.length||!e.canAddGroups()||e.loading)("matTooltipDisabled",e.canAddGroups()),c.Ab(2),c.Lc(" ",c.fc(13,17,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))},directives:[n.j,l.t,n.c,h.b,f.a,p.c,n.g,b.a,v.a],pipes:[u.d],styles:[""]}),t}()},VFai:function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("4sdY"),r=i("X2Q7"),a=i("8clQ"),o=i("iyZ4"),s=i("cqs0"),c=i("AtkZ"),u=i("49Zq"),l=i("EM62"),h=i("OZ4H"),d=i("EtYo"),f=i("bFHC"),p=i("2kYt"),b=i("0XDM"),v=i("PBFl"),y=i("A8Ay"),A=i("csyo"),w=i("w+DT"),_=i("s2Ay");function S(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-refresh-button",9),l.Zb("refresh",(function(){return l.xc(i),l.dc().refreshTable()})),l.Rb()}}function k(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",10),l.Zb("click",(function(){return l.xc(i),l.dc().onCreate()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Kc(l.fc(2,1,"FACILITY_MANAGEMENT.CREATE")))}function E(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",11),l.Zb("click",(function(){return l.xc(i),l.dc().onDelete()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}if(2&t){var n=l.dc();l.kc("disabled",0===n.selection.selected.length),l.Ab(1),l.Kc(l.fc(2,2,"FACILITY_MANAGEMENT.DELETE"))}}function C(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-immediate-filter",12),l.Zb("filter",(function(t){return l.xc(i),l.dc().applyFilter(t)})),l.Rb()}2&t&&l.kc("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER")}function R(t,e){1&t&&l.Nb(0,"mat-spinner",13)}function T(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-facilities-list",14),l.Zb("page",(function(t){return l.xc(i),l.dc().pageChanged(t)})),l.Rb()}if(2&t){var n=l.dc();l.kc("pageSize",n.pageSize)("selection",n.selection)("filterValue",n.filterValue)("facilities",n.facilities)("recentIds",n.recentIds)}}var I=function(){return{color:"black"}},O=function(){var t=function(){function t(e,i,n,r){g(this,t),this.facilityManager=e,this.sideMenuService=i,this.tableConfigService=n,this.dialog=r,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=o.B,this.selection=new s.c(!1,[])}return m(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=Object(a.r)("facilities"),t.loading=!1}))}},{key:"onCreate",value:function(){var t=this,e=Object(a.o)();e.width="800px",e.data={theme:"facility-theme"},this.dialog.open(c.a,e).afterClosed().subscribe((function(e){e&&(t.loading=!0,t.refreshTable())}))}},{key:"onDelete",value:function(){var t=this,e=Object(a.o)();e.width="500px",e.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(u.a,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.Mb(r.g),l.Mb(n.a),l.Mb(o.pb),l.Mb(h.b))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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.Sb(0,"div",0),l.Nb(1,"perun-web-apps-back-button"),l.Sb(2,"h1",1),l.Nb(3,"mat-icon",2),l.Jc(4),l.ec(5,"translate"),l.Rb(),l.Hc(6,S,1,0,"perun-web-apps-refresh-button",3),l.Hc(7,k,3,3,"button",4),l.Hc(8,E,3,4,"button",5),l.Hc(9,C,1,2,"perun-web-apps-immediate-filter",6),l.Hc(10,R,1,0,"mat-spinner",7),l.Hc(11,T,1,5,"perun-web-apps-facilities-list",8),l.Rb()),2&t&&(l.Ab(3),l.kc("ngStyle",l.oc(10,I)),l.Ab(1),l.Lc(" ",l.fc(5,8,"FACILITY_MANAGEMENT.TITLE")," "),l.Ab(2),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading))},directives:[d.a,f.a,p.w,p.t,b.a,v.b,y.a,A.c,w.a],pipes:[_.d],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t}()},VMyb:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62"),r=i("OZ4H"),a=i("PBFl"),o=i("s2Ay"),s=function(){var t=function(){function t(e){g(this,t),this.dialogRef=e}return m(t,[{key:"ngOnInit",value:function(){}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"submit",value:function(){this.dialogRef.close(!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.i))},t.\u0275cmp=n.Gb({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.Sb(0,"h1",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Sb(3,"div",1),n.Sb(4,"div",2),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Sb(7,"div"),n.Jc(8),n.ec(9,"translate"),n.Rb(),n.Sb(10,"div",3),n.Jc(11),n.ec(12,"translate"),n.Rb(),n.Rb(),n.Sb(13,"div",4),n.Sb(14,"button",5),n.Zb("click",(function(){return e.onCancel()})),n.Jc(15),n.ec(16,"translate"),n.Rb(),n.Sb(17,"button",6),n.Zb("click",(function(){return e.submit()})),n.Jc(18),n.ec(19,"translate"),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),n.Ab(4),n.Kc(n.fc(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")),n.Ab(3),n.Kc(n.fc(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),n.Ab(3),n.Kc(n.fc(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),n.Ab(4),n.Lc(" ",n.fc(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),n.Ab(3),n.Lc(" ",n.fc(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[r.j,r.g,r.c,a.b],pipes:[o.d],styles:[""]}),t}()},VYu3:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),r=i("FcRk"),a=i("qvOF"),o=i("wBUr"),s=i("s2Ay"),c=function(){var t=function(){function t(){g(this,t),this.addedTag=new n.o,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}return m(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"]),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=n.Gb({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&&(n.Sb(0,"app-alert",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Sb(3,"div",1),n.Sb(4,"div",2),n.Jc(5),n.ec(6,"translate"),n.Rb(),n.Sb(7,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(8,"div",4),n.Jc(9),n.ec(10,"translate"),n.Rb(),n.Sb(11,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(12,"div",4),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Sb(15,"div",5),n.Jc(16),n.ec(17,"translate"),n.Rb(),n.Sb(18,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(19,"div",4),n.Jc(20),n.ec(21,"translate"),n.Rb(),n.Sb(22,"div",5),n.Jc(23),n.ec(24,"translate"),n.Rb(),n.Sb(25,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(26,"div",4),n.Jc(27),n.ec(28,"translate"),n.Rb(),n.Sb(29,"div",5),n.Jc(30),n.ec(31,"translate"),n.Rb(),n.Sb(32,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(33,"div",4),n.Jc(34),n.ec(35,"translate"),n.Rb(),n.Sb(36,"div",5),n.Jc(37),n.ec(38,"translate"),n.Rb(),n.Sb(39,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Sb(40,"div",4),n.Jc(41),n.ec(42,"translate"),n.Rb(),n.Sb(43,"div",5),n.Jc(44),n.ec(45,"translate"),n.Rb(),n.Sb(46,"app-tag-section",3),n.Zb("addedTag",(function(t){return e.addTag(t)})),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),n.Ab(4),n.Lc("",n.fc(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),":"),n.Ab(2),n.kc("tags",e.applicationRelatedTags),n.Ab(2),n.Lc("",n.fc(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),":"),n.Ab(2),n.kc("tags",e.userRelatedTags),n.Ab(2),n.Lc("",n.fc(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.validationLinksUsersTags),n.Ab(2),n.Lc("",n.fc(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.applicationLinksUsersTags),n.Ab(2),n.Lc("",n.fc(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.applicationLinksAdministratorsTags),n.Ab(2),n.Lc("",n.fc(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.perunLinksAdministratorsTags),n.Ab(2),n.Lc("",n.fc(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),":"),n.Ab(3),n.Lc(" ",n.fc(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),n.Ab(2),n.kc("tags",e.userInvitationsTags))},directives:[r.a,a.b,o.a],pipes:[s.d],styles:[".scrollable[_ngcontent-%COMP%]{height:380px;overflow:auto}"]}),t}()},VvXq:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var r=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t,n)).scheduler=t,r.work=n,r}return m(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("EWqr").a),o=new(function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(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 visible",Object(f.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(f.m)("* => void, * => hidden",Object(f.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(f.l)({opacity:0})))])},y=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this))._ngZone=t,o._elementRef=n,o._changeDetectorRef=r,o.snackBarConfig=a,o._destroyed=!1,o._onExit=new h.a,o._onEnter=new h.a,o._animationState="void",o.attachDomPortal=function(t){return o._assertNotAttached(),o._applySnackBarClasses(),o._portalOutlet.attachDomPortal(t)},o._role="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?null:"status":"alert",o}return m(i,[{key:"attachComponentPortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}},{key:"onAnimationEnd",value:function(t){var e=t.fromState,i=t.toState;if(("void"===i&&"void"!==e||"hidden"===i)&&this._completeExit(),"visible"===i){var n=this._onEnter;this._ngZone.run((function(){n.next(),n.complete()}))}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(d.a)(1)).subscribe((function(){t._onExit.next(),t._onExit.complete()}))}},{key:"_applySnackBarClasses",value:function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach((function(e){return t.classList.add(e)})):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}]),i}(r.a);return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.A),c.Mb(c.l),c.Mb(c.h),c.Mb(b))},t.\u0275cmp=c.Gb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var i;1&t&&c.Dc(r.c,!0),2&t&&c.sc(i=c.ac())&&(e._portalOutlet=i.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(t,e){1&t&&c.Fc("@state.done",(function(t){return e.onAnimationEnd(t)})),2&t&&(c.Bb("role",e._role),c.Gc("@state",e._animationState))},features:[c.xb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&c.Hc(0,p,0,0,"ng-template",0)},directives:[r.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[v.snackBarState]}}),t}(),A=function(){var t=function t(){g(this,t)};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[n.f,r.i,o.c,l.c,u.i],u.i]}),t}()},"W5/Z":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("Ssnw"),r=i("EM62"),a=i("s2Ay"),o=function(){var t=function(){function t(e,i){g(this,t),this.translate=e,this.storage=i}return m(t,[{key:"transform",value:function(t,e){var i=this.storage.get("custom_labels");if(i)for(var n=0,r=Object.keys(i);n0&&void 0!==arguments[0]?arguments[0]:{};g(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 m(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}(),P=((S=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({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 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(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 T.e({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 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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 T.e({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 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(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(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,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 T.e({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!=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 b=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==b&&(p=p.set("Accept",b)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttribute/any",{params:f,withCredentials:this.configuration.withCredentials,headers:p,observe:h,reportProgress:d})}},{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 T.e({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 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(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 T.e({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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("format",t)),null!=e&&(r=r.set("attrName",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(this.configuration.basePath+"/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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,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 T.e({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!=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(this.configuration.basePath+"/urlinjsonout/attributesManager/getAttributesDefinitionWithRights",{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:c,reportProgress:u})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("key",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-entityless",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("attrName",t)),e&&e.forEach((function(t){r=r.append("keys[]",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(this.configuration.basePath+"/json/attributesManager/getEntitylessAttributesWithKeys",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-facility",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-facility",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/f-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getFacilityResourceUserMemberAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/json/attributesManager/getAttributes/f-u",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-group",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-group",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/g-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("attributeId",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-group-resource",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("attributeName",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-group-resource",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/json/attributesManager/getAttributes/group-resource",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-host",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-host",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("host",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/h-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("workWithUserAttributes",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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-wu",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),e&&e.forEach((function(t){a=a.append("attrNames[]",t)})),null!=i&&(a=a.set("workWithUserAttributes",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-names-wu",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-member",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-member",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getMemberGroupAndUserAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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)})),null!=n&&(o=o.set("workWithUserAttributes",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(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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("attributeId",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-member-group",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("attributeName",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-member-group",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-g",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({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)}));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-g-names",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("workWithUserAttributes",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-r-wu",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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("attrNames[]",t)})),null!=n&&(o=o.set("workWithUserAttributes",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(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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("attributeId",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-member-resource",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("attributeName",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-member-resource",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/json/attributesManager/getAttributes/m-r",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/s-f",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("services[]",t)})),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/ss-f",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("group",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/s-r-g",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("host",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/s-h",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("workWithUserAttributes",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/m",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("workWithUserAttributes",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/m-g",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getRequiredAttributesMemberGroupResourceService",value:function(t,e,i,n,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==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 s=new T.e({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.set("group",i)),null!=n&&(s=s.set("member",n)),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(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(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("workWithUserAttributes",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/m-r",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getRequiredAttributesMemberResourceService",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(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(t){var e=arguments.length>1&&void 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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/s-r",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("services[]",t)})),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/ss-r",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/u-f",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("vo",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(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/s-v",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-resource",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-resource",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/r-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("workWithGroupAttributes",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttributes/r-g-wg",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getResourceGroupAndGroupAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach((function(t){o=o.append("attrNames[]",t)})),null!=n&&(o=o.set("workWithGroupAttributes",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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/json/attributesManager/getAttributes/r-g",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getResourceGroupMemberAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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((function(t){o=o.append("attrNames[]",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.get(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-user",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-user",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/u-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-ues",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-ues",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/ues-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("attributeId",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-user_facility",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("attributeName",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-user_facility",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/attributesManager/getAttributes/user-facility",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/json/attributesManager/getAttribute/id-vo",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attributeName",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(this.configuration.basePath+"/json/attributesManager/getAttribute/name-vo",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/attributesManager/getAttributes/vo-names",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"removeAttributesForFacilityResourceGroupUserMember",value:function(t,e,i,n,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==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==a)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");var c=new T.e({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)),a&&a.forEach((function(t){c=c.append("attributes[]",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(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(t,e,i,n,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==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 s=new T.e({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.set("user",i)),null!=n&&(s=s.set("member",n)),r&&r.forEach((function(t){s=s.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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("key",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/e",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/f",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/f",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("attribute",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/g-r",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({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)}));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/g-r",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"removeGroupResourceAttributesWorkWithGroupAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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)})),null!=n&&(o=o.set("workWithGroupAttributes",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.post(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/h",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("host",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/h",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/m",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/m",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),e&&e.forEach((function(t){a=a.append("attributes[]",t)})),null!=i&&(a=a.set("workWithUserAttributes",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("attribute",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/m-g",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({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)}));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/m-g",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttributesWorkWithUserAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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)})),null!=n&&(o=o.set("workWithUserAttributes",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.post(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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("attribute",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/m-r",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({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("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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/m-r",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/r",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/r",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/ues",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/ues",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("attribute",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/u-f",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("facility",e)),i&&i.forEach((function(t){a=a.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/u-f",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attribute",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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttribute/v",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/attributesManager/removeAttributes/v",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||S)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},S.\u0275prov=O.Ib({token:S,factory:S.\u0275fac,providedIn:"root"}),S),x=((_=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({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 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(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 T.e({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 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(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(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(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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("consumerName",t)),null!=e&&(r=r.set("lastProcessedId",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(this.configuration.basePath+"/urlinjsonout/AuditMessagesManager/setLastProcessedId",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}}]),t}()).\u0275fac=function(t){return new(t||_)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},_.\u0275prov=O.Ib({token:_,factory:_.\u0275fac,providedIn:"root"}),_),N=((w=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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(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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("role",t)),null!=e&&(a=a.set("complementaryObjectId",e)),null!=i&&(a=a.set("complementaryObjectName",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/authzResolver/getAdminGroups",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getAuthzRichAdmins",value:function(t,e,i,n,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==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 T.e({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!=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(this.configuration.basePath+"/json/authzResolver/getRichAdmins",{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{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 T.e({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach((function(t){r=r.append("roles[]",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(this.configuration.basePath+"/json/authzResolver/getFacilitiesWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach((function(t){r=r.append("roles[]",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(this.configuration.basePath+"/json/authzResolver/getGroupsWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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 T.e({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach((function(t){r=r.append("roles[]",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(this.configuration.basePath+"/json/authzResolver/getMembersWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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(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 T.e({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach((function(t){r=r.append("roles[]",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(this.configuration.basePath+"/json/authzResolver/getResourcesWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach((function(t){r=r.append("roles[]",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(this.configuration.basePath+"/json/authzResolver/getSecurityTeamsWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach((function(t){r=r.append("roles[]",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(this.configuration.basePath+"/json/authzResolver/getVosWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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(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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||w)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},w.\u0275prov=O.Ib({token:w,factory:w.\u0275fac,providedIn:"root"}),w),L=((A=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("publicationId",t)),null!=e&&(r=r.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 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(this.configuration.basePath+"/urlinjsonout/cabinetManager/deleteAuthorship",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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",a=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 o=new T.e({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));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(this.configuration.basePath+"/json/cabinetManager/findExternalPublications",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({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 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(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 T.e({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 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(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 a=new T.e({encoder:this.encoder});null!=e&&(a=a.set("yearSince",e)),null!=i&&(a=a.set("yearTill",i)),null!=t&&(a=a.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 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(this.configuration.basePath+"/json/cabinetManager/findPublicationsByFilter",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"findPublicationsByGUIFilter",value:function(t,e,i,n,r,a,o,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"body",l=arguments.length>10&&void 0!==arguments[10]&&arguments[10],h=new T.e({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!=r&&(h=h.set("year",r)),null!=a&&(h=h.set("category",a)),null!=o&&(h=h.set("yearSince",o)),null!=s&&(h=h.set("yearTill",s)),null!=c&&(h=h.set("userId",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(this.configuration.basePath+"/json/cabinetManager/findPublicationsByGUIFilter",{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:u,reportProgress:l})}},{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],a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("title",t)),null!=e&&(a=a.set("doi",e)),null!=i&&(a=a.set("isbn",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/cabinetManager/findSimilarPublications",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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(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(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 T.e({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 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(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 T.e({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 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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||A)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},A.\u0275prov=O.Ib({token:A,factory:A.\u0275fac,providedIn:"root"}),A),F=((y=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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(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(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(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(this.configuration.basePath+"/json/databaseManager/getTimeOfQueryPerformance",{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}]),t}()).\u0275fac=function(t){return new(t||y)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},y.\u0275prov=O.Ib({token:y,factory:y.\u0275fac,providedIn:"root"}),y),z=((v=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("source",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(this.configuration.basePath+"/urlinjsonout/extSourcesManager/addExtSource/g-s",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("source",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(this.configuration.basePath+"/urlinjsonout/extSourcesManager/addExtSource/v-s",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("type",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(this.configuration.basePath+"/urlinjsonout/extSourcesManager/createExtSource/n-t",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("source",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(this.configuration.basePath+"/urlinjsonout/extSourcesManager/removeExtSource/g-s",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("source",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(this.configuration.basePath+"/urlinjsonout/extSourcesManager/removeExtSource/v-s",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}}]),t}()).\u0275fac=function(t){return new(t||v)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},v.\u0275prov=O.Ib({token:v,factory:v.\u0275fac,providedIn:"root"}),v),H=((b=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addAdmin/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addAdmin/group/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addAdmin/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addAdmin/user/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"addFacilityContact",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAddFacilityContact was null or undefined when calling addFacilityContact.");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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(this.configuration.basePath+"/json/facilitiesManager/addFacilityContact",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"addFacilityContacts",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAddFacilityContacts was null or undefined when calling addFacilityContacts.");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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(this.configuration.basePath+"/json/facilitiesManager/addFacilityContacts",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addOwner/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addOwner/f-o-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addOwner/o-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("hostname",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addHost",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("hostname",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addHost/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.append("hostnames[]",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addHosts",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.append("hostnames[]",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/addHosts/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/assignSecurityTeam",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyAttributes",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacilityName",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyAttributes/dest-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacilityName",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyAttributes/src-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyManagers",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacilityName",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyManagers/dest-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacilityName",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyManagers/src-dest-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyManagers/src-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyOwners",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacilityName",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyOwners/dest-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacilityName",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyOwners/src-dest-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/copyOwners/src-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/createFacility",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("force",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/deleteFacility",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/deleteFacility/f-name",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllContactGroupNames",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(this.configuration.basePath+"/json/facilitiesManager/getAllContactGroupNames",{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("vo",e)),null!=i&&(a=a.set("service",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/facilitiesManager/getAllowedGroups",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("vo",e)),null!=i&&(a=a.set("service",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/facilitiesManager/getAllowedGroups/f-name",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getAllowedRichGroupsWithAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach((function(t){o=o.append("attrNames[]",t)})),null!=i&&(o=o.set("vo",i)),null!=n&&(o=o.set("service",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(this.configuration.basePath+"/json/facilitiesManager/getAllowedRichGroupsWithAttributes",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getAllowedRichGroupsWithAttributesByFacilityName",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach((function(t){o=o.append("attrNames[]",t)})),null!=i&&(o=o.set("vo",i)),null!=n&&(o=o.set("service",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(this.configuration.basePath+"/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("vo",e)),null!=i&&(a=a.set("service",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/facilitiesManager/getAllowedUsers/v-f-s",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("vo",e)),null!=i&&(a=a.set("service",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/facilitiesManager/getAllowedUsers/v-f-s/f-name",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/json/facilitiesManager/getAssignedResourcesByAssignedService",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/json/facilitiesManager/getAssignedUsers",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/json/facilitiesManager/getAssignedUsers/f-name",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/facilitiesManager/getEnrichedHosts",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("attributeName",t)),null!=e&&(r=r.set("attributeValue",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(this.configuration.basePath+"/json/facilitiesManager/getFacilitiesByAttribute",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("onlyDirectAdmins",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(this.configuration.basePath+"/json/facilitiesManager/getAdmins",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("onlyDirectAdmins",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(this.configuration.basePath+"/json/facilitiesManager/getAdmins/f-name",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/facilitiesManager/getBan",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getFacilityByName",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityContactGroup",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 getFacilityContactGroup.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityContactGroup.");var r=new T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("name",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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroup",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getFacilityContactGroupByFacilityName",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 getFacilityContactGroupByFacilityName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityContactGroupByFacilityName.");var r=new T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("name",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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroup/f-name",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getFacilityContactGroupsForFacility",value:function(t){var e=arguments.length>1&&void 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 getFacilityContactGroupsForFacility.");var n=new T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroups/facility",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityContactGroupsForFacilityByFacilityName",value:function(t){var e=arguments.length>1&&void 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 getFacilityContactGroupsForFacilityByFacilityName.");var n=new T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroups/facility/f-name",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityContactGroupsForGroup",value:function(t){var e=arguments.length>1&&void 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 getFacilityContactGroupsForGroup.");var n=new T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroups/group",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityContactGroupsForOwner",value:function(t){var e=arguments.length>1&&void 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 getFacilityContactGroupsForOwner.");var n=new T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroups/owner",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityContactGroupsForUser",value:function(t){var e=arguments.length>1&&void 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 getFacilityContactGroupsForUser.");var n=new T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getFacilityContactGroups/user",{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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeAdmin/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeAdmin/group/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeAdmin/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeAdmin/user/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeBan/byId",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeFacilityContact",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputRemoveFacilityContact was null or undefined when calling removeFacilityContact.");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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(this.configuration.basePath+"/json/facilitiesManager/removeFacilityContact",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"removeFacilityContacts",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputRemoveFacilityContacts was null or undefined when calling removeFacilityContacts.");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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(this.configuration.basePath+"/json/facilitiesManager/removeFacilityContacts",t,{withCredentials:this.configuration.withCredentials,headers:n,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeOwner/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeOwner/f-o-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeOwner/o-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.append("hosts[]",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeHosts",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.append("hosts[]",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeHosts/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeSecurityTeam",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",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(this.configuration.basePath+"/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||b)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},b.\u0275prov=O.Ib({token:b,factory:b.\u0275fac,providedIn:"root"}),b),B=((p=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({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 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(this.configuration.basePath+"/json/facilitiesManager/getAdminGroups/f-name",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}()).\u0275fac=function(t){return new(t||p)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},p.\u0275prov=O.Ib({token:p,factory:p.\u0275fac,providedIn:"root"}),p),j=((f=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("groups[]",t)})),null!=e&&(r=r.set("member",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(this.configuration.basePath+"/urlinjsonout/groupsManager/addMember",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.append("members[]",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(this.configuration.basePath+"/urlinjsonout/groupsManager/addMembers",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resultGroup",t)),null!=e&&(r=r.set("operandGroup",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(this.configuration.basePath+"/urlinjsonout/groupsManager/createGroupUnion",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("parentGroup",t)),null!=e&&(a=a.set("name",e)),null!=i&&(a=a.set("description",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/groupsManager/createGroup/pg-n-d",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("name",e)),null!=i&&(a=a.set("description",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/groupsManager/createGroup/v-n-d",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("force",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(this.configuration.basePath+"/urlinjsonout/groupsManager/deleteGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("groups[]",t)})),null!=e&&(r=r.set("forceDelete",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(this.configuration.basePath+"/urlinjsonout/groupsManager/deleteGroups",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/groupsManager/getAllRichGroupsWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/groupsManager/getAllRichSubGroupsWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",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(this.configuration.basePath+"/json/groupsManager/getGroupByName",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(this.configuration.basePath+"/json/groupsManager/getGroupMembersCountsByVoStatus",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("reverseDirection",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(this.configuration.basePath+"/json/groupsManager/getGroupUnions",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/json/groupsManager/getIndirectMembershipPaths",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/groupsManager/getMemberRichGroupsWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("groupId",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/groupsManager/getRichGroupByIdWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/json/groupsManager/isGroupMember",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=e&&(r=r.set("destinationGroup",e)),null!=t&&(r=r.set("movingGroup",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(this.configuration.basePath+"/urlinjsonout/groupsManager/moveGroup/dg-mg",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resultGroup",t)),null!=e&&(r=r.set("operandGroup",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(this.configuration.basePath+"/urlinjsonout/groupsManager/removeGroupUnion",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("groups[]",t)})),null!=e&&(r=r.set("member",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(this.configuration.basePath+"/urlinjsonout/groupsManager/removeMember",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.append("members[]",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(this.configuration.basePath+"/urlinjsonout/groupsManager/removeMembers",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||f)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},f.\u0275prov=O.Ib({token:f,factory:f.\u0275fac,providedIn:"root"}),f),G=((d=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(t,[{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 T.e({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 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(this.configuration.basePath+"/urlinjsonout/membersManager/deleteMembers",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 a=new T.e({encoder:this.encoder});t&&t.forEach((function(t){a=a.append("attrsNames[]",t)})),null!=e&&(a=a.set("searchString",e)),i&&i.forEach((function(t){a=a.append("allowedStatuses[]",t)}));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/membersManager/findCompleteRichMembers/attrs",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"findCompleteRichMembersForGroup",value:function(t,e,i,n,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==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 T.e({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)})),a&&a.forEach((function(t){c=c.append("allowedGroupStatuses[]",t)})),null!=i&&(c=c.set("searchString",i)),null!=n&&(c=c.set("lookingInParentGroup",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 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(this.configuration.basePath+"/json/membersManager/findCompleteRichMembers/g",{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{key:"findCompleteRichMembersForVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach((function(t){o=o.append("attrsNames[]",t)})),n&&n.forEach((function(t){o=o.append("allowedStatuses[]",t)})),null!=i&&(o=o.set("searchString",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(this.configuration.basePath+"/json/membersManager/findCompleteRichMembers/v",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("searchString",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(this.configuration.basePath+"/json/membersManager/findMembersInVo",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"findSponsoredCompleteRichMembersForVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach((function(t){o=o.append("attrsNames[]",t)})),null!=i&&(o=o.set("searchString",i)),null!=n&&(o=o.set("onlySponsored",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(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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/membersManager/getAllSponsoredMembersAndTheirSponsors",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getCompleteRichMembersForGroup",value:function(t,e,i,n,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==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 s=new T.e({encoder:this.encoder});null!=t&&(s=s.set("group",t)),i&&i.forEach((function(t){s=s.append("allowedStatuses[]",t)})),n&&n.forEach((function(t){s=s.append("allowedGroupStatuses[]",t)})),null!=e&&(s=s.set("lookingInParentGroup",e)),r&&r.forEach((function(t){s=s.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 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(this.configuration.basePath+"/json/membersManager/getCompleteRichMembers/g",{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"getCompleteRichMembersForGroupResource",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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("attrsNames[]",t)})),n&&n.forEach((function(t){o=o.append("allowedStatuses[]",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.get(this.configuration.basePath+"/json/membersManager/getCompleteRichMembers/g-r",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach((function(t){a=a.append("allowedStatuses[]",t)})),i&&i.forEach((function(t){a=a.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 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(this.configuration.basePath+"/json/membersManager/getCompleteRichMembers/v",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extLogin",e)),null!=i&&(a=a.set("extSourceName",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/membersManager/getMemberByExtSourceNameAndExtLogin",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/json/membersManager/getMemberByUser",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("status",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(this.configuration.basePath+"/json/membersManager/getMembers",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("status",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(this.configuration.basePath+"/json/membersManager/getMembersCount/status",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("ids[]",t)})),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/membersManager/getRichMembersByIds",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/membersManager/getSponsoredMembersAndTheirSponsors",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/membersManager/getSponsors/member",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getSponsorsByVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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((function(t){o=o.append("attrNames[]",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.get(this.configuration.basePath+"/json/membersManager/getSponsors/vo",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("sourceUser",e)),null!=i&&(a=a.set("targetUser",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/membersManager/moveMembership",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",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(this.configuration.basePath+"/urlinjsonout/membersManager/removeSponsor",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"sendAccountActivationLinkEmail",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/membersManager/sendAccountActivationLinkEmail",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"sendPasswordResetLinkEmail",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/membersManager/sendPasswordResetLinkEmail",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("sponsoredMember",t)),null!=e&&(a=a.set("sponsor",e)),null!=i&&(a=a.set("validityTo",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/membersManager/setSponsorshipForMember",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("status",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(this.configuration.basePath+"/urlinjsonout/membersManager/setStatus",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("sponsor",e)),null!=i&&(a=a.set("validityTo",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/membersManager/sponsorMember",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("sponsor",e)),null!=i&&(a=a.set("validityTo",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/membersManager/updateSponsorshipValidity",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({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 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(this.configuration.basePath+"/urlinjsonout/membersManager/validateMemberAsync",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}()).\u0275fac=function(t){return new(t||d)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},d.\u0275prov=O.Ib({token:d,factory:d.\u0275fac,providedIn:"root"}),d),U=((h=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("owner",t)),null!=e&&(r=r.set("force",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(this.configuration.basePath+"/urlinjsonout/ownersManager/deleteOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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 T.e({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 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(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 T.e({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 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(this.configuration.basePath+"/json/ownersManager/getOwnerByName",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}()).\u0275fac=function(t){return new(t||h)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},h.\u0275prov=O.Ib({token:h,factory:h.\u0275fac,providedIn:"root"}),h),K=((l=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(t,[{key:"sentMessageToRTWithMemberQueue",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("queue",t)),null!=e&&(a=a.set("subject",e)),null!=i&&(a=a.set("text",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/rtMessagesManager/sentMessageToRT/q",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("voId",t)),null!=e&&(a=a.set("subject",e)),null!=i&&(a=a.set("text",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/rtMessagesManager/sentMessageToRT/v",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"sentMessageToRTWithVoQueue",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}}]),t}()).\u0275fac=function(t){return new(t||l)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},l.\u0275prov=O.Ib({token:l,factory:l.\u0275fac,providedIn:"root"}),l),V=((u=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toGroup",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyForm/groupToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toVo",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyForm/groupToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toGroup",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyForm/voToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toVo",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyForm/voToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toGroup",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyMails/groupToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toVo",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyMails/groupToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toGroup",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyMails/voToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toVo",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(this.configuration.basePath+"/urlinjsonout/registrarManager/copyMails/voToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("id",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(this.configuration.basePath+"/urlinjsonout/registrarManager/deleteApplicationMail/g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("id",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(this.configuration.basePath+"/urlinjsonout/registrarManager/deleteApplicationMail/v",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach((function(t){o=o.append("state[]",t)})),null!=i&&(o=o.set("dateFrom",i)),null!=n&&(o=o.set("dateTo",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(this.configuration.basePath+"/json/registrarManager/getApplicationsForGroup",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/json/registrarManager/getApplicationsForMember",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getApplicationsForVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach((function(t){o=o.append("state[]",t)})),null!=i&&(o=o.set("dateFrom",i)),null!=n&&(o=o.set("dateTo",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(this.configuration.basePath+"/json/registrarManager/getApplicationsForVo",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("type",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(this.configuration.basePath+"/json/registrarManager/getFormItems/group-type",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("type",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(this.configuration.basePath+"/json/registrarManager/getFormItems/vo-type",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("reason",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(this.configuration.basePath+"/urlinjsonout/registrarManager/rejectApplication",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"sendInvitation",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/registrarManager/sendInvitation",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"sendInvitationForGroup",value:function(t,e,i,n,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==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 s=new T.e({encoder:this.encoder});null!=i&&(s=s.set("voId",i)),null!=n&&(s=s.set("groupId",n)),null!=r&&(s=s.set("name",r)),null!=t&&(s=s.set("email",t)),null!=e&&(s=s.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 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(this.configuration.basePath+"/urlinjsonout/registrarManager/sendInvitation/g",null,{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{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],a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("userId",t)),null!=e&&(a=a.set("voId",e)),null!=i&&(a=a.set("groupId",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/registrarManager/sendInvitation/u-g",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",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(this.configuration.basePath+"/urlinjsonout/registrarManager/sendInvitation/u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(this.configuration.basePath+"/urlinjsonout/registrarManager/verifyApplication",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}()).\u0275fac=function(t){return new(t||u)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},u.\u0275prov=O.Ib({token:u,factory:u.\u0275fac,providedIn:"root"}),u),q=((c=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(t,[{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/addAdmin/r-g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/addAdmin/r-u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/addResourceSelfServiceGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/addResourceSelfServiceUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"assignGroupToResource",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 assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");var r=new T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignGroupToResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"assignGroupToResources",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 assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");var r=new T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.append("resources[]",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignGroupToResources",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"assignGroupsToResource",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 assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");var r=new T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("groups[]",t)})),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignGroupsToResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignService",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach((function(t){r=r.append("services[]",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignServices",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("servicesPackage",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{key:"createResource",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/resourcesManager/createResource",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("tagName",t)),null!=e&&(r=r.set("vo",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/createResourceTag/tagName",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("onlyDirectAdmins",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(this.configuration.basePath+"/json/resourcesManager/getAdmins",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("member",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(this.configuration.basePath+"/json/resourcesManager/getAssignedGroups",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/json/resourcesManager/getAssignedRichResources/s-m",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("id",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/resourcesManager/getEnrichedResourceById",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/resourcesManager/getEnrichedResourcesForFacility",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/resourcesManager/getEnrichedResourcesForVo",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(this.configuration.basePath+"/json/resourcesManager/getFacility",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/json/resourcesManager/getBan",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("name",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/resourcesManager/getResourceByName",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("vo",e)),null!=i&&(a=a.set("group",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/resourcesManager/getResourcesWhereUserIsAdmin/group",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("vo",e)),null!=i&&(a=a.set("user",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/resourcesManager/getResourcesWhereUserIsAdmin",{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"getRichAdmins",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach((function(t){o=o.append("specificAttributes",t)})),null!=i&&(o=o.set("allUserAttributes",i)),null!=n&&(o=o.set("onlyDirectAdmins",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(this.configuration.basePath+"/json/resourcesManager/getRichAdmins",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeBan/member-resource-id",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeAdmin/r-g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeGroupFromResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach((function(t){r=r.append("resources[]",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeGroupFromResources",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});t&&t.forEach((function(t){r=r.append("groups[]",t)})),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeGroupsFromResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeResourceSelfServiceUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeService",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach((function(t){r=r.append("services[]",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeServices",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("servicesPackage",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeAdmin/r-u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||c)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},c.\u0275prov=O.Ib({token:c,factory:c.\u0275fac,providedIn:"root"}),c),J=((s=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(t,[{key:"addDestination",value:function(t,e,i,n,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==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 s=new T.e({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e)),null!=i&&(s=s.set("destination",i)),null!=n&&(s=s.set("type",n)),null!=r&&(s=s.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 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(this.configuration.basePath+"/urlinjsonout/servicesManager/addDestination",null,{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"addDestinationsForAllServicesOnFacility",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/urlinjsonout/servicesManager/addRequiredAttribute",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/servicesManager/addRequiredAttributes",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("servicesPackage",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/urlinjsonout/servicesManager/addServiceToServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("destination",t)),null!=e&&(r=r.set("destinationType",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(this.configuration.basePath+"/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",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(this.configuration.basePath+"/urlinjsonout/servicesManager/blockServiceOnDestination/s-d",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("destination",e)),null!=i&&(a=a.set("destinationType",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/servicesManager/blockServiceOnFacility",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("name",t)),null!=e&&(a=a.set("description",e)),null!=i&&(a=a.set("script",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/servicesManager/createService",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",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(this.configuration.basePath+"/urlinjsonout/servicesManager/createServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("force",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(this.configuration.basePath+"/urlinjsonout/servicesManager/deleteService",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/servicesManager/forceServicePropagation",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("filterExpiredMembers",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/servicesManager/getDataWithGroups",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("filterExpiredMembers",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/servicesManager/getDataWithVos",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/servicesManager/getDestinations/s-f",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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 T.e({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 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(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 T.e({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 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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("filterExpiredMembers",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/servicesManager/getFlatData",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("filterExpiredMembers",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/servicesManager/getHashedDataWithGroups",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("filterExpiredMembers",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/servicesManager/getHashedHierarchicalData",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("filterExpiredMembers",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/servicesManager/getHierarchicalData",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/servicesManager/getRichDestinations",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",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(this.configuration.basePath+"/json/servicesManager/isServiceBlockedOnDestination",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/servicesManager/isServiceBlockedOnFacility",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/servicesManager/planServicePropagation",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/servicesManager/removeAllDestinations",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/servicesManager/removeDestination",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("attributeId",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(this.configuration.basePath+"/urlinjsonout/servicesManager/removeRequiredAttribute",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/urlinjsonout/servicesManager/removeRequiredAttributes",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("servicesPackage",t)),null!=e&&(r=r.set("service",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(this.configuration.basePath+"/urlinjsonout/servicesManager/removeServiceFromServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("destination",t)),null!=e&&(r=r.set("destinationType",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(this.configuration.basePath+"/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",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(this.configuration.basePath+"/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("destination",e)),null!=i&&(a=a.set("destinationType",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/urlinjsonout/servicesManager/unblockServiceOnFacility",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||s)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},s.\u0275prov=O.Ib({token:s,factory:s.\u0275fac,providedIn:"root"}),s),W=((o=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/tasksManager/getTask",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("task",t)),null!=e&&(r=r.set("destination",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(this.configuration.basePath+"/json/tasksManager/getTaskResultsForGUIByTaskAndDestination",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/tasksManager/isThereSuchTask",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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 T.e({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 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(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 T.e({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 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(this.configuration.basePath+"/json/tasksManager/suspendTasksPropagation",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}()).\u0275fac=function(t){return new(t||o)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},o.\u0275prov=O.Ib({token:o,factory:o.\u0275fac,providedIn:"root"}),o),Z=((a=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("specificUser",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(this.configuration.basePath+"/urlinjsonout/usersManager/addSpecificUserOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("token",t)),null!=e&&(a=a.set("password",e)),null!=i&&(a=a.set("lang",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/usersManager/changeNonAuthzPassword/token",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("password",t)),null!=e&&(r=r.set("namespace",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(this.configuration.basePath+"/json/usersManager/checkPasswordStrength",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"createAlternativePassword",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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));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(this.configuration.basePath+"/urlinjsonout/usersManager/createAlternativePassword",null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("loginNamespace",e)),null!=i&&(a=a.set("passwordId",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/usersManager/deleteAlternativePassword",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("force",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(this.configuration.basePath+"/urlinjsonout/usersManager/deleteUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("searchString",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/usersManager/findRichUsersWithAttributes",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",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(this.configuration.basePath+"/json/usersManager/getGroupsWhereUserIsActive/facility",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("resource",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(this.configuration.basePath+"/json/usersManager/getGroupsWhereUserIsActive/resource",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("vo",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(this.configuration.basePath+"/json/usersManager/getGroupsWhereUserIsAdmin/u-v",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach((function(t){r=r.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 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(this.configuration.basePath+"/json/usersManager/getSponsorsForMember/member",{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}},{key:"getSponsorsForMemberByVoAndLogin",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=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 o=new T.e({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((function(t){o=o.append("attrNames[]",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.get(this.configuration.basePath+"/json/usersManager/getSponsorsForMember/vo",{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("extLogin",t)),null!=e&&(r=r.set("extSourceName",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(this.configuration.basePath+"/json/usersManager/getUserByExtSourceNameAndExtLogin",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(this.configuration.basePath+"/json/usersManager/getVosWhereUserIsMember",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("specificUser",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(this.configuration.basePath+"/urlinjsonout/usersManager/removeSpecificUserOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("userExtSource",e)),null!=i&&(a=a.set("force",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/usersManager/removeUserExtSource",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{key:"requestPreferredEmailChange",value:function(t,e,i,n,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==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 T.e({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!=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(this.configuration.basePath+"/urlinjsonout/usersManager/requestPreferredEmailChange",null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{key:"reservePassword",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 reservePassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePassword.");var a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("login",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("password",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/usersManager/reservePassword",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{key:"validatePreferredEmailChange",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 i was null or undefined when calling validatePreferredEmailChange.");if(null==e)throw new Error("Required parameter m was null or undefined when calling validatePreferredEmailChange.");if(null==i)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChange.");var a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("i",t)),null!=e&&(a=a.set("m",e)),null!=i&&(a=a.set("u",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/urlinjsonout/usersManager/validatePreferredEmailChange",null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("u",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(this.configuration.basePath+"/urlinjsonout/usersManager/validatePreferredEmailChange/token",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:n})}}]),t}()).\u0275fac=function(t){return new(t||a)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},a.\u0275prov=O.Ib({token:a,factory:a.\u0275fac,providedIn:"root"}),a),Y=((r=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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(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(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(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(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(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(this.configuration.basePath+"/json/utils/getPerunSystemTimeInMillis",{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}]),t}()).\u0275fac=function(t){return new(t||r)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},r.\u0275prov=O.Ib({token:r,factory:r.\u0275fac,providedIn:"root"}),r),X=((n=function(){function t(e,i,n){g(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new T.d,this.configuration=new M,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 I}return m(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/vosManager/addSponsorRole/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/vosManager/addSponsorRole/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/vosManager/addAdmin/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/vosManager/addAdmin/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("shortName",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(this.configuration.basePath+"/urlinjsonout/vosManager/createVo/withName",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("force",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(this.configuration.basePath+"/urlinjsonout/vosManager/deleteVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("id",t)),null!=e&&(a=a.set("searchString",e)),null!=i&&(a=a.set("maxNumOfResults",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/vosManager/findCandidates",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("searchString",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(this.configuration.basePath+"/json/vosManager/findCandidates/forGroup",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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(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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("group",t)),e&&e.forEach((function(t){a=a.append("attrNames[]",t)})),null!=i&&(a=a.set("searchString",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/vosManager/getCompleteCandidates/forGroup",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach((function(t){a=a.append("attrNames[]",t)})),null!=i&&(a=a.set("searchString",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/vosManager/getCompleteCandidates/forVo",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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(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 a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=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 s=new T.e({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("role",e)),i&&i.forEach((function(t){s=s.append("specificAttributes",t)})),null!=n&&(s=s.set("allUserAttributes",n)),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(this.configuration.basePath+"/json/vosManager/getRichAdmins",{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",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(this.configuration.basePath+"/json/vosManager/getAdminGroups",{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 a=new T.e({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("role",e)),null!=i&&(a=a.set("onlyDirectAdmins",i));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.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(this.configuration.basePath+"/json/vosManager/getAdmins",{params:a,withCredentials:this.configuration.withCredentials,headers:o,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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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 T.e({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 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(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(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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/vosManager/removeSponsorRole/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/vosManager/removeSponsorRole/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",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(this.configuration.basePath+"/urlinjsonout/vosManager/removeAdmin/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",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(this.configuration.basePath+"/urlinjsonout/vosManager/removeAdmin/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,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 T.e({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 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(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 T.e({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 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(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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}},{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 a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(n=n.set("Accept",a));var 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})}}]),t}()).\u0275fac=function(t){return new(t||n)(O.Wb(T.b),O.Wb(D,8),O.Wb(M,8))},n.\u0275prov=O.Ib({token:n,factory:n.\u0275fac,providedIn:"root"}),n),Q={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"}}(k||(k={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(E||(E={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(C||(C={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(R||(R={}));var $,tt={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"},et=(($=function(){function t(e,i){if(g(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 m(t,null,[{key:"forRoot",value:function(e){return{ngModule:t,providers:[{provide:M,useFactory:e}]}}}]),t}()).\u0275mod=O.Kb({type:$}),$.\u0275inj=O.Jb({factory:function(t){return new(t||$)(O.Wb($,12),O.Wb(T.b,8))},providers:[P,x,N,L,F,z,H,B,j,G,U,K,V,q,J,W,Z,Y,X],imports:[[]]}),$)},XAvq:function(t,e,n){"use strict";n.d(e,"a",(function(){return N}));var r=n("EM62"),a=n("QcI7"),o=n("seVz"),s=n("cqs0"),c=n("Iydx"),u=n("8clQ"),l=n("+0js"),h=n("Ssnw"),f=n("OZ4H"),p=n("2kYt"),b=n("qvOF"),v=n("sEIs"),y=n("PBFl"),A=n("Y2X+"),w=n("XpU2"),_=n("+Tre"),S=n("bFHC"),k=n("FcRk"),E=n("s2Ay"),C=["scrollViewport"];function R(t,e){if(1&t){var i=r.Tb();r.Sb(0,"mat-checkbox",19),r.Zb("change",(function(){r.xc(i);var t=r.dc().$implicit;return r.dc(2).itemSelectionToggle(t)})),r.Rb()}if(2&t){var n=r.dc().$implicit,a=r.dc(2);r.kc("disabled","members"===n.fullName)("checked",a.selection.isSelected(n))("indeterminate",a.descendantsPartiallySelected(n))}}function T(t,e){if(1&t&&(r.Sb(0,"mat-icon",20),r.Jc(1),r.Rb()),2&t){var i=r.dc().$implicit,n=r.dc(2);r.Ab(1),r.Lc(" ",n.treeControl.isExpanded(i)?"expand_more":"chevron_right"," ")}}function I(t,e){if(1&t&&(r.Sb(0,"span",21),r.Jc(1),r.Rb()),2&t){var i=r.dc().$implicit;r.Ab(1),r.Lc(" #",i.id," ")}}var O=function(t,e){return["/organizations",t,"groups",e]};function D(t,e){if(1&t){var i=r.Tb();r.Qb(0),r.Sb(1,"div",6),r.Hc(2,R,1,3,"mat-checkbox",7),r.Sb(3,"a",8),r.Sb(4,"button",9),r.Zb("mouseenter",(function(){return r.xc(i),r.dc(2).disableRouting=!0}))("mouseleave",(function(){return r.xc(i),r.dc(2).disableRouting=!1}))("click",(function(){r.xc(i);var t=e.$implicit;return r.dc(2).treeControl.toggle(t)})),r.Hc(5,T,2,1,"mat-icon",10),r.Rb(),r.Sb(6,"div",11),r.Sb(7,"span",12),r.Jc(8),r.Rb(),r.Hc(9,I,2,1,"span",13),r.Rb(),r.Sb(10,"div",14,15),r.Sb(12,"span",16),r.Jc(13),r.Rb(),r.Rb(),r.Rb(),r.Sb(14,"div",17),r.Sb(15,"perun-web-apps-group-menu",18),r.Zb("moveGroup",(function(){r.xc(i);var t=e.$implicit;return r.dc(2).onMoveGroup(t)}))("syncGroup",(function(){r.xc(i);var t=e.$implicit;return r.dc(2).onSyncDetail(t)}))("changeNameDescription",(function(){r.xc(i);var t=e.$implicit;return r.dc(2).onChangeNameDescription(t)})),r.Rb(),r.Rb(),r.Rb(),r.Pb()}if(2&t){var n=e.$implicit,a=r.dc(2);r.Ab(1),r.Ec("padding-left",24*n.level+"px"),r.Ab(1),r.kc("ngIf",!a.hideCheckbox),r.Ab(1),r.kc("routerLink",a.disableRouting?null:r.qc(14,O,n.voId,n.id)),r.Ab(1),r.kc("disabled",!n.expandable),r.Bb("aria-label","toggle "+n.name),r.Ab(1),r.kc("ngIf",n.expandable),r.Ab(3),r.Lc(" ",n.name," "),r.Ab(1),r.kc("ngIf",a.authResolver.isPerunAdmin()),r.Ab(3),r.lc("matTooltip",n.description),r.Ab(1),r.Lc(" ",n.description," "),r.Ab(2),r.kc("disabled","members"===n.fullName)("displayButtons",a.displayButtons)("group",n)}}var M=function(t){return{height:t}};function P(t,e){if(1&t&&(r.Sb(0,"div",2),r.Sb(1,"cdk-virtual-scroll-viewport",3,4),r.Hc(3,D,16,17,"ng-container",5),r.Rb(),r.Rb()),2&t){var i=r.dc();r.Ab(1),r.kc("minBufferPx",240)("maxBufferPx",480)("ngStyle",r.pc(4,M,i.getTreeViewHeight())),r.Ab(2),r.kc("cdkVirtualForOf",i.dataSource)}}function x(t,e){1&t&&(r.Sb(0,"app-alert",22),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var N=function(){var t=function(){function t(e,i,n){g(this,t),this.cd=e,this.dialog=i,this.authResolver=n,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 r.o,this.refreshTable=new r.o,this.expandAll=!1,this.disableRouting=!1,this.selection=new s.c(!0,[]),this.hideCheckbox=!1,this.treeControl=new o.j((function(t){return t.level}),(function(t){return t.expandable})),this.treeFlattener=new a.d(this.transformer,(function(t){return t.level}),(function(t){return t.expandable}),(function(t){return t.children})),this.dataSource=new a.c(this.treeControl,this.treeFlattener),this.hasChild=function(t,e){return e.expandable},this.getLevel=function(t){return t.level}}return m(t,[{key:"shouldHideButtons",value:function(){this.displayButtons=window.innerWidth>600}},{key:"ngOnChanges",value:function(t){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())}));var i,n=d(this.filteredGroups);try{for(n.s();!(i=n.n()).done;){var r=i.value;r.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat(Object(u.k)(r.parentGroupId,this.groups)))}}catch(a){n.e(a)}finally{n.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=Object(u.o)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(l.i,e)}},{key:"onChangeNameDescription",value:function(t){var e=this,i=Object(u.o)();i.data={theme:"group-theme",group:t,dialogType:l.h.GROUP},this.dialog.open(l.g,i).afterClosed().subscribe((function(t){t&&e.refreshTable.emit()}))}},{key:"createGroupTrees",value:function(t){var e,i=new Map,n=d(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.set(r.id,new c.b(r))}}catch(s){n.e(s)}finally{n.f()}var a=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&&a.add(t.id)}));var o=[];i.forEach((function(t){(null===t.parentGroupId||a.has(t.id))&&o.push(t)})),this.dataSource.data=o,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)(r.Mb(r.h),r.Mb(f.b),r.Mb(h.h))},t.\u0275cmp=r.Gb({type:t,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(t,e){var i;1&t&&r.Qc(C,!0),2&t&&r.sc(i=r.ac())&&(e.scrollViewport=i.first)},hostBindings:function(t,e){1&t&&r.Zb("resize",(function(t){return e.shouldHideButtons(t)}),!1,r.wc)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[r.yb],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&&(r.Hc(0,P,4,6,"div",0),r.Hc(1,x,3,3,"app-alert",1)),2&t&&(r.kc("ngIf",0!==e.filteredGroups.length),r.Ab(1),r.kc("ngIf",0===e.filteredGroups.length))},directives:[p.t,b.e,b.a,p.w,b.d,v.i,y.b,A.a,w.a,_.a,S.a,k.a],pipes:[E.d],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}()},XhvO:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){if(null===t)return null;var i=t;return i.substring(i.lastIndexOf(":")+1,i.length)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"nameSpaceToDef",type:t,pure:!0}),t}()},XpU2:function(t,e,i){"use strict";i.d(e,"a",(function(){return E}));var n=i("EM62"),r=i("Ssnw"),a=i("2kYt"),o=i("PBFl"),s=i("HHFY"),c=i("Y2X+"),u=i("bFHC"),l=i("Jb3d"),h=i("s2Ay"),d=i("jEFW"),f=i("iD4z"),p=i("py76");function b(t,e){if(1&t){var i=n.Tb();n.Sb(0,"span",5),n.ec(1,"translate"),n.ec(2,"groupSyncToolTip"),n.Sb(3,"button",6),n.Zb("click",(function(){return n.xc(i),n.dc(2).onSyncDetail()})),n.ec(4,"groupSyncIcon"),n.Sb(5,"mat-icon"),n.ec(6,"groupSyncIconColor"),n.Jc(7),n.ec(8,"groupSyncIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.kc("matTooltipPosition","above")("matTooltip",n.fc(1,7,n.fc(2,9,r.group))),n.Ab(3),n.kc("disabled","sync_disabled"===n.fc(4,11,r.group)),n.Ab(2),n.Cb(n.fc(6,13,r.group)),n.Ab(2),n.Lc(" ",n.fc(8,15,r.group)," ")}}function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"span",5),n.ec(1,"translate"),n.Sb(2,"button",6),n.Zb("click",(function(){return n.xc(i),n.dc(2).onMoveGroup()})),n.Sb(3,"mat-icon"),n.Jc(4,"arrow_right_alt"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),n.kc("matTooltipPosition","above"),n.Ab(2),n.kc("disabled",r.disabled)}}function y(t,e){if(1&t){var i=n.Tb();n.Sb(0,"span",5),n.ec(1,"translate"),n.Sb(2,"button",6),n.Zb("click",(function(){return n.xc(i),n.dc(2).onChangeNameDescription()})),n.Sb(3,"mat-icon"),n.Jc(4,"text_format"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.lc("matTooltip",n.fc(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),n.kc("matTooltipPosition","above"),n.Ab(2),n.kc("disabled",r.disabled)}}function A(t,e){if(1&t&&(n.Sb(0,"div",2),n.Sb(1,"button",3),n.ec(2,"translate"),n.Sb(3,"mat-icon"),n.Jc(4," file_copy "),n.Rb(),n.Rb(),n.Hc(5,b,9,17,"span",4),n.Hc(6,v,5,5,"span",4),n.Hc(7,y,5,5,"span",4),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.lc("matTooltip",n.fc(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.kc("cdkCopyToClipboard",i.group.name)("matTooltipPosition","above"),n.Ab(4),n.kc("ngIf",i.syncAuth),n.Ab(1),n.kc("ngIf",i.moveAuth),n.Ab(1),n.kc("ngIf",i.editAuth)}}function w(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(i),n.dc(2).onSyncDetail()})),n.ec(1,"groupSyncIcon"),n.Sb(2,"mat-icon"),n.ec(3,"groupSyncIconColor"),n.Jc(4),n.ec(5,"groupSyncIcon"),n.Rb(),n.Sb(6,"span"),n.Jc(7),n.ec(8,"translate"),n.ec(9,"groupSyncToolTip"),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.kc("disabled","sync_disabled"===n.fc(1,6,r.group)),n.Ab(2),n.Cb(n.fc(3,8,r.group)),n.Ab(2),n.Lc(" ",n.fc(5,10,r.group)," "),n.Ab(3),n.Kc(n.fc(8,12,n.fc(9,14,r.group)))}}function _(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(i),n.dc(2).onMoveGroup()})),n.Sb(1,"mat-icon"),n.Jc(2,"arrow_right_alt"),n.Rb(),n.Sb(3,"span"),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.kc("disabled",r.disabled),n.Ab(4),n.Kc(n.fc(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function S(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",11),n.Zb("click",(function(){return n.xc(i),n.dc(2).onChangeNameDescription()})),n.Sb(1,"mat-icon"),n.Jc(2,"text_format"),n.Rb(),n.Sb(3,"span"),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.kc("disabled",r.disabled),n.Ab(4),n.Kc(n.fc(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function k(t,e){if(1&t&&(n.Sb(0,"div"),n.Sb(1,"button",7),n.Sb(2,"mat-icon"),n.Jc(3,"more_vert"),n.Rb(),n.Rb(),n.Sb(4,"mat-menu",null,8),n.Sb(6,"button",9),n.Sb(7,"mat-icon"),n.Jc(8," file_copy "),n.Rb(),n.Sb(9,"span"),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Rb(),n.Hc(12,w,10,16,"button",10),n.Hc(13,_,6,4,"button",10),n.Hc(14,S,6,4,"button",10),n.Rb(),n.Rb()),2&t){var i=n.tc(5),r=n.dc();n.Ab(1),n.kc("mat-menu-trigger-for",i),n.Ab(5),n.kc("cdkCopyToClipboard",r.group.name),n.Ab(4),n.Kc(n.fc(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.Ab(2),n.kc("ngIf",r.syncAuth),n.Ab(1),n.kc("ngIf",r.moveAuth),n.Ab(1),n.kc("ngIf",r.editAuth)}}var E=function(){var t=function(){function t(e){g(this,t),this.authResolver=e,this.disabled=!1,this.moveGroup=new n.o,this.syncGroup=new n.o,this.changeNameDescription=new n.o}return m(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.Mb(r.h))},t.\u0275cmp=n.Gb({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.Hc(0,A,8,8,"div",0),n.Hc(1,k,15,8,"div",1)),2&t&&(n.kc("ngIf",e.displayButtons),n.Ab(1),n.kc("ngIf",!e.displayButtons))},directives:[a.t,o.b,s.a,c.a,u.a,l.d,l.e,l.b],pipes:[h.d,d.a,f.a,p.a],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),t}()},"Y2X+":function(t,e,i){"use strict";i.d(e,"a",(function(){return R})),i.d(e,"b",(function(){return I})),i.d(e,"c",(function(){return T}));var n=i("HYj3"),r=i("sg/T"),a=i("2kYt"),o=i("EM62"),s=i("mFH5"),c=i("qvOF"),u=i("5XID"),l=i("fAiE"),h=i("HOZh"),d=i("cZZj"),f=i("Sv/w"),p=i("ZTXN"),b=i("kuMc"),v=i("J+dc"),y=i("f7+R"),A=i("E5oP"),w={tooltipState:Object(y.n)("state",[Object(y.k)("initial, void, hidden",Object(y.l)({opacity:0,transform:"scale(0)"})),Object(y.k)("visible",Object(y.l)({transform:"scale(1)"})),Object(y.m)("* => visible",Object(y.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(y.h)([Object(y.l)({opacity:0,transform:"scale(0)",offset:0}),Object(y.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(y.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(y.m)("* => hidden",Object(y.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(y.l)({opacity:0})))])},_=Object(d.f)({passive:!0});function S(t){return Error('Tooltip position "'.concat(t,'" is invalid.'))}var k=new o.r("mat-tooltip-scroll-strategy"),E={provide:k,deps:[n.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},C=new o.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),R=function(){var t=function(){function t(e,i,n,r,a,o,s,c,u,h,d,f){var m=this;g(this,t),this._overlay=e,this._elementRef=i,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=c,this._dir=h,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new p.a,this._handleKeydown=function(t){m._isTooltipVisible()&&t.keyCode===l.h&&!Object(l.t)(t)&&(t.preventDefault(),t.stopPropagation(),m._ngZone.run((function(){return m.hide(0)})))},this._scrollStrategy=u,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),c.monitor(i).pipe(Object(b.a)(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&a.run((function(){return m.show()})):a.run((function(){return m.hide(0)}))})),a.runOutsideAngular((function(){i.nativeElement.addEventListener("keydown",m._handleKeydown)}))}return m(t,[{key:"ngOnInit",value:function(){this._setupPointerEvents()}},{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,i){t.removeEventListener(i,e,_)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),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 f.d(T,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(b.a)(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(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return i.positionChanges.pipe(Object(b.a)(this._destroyed)).subscribe((function(e){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:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(b.a)(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(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),i.main),Object.assign(Object.assign({},e.fallback),i.fallback)])}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,i=this.position;if("above"==i||"below"==i)t={originX:"center",originY:"above"==i?"top":"bottom"};else if("before"==i||"left"==i&&e||"right"==i&&!e)t={originX:"start",originY:"center"};else{if(!("after"==i||"right"==i&&e||"left"==i&&!e))throw S(i);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;if("above"==i)t={overlayX:"center",overlayY:"bottom"};else if("below"==i)t={overlayX:"center",overlayY:"top"};else if("before"==i||"left"==i&&e||"right"==i&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==i||"right"==i&&e||"left"==i&&!e))throw S(i);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.asObservable().pipe(Object(v.a)(1),Object(b.a)(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:"_setupPointerEvents",value:function(){var t=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var e=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",(function(){clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout((function(){return t.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return t.show()})).set("mouseleave",(function(){return t.hide()}));this._passiveListeners.forEach((function(e,i){t._elementRef.nativeElement.addEventListener(i,e,_)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this._elementRef.nativeElement,e=t.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==i&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(u.c)(t),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(n.c),o.Mb(o.l),o.Mb(c.f),o.Mb(o.Q),o.Mb(o.A),o.Mb(d.a),o.Mb(r.c),o.Mb(r.h),o.Mb(k),o.Mb(A.c,8),o.Mb(C,8),o.Mb(o.l))},t.\u0275dir=o.Hb({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t}(),T=function(){var t=function(){function t(e,i){g(this,t),this._changeDetectorRef=e,this._breakpointObserver=i,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}return m(t,[{key:"show",value:function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)}},{key:"hide",value:function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){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)(o.Mb(o.h),o.Mb(h.a))},t.\u0275cmp=o.Gb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.Zb("click",(function(){return e._handleBodyInteraction()}),!1,o.uc),2&t&&o.Ec("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var i;1&t&&(o.Sb(0,"div",0),o.Zb("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),o.ec(1,"async"),o.Jc(2),o.Rb()),2&t&&(o.Eb("mat-tooltip-handset",null==(i=o.fc(1,5,e._isHandset))?null:i.matches),o.kc("ngClass",e.tooltipClass)("@state",e._visibility),o.Ab(2),o.Kc(e.message))},directives:[a.q],pipes:[a.b],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:[w.tooltipState]},changeDetection:0}),t}(),I=function(){var t=function t(){g(this,t)};return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[E],imports:[[r.a,a.c,n.f,s.i],s.i,c.c]}),t}()},Y7Yh:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t){return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"serviceStateBlockedToString",type:t,pure:!0}),t}()},Y9OK:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("PBFl"),d=i("j+u3");function f(t,e){1&t&&s.Nb(0,"th",13)}function p(t,e){if(1&t&&(s.Sb(0,"td",14),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.id," ")}}function b(t,e){1&t&&s.Nb(0,"th",13)}function v(t,e){if(1&t&&(s.Sb(0,"td",14),s.Jc(1),s.ec(2,"userFullName"),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",s.fc(2,1,i.user)," ")}}function y(t,e){1&t&&s.Nb(0,"tr",15)}function A(t,e){1&t&&s.Nb(0,"tr",16)}function w(t,e){if(1&t&&(s.Sb(0,"div",4),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",5),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",6),s.Qb(8,7),s.Hc(9,f,1,0,"th",8),s.Hc(10,p,2,1,"td",9),s.Pb(),s.Qb(11,10),s.Hc(12,b,1,0,"th",8),s.Hc(13,v,3,3,"td",9),s.Pb(),s.Hc(14,y,1,0,"tr",11),s.Hc(15,A,1,0,"tr",12),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,i.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(7),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}function _(t,e){1&t&&s.Nb(0,"mat-spinner",17)}function S(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",18),s.Sb(1,"button",19),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"button",20),s.Zb("click",(function(){return s.xc(i),s.dc().onSubmit()})),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),s.Ab(3),s.Lc(" ",s.fc(6,4,n.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}var k=function(){var t=function(){function t(e,i,n,r,a,o){g(this,t),this.dialogRef=e,this.data=i,this.membersService=n,this.groupService=r,this.notificator=a,this.translate=o,this.displayedColumns=["id","name"]}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(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.Mb(n.i),s.Mb(n.a),s.Mb(o.i),s.Mb(o.h),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,w,16,9,"div",1),s.Hc(5,_,1,0,"mat-spinner",2),s.Hc(6,S,7,6,"div",3),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),s.Ab(2),s.kc("ngIf",!e.loading),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[n.j,u.t,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l,l.c,n.c,h.b],pipes:[c.d,d.a],styles:[""]}),t}()},YEcy:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return"virt"===t.namespace.split(":")[4]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"isVirtualAttribute",type:t,pure:!0}),t}()},YFHD:function(t,e,i){"use strict";i.d(e,"a",(function(){return F}));var n=i("EM62"),r=i("cqs0"),a=i("iAde"),o=i("cePI"),s=i("FlRo"),c=i("Ssnw"),u=i("8clQ"),l=i("sEIs"),h=i("9wx0"),d=i("2kYt"),f=i("+Tre"),p=i("TQS+"),b=i("FcRk"),v=i("s2Ay"),y=i("W5/Z"),A=i("4CqK");function w(t,e){1&t&&n.Nb(0,"th",20)}function _(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",21),n.Sb(1,"mat-checkbox",22),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function S(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function k(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.userExtSource.id)}}function E(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function C(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.ec(2,"getMailFromAttributes"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.attributes))}}function R(t,e){if(1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,i.extSourceNameHeader?i.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function T(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.userExtSource.extSource.name)}}function I(t,e){if(1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,i.loginHeader?i.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function O(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.userExtSource.login)}}function D(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function M(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,i.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function P(t,e){1&t&&n.Nb(0,"tr",26)}var x=function(t,e){return["/admin","users",t,"identities",e]};function N(t,e){if(1&t&&n.Nb(0,"tr",27),2&t){var i=e.$implicit,r=n.dc();n.Eb("cursor-pointer",!r.disableRouting)("disable-outline",r.disableRouting),n.kc("routerLink",r.disableRouting?null:n.qc(6,x,r.userId,i.userExtSource.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.qc(9,x,r.userId,i.userExtSource.id))}}function L(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.ec(3,"customTranslate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,n.fc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}var F=function(){var t=function(){function t(e,i){g(this,t),this.route=e,this.authResolver=i,this.selection=new r.c,this.filterValue="",this.hideColumns=[],this.pageSize=5,this.page=new n.o,this.pageSizeOptions=u.a,this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"]}return m(t,[{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(t){var e=this;this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.displayedColumns=this.displayedColumns.filter((function(t){return!e.hideColumns.includes(t)})),this.dataSource=new s.o(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){Object(u.i)(Object(u.n)(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 Object(u.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(u.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.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)}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(l.a),n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(a.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.paginator=i.first),n.sc(i=n.ac())&&(e.matSort=i.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",hideColumns:"hideColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:27,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,w,1,0,"th",6),n.Hc(7,_,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,S,4,5,"th",9),n.Hc(10,k,2,1,"td",10),n.Pb(),n.Qb(11,11),n.Hc(12,E,4,5,"th",6),n.Hc(13,C,3,3,"td",10),n.Pb(),n.Qb(14,12),n.Hc(15,R,4,5,"th",9),n.Hc(16,T,2,1,"td",10),n.Pb(),n.Qb(17,13),n.Hc(18,I,4,5,"th",9),n.Hc(19,O,2,1,"td",10),n.Pb(),n.Qb(20,14),n.Hc(21,D,4,5,"th",9),n.Hc(22,M,3,4,"td",15),n.Pb(),n.Hc(23,P,1,0,"tr",16),n.Hc(24,N,1,12,"tr",17),n.Rb(),n.Rb(),n.Sb(25,"mat-paginator",18),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(26,L,4,5,"app-alert",19)),2&t&&(n.kc("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(19),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.userExtSources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.userExtSources.length))},directives:[h.a,s.n,o.a,s.c,s.i,s.b,s.k,s.m,a.a,d.t,s.h,s.a,f.a,o.b,s.j,s.l,l.g,p.c,b.a],pipes:[v.d,y.a,A.a,d.f],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}()},YRqw:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),r=i("LAw4"),a=i("s2Ay"),o=function(){var t=function t(){g(this,t),this.voSelected=new n.o,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.Gb({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.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.voSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.vos)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",n.fc(1,7,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",n.fc(2,9,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",n.fc(3,11,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[r.a],pipes:[a.d],styles:[""]}),t}()},YSZu:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62"),r=i("OZ4H"),a=i("PBFl"),o=i("s2Ay"),s=function(){var t=function(){function t(e){g(this,t),this.dialogRef=e}return m(t,[{key:"ngOnInit",value:function(){}},{key:"onReload",value:function(){location.reload()}},{key:"onClose",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.i))},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"h1",0),n.Jc(1),n.ec(2,"translate"),n.Rb(),n.Sb(3,"div",1),n.Sb(4,"div",2),n.Sb(5,"p"),n.Jc(6),n.ec(7,"translate"),n.Rb(),n.Rb(),n.Sb(8,"div",3),n.Sb(9,"button",4),n.Zb("click",(function(){return e.onClose()})),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Sb(12,"button",5),n.Zb("click",(function(){return e.onReload()})),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,4,"DIALOGS.NEW_VERSION.TITLE")),n.Ab(5),n.Lc(" ",n.fc(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),n.Ab(4),n.Lc(" ",n.fc(11,8,"DIALOGS.NEW_VERSION.LATER")," "),n.Ab(3),n.Lc(" ",n.fc(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[r.j,r.g,r.c,a.b],pipes:[o.d],styles:[""]}),t}()},YtkY:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("5uGe");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 o(t,e))}}var o=function(){function t(e,i){g(this,t),this.project=e,this.thisArg=i}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project,this.thisArg))}}]),t}(),c=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t)).project=n,a.count=0,a.thisArg=r||u(a),a}return m(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.a)},ZG5M:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("EM62"),r=i("OZ4H"),a=i("sEIs"),o=i("2kYt"),s=i("mFH5"),c=i("bFHC"),u=i("s2Ay");function l(t,e){if(1&t&&(n.Sb(0,"div",3),n.Sb(1,"a",4),n.Nb(2,"mat-icon",5),n.Jc(3),n.ec(4,"translate"),n.Rb(),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Db("",i.style," item-itself"),n.kc("routerLink",i.url),n.Ab(1),n.kc("svgIcon",i.cssIcon),n.Ab(1),n.Lc(" ",n.fc(4,6,i.label)," ")}}function h(t,e){if(1&t&&(n.Sb(0,"div",1),n.Hc(1,l,5,8,"div",2),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.kc("ngForOf",i.items)}}var d=function(){var t=function(){function t(e,i){g(this,t),this.dialog=e,this.route=i,this.size="large"}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.route.params.subscribe((function(e){t.voId=e.voId}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.b),n.Mb(a.a))},t.\u0275cmp=n.Gb({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&&n.Hc(0,h,2,1,"div",0),2&t&&n.kc("ngIf","small"===e.size)},directives:[o.t,o.s,s.s,a.i,c.a],pipes:[u.d],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}()},ZTXN:function(t,e,i){"use strict";i.d(e,"b",(function(){return f})),i.d(e,"a",(function(){return p}));var r=i("IdLP"),o=i("5uGe"),c=i("bwdy"),u=i("MiDb"),l=i("yTkW"),d=i("25CY"),f=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this,t)).destination=t,n}return i}(o.a),p=function(){var t=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return m(i,[{key:d.a,value:function(){return new f(this)}},{key:"lift",value:function(t){var e=new b(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var e=this.observers,i=e.length,n=e.slice(),r=0;r0&&(i+=", "),i+=r.friendlyName.substring(16)+": "+r.value)}}catch(a){n.e(a)}finally{n.f()}return i}},{key:"getLoginsForCandidate",value:function(t){var e="";for(var i in t.attributes)t.attributes.hasOwnProperty(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:"pageChanged",value:function(t){this.page.emit(t)}},{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()}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-members-candidates-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(a.a,!0),n.Qc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{members:"members",selection:"selection",type:"type",pageSize:"pageSize",group:"group"},outputs:{page:"page"},features:[n.yb],decls:2,vars:1,consts:[[1,"card","mt-2"],["class","card-body table-theme",4,"ngIf"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Hc(1,B,31,6,"div",1),n.Rb()),2&t&&(n.Ab(1),n.kc("ngIf",null!=e.members))},directives:[u.t,l.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,o.h,o.a,h.a,a.b,f.a,o.j,o.l],pipes:[p.d,b.a,v.a,y.a,A.a],styles:[""]}),t}()},ZWyU:function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("EM62"),r=i("cqs0"),a=i("iAde"),o=i("cePI"),s=i("FlRo"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("FcRk"),p=i("s2Ay"),b=i("7fDV");function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function y(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function A(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.ID")))}function w(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function _(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NAME")))}function S(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.name)}}function k(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.TYPE")))}function E(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.ec(2,"extSourceType"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.type))}}function C(t,e){1&t&&n.Nb(0,"tr",23)}function R(t,e){1&t&&n.Nb(0,"tr",24)}function T(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_EXT_SOURCES"),"\n"))}function I(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.EXT_SOURCES_LIST.NO_FILTER_RESULTS"),"\n"))}var O=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.selection=new r.c,this.filterValue="",this.hideColumns=[],this.pageSize=5,this.page=new n.o,this.displayedColumns=["select","id","name","type"],this.exporting=!1,this.pageSizeOptions=c.a}return m(t,[{key:"ngAfterViewInit",value:function(){this.setDataSource()}},{key:"ngOnChanges",value:function(t){var e=this;this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.displayedColumns=this.displayedColumns.filter((function(t){return!e.hideColumns.includes(t)})),this.dataSource=new s.o(this.extSources),this.setDataSource()}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"type":return t.type.substring(40);case"name":return t.name;default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(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 Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matPaginator",set:function(t){this.paginator=t}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-ext-sources-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matPaginator=i.first),n.sc(i=n.ac())&&(e.matSort=i.first))},inputs:{extSources:"extSources",selection:"selection",filterValue:"filterValue",hideColumns:"hideColumns",pageSize:"pageSize"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,v,2,3,"th",6),n.Hc(7,y,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,A,3,3,"th",9),n.Hc(10,w,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,_,3,3,"th",9),n.Hc(13,S,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,k,3,3,"th",9),n.Hc(16,E,3,3,"td",11),n.Pb(),n.Hc(17,C,1,0,"tr",13),n.Hc(18,R,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,T,3,3,"app-alert",16),n.Hc(21,I,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.extSources.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.extSources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.extSources.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.extSources.length))},directives:[l.a,s.n,o.a,s.c,s.i,s.b,s.k,s.m,a.a,h.t,s.h,d.a,s.a,o.b,s.j,s.l,f.a],pipes:[p.d,b.a],styles:[""]}),t}()},aFDG:function(t,e,i){"use strict";i.d(e,"a",(function(){return N}));var n=i("EM62"),r=i("OZ4H"),a=i("iAde"),o=i("cePI"),s=i("FlRo"),c=i("Ssnw"),u=i("cqs0"),l=i("HHEo"),h=i("X2Q7"),f=i("8clQ"),p=i("s2Ay"),b=i("PBFl"),v=i("Y2X+"),y=i("2kYt"),A=i("+Tre"),w=i("Cd2c"),_=i("nIj0"),S=i("nhAq"),k=i("FcRk");function E(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",23),n.Sb(1,"mat-checkbox",24),n.Zb("change",(function(t){n.xc(i);var e=n.dc(2);return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function C(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc(2);return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc(2);n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function R(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.KEY")," "))}function T(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",28),n.Sb(1,"label"),n.Sb(2,"input",29),n.Zb("ngModelChange",(function(){n.xc(i);var t=e.$implicit;return n.dc(2).onValueChange(t)}))("ngModelChange",(function(t){return n.xc(i),e.$implicit[0]=t})),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit;n.Ab(2),n.kc("ngModel",r[0])}}function I(t,e){1&t&&(n.Sb(0,"th",27),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.VALUE")," "))}function O(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",28),n.Sb(1,"perun-web-apps-attribute-value",30),n.Zb("sendEventToParent2",(function(){n.xc(i);var t=e.$implicit;return n.dc(2).onValueChange(t)})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit;n.Ab(1),n.kc("attribute",r[1])}}function D(t,e){1&t&&n.Nb(0,"tr",31)}function M(t,e){1&t&&n.Nb(0,"tr",32)}function P(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div",9),n.Sb(1,"div",10),n.Sb(2,"div",11),n.Sb(3,"table",12),n.Qb(4,13),n.Hc(5,E,2,3,"th",14),n.Hc(6,C,2,2,"td",15),n.Pb(),n.Qb(7,16),n.Hc(8,R,3,3,"th",17),n.Hc(9,T,3,1,"td",18),n.Pb(),n.Qb(10,19),n.Hc(11,I,3,3,"th",17),n.Hc(12,O,2,1,"td",18),n.Pb(),n.Hc(13,D,1,0,"tr",20),n.Hc(14,M,1,0,"tr",21),n.Rb(),n.Rb(),n.Sb(15,"mat-paginator",22),n.Zb("page",(function(t){return n.xc(i),n.dc().pageChanged(t)})),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(3),n.kc("dataSource",r.dataSource),n.Ab(10),n.kc("matHeaderRowDef",r.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",r.displayedColumns),n.Ab(1),n.kc("length",r.records.length)("pageSize",r.pageSize)("pageSizeOptions",r.pageSizeOptions)}}function x(t,e){1&t&&(n.Sb(0,"app-alert",33),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.NO_KEYS_WARNING")," "))}var N=function(){var t=function(){function t(e,i,r,a,o){g(this,t),this.dialogRef=e,this.data=i,this.notificator=r,this.translate=a,this.attributesManager=o,this.pageSize=10,this.page=new n.o,this.switchView=new n.o,this.records=[],this.displayedColumns=["select","key","value"],this.dataSource=new s.o,this.selection=new u.c(!0,[]),this.isAddButtonDisabled=!1,this.pageSizeOptions=f.a}return m(t,[{key:"ngOnChanges",value:function(t){this.ngOnInit()}},{key:"ngOnInit",value:function(){var t=this;this.attDef=this.data.attDef,this.attributesManager.getEntitylessKeys(this.attDef.id).subscribe((function(e){t.attributesManager.getEntitylessAttributesByName("".concat(t.attDef.namespace,":").concat(t.attDef.friendlyName)).subscribe((function(i){var n=0;t.records=[];var r,a=d(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;t.records.push([o,i[n]]),n++}}catch(c){a.e(c)}finally{a.f()}t.dataSource=new s.o(t.records),t.setDataSource()}))}))}},{key:"setDataSource",value:function(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"onSave",value:function(){var t=this;this.updateMapAttributes();var e,i=d(this.selection.selected);try{for(i.s();!(e=i.n()).done;){var n=e.value;this.attributesManager.setEntitylessAttribute({key:n[0],attribute:n[1]}).subscribe((function(){t.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE_SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.ngOnInit()}))}))}}catch(r){i.e(r)}finally{i.f()}this.selection.clear(),this.isAddButtonDisabled=!1}},{key:"onRemove",value:function(){var t,e=this,i=d(this.selection.selected);try{for(i.s();!(t=i.n()).done;){var n=t.value;this.attributesManager.removeEntitylessAttribute(n[0],n[1].id).subscribe((function(){e.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE_SUCCESS").subscribe((function(t){e.notificator.showSuccess(t),e.ngOnInit()}))}))}}catch(r){i.e(r)}finally{i.f()}this.ngOnInit(),this.selection.clear(),this.isAddButtonDisabled=!1}},{key:"onAdd",value:function(){var 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}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{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[1].id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"onValueChange",value:function(t){this.selection.select(t)}},{key:"updateMapAttributes",value:function(){var t,e=d(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:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.i),n.Mb(r.a),n.Mb(c.l),n.Mb(p.e),n.Mb(h.c))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-entityless-attribute-keys-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Qc(a.a,!0),n.Qc(l.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first),n.sc(i=n.ac())&&(e.items=i))},inputs:{attDef:"attDef",pageSize:"pageSize"},outputs:{page:"page",switchView:"switchView"},features:[n.yb],decls:18,vars:17,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"],["class","card mt-3",4,"ngIf"],["alert_type","info","class","mt-3",4,"ngIf"],[1,"card","mt-3"],[1,"card-body"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["alert_type","info",1,"mt-3"]],template:function(t,e){1&t&&(n.Sb(0,"h1",0),n.Jc(1),n.Rb(),n.Sb(2,"div",1),n.Sb(3,"button",2),n.Zb("click",(function(){return e.switchView.emit()})),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Sb(6,"button",3),n.Zb("click",(function(){return e.onSave()})),n.Jc(7),n.ec(8,"translate"),n.Rb(),n.Sb(9,"button",4),n.Zb("click",(function(){return e.onAdd()})),n.Jc(10),n.ec(11,"translate"),n.Rb(),n.Sb(12,"button",5),n.Zb("click",(function(){return e.onRemove()})),n.Jc(13),n.ec(14,"translate"),n.Rb(),n.Rb(),n.Sb(15,"div",6),n.Hc(16,P,16,6,"div",7),n.Hc(17,x,3,3,"app-alert",8),n.Rb()),2&t&&(n.Ab(1),n.Kc(e.attDef.namespace+":"+e.attDef.friendlyName),n.Ab(3),n.Lc(" ",n.fc(5,9,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.CANCEL")," "),n.Ab(3),n.Lc(" ",n.fc(8,11,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE")," "),n.Ab(2),n.kc("disabled",e.isAddButtonDisabled)("matTooltipDisabled",!e.isAddButtonDisabled),n.Ab(1),n.Lc(" ",n.fc(11,13,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.ADD")," "),n.Ab(3),n.Lc(" ",n.fc(14,15,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE")," "),n.Ab(3),n.kc("ngIf",!(0===e.records.length)),n.Ab(1),n.kc("ngIf",0===e.records.length))},directives:[r.j,r.c,b.b,v.a,r.g,y.t,s.n,o.a,s.c,s.i,s.b,s.k,s.m,a.a,s.h,A.a,s.a,o.b,w.b,_.c,_.r,_.u,S.a,s.j,s.l,k.a],pipes:[p.d],styles:[".mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}"]}),t}()},aYBX:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("iyZ4"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),d=i("FlRo");function f(t,e){1&t&&s.Nb(0,"mat-spinner",7)}function p(t,e){1&t&&(s.Sb(0,"th",17),s.Jc(1,"id"),s.Rb())}function b(t,e){if(1&t&&(s.Sb(0,"td",18),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.id," ")}}function v(t,e){1&t&&(s.Sb(0,"th",17),s.Jc(1,"name"),s.Rb())}function y(t,e){if(1&t&&(s.Sb(0,"td",18),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function A(t,e){1&t&&s.Nb(0,"tr",19)}function w(t,e){1&t&&s.Nb(0,"tr",20)}function _(t,e){if(1&t&&(s.Sb(0,"div",8),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",9),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",10),s.Qb(8,11),s.Hc(9,p,2,0,"th",12),s.Hc(10,b,2,1,"td",13),s.Pb(),s.Qb(11,14),s.Hc(12,v,2,0,"th",12),s.Hc(13,y,2,1,"td",13),s.Pb(),s.Hc(14,A,1,0,"tr",15),s.Hc(15,w,1,0,"tr",16),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_EXT_SOURCES.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_EXT_SOURCES.ASK")," "),s.Ab(2),s.kc("dataSource",i.extSources),s.Ab(7),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var S=function(){var t=function(){function t(e,i,n,r,a,o){g(this,t),this.dialogRef=e,this.data=i,this.extSourceService=n,this.notificator=r,this.tableConfigService=a,this.translate=o,this.extSources=[],this.displayedColumns=["id","name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.extSources=this.data.extSources}},{key:"removeVoExtSource",value:function(){var t=this;if(0!==this.extSources.length){var e=this.extSources.pop();this.extSourceService.removeExtSourceWithVoSource(this.data.voId,e.id).subscribe((function(e){t.onRemove()}),(function(){return t.loading=!1}))}else this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}},{key:"removeGroupExtSource",value:function(){var t=this;if(0!==this.extSources.length){var e=this.extSources.pop();this.extSourceService.removeExtSourceWithGroupSource(this.data.groupId,e.id).subscribe((function(e){t.onRemove()}),(function(){return t.loading=!1}))}else this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}},{key:"onRemove",value:function(){this.loading=!0,this.data.groupId?this.removeGroupExtSource():this.removeVoExtSource()}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(r.i),s.Mb(r.a),s.Mb(n.f),s.Mb(a.l),s.Mb(o.pb),s.Mb(c.e))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"div",0),s.Sb(2,"h1",1),s.Jc(3),s.ec(4,"translate"),s.Rb(),s.Rb(),s.Hc(5,f,1,0,"mat-spinner",2),s.Hc(6,_,16,9,"div",3),s.Sb(7,"div",4),s.Sb(8,"button",5),s.Zb("click",(function(){return e.onCancel()})),s.Jc(9),s.ec(10,"translate"),s.Rb(),s.Sb(11,"button",6),s.Zb("click",(function(){return e.onRemove()})),s.Jc(12),s.ec(13,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(3),s.Kc(s.fc(4,8,"DIALOGS.REMOVE_EXT_SOURCES.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(10,10,"DIALOGS.REMOVE_EXT_SOURCES.CANCEL")," "),s.Ab(3),s.Lc(" ",s.fc(13,12,"DIALOGS.REMOVE_EXT_SOURCES.REMOVE")," "))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,d.n,d.c,d.i,d.b,d.k,d.m,d.h,d.a,d.j,d.l],pipes:[c.d],styles:[""]}),t}()},aag5:function(t,e,i){"use strict";i.d(e,"a",(function(){return J}));var n=i("EM62"),r=i("cePI"),a=i("FlRo"),o=i("8clQ"),s=i("Ssnw"),c=i("9wx0"),u=i("iAde"),l=i("2kYt"),h=i("bFHC"),d=i("Y2X+"),f=i("sEIs"),p=i("TQS+"),b=i("FcRk"),v=i("s2Ay"),y=i("e+sS"),A=i("j+u3"),w=["paginator"];function _(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function S(t,e){if(1&t&&(n.Sb(0,"td",21),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function k(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function E(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.ec(2,"date"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.gc(2,1,i.createdAt,"d.M.y"))}}function C(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function R(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",24),n.Jc(2,"arrow_right_alt"),n.Rb(),n.Rb())}function T(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",25),n.Jc(2,"restore"),n.Rb(),n.Rb())}function I(t,e){1&t&&(n.Sb(0,"div"),n.Sb(1,"mat-icon",26),n.Jc(2,"nat"),n.Rb(),n.Rb())}function O(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,R,3,0,"div",23),n.Hc(2,T,3,0,"div",23),n.Hc(3,I,3,0,"div",23),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf","INITIAL"==i.type),n.Ab(1),n.kc("ngIf","EXTENSION"==i.type),n.Ab(1),n.kc("ngIf","EMBEDDED"==i.type)}}function D(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function M(t,e){if(1&t&&(n.Sb(0,"td",22),n.Nb(1,"span",27),n.ec(2,"applicationState"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("outerHTML",n.fc(2,1,i.state),n.yc)}}function P(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_SUBMITTED_BY")))}function x(t,e){if(1&t&&(n.Sb(0,"div"),n.Jc(1),n.Rb()),2&t){var i=n.dc().$implicit;n.Ab(1),n.Lc(" ",i.createdBy.slice(i.createdBy.lastIndexOf("=")+1,i.createdBy.length)," ")}}function N(t,e){if(1&t&&(n.Jc(0),n.ec(1,"userFullName")),2&t){var i=n.dc().$implicit;n.Lc(" ",n.fc(1,1,i.user)," ")}}function L(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,x,2,1,"div",28),n.Hc(2,N,2,3,"ng-template",null,29,n.Ic),n.Rb()),2&t){var i=e.$implicit,r=n.tc(3);n.Ab(1),n.kc("ngIf",null==i.user)("ngIfElse",r)}}function F(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function z(t,e){1&t&&(n.Sb(0,"div",32),n.Jc(1," - "),n.Rb())}function H(t,e){if(1&t&&n.Jc(0),2&t){var i=n.dc().$implicit;n.Lc(" ",i.group.name," ")}}function B(t,e){if(1&t&&(n.Sb(0,"td",22),n.Hc(1,z,2,0,"div",30),n.Hc(2,H,1,1,"ng-template",null,31,n.Ic),n.Rb()),2&t){var i=e.$implicit,r=n.tc(3);n.Ab(1),n.kc("ngIf",null==i.group)("ngIfElse",r)}}function j(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function G(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.Kc(r.getFriendlyName(i.modifiedBy))}}function U(t,e){1&t&&n.Nb(0,"tr",33)}function K(t,e){if(1&t&&n.Nb(0,"tr",34),2&t){var i=e.$implicit,r=n.dc();n.Eb("cursor-pointer",!r.disableRouting),n.kc("routerLink",r.selectApplication(i))("perunWebAppsMiddleClickRouterLink",r.selectApplication(i))}}function V(t,e){1&t&&(n.Sb(0,"app-alert",35),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}function q(t,e){1&t&&(n.Sb(0,"app-alert",35),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var J=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.changeDetector=i,this.applications=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.o,this.pageSizeOptions=o.a}return m(t,[{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.setDataSource(),this.changeDetector.detectChanges()}},{key:"ngOnChanges",value:function(t){this.setDataSource()}},{key:"getDataForColumn",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:"getExportDataForColumn",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?Object(o.w)(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){Object(o.i)(Object(o.n)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.paginator&&(this.dataSource||(this.dataSource=new a.o,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=function(e,i){return Object(o.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(o.g)(e,i,t.getDataForColumn,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]}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(s.h),n.Mb(n.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-applications-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(r.a,!0),n.Qc(w,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{applications:"applications",group:"group",member:"member",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:32,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["paginator",""],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,_,3,3,"th",6),n.Hc(7,S,2,1,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,k,3,3,"th",6),n.Hc(10,E,3,4,"td",9),n.Pb(),n.Qb(11,10),n.Hc(12,C,3,3,"th",6),n.Hc(13,O,4,3,"td",9),n.Pb(),n.Qb(14,11),n.Hc(15,D,3,3,"th",6),n.Hc(16,M,3,3,"td",9),n.Pb(),n.Qb(17,12),n.Hc(18,P,3,3,"th",6),n.Hc(19,L,4,2,"td",9),n.Pb(),n.Qb(20,13),n.Hc(21,F,3,3,"th",6),n.Hc(22,B,4,2,"td",9),n.Pb(),n.Qb(23,14),n.Hc(24,j,3,3,"th",6),n.Hc(25,G,2,1,"td",9),n.Pb(),n.Hc(26,U,1,0,"tr",15),n.Hc(27,K,1,4,"tr",16),n.Rb(),n.Rb(),n.Sb(28,"mat-paginator",17,18),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(30,V,3,3,"app-alert",19),n.Hc(31,q,3,3,"app-alert",19)),2&t&&(n.kc("hidden",0===e.applications.length||!e.dataSource||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.applications.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(2),n.kc("ngIf",0===e.applications.length),n.Ab(1),n.kc("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.applications.length))},directives:[c.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,u.a,l.t,a.h,r.b,a.a,h.a,d.a,a.j,a.l,f.g,p.c,b.a],pipes:[v.d,l.f,y.a,A.a],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},aea8:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return e?"/organizations/".concat(t.voId,"/resources/").concat(t.id):"/facilities/".concat(t.facilityId,"/resources/").concat(t.id)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"getResourceRoute",type:t,pure:!0}),t}()},ajPJ:function(t,e,i){"use strict";i.d(e,"a",(function(){return b}));var n=i("Ssnw"),r=i("9RND"),a=i("X2Q7"),o=i("EM62"),s=i("OZ4H"),c=i("s2Ay"),u=i("29Wa"),l=i("Cd2c"),h=i("nIj0"),d=i("2kYt"),f=i("PBFl");function p(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}var b=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.translate=i,this.notificator=n,this.rtMessages=r,this.storeService=a,this.message="",this.subject="",this.instanceName=""}return m(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: "+r.a}},{key:"close",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(s.i),o.Mb(c.e),o.Mb(n.l),o.Mb(a.k),o.Mb(n.m))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Sb(3,"div",1),o.Sb(4,"mat-form-field"),o.Sb(5,"mat-label"),o.Jc(6),o.ec(7,"translate"),o.Rb(),o.Sb(8,"input",2,3),o.Zb("ngModelChange",(function(t){return e.subject=t})),o.Rb(),o.Hc(10,p,3,3,"mat-error",4),o.Rb(),o.Sb(11,"mat-form-field"),o.Sb(12,"mat-label"),o.Jc(13),o.ec(14,"translate"),o.Rb(),o.Sb(15,"textarea",5),o.Zb("ngModelChange",(function(t){return e.message=t})),o.ec(16,"translate"),o.Jc(17," "),o.Rb(),o.Sb(18,"mat-hint"),o.Jc(19),o.ec(20,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Sb(21,"div",6),o.Sb(22,"div",7),o.Sb(23,"button",8),o.Zb("click",(function(){return e.close()})),o.Jc(24),o.ec(25,"translate"),o.Rb(),o.Sb(26,"button",9),o.Zb("click",(function(){return e.sendBugReport()})),o.Jc(27),o.ec(28,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t){var i=o.tc(9);o.Ab(1),o.Kc(o.fc(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),o.Ab(5),o.Kc(o.fc(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),o.Ab(2),o.kc("ngModel",e.subject),o.Ab(2),o.kc("ngIf",i.invalid),o.Ab(3),o.Kc(o.fc(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),o.Ab(2),o.lc("placeholder",o.fc(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),o.kc("ngModel",e.message),o.Ab(4),o.Kc(o.fc(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),o.Ab(5),o.Lc(" ",o.fc(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),o.Ab(2),o.kc("disabled",i.invalid),o.Ab(1),o.Lc(" ",o.fc(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[s.j,s.g,u.c,u.g,l.b,h.c,h.C,h.r,h.u,d.t,u.f,s.c,f.b,u.b],pipes:[c.d],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t}()},alep:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),r=i("TkCa"),a=i("k8N0"),o=i("nIj0"),s=["*"],c=function(){var t=function(){function t(){g(this,t),this.modelChange=new n.o}return m(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)}},{key:"model",get:function(){return this.modelValue},set:function(t){this.modelValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-settings-toggle-item"]],viewQuery:function(t,e){var i;1&t&&n.Dc(a.a,!0),2&t&&n.sc(i=n.ac())&&(e.toggle=i.first)},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:s,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=n.Tb();n.jc(),n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"label",2),n.Zb("click",(function(){return n.xc(i),n.tc(5).toggle()||e.valueChanged()})),n.Jc(3),n.Rb(),n.Sb(4,"mat-slide-toggle",3,4),n.Zb("ngModelChange",(function(t){return e.modelValue=t})),n.Rb(),n.Rb(),n.Sb(6,"div",5),n.ic(7),n.Rb(),n.Rb()}if(2&t){var r=n.tc(5);n.Ab(2),n.Eb("unselected-setting",!r.checked),n.Ab(1),n.Lc(" ",e.title," "),n.Ab(1),n.kc("ngModel",e.modelValue),n.Ab(2),n.kc("@openClose",r.checked?"open":"closed")}},directives:[a.a,o.r,o.u],styles:[""],data:{animation:[r.c]}}),t}()},amZv:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("cqs0"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("A8Ay"),d=i("eakH"),f=i("PBFl");function p(t,e){1&t&&s.Nb(0,"mat-spinner",4)}function b(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",5),s.Sb(1,"perun-web-apps-immediate-filter",6),s.Zb("filter",(function(t){return s.xc(i),s.dc().applyFilter(t)})),s.Rb(),s.Nb(2,"app-attr-def-list",7),s.Rb()}if(2&t){var n=s.dc();s.Ab(1),s.kc("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),s.Ab(1),s.kc("selection",n.selection)("definitions",n.attrDefinitions)("disableRouting",!0)("filterValue",n.filterValue)}}function v(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",8),s.Sb(1,"button",9),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"button",10),s.Zb("click",(function(){return s.xc(i),s.dc().onAdd()})),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),s.Ab(2),s.kc("disabled",0===n.selection.selected.length),s.Ab(1),s.Lc(" ",s.fc(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}var y=function(){var t=function(){function t(e,i,n,r,a,s){g(this,t),this.dialogRef=e,this.data=i,this.serviceManager=n,this.attributesManager=r,this.notificator=a,this.translate=s,this.attrDefinitions=[],this.selection=new o.c(!0,[]),this.filterValue="",this.loading=!1}return m(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(e){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)(s.Mb(n.i),s.Mb(n.a),s.Mb(r.n),s.Mb(r.c),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,p,1,0,"mat-spinner",1),s.Hc(5,b,3,5,"div",2),s.Hc(6,v,7,7,"div",3),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[n.j,u.t,l.c,n.g,h.a,d.a,n.c,f.b],pipes:[c.d],styles:[""]}),t}()},b7Yx:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("EM62"),r=i("8clQ"),a=i("2kYt"),o=i("+Tre"),s=i("nIj0"),c=i("29Wa");function u(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-checkbox",2),n.Zb("change",(function(){return n.xc(i),n.dc()._sendEventToParent()}))("ngModelChange",(function(t){return n.xc(i),n.dc().attribute.value=t})),n.Rb()}if(2&t){var r=n.dc();n.kc("ngModel",r.attribute.value)}}function l(t,e){if(1&t&&(n.Sb(0,"mat-label"),n.Jc(1),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.Kc(i.attribute.value)}}var h=function(){var t=function(){function t(){g(this,t),this.readonly=!1,this.sendEventToParent=new n.o}return m(t,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=Object(r.s)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"div"),n.Hc(1,u,1,1,"mat-checkbox",0),n.Hc(2,l,2,1,"mat-label",1),n.Rb()),2&t&&(n.Ab(1),n.kc("ngIf",!e.readonly),n.Ab(1),n.kc("ngIf",e.readonly))},directives:[a.t,o.a,s.r,s.u,c.g],styles:[""]}),t}()},bATb:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("X2Q7"),r=i("nIj0"),a=i("OZ4H"),o=i("Ssnw"),s=i("jIqt"),c=i("YtkY"),u=i("EM62"),l=i("s2Ay"),h=i("2kYt"),d=i("PBFl"),f=i("csyo"),p=i("29Wa"),b=i("Cd2c"),v=i("ulve"),y=i("mFH5");function A(t,e){1&t&&u.Nb(0,"mat-spinner",7)}function w(t,e){if(1&t&&(u.Sb(0,"mat-option",14),u.Jc(1),u.Rb()),2&t){var i=e.$implicit;u.kc("value",i),u.Ab(1),u.Lc(" ",i.name," ")}}function _(t,e){if(1&t&&(u.Sb(0,"div"),u.Sb(1,"mat-form-field",8),u.Nb(2,"input",9),u.ec(3,"translate"),u.Sb(4,"mat-error"),u.Jc(5),u.ec(6,"translate"),u.Rb(),u.Rb(),u.Sb(7,"mat-form-field",8),u.Nb(8,"input",10),u.ec(9,"translate"),u.Sb(10,"mat-error"),u.Jc(11),u.ec(12,"translate"),u.Rb(),u.Sb(13,"mat-autocomplete",11,12),u.Hc(15,w,2,2,"mat-option",13),u.ec(16,"async"),u.Rb(),u.Rb(),u.Rb()),2&t){var i=u.tc(14),n=u.dc();u.Ab(2),u.lc("placeholder",u.fc(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),u.kc("formControl",n.loginControl),u.Ab(3),u.Lc(" ",u.fc(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),u.Ab(3),u.lc("placeholder",u.fc(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),u.kc("formControl",n.extSourcesControl)("matAutocomplete",i),u.Ab(3),u.Lc(" ",u.fc(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),u.Ab(2),u.kc("displayWith",n.displayFn),u.Ab(2),u.kc("ngForOf",u.fc(16,17,n.filteredExtSources))}}var S=function(){var t=function(){function t(e,i,n,r,a,o){var s=this;g(this,t),this.dialogRef=e,this.data=i,this.extSourcesManagerService=n,this.usersManagerService=r,this.translate=a,this.notificator=o,this.extSources=[],a.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe((function(t){return s.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.loginControl=new r.g("",[r.F.required,r.F.pattern(".*[\\S]+.*")]),this.extSourcesControl=new r.g("",[r.F.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe(Object(s.a)(""),Object(c.a)((function(e){return t._filter(e)}))),this.extSourcesManagerService.getExtSources().subscribe((function(e){t.extSources=e,t.filteredExtSources=t.extSourcesControl.valueChanges.pipe(Object(s.a)(""),Object(c.a)((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)(u.Mb(a.i),u.Mb(a.a),u.Mb(n.f),u.Mb(n.q),u.Mb(l.e),u.Mb(o.l))},t.\u0275cmp=u.Gb({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&&(u.Sb(0,"h1",0),u.Jc(1),u.ec(2,"translate"),u.Rb(),u.Sb(3,"div",1),u.Hc(4,A,1,0,"mat-spinner",2),u.Hc(5,_,17,19,"div",3),u.Rb(),u.Sb(6,"div",4),u.Sb(7,"button",5),u.Zb("click",(function(){return e.onCancel()})),u.Jc(8),u.ec(9,"translate"),u.Rb(),u.Sb(10,"button",6),u.Zb("click",(function(){return e.onAdd()})),u.Jc(11),u.ec(12,"translate"),u.Rb(),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),u.Ab(3),u.kc("ngIf",e.loading),u.Ab(1),u.kc("ngIf",!e.loading),u.Ab(3),u.Lc(" ",u.fc(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),u.Ab(2),u.kc("disabled",e.loginControl.invalid||e.extSourcesControl.invalid||e.loading),u.Ab(1),u.Lc(" ",u.fc(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[a.j,a.g,h.t,a.c,d.b,f.c,p.c,b.b,r.c,r.C,r.r,r.h,p.b,v.d,v.a,h.s,y.n],pipes:[l.d,h.b],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}()},bFHC:function(t,e,i){"use strict";i.d(e,"a",(function(){return F})),i.d(e,"b",(function(){return z})),i.d(e,"c",(function(){return I}));var n=i("EM62"),o=i("mFH5"),c=i("5XID"),u=i("2kYt"),l=i("ROBh"),h=i("47ST"),d=i("P4Xx"),f=i("bwdy"),p=i("8j5Y"),b=i("YtkY"),v=i("4e/d"),y=i("ruxD"),A=i("7ntQ"),w=i("J+dc"),_=i("vobO"),S=i("e4iD"),k=["*"];function E(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function C(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function R(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var T=function t(e,i){g(this,t),this.options=i,e.nodeName?this.svgElement=e:this.url=e},I=function(){var t=function(){function t(e,i,n,r){g(this,t),this._httpClient=e,this._sanitizer=i,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return m(t,[{key:"addSvgIcon",value:function(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}},{key:"addSvgIconLiteral",value:function(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}},{key:"addSvgIconInNamespace",value:function(t,e,i,n){return this._addSvgIconConfig(t,e,new T(i,n))}},{key:"addSvgIconLiteralInNamespace",value:function(t,e,i,r){var a=this._sanitizer.sanitize(n.J.HTML,i);if(!a)throw R(i);var o=this._createSvgElementForSingleIcon(a,r);return this._addSvgIconConfig(t,e,new T(o,r))}},{key:"addSvgIconSet",value:function(t,e){return this.addSvgIconSetInNamespace("",t,e)}},{key:"addSvgIconSetLiteral",value:function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}},{key:"addSvgIconSetInNamespace",value:function(t,e,i){return this._addSvgIconSetConfig(t,new T(e,i))}},{key:"addSvgIconSetLiteralInNamespace",value:function(t,e,i){var r=this._sanitizer.sanitize(n.J.HTML,e);if(!r)throw R(e);var a=this._svgElementFromString(r);return this._addSvgIconSetConfig(t,new T(a,i))}},{key:"registerFontClassAlias",value:function(t){var e=arguments.length>1&&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.J.RESOURCE_URL,t);if(!i)throw C(t);var r=this._cachedIconsByUrl.get(i);return r?Object(l.a)(O(r)):this._loadSvgIconFromConfig(new T(t)).pipe(Object(p.a)((function(t){return e._cachedIconsByUrl.set(i,t)})),Object(b.a)((function(t){return O(t)})))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=D(e,t),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(h.a)(E(i))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgElement?Object(l.a)(O(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(p.a)((function(e){return t.svgElement=e})),Object(b.a)((function(t){return O(t)})))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var i=this,r=this._extractIconWithNameFromAnySet(t,e);if(r)return Object(l.a)(r);var a=e.filter((function(t){return!t.svgElement})).map((function(t){return i._loadSvgIconSetFromConfig(t).pipe(Object(v.a)((function(e){var r="Loading icon set URL: ".concat(i._sanitizer.sanitize(n.J.RESOURCE_URL,t.url)," failed: ").concat(e.message);return i._errorHandler?i._errorHandler.handleError(new Error(r)):console.error(r),Object(l.a)(null)})))}));return Object(d.a)(a).pipe(Object(b.a)((function(){var n=i._extractIconWithNameFromAnySet(t,e);if(!n)throw E(t);return n})))}},{key:"_extractIconWithNameFromAnySet",value:function(t,e){for(var i=e.length-1;i>=0;i--){var n=e[i];if(n.svgElement){var r=this._extractSvgIconFromSet(n.svgElement,t,n.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchUrl(t.url).pipe(Object(b.a)((function(i){return e._createSvgElementForSingleIcon(i,t.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(t){var e=this;return t.svgElement?Object(l.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(b.a)((function(i){return t.svgElement||(t.svgElement=e._svgElementFromString(i)),t.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(t,e){var i=this._svgElementFromString(t);return this._setSvgAttributes(i,e),i}},{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 a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,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;n2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(n){return n.pipe(l((function(i,n){return Object(u.a)(t(i,n)).pipe(Object(c.a)((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;g(this,t),this.project=e,this.concurrent=i}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new d(t,this.project,this.concurrent))}}]),t}(),d=function(t){a(i,t);var e=s(i);function i(t,n){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return g(this,i),(r=e.call(this,t)).project=n,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return m(i,[{key:"_next",value:function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),i}(r.a)},cZZj:function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return h})),i.d(e,"c",(function(){return v})),i.d(e,"d",(function(){return m})),i.d(e,"e",(function(){return f})),i.d(e,"f",(function(){return p})),i.d(e,"g",(function(){return b}));var n,r=i("EM62"),a=i("2kYt");try{n="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){n=!1}var o,s,c,u,l=function(){var t=function t(e){g(this,t),this._platformId=e,this.isBrowser=this._platformId?Object(a.J)(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.Wb(r.C,8))},t.\u0275prov=Object(r.Ib)({factory:function(){return new t(Object(r.Wb)(r.C,8))},token:t,providedIn:"root"}),t}(),h=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}(),d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(d);var t=document.createElement("input");return o=new Set(d.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function p(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 b(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function m(){if("object"!=typeof document||!document)return 0;if(null==c){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",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),c=0,0===t.scrollLeft&&(t.scrollLeft=1,c=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return c}function v(t){if(function(){if(null==u){var t="undefined"!=typeof document?document.head:null;u=!(!t||!t.createShadowRoot&&!t.attachShadow)}return u}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},cePI:function(t,e,i){"use strict";i.d(e,"a",(function(){return A})),i.d(e,"b",(function(){return R})),i.d(e,"c",(function(){return T}));var n=i("EM62"),r=i("5XID"),o=i("mFH5"),u=i("ZTXN"),l=i("g6G6"),h=i("f7+R"),d=i("2kYt"),f=i("sg/T"),p=["mat-sort-header",""];function b(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div",3),n.Zb("@arrowPosition.start",(function(){return n.xc(i),n.dc()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return n.xc(i),n.dc()._disableViewStateAnimation=!1})),n.Nb(1,"div",4),n.Sb(2,"div",5),n.Nb(3,"div",6),n.Nb(4,"div",7),n.Nb(5,"div",8),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.kc("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),n.Ab(2),n.kc("@indicator",r._getArrowDirectionState()),n.Ab(1),n.kc("@leftPointer",r._getArrowDirectionState()),n.Ab(1),n.kc("@rightPointer",r._getArrowDirectionState())}}var v=["*"],y=Object(o.C)(Object(o.A)((function t(){g(this,t)}))),A=function(){var t=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments)).sortables=new Map,t._stateChanges=new u.a,t.start="asc",t._direction="",t.sortChange=new n.o,t}return m(i,[{key:"register",value:function(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error("Cannot have two MatSortables with the same id (".concat(t.id,")."));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){if(!t)return"";var e,i,n,r=(e=t.start||this.start,i=null!=t.disableClear?t.disableClear:this.disableClear,n=["asc","desc"],"desc"==e&&n.reverse(),i||n.push(""),n),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"direction",get:function(){return this._direction},set:function(t){if(Object(n.W)()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=Object(r.c)(t)}}]),i}(y);return t.\u0275fac=function(e){return w(e||t)},t.\u0275dir=n.Hb({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.xb,n.yb]}),t}(),w=n.Ub(A),_=o.b.ENTERING+" "+o.a.STANDARD_CURVE,S={indicator:Object(h.n)("indicator",[Object(h.k)("active-asc, asc",Object(h.l)({transform:"translateY(0px)"})),Object(h.k)("active-desc, desc",Object(h.l)({transform:"translateY(10px)"})),Object(h.m)("active-asc <=> active-desc",Object(h.e)(_))]),leftPointer:Object(h.n)("leftPointer",[Object(h.k)("active-asc, asc",Object(h.l)({transform:"rotate(-45deg)"})),Object(h.k)("active-desc, desc",Object(h.l)({transform:"rotate(45deg)"})),Object(h.m)("active-asc <=> active-desc",Object(h.e)(_))]),rightPointer:Object(h.n)("rightPointer",[Object(h.k)("active-asc, asc",Object(h.l)({transform:"rotate(45deg)"})),Object(h.k)("active-desc, desc",Object(h.l)({transform:"rotate(-45deg)"})),Object(h.m)("active-asc <=> active-desc",Object(h.e)(_))]),arrowOpacity:Object(h.n)("arrowOpacity",[Object(h.k)("desc-to-active, asc-to-active, active",Object(h.l)({opacity:1})),Object(h.k)("desc-to-hint, asc-to-hint, hint",Object(h.l)({opacity:.54})),Object(h.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(h.l)({opacity:0})),Object(h.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(h.e)("0ms")),Object(h.m)("* <=> *",Object(h.e)(_))]),arrowPosition:Object(h.n)("arrowPosition",[Object(h.m)("* => desc-to-hint, * => desc-to-active",Object(h.e)(_,Object(h.h)([Object(h.l)({transform:"translateY(-25%)"}),Object(h.l)({transform:"translateY(0)"})]))),Object(h.m)("* => hint-to-desc, * => active-to-desc",Object(h.e)(_,Object(h.h)([Object(h.l)({transform:"translateY(0)"}),Object(h.l)({transform:"translateY(25%)"})]))),Object(h.m)("* => asc-to-hint, * => asc-to-active",Object(h.e)(_,Object(h.h)([Object(h.l)({transform:"translateY(25%)"}),Object(h.l)({transform:"translateY(0)"})]))),Object(h.m)("* => hint-to-asc, * => active-to-asc",Object(h.e)(_,Object(h.h)([Object(h.l)({transform:"translateY(0)"}),Object(h.l)({transform:"translateY(-25%)"})]))),Object(h.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(h.l)({transform:"translateY(0)"})),Object(h.k)("hint-to-desc, active-to-desc, desc",Object(h.l)({transform:"translateY(-25%)"})),Object(h.k)("hint-to-asc, active-to-asc, asc",Object(h.l)({transform:"translateY(25%)"}))]),allowChildren:Object(h.n)("allowChildren",[Object(h.m)("* <=> *",[Object(h.i)("@*",Object(h.f)(),{optional:!0})])])},k=function(){var t=function t(){g(this,t),this.changes=new u.a,this.sortButtonLabel=function(t){return"Change sorting for "+t}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(n.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),E={provide:k,deps:[[new n.B,new n.K,k]],useFactory:function(t){return t||new k}},C=Object(o.A)((function t(){g(this,t)})),R=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s){var u;if(g(this,i),(u=e.call(this))._intl=t,u._sort=r,u._columnDef=a,u._focusMonitor=o,u._elementRef=s,u._showIndicatorHint=!1,u._arrowDirection="",u._disableViewStateAnimation=!1,u.arrowPosition="after",!r)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return u._rerenderSubscription=Object(l.a)(r.sortChange,r._stateChanges,t.changes).subscribe((function(){u._isSorted()&&u._updateArrowDirection(),!u._isSorted()&&u._viewState&&"active"===u._viewState.toState&&(u._disableViewStateAnimation=!1,u._setAnimationTransitionState({fromState:"active",toState:u._arrowDirection})),n.markForCheck()})),o&&s&&o.monitor(s,!0).subscribe((function(t){return u._setIndicatorHintVisible(!!t)})),c(u)}return m(i,[{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:"ngOnDestroy",value:function(){this._focusMonitor&&this._elementRef&&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:"_handleClick",value:function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}}},{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?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":null}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=Object(r.c)(t)}}]),i}(C);return t.\u0275fac=function(e){return new(e||t)(n.Mb(k),n.Mb(n.h),n.Mb(A,8),n.Mb("MAT_SORT_HEADER_COLUMN_DEF",8),n.Mb(f.h),n.Mb(n.l))},t.\u0275cmp=n.Gb({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&n.Zb("click",(function(){return e._handleClick()}))("mouseenter",(function(){return e._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return e._setIndicatorHintVisible(!1)})),2&t&&(n.Bb("aria-sort",e._getAriaSortAttribute()),n.Eb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[n.xb],attrs:p,ngContentSelectors:v,decls:4,vars:7,consts:[[1,"mat-sort-header-container"],["type","button",1,"mat-sort-header-button","mat-focus-indicator"],["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.jc(),n.Sb(0,"div",0),n.Sb(1,"button",1),n.ic(2),n.Rb(),n.Hc(3,b,6,6,"div",2),n.Rb()),2&t&&(n.Eb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),n.Ab(1),n.Bb("disabled",e._isDisabled()||null)("aria-label",e._intl.sortButtonLabel(e.id)),n.Ab(2),n.kc("ngIf",e._renderArrow()))},directives:[d.t],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor;position:relative}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-button,[mat-sort-header].cdk-program-focused .mat-sort-header-button{border-bottom:solid 1px currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.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:[S.indicator,S.leftPointer,S.rightPointer,S.arrowOpacity,S.arrowPosition,S.allowChildren]},changeDetection:0}),t}(),T=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},providers:[E],imports:[[d.c]]}),t}()},ckkg:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("IdLP"),r=i("dUuy"),a=i("czMQ");function o(t,e){return e?Object(a.a)(t,e):new n.a(Object(r.a)(t))}},cqs0:function(t,e,i){"use strict";i.d(e,"a",(function(){return h})),i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return f})),i.d(e,"d",(function(){return p})),i.d(e,"e",(function(){return l}));var n=i("9bRT"),r=i("ROBh"),o=i("ZTXN"),c=i("EM62"),u=function t(){g(this,t)};function l(t){return t&&"function"==typeof t.connect}var h=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this))._data=t,n}return m(i,[{key:"connect",value:function(){return Object(n.a)(this._data)?this._data:Object(r.a)(this._data)}},{key:"disconnect",value:function(){}}]),i}(u),f=function(){function t(){var e=this,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];g(this,t),this._multiple=i,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.a,n&&n.length&&(i?n.forEach((function(t){return e._markSelected(t)})):this._markSelected(n[0]),this._selectedToEmit.length=0)}return m(t,[{key:"select",value:function(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),t}(),p=function(){var t=function(){function t(){g(this,t),this._listeners=[]}return m(t,[{key:"notify",value:function(t,e){var i,n=d(this._listeners);try{for(n.s();!(i=n.n()).done;){(0,i.value)(t,e)}}catch(r){n.e(r)}finally{n.f()}}},{key:"listen",value:function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter((function(e){return t!==e}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(c.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t}()},csyo:function(t,e,i){"use strict";i.d(e,"a",(function(){return A})),i.d(e,"b",(function(){return _})),i.d(e,"c",(function(){return w}));var n=i("EM62"),r=i("2kYt"),o=i("mFH5"),c=i("5XID"),u=i("cZZj"),l=i("5lCh");function h(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){var i=n.dc();n.Ec("animation-name","mat-progress-spinner-stroke-rotate-"+i.diameter)("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),n.Bb("r",i._circleRadius)}}function d(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){var i=n.dc();n.Ec("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),n.Bb("r",i._circleRadius)}}function f(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){var i=n.dc();n.Ec("animation-name","mat-progress-spinner-stroke-rotate-"+i.diameter)("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),n.Bb("r",i._circleRadius)}}function p(t,e){if(1&t&&(n.cc(),n.Nb(0,"circle",3)),2&t){var i=n.dc();n.Ec("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),n.Bb("r",i._circleRadius)}}var b=".mat-progress-spinner{display:block;position:relative}.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}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{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]{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]{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",v=Object(o.y)((function t(e){g(this,t),this._elementRef=e}),"primary"),y=new n.r("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),A=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o){var s;g(this,i),(s=e.call(this,t))._elementRef=t,s._document=r,s._diameter=100,s._value=0,s._fallbackAnimation=!1,s.mode="determinate";var c=i._diameters;return c.has(r.head)||c.set(r.head,new Set([100])),s._fallbackAnimation=n.EDGE||n.TRIDENT,s._noopAnimations="NoopAnimations"===a&&!!o&&!o._forceAnimations,o&&(o.diameter&&(s.diameter=o.diameter),o.strokeWidth&&(s.strokeWidth=o.strokeWidth)),s}return m(i,[{key:"ngOnInit",value:function(){var t=this._elementRef.nativeElement;this._styleRoot=Object(u.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation"))}},{key:"_attachStyleNode",value:function(){var t=this._styleRoot,e=this._diameter,n=i._diameters,r=n.get(t);if(!r||!r.has(e)){var a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",e+""),a.textContent=this._getAnimationText(),t.appendChild(a),r||(r=new Set,n.set(t,r)),r.add(e)}}},{key:"_getAnimationText",value:function(){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*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}},{key:"diameter",get:function(){return this._diameter},set:function(t){this._diameter=Object(c.f)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=Object(c.f)(t)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,Object(c.f)(t)))}},{key:"_circleRadius",get:function(){return(this.diameter-10)/2}},{key:"_viewBox",get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 ".concat(t," ").concat(t)}},{key:"_strokeCircumference",get:function(){return 2*Math.PI*this._circleRadius}},{key:"_strokeDashOffset",get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}},{key:"_circleStrokeWidth",get:function(){return this.strokeWidth/this.diameter*100}}]),i}(v);return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(u.a),n.Mb(r.e,8),n.Mb(l.a,8),n.Mb(y))},t.\u0275cmp=n.Gb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(n.Bb("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.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.Eb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[n.xb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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.cc(),n.Sb(0,"svg",0),n.Hc(1,h,1,9,"circle",1),n.Hc(2,d,1,7,"circle",2),n.Rb()),2&t&&(n.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.kc("ngSwitch","indeterminate"===e.mode),n.Bb("viewBox",e._viewBox),n.Ab(1),n.kc("ngSwitchCase",!0),n.Ab(1),n.kc("ngSwitchCase",!1))},directives:[r.x,r.y],styles:[b],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t}(),w=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o){var s;return g(this,i),(s=e.call(this,t,n,r,a,o)).mode="indeterminate",s}return i}(A);return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.l),n.Mb(u.a),n.Mb(r.e,8),n.Mb(l.a,8),n.Mb(y))},t.\u0275cmp=n.Gb({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.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.Eb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[n.xb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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.cc(),n.Sb(0,"svg",0),n.Hc(1,f,1,9,"circle",1),n.Hc(2,p,1,7,"circle",2),n.Rb()),2&t&&(n.Ec("width",e.diameter,"px")("height",e.diameter,"px"),n.kc("ngSwitch","indeterminate"===e.mode),n.Bb("viewBox",e._viewBox),n.Ab(1),n.kc("ngSwitchCase",!0),n.Ab(1),n.kc("ngSwitchCase",!1))},directives:[r.x,r.y],styles:[b],encapsulation:2,changeDetection:0}),t}(),_=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[o.i,r.c],o.i]}),t}()},czMQ:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("IdLP"),r=i("bwdy");function a(t,e){return new n.a((function(i){var n=new r.a,a=0;return n.add(e.schedule((function(){a!==t.length?(i.next(t[a++]),i.closed||n.add(this.schedule())):i.complete()}))),n}))}},dEHC:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),r=["*"],a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"ngOnChanges",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},features:[n.yb],ngContentSelectors:r,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&&(n.jc(),n.Sb(0,"div",0),n.Sb(1,"span",1),n.Jc(2),n.Rb(),n.Sb(3,"div",2),n.ic(4),n.Rb(),n.Rb(),n.Sb(5,"div",3),n.Nb(6,"span",4),n.Sb(7,"div",5),n.Jc(8),n.Rb(),n.Rb()),2&t&&(n.Ab(2),n.Lc("",e.label,":"),n.Ab(6),n.Lc(" ",e.description," "))},styles:[""]}),t}()},dUuy:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){return function(e){for(var i=0,n=t.length;idone'+t}));break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe((function(t){i.returnData='clear'+t}));break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe((function(t){i.returnData='contact_mail '+t}));break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe((function(t){i.returnData='gavel'+t}));break;default:this.returnData=t}return this.returnData}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.e))},t.\u0275pipe=n.Lb({name:"applicationState",type:t,pure:!1}),t}()},e4iD:function(t,e,i){"use strict";i.d(e,"a",(function(){return U})),i.d(e,"b",(function(){return F})),i.d(e,"c",(function(){return D})),i.d(e,"d",(function(){return V})),i.d(e,"e",(function(){return j})),i.d(e,"f",(function(){return C}));var r,o=i("2kYt"),c=i("EM62"),u=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{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){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{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:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,i=l||(l=document.querySelector("base"))?l.getAttribute("href"):null;return null==i?null:(e=i,r||(r=document.createElement("a")),r.setAttribute("href",e),"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname)}},{key:"resetBaseElement",value:function(){l=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return Object(o.N)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){Object(o.O)(new i)}}]),i}(function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.call(this)}return m(i,[{key:"supportsDOMEvents",value:function(){return!0}}]),i}(o.K)),l=null,d=new c.r("TRANSITION_ID"),f=[{provide:c.d,useFactory:function(t,e,i){return function(){i.get(c.e).donePromise.then((function(){var i=Object(o.M)();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,o.e,c.s],multi:!0}],p=function(){function t(){g(this,t)}return m(t,[{key:"addToWindow",value:function(t){c.pb.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},c.pb.getAllAngularTestabilities=function(){return t.getAllTestabilities()},c.pb.getAllAngularRootElements=function(){return t.getAllRootElements()},c.pb.frameworkStabilizers||(c.pb.frameworkStabilizers=[]),c.pb.frameworkStabilizers.push((function(t){var e=c.pb.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?Object(o.M)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){Object(c.Y)(new t)}}]),t}(),b=new c.r("EventManagerPlugins"),v=function(){var t=function(){function t(e,i){var n=this;g(this,t),this._zone=i,this._eventNameToPlugin=new Map,e.forEach((function(t){return t.manager=n})),this._plugins=e.slice().reverse()}return m(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),a+=t+".")})),a+=r,0!=e.length||0===r.length)return null;var o={};return o.domEventName=n,o.fullKey=a,o}},{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&&x.hasOwnProperty(e)&&(e=x[e]))}return P[e]||e}(t);return" "===(i=i.toLowerCase())?i="space":"."===i&&(i="dot"),M.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}(y);return t.\u0275fac=function(e){return new(e||t)(c.Wb(o.e))},t.\u0275prov=c.Ib({token:t,factory:t.\u0275fac}),t}(),F=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(c.Ib)({factory:function(){return Object(c.Wb)(H)},token:t,providedIn:"root"}),t}();function z(t){return new H(t.get(o.e))}var H=function(){var t=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this))._doc=t,n}return m(i,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case c.J.NONE:return e;case c.J.HTML:return Object(c.eb)(e,"HTML")?Object(c.wb)(e):Object(c.cb)(this._doc,String(e));case c.J.STYLE:return Object(c.eb)(e,"Style")?Object(c.wb)(e):e;case c.J.SCRIPT:if(Object(c.eb)(e,"Script"))return Object(c.wb)(e);throw new Error("unsafe value used in a script context");case c.J.URL:return Object(c.ob)(e),Object(c.eb)(e,"URL")?Object(c.wb)(e):Object(c.db)(String(e));case c.J.RESOURCE_URL:if(Object(c.eb)(e,"ResourceURL"))return Object(c.wb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return Object(c.fb)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return Object(c.ib)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return Object(c.hb)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return Object(c.jb)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return Object(c.gb)(t)}}]),i}(F);return t.\u0275fac=function(e){return new(e||t)(c.Wb(o.e))},t.\u0275prov=Object(c.Ib)({factory:function(){return z(Object(c.Wb)(c.p))},token:t,providedIn:"root"}),t}(),B=[{provide:c.C,useValue:o.L},{provide:c.D,useValue:function(){u.makeCurrent(),p.init()},multi:!0},{provide:o.e,useFactory:function(){return Object(c.ub)(document),document},deps:[]}],j=Object(c.S)(c.X,"browser",B),G=[[],{provide:c.ab,useValue:"root"},{provide:c.n,useFactory:function(){return new c.n},deps:[]},{provide:b,useClass:O,multi:!0,deps:[o.e,c.A,c.C]},{provide:b,useClass:L,multi:!0,deps:[o.e]},[],{provide:C,useClass:C,deps:[v,w,c.c]},{provide:c.G,useExisting:C},{provide:A,useExisting:w},{provide:w,useClass:w,deps:[o.e]},{provide:c.N,useClass:c.N,deps:[c.A]},{provide:v,useClass:v,deps:[b,c.A]},[]],U=function(){var t=function(){function t(e){if(g(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 m(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:c.c,useValue:e.appId},{provide:d,useExisting:c.c},f]}}}]),t}();return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)(c.Wb(t,12))},providers:G,imports:[o.c,c.f]}),t}();function K(){return new V(Object(c.Wb)(o.e))}var V=function(){var t=function(){function t(e){g(this,t),this._doc=e}return m(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)(c.Wb(o.e))},t.\u0275prov=Object(c.Ib)({factory:K,token:t,providedIn:"root"}),t}();"undefined"!=typeof window&&window},eXxK:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("EM62"),r=i("LAw4"),a=i("s2Ay"),o=function(){var t=function t(){g(this,t),this.resourceSelected=new n.o,this.nameFunction=function(t){return t.name}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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&&(n.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.resourceSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.resources)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",n.fc(1,6,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",n.fc(2,8,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",n.fc(3,10,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[r.a],pipes:[a.d],styles:[""]}),t}()},"eY+9":function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},eakH:function(t,e,i){"use strict";i.d(e,"a",(function(){return H}));var n=i("EM62"),r=i("iAde"),a=i("cePI"),o=i("FlRo"),s=i("cqs0"),c=i("hilf"),u=i("8clQ"),l=i("Ssnw"),h=i("OZ4H"),d=i("9wx0"),f=i("2kYt"),p=i("+Tre"),b=i("FcRk"),v=i("s2Ay"),y=i("XhvO"),A=i("kdIE");function w(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",20),n.Sb(1,"mat-checkbox",21),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function _(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function S(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ID")))}function k(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function E(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_FRIENDLY_NAME")))}function C(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.friendlyName)}}function R(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ENTITY")))}function T(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.entity)}}function I(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_DEF")))}function O(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"nameSpaceToDef"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.namespace))}}function D(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_TYPE")))}function M(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"attributeTypeClean"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.type))}}function P(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_UNIQUE")))}function x(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.unique)}}function N(t,e){1&t&&n.Nb(0,"tr",26)}function L(t,e){if(1&t){var i=n.Tb();n.Sb(0,"tr",27),n.Zb("click",(function(){n.xc(i);var t=e.$implicit;return n.dc().onRowClick(t)})),n.Rb()}if(2&t){var r=n.dc();n.Eb("cursor-pointer",!r.disableRouting)}}function F(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"ADMIN.ATTRIBUTES.NO_ATTRIBUTES"),"\n"))}function z(t,e){1&t&&(n.Sb(0,"app-alert",28),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var H=function(){var t=function(){function t(e,i,r){g(this,t),this.dialog=e,this.authResolver=i,this.tableCheckbox=r,this.selection=new s.c(!0,[]),this.hideColumns=[],this.pageSize=10,this.disableRouting=!1,this.refreshEvent=new n.o,this.page=new n.o,this.displayedColumns=["select","id","friendlyName","entity","namespace","type","unique"],this.pageSizeOptions=u.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new o.o(this.definitions),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{key:"getDataForColumn",value:function(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){var i=t.namespace;return i.substring(i.lastIndexOf(":")+1,i.length)}return"";case"type":if(t.type){var n=t.type;return n.substring(n.lastIndexOf(".")+1,n.length)}return"";case"unique":return t.unique?"true":"false";default:return""}}},{key:"exportData",value:function(t){Object(u.i)(Object(u.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=function(e,i){return Object(u.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(u.g)(e,i,t.getDataForColumn,t)},this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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:"onRowClick",value:function(t){var e=this;if(!this.disableRouting){var i=Object(u.o)();i.width="700px",i.data={attDef:t},this.dialog.open(c.a,i).afterClosed().subscribe((function(t){t&&(e.selection.clear(),e.refreshEvent.emit())}))}}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(h.b),n.Mb(l.h),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-attr-def-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Dc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{definitions:"definitions",selection:"selection",hideColumns:"hideColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{refreshEvent:"refreshEvent",page:"page"},features:[n.yb],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[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"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,w,2,3,"th",6),n.Hc(7,_,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,S,3,3,"th",9),n.Hc(10,k,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,E,3,3,"th",9),n.Hc(13,C,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,R,3,3,"th",9),n.Hc(16,T,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,I,3,3,"th",9),n.Hc(19,O,3,3,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,D,3,3,"th",9),n.Hc(22,M,3,3,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,P,3,3,"th",9),n.Hc(25,x,2,1,"td",11),n.Pb(),n.Hc(26,N,1,0,"tr",16),n.Hc(27,L,1,2,"tr",17),n.Rb(),n.Rb(),n.Sb(28,"mat-paginator",18),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(29,F,3,3,"app-alert",19),n.Hc(30,z,3,3,"app-alert",19)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.definitions.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(22),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.definitions.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.definitions.length),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.definitions.length))},directives:[d.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,f.t,o.h,p.a,o.a,a.b,o.j,o.l,b.a],pipes:[v.d,y.a,A.a],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},etrl:function(t,e,i){var n,r;void 0===(r="function"==typeof(n=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 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(t,a,o){var s=r.URL||r.webkitURL,c=document.createElement("a");c.download=a=a||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,a,o):n(c,c.target="_blank")):(c.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){n(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,r,a){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,a),r);else if(i(t))e(t,r,a);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 s="application/octet-stream"===t.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 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=r.URL||r.webkitURL,d=h.createObjectURL(t);o?o.location=d:location.href=d,o=null,setTimeout((function(){h.revokeObjectURL(d)}),4e4)}});r.saveAs=o.saveAs=o,t.exports=o})?n.apply(e,[]):n)||(t.exports=r)},f3iV:function(t,e,i){"use strict";i.d(e,"a",(function(){return f})),i.d(e,"b",(function(){return p}));var n=i("EM62"),r=i("mFH5"),o=i("sg/T"),u=i("5XID"),l=i("5lCh"),h=0,d=Object(r.A)((function t(){g(this,t)})),f=function(){var t=function(t){a(i,t);var e=s(i);function i(t,r,a,o,s){var u;if(g(this,i),(u=e.call(this))._ngZone=t,u._elementRef=r,u._ariaDescriber=a,u._renderer=o,u._animationMode=s,u._hasContent=!1,u._color="primary",u._overlap=!0,u.position="above after",u.size="medium",u._id=h++,Object(n.W)()){var l=r.nativeElement;if(l.nodeType!==l.ELEMENT_NODE)throw Error("matBadge must be attached to an element node.")}return c(u)}return m(i,[{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&&(""+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.content: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-"+this._id),t.classList.add("mat-badge-content"),t.textContent=this.content,"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){t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-badge-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-badge-"+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:"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=Object(u.c)(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=Object(u.c)(t)}}]),i}(d);return t.\u0275fac=function(e){return new(e||t)(n.Mb(n.A),n.Mb(n.l),n.Mb(o.c),n.Mb(n.F),n.Mb(l.a,8))},t.\u0275dir=n.Hb({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&n.Eb("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:[n.xb,n.yb]}),t}(),p=function(){var t=function t(){g(this,t)};return t.\u0275mod=n.Kb({type:t}),t.\u0275inj=n.Jb({factory:function(e){return new(e||t)},imports:[[o.a,r.i],r.i]}),t}()},"f7+R":function(t,e,i){"use strict";i.d(e,"a",(function(){return a})),i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"d",(function(){return y})),i.d(e,"e",(function(){return s})),i.d(e,"f",(function(){return p})),i.d(e,"g",(function(){return c})),i.d(e,"h",(function(){return d})),i.d(e,"i",(function(){return b})),i.d(e,"j",(function(){return u})),i.d(e,"k",(function(){return h})),i.d(e,"l",(function(){return l})),i.d(e,"m",(function(){return f})),i.d(e,"n",(function(){return o})),i.d(e,"o",(function(){return A})),i.d(e,"p",(function(){return w}));var n=function t(){g(this,t)},r=function t(){g(this,t)},a="*";function o(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 c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:t,options:e}}function u(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 b(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:i}}function v(t){Promise.resolve(null).then(t)}var y=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;g(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+i}return m(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;v((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(){}},{key:"setPosition",value:function(t){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}(),A=function(){function t(e){var i=this;g(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,a=0,o=this.players.length;0==o?v((function(){return i._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++n==o&&i._onFinish()})),t.onDestroy((function(){++r==o&&i._onDestroy()})),t.onStart((function(){++a==o&&i._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return m(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=0;return this.players.forEach((function(e){var i=e.getPosition();t=Math.min(i,t)})),t}},{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}(),w="!"},"f8+N":function(t,e,i){"use strict";var n=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,e,i,r){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(r){var a=encodeURIComponent(n(r))+i;return Array.isArray(t[r])?t[r].map((function(t){return a+encodeURIComponent(n(t))})).join(e):a+encodeURIComponent(n(t[r]))})).join(e):r?encodeURIComponent(n(r))+i+encodeURIComponent(n(t)):""}},fAiE:function(t,e,i){"use strict";i.d(e,"a",(function(){return y})),i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return w})),i.d(e,"d",(function(){return b})),i.d(e,"e",(function(){return g})),i.d(e,"f",(function(){return l})),i.d(e,"g",(function(){return a})),i.d(e,"h",(function(){return o})),i.d(e,"i",(function(){return h})),i.d(e,"j",(function(){return d})),i.d(e,"k",(function(){return v})),i.d(e,"l",(function(){return u})),i.d(e,"m",(function(){return c})),i.d(e,"n",(function(){return p})),i.d(e,"o",(function(){return s})),i.d(e,"p",(function(){return r})),i.d(e,"q",(function(){return f})),i.d(e,"r",(function(){return A})),i.d(e,"s",(function(){return m})),i.d(e,"t",(function(){return _}));var n=8,r=9,a=13,o=27,s=32,c=33,u=34,l=35,h=36,d=37,f=38,p=39,g=40,b=46,m=48,v=57,y=65,A=90,w=188;function _(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:l;return function(e){return e.lift(new c(t))}}var c=function(){function t(e){g(this,t),this.errorFactory=e}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.errorFactory))}}]),t}(),u=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).errorFactory=n,r.hasValue=!1,r}return m(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.a);function l(){return new n.a}},g3Wv:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),r=i("s2Ay"),a=function(){var t=function(){function t(e){g(this,t),this.translateService=e,this.returnData=""}return m(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.Mb(r.e))},t.\u0275pipe=n.Lb({name:"applicationFormItemType",type:t,pure:!0}),t}()},g6G6:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("IdLP"),r=i("gBlb"),a=i("3lSR"),o=i("ckkg");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 u&&(s=e.pop()),null===c&&1===e.length&&e[0]instanceof n.a?e[0]:Object(a.a)(s)(Object(o.a)(e,c))}},gBlb:function(t,e,i){"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,"a",(function(){return n}))},gcUQ:function(t,e,i){"use strict";i.d(e,"a",(function(){return it})),i.d(e,"b",(function(){return W})),i.d(e,"c",(function(){return et})),i.d(e,"d",(function(){return ut})),i.d(e,"e",(function(){return ct})),i.d(e,"f",(function(){return ft})),i.d(e,"g",(function(){return bt})),i.d(e,"h",(function(){return gt})),i.d(e,"i",(function(){return pt})),i.d(e,"j",(function(){return Z})),i.d(e,"k",(function(){return Y})),i.d(e,"l",(function(){return tt}));var n=i("sg/T"),r=i("HYj3"),o=i("Sv/w"),c=i("2kYt"),u=i("EM62"),l=i("PBFl"),h=i("OZ4H"),d=i("qvOF"),f=i("mFH5"),p=i("ZTXN"),b=i("bwdy"),v=i("g6G6"),y=i("ROBh"),A=i("fAiE"),w=i("J+dc"),_=i("jIqt"),S=i("xVbo"),k=i("5XID"),E=i("f7+R"),C=i("nIj0"),R=i("29Wa"),T=i("Cd2c"),I=i("E5oP"),O=["mat-calendar-body",""];function D(t,e){if(1&t&&(u.Sb(0,"tr",2),u.Sb(1,"td",3),u.Jc(2),u.Rb(),u.Rb()),2&t){var i=u.dc();u.Ab(1),u.Ec("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),u.Bb("colspan",i.numCols),u.Ab(1),u.Lc(" ",i.label," ")}}function M(t,e){if(1&t&&(u.Sb(0,"td",7),u.Jc(1),u.Rb()),2&t){var i=u.dc(2);u.Ec("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),u.Bb("colspan",i._firstRowOffset),u.Ab(1),u.Lc(" ",i._firstRowOffset>=i.labelMinRequiredCells?i.label:""," ")}}function P(t,e){if(1&t){var i=u.Tb();u.Sb(0,"td",8),u.Zb("click",(function(){u.xc(i);var t=e.$implicit;return u.dc(2)._cellClicked(t)})),u.Sb(1,"div",9),u.Jc(2),u.Rb(),u.Rb()}if(2&t){var n=e.$implicit,r=e.index,a=u.dc().index,o=u.dc();u.Ec("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),u.Eb("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",o._isActiveCell(a,r)),u.kc("ngClass",n.cssClasses)("tabindex",o._isActiveCell(a,r)?0:-1),u.Bb("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-selected",o.selectedValue===n.value),u.Ab(1),u.Eb("mat-calendar-body-selected",o.selectedValue===n.value)("mat-calendar-body-today",o.todayValue===n.value),u.Ab(1),u.Lc(" ",n.displayValue," ")}}function x(t,e){if(1&t&&(u.Sb(0,"tr",4),u.Hc(1,M,2,6,"td",5),u.Hc(2,P,3,20,"td",6),u.Rb()),2&t){var i=e.$implicit,n=e.index,r=u.dc();u.Ab(1),u.kc("ngIf",0===n&&r._firstRowOffset),u.Ab(1),u.kc("ngForOf",i)}}function N(t,e){if(1&t&&(u.Sb(0,"th",5),u.Jc(1),u.Rb()),2&t){var i=e.$implicit;u.Bb("aria-label",i.long),u.Ab(1),u.Kc(i.narrow)}}var L=["*"];function F(t,e){}function z(t,e){if(1&t){var i=u.Tb();u.Sb(0,"mat-month-view",5),u.Zb("activeDateChange",(function(t){return u.xc(i),u.dc().activeDate=t}))("selectedChange",(function(t){return u.xc(i),u.dc()._dateSelected(t)}))("_userSelection",(function(){return u.xc(i),u.dc()._userSelected()})),u.Rb()}if(2&t){var n=u.dc();u.kc("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=u.Tb();u.Sb(0,"mat-year-view",6),u.Zb("activeDateChange",(function(t){return u.xc(i),u.dc().activeDate=t}))("monthSelected",(function(t){return u.xc(i),u.dc()._monthSelectedInYearView(t)}))("selectedChange",(function(t){return u.xc(i),u.dc()._goToDateInView(t,"month")})),u.Rb()}if(2&t){var n=u.dc();u.kc("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)}}function B(t,e){if(1&t){var i=u.Tb();u.Sb(0,"mat-multi-year-view",7),u.Zb("activeDateChange",(function(t){return u.xc(i),u.dc().activeDate=t}))("yearSelected",(function(t){return u.xc(i),u.dc()._yearSelectedInMultiYearView(t)}))("selectedChange",(function(t){return u.xc(i),u.dc()._goToDateInView(t,"year")})),u.Rb()}if(2&t){var n=u.dc();u.kc("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)}}var j=["button"];function G(t,e){1&t&&(u.cc(),u.Sb(0,"svg",3),u.Nb(1,"path",4),u.Rb())}var U=[[["","matDatepickerToggleIcon",""]]],K=["[matDatepickerToggleIcon]"];function V(t){return Error("MatDatepicker: No provider found for ".concat(t,". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation."))}var q=function(){var t=function(){function t(){g(this,t),this.changes=new p.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return m(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=Object(u.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),J=function t(e,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};g(this,t),this.value=e,this.displayValue=i,this.ariaLabel=n,this.enabled=r,this.cssClasses=a},W=function(){var t=function(){function t(e,i){g(this,t),this._elementRef=e,this._ngZone=i,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new u.o}return m(t,[{key:"_cellClicked",value:function(t){t.enabled&&this.selectedValueChange.emit(t.value)}},{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:"_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;this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(Object(w.a)(1)).subscribe((function(){var e=t._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&e.focus()}))}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Mb(u.l),u.Mb(u.A))},t.\u0275cmp=u.Gb({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[u.yb],attrs:O,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 mat-focus-indicator",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(t,e){1&t&&(u.Hc(0,D,3,6,"tr",0),u.Hc(1,x,3,2,"tr",1)),2&t&&(u.kc("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}(),Z=function(){var t=function(){function t(e,i,n,r){if(g(this,t),this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=n,this._dir=r,this._rerenderSubscription=b.a.EMPTY,this.selectedChange=new u.o,this._userSelection=new u.o,this.activeDateChange=new u.o,!this._dateAdapter)throw V("DateAdapter");if(!this._dateFormats)throw V("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return m(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe((function(){return t._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(t){if(this._selectedDate!=t){var e=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(e,i,t);this.selectedChange.emit(n)}this._userSelection.emit()}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,i=this._isRtl();switch(t.keyCode){case A.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case A.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case A.q:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case A.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case A.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case A.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case A.m:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case A.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case A.g:case A.o:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_init",value:function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._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(){this._matCalendarBody._focusActiveCell()}},{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:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,i=this._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=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Mb(u.h),u.Mb(f.e,8),u.Mb(f.c,8),u.Mb(I.c,8))},t.\u0275cmp=u.Gb({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){var i;1&t&&u.Qc(W,!0),2&t&&u.sc(i=u.ac())&&(e._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,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","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(u.Sb(0,"table",0),u.Sb(1,"thead",1),u.Sb(2,"tr"),u.Hc(3,N,2,2,"th",2),u.Rb(),u.Sb(4,"tr"),u.Nb(5,"th",3),u.Rb(),u.Rb(),u.Sb(6,"tbody",4),u.Zb("selectedValueChange",(function(t){return e._dateSelected(t)}))("keydown",(function(t){return e._handleCalendarBodyKeydown(t)})),u.Rb(),u.Rb()),2&t&&(u.Ab(3),u.kc("ngForOf",e._weekdays),u.Ab(3),u.kc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("selectedValue",e._selectedDate)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[c.s,W],encapsulation:2,changeDetection:0}),t}(),Y=function(){var t=function(){function t(e,i,n){if(g(this,t),this._changeDetectorRef=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=b.a.EMPTY,this.selectedChange=new u.o,this.yearSelected=new u.o,this.activeDateChange=new u.o,!this._dateAdapter)throw V("DateAdapter");this._activeDate=this._dateAdapter.today()}return m(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(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)-Q(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){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));var e=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,i=this._isRtl();switch(t.keyCode){case A.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case A.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case A.q:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case A.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case A.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Q(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case A.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Q(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case A.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case A.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case A.g:case A.o:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_getActiveCell",value:function(){return Q(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(t){var e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new J(t,e,e,this._shouldEnableYear(t))}},{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",Object(E.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(E.l)({opacity:1,transform:"scale(1, 1)"}))),Object(E.m)("* => void",Object(E.e)("100ms linear",Object(E.l)({opacity:0})))]),fadeInCalendar:Object(E.n)("fadeInCalendar",[Object(E.k)("void",Object(E.l)({opacity:0})),Object(E.k)("enter",Object(E.l)({opacity:1})),Object(E.m)("void => *",Object(E.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},rt=0,at=new u.r("mat-datepicker-scroll-strategy"),ot={provide:at,deps:[r.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},st=Object(f.y)((function t(e){g(this,t),this._elementRef=e})),ct=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t))._changeDetectorRef=n,r._animationState="enter",r._animationDone=new p.a,r}return m(i,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._animationDone.complete()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}]),i}(st);return t.\u0275fac=function(e){return new(e||t)(u.Mb(u.l),u.Mb(u.h))},t.\u0275cmp=u.Gb({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){var i;1&t&&u.Qc(it,!0),2&t&&u.sc(i=u.ac())&&(e._calendar=i.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&u.Fc("@transformPanel.done",(function(){return e._animationDone.next()})),2&t&&(u.Gc("@transformPanel",e._animationState),u.Eb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[u.xb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(t,e){1&t&&(u.Sb(0,"mat-calendar",0),u.Zb("selectedChange",(function(t){return e.datepicker.select(t)}))("yearSelected",(function(t){return e.datepicker._selectYear(t)}))("monthSelected",(function(t){return e.datepicker._selectMonth(t)}))("_userSelection",(function(){return e.datepicker.close()})),u.Rb()),2&t&&u.kc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._minDate)("maxDate",e.datepicker._maxDate)("dateFilter",e.datepicker._dateFilter)("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e.datepicker._selected)("dateClass",e.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[it,n.f,c.q],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[nt.transformPanel,nt.fadeInCalendar]},changeDetection:0}),t}(),ut=function(){var t=function(){function t(e,i,n,r,a,o,s,c){if(g(this,t),this._dialog=e,this._overlay=i,this._ngZone=n,this._viewContainerRef=r,this._dateAdapter=o,this._dir=s,this._document=c,this.startView="month",this._touchUi=!1,this.yearSelected=new u.o,this.monthSelected=new u.o,this.openedStream=new u.o,this.closedStream=new u.o,this._opened=!1,this.id="mat-datepicker-"+rt++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=b.a.EMPTY,this._disabledChange=new p.a,this._selectedChanged=new p.a,!this._dateAdapter)throw V("DateAdapter");this._scrollStrategy=a}return m(t,[{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}},{key:"select",value:function(t){var e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}},{key:"_selectYear",value:function(t){this.yearSelected.emit(t)}},{key:"_selectMonth",value:function(t){this.monthSelected.emit(t)}},{key:"_registerInput",value:function(t){var e=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(t){return e._selected=t}))}},{key:"open",value:function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var t=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Object(w.a)(1)).subscribe((function(){return t._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var i=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(i)):i()}}},{key:"_openAsDialog",value:function(){var t=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ct,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe((function(){return t.close()})),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}},{key:"_openAsPopup",value:function(){var t=this,e=new o.d(ct,this._viewContainerRef);this._destroyPopup(),this._createPopup();var i=this._popupComponentRef=this._popupRef.attach(e);i.instance.datepicker=this,i.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Object(w.a)(1)).subscribe((function(){t._popupRef.updatePosition()}))}},{key:"_createPopup",value:function(){var t=this,e=new r.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(v.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(S.a)((function(e){return e.keyCode===A.h||t._datepickerInput&&e.altKey&&e.keyCode===A.q})))).subscribe((function(e){e&&e.preventDefault(),t.close()}))}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"startAt",get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(t){this._startAt=this._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=Object(k.c)(t)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(t){var e=Object(k.c)(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}},{key:"opened",get:function(){return this._opened},set:function(t){t?this.open():this.close()}},{key:"_selected",get:function(){return this._validSelected},set:function(t){this._validSelected=t}},{key:"_minDate",get:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_maxDate",get:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_dateFilter",get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Mb(h.b),u.Mb(r.c),u.Mb(u.A),u.Mb(u.Q),u.Mb(at),u.Mb(f.c,8),u.Mb(I.c,8),u.Mb(c.e,8))},t.\u0275cmp=u.Gb({type:t,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t}(),lt={provide:C.p,useExisting:Object(u.U)((function(){return ft})),multi:!0},ht={provide:C.o,useExisting:Object(u.U)((function(){return ft})),multi:!0},dt=function t(e,i){g(this,t),this.target=e,this.targetElement=i,this.value=this.target.value},ft=function(){var t=function(){function t(e,i,n,r){var a=this;if(g(this,t),this._elementRef=e,this._dateAdapter=i,this._dateFormats=n,this._formField=r,this.dateChange=new u.o,this.dateInput=new u.o,this._valueChange=new u.o,this._disabledChange=new u.o,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=b.a.EMPTY,this._localeSubscription=b.a.EMPTY,this._parseValidator=function(){return a._lastValueValid?null:{matDatepickerParse:{text:a._elementRef.nativeElement.value}}},this._minValidator=function(t){var e=a._getValidDateOrNull(a._dateAdapter.deserialize(t.value));return!a.min||!e||a._dateAdapter.compareDate(a.min,e)<=0?null:{matDatepickerMin:{min:a.min,actual:e}}},this._maxValidator=function(t){var e=a._getValidDateOrNull(a._dateAdapter.deserialize(t.value));return!a.max||!e||a._dateAdapter.compareDate(a.max,e)>=0?null:{matDatepickerMax:{max:a.max,actual:e}}},this._filterValidator=function(t){var e=a._getValidDateOrNull(a._dateAdapter.deserialize(t.value));return a._dateFilter&&e&&!a._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=C.F.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw V("DateAdapter");if(!this._dateFormats)throw V("MAT_DATE_FORMATS");this._localeSubscription=i.localeChanges.subscribe((function(){a.value=a.value}))}return m(t,[{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}},{key:"registerOnValidatorChange",value:function(t){this._validatorOnChange=t}},{key:"validate",value:function(t){return this._validator?this._validator(t):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._cvaOnChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_onKeydown",value:function(t){this._datepicker&&t.altKey&&t.keyCode===A.e&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}},{key:"_onInput",value:function(t){var e=this._lastValueValid,i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!i||this._dateAdapter.isValid(i),i=this._getValidDateOrNull(i),this._dateAdapter.sameDate(i,this._value)?e!==this._lastValueValid&&this._validatorOnChange():(this._value=i,this._cvaOnChange(i),this._valueChange.emit(i),this.dateInput.emit(new dt(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new dt(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"matDatepicker",set:function(t){var e=this;t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(t){e.value=t,e._cvaOnChange(t),e._onTouched(),e.dateInput.emit(new dt(e,e._elementRef.nativeElement)),e.dateChange.emit(new dt(e,e._elementRef.nativeElement))})))}},{key:"matDatepickerFilter",set:function(t){this._dateFilter=t,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);var e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}},{key:"min",get:function(){return this._min},set:function(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(t){var e=Object(k.c)(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&this._isInitialized&&i.blur&&i.blur()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Mb(u.l),u.Mb(f.c,8),u.Mb(f.e,8),u.Mb(R.a,8))},t.\u0275dir=u.Hb({type:t,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(t,e){1&t&&u.Zb("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&&(u.Vb("disabled",e.disabled),u.Bb("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))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[u.zb([lt,ht,{provide:T.a,useExisting:t}])]}),t}(),pt=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=u.Hb({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t}(),gt=function(){var t=function(){function t(e,i,n){g(this,t),this._intl=e,this._changeDetectorRef=i,this._stateChanges=b.a.EMPTY;var r=Number(n);this.tabIndex=r||0===r?r:null}return m(t,[{key:"ngOnChanges",value:function(t){t.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}},{key:"_watchStateChanges",value:function(){var t=this,e=this.datepicker?this.datepicker._disabledChange:Object(y.a)(),i=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(y.a)(),n=this.datepicker?Object(v.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(y.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(v.a)(this._intl.changes,e,i,n).subscribe((function(){return t._changeDetectorRef.markForCheck()}))}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(t){this._disabled=Object(k.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Mb(q),u.Mb(u.h),u.Xb("tabindex"))},t.\u0275cmp=u.Gb({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){var n;1&t&&u.Fb(i,pt,!0),2&t&&u.sc(n=u.ac())&&(e._customIcon=n.first)},viewQuery:function(t,e){var i;1&t&&u.Qc(j,!0),2&t&&u.sc(i=u.ac())&&(e._button=i.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(t,e){1&t&&u.Zb("focus",(function(){return e._button.focus()})),2&t&&(u.Bb("tabindex",e.disabled?null:-1),u.Eb("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"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[u.yb],ngContentSelectors:K,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["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&&(u.jc(U),u.Sb(0,"button",0,1),u.Zb("click",(function(t){return e._open(t)})),u.Hc(2,G,2,0,"svg",2),u.ic(3),u.Rb()),2&t&&(u.kc("disabled",e.disabled)("disableRipple",e.disableRipple),u.Bb("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),u.Ab(2),u.kc("ngIf",!e._customIcon))},directives:[l.b,c.t],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}\n"],encapsulation:2,changeDetection:0}),t}(),bt=function(){var t=function t(){g(this,t)};return t.\u0275mod=u.Kb({type:t}),t.\u0275inj=u.Jb({factory:function(e){return new(e||t)},providers:[q,ot],imports:[[c.c,l.c,h.h,r.f,n.a,o.i],d.c]}),t}()},gcZR:function(t,e,i){"use strict";i.d(e,"a",(function(){return B}));var n=i("EM62"),r=i("cePI"),a=i("FlRo"),o=i("cqs0"),s=i("iAde"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("bFHC"),p=i("Y2X+"),b=i("sEIs"),v=i("TQS+"),y=i("FcRk"),A=i("s2Ay");function w(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function _(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",21),n.Sb(1,"mat-checkbox",22),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function S(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function k(t,e){if(1&t&&(n.Sb(0,"td",21),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function E(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function C(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.name)}}function R(t,e){1&t&&n.Nb(0,"th",19)}function T(t,e){1&t&&(n.Sb(0,"mat-icon",26),n.ec(1,"translate"),n.Jc(2," check_circle_outline "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function I(t,e){1&t&&(n.Sb(0,"mat-icon",26),n.ec(1,"translate"),n.Jc(2," block "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function O(t,e){if(1&t&&(n.Sb(0,"td",24),n.Hc(1,T,3,3,"mat-icon",25),n.Hc(2,I,3,3,"mat-icon",25),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf",i.enabled),n.Ab(1),n.kc("ngIf",!i.enabled)}}function D(t,e){1&t&&(n.Sb(0,"th",19),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function M(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.script)}}function P(t,e){1&t&&(n.Sb(0,"th",23),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function x(t,e){if(1&t&&(n.Sb(0,"td",24),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.description)}}function N(t,e){1&t&&n.Nb(0,"tr",27)}var L=function(t){return["/admin/services",t]};function F(t,e){if(1&t&&n.Nb(0,"tr",28),2&t){var i=e.$implicit,r=n.dc();n.Eb("cursor-pointer",!r.disableRouting)("disable-outline",r.disableRouting),n.kc("routerLink",r.disableRouting?null:n.pc(6,L,i.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.pc(8,L,i.id))}}function z(t,e){1&t&&(n.Sb(0,"app-alert",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function H(t,e){1&t&&(n.Sb(0,"app-alert",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}var B=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.services=[],this.filterValue="",this.pageSize=10,this.hideColumns=[],this.selection=new o.c(!0,[]),this.disableRouting=!1,this.page=new n.o,this.displayedColumns=["select","id","name","enabled","script","description"],this.pageSizeOptions=c.a}return m(t,[{key:"ngOnChanges",value:function(t){var e=this;this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.displayedColumns=this.displayedColumns.filter((function(t){return!e.hideColumns.includes(t)})),this.dataSource=new a.o(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){Object(c.i)(Object(c.n)(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 Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-services-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",hideColumns:"hideColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.yb],decls:28,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"overflow-auto"],[3,"exportData"],["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,"routerLink","perunWebAppsMiddleClickRouterLink","cursor-pointer","disable-outline",4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"div",2),n.Sb(3,"perun-web-apps-table-options",3),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,w,2,3,"th",6),n.Hc(7,_,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,S,3,3,"th",9),n.Hc(10,k,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,E,3,3,"th",9),n.Hc(13,C,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,R,1,0,"th",6),n.Hc(16,O,3,2,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,D,3,3,"th",6),n.Hc(19,M,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,P,3,3,"th",9),n.Hc(22,x,2,1,"td",11),n.Pb(),n.Hc(23,N,1,0,"tr",15),n.Hc(24,F,1,10,"tr",16),n.Rb(),n.Sb(25,"mat-paginator",17),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Rb(),n.Hc(26,z,3,3,"app-alert",18),n.Hc(27,H,3,3,"app-alert",18)),2&t&&(n.kc("hidden",void 0===e.services||0===e.services.length||0===e.dataSource.filteredData.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(19),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&void 0!==e.services&&0!==e.services.length),n.Ab(1),n.kc("ngIf",void 0===e.services||0===e.services.length))},directives:[l.a,a.n,r.a,a.c,a.i,a.b,a.k,a.m,s.a,h.t,a.h,d.a,a.a,r.b,f.a,p.a,a.j,a.l,b.g,v.c,y.a],pipes:[A.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t}()},gdiH:function(t,e,i){"use strict";i.d(e,"a",(function(){return O}));var n=i("EM62"),r=i("cqs0"),a=i("iAde"),o=i("cePI"),s=i("FlRo"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("sEIs"),p=i("TQS+"),b=i("FcRk"),v=i("s2Ay");function y(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",16),n.Sb(1,"mat-checkbox",17),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function A(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function w(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_ID")))}function _(t,e){if(1&t&&(n.Sb(0,"td",18),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function S(t,e){1&t&&(n.Sb(0,"th",20),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_NAME")))}function k(t,e){if(1&t&&(n.Sb(0,"td",21),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.hostname)}}function E(t,e){1&t&&n.Nb(0,"tr",22)}var C=function(t,e){return["/facilities",t,"hosts",e]};function R(t,e){if(1&t&&n.Nb(0,"tr",23),2&t){var i=e.$implicit,r=n.dc();n.kc("routerLink",r.disableRouting?null:n.qc(2,C,r.facilityId,i.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.qc(5,C,r.facilityId,i.id))}}function T(t,e){1&t&&(n.Sb(0,"app-alert",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function I(t,e){1&t&&(n.Sb(0,"app-alert",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.HOSTS_LIST.NO_HOST_WARNING"),"\n"))}var O=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.hosts=[],this.selection=new r.c(!0,[]),this.pageSize=10,this.disableRouting=!1,this.displayedColumns=["select","id","name"],this.page=new n.o,this.pageSizeOptions=c.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new s.o(this.hosts),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"name":return t.hostname;default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=function(e,i){return Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-hosts-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(o.a,!0),n.Dc(a.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{hosts:"hosts",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",facilityId:"facilityId",disableRouting:"disableRouting",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,y,2,3,"th",6),n.Hc(7,A,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,w,3,3,"th",9),n.Hc(10,_,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,S,3,3,"th",9),n.Hc(13,k,2,1,"td",11),n.Pb(),n.Hc(14,E,1,0,"tr",12),n.Hc(15,R,1,8,"tr",13),n.Rb(),n.Rb(),n.Sb(16,"mat-paginator",14),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(17,T,3,3,"app-alert",15),n.Hc(18,I,3,3,"app-alert",15)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.hosts.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(10),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.hosts.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.hosts.length),n.Ab(1),n.kc("ngIf",0===e.hosts.length))},directives:[l.a,s.n,o.a,s.c,s.i,s.b,s.k,s.m,a.a,h.t,s.h,d.a,s.a,o.b,s.j,s.l,f.g,p.c,b.a],pipes:[v.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},got8:function(t,e,i){"use strict";i.d(e,"a",(function(){return T}));var n=i("cqs0"),r=i("X2Q7"),a=i("iyZ4"),o=i("h6su"),s=i("Gtvd"),c=i("8clQ"),u=i("Ssnw"),l=(i("HHEo"),i("EM62")),h=i("sEIs"),d=i("OZ4H"),f=i("0XDM"),p=i("2kYt"),b=i("Y2X+"),v=i("PBFl"),y=i("A8Ay"),A=i("csyo"),w=i("23RZ"),_=i("s2Ay"),S=["list"];function k(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",8),l.Zb("click",(function(){return l.xc(i),l.dc().addResource()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function E(t,e){1&t&&l.Nb(0,"mat-spinner",9)}var C=function(){return["select","id","name","facility","tags","description"]};function R(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-resources-list",10,11),l.Zb("page",(function(t){return l.xc(i),l.dc().pageChanged(t)})),l.Rb()}if(2&t){var n=l.dc();l.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("routingVo",!0)("disableRouting",!n.routingAuth)("selection",n.selected)("groupToResource",n.group)("displayedColumns",l.oc(8,C))}}var T=function(){var t=function(){function t(e,i,r,o,s,c){g(this,t),this.resourcesManager=e,this.groupService=i,this.tableConfigService=r,this.route=o,this.dialog=s,this.guiAuthResolver=c,this.resources=null,this.selected=new n.c(!0,[]),this.filterValue="",this.tableId=a.J,this.addAuth=!1}return m(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.getAssignedRichResourcesWithGroup(this.group.id).subscribe((function(e){t.resources=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=Object(c.o)();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(o.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"removeResource",value:function(){var t=this,e=Object(c.o)();e.width="450px",e.data={theme:"group-theme",resources:this.selected.selected,groupId:this.groupId},this.dialog.open(s.a,e).afterClosed().subscribe((function(e){e&&(t.selected.clear(),t.refreshTable())}))}}]),t}();return t.id="GroupResourcesComponent",t.\u0275fac=function(e){return new(e||t)(l.Mb(r.m),l.Mb(r.h),l.Mb(a.pb),l.Mb(h.a),l.Mb(d.b),l.Mb(u.h))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-group-resources"]],viewQuery:function(t,e){var i;1&t&&l.Qc(S,!0),2&t&&l.sc(i=l.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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","displayedColumns","page",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","displayedColumns","page"],["list",""]],template:function(t,e){1&t&&(l.Sb(0,"div"),l.Sb(1,"h1",0),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"perun-web-apps-refresh-button",1),l.Zb("refresh",(function(){return e.refreshTable()})),l.Rb(),l.Hc(5,k,3,3,"button",2),l.Sb(6,"span",3),l.ec(7,"translate"),l.Sb(8,"button",4),l.Zb("click",(function(){return e.removeResource()})),l.Jc(9),l.ec(10,"translate"),l.Rb(),l.Rb(),l.Sb(11,"perun-web-apps-immediate-filter",5),l.Zb("filter",(function(t){return e.applyFilter(t)})),l.Rb(),l.Hc(12,E,1,0,"mat-spinner",6),l.Hc(13,R,2,9,"perun-web-apps-resources-list",7),l.Rb()),2&t&&(l.Ab(2),l.Kc(l.fc(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),l.Ab(3),l.kc("ngIf",e.addAuth),l.Ab(1),l.lc("matTooltip",l.fc(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),l.kc("matTooltipDisabled",0===e.selected.selected.length||void 0!==e.list&&e.list.removeAuth),l.Ab(2),l.kc("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),l.Ab(1),l.Lc(" ",l.fc(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),l.Ab(2),l.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",e.resources&&!e.loading))},directives:[f.a,p.t,b.a,v.b,y.a,A.c,w.a],pipes:[_.d],styles:[""]}),t}()},gpj7:function(t,e,i){"use strict";i.d(e,"a",(function(){return T}));var n=i("X2Q7"),r=i("Ssnw"),a=i("+MEm"),o=i("8clQ"),s=i("EM62"),c=i("OZ4H"),u=i("s2Ay"),l=i("e4iD"),h=i("2kYt"),d=i("PBFl"),f=i("bFHC"),p=i("sEIs"),b=i("Y2X+"),v=i("f3iV"),y=i("Jb3d");function A(t,e){1&t&&(s.Sb(0,"div",15),s.Sb(1,"span",16),s.Jc(2," ~ \ud83d\uddf2\xa0 "),s.Rb(),s.Sb(3,"span",17),s.Jc(4," DEVEL "),s.Rb(),s.Sb(5,"span",16),s.Jc(6," \xa0\ud83d\uddf2 ~ "),s.Rb(),s.Rb())}function w(t,e){if(1&t){var i=s.Tb();s.Sb(0,"button",18),s.Zb("click",(function(){return s.xc(i),s.dc().reloadRoles()})),s.Jc(1),s.ec(2,"translate"),s.Rb()}2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"NAV.RELOAD_ROLES")," "))}function _(t,e){if(1&t){var i=s.Tb();s.Sb(0,"button",18),s.Zb("click",(function(){return s.xc(i),s.dc().onLogOut()})),s.Jc(1),s.ec(2,"translate"),s.Rb()}2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"NAV.LOGOUT")))}var S=function(t){return{color:t}},k=function(){return["/"]},E=function(t){return{padding:t}},C=function(){return{height:"56px"}},R=function(){return["/myProfile"]},T=function(){var t=function(){function t(e,i,n,r,a,o,s,c,u){g(this,t),this.storeService=e,this.authService=i,this.authzResolverService=n,this.dialog=r,this.notificator=a,this.translateService=o,this.store=s,this.sanitizer=c,this.notificationStorageService=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}return m(t,[{key:"ngAfterViewInit",value:function(){}},{key:"ngOnInit",value:function(){this.isDevel=this.storeService.get("isDevel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.store.get("logo")),this.logoutEnabled=this.storeService.get("log_out_enabled")}},{key:"onLogOut",value:function(){this.authService.logout()}},{key:"showNotificationHistory",value:function(){this.notificationStorageService.newNotificationsCount=0;var t=Object(o.o)();t.width="520px",this.dialog.open(a.a,t)}},{key:"getNewNotificationsCount",value:function(){return this.notificationStorageService.newNotificationsCount}},{key:"reloadRoles",value:function(){var t=this;this.authzResolverService.loadAuthorizationComponents().subscribe((function(){return t.notificator.showSuccess(t.translateService.instant("NAV.RELOAD_ROLES_SUCCESS"))}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(r.m),s.Mb(r.d),s.Mb(n.d),s.Mb(c.b),s.Mb(r.l),s.Mb(u.e),s.Mb(r.m),s.Mb(l.b),s.Mb(r.k))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:25,vars:43,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"],["mat-button","",3,"matMenuTriggerFor"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"routerLink"],["mat-menu-item","",3,"click",4,"ngIf"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"],["mat-menu-item","",3,"click"]],template:function(t,e){if(1&t&&(s.Sb(0,"div",0),s.Sb(1,"button",1),s.Zb("click",(function(){return e.sideNav.toggle()})),s.Sb(2,"mat-icon",2),s.Jc(3," menu "),s.Rb(),s.Rb(),s.Sb(4,"a",3),s.Nb(5,"div",4,5),s.Rb(),s.Rb(),s.Hc(7,A,7,0,"div",6),s.Sb(8,"div",7),s.Sb(9,"button",8),s.Zb("click",(function(){return e.showNotificationHistory()})),s.ec(10,"translate"),s.Sb(11,"mat-icon",9),s.Jc(12),s.Rb(),s.Rb(),s.Sb(13,"button",10),s.Sb(14,"mat-icon",2),s.Jc(15," person "),s.Rb(),s.Sb(16,"span",11),s.Jc(17),s.Rb(),s.Rb(),s.Sb(18,"mat-menu",null,12),s.Sb(20,"button",13),s.Jc(21),s.ec(22,"translate"),s.Rb(),s.Hc(23,w,3,3,"button",14),s.Hc(24,_,3,3,"button",14),s.Rb(),s.Rb()),2&t){var i=s.tc(19);s.kc("ngStyle",s.pc(28,S,e.navTextColor)),s.Ab(2),s.kc("ngStyle",s.pc(30,S,e.iconColor)),s.Ab(2),s.kc("routerLink",s.oc(32,k))("ngStyle",s.pc(33,E,e.logoPadding)),s.Ab(1),s.kc("innerHTML",e.logo,s.yc)("ngStyle",s.oc(35,C)),s.Ab(2),s.kc("ngIf",e.isDevel),s.Ab(1),s.kc("ngStyle",s.pc(36,S,e.navTextColor)),s.Ab(1),s.kc("matTooltip",s.fc(10,24,"NAV.NOTIFICATIONS_TOOLTIP")),s.Ab(2),s.lc("matBadge",e.getNewNotificationsCount()>5?"5+":e.getNewNotificationsCount()),s.kc("ngStyle",s.pc(38,S,e.iconColor))("matBadgeHidden",0===e.getNewNotificationsCount()),s.Ab(1),s.Lc(" ",e.getNewNotificationsCount()?"notifications_active":"notifications"," "),s.Ab(1),s.kc("matMenuTriggerFor",i),s.Ab(1),s.kc("ngStyle",s.pc(40,S,e.iconColor)),s.Ab(3),s.Pc(" ",e.principal.user.titleBefore," ",e.principal.user.firstName," ",e.principal.user.middleName," ",e.principal.user.lastName," ",e.principal.user.titleAfter," "),s.Ab(3),s.kc("routerLink",s.oc(42,R)),s.Ab(1),s.Kc(s.fc(22,26,"NAV.PROFILE")),s.Ab(2),s.kc("ngIf",e.authzResolverService.isPerunAdmin()),s.Ab(1),s.kc("ngIf",e.logoutEnabled)}},directives:[h.w,d.b,f.a,p.i,h.t,b.a,v.a,y.d,y.e,y.b,p.g],pipes:[u.d],styles:["#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}#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:270px}.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}()},h1El:function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("8clQ"),s=i("nIj0"),c=i("EM62"),u=i("s2Ay"),l=i("29Wa"),h=i("Cd2c"),f=i("R7+U"),p=i("2kYt"),b=i("PBFl"),v=i("mFH5"),y=i("1Gb8"),A=i("g3Wv");function w(t,e){if(1&t&&(c.Sb(0,"mat-option",9),c.Jc(1),c.ec(2,"applicationFormItemType"),c.Rb()),2&t){var i=e.$implicit;c.kc("value",i),c.Ab(1),c.Lc(" ",c.fc(2,2,i)," ")}}function _(t,e){if(1&t&&(c.Sb(0,"mat-option",9),c.Jc(1),c.Rb()),2&t){var i=e.$implicit;c.kc("value",i),c.Ab(1),c.Lc(" ",i," ")}}var S=function(){var t=function(){function t(e,i,n,r){g(this,t),this.dialogRef=e,this.data=i,this.translateService=n,this.notificationService=r,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 m(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.g("",[s.F.required,s.F.pattern(".*[\\S]+.*"),s.F.maxLength(129)]),t.nameCtrl.markAllAsTouched(),t.items.push(e);var i,n=d(t.data.applicationFormItems);try{for(n.s();!(i=n.n()).done;){var r=i.value;t.items.push(r.shortname),r.type===a.p.EMBEDDEDGROUPAPPLICATION&&(t.widgets=t.widgets.filter((function(t){return t!==a.p.EMBEDDEDGROUPAPPLICATION})))}}catch(o){n.e(o)}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=Object(o.d)();t.id=this.data.fakeId,t.shortname=this.nameCtrl.value,t.type=this.selectedWidget;for(var e=0;e0)}}function k(t,e){1&t&&(l.Sb(0,"app-alert",15),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.kc("alert_type","info"),l.Ab(1),l.Lc(" ",l.fc(2,2,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function E(t,e){1&t&&(l.Sb(0,"app-alert",16),l.Jc(1),l.ec(2,"translate"),l.Rb()),2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function C(t,e){1&t&&l.Nb(0,"mat-spinner",17)}var R=function(){var t=function(){function t(e,i,n,r,a,c,u){g(this,t),this.dialogRef=e,this.data=i,this.tableConfigService=n,this.userManager=r,this.storeService=a,this.notificator=c,this.translate=u,this.loading=!1,this.selection=new s.c(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=o.fb}return m(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 u.g("",[u.F.required,u.F.pattern(".*[\\S]+.*")])}},{key:"onAdd",value:function(){var t,e,i=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(){i.notificator.showSuccess(i.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),i.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=[c.a.USER_DEF_ORGANIZATION,c.a.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)(l.Mb(n.i),l.Mb(n.a),l.Mb(o.pb),l.Mb(r.q),l.Mb(a.m),l.Mb(a.l),l.Mb(h.e))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-connect-identity"]],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&&(l.Sb(0,"div",0),l.Zb("keyup",(function(t){return e.onKeyInput(t)})),l.Sb(1,"h1",1),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"div",2),l.Sb(5,"mat-form-field",3),l.Sb(6,"label"),l.Nb(7,"input",4),l.ec(8,"translate"),l.Rb(),l.Sb(9,"mat-error"),l.Jc(10),l.ec(11,"translate"),l.Rb(),l.Rb(),l.Sb(12,"button",5),l.Zb("click",(function(){return e.onSearchByString()})),l.Sb(13,"mat-icon"),l.Jc(14,"search"),l.Rb(),l.Rb(),l.Hc(15,S,2,1,"div",6),l.Hc(16,k,3,4,"app-alert",7),l.Hc(17,E,3,3,"app-alert",8),l.Rb(),l.Hc(18,C,1,0,"mat-spinner",9),l.Sb(19,"div",10),l.Sb(20,"button",11),l.Zb("click",(function(){return e.onCancel()})),l.Jc(21),l.ec(22,"translate"),l.Rb(),l.Sb(23,"button",12),l.Zb("click",(function(){return e.onAdd()})),l.Jc(24),l.ec(25,"translate"),l.Rb(),l.Rb(),l.Rb()),2&t&&(l.Cb(e.theme),l.Ab(2),l.Kc(l.fc(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE")),l.Ab(5),l.lc("placeholder",l.fc(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),l.kc("formControl",e.searchCtrl),l.Ab(3),l.Lc(" ",l.fc(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),l.Ab(2),l.kc("disabled",e.loading),l.Ab(3),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",!e.firstSearchDone),l.Ab(1),l.kc("ngIf",!e.loading&&e.firstSearchDone&&0===e.identities.length),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(3),l.Lc(" ",l.fc(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),l.Ab(2),l.kc("disabled",0===e.selection.selected.length),l.Ab(1),l.Lc(" ",l.fc(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[n.j,n.g,d.c,f.b,u.c,u.r,u.h,d.b,p.b,b.a,v.t,n.c,y.a,A.a,w.c],pipes:[h.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),t}()},hLiN:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){return Object(n.G)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"userVo",type:t,pure:!0}),t}()},hQLc:function(t,e,i){"use strict";i.d(e,"a",(function(){return M}));var n=i("X2Q7"),r=i("iyZ4"),a=i("cqs0"),o=i("8clQ"),s=i("c9OP"),c=i("6mVK"),u=i("Ssnw"),l=(i("HHEo"),i("EM62")),h=i("sEIs"),d=i("OZ4H"),f=i("2kYt"),p=i("0XDM"),b=i("PBFl"),v=i("Y2X+"),y=i("A8Ay"),A=i("csyo"),w=i("K9kF"),_=i("s2Ay"),S=["list"];function k(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-refresh-button",7),l.Zb("refresh",(function(){return l.xc(i),l.dc().refreshTable()})),l.Rb()}}function E(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",8),l.Zb("click",(function(){return l.xc(i),l.dc().addGroup()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function C(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",11),l.Zb("click",(function(){return l.xc(i),l.dc(2).removeGroup()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}if(2&t){var n=l.dc(2);l.kc("disabled",0===n.selection.selected.length||void 0!==n.list&&!n.list.removeAuth),l.Ab(1),l.Lc(" ",l.fc(2,2,"MEMBER_DETAIL.GROUPS.REMOVE")," ")}}function R(t,e){if(1&t&&(l.Sb(0,"span",9),l.ec(1,"translate"),l.Hc(2,C,3,4,"button",10),l.Rb()),2&t){var i=l.dc();l.lc("matTooltip",l.fc(1,3,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),l.kc("matTooltipDisabled",void 0===i.list||void 0!==i.list&&i.list.removeAuth),l.Ab(2),l.kc("ngIf",!i.loading)}}function T(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-immediate-filter",12),l.Zb("filter",(function(t){return l.xc(i),l.dc().applyFilter(t)})),l.Rb()}2&t&&l.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH")}function I(t,e){1&t&&l.Nb(0,"mat-spinner",13)}var O=function(){return["vo","menu","recent"]};function D(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-groups-list",14,15),l.Zb("page",(function(t){return l.xc(i),l.dc().pageChanged(t)}))("refreshTable",(function(){return l.xc(i),l.dc().refreshTable()})),l.Rb()}if(2&t){var n=l.dc();l.kc("pageSize",n.pageSize)("groups",n.groups)("hideColumns",l.oc(8,O))("selection",n.selection)("filter",n.filterValue)("memberId",n.memberId)("disableRouting",!n.routeAuth)("authType","member-groups")}}var M=function(){var t=function(){function t(e,i,n,o,s,c){g(this,t),this.groupsService=e,this.tableConfigService=i,this.route=n,this.dialog=o,this.authResolver=s,this.memberService=c,this.filterValue="",this.tableId=r.P,this.selection=new a.c(!0,[])}return m(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=Object(o.o)();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(s.a,e).afterClosed().subscribe((function(e){e&&t.refreshTable()}))}},{key:"removeGroup",value:function(){var t=this,e=Object(o.o)();e.width="650px",e.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(c.a,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.Mb(n.h),l.Mb(r.pb),l.Mb(h.a),l.Mb(d.b),l.Mb(u.h),l.Mb(n.i))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-member-groups"]],viewQuery:function(t,e){var i;1&t&&l.Qc(S,!0),2&t&&l.sc(i=l.ac())&&(e.list=i.first)},hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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","hideColumns","selection","filter","memberId","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","hideColumns","selection","filter","memberId","disableRouting","authType","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(l.Sb(0,"h1",0),l.Jc(1),l.ec(2,"translate"),l.Rb(),l.Hc(3,k,1,0,"perun-web-apps-refresh-button",1),l.Hc(4,E,3,3,"button",2),l.Hc(5,R,3,5,"span",3),l.Hc(6,T,1,1,"perun-web-apps-immediate-filter",4),l.Hc(7,I,1,0,"mat-spinner",5),l.Hc(8,D,2,9,"perun-web-apps-groups-list",6)),2&t&&(l.Ab(1),l.Kc(l.fc(2,7,"MEMBER_DETAIL.GROUPS.TITLE")),l.Ab(2),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",!e.loading&&e.addAuth),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",!e.loading),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading))},directives:[f.t,p.a,b.b,v.a,y.a,A.c,w.a],pipes:[_.d],styles:[""]}),t}()},hiWg:function(t,e,i){"use strict";i.d(e,"a",(function(){return k}));var n=i("OZ4H"),r=i("nIj0"),a=i("X2Q7"),o=i("Ssnw"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),d=i("29Wa"),f=i("Cd2c"),p=i("R7+U"),b=i("mFH5");function v(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function y(t,e){1&t&&(s.Sb(0,"div",15),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function A(t,e){1&t&&(s.Sb(0,"div",15),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Lc(" ",s.fc(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function w(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function _(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function S(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",7),s.Hc(1,y,3,3,"div",8),s.Hc(2,A,3,3,"div",8),s.Sb(3,"mat-form-field",9),s.Nb(4,"input",10),s.ec(5,"translate"),s.Hc(6,w,3,3,"mat-error",11),s.Rb(),s.Sb(7,"mat-form-field",9),s.Nb(8,"textarea",10),s.ec(9,"translate"),s.Hc(10,_,3,3,"mat-error",11),s.Rb(),s.Sb(11,"mat-form-field",9),s.Sb(12,"mat-label"),s.Jc(13),s.ec(14,"translate"),s.Rb(),s.Sb(15,"mat-select",12),s.Zb("valueChange",(function(t){return s.xc(i),s.dc().language=t})),s.Sb(16,"mat-option",13),s.Jc(17),s.ec(18,"translate"),s.Rb(),s.Sb(19,"mat-option",14),s.Jc(20),s.ec(21,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(1),s.kc("ngIf",!n.data.groupId),s.Ab(1),s.kc("ngIf",n.data.groupId),s.Ab(2),s.lc("placeholder",s.fc(5,12,"DIALOGS.INVITE_MEMBER.NAME")),s.kc("formControl",n.name),s.Ab(2),s.kc("ngIf",n.name.invalid),s.Ab(2),s.lc("placeholder",s.fc(9,14,"DIALOGS.INVITE_MEMBER.EMAIL")),s.kc("formControl",n.emailForm),s.Ab(2),s.kc("ngIf",n.emailForm.invalid),s.Ab(3),s.Kc(s.fc(14,16,"DIALOGS.INVITE_MEMBER.LANGUAGE")),s.Ab(2),s.kc("value",n.language),s.Ab(2),s.Kc(s.fc(18,18,"DIALOGS.INVITE_MEMBER.LANGUAGE_ENGLISH")),s.Ab(3),s.Kc(s.fc(21,20,"DIALOGS.INVITE_MEMBER.LANGUAGE_CZECH"))}}var k=function(){var t=function(){function t(e,i,n,a,o){g(this,t),this.dialogRef=e,this.data=i,this.registrarManager=n,this.notificator=a,this.translate=o,this.emailForm=new r.g("",[r.F.required,r.F.email]),this.language="en",this.name=new r.g("",r.F.required),this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){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.language,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.language,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.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(o.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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"],["value","en"],["value","cs"],[1,"font-italic"]],template:function(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,v,1,0,"mat-spinner",1),s.Hc(5,S,22,22,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),s.Ab(2),s.kc("disabled",e.emailForm.invalid||e.name.invalid||e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,d.c,f.b,r.c,r.C,r.r,r.h,d.g,p.a,b.n,d.b],pipes:[c.d],styles:[""]}),t}()},hilf:function(t,e,i){"use strict";i.d(e,"a",(function(){return L}));var n=i("OZ4H"),r=i("Ssnw"),a=i("X2Q7"),o=i("TkCa"),s=i("Iydx"),c=i("iyZ4"),u=i("EM62"),l=i("s2Ay"),h=i("HHFY"),f=i("2kYt"),p=i("PBFl"),b=i("Y2X+"),v=i("csyo"),y=i("29Wa"),A=i("Cd2c"),w=i("nIj0"),_=i("H0K4"),S=i("k8N0"),k=i("+Tre"),E=i("gcZR"),C=i("aFDG"),R=["copiedTooltip"];function T(t,e){1&t&&u.Nb(0,"mat-spinner",12)}function I(t,e){1&t&&(u.Sb(0,"mat-error"),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function O(t,e){1&t&&(u.Sb(0,"mat-error"),u.Jc(1),u.ec(2,"translate"),u.Rb()),2&t&&(u.Ab(1),u.Kc(u.fc(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}var D=function(){return["select","description"]};function M(t,e){if(1&t){var i=u.Tb();u.Sb(0,"div",13),u.Sb(1,"mat-form-field",3),u.Sb(2,"label"),u.Sb(3,"input",14),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).attDef.displayName=t})),u.ec(4,"translate"),u.Rb(),u.Rb(),u.Hc(5,I,3,3,"mat-error",2),u.Rb(),u.Nb(6,"br"),u.Sb(7,"mat-form-field",3),u.Sb(8,"label"),u.Sb(9,"textarea",15),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).attDef.description=t})),u.ec(10,"translate"),u.Jc(11," "),u.Rb(),u.Rb(),u.Hc(12,O,3,3,"mat-error",2),u.Rb(),u.Nb(13,"br"),u.Sb(14,"div",16),u.Sb(15,"p"),u.Jc(16),u.ec(17,"translate"),u.Rb(),u.Sb(18,"p",17),u.Zb("click",(function(){return u.xc(i),u.dc(2).attDef.unique=!1})),u.Jc(19,"OFF"),u.Rb(),u.Sb(20,"mat-slide-toggle",18),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).attDef.unique=t})),u.ec(21,"translate"),u.Jc(22," ON "),u.Rb(),u.Rb(),u.Sb(23,"div",19),u.Sb(24,"p",20),u.Jc(25),u.ec(26,"translate"),u.Rb(),u.Sb(27,"p",21),u.Jc(28),u.ec(29,"translate"),u.Rb(),u.Rb(),u.Sb(30,"div",22),u.Sb(31,"p",23),u.Jc(32),u.ec(33,"translate"),u.Rb(),u.Sb(34,"mat-checkbox",24),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).readSelf=t})),u.Rb(),u.Sb(35,"mat-checkbox",25),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).writeSelf=t})),u.Rb(),u.Rb(),u.Sb(36,"div",22),u.Sb(37,"p",23),u.Jc(38),u.ec(39,"translate"),u.Rb(),u.Sb(40,"mat-checkbox",26),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).readSelfPublic=t})),u.Rb(),u.Sb(41,"mat-checkbox",25),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).writeSelfPublic=t})),u.Rb(),u.Rb(),u.Sb(42,"div",22),u.Sb(43,"p",23),u.Jc(44),u.ec(45,"translate"),u.Rb(),u.Sb(46,"mat-checkbox",27),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).readSelfVo=t})),u.Rb(),u.Sb(47,"mat-checkbox",25),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).writeSelfVo=t})),u.Rb(),u.Rb(),u.Sb(48,"div",22),u.Sb(49,"p",23),u.Jc(50),u.ec(51,"translate"),u.Rb(),u.Sb(52,"mat-checkbox",28),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).readVo=t})),u.Rb(),u.Sb(53,"mat-checkbox",25),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).writeVo=t})),u.Rb(),u.Rb(),u.Sb(54,"div",22),u.Sb(55,"p",23),u.Jc(56),u.ec(57,"translate"),u.Rb(),u.Sb(58,"mat-checkbox",29),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).readGroup=t})),u.Rb(),u.Sb(59,"mat-checkbox",25),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).writeGroup=t})),u.Rb(),u.Rb(),u.Sb(60,"div",22),u.Sb(61,"p",23),u.Jc(62),u.ec(63,"translate"),u.Rb(),u.Sb(64,"mat-checkbox",27),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).readFacility=t})),u.Rb(),u.Sb(65,"mat-checkbox",25),u.Zb("ngModelChange",(function(t){return u.xc(i),u.dc(2).writeFacility=t})),u.Rb(),u.Rb(),u.Sb(66,"div",30),u.Sb(67,"p"),u.Jc(68),u.ec(69,"translate"),u.Rb(),u.Nb(70,"app-services-list",31),u.Rb(),u.Rb()}if(2&t){var n=u.dc(2);u.Ab(3),u.lc("placeholder",u.fc(4,35,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),u.kc("ngModel",n.attDef.displayName),u.Ab(2),u.kc("ngIf",""===n.attDef.displayName),u.Ab(4),u.lc("placeholder",u.fc(10,37,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DESCRIPTION")),u.kc("ngModel",n.attDef.description),u.Ab(3),u.kc("ngIf",""===n.attDef.description),u.Ab(4),u.Kc(u.fc(17,39,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.UNIQUE")),u.Ab(4),u.lc("matTooltip",u.fc(21,41,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),u.kc("matTooltipDisabled",!n.disableUniqueToggle())("disabled",n.disableUniqueToggle())("ngModel",n.attDef.unique),u.Ab(5),u.Kc(u.fc(26,43,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),u.Ab(3),u.Kc(u.fc(29,45,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),u.Ab(4),u.Kc(u.fc(33,47,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),u.Ab(2),u.kc("ngModel",n.readSelf),u.Ab(1),u.kc("ngModel",n.writeSelf),u.Ab(3),u.Kc(u.fc(39,49,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),u.Ab(2),u.kc("ngModel",n.readSelfPublic),u.Ab(1),u.kc("ngModel",n.writeSelfPublic),u.Ab(3),u.Kc(u.fc(45,51,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),u.Ab(2),u.kc("ngModel",n.readSelfVo),u.Ab(1),u.kc("ngModel",n.writeSelfVo),u.Ab(3),u.Kc(u.fc(51,53,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),u.Ab(2),u.kc("ngModel",n.readVo),u.Ab(1),u.kc("ngModel",n.writeVo),u.Ab(3),u.Kc(u.fc(57,55,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),u.Ab(2),u.kc("ngModel",n.readGroup),u.Ab(1),u.kc("ngModel",n.writeGroup),u.Ab(3),u.Kc(u.fc(63,57,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),u.Ab(2),u.kc("ngModel",n.readFacility),u.Ab(1),u.kc("ngModel",n.writeFacility),u.Ab(3),u.Kc(u.fc(69,59,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SERVICES")),u.Ab(2),u.kc("services",n.services)("hideColumns",u.oc(61,D))("disableRouting",!0)}}function P(t,e){if(1&t){var i=u.Tb();u.Sb(0,"button",32),u.Zb("click",(function(){return u.xc(i),u.dc(2).switchShowKeys()})),u.Jc(1),u.ec(2,"translate"),u.Rb()}2&t&&(u.Ab(1),u.Lc(" ",u.fc(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SHOW_KEYS")," "))}function x(t,e){if(1&t){var i=u.Tb();u.Sb(0,"div"),u.Sb(1,"div",3),u.Sb(2,"h1",4),u.Jc(3),u.Rb(),u.Hc(4,T,1,0,"mat-spinner",5),u.Hc(5,M,71,62,"div",6),u.Sb(6,"div",7),u.Hc(7,P,3,3,"button",8),u.Sb(8,"button",9),u.Zb("click",(function(){return u.xc(i),u.dc().onCopy()})),u.Jc(9),u.ec(10,"translate"),u.Rb(),u.Sb(11,"button",10),u.Zb("click",(function(){return u.xc(i),u.dc().onCancel()})),u.Jc(12),u.ec(13,"translate"),u.Rb(),u.Sb(14,"button",11),u.Zb("click",(function(){return u.xc(i),u.dc().onSubmit()})),u.ec(15,"translate"),u.Jc(16),u.ec(17,"translate"),u.Rb(),u.Rb(),u.Rb(),u.Rb()}if(2&t){var n=u.dc();u.Ab(3),u.Kc(n.attDef.namespace+":"+n.attDef.friendlyName),u.Ab(1),u.kc("ngIf",n.loading),u.Ab(1),u.kc("ngIf",!n.loading),u.Ab(2),u.kc("ngIf","entityless"===n.attDef.entity),u.Ab(2),u.Lc(" ",u.fc(10,10,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FOR_IMPORT")," "),u.Ab(3),u.Lc(" ",u.fc(13,12,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CANCEL")," "),u.Ab(2),u.lc("matTooltip",u.fc(15,14,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),u.kc("disabled",n.disableConfirmButton()||n.loading)("matTooltipDisabled",!n.disableConfirmButton()),u.Ab(2),u.Lc(" ",u.fc(17,16,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CONFIRM")," ")}}function N(t,e){if(1&t){var i=u.Tb();u.Sb(0,"div"),u.Sb(1,"app-entityless-attribute-keys-list",33),u.Zb("page",(function(t){return u.xc(i),u.dc().pageChanged(t)}))("switchView",(function(){return u.xc(i),u.dc().switchShowKeys()})),u.Rb(),u.Rb()}if(2&t){var n=u.dc();u.Ab(1),u.kc("pageSize",n.pageSize)("attDef",n.attDef)}}var L=function(){var t=function(){function t(e,i,n,r,a,o,s,u,l){g(this,t),this.dialog=e,this.dialogRef=i,this.data=n,this.notificator=r,this.translate=a,this.clipboard=o,this.attributesManager=s,this.tableConfigService=u,this.serviceService=l,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=c.t,this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){var t=this;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((function(e){t.services=e,t.attributesManager.getAttributeRights(t.attDef.id).subscribe((function(e){t.fromRightsToCheckboxes(e),t.loading=!1}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1}))}},{key:"disableConfirmButton",value:function(){return""===this.attDef.displayName||""===this.attDef.description}},{key:"disableUniqueToggle",value:function(){return this.attDef.namespace.includes("virt")||this.attDef.namespace.includes("core")||"entityless"===this.attDef.entity}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.attributesManager.updateAttributeDefinition({attributeDefinition:this.attDef}).subscribe((function(e){t.attDef=e,t.attributesManager.setAttributeRights({rights:t.fromCheckboxesToRights()}).subscribe((function(){t.translate.get("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1}))}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"fromCheckboxesToRights",value:function(){var t=[],e={};e.attributeId=this.attDef.id,e.role=s.a.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);var i={};i.attributeId=this.attDef.id,i.role=s.a.VOADMIN,i.rights=[],this.readVo&&i.rights.push("READ"),this.writeVo&&i.rights.push("WRITE"),t.push(i);var n={};n.attributeId=this.attDef.id,n.role=s.a.GROUPADMIN,n.rights=[],this.readGroup&&n.rights.push(a.a.READ),this.writeGroup&&n.rights.push("WRITE"),t.push(n);var r={};return r.attributeId=this.attDef.id,r.role=s.a.FACILITYADMIN,r.rights=[],this.readFacility&&r.rights.push("READ"),this.writeFacility&&r.rights.push("WRITE"),t.push(r),t}},{key:"fromRightsToCheckboxes",value:function(t){var e,i=d(t);try{for(i.s();!(e=i.n()).done;){var n=e.value;switch(n.role){case s.a.SELF:n.rights.includes("READ")&&(this.readSelf=!0),n.rights.includes("READ_PUBLIC")&&(this.readSelfPublic=!0),n.rights.includes("READ_VO")&&(this.readSelfVo=!0),n.rights.includes("WRITE")&&(this.writeSelf=!0),n.rights.includes("WRITE_PUBLIC")&&(this.writeSelfPublic=!0),n.rights.includes("WRITE_VO")&&(this.writeSelfVo=!0);break;case s.a.GROUPADMIN:n.rights.includes("READ")&&(this.readGroup=!0),n.rights.includes("WRITE")&&(this.writeGroup=!0);break;case s.a.FACILITYADMIN:n.rights.includes("READ")&&(this.readFacility=!0),n.rights.includes("WRITE")&&(this.writeFacility=!0);break;case s.a.VOADMIN:n.rights.includes("READ")&&(this.readVo=!0),n.rights.includes("WRITE")&&(this.writeVo=!0)}}}catch(r){i.e(r)}finally{i.f()}}},{key:"switchShowKeys",value:function(){this.showKeys=!this.showKeys,this.showKeys?(this.dialogRef.updateSize("800px"),this.activatedComponent="Entityless"):(this.dialogRef.updateSize("700px"),this.activatedComponent="Edit")}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"onCopy",value:function(){var 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"))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Mb(n.b),u.Mb(n.i),u.Mb(n.a),u.Mb(r.l),u.Mb(l.e),u.Mb(h.b),u.Mb(a.c),u.Mb(c.pb),u.Mb(a.n))},t.\u0275cmp=u.Gb({type:t,selectors:[["app-edit-attribute-definition-dialog"]],viewQuery:function(t,e){var i;1&t&&u.Qc(R,!0),2&t&&u.sc(i=u.ac())&&(e.copiedToolTip=i.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","hideColumns","disableRouting"],["mat-flat-button","",1,"ml-0",3,"click"],[3,"pageSize","attDef","page","switchView"]],template:function(t,e){1&t&&(u.Sb(0,"div",0),u.Sb(1,"div",1),u.Hc(2,x,18,18,"div",2),u.Hc(3,N,2,2,"div",2),u.Rb(),u.Rb()),2&t&&(u.Ab(2),u.kc("ngIf",!e.showKeys),u.Ab(1),u.kc("ngIf",e.showKeys))},directives:[f.t,n.j,n.c,p.b,b.a,v.c,n.g,y.c,A.b,w.c,w.C,w.r,w.u,_.c,S.a,k.a,E.a,y.b,C.a],pipes:[l.d],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:[o.g,o.e,o.f]}}),t}()},"i9P/":function(t,e,i){"use strict";function n(t){setTimeout((function(){throw t}),0)}i.d(e,"a",(function(){return n}))},i9xl:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("IdLP"),r=i("GoAz"),a=i("6Oco");function o(t){return new n.a((function(e){var i;try{i=t()}catch(n){return void e.error(n)}return(i?Object(r.a)(i):Object(a.b)()).subscribe(e)}))}},iAde:function(t,e,i){"use strict";i.d(e,"a",(function(){return R})),i.d(e,"b",(function(){return T}));var n=i("2kYt"),r=i("EM62"),o=i("PBFl"),u=i("R7+U"),l=i("Y2X+"),h=i("5XID"),d=i("ZTXN"),f=i("mFH5"),p=i("29Wa");function b(t,e){if(1&t&&(r.Sb(0,"mat-option",19),r.Jc(1),r.Rb()),2&t){var i=e.$implicit;r.kc("value",i),r.Ab(1),r.Lc(" ",i," ")}}function v(t,e){if(1&t){var i=r.Tb();r.Sb(0,"mat-form-field",16),r.Sb(1,"mat-select",17),r.Zb("selectionChange",(function(t){return r.xc(i),r.dc(2)._changePageSize(t.value)})),r.Hc(2,b,2,2,"mat-option",18),r.Rb(),r.Rb()}if(2&t){var n=r.dc(2);r.kc("color",n.color),r.Ab(1),r.kc("value",n.pageSize)("disabled",n.disabled)("aria-label",n._intl.itemsPerPageLabel),r.Ab(1),r.kc("ngForOf",n._displayedPageSizeOptions)}}function y(t,e){if(1&t&&(r.Sb(0,"div",20),r.Jc(1),r.Rb()),2&t){var i=r.dc(2);r.Ab(1),r.Kc(i.pageSize)}}function A(t,e){if(1&t&&(r.Sb(0,"div",12),r.Sb(1,"div",13),r.Jc(2),r.Rb(),r.Hc(3,v,3,5,"mat-form-field",14),r.Hc(4,y,2,1,"div",15),r.Rb()),2&t){var i=r.dc();r.Ab(2),r.Lc(" ",i._intl.itemsPerPageLabel," "),r.Ab(1),r.kc("ngIf",i._displayedPageSizeOptions.length>1),r.Ab(1),r.kc("ngIf",i._displayedPageSizeOptions.length<=1)}}function w(t,e){if(1&t){var i=r.Tb();r.Sb(0,"button",21),r.Zb("click",(function(){return r.xc(i),r.dc().firstPage()})),r.cc(),r.Sb(1,"svg",7),r.Nb(2,"path",22),r.Rb(),r.Rb()}if(2&t){var n=r.dc();r.kc("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),r.Bb("aria-label",n._intl.firstPageLabel)}}function _(t,e){if(1&t){var i=r.Tb();r.cc(),r.bc(),r.Sb(0,"button",23),r.Zb("click",(function(){return r.xc(i),r.dc().lastPage()})),r.cc(),r.Sb(1,"svg",7),r.Nb(2,"path",24),r.Rb(),r.Rb()}if(2&t){var n=r.dc();r.kc("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),r.Bb("aria-label",n._intl.lastPageLabel)}}var S=function(){var t=function t(){g(this,t),this.changes=new d.a,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 "+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=Object(r.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),k={provide:S,deps:[[new r.B,new r.K,S]],useFactory:function(t){return t||new S}},E=new r.r("MAT_PAGINATOR_DEFAULT_OPTIONS"),C=Object(f.A)(Object(f.C)((function t(){g(this,t)}))),R=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a){var o;if(g(this,i),(o=e.call(this))._intl=t,o._changeDetectorRef=n,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new r.o,o._intlChanges=t.changes.subscribe((function(){return o._changeDetectorRef.markForCheck()})),a){var s=a.pageSize,u=a.pageSizeOptions,l=a.hidePageSize,h=a.showFirstLastButtons;null!=s&&(o._pageSize=s),null!=u&&(o._pageSizeOptions=u),null!=l&&(o._hidePageSize=l),null!=h&&(o._showFirstLastButtons=h)}return c(o)}return m(i,[{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.pageIndex0?"sync_problem":(null!==u&&u.trim(),"sync")}if(a){var l=Object(r.l)(t.attributes,n.a.GROUP_LAST_STRUCTURE_SYNC_STATE),h=Object(r.l)(t.attributes,n.a.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=a.Lb({name:"groupSyncIcon",type:t,pure:!0}),t}()},iT3j:function(t,e,i){"use strict";i.d(e,"a",(function(){return I}));var n=i("EM62"),r=i("cePI"),a=i("cqs0"),o=i("FlRo"),s=i("iAde"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("FcRk"),p=i("s2Ay");function b(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",17),n.Sb(1,"mat-checkbox",18),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function v(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",19),n.Sb(1,"mat-checkbox",20),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function y(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")))}function A(t,e){if(1&t&&(n.Sb(0,"td",19),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function w(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")))}function _(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.name)}}function S(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")))}function k(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.description)}}function E(t,e){1&t&&n.Nb(0,"tr",23)}function C(t,e){1&t&&n.Nb(0,"tr",24)}function R(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function T(t,e){1&t&&(n.Sb(0,"app-alert",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}var I=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.securityTeams=[],this.selection=new a.c(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","description"],this.page=new n.o,this.pageSizeOptions=c.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new o.o(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"description":return t.description;default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(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 Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-security-teams-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,b,2,3,"th",6),n.Hc(7,v,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,y,3,3,"th",9),n.Hc(10,A,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,w,3,3,"th",9),n.Hc(13,_,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,S,3,3,"th",9),n.Hc(16,k,2,1,"td",11),n.Pb(),n.Hc(17,E,1,0,"tr",13),n.Hc(18,C,1,0,"tr",14),n.Rb(),n.Rb(),n.Sb(19,"mat-paginator",15),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(20,R,3,3,"app-alert",16),n.Hc(21,T,3,3,"app-alert",16)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.securityTeams.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(13),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.securityTeams.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.securityTeams.length),n.Ab(1),n.kc("ngIf",0===e.securityTeams.length))},directives:[l.a,o.n,r.a,o.c,o.i,o.b,o.k,o.m,s.a,h.t,o.h,d.a,o.a,r.b,o.j,o.l,f.a],pipes:[p.d],styles:[""]}),t}()},"ipn+":function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("EM62"),s=i("s2Ay"),c=i("2kYt"),u=i("YRqw"),l=i("ABWF"),h=i("PBFl"),d=i("csyo");function f(t,e){1&t&&o.Nb(0,"mat-spinner",9)}var p=function(){var t=function(){function t(e,i,n,r,a,o,s,c){var u=this;g(this,t),this.dialogRef=e,this.voService=i,this.groupService=n,this.translateService=r,this.registrarManager=a,this.notificatorService=o,this.apiRequest=s,this.data=c,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 u.successMessage=t})),r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe((function(t){return u.privilegeMessage=t})),r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe((function(t){return u.noFormMessage=t}))}return m(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(e){t.voService.getMyVos().subscribe((function(e){t.vos=e.sort((function(t,e){return t.name>e.name?1:t.name0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new o(t))}}var o=function(){function t(e){g(this,t),this.defaultValue=e}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.defaultValue))}}]),t}(),c=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).defaultValue=n,r.isEmpty=!0,r}return m(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.a)},is9t:function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));var n=i("OZ4H"),r=i("TkCa"),a=i("X2Q7"),o=i("EM62"),s=i("s2Ay"),c=i("2kYt"),u=i("YRqw"),l=i("ABWF"),h=i("PBFl"),d=i("csyo");function f(t,e){1&t&&o.Nb(0,"mat-spinner",9)}var p=function(){var t=function(){function t(e,i,n,r,a,o){g(this,t),this.dialogRef=e,this.voService=i,this.groupService=n,this.translateService=r,this.registrarService=a,this.data=o,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=function(t){return t.name}}return m(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.name0?"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(a){var l=Object(n.l)(t.attributes,r.a.GROUP_LAST_STRUCTURE_SYNC_STATE),h=Object(n.l)(t.attributes,r.a.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=a.Lb({name:"groupSyncToolTip",type:t,pure:!0}),t}()},jIqt:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("qZtG"),r=i("gBlb");function a(){for(var t=arguments.length,e=new Array(t),i=0;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,3}))$/,this.namespaceOptions=[],this.namespaceRules=[],this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new h.c(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=p.jb,this.groupAttrNames=[f.a.GROUP_SYNC_ENABLED,f.a.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}return m(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:["",s.F.required],sponsoredMembers:["",[s.F.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:function(e){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=d(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(a){n.e(a)}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="",a=[],o=0,s=Object.keys(t);o=2;return function(u){return u.pipe(t?Object(r.a)((function(e,i){return t(e,i,u)})):c.a,Object(a.a)(1),i?Object(o.a)(e):Object(s.a)((function(){return new n.a})))}}},jjFd:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("OZ4H"),r=i("EM62"),a=i("2kYt"),o=i("s2Ay"),s=function(){var t=function(){function t(e,i){g(this,t),this.data=e,this.location=i}return m(t,[{key:"ngOnInit",value:function(){}},{key:"redirect",value:function(){this.location.go("/"),location.reload()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(n.a),r.Mb(a.n))},t.\u0275cmp=r.Gb({type:t,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(r.Sb(0,"h2"),r.Jc(1),r.ec(2,"translate"),r.Rb(),r.Sb(3,"p"),r.Jc(4),r.ec(5,"translate"),r.Rb(),r.Sb(6,"div"),r.Sb(7,"button",0),r.Zb("click",(function(){return e.redirect()})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.Lc(" ",r.fc(2,3,e.data.title),"\n"),r.Ab(3),r.Lc(" ",r.fc(5,5,e.data.message),"\n"),r.Ab(4),r.Lc(" ",r.fc(9,7,e.data.action)," "))},pipes:[o.d],styles:[""]}),t}()},jk8c:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"th",14)}function f(t,e){if(1&t&&(s.Sb(0,"td",15),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Mc(" ",i.firstName," ",i.lastName,"")}}function p(t,e){1&t&&s.Nb(0,"tr",16)}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){if(1&t&&(s.Sb(0,"div",6),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",7),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",8),s.Qb(8,9),s.Hc(9,d,1,0,"th",10),s.Hc(10,f,2,2,"td",11),s.Pb(),s.Hc(11,p,1,0,"tr",12),s.Hc(12,b,1,0,"tr",13),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_MANAGERS.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}function y(t,e){1&t&&s.Nb(0,"mat-spinner",18)}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.authzService=a,this.displayedColumns=["name"]}return m(t,[{key:"ngOnInit",value:function(){this.dataSource=new r.o(this.data.managers),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map((function(t){return t.id})),complementaryObject:this.data.complementaryObject}).subscribe((function(){t.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.loading=!1,t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(o.d))},t.\u0275cmp=s.Gb({type:t,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(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,v,13,9,"div",1),s.Hc(5,y,1,0,"mat-spinner",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),s.Ab(2),s.kc("ngIf",!e.loading),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[n.j,u.t,n.c,l.b,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l,h.c],pipes:[c.d],styles:[""]}),t}()},jqZM:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("EM62"),r=i("8clQ"),a=i("LAw4"),o=i("s2Ay"),s=function(){var t=function t(){g(this,t),this.disableAutoSelect=!1,this.userSelected=new n.o,this.userFullNameFunction=r.w};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({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.Sb(0,"perun-web-apps-entity-search-select",0),n.Zb("entitySelected",(function(t){return e.userSelected.emit(t)})),n.ec(1,"translate"),n.ec(2,"translate"),n.ec(3,"translate"),n.Rb()),2&t&&n.kc("entities",e.users)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.userFullNameFunction)("mainTextFunction",e.userFullNameFunction)("selectPlaceholder",n.fc(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",n.fc(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",n.fc(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[a.a],pipes:[o.d],styles:[""]}),t}()},k8N0:function(t,e,i){"use strict";i.d(e,"a",(function(){return E})),i.d(e,"b",(function(){return O})),i.d(e,"c",(function(){return R}));var n=i("TKFd"),r=i("EM62"),o=i("mFH5"),c=i("5XID"),u=i("nIj0"),l=i("5lCh"),h=i("sg/T"),d=i("E5oP"),f=["thumbContainer"],p=["toggleBar"],b=["input"],v=function(){return{enterDuration:150}},y=["*"],A=new r.r("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),w=0,_={provide:u.p,useExisting:Object(r.U)((function(){return E})),multi:!0},S=function t(e,i){g(this,t),this.source=e,this.checked=i},k=Object(o.D)(Object(o.y)(Object(o.z)(Object(o.A)((function t(e){g(this,t),this._elementRef=e}))),"accent")),E=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a,o,s,c,u,l){var h;return g(this,i),(h=e.call(this,t))._focusMonitor=n,h._changeDetectorRef=a,h.defaults=c,h._animationMode=u,h._onChange=function(t){},h._onTouched=function(){},h._uniqueId="mat-slide-toggle-"+ ++w,h._required=!1,h._checked=!1,h.name=null,h.id=h._uniqueId,h.labelPosition="after",h.ariaLabel=null,h.ariaLabelledby=null,h.change=new r.o,h.toggleChange=new r.o,h.dragChange=new r.o,h.tabIndex=parseInt(o)||0,h}return m(i,[{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){this._focusMonitor.focusVia(this._inputElement,"keyboard",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 S(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(c.c)(t)}},{key:"checked",get:function(){return this._checked},set:function(t){this._checked=Object(c.c)(t),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}}]),i}(k);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(h.h),r.Mb(r.h),r.Xb("tabindex"),r.Mb(r.A),r.Mb(A),r.Mb(l.a,8),r.Mb(d.c,8))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){var i;1&t&&(r.Qc(f,!0),r.Qc(p,!0),r.Qc(b,!0)),2&t&&(r.sc(i=r.ac())&&(e._thumbEl=i.first),r.sc(i=r.ac())&&(e._thumbBarEl=i.first),r.sc(i=r.ac())&&(e._inputElement=i.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Vb("id",e.id),r.Bb("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.Eb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},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",dragChange:"dragChange"},exportAs:["matSlideToggle"],features:[r.zb([_]),r.xb],ngContentSelectors:y,decls:16,vars:18,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.jc(),r.Sb(0,"label",0,1),r.Sb(2,"div",2,3),r.Sb(4,"input",4,5),r.Zb("change",(function(t){return e._onChangeEvent(t)}))("click",(function(t){return e._onInputClick(t)})),r.Rb(),r.Sb(6,"div",6,7),r.Nb(8,"div",8),r.Sb(9,"div",9),r.Nb(10,"div",10),r.Rb(),r.Rb(),r.Rb(),r.Sb(11,"span",11,12),r.Zb("cdkObserveContent",(function(){return e._onLabelTextChange()})),r.Sb(13,"span",13),r.Jc(14,"\xa0"),r.Rb(),r.ic(15),r.Rb(),r.Rb()),2&t){var i=r.tc(1),n=r.tc(12);r.Bb("for",e.inputId),r.Ab(2),r.Eb("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),r.Ab(2),r.kc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),r.Bb("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),r.Ab(5),r.kc("matRippleTrigger",i)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.oc(17,v))}},directives:[o.s,n.a],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={provide:u.o,useExisting:Object(r.U)((function(){return R})),multi:!0},R=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(u.b);return t.\u0275fac=function(e){return T(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[r.zb([C]),r.xb]}),t}(),T=r.Ub(R),I=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}(),O=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[I,o.t,o.i,n.c],I,o.i]}),t}()},kLAD:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&s.Nb(0,"th",15)}function p(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.friendlyName," ")}}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){1&t&&s.Nb(0,"tr",18)}function y(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,1,0,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Hc(11,b,1,0,"tr",13),s.Hc(12,v,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Kc(s.fc(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.serviceManager=n,this.notificator=r,this.translate=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new o.o(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(e){return t.loading=!1}))}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(r.i),s.Mb(r.a),s.Mb(n.n),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"div"),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onConfirm()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),s.Ab(2),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL"),""),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE"),""))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[c.d],styles:[""]}),t}()},kdIE:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("EM62"),r=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t,e){if(null===t)return null;var i=t;return i.substring(i.lastIndexOf(".")+1,i.length)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Lb({name:"attributeTypeClean",type:t,pure:!0}),t}()},kuMc:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("pBDD"),r=i("mW0F");function o(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(e){g(this,t),this.notifier=e}return m(t,[{key:"call",value:function(t,e){var i=new u(t),n=Object(r.a)(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}]),t}(),u=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this,t)).seenValue=!1,n}return m(i,[{key:"notifyNext",value:function(t,e,i,n,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),i}(n.a)},l18O:function(t,e,i){"use strict";i.d(e,"a",(function(){return it}));var n=i("EM62"),r=i("cePI"),a=i("iAde"),o=i("8clQ"),s=i("+0js"),c=i("Ssnw"),u=i("g6G6"),l=i("8j5Y"),h=i("OZ4H"),d=i("9wx0"),f=i("2kYt"),p=i("FlRo"),b=i("csyo"),v=i("+Tre"),y=i("bFHC"),A=i("Y2X+"),w=i("sEIs"),_=i("TQS+"),S=i("FcRk"),k=i("s2Ay"),E=i("j+u3"),C=i("C5kn"),R=i("yAs8"),T=i("RK/0"),I=i("IBaA"),O=i("NZNE"),D=i("Log1");function M(t,e){1&t&&(n.Sb(0,"div",23),n.Nb(1,"mat-spinner",24),n.Rb())}function P(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",25),n.Sb(1,"mat-checkbox",26),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function x(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",27),n.Sb(1,"mat-checkbox",28),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function N(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ID")))}function L(t,e){if(1&t&&(n.Sb(0,"td",27),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function F(t,e){1&t&&n.Nb(0,"th",29)}function z(t,e){if(1&t){var i=n.Tb();n.Sb(0,"mat-icon",32),n.Zb("click",(function(t){n.xc(i);var e=n.dc().$implicit;return n.dc().viewMemberGroupTree(t,e)})),n.ec(1,"translate"),n.Jc(2,"transfer_within_a_station"),n.Rb()}2&t&&n.kc("matTooltip",n.fc(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function H(t,e){if(1&t&&(n.Sb(0,"td",30),n.Hc(1,z,3,3,"mat-icon",31),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf","DIRECT"!==i.membershipType)}}function B(t,e){1&t&&(n.Sb(0,"th",29),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.NAME")))}function j(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.user))}}function G(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.STATUS")))}function U(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",30),n.Sb(1,"i",33),n.Zb("click",(function(t){n.xc(i);var r=e.$implicit;return n.dc().changeStatus(t,r)})),n.ec(2,"memberStatusIconColor"),n.ec(3,"memberStatusTooltip"),n.Sb(4,"span"),n.Jc(5),n.ec(6,"memberStatusIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit;n.Ab(1),n.Db("material-icons ",n.fc(2,5,r.status),""),n.lc("matTooltip",n.gc(3,7,r,!1)),n.Ab(4),n.Lc(" ",n.fc(6,10,r.status)," ")}}function K(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function V(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",30),n.Sb(1,"i",33),n.Zb("click",(function(t){n.xc(i);var r=e.$implicit;return n.dc().changeStatus(t,r)})),n.ec(2,"memberStatusIconColor"),n.ec(3,"memberStatusTooltip"),n.Sb(4,"span"),n.Jc(5),n.ec(6,"memberStatusIcon"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit;n.Ab(1),n.Db("material-icons ",n.fc(2,5,r.groupStatus),""),n.lc("matTooltip",n.gc(3,7,r,!0)),n.Ab(4),n.Lc(" ",n.fc(6,10,r.groupStatus)," ")}}function q(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.ORGANIZATION")))}function J(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberOrganization"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function W(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.EMAIL")))}function Z(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberEmail"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function Y(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"MEMBERS_LIST.LOGINS")))}function X(t,e){if(1&t&&(n.Sb(0,"td",30),n.Jc(1),n.ec(2,"memberLogins"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i))}}function Q(t,e){1&t&&n.Nb(0,"tr",34)}var $=function(t,e){return["/organizations",t,"members",e]};function tt(t,e){if(1&t&&n.Nb(0,"tr",35),2&t){var i=e.$implicit,r=n.dc();n.Eb("disable-outline",!r.dataSource.routeAuth)("cursor-pointer",r.dataSource.routeAuth),n.kc("routerLink",r.dataSource.routeAuth?n.qc(6,$,i.voId,i.id):null)("perunWebAppsMiddleClickRouterLink",r.dataSource.routeAuth?n.qc(9,$,i.voId,i.id):null)}}function et(t,e){1&t&&(n.Sb(0,"app-alert",36),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.kc("alert_type","warn"),n.Ab(1),n.Lc(" ",n.fc(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}var it=function(){var t=function(){function t(e,i,r,a){g(this,t),this.dialog=e,this.authResolver=i,this.tableCheckbox=r,this.dynamicPaginatingService=a,this.hideColumns=[],this.pageSize=10,this.selectedGroupStatuses=[],this.page=new n.o,this.exporting=!1,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.pageSizeOptions=o.a}return m(t,[{key:"ngAfterViewInit",value:function(){var t=this;this.sort.sortChange.subscribe((function(){return t.paginator.pageIndex=0})),Object(u.a)(this.sort.sortChange,this.paginator.page).pipe(Object(l.a)((function(){return t.loadMembersPage()}))).subscribe()}},{key:"ngOnInit",value:function(){var t=this;this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.displayedColumns=this.displayedColumns.filter((function(e){return!t.hideColumns.includes(e)})),this.dataSource=new c.j(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.paginator.pageIndex=0,this.loadMembersPage())}},{key:"isAllSelected",value:function(){return this.selection.selected.length===this.pageSize}},{key:"masterToggle",value:function(){var t=this;this.isAllSelected()?this.selection.clear():this.dataSource.getData().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.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"changeStatus",value:function(t,e){var i=this;if(t.stopPropagation(),"INVALID"===e.status){var n=Object(o.o)();n.width="500px",n.data={member:e},this.dialog.open(s.e,n).afterClosed().subscribe((function(t){t&&i.loadMembersPage()}))}}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"loadMembersPage",value:function(){this.dataSource.loadMembers(this.voId,this.attrNames,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.paginator.pageIndex,this.paginator.pageSize,"fullName"===this.sort.active?"NAME":"ID",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}},{key:"exportData",value:function(t){Object(o.i)(Object(o.n)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"getExportDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"fullName":return t.user?Object(o.w)(t.user):"";case"status":return t.status;case"groupStatus":return t.groupStatus;case"organization":return Object(o.A)(t);case"email":return Object(o.v)(t);case"logins":return Object(o.x)(t);default:return""}}},{key:"viewMemberGroupTree",value:function(t,e){t.stopPropagation();var i=Object(o.o)();i.width="800px",i.data={member:e,groupId:this.groupId},this.dialog.open(s.k,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(h.b),n.Mb(c.h),n.Mb(c.n),n.Mb(c.f))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(t,e){var i;1&t&&(n.Qc(a.a,!0),n.Qc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.paginator=i.first),n.sc(i=n.ac())&&(e.sort=i.first))},inputs:{selection:"selection",hideColumns:"hideColumns",pageSize:"pageSize",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",updateTable:"updateTable"},outputs:{page:"page"},features:[n.yb],decls:40,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],["class","spinner-container",4,"ngIf"],[1,"overflow-auto"],["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,"disable-outline","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],[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,"routerLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.ec(1,"async"),n.Sb(2,"div",1),n.Sb(3,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Hc(4,M,2,0,"div",3),n.ec(5,"async"),n.Sb(6,"div",4),n.Sb(7,"table",5),n.Qb(8,6),n.Hc(9,P,2,3,"th",7),n.Hc(10,x,2,2,"td",8),n.Pb(),n.Qb(11,9),n.Hc(12,N,3,3,"th",10),n.Hc(13,L,2,1,"td",8),n.Pb(),n.Qb(14,11),n.Hc(15,F,1,0,"th",10),n.Hc(16,H,2,1,"td",12),n.Pb(),n.Qb(17,13),n.Hc(18,B,3,3,"th",10),n.Hc(19,j,3,3,"td",12),n.Pb(),n.Qb(20,14),n.Hc(21,G,3,3,"th",7),n.Hc(22,U,7,12,"td",12),n.Pb(),n.Qb(23,15),n.Hc(24,K,3,3,"th",7),n.Hc(25,V,7,12,"td",12),n.Pb(),n.Qb(26,16),n.Hc(27,q,3,3,"th",7),n.Hc(28,J,3,3,"td",12),n.Pb(),n.Qb(29,17),n.Hc(30,W,3,3,"th",7),n.Hc(31,Z,3,3,"td",12),n.Pb(),n.Qb(32,18),n.Hc(33,Y,3,3,"th",7),n.Hc(34,X,3,3,"td",12),n.Pb(),n.Hc(35,Q,1,0,"tr",19),n.Hc(36,tt,1,12,"tr",20),n.Rb(),n.Rb(),n.Sb(37,"mat-paginator",21),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(38,et,3,4,"app-alert",22),n.ec(39,"async")),2&t&&(n.kc("hidden",0===e.dataSource.allMemberCount&&!1===n.fc(1,9,e.dataSource.loading$)),n.Ab(4),n.kc("ngIf",n.fc(5,11,e.dataSource.loading$)),n.Ab(3),n.kc("dataSource",e.dataSource),n.Ab(28),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.dataSource.allMemberCount)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.allMemberCount&&!1===n.fc(39,13,e.dataSource.loading$)))},directives:[d.a,f.t,p.n,r.a,p.c,p.i,p.b,p.k,p.m,a.a,b.c,p.h,v.a,p.a,r.b,y.a,A.a,p.j,p.l,w.g,_.c,S.a],pipes:[f.b,k.d,E.a,C.a,R.a,T.a,I.a,O.a,D.a],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}"]}),t}()},lQ7A:function(t,e,i){"use strict";i.d(e,"a",(function(){return U})),i.d(e,"b",(function(){return K})),i.d(e,"c",(function(){return G})),i.d(e,"d",(function(){return q})),i.d(e,"e",(function(){return W})),i.d(e,"f",(function(){return V})),i.d(e,"g",(function(){return Y}));var n=i("cZZj"),r=i("qvOF"),o=i("2kYt"),c=i("EM62"),u=i("mFH5"),l=i("5XID"),h=i("fAiE"),d=i("ZTXN"),f=i("KTx3"),p=i("g6G6"),b=i("xVbo"),v=i("kuMc"),y=i("Ohay"),A=i("YtkY"),w=i("J+dc"),_=i("jIqt"),S=i("mWib"),k=i("f7+R"),E=i("5lCh"),C=i("sg/T"),R=i("E5oP"),T=["*"];function I(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div",2),c.Zb("click",(function(){return c.xc(i),c.dc()._onBackdropClicked()})),c.Rb()}if(2&t){var n=c.dc();c.Eb("mat-drawer-shown",n._isShowingBackdrop())}}function O(t,e){1&t&&(c.Sb(0,"mat-drawer-content"),c.ic(1,2),c.Rb())}var D=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],M=["mat-drawer","mat-drawer-content","*"];function P(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div",2),c.Zb("click",(function(){return c.xc(i),c.dc()._onBackdropClicked()})),c.Rb()}if(2&t){var n=c.dc();c.Eb("mat-drawer-shown",n._isShowingBackdrop())}}function x(t,e){1&t&&(c.Sb(0,"mat-sidenav-content",3),c.ic(1,2),c.Rb())}var N=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],L=["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:Object(k.n)("transform",[Object(k.k)("open, open-instant",Object(k.l)({transform:"none",visibility:"visible"})),Object(k.k)("void",Object(k.l)({"box-shadow":"none",visibility:"hidden"})),Object(k.m)("void => open-instant",Object(k.e)("0ms")),Object(k.m)("void <=> open, open-instant => void",Object(k.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function H(t){throw Error("A drawer was already declared for 'position=\"".concat(t,"\"'"))}var B=new c.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),j=new c.r("MAT_DRAWER_CONTAINER"),G=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o){var s;return g(this,i),(s=e.call(this,r,a,o))._changeDetectorRef=t,s._container=n,s}return m(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._container._contentMarginChanges.subscribe((function(){t._changeDetectorRef.markForCheck()}))}}]),i}(r.b);return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.h),c.Mb(Object(c.U)((function(){return K}))),c.Mb(c.l),c.Mb(r.f),c.Mb(c.A))},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&c.Ec("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[c.xb],ngContentSelectors:T,decls:1,vars:0,template:function(t,e){1&t&&(c.jc(),c.ic(0))},encapsulation:2,changeDetection:0}),t}(),U=function(){var t=function(){function t(e,i,n,r,a,o,s){var u=this;g(this,t),this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=n,this._platform=r,this._ngZone=a,this._doc=o,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.a,this._animationEnd=new d.a,this._animationState="void",this.openedChange=new c.o(!0),this._destroyed=new d.a,this.onPositionChanged=new c.o,this._modeChanged=new d.a,this.openedChange.subscribe((function(t){t?(u._doc&&(u._elementFocusedBeforeDrawerWasOpened=u._doc.activeElement),u._takeFocus()):u._restoreFocus()})),this._ngZone.runOutsideAngular((function(){Object(f.a)(u._elementRef.nativeElement,"keydown").pipe(Object(b.a)((function(t){return t.keyCode===h.h&&!u.disableClose&&!Object(h.t)(t)})),Object(v.a)(u._destroyed)).subscribe((function(t){return u._ngZone.run((function(){u.close(),t.stopPropagation(),t.preventDefault()}))}))})),this._animationEnd.pipe(Object(y.a)((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"))&&u.openedChange.emit(u._opened)}))}return m(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(){if(this.autoFocus){var t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{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:"toggle",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(e){t.openedChange.pipe(Object(w.a)(1)).subscribe((function(t){return e(t?"open":"close")}))}))}},{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)}},{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=Object(l.c)(t)}},{key:"autoFocus",get:function(){var t=this._autoFocus;return null==t?"side"!==this.mode:t},set:function(t){this._autoFocus=Object(l.c)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){this.toggle(Object(l.c)(t))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(Object(b.a)((function(t){return t})),Object(A.a)((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(Object(b.a)((function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")})),Object(A.a)((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(Object(b.a)((function(t){return!t})),Object(A.a)((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(Object(b.a)((function(t){return t.fromState!==t.toState&&"void"===t.toState})),Object(A.a)((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l),c.Mb(C.i),c.Mb(C.h),c.Mb(n.a),c.Mb(c.A),c.Mb(o.e,8),c.Mb(j,8))},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&c.Fc("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(c.Bb("align",null),c.Gc("@transform",e._animationState),c.Eb("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",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:T,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(c.jc(),c.Sb(0,"div",0),c.ic(1),c.Rb())},encapsulation:2,data:{animation:[z.transformDrawer]},changeDetection:0}),t}(),K=function(){var t=function(){function t(e,i,n,r,a){var o=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0;g(this,t),this._dir=e,this._element=i,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=u,this._drawers=new c.E,this.backdropClick=new c.o,this._destroyed=new d.a,this._doCheckSubject=new d.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new d.a,e&&e.change.pipe(Object(v.a)(this._destroyed)).subscribe((function(){o._validateDrawers(),o.updateContentMargins()})),a.change().pipe(Object(v.a)(this._destroyed)).subscribe((function(){return o.updateContentMargins()})),this._autosize=s}return m(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._allDrawers.changes.pipe(Object(_.a)(this._allDrawers),Object(v.a)(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(Object(_.a)(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._doCheckSubject.pipe(Object(S.a)(10),Object(v.a)(this._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._width;else if("push"==this._left.mode){var n=this._left._width;e+=n,i-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._width;else if("push"==this._right.mode){var r=this._right._width;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(Object(b.a)((function(t){return t.fromState!==t.toState})),Object(v.a)(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(Object(v.a)(this._drawers.changes)).subscribe((function(){return e._setContainerClass(t.opened)}))}},{key:"_watchDrawerPosition",value:function(t){var e=this;t&&t.onPositionChanged.pipe(Object(v.a)(this._drawers.changes)).subscribe((function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(w.a)(1)).subscribe((function(){e._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(t){var e=this;t&&t._modeChanged.pipe(Object(v.a)(Object(p.a)(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?(null!=t._end&&H("end"),t._end=e):(null!=t._start&&H("start"),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._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var t=this;[this._start,this._end].filter((function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)})).forEach((function(t){return t.close()}))}},{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}},{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=Object(l.c)(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:Object(l.c)(t)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(R.c,8),c.Mb(c.l),c.Mb(c.A),c.Mb(c.h),c.Mb(r.h),c.Mb(B),c.Mb(E.a,8))},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){var n;1&t&&(c.Fb(i,G,!0),c.Fb(i,U,!0)),2&t&&(c.sc(n=c.ac())&&(e._content=n.first),c.sc(n=c.ac())&&(e._allDrawers=n))},viewQuery:function(t,e){var i;1&t&&c.Qc(G,!0),2&t&&c.sc(i=c.ac())&&(e._userContent=i.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[c.zb([{provide:j,useExisting:t}])],ngContentSelectors:M,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&&(c.jc(D),c.Hc(0,I,1,2,"div",0),c.ic(1),c.ic(2,1),c.Hc(3,O,2,0,"mat-drawer-content",1)),2&t&&(c.kc("ngIf",e.hasBackdrop),c.Ab(3),c.kc("ngIf",!e._content))},directives:[o.t,G],styles:[F],encapsulation:2,changeDetection:0}),t}(),V=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o){return g(this,i),e.call(this,t,n,r,a,o)}return i}(G);return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.h),c.Mb(Object(c.U)((function(){return W}))),c.Mb(c.l),c.Mb(r.f),c.Mb(c.A))},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&c.Ec("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[c.xb],ngContentSelectors:T,decls:1,vars:0,template:function(t,e){1&t&&(c.jc(),c.ic(0))},encapsulation:2,changeDetection:0}),t}(),q=function(){var t=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return m(i,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=Object(l.c)(t)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=Object(l.f)(t)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=Object(l.f)(t)}}]),i}(U);return t.\u0275fac=function(e){return J(e||t)},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(c.Bb("align",null),c.Ec("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),c.Eb("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:[c.xb],ngContentSelectors:T,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(c.jc(),c.Sb(0,"div",0),c.ic(1),c.Rb())},encapsulation:2,data:{animation:[z.transformDrawer]},changeDetection:0}),t}(),J=c.Ub(q),W=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(K);return t.\u0275fac=function(e){return Z(e||t)},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){var n;1&t&&(c.Fb(i,V,!0),c.Fb(i,q,!0)),2&t&&(c.sc(n=c.ac())&&(e._content=n.first),c.sc(n=c.ac())&&(e._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&c.Eb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[c.zb([{provide:j,useExisting:t}]),c.xb],ngContentSelectors:L,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&&(c.jc(N),c.Hc(0,P,1,2,"div",0),c.ic(1),c.ic(2,1),c.Hc(3,x,2,0,"mat-sidenav-content",1)),2&t&&(c.kc("ngIf",e.hasBackdrop),c.Ab(3),c.kc("ngIf",!e._content))},directives:[o.t,V,r.b],styles:[F],encapsulation:2,changeDetection:0}),t}(),Z=c.Ub(W),Y=function(){var t=function t(){g(this,t)};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[o.c,u.i,n.b,r.c],r.c,u.i]}),t}()},mEf3:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function f(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&s.Nb(0,"th",15)}function b(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.displayName," ")}}function v(t,e){1&t&&s.Nb(0,"tr",17)}function y(t,e){1&t&&s.Nb(0,"tr",18)}function A(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"div"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,p,1,0,"th",11),s.Hc(10,b,2,1,"td",12),s.Pb(),s.Hc(11,v,1,0,"tr",13),s.Hc(12,y,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.DELETE_ATTRIBUTES.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.DELETE_ATTRIBUTES.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.attributesManager=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.dataSource=new r.o(this.data.attributes),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t,e=this,i=[],n=d(this.data.attributes);try{for(n.s();!(t=n.n()).done;){var r=t.value;i.push(r.id)}}catch(o){n.e(o)}finally{n.f()}var a={};switch(a[this.data.entity]=this.data.entityId,a.attributes=i,void 0!==this.data.secondEntity&&(a[this.data.secondEntity]=this.data.secondEntityId),this.loading=!0,this.data.entity){case"vo":this.attributesManager.removeVoAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.removeGroupResourceAttributes(this.data.entityId,this.data.secondEntityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;default:this.attributesManager.removeGroupAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}))}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.removeUserFacilityAttributes(this.data.entityId,this.data.secondEntityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;default:this.attributesManager.removeUserAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}))}break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.removeMemberResourceAttributes(this.data.entityId,this.data.secondEntityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;case"group":this.attributesManager.removeMemberGroupAttributes(this.data.entityId,this.data.secondEntityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;default:this.attributesManager.removeMemberAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}))}break;case"facility":this.attributesManager.removeFacilityAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;case"host":this.attributesManager.removeHostAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}),(function(){return e.loading=!1}));break;case"ues":this.attributesManager.removeUesAttributes(this.data.entityId,i).subscribe((function(){e.onSuccess()}));break;case"resource":this.attributesManager.removeResourceAttributes(this.data.entityId,i).subscribe((function(){return e.onSuccess()}))}}},{key:"onSuccess",value:function(){var t=this;this.translate.get("DIALOGS.DELETE_ATTRIBUTES.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(o.c))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,f,1,0,"mat-spinner",1),s.Hc(5,A,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.DELETE_ATTRIBUTES.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.DELETE_ATTRIBUTES.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.DELETE_ATTRIBUTES.DELETE")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t}()},mFH5:function(t,e,i){"use strict";i.d(e,"a",(function(){return R})),i.d(e,"b",(function(){return T})),i.d(e,"c",(function(){return B})),i.d(e,"d",(function(){return it})),i.d(e,"e",(function(){return j})),i.d(e,"f",(function(){return Ft})),i.d(e,"g",(function(){return Dt})),i.d(e,"h",(function(){return At})),i.d(e,"i",(function(){return D})),i.d(e,"j",(function(){return nt})),i.d(e,"k",(function(){return ft})),i.d(e,"l",(function(){return et})),i.d(e,"m",(function(){return Rt})),i.d(e,"n",(function(){return Mt})),i.d(e,"o",(function(){return Lt})),i.d(e,"p",(function(){return Ot})),i.d(e,"q",(function(){return St})),i.d(e,"r",(function(){return kt})),i.d(e,"s",(function(){return wt})),i.d(e,"t",(function(){return _t})),i.d(e,"u",(function(){return Q})),i.d(e,"v",(function(){return yt})),i.d(e,"w",(function(){return Pt})),i.d(e,"x",(function(){return xt})),i.d(e,"y",(function(){return P})),i.d(e,"z",(function(){return x})),i.d(e,"A",(function(){return M})),i.d(e,"B",(function(){return L})),i.d(e,"C",(function(){return F})),i.d(e,"D",(function(){return N})),i.d(e,"E",(function(){return rt}));var r=i("EM62"),o=i("sg/T"),c=i("E5oP"),l=new r.P("9.2.4"),d=i("2kYt"),f=i("5XID"),p=i("ZTXN"),b=i("IdLP"),v=i("cZZj"),y=(i("e4iD"),i("jIqt")),A=i("5lCh"),w=i("fAiE"),_=["*",[["mat-option"],["ng-container"]]],S=["*","mat-option, ng-container"];function k(t,e){if(1&t&&r.Nb(0,"mat-pseudo-checkbox",3),2&t){var i=r.dc();r.kc("state",i.selected?"checked":"unchecked")("disabled",i.disabled)}}var E,C=["*"],R=function(){var t=function t(){g(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}(),T=function(){var t=function t(){g(this,t)};return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),I=new r.P("9.2.4"),O=new r.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),D=((E=function(){function t(e,i,n){g(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 m(t,[{key:"_getDocument",value:function(){var t=this._document||document;return"object"==typeof t&&t?t:null}},{key:"_getWindow",value:function(){var t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Object(r.W)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.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(){var t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(!t&&e&&e.body&&"function"==typeof getComputedStyle){var i=e.createElement("div");i.classList.add("mat-theme-loaded-marker"),e.body.appendChild(i);var n=getComputedStyle(i);n&&"none"!==n.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"),e.body.removeChild(i)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&I.full!==l.full&&console.warn("The Angular Material version ("+I.full+") does not match the Angular CDK version ("+l.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}()).\u0275mod=r.Kb({type:E}),E.\u0275inj=r.Jb({factory:function(t){return new(t||E)(r.Wb(o.j),r.Wb(O,8),r.Wb(d.e,8))},imports:[[c.a],c.a]}),E);function M(t){return function(t){a(i,t);var e=s(i);function i(){var t;g(this,i);for(var n=arguments.length,r=new Array(n),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return function(t){a(n,t);var i=s(n);function n(){var t;g(this,n);for(var r=arguments.length,a=new Array(r),o=0;o0?i:t}},{key:"localeChanges",get:function(){return this._localeChanges}}]),t}(),j=new r.r("mat-date-formats");try{z="undefined"!=typeof Intl}catch(zt){z=!1}var G={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"]},U=q(31,(function(t){return String(t+1)})),K={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},V=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function q(t,e){for(var i=Array(t),n=0;n11)throw Error('Invalid month index "'.concat(e,'". Month index has to be between 0 and 11.'));if(i<1)throw Error('Invalid date "'.concat(i,'". Date has to be greater than 0.'));var n=this._createDateWithOverflow(t,e,i);if(n.getMonth()!=e)throw Error('Invalid date "'.concat(i,'" for month with index "').concat(e,'".'));return n}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}},{key:"format",value:function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(z){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"});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(V.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(t,e,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),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(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(i)}}]),i}(B)).\u0275fac=function(t){return new(t||W)(r.Wb(H,8),r.Wb(v.a))},W.\u0275prov=r.Ib({token:W,factory:W.\u0275fac}),W),$=((J=function t(){g(this,t)}).\u0275mod=r.Kb({type:J}),J.\u0275inj=r.Jb({factory:function(t){return new(t||J)},providers:[{provide:B,useClass:Q}],imports:[[v.b]]}),J),tt={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"}}},et=((X=function t(){g(this,t)}).\u0275mod=r.Kb({type:X}),X.\u0275inj=r.Jb({factory:function(t){return new(t||X)},providers:[{provide:j,useValue:tt}],imports:[[$]]}),X),it=((Y=function(){function t(){g(this,t)}return m(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}()).\u0275fac=function(t){return new(t||Y)},Y.\u0275prov=Object(r.Ib)({factory:function(){return new Y},token:Y,providedIn:"root"}),Y),nt=((Z=function t(){g(this,t)}).\u0275fac=function(t){return new(t||Z)},Z.\u0275dir=r.Hb({type:Z,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Z);function rt(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";t.changes.pipe(Object(y.a)(t)).subscribe((function(t){var n=t.length;at(e,i+"-2-line",!1),at(e,i+"-3-line",!1),at(e,i+"-multi-line",!1),2===n||3===n?at(e,"".concat(i,"-").concat(n,"-line"),!0):n>3&&at(e,i+"-multi-line",!0)}))}function at(t,e,i){var n=t.nativeElement.classList;i?n.add(e):n.remove(e)}var ot,st,ct,ut,lt,ht,dt,ft=((ot=function t(){g(this,t)}).\u0275mod=r.Kb({type:ot}),ot.\u0275inj=r.Jb({factory:function(t){return new(t||ot)},imports:[[D],D]}),ot),pt=function(){function t(e,i,n){g(this,t),this._renderer=e,this.element=i,this.config=n,this.state=3}return m(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),gt={enterDuration:450,exitDuration:400},bt=Object(v.f)({passive:!0}),mt=["mousedown","touchstart"],vt=["mouseup","mouseleave","touchend","touchcancel"],yt=function(){function t(e,i,n,r){g(this,t),this._target=e,this._ngZone=i,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Object(f.e)(n))}return m(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(),a=Object.assign(Object.assign({},gt),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var o=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,c=e-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!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration=u+"ms",this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new pt(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()}),u),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({},gt),t.config.animation);i.style.transitionDuration=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:"setupTriggerEvents",value:function(t){var e=Object(f.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(mt))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(vt),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=Object(o.l)(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,bt)}))}))}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(mt.forEach((function(e){t._triggerElement.removeEventListener(e,t,bt)})),this._pointerUpEventsRegistered&&vt.forEach((function(e){t._triggerElement.removeEventListener(e,t,bt)})))}}]),t}(),At=new r.r("mat-ripple-global-options"),wt=((lt=function(){function t(e,i,n,r,a){g(this,t),this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new yt(this,i,e,n)}return m(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{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))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{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}}]),t}()).\u0275fac=function(t){return new(t||lt)(r.Mb(r.l),r.Mb(r.A),r.Mb(v.a),r.Mb(At,8),r.Mb(A.a,8))},lt.\u0275dir=r.Hb({type:lt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r.Eb("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"]}),lt),_t=((ut=function t(){g(this,t)}).\u0275mod=r.Kb({type:ut}),ut.\u0275inj=r.Jb({factory:function(t){return new(t||ut)},imports:[[D,v.b],D]}),ut),St=((ct=function t(e){g(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1}).\u0275fac=function(t){return new(t||ct)(r.Mb(A.a,8))},ct.\u0275cmp=r.Gb({type:ct,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&r.Eb("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}),ct),kt=((st=function t(){g(this,t)}).\u0275mod=r.Kb({type:st}),st.\u0275inj=r.Jb({factory:function(t){return new(t||st)}}),st),Et=M((function t(){g(this,t)})),Ct=0,Rt=((ht=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._labelId="mat-optgroup-label-"+Ct++,t}return i}(Et)).\u0275fac=function(t){return Tt(t||ht)},ht.\u0275cmp=r.Gb({type:ht,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(r.Bb("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),r.Eb("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[r.xb],ngContentSelectors:S,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(r.jc(_),r.Sb(0,"label",0),r.Jc(1),r.ic(2),r.Rb(),r.ic(3,1)),2&t&&(r.kc("id",e._labelId),r.Ab(1),r.Lc("",e.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),ht),Tt=r.Ub(Rt),It=0,Ot=function t(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this,t),this.source=e,this.isUserInput=i},Dt=new r.r("MAT_OPTION_PARENT_COMPONENT"),Mt=((dt=function(){function t(e,i,n,a){g(this,t),this._element=e,this._changeDetectorRef=i,this._parent=n,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+It++,this.onSelectionChange=new r.o,this._stateChanges=new p.a}return m(t,[{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!==w.g&&t.keyCode!==w.o||Object(w.t)(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 Ot(this,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=Object(f.c)(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()}}]),t}()).\u0275fac=function(t){return new(t||dt)(r.Mb(r.l),r.Mb(r.h),r.Mb(Dt,8),r.Mb(Rt,8))},dt.\u0275cmp=r.Gb({type:dt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&r.Zb("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(r.Vb("id",e.id),r.Bb("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),r.Eb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:C,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(r.jc(),r.Hc(0,k,1,2,"mat-pseudo-checkbox",0),r.Sb(1,"span",1),r.ic(2),r.Rb(),r.Nb(3,"div",2)),2&t&&(r.kc("ngIf",e.multiple),r.Ab(3),r.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[d.t,wt,St],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}.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}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),dt);function Pt(t,e,i){if(i.length){for(var n=e.toArray(),r=i.toArray(),a=0,o=0;oi+n?Math.max(0,r-n+e):i}var Nt,Lt=((Nt=function t(){g(this,t)}).\u0275mod=r.Kb({type:Nt}),Nt.\u0275inj=r.Jb({factory:function(t){return new(t||Nt)},imports:[[_t,d.c,kt]]}),Nt),Ft=new r.r("mat-label-global-options")},mPlY:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("FlRo"),a=i("X2Q7"),o=i("EM62"),s=i("2kYt"),c=i("PBFl"),u=i("csyo"),l=i("s2Ay");function h(t,e){1&t&&o.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&o.Nb(0,"th",15)}function p(t,e){if(1&t&&(o.Sb(0,"td",16),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.Ab(1),o.Lc(" ",i.tagName," ")}}function b(t,e){1&t&&o.Nb(0,"tr",17)}function v(t,e){1&t&&o.Nb(0,"tr",18)}function y(t,e){if(1&t&&(o.Sb(0,"div",7),o.Sb(1,"p"),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Sb(4,"div",8),o.Jc(5),o.ec(6,"translate"),o.Rb(),o.Sb(7,"table",9),o.Qb(8,10),o.Hc(9,f,1,0,"th",11),o.Hc(10,p,2,1,"td",12),o.Pb(),o.Hc(11,b,1,0,"tr",13),o.Hc(12,v,1,0,"tr",14),o.Rb(),o.Rb()),2&t){var i=o.dc();o.Ab(2),o.Lc(" ",o.fc(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),o.Ab(3),o.Lc(" ",o.fc(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),o.Ab(2),o.kc("dataSource",i.dataSource),o.Ab(4),o.kc("matHeaderRowDef",i.displayedColumns),o.Ab(1),o.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n){g(this,t),this.dialogRef=e,this.data=i,this.resourceManager=n,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(this.data.tagsForDelete)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var e,i=d(this.data.tagsForDelete);try{for(i.s();!(e=i.n()).done;){var n=e.value;this.resourceManager.deleteResourceTag({resourceTag:n}).subscribe((function(){t.dialogRef.close(!0)}),(function(e){return t.dialogRef.close(!0)}))}}catch(r){i.e(r)}finally{i.f()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(n.i),o.Mb(n.a),o.Mb(a.m))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"div"),o.Sb(1,"h1",0),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,h,1,0,"mat-spinner",1),o.Hc(5,y,13,9,"div",2),o.Sb(6,"div",3),o.Sb(7,"button",4),o.Zb("click",(function(){return e.onCancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",5),o.Zb("click",(function(){return e.onSubmit()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Cb(e.theme),o.Ab(2),o.Kc(o.fc(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),o.Ab(2),o.kc("disabled",e.loading),o.Ab(1),o.Lc(" ",o.fc(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[n.j,s.t,n.c,c.b,u.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[l.d],styles:[""]}),t}()},mSaU:function(t,e,i){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]:a.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 a=t.lastIndexOf(e);a>=0&&(t=t.substr(a+1)),"?"===e&&(a=t.indexOf("#"))>=0&&(t=t.substr(0,a));for(var o,s={},c=/([^&=]+)=([^&]*)/g,u=0;o=c.exec(t);)if(s[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 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,a=e.metadata,h=e.signingKeys,d=e.client_id,f=e.client_secret,p=e.response_type,g=void 0===p?u:p,b=e.scope,m=void 0===b?l:b,v=e.redirect_uri,y=e.post_logout_redirect_uri,A=e.prompt,w=e.display,_=e.max_age,S=e.ui_locales,k=e.acr_values,E=e.resource,C=e.response_mode,R=e.filterProtocolClaims,T=void 0===R||R,I=e.loadUserInfo,O=void 0===I||I,D=e.staleStateAge,M=void 0===D?900:D,P=e.clockSkew,x=void 0===P?300:P,N=e.userInfoJwtIssuer,L=void 0===N?"OP":N,F=e.stateStore,z=void 0===F?new o.WebStorageStateStore:F,H=e.ResponseValidatorCtor,B=void 0===H?s.ResponseValidator:H,j=e.MetadataServiceCtor,G=void 0===j?c.MetadataService:j,U=e.extraQueryParams,K=void 0===U?{}:U,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=r,this._metadata=a,this._signingKeys=h,this._client_id=d,this._client_secret=f,this._response_type=g,this._scope=m,this._redirect_uri=v,this._post_logout_redirect_uri=y,this._prompt=A,this._display=w,this._max_age=_,this._ui_locales=S,this._acr_values=k,this._resource=E,this._response_mode=C,this._filterProtocolClaims=!!T,this._loadUserInfo=!!O,this._staleStateAge=M,this._clockSkew=x,this._userInfoJwtIssuer=L,this._stateStore=z,this._validator=new B(this),this._metadataService=new G(this),this._extraQueryParams="object"===(void 0===K?"undefined":n(K))?K:{},this._extraTokenParams="object"===(void 0===q?"undefined":n(q))?q:{}}return r(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw a.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 a.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,a=e.store,o=void 0===a?r.Global.localStorage:a;!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]: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,a){var o=new i._XMLHttpRequest;o.open("GET",t);var s=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=s.find((function(t){if(e.startsWith(t))return!0}));if("application/jwt"==i)return void c(o).then(r,a);if(i)try{return void r(JSON.parse(o.responseText))}catch(r){return n.Log.error("JsonService.getJson: Error parsing JSON response",r.message),void a(r)}}a(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else a(Error(o.statusText+" ("+o.status+")"))},o.onerror=function(){n.Log.error("JsonService.getJson: network error"),a(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(r,a){var o=new i._XMLHttpRequest;o.open("POST",t);var s=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"))&&s.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 a(new Error(e.error))}catch(r){return n.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void a(r)}a(Error(o.statusText+" ("+o.status+")"))}else{var i;if((i=o.getResponseHeader("Content-Type"))&&s.find((function(t){if(i.startsWith(t))return!0})))try{return void r(JSON.parse(o.responseText))}catch(r){return n.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void a(r)}a(Error("Invalid response Content-Type: "+i+", from URL: "+t))}},o.onerror=function(){n.Log.error("JsonService.postForm: network error"),a(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,r=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,a.default)(),this._data=n,this._created="number"==typeof r&&r>0?r:parseInt(Date.now()/1e3),this._request_type=o}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 a=[],o=function(o){var s=i[o];c=e.get(s).then((function(i){var a=!1;if(i)try{var o=t.fromStorageString(i);r.Log.debug("State.clearStaleState: got item from key: ",s,o.created),o.created<=n&&(a=!0)}catch(t){r.Log.error("State.clearStaleState: Error parsing state for key",s,t.message),a=!0}else r.Log.debug("State.clearStaleState: no item in storage for key: ",s),a=!0;if(a)return r.Log.debug("State.clearStaleState: removed item for key: ",s),e.remove(s)})),a.push(c)},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 a.OidcClientSettings?e:new a.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,a=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,b=e.resource,m=e.request,v=e.request_uri,y=e.response_mode,A=e.extraQueryParams,w=e.extraTokenParams,_=e.request_type,S=e.skipUserInfo,k=arguments[1];r.Log.debug("OidcClient.createSigninRequest");var E=this._settings.client_id;n=n||this._settings.scope,a=a||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,b=b||this._settings.resource,y=y||this._settings.response_mode,A=A||this._settings.extraQueryParams,w=w||this._settings.extraTokenParams;var C=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 R=new s.SigninRequest({url:e,client_id:E,redirect_uri:a,response_type:i,scope:n,data:o||c,authority:C,prompt:u,display:l,max_age:h,ui_locales:d,id_token_hint:f,login_hint:p,acr_values:g,resource:b,request:m,request_uri:v,extraQueryParams:A,extraTokenParams:w,request_type:_,response_mode:y,client_secret:t._settings.client_secret,skipUserInfo:S}),T=R.state;return(k=k||t._stateStore).set(T.id,T.toStorageString()).then((function(){return R}))}))},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)?"?":"#",a=new c.SigninResponse(t,n);return a.state?(e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(a.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:a}}))):(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,a=e.state,o=e.post_logout_redirect_uri,s=e.extraQueryParams,c=e.request_type,l=arguments[1];return r.Log.debug("OidcClient.createSignoutRequest"),o=o||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 u.SignoutRequest({url:e,id_token_hint:i,post_logout_redirect_uri:o,data:n||a,extraQueryParams:s,request_type:c}),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 o.ErrorResponse(n))):Promise.resolve({undefined:void 0,response:n});var a=n.state;return e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(a).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),a=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]:r.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw a.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 a.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e).then((function(t){return a.Log.debug("TokenClient.exchangeCode: response received"),t}))})):(a.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(a.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(a.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(a.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 a.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e).then((function(t){return a.Log.debug("TokenClient.exchangeRefreshToken: response received"),t}))})):(a.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(a.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,a=i.error_description,o=i.error_uri,s=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),!r)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,a||r));return u.name="ErrorResponse",u.error=r,u.error_description=a,u.error_uri=o,u.state=s,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),r=i(3),a=i(13);e.SigninRequest=function(){function t(e){var i=e.url,o=e.client_id,s=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,b=e.id_token_hint,m=e.login_hint,v=e.acr_values,y=e.resource,A=e.response_mode,w=e.request,_=e.request_uri,S=e.extraQueryParams,k=e.request_type,E=e.client_secret,C=e.extraTokenParams,R=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(!s)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 T=t.isOidc(c),I=t.isCode(c);A||(A=t.isCode(c)?"query":null),this.state=new a.SigninState({nonce:T,data:h,client_id:o,authority:l,redirect_uri:s,code_verifier:I,request_type:k,response_mode:A,client_secret:E,scope:u,extraTokenParams:C,skipUserInfo:R}),i=r.UrlUtility.addQueryParam(i,"client_id",o),i=r.UrlUtility.addQueryParam(i,"redirect_uri",s),i=r.UrlUtility.addQueryParam(i,"response_type",c),i=r.UrlUtility.addQueryParam(i,"scope",u),i=r.UrlUtility.addQueryParam(i,"state",this.state.id),T&&(i=r.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),I&&(i=r.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=r.UrlUtility.addQueryParam(i,"code_challenge_method","S256"));var O={prompt:d,display:f,max_age:p,ui_locales:g,id_token_hint:b,login_hint:m,acr_values:v,resource:y,request:w,request_uri:_,response_mode:A};for(var D in O)O[D]&&(i=r.UrlUtility.addQueryParam(i,D,O[D]));for(var M in S)i=r.UrlUtility.addQueryParam(i,M,S[M]);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,a=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,s.default)():n&&(g._nonce=n),!0===u?g._code_verifier=(0,s.default)()+(0,s.default)()+(0,s.default)():u&&(g._code_verifier=u),g.code_verifier){var b=o.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=o.JoseUtil.hexToBase64Url(b)}return g._redirect_uri=c,g._authority=r,g._client_id=a,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}(a.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,a=e.accessTokenExpiringTimer,o=void 0===a?new r.Timer("Access token expiring"):a,s=e.accessTokenExpiredTimer,c=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=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 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]:a.CheckSessionIFrame,s=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 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,a=e._checkSessionInterval,o=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,a,o),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 a=!(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=a;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),r=i(2),a=i(1);e.TokenRevocationClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Global.XMLHttpRequest,o=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 o(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(a){if(a)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+r),i._revoke(a,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,a){var o=this;return new Promise((function(s,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?s():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(a),l+="&token="+encodeURIComponent(r),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]:a.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]: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=c,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 c.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 c.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 a=e[r];Array.isArray(a)||(a=[a]);for(var o=0;o1)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"));c=s[0]}if(!c)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 u=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,c,o,u,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 a="sha"+n,o=this._joseUtil.hashString(t.access_token,a);if(!o)return r.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",a),Promise.reject(new Error("Failed to validate at_hash"));var s=o.substr(0,o.length/2),c=this._joseUtil.hexToBase64Url(s);return c!==t.profile.at_hash?(r.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",c,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),a=i(0),o=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,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 a.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=c}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then((function(i){return a.Log.debug("UserInfoService.getClaims: received userinfo url",i),e._jsonService.getJson(i,t).then((function(t){return a.Log.debug("UserInfoService.getClaims: claims received",t),t}))})):(a.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 a.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var r=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 a.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),i._metadataService.getSigningKeys().then((function(o){if(!o)return a.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));a.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var s=void 0;if(r)s=o.filter((function(t){return t.kid===r}))[0];else{if((o=i._filterByAlg(o,n.header.alg)).length>1)return a.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=o[0]}if(!s)return a.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 a.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",u),i._joseUtil.validateJwt(e.responseText,s,t,c,u,void 0,!0).then((function(){return a.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload}))}))}))}catch(t){return a.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 a.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];i="EC"}return a.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),t=t.filter((function(t){return t.kty===i})),a.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===a)var a={};a.lang={extend:function(e,i,r){if(!i||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var a=function(){};if(a.prototype=i.prototype,e.prototype=new a,e.prototype.constructor=e,e.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),r){var o;for(o in r)e.prototype[o]=r[o];var s=function(){},c=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(s=function(t,e){for(o=0;o>>2]|=(i[a>>>2]>>>24-a%4*8&255)<<24-(n+a)%4*8;else for(a=0;a>>2]=i[a>>>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=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-r%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).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=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,r=this.blockSize,a=n/(4*r),s=(a=t?o.ceil(a):o.max((0|a)-this._minBufferSize,0))*r,c=o.min(4*s,n);if(s){for(var u=0;u>>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,o=0;4>o&&r+.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;(r=n.charAt(64))&&-1!=(r=e.indexOf(r))&&(i=r);for(var r=[],a=0,o=0;o>>6-o%4*2;r[a>>>2]|=(s|c)<<24-a%4*8,a++}return t.create(r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=m,i=(r=e.lib).WordArray,n=r.Hasher,r=e.algo,a=[],o=[],s=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&&(a[u]=s(t.pow(c,.5))),o[u]=s(t.pow(c,1/3)),u++),c++}var f=[];r=r.SHA256=n.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],r=i[1],a=i[2],s=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&r^n&a^r&a),h=l,l=u,u=c,c=s+p|0,s=a,a=r,r=n,n=p+g|0}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+a|0,i[3]=i[3]+s|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,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=(a=e.x64).Word,r=a.WordArray,a=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)],s=[],c=0;80>c;c++)s[c]=t();a=a.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],a=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,b=r.high,m=r.low,v=a.high,y=a.low,A=c.high,w=c.low,_=u.high,S=u.low,k=l.high,E=l.low,C=h.high,R=h.low,T=d,I=f,O=p,D=g,M=b,P=m,x=v,N=y,L=A,F=w,z=_,H=S,B=k,j=E,G=C,U=R,K=0;80>K;K++){var V=s[K];if(16>K)var q=V.high=0|t[e+2*K],J=V.low=0|t[e+2*K+1];else{q=((J=(q=s[K-15]).high)>>>1|(W=q.low)<<31)^(J>>>8|W<<24)^J>>>7;var W=(W>>>1|J<<31)^(W>>>8|J<<24)^(W>>>7|J<<25),Z=((J=(Z=s[K-2]).high)>>>19|(Y=Z.low)<<13)^(J<<3|Y>>>29)^J>>>6,Y=(Y>>>19|J<<13)^(Y<<3|J>>>29)^(Y>>>6|J<<26),X=(J=s[K-7]).high,Q=($=s[K-16]).high,$=$.low;q=(q=(q=q+X+((J=W+J.low)>>>0>>0?1:0))+Z+((J+=Y)>>>0>>0?1:0))+Q+((J+=$)>>>0<$>>>0?1:0),V.high=q,V.low=J}V=T&O^T&M^O&M;var tt=I&D^I&P^D&P,et=(W=(T>>>28|I<<4)^(T<<30|I>>>2)^(T<<25|I>>>7),Z=(I>>>28|T<<4)^(I<<30|T>>>2)^(I<<25|T>>>7),(Y=o[K]).high),it=Y.low;Q=(Q=(Q=(Q=G+((L>>>14|F<<18)^(L>>>18|F<<14)^(L<<23|F>>>9))+((Y=U+((F>>>14|L<<18)^(F>>>18|L<<14)^(F<<23|L>>>9)))>>>0>>0?1:0))+(X=L&z^~L&B)+((Y+=$=F&H^~F&j)>>>0<$>>>0?1:0))+et+((Y+=it)>>>0>>0?1:0))+q+((Y+=J)>>>0>>0?1:0),G=B,U=j,B=z,j=H,z=L,H=F,L=x+Q+((F=N+Y|0)>>>0>>0?1:0)|0,x=M,N=P,M=O,P=D,O=T,D=I,T=Q+(V=W+V+((J=Z+tt)>>>0>>0?1:0))+((I=Y+J|0)>>>0>>0?1:0)|0}f=i.low=f+I,i.high=d+T+(f>>>0>>0?1:0),g=n.low=g+D,n.high=p+O+(g>>>0>>0?1:0),m=r.low=m+P,r.high=b+M+(m>>>0

>>0?1:0),y=a.low=y+N,a.high=v+x+(y>>>0>>0?1:0),w=c.low=w+F,c.high=A+L+(w>>>0>>0?1:0),S=u.low=S+H,u.high=_+z+(S>>>0>>0?1:0),E=l.low=E+j,l.high=k+B+(E>>>0>>0?1:0),R=h.low=R+U,h.high=C+G+(R>>>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(a),e.HmacSHA512=i._createHmacHelper(a)}(),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 v,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function A(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 w(t){var e,i,n,r="",a=0;for(e=0;e>2),i=3&n,a=1):1==a?(r+=T(i<<2|n>>4),i=15&n,a=2):2==a?(r+=T(i),r+=T(n>>2),i=3&n,a=3):(r+=T(i<<2|n>>4),r+=T(15&n),a=0));return 1==a&&(r+=T(i<<2)),r}function _(t){var e,i=w(t),n=new Array;for(e=0;2*e>15;--a>=0;){var c=32767&this[t],u=this[t++]>>15,l=s*c+u*o;r=((c=o*c+((32767&l)<<15)+i[n]+(1073741823&r))>>>30)+(l>>>15)+s*u+(r>>>30),i[n++]=1073741823&c}return r},v=30):"Netscape"!=n.appName?(S.prototype.am=function(t,e,i,n,r,a){for(;--a>=0;){var o=e*this[t++]+i[n]+r;r=Math.floor(o/67108864),i[n++]=67108863&o}return r},v=26):(S.prototype.am=function(t,e,i,n,r,a){for(var o=16383&e,s=e>>14;--a>=0;){var c=16383&this[t],u=this[t++]>>14,l=s*c+u*o;r=((c=o*c+((16383&l)<<14)+i[n]+r)>>28)+(l>>14)+s*u,i[n++]=268435455&c}return r},v=28),S.prototype.DB=v,S.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 M(t){this.m=t}function P(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 H(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function B(){}function j(t){return t}function G(t){this.r2=k(),this.q3=k(),S.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}M.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},M.prototype.revert=function(t){return t},M.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},M.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},M.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},P.prototype.convert=function(t){var e=k();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(S.ZERO)>0&&this.m.subTo(e,e),e},P.prototype.revert=function(t){var e=k();return t.copyTo(e),this.reduce(e),e},P.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)},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)},S.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},S.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},S.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,a=0;--n>=0;){var o=8==i?255&t[n]:I(t,n);o<0?"-"==t.charAt(n)&&(r=!0):(r=!1,0==a?this[this.t++]=o:a+i>this.DB?(this[this.t-1]|=(o&(1<>this.DB-a):this[this.t-1]|=o<=this.DB&&(a-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},S.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},S.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+o+1]=this[i]>>r|s,s=(this[i]&a)<=0;--i)e[i]=0;e[o]=s,e.t=this.t+o+1,e.s=this.s,e.clamp()},S.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,a=(1<>n;for(var o=i+1;o>n;n>0&&(e[this.t-i-1]|=(this.s&a)<>=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()},S.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()},S.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var r=this.abs();if(r.t0?(n.lShiftTo(c,a),r.lShiftTo(c,i)):(n.copyTo(a),r.copyTo(i));var u=a.t,l=a[u-1];if(0!=l){var h=l*(1<1?a[u-2]>>this.F2:0),d=this.FV/h,f=(1<=0&&(i[i.t++]=1,i.subTo(m,i)),S.ONE.dlShiftTo(u,m),m.subTo(a,a);a.t=0;){var v=i[--g]==l?this.DM:Math.floor(i[g]*d+(i[g-1]+p)*f);if((i[g]+=a.am(0,v,i,b,0,u))0&&i.rShiftTo(c,i),o<0&&S.ZERO.subTo(i,i)}}},S.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},S.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},S.prototype.exp=function(t,e){if(t>4294967295||t<1)return S.ONE;var i=k(),n=k(),r=e.convert(this),a=D(t)-1;for(r.copyTo(i);--a>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,r,i);else{var o=i;i=n,n=o}return e.revert(i)},S.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,a=T(i));o>=0;)s>(s+=this.DB-e)):(i=this[o]>>(s-=e)&n,s<=0&&(s+=this.DB,--o)),i>0&&(r=!0),r&&(a+=T(i));return r?a:"0"},S.prototype.negate=function(){var t=k();return S.ZERO.subTo(this,t),t},S.prototype.abs=function(){return this.s<0?this.negate():this},S.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},S.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+D(this[this.t-1]^this.s&this.DM)},S.prototype.mod=function(t){var e=k();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(S.ZERO)>0&&t.subTo(e,e),e},S.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new M(e):new P(e),this.exp(t,i)},S.ZERO=O(0),S.ONE=O(1),B.prototype.convert=j,B.prototype.revert=j,B.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},B.prototype.sqrTo=function(t,e){t.squareTo(e)},G.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=k();return t.copyTo(e),this.reduce(e),e},G.prototype.revert=function(t){return t},G.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)},G.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},G.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var U,K,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],J=(1<<26)/q[q.length-1];function W(){this.i=0,this.j=0,this.S=new Array}function Z(){!function(t){K[V++]^=255&t,K[V++]^=t>>8&255,K[V++]^=t>>16&255,K[V++]^=t>>24&255,V>=256&&(V-=256)}((new Date).getTime())}if(S.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},S.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=O(i),r=k(),a=k(),o="";for(this.divRemTo(n,r,a);r.signum()>0;)o=(i+a.intValue()).toString(t).substr(1)+o,r.divRemTo(n,r,a);return a.intValue().toString(t)+o},S.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,a=0,o=0,s=0;s=i&&(this.dMultiply(n),this.dAddOffset(o,0),a=0,o=0))}a>0&&(this.dMultiply(Math.pow(e,a)),this.dAddOffset(o,0)),r&&S.ZERO.subTo(this,this)},S.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(S.ONE.shiftLeft(t-1),N,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(S.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()},S.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},S.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]}},S.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},S.prototype.millerRabin=function(t){var e=this.subtract(S.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 r=k(),a=0;a>24},S.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},S.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},S.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},S.prototype.equals=function(t){return 0==this.compareTo(t)},S.prototype.min=function(t){return this.compareTo(t)<0?this:t},S.prototype.max=function(t){return this.compareTo(t)>0?this:t},S.prototype.and=function(t){var e=k();return this.bitwiseTo(t,x,e),e},S.prototype.or=function(t){var e=k();return this.bitwiseTo(t,N,e),e},S.prototype.xor=function(t){var e=k();return this.bitwiseTo(t,L,e),e},S.prototype.andNot=function(t){var e=k();return this.bitwiseTo(t,F,e),e},S.prototype.not=function(){for(var t=k(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var l=k();for(n.sqrTo(o[1],l);s<=u;)o[s]=k(),n.mulTo(l,o[s-2],o[s]),s+=2}var h,d,f=t.t-1,p=!0,g=k();for(r=D(t[f])-1;f>=0;){for(r>=c?h=t[f]>>r-c&u:(h=(t[f]&(1<0&&(h|=t[f-1]>>this.DB+r-c)),s=i;0==(1&h);)h>>=1,--s;if((r-=s)<0&&(r+=this.DB,--f),p)o[h].copyTo(a),p=!1;else{for(;s>1;)n.sqrTo(a,g),n.sqrTo(g,a),s-=2;s>0?n.sqrTo(a,g):(d=a,a=g,g=d),n.mulTo(g,o[h],a)}for(;f>=0&&0==(t[f]&1<=0?(i.subTo(n,i),e&&r.subTo(o,r),a.subTo(s,a)):(n.subTo(i,n),e&&o.subTo(r,o),s.subTo(a,s))}return 0!=n.compareTo(S.ONE)?S.ZERO:s.compareTo(t)>=0?s.subtract(t):s.signum()<0?(s.addTo(t,s),s.signum()<0?s.add(t):s):s},S.prototype.pow=function(t){return this.exp(t,new B)},S.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(),a=i.getLowestSetBit();if(a<0)return e;for(r0&&(e.rShiftTo(a,e),i.rShiftTo(a,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 a>0&&i.lShiftTo(a,i),i},S.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=q[q.length-1]){for(e=0;e>>8,K[V++]=255&Y;V=0,Z()}function tt(){if(null==U){for(Z(),(U=new W).init(K),V=0;V>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 at(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?S.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 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)}},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 a=new et,o=new Array;e>2;){for(o[0]=0;0==o[0];)a.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new S(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=ut.crypto.MessageDigest,a=ut.crypto.Util,o=null;if(i||(i="sha1"),"string"==typeof i&&(o=r.getCanonicalAlgName(i),n=r.getHashLength(o),i=function(t){return St(a.hashHex(kt(t),o))}),t.length+2*n+2>e)throw"Message too long for RSA";var s,c="";for(s=0;s>3,e,i);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;var a=r.toString(16);return 0==(1&a.length)?a:"0"+a},rt.prototype.type="RSA",at.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},at.prototype.toBigInteger=function(){return this.x},at.prototype.negate=function(){return new at(this.q,this.x.negate().mod(this.q))},at.prototype.add=function(t){return new at(this.q,this.x.add(t.toBigInteger()).mod(this.q))},at.prototype.subtract=function(t){return new at(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},at.prototype.multiply=function(t){return new at(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},at.prototype.square=function(){return new at(this.q,this.x.square().mod(this.q))},at.prototype.divide=function(t){return new at(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(S.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(S.ZERO))},ot.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(S.ZERO)&&!this.y.toBigInteger().equals(S.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(S.ZERO.equals(i))return S.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new S("3"),r=this.x.toBigInteger(),a=this.y.toBigInteger(),o=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),s=o.multiply(i),c=r.multiply(o),u=e.square().multiply(this.z),l=u.subtract(c.shiftLeft(1)).multiply(t.z).subtract(s).multiply(i).mod(this.curve.q),h=c.multiply(n).multiply(e).subtract(a.multiply(s)).subtract(u.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 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 S("3"),e=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),r=n.multiply(i).mod(this.curve.q),a=this.curve.a.toBigInteger(),o=e.square().multiply(t);S.ZERO.equals(a)||(o=o.add(this.z.square().multiply(a)));var s=(o=o.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(n).mod(this.curve.q),c=o.multiply(t).multiply(e).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).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(s),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 S("3")),r=this.negate(),a=this;for(e=n.bitLength()-2;e>0;--e){a=a.twice();var o=n.testBit(e);o!=i.testBit(e)&&(a=a.add(o?this:r))}return a},ot.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(),a=this.add(e);n>=0;)r=r.twice(),t.testBit(n)?r=i.testBit(n)?r.add(a):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 at(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 ot(this,this.fromBigInteger(new S(i,16)),this.fromBigInteger(new S(n,16)));default:return null}},at.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(),r=e(i,32);return t?n.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(e(n,32))),r},ot.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 a=new S(n),o=new S(r);return new ot(t,t.fromBigInteger(a),t.fromBigInteger(o))},ot.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),a=new S(n,16),o=new S(r,16);return new ot(t,t.fromBigInteger(a),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),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,r)},ot.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(S.valueOf(2)),e=this.curve.fromBigInteger(S.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 ot(this.curve,n,r)},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 S("3")),r=this.negate(),a=this;for(e=n.bitLength()-2;e>0;--e){a=a.twice();var o=n.testBit(e);o!=i.testBit(e)&&(a=a.add2D(o?this:r))}return a},ot.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(),a=e.multiply(e).mod(r),o=t.multiply(t).multiply(t).add(i.multiply(t)).add(n).mod(r);return a.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(S.ONE)<0||e.compareTo(t.subtract(S.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(S.ONE)<0||i.compareTo(t.subtract(S.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 r(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var a=new String(""),o=Object.hasOwnProperty;return function(n,s){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 r[a[l]]}return s.call(e,n,r)}({"":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="",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""}},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=wt(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))},a.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,r=this.localDateToUTC(t),a=String(r.getFullYear());"utc"==e&&(a=a.substr(2,2));var o=a+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 c=n(String(s),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=bt(t)},this.setByDateValue=function(t,e,i,n,r,a){var o=new Date(Date.UTC(t,e-1,i,n,r,a,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},a.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)},a.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"},a.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 S(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))},a.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||7r.length&&(r=n[i]);return(t=t.replace(r,"::")).slice(1,-1)}function Lt(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?Nt(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 Ft(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*a)break;if(s>=200)break;n.push(c),o=c,s++}return n},dt.getNthChildIdx=function(t,e,i){return dt.getChildIdx(t,e)[i]},dt.getIdxbyList=function(t,e,i,n){var r,a,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 r=i.shift(),a=o.getChildIdx(t,e),o.getIdxbyList(t,a[r],i,n)},dt.getTLVbyList=function(t,e,i,n){var r=dt,a=r.getIdxbyList(t,e,i);if(void 0===a)throw"can't find nthList object";if(void 0!==n&&t.substr(a,2)!=n)throw"checking tag doesn't match: "+t.substr(a,2)+"!="+n;return r.getTLV(t,a)},dt.getVbyList=function(t,e,i,n,r){var a,o,s=dt;if(void 0===(a=s.getIdxbyList(t,e,i,n)))throw"can't find nthList object";return o=s.getV(t,a),!0===r&&(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),r=parseInt(n,16);i[0]=new String(Math.floor(r/40)),i[1]=new String(r%40);for(var a=t.substr(2),o=[],s=0;s0&&(l=l+"."+c.join(".")),l},dt.dump=function(t,e,i,n){var r=dt,a=r.getV,o=r.dump,s=r.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=a(c,i))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==c.substr(i,2))return n+"INTEGER "+u(h=a(c,i),l)+"\n";if("03"==c.substr(i,2))return n+"BITSTRING "+u(h=a(c,i),l)+"\n";if("04"==c.substr(i,2)){var h=a(c,i);return r.isASN1HEX(h)?(_=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=a(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 '"+_t(a(c,i))+"'\n";if("13"==c.substr(i,2))return n+"PrintableString '"+_t(a(c,i))+"'\n";if("14"==c.substr(i,2))return n+"TeletexString '"+_t(a(c,i))+"'\n";if("16"==c.substr(i,2))return n+"IA5String '"+_t(a(c,i))+"'\n";if("17"==c.substr(i,2))return n+"UTCTime "+_t(a(c,i))+"\n";if("18"==c.substr(i,2))return n+"GeneralizedTime "+_t(a(c,i))+"\n";if("30"==c.substr(i,2)){if("3000"==c.substr(i,4))return n+"SEQUENCE {}\n";_=n+"SEQUENCE\n";var b=e;if((2==(y=s(c,i)).length||3==y.length)&&"06"==c.substr(y[0],2)&&"04"==c.substr(y[y.length-1],2)){p=r.oidname(a(c,y[0]));var m=JSON.parse(JSON.stringify(e));m.x509ExtName=p,b=m}for(var v=0;vr)throw"key is too short for SigAlg: keylen="+i+","+e;for(var a="0001",o="00"+n,s="",c=r-a.length-o.length,u=0;u=0)return!1;if(i.compareTo(S.ONE)<0||i.compareTo(r)>=0)return!1;var o=i.modInverse(r),s=t.multiply(o).mod(r),c=e.multiply(o).mod(r);return a.multiply(s).add(n.multiply(c)).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:S.fromByteArrayUnsigned(i),s:S.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:S.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:S.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){var e,i,n,r=ut.crypto.ECDSA.getName,a=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=a(t,0,[2,0],"06"),i=a(t,0,[1],"04");try{n=a(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=ut.crypto.ECDSA.getName,a=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{a(t,0,[1,0],"06"),e=a(t,0,[1,1],"06"),i=a(t,0,[2,0,1],"04");try{n=a(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=ut.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=ut.crypto.ECDSA.getName,a=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{i=a(t,0,[0,e,0,1],"06"),n=a(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))},ut.crypto.ECDSA.parseSigHex=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new S(e.r,16),s:new S(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 r=n[0],a=n[1];if("02"!=t.substr(r,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(a,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:i(t,r),s:i(t,a)}},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 S(t,16),n=new S(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}),r=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,r]}).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 S(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,a,o,s,c,u,l,h,d,f,p){t[n]={};var g=i(a),b=i(o),m=i(s),v=i(c),y=i(u),A=new st(g,b,m),w=A.decodePointHex("04"+l+h);t[n].name=n,t[n].keylen=r,t[n].curve=A,t[n].G=w,t[n].n=v,t[n].h=y,t[n].oid=f,t[n].info=p;for(var _=0;_=2*s)break}var h={};return h.keyhex=c.substr(0,2*r[t].keylen),h.ivhex=c.substr(2*r[t].keylen,2*r[t].ivlen),h},s=function(t,e,i,n){var a=m.enc.Base64.parse(t),o=m.enc.Hex.stringify(a);return(0,r[e].proc)(o,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return a(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,i){return o(t,e,i)},decryptKeyB64:function(t,e,i,n){return s(t,e,i,n)},getDecryptedKeyHex:function(t,e){var i=a(t),n=i.cipher,r=i.ivsalt,c=i.data,u=o(n,e,r).keyhex;return s(c,n,u,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,i,n,a){var s="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===r[n])throw"KEYUTIL unsupported algorithm: "+n;return void 0!==a&&null!=a||(a=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+","+a+"\r\n",s+="\r\n",(s+=function(t,e,i,n){return(0,r[e].eproc)(t,i,n)}(e,n,o(n,i,a).keyhex,a).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={},a=i(e,0);if(2!=a.length)throw"malformed format: SEQUENCE(0).items != 2: "+a.length;r.ciphertext=n(e,a[1]);var o=i(e,a[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 s=i(e,o[1]);if(2!=o.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+s.length;var c=i(e,s[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";r.encryptionSchemeAlg="TripleDES",r.encryptionSchemeIV=n(e,c[1]);var u=i(e,s[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;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=It(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),r=Ht.getPBKDF2KeyHexFromParam(n,e),a={};a.ciphertext=m.enc.Hex.parse(n.ciphertext);var o=m.enc.Hex.parse(r),s=m.enc.Hex.parse(n.encryptionSchemeIV),c=m.TripleDES.decrypt(a,o,{iv:s});return m.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,r={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var a=i(t,0);if(3!=a.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(a[1],2))throw"malformed PKCS8 private key(code:003)";var o=i(t,a[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(r.algoid=n(t,o[0]),"06"==t.substr(o[1],2)&&(r.algparam=n(t,o[1])),"04"!=t.substr(a[2],2))throw"malformed PKCS8 private key(code:006)";return r.keyidx=e.getVidx(t,a[2]),r},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=It(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 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 rt;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 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},a=i(t,0);if(2!=a.length)throw"outer DERSequence shall have 2 elements: "+a.length;var o=a[0];if("30"!=t.substr(o,2))throw"malformed PKCS8 public key(code:001)";var s=i(t,o);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(a[1],2))throw"malformed PKCS8 public key(code:004)";return r.key=n(t,a[1]).substr(2),r}}}();Ht.getKey=function(t,e,i){var n,r=(m=dt).getChildIdx,a=m.getVbyList,o=ut.crypto,s=o.ECDSA,c=o.DSA,u=rt,l=It,h=Ht;if(void 0!==u&&t instanceof u)return t;if(void 0!==s&&t instanceof s)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 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(I=new u).setPublic(t.n,t.e),I;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(I=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),I;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(I=new u).setPrivate(t.n,t.e,t.d),I;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(I=new c).setPublic(t.p,t.q,t.g,t.y),I;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(I=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),I;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(I=new u).setPublic(At(t.n),At(t.e)),I;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(I=new u).setPrivateEx(At(t.n),At(t.e),At(t.d),At(t.p),At(t.q),At(t.dp),At(t.dq),At(t.qi)),I;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(I=new u).setPrivate(At(t.n),At(t.e),At(t.d)),I;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(T=new s({curve:t.crv})).ecparams.keylen/4,f="04"+("0000000000"+At(t.x)).slice(-d)+("0000000000"+At(t.y)).slice(-d);return T.setPublicKeyHex(f),T}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(T=new s({curve:t.crv})).ecparams.keylen/4,f="04"+("0000000000"+At(t.x)).slice(-d)+("0000000000"+At(t.y)).slice(-d);var p=("0000000000"+At(t.d)).slice(-d);return T.setPublicKeyHex(f),T.setPrivateKeyHex(p),T}if("pkcs5prv"===i){var g,b=t,m=dt;if(9===(g=r(b,0)).length)(I=new u).readPKCS5PrvKeyHex(b);else if(6===g.length)(I=new c).readPKCS5PrvKeyHex(b);else{if(!(g.length>2&&"04"===b.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(I=new s).readPKCS5PrvKeyHex(b)}return I}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(t);if("x509pub"===i)return Kt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Kt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var v=It(t,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(v)}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 A=a(n=l(t,"DSA PRIVATE KEY"),0,[1],"02"),w=a(n,0,[2],"02"),_=a(n,0,[3],"02"),k=a(n,0,[4],"02"),E=a(n,0,[5],"02");return(I=new c).setPrivate(new S(A,16),new S(w,16),new S(_,16),new S(k,16),new S(E,16)),I}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 C=h.getDecryptedKeyHex(t,e),R=new rt;return R.readPKCS5PrvKeyHex(C),R}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var T,I=a(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),O=a(n,0,[2,0],"06"),D=a(n,0,[3,0],"03").substr(2);if(void 0===ut.crypto.OID.oidhex2name[O])throw"undefined OID(hex) in KJUR.crypto.OID: "+O;return(T=new s({curve:ut.crypto.OID.oidhex2name[O]})).setPublicKeyHex(D),T.setPrivateKeyHex(I),T.isPublic=!1,T}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return A=a(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),w=a(n,0,[2],"02"),_=a(n,0,[3],"02"),k=a(n,0,[4],"02"),E=a(n,0,[5],"02"),(I=new c).setPrivate(new S(A,16),new S(w,16),new S(_,16),new S(k,16),new S(E,16)),I;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},Ht.generateKeypair=function(t,e){if("RSA"==t){var i=e;(o=new rt).generate(i,"10001"),o.isPrivate=!0,o.isPublic=!0;var n=new rt,r=o.n.toString(16),a=o.e.toString(16);return n.setPublic(r,a),n.isPrivate=!1,n.isPublic=!0,(s={}).prvKeyObj=o,s.pubKeyObj=n,s}if("EC"==t){var o,s,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,(s={}).prvKeyObj=o,s.pubKeyObj=n,s}throw"unknown algorithm: "+t},Ht.getPEM=function(t,e,i,n,r,a){var o=ut.asn1,s=o.DERObjectIdentifier,c=o.DERInteger,u=o.ASN1Util.newObject,l=ut.crypto,h=l.DSA,d=l.ECDSA,f=rt;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 b(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 Tt(w=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 Tt(w=p(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===i||null==i)&&1==t.isPrivate){var v=new s({name:t.curveName}).getEncodedHex(),y=g(t).getEncodedHex(),A="";return(A+=Tt(v,"EC PARAMETERS"))+Tt(y,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return Tt(w=b(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==f&&t instanceof f&&void 0!==i&&null!=i&&1==t.isPrivate){var w=p(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",w,i,n,a)}if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==i&&null!=i&&1==t.isPrivate)return w=g(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",w,i,n,a);if("PKCS5PRV"==e&&void 0!==h&&t instanceof h&&void 0!==i&&null!=i&&1==t.isPrivate)return w=b(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",w,i,n,a);var _=function(t,e){var i=S(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()},S=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}),a=m.enc.Hex.parse(t),o=m.TripleDES.encrypt(a,r,{iv:n})+"",s={};return s.ciphertext=o,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 k=p(t).getEncodedHex();return w=u({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===i||null==i?Tt(w,"PRIVATE KEY"):Tt(y=_(w,i),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return k=new u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),w=u({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===i||null==i?Tt(w,"PRIVATE KEY"):Tt(y=_(w,i),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==h&&t instanceof h&&1==t.isPrivate)return k=new c({bigint:t.x}).getEncodedHex(),w=u({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===i||null==i?Tt(w,"PRIVATE KEY"):Tt(y=_(w,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Ht.getKeyFromCSRPEM=function(t){var e=It(t,"CERTIFICATE REQUEST");return Ht.getKeyFromCSRHex(e)},Ht.getKeyFromCSRHex=function(t){var e=Ht.parseCSRHex(t);return Ht.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Ht.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 a=e(r,0);if(a.length<1)throw"malformed CSR(code:002)";if("30"!=r.substr(a[0],2))throw"malformed CSR(code:003)";var o=e(r,a[0]);if(o.length<3)throw"malformed CSR(code:004)";return n.p8pubkeyhex=i(r,o[2]),n},Ht.getJWKFromKey=function(t){var e={};if(t instanceof rt&&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 rt&&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"},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]),a=i(t,e[2]),o=i(t,e[3]),s=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,r,a,o,s,c,u,l,h),e},rt.prototype.readPrivateKeyFromPEMString=function(t){var e=It(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,a,o,s,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"),r=u(t,0,[2,0,4],"02"),a=u(t,0,[2,0,5],"02"),o=u(t,0,[2,0,6],"02"),s=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,r,a,o,s,c)},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]),a=i(t,n[1]);this.setPublic(r,a)},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 Kt).readCertHex(t),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var Bt=new RegExp("");function jt(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 Ut(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 Kt(){var t=dt,e=t.getChildIdx,i=t.getV,n=t.getTLV,r=t.getVbyList,a=t.getTLVbyList,o=t.getIdxbyList,s=t.getVidx,c=t.oidname,u=Kt,l=It;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"!==a(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 c(r(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return a(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return u.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return a(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return u.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 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 Ht.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return c(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=a(this.hex,0,[0],"30"),r=new ut.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=o(this.hex,0,[0,7,0],"30"),n=e(this.hex,i);this.aExtInfo=new Array;for(var a=0;a0&&(u=new Array(i),(new et).nextBytes(u),u=String.fromCharCode.apply(String,u));var l=St(c(kt("\0\0\0\0\0\0\0\0"+r+u))),h=[];for(n=0;n>8*s-o&255),n=0;nthis.n.bitLength())return 0;var n=Ut(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var r=n[0];return n[1]==function(t){return ut.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=Ut(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 ut.crypto.Util.hashHex(t,i)}(kt(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(r,e,i,n)},rt.prototype.verifyWithMessageHashPSS=function(t,e,i,n){var r=new S(e,16);if(r.bitLength()>this.n.bitLength())return!1;var a,o=function(t){return ut.crypto.Util.hashHex(t,i)},s=St(t),c=s.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=Gt(f,d.length,o),b=[];for(a=0;a0&&-1==(":"+n.join(":")+":").indexOf(":"+b+":"))throw"algorithm '"+b+"' not accepted in the list";if("none"!=b&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Ht.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 c))throw"key shall be a ECDSA obj for ES* algs";var m=null;if(void 0===a.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+b;if("none"==(m=a.jwsalg2sigalg[b]))throw"not supported";if("Hmac"==m.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var v=new u({alg:m,pass:e});return v.updateString(f),p==v.doFinal()}if(-1!=m.indexOf("withECDSA")){var y,A=null;try{A=c.concatSigToASN1Sig(p)}catch(t){return!1}return(y=new l({alg:m})).init(e),y.updateString(f),y.verify(A)}return(y=new l({alg:m})).init(e),y.updateString(f),y.verify(p)},ut.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=ut.jws.JWS.readSafeJSONString(ht(n[0])),r.payloadObj=ut.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=At(i)),r},ut.jws.JWS.verifyJWT=function(t,e,n){var r=ut.jws,a=r.JWS,o=a.readSafeJSONString,s=a.inArray,c=a.includedArray,u=t.split("."),l=u[0],h=u[1],d=(At(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(!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)&&!c(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=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 B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return j(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 b(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=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:m(t,e,i,n,r);if("number"==typeof e)return e&=255,c.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 a,o=1,s=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,s/=2,c/=2,i/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var l=-1;for(a=i;as&&(i=s-c),a=i;a>=0;a--){for(var h=!0,d=0;dr&&(n=r):n=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o>8,r.push(i%256),r.push(n);return r}(e,t.length-i),t,i,n)}function k(t,e,i){return n.fromByteArray(0===e&&i===t.length?t:t.slice(e,i))}function E(t,e,i){i=Math.min(t.length,i);for(var n=[],r=e;r239?4:u>223?3:u>191?2:1;if(r+h<=i)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(a=t[r+1]))&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:o=t[r+2],128==(192&(a=t[r+1]))&&128==(192&o)&&(c=(15&u)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[r+2],s=t[r+3],128==(192&(a=t[r+1]))&&128==(192&o)&&128==(192&s)&&(c=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>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),r+=h}return function(t){var e=t.length;if(e<=C)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 I(this,e,i);case"utf8":case"utf-8":return E(this,e,i);case"ascii":return R(this,e,i);case"latin1":case"binary":return T(this,e,i);case"base64":return k(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(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,r){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===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 a=(r>>>=0)-(n>>>=0),o=(i>>>=0)-(e>>>=0),s=Math.min(a,o),u=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 a=!1;;)switch(n){case"hex":return v(this,t,e,i);case"utf8":case"utf-8":return y(this,t,e,i);case"ascii":return A(this,t,e,i);case"latin1":case"binary":return w(this,t,e,i);case"base64":return _(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,i);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function R(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;rn)&&(i=n);for(var r="",a=e;ai)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,i,n,r,a){if(!c.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 P(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-i,2);r>>8*(n?r:1-r)}function x(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-i,4);r>>8*(n?r:3-r)&255}function N(t,e,i,n,r,a){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function L(t,e,i,n,a){return a||N(t,0,i,4),r.write(t,e,i,n,23,4),i+4}function F(t,e,i,n,a){return a||N(t,0,i,8),r.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&&(r*=256);)n+=this[t+--e]*r;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],r=1,a=0;++a=(r*=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,r=1,a=this[t+--n];n>0&&(r*=256);)a+=this[t+--n]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},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),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,i,n){t=+t,e|=0,i|=0,n||M(this,t,e,i,Math.pow(2,8*i)-1,0);var r=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+r]=t/a&255;return e+i},c.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||M(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||M(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||M(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);M(this,t,e,i,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+i},c.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);M(this,t,e,i,r-1,-r)}var a=i-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+i},c.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||M(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||M(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||M(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||M(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):x(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,i){return L(this,t,e,!0,i)},c.prototype.writeFloatBE=function(t,e,i){return L(this,t,e,!1,i)},c.prototype.writeDoubleLE=function(t,e,i){return F(this,t,e,!0,i)},c.prototype.writeDoubleBE=function(t,e,i){return F(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;--r)t[r+e]=this[r+i];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&a.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;a.push(i)}else if(i<2048){if((e-=2)<0)break;a.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;a.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;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return a}function j(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function G(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=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],s=new a(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,s[c++]=e>>8&255,s[c++]=255&e;return 2===o&&(e=r[t.charCodeAt(h)]<<2|r[t.charCodeAt(h+1)]>>4,s[c++]=255&e),1===o&&(e=r[t.charCodeAt(h)]<<10|r[t.charCodeAt(h+1)]<<4|r[t.charCodeAt(h+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,a=[],o=0,s=i-r;os?s:o+16383));return 1===r?a.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===r&&a.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),a.join("")};for(var n=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=o.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,a=[],o=e;o>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,n,r){var a,o,s=8*r-n-1,c=(1<>1,l=-7,h=i?r-1:0,d=i?-1:1,f=t[e+h];for(h+=d,a=f&(1<<-l)-1,f>>=-l,l+=s;l>0;a=256*a+t[e+h],h+=d,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=n;l>0;o=256*o+t[e+h],h+=d,l-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=u}return(f?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,i,n,r,a){var o,s,c,u=8*a-r-1,l=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-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,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?(s=0,o=l):o+h>=1?(s=(e*c-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[i+f]=255&s,f+=p,s/=256,r-=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,r=t.X509,a=t.crypto,o=t.hextob64u,s=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 r=e.JWS.parse(i);return{header:r.headerObj,payload:r.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,a,o,c,u,l,h){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===a.kty)if(a.e&&a.n)a=i.getKey(a);else{if(!a.x5c||!a.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",a),Promise.reject(new Error("RSA key missing key material"));var d=s(a.x5c[0]);a=r.getPublicKeyFromCertHex(d)}else{if("EC"!==a.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",a&&a.kty),Promise.reject(new Error(a.kty));if(!(a.crv&&a.x&&a.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",a),Promise.reject(new Error("EC key missing key material"));a=i.getKey(a)}return t._validateJwt(e,a,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,r,a,o,s){a||(a=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===r||Array.isArray(c.aud)&&c.aud.indexOf(r)>=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!==r)return n.Log.error("JoseUtil._validateJwt: Invalid azp in token",c.azp),Promise.reject(new Error("Invalid azp in token: "+c.azp));if(!s){var u=o+a,l=o-a;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 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),a=i(8);e.SignoutRequest=function t(e){var i=e.url,o=e.id_token_hint,s=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=r.UrlUtility.addQueryParam(i,"id_token_hint",o)),s&&(i=r.UrlUtility.addQueryParam(i,"post_logout_redirect_uri",s),c&&(this.state=new a.State({data:c,request_type:l}),i=r.UrlUtility.addQueryParam(i,"state",this.state.id))),u)i=r.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,a=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 o.UserManagerSettings||(i=new o.UserManagerSettings(i));var b=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 b._events=new c.UserManagerEvents(i),b._silentRenewService=new n(b),b.settings.automaticSilentRenew&&(r.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),b.startSilentRenew()),b.settings.monitorSession&&(r.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),b._sessionMonitor=new a(b)),b._tokenRevocationClient=new s(b._settings),b._tokenClient=new p(b._settings),b._joseUtil=g,b}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,a=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")):a}))},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(a){return r.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(a):Promise.resolve()).then((function(){var o=t.id_token_hint||a&&a.id_token;return o&&(r.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=o),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}(a.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,b=void 0!==g&&g,m=i.validateSubOnSilentRenew,v=void 0!==m&&m,y=i.includeIdTokenInSilentRenew,A=void 0===y||y,w=i.monitorSession,_=void 0===w||w,S=i.monitorAnonymousSession,k=void 0!==S&&S,E=i.checkSessionInterval,C=void 0===E?2e3:E,R=i.stopCheckSessionOnError,T=void 0===R||R,I=i.query_status_response_type,O=i.revokeAccessTokenOnSignout,D=void 0!==O&&O,M=i.accessTokenExpiringNotificationTime,P=void 0===M?60:M,x=i.redirectNavigator,N=void 0===x?new a.RedirectNavigator:x,L=i.popupNavigator,F=void 0===L?new o.PopupNavigator:L,z=i.iframeNavigator,H=void 0===z?new s.IFrameNavigator:z,B=i.userStore,j=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 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]));return G._popup_redirect_uri=n,G._popup_post_logout_redirect_uri=r,G._popupWindowFeatures=h,G._popupWindowTarget=d,G._silent_redirect_uri=f,G._silentRequestTimeout=p,G._automaticSilentRenew=b,G._validateSubOnSilentRenew=v,G._includeIdTokenInSilentRenew=A,G._accessTokenExpiringNotificationTime=P,G._monitorSession=_,G._monitorAnonymousSession=k,G._checkSessionInterval=C,G._stopCheckSessionOnError=T,G._query_status_response_type=I||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),G._revokeAccessTokenOnSignout=D,G._redirectNavigator=N,G._popupNavigator=F,G._iframeNavigator=H,G._userStore=j,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),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]:a.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 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=r||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)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;t4&&void 0!==arguments[4]?arguments[4]:new n.a(t,i,o);if(!s.closed)return e instanceof a.a?e.subscribe(s):Object(r.a)(e)(s)}},mWib:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("5uGe"),r=i("Efrr");function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return function(i){return i.lift(new c(t,e))}}var c=function(){function t(e,i){g(this,t),this.dueTime=e,this.scheduler=i}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))}}]),t}(),u=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t)).dueTime=n,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return m(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.a);function l(t){t.debouncedNext()}},ma6z:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("TkCa"),r=i("EM62"),a=i("sEIs"),o=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"ngOnInit",value:function(){}},{key:"prepareRoute",value:function(t){return t&&t.activatedRouteData&&t.activatedRouteData.animation}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Gb({type:t,selectors:[["app-animated-router-outlet"]],decls:3,vars:0,consts:[["outlet","outlet"]],template:function(t,e){1&t&&(r.Sb(0,"div"),r.Nb(1,"router-outlet",null,0),r.Rb())},directives:[a.k],styles:[""],data:{animation:[n.a]}}),t}()},mawV:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("3lSR");function r(){return Object(n.a)(1)}},mjJC:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("EM62"),s=i("s2Ay"),c=i("2kYt"),u=i("PBFl"),l=i("csyo"),h=i("29Wa"),d=i("R7+U"),f=i("mFH5");function p(t,e){1&t&&o.Nb(0,"mat-spinner",7)}function b(t,e){if(1&t&&(o.Sb(0,"mat-option",13),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.kc("value",i),o.Ab(1),o.Lc(" ",i.friendlyNameParameter," ")}}function v(t,e){if(1&t&&(o.Sb(0,"mat-option",13),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.kc("value",i),o.Ab(1),o.Lc(" ",i," ")}}function y(t,e){if(1&t&&(o.Sb(0,"mat-option",13),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.kc("value",i),o.Ab(1),o.Lc(" ",i," ")}}function A(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div",8),o.Sb(1,"mat-form-field"),o.Sb(2,"mat-label"),o.Jc(3),o.ec(4,"translate"),o.Rb(),o.Sb(5,"mat-select",9),o.Zb("valueChange",(function(t){return o.xc(i),o.dc().selectedLogin=t})),o.Hc(6,b,2,2,"mat-option",10),o.Rb(),o.Rb(),o.Sb(7,"mat-form-field"),o.Sb(8,"mat-label"),o.Jc(9),o.ec(10,"translate"),o.Rb(),o.Sb(11,"mat-select",9),o.Zb("valueChange",(function(t){return o.xc(i),o.dc().selectedLang=t})),o.Hc(12,v,2,2,"mat-option",10),o.Rb(),o.Rb(),o.Sb(13,"mat-form-field"),o.Sb(14,"mat-label"),o.Jc(15),o.ec(16,"translate"),o.Rb(),o.Sb(17,"mat-select",9),o.Zb("valueChange",(function(t){return o.xc(i),o.dc().selectedMail=t})),o.Hc(18,y,2,2,"mat-option",10),o.Rb(),o.Rb(),o.Sb(19,"div",11),o.Sb(20,"p",12),o.Jc(21),o.ec(22,"translate"),o.Rb(),o.Sb(23,"p"),o.Jc(24),o.Rb(),o.Rb(),o.Rb()}if(2&t){var n=o.dc();o.Ab(3),o.Kc(o.fc(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),o.Ab(2),o.kc("value",n.selectedLogin),o.Ab(1),o.kc("ngForOf",n.logins),o.Ab(3),o.Kc(o.fc(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),o.Ab(2),o.kc("value",n.selectedLang),o.Ab(1),o.kc("ngForOf",n.languages),o.Ab(3),o.Kc(o.fc(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),o.Ab(2),o.kc("value",n.selectedMail),o.Ab(1),o.kc("ngForOf",n.mails),o.Ab(3),o.Kc(o.fc(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),o.Ab(3),o.Kc(n.selectedLogin.value)}}var w=function(){var t=function(){function t(e,i,n,r,a,o,s){var c=this;g(this,t),this.dialogRef=e,this.data=i,this.membersManagerService=n,this.attributesManagerService=r,this.store=a,this.translate=o,this.notificator=s,this.languages=["en","cz"],this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],o.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe((function(t){return c.successMessage=t}))}return m(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)(o.Mb(n.i),o.Mb(n.a),o.Mb(r.i),o.Mb(r.c),o.Mb(a.m),o.Mb(s.e),o.Mb(a.l))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"h1",0),o.Jc(1),o.ec(2,"translate"),o.Rb(),o.Sb(3,"div",1),o.Hc(4,p,1,0,"mat-spinner",2),o.Rb(),o.Hc(5,A,25,19,"div",3),o.Sb(6,"div",4),o.Sb(7,"button",5),o.Zb("click",(function(){return e.onCancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",6),o.Zb("click",(function(){return e.onSubmit()})),o.Jc(11),o.ec(12,"translate"),o.Rb(),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),o.Ab(3),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),o.Ab(2),o.kc("disabled",e.loading),o.Ab(1),o.Lc(" ",o.fc(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[n.j,c.t,n.c,u.b,l.c,n.g,h.c,h.g,d.a,c.s,f.n],pipes:[s.d],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),t}()},nIj0:function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return qt})),n.d(e,"c",(function(){return y})),n.d(e,"d",(function(){return Zt})),n.d(e,"e",(function(){return Ht})),n.d(e,"f",(function(){return ne})),n.d(e,"g",(function(){return mt})),n.d(e,"h",(function(){return Pt})),n.d(e,"i",(function(){return Gt})),n.d(e,"j",(function(){return Nt})),n.d(e,"k",(function(){return Ft})),n.d(e,"l",(function(){return re})),n.d(e,"m",(function(){return $t})),n.d(e,"n",(function(){return Xt})),n.d(e,"o",(function(){return I})),n.d(e,"p",(function(){return h})),n.d(e,"q",(function(){return S})),n.d(e,"r",(function(){return E})),n.d(e,"s",(function(){return C})),n.d(e,"t",(function(){return _t})),n.d(e,"u",(function(){return It})),n.d(e,"v",(function(){return Ct})),n.d(e,"w",(function(){return W})),n.d(e,"x",(function(){return H})),n.d(e,"y",(function(){return ee})),n.d(e,"z",(function(){return G})),n.d(e,"A",(function(){return K})),n.d(e,"B",(function(){return ae})),n.d(e,"C",(function(){return Vt})),n.d(e,"D",(function(){return J})),n.d(e,"E",(function(){return X})),n.d(e,"F",(function(){return M})),n.d(e,"G",(function(){return Q})),n.d(e,"H",(function(){return Ot}));var r=n("EM62"),o=n("2kYt"),c=n("P4Xx"),u=n("GoAz"),l=n("YtkY"),h=new r.r("NgValueAccessor"),f={provide:h,useExisting:Object(r.U)((function(){return p})),multi:!0},p=function(){var t=function(){function t(e,i){g(this,t),this._renderer=e,this._elementRef=i,this.onChange=function(t){},this.onTouched=function(){}}return m(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.F),r.Mb(r.l))},t.\u0275dir=r.Hb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&r.Zb("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[r.zb([f])]}),t}(),b={provide:h,useExisting:Object(r.U)((function(){return y})),multi:!0},v=new r.r("CompositionEventMode"),y=function(){var t=function(){function t(e,i,n){var r;g(this,t),this._renderer=e,this._elementRef=i,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Object(o.M)()?Object(o.M)().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return m(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.F),r.Mb(r.l),r.Mb(v,8))},t.\u0275dir=r.Hb({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&&r.Zb("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:[r.zb([b])]}),t}(),A=function(){var t=function(){function t(){g(this,t)}return m(t,[{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}},{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}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t}),t}(),w=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),i}(A);return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=r.Hb({type:t,features:[r.xb]}),t}(),_=r.Ub(w),S=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return m(i,[{key:"validator",get:function(){}},{key:"asyncValidator",get:function(){}}]),i}(A),k=function(){function t(e){g(this,t),this._cd=e}return m(t,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),t}(),E=function(){var t=function(t){a(i,t);var e=s(i);function i(t){return g(this,i),e.call(this,t)}return i}(k);return t.\u0275fac=function(e){return new(e||t)(r.Mb(S,2))},t.\u0275dir=r.Hb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.Eb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r.xb]}),t}(),C=function(){var t=function(t){a(i,t);var e=s(i);function i(t){return g(this,i),e.call(this,t)}return i}(k);return t.\u0275fac=function(e){return new(e||t)(r.Mb(w,2))},t.\u0275dir=r.Hb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.Eb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r.xb]}),t}();function R(t){return null==t||0===t.length}function T(t){return null!=t&&"number"==typeof t.length}var I=new r.r("NgValidators"),O=new r.r("NgAsyncValidators"),D=/^(?=.{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])?)*$/,M=function(){function t(){g(this,t)}return m(t,null,[{key:"min",value:function(t){return function(e){if(R(e.value)||R(t))return null;var i=parseFloat(e.value);return!isNaN(i)&&it?{max:{max:t,actual:e.value}}:null}}},{key:"required",value:function(t){return R(t.value)?{required:!0}:null}},{key:"requiredTrue",value:function(t){return!0===t.value?null:{required:!0}}},{key:"email",value:function(t){return R(t.value)||D.test(t.value)?null:{email:!0}}},{key:"minLength",value:function(t){return function(e){return R(e.value)||!T(e.value)?null:e.value.lengtht?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"pattern",value:function(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),i=new RegExp(n)):(n=e.toString(),i=e),function(t){if(R(t.value))return null;var e=t.value;return i.test(e)?null:{pattern:{requiredPattern:n,actualValue:e}}}):t.nullValidator;var i,n}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){if(!t)return null;var e=t.filter(P);return 0==e.length?null:function(t){return N(L(t,e))}}},{key:"composeAsync",value:function(t){if(!t)return null;var e=t.filter(P);return 0==e.length?null:function(t){var i=L(t,e).map(x);return Object(c.a)(i).pipe(Object(l.a)(N))}}}]),t}();function P(t){return null!=t}function x(t){var e=Object(r.sb)(t)?Object(u.a)(t):t;return Object(r.rb)(e),e}function N(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 L(t,e){return e.map((function(e){return e(t)}))}function F(t){return t.map((function(t){return function(t){return!t.validate}(t)?t:function(e){return t.validate(e)}}))}var z={provide:h,useExisting:Object(r.U)((function(){return H})),multi:!0},H=function(){var t=function(){function t(e,i){g(this,t),this._renderer=e,this._elementRef=i,this.onChange=function(t){},this.onTouched=function(){}}return m(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.F),r.Mb(r.l))},t.\u0275dir=r.Hb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&r.Zb("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.zb([z])]}),t}(),B={provide:h,useExisting:Object(r.U)((function(){return G})),multi:!0},j=function(){var t=function(){function t(){g(this,t),this._accessors=[]}return m(t,[{key:"add",value:function(t,e){this._accessors.push([t,e])}},{key:"remove",value:function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}},{key:"select",value:function(t){var e=this;this._accessors.forEach((function(i){e._isSameGroup(i,t)&&i[1]!==t&&i[1].fireUncheck(t.value)}))}},{key:"_isSameGroup",value:function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(e,i,n,r){g(this,t),this._renderer=e,this._elementRef=i,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return m(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(S),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}}},{key:"fireUncheck",value:function(t){this.writeValue(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.F),r.Mb(r.l),r.Mb(j),r.Mb(r.s))},t.\u0275dir=r.Hb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&r.Zb("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.zb([B])]}),t}(),U={provide:h,useExisting:Object(r.U)((function(){return K})),multi:!0},K=function(){var t=function(){function t(e,i){g(this,t),this._renderer=e,this._elementRef=i,this.onChange=function(t){},this.onTouched=function(){}}return m(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.F),r.Mb(r.l))},t.\u0275dir=r.Hb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&r.Zb("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.zb([U])]}),t}(),V={provide:h,useExisting:Object(r.U)((function(){return J})),multi:!0};function q(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var J=function(){var t=function(){function t(e,i){g(this,t),this._renderer=e,this._elementRef=i,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}return m(t,[{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var i=q(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(i){e.value=e._getOptionValue(i),t(e.value)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{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,a=0;a-1&&t.splice(i,1)}function lt(t,e,i,n){Object(r.W)()&&"never"!==n&&((null!==n&&"once"!==n||e._ngModelWarningSentOnce)&&("always"!==n||i._ngModelWarningSent)||(e._ngModelWarningSentOnce=!0,i._ngModelWarningSent=!0))}function ht(t){return(gt(t)?t.validators:t)||null}function dt(t){return Array.isArray(t)?nt(t):t||null}function ft(t,e){return(gt(e)?e.asyncValidators:t)||null}function pt(t){return Array.isArray(t)?rt(t):t||null}function gt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var bt=function(){function t(e,i){g(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=i,this._composedValidatorFn=dt(this._rawValidators),this._composedAsyncValidatorFn=pt(this._rawAsyncValidators)}return m(t,[{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=dt(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=pt(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=x(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 vt?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof yt&&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:"_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 r.o,this.statusChanges=new r.o}},{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){gt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{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:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}}]),t}(),mt=function(t){a(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,a=arguments.length>2?arguments[2]:void 0;return g(this,i),(t=e.call(this,ht(r),ft(a,r)))._onChange=[],t._applyFormState(n),t._setUpdateStrategy(r),t.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),t._initObservables(),t}return m(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:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(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}(bt),vt=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,ht(n),ft(r,n))).controls=t,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return m(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){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),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]:{};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 mt?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){return t(e.controls[i],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}(bt),yt=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,ht(n),ft(r,n))).controls=t,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return m(i,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}},{key:"removeAt",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()}},{key:"setControl",value:function(t,e){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(),this._onCollectionChange()}},{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]:{};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 mt?t.value:t.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{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 "+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=d(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)}},{key:"length",get:function(){return this.controls.length}}]),i}(bt),At={provide:w,useExisting:Object(r.U)((function(){return _t}))},wt=Promise.resolve(null),_t=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n){var a;return g(this,i),(a=e.call(this)).submitted=!1,a._directives=[],a.ngSubmit=new r.o,a.form=new vt({},nt(t),rt(n)),a}return m(i,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(t){var e=this;wt.then((function(){var i=e._findContainer(t.path);t.control=i.registerControl(t.name,t.control),tt(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;wt.then((function(){var i=e._findContainer(t.path);i&&i.removeControl(t.name),ut(e._directives,t)}))}},{key:"addFormGroup",value:function(t){var e=this;wt.then((function(){var i=e._findContainer(t.path),n=new vt({});it(n,t),i.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(t){var e=this;wt.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;wt.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,st(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}},{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}}]),i}(w);return t.\u0275fac=function(e){return new(e||t)(r.Mb(I,10),r.Mb(O,10))},t.\u0275dir=r.Hb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&r.Zb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.zb([At]),r.xb]}),t}(),St=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return $(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return nt(this._validators)}},{key:"asyncValidator",get:function(){return rt(this._asyncValidators)}}]),i}(w);return t.\u0275fac=function(e){return kt(e||t)},t.\u0275dir=r.Hb({type:t,features:[r.xb]}),t}(),kt=r.Ub(St),Et={provide:w,useExisting:Object(r.U)((function(){return Ct}))},Ct=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this))._parent=t,a._validators=n,a._asyncValidators=r,a}return m(i,[{key:"_checkParentType",value:function(){}}]),i}(St);return t.\u0275fac=function(e){return new(e||t)(r.Mb(w,5),r.Mb(I,10),r.Mb(O,10))},t.\u0275dir=r.Hb({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.zb([Et]),r.xb]}),t}(),Rt={provide:S,useExisting:Object(r.U)((function(){return It}))},Tt=Promise.resolve(null),It=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a,o){var s;return g(this,i),(s=e.call(this)).control=new mt,s._registered=!1,s.update=new r.o,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=a||[],s.valueAccessor=ct(0,o),s}return m(i,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),at(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=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:"_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(){tt(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;Tt.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;Tt.then((function(){n&&!e.control.disabled?e.control.disable():!n&&e.control.disabled&&e.control.enable()}))}},{key:"path",get:function(){return this._parent?$(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return nt(this._rawValidators)}},{key:"asyncValidator",get:function(){return rt(this._rawAsyncValidators)}}]),i}(S);return t.\u0275fac=function(e){return new(e||t)(r.Mb(w,9),r.Mb(I,10),r.Mb(O,10),r.Mb(h,10))},t.\u0275dir=r.Hb({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:[r.zb([Rt]),r.xb,r.yb]}),t}(),Ot=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),Dt=new r.r("NgModelWithFormControlWarning"),Mt={provide:S,useExisting:Object(r.U)((function(){return Pt}))},Pt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a,o){var s;return g(this,i),(s=e.call(this))._ngModelWarningConfig=o,s.update=new r.o,s._ngModelWarningSent=!1,s._rawValidators=t||[],s._rawAsyncValidators=n||[],s.valueAccessor=ct(0,a),s}return m(i,[{key:"ngOnChanges",value:function(t){this._isControlChanged(t)&&(tt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),at(t,this.viewModel)&&(lt(0,i,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}},{key:"isDisabled",set:function(t){}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return nt(this._rawValidators)}},{key:"asyncValidator",get:function(){return rt(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}}]),i}(S);return t.\u0275fac=function(e){return new(e||t)(r.Mb(I,10),r.Mb(O,10),r.Mb(h,10),r.Mb(Dt,8))},t.\u0275dir=r.Hb({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r.zb([Mt]),r.xb,r.yb]}),t._ngModelWarningSentOnce=!1,t}(),xt={provide:w,useExisting:Object(r.U)((function(){return Nt}))},Nt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n){var a;return g(this,i),(a=e.call(this))._validators=t,a._asyncValidators=n,a.submitted=!1,a.directives=[],a.form=null,a.ngSubmit=new r.o,a}return m(i,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return tt(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){ut(this.directives,t)}},{key:"addFormGroup",value:function(t){var e=this.form.get(t.path);it(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(t){}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){var e=this.form.get(t.path);it(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(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,st(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=t.form.get(e.path);e.control!==i&&(function(t,e){var i=function(){};e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),i&&tt(i,e),e.control=i)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var t=nt(this._validators);this.form.validator=M.compose([this.form.validator,t]);var e=rt(this._asyncValidators);this.form.asyncValidator=M.composeAsync([this.form.asyncValidator,e])}},{key:"_checkFormPresent",value:function(){}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),i}(w);return t.\u0275fac=function(e){return new(e||t)(r.Mb(I,10),r.Mb(O,10))},t.\u0275dir=r.Hb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r.Zb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.zb([xt]),r.xb,r.yb]}),t}(),Lt={provide:w,useExisting:Object(r.U)((function(){return Ft}))},Ft=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this))._parent=t,a._validators=n,a._asyncValidators=r,a}return m(i,[{key:"_checkParentType",value:function(){Bt(this._parent)}}]),i}(St);return t.\u0275fac=function(e){return new(e||t)(r.Mb(w,13),r.Mb(I,10),r.Mb(O,10))},t.\u0275dir=r.Hb({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r.zb([Lt]),r.xb]}),t}(),zt={provide:w,useExisting:Object(r.U)((function(){return Ht}))},Ht=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this))._parent=t,a._validators=n,a._asyncValidators=r,a}return m(i,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){Bt(this._parent)}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return $(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return nt(this._validators)}},{key:"asyncValidator",get:function(){return rt(this._asyncValidators)}}]),i}(w);return t.\u0275fac=function(e){return new(e||t)(r.Mb(w,13),r.Mb(I,10),r.Mb(O,10))},t.\u0275dir=r.Hb({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r.zb([zt]),r.xb]}),t}();function Bt(t){return!(t instanceof Ft||t instanceof Nt||t instanceof Ht)}var jt={provide:S,useExisting:Object(r.U)((function(){return Gt}))},Gt=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a,o,s){var c;return g(this,i),(c=e.call(this))._ngModelWarningConfig=s,c._added=!1,c.update=new r.o,c._ngModelWarningSent=!1,c._parent=t,c._rawValidators=n||[],c._rawAsyncValidators=a||[],c.valueAccessor=ct(0,o),c}return m(i,[{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),at(t,this.viewModel)&&(lt(0,i,this,this._ngModelWarningConfig),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:"_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}},{key:"isDisabled",set:function(t){}},{key:"path",get:function(){return $(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return nt(this._rawValidators)}},{key:"asyncValidator",get:function(){return rt(this._rawAsyncValidators)}}]),i}(S);return t.\u0275fac=function(e){return new(e||t)(r.Mb(w,13),r.Mb(I,10),r.Mb(O,10),r.Mb(h,10),r.Mb(Dt,8))},t.\u0275dir=r.Hb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r.zb([jt]),r.xb,r.yb]}),t._ngModelWarningSentOnce=!1,t}(),Ut={provide:I,useExisting:Object(r.U)((function(){return Vt})),multi:!0},Kt={provide:I,useExisting:Object(r.U)((function(){return qt})),multi:!0},Vt=function(){var t=function(){function t(){g(this,t),this._required=!1}return m(t,[{key:"validate",value:function(t){return this.required?M.required(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({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&&r.Bb("required",e.required?"":null)},inputs:{required:"required"},features:[r.zb([Ut])]}),t}(),qt=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"validate",value:function(t){return this.required?M.requiredTrue(t):null}}]),i}(Vt);return t.\u0275fac=function(e){return Jt(e||t)},t.\u0275dir=r.Hb({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&&r.Bb("required",e.required?"":null)},features:[r.zb([Kt]),r.xb]}),t}(),Jt=r.Ub(qt),Wt={provide:I,useExisting:Object(r.U)((function(){return Zt})),multi:!0},Zt=function(){var t=function(){function t(){g(this,t),this._enabled=!1}return m(t,[{key:"validate",value:function(t){return this._enabled?M.email(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"email",set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r.zb([Wt])]}),t}(),Yt={provide:I,useExisting:Object(r.U)((function(){return Xt})),multi:!0},Xt=function(){var t=function(){function t(){g(this,t),this._validator=M.nullValidator}return m(t,[{key:"ngOnChanges",value:function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null==this.minlength?null:this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=M.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Bb("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[r.zb([Yt]),r.yb]}),t}(),Qt={provide:I,useExisting:Object(r.U)((function(){return $t})),multi:!0},$t=function(){var t=function(){function t(){g(this,t),this._validator=M.nullValidator}return m(t,[{key:"ngOnChanges",value:function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null!=this.maxlength?this._validator(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=M.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Bb("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r.zb([Qt]),r.yb]}),t}(),te={provide:I,useExisting:Object(r.U)((function(){return ee})),multi:!0},ee=function(){var t=function(){function t(){g(this,t),this._validator=M.nullValidator}return m(t,[{key:"ngOnChanges",value:function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=M.pattern(this.pattern)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Bb("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[r.zb([te]),r.yb]}),t}(),ie=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}(),ne=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"group",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this._reduceControls(t),n=null,r=null,a=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(n=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(n=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new vt(i,{asyncValidators:r,updateOn:a,validators:n})}},{key:"control",value:function(t,e,i){return new mt(t,e,i)}},{key:"array",value:function(t,e,i){var n=this,r=t.map((function(t){return n._createControl(t)}));return new yt(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 mt||t instanceof vt||t instanceof yt?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=r.Ib({token:t,factory:t.\u0275fac}),t}(),re=function(){var t=function t(){g(this,t)};return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[j],imports:[ie]}),t}(),ae=function(){var t=function(){function t(){g(this,t)}return m(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:Dt,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[ne,j],imports:[ie]}),t}()},nKqi:function(t,e,i){"use strict";i.d(e,"a",(function(){return M})),i.d(e,"b",(function(){return P})),i.d(e,"c",(function(){return x})),i.d(e,"d",(function(){return L})),i.d(e,"e",(function(){return U})),i.d(e,"f",(function(){return j})),i.d(e,"g",(function(){return N})),i.d(e,"h",(function(){return O})),i.d(e,"i",(function(){return G}));var n=i("2kYt"),r=i("EM62"),o=i("mFH5"),c=i("5XID"),u=i("ZTXN"),l=i("kuMc"),h=i("jIqt"),f=i("sg/T"),p=i("cqs0"),b=i("fAiE"),v=i("nIj0"),y=i("zmEM"),A=["*"],w='.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;position:relative}.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;width:100%;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;position:relative}.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;width:100%;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-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',_=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],S=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],k=["text"];function E(t,e){if(1&t&&r.Nb(0,"mat-pseudo-checkbox",5),2&t){var i=r.dc();r.kc("state",i.selected?"checked":"unchecked")("disabled",i.disabled)}}var C=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],R=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],T=Object(o.A)(Object(o.z)((function t(){g(this,t)}))),I=Object(o.z)((function t(){g(this,t)})),O=function(){var t=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._stateChanges=new u.a,t}return m(i,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(T);return t.\u0275fac=function(e){return D(e||t)},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[r.xb,r.yb],ngContentSelectors:A,decls:1,vars:0,template:function(t,e){1&t&&(r.jc(),r.ic(0))},styles:[w],encapsulation:2,changeDetection:0}),t}(),D=r.Ub(O),M=function(){var t=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this))._elementRef=t,n._stateChanges=new u.a,"action-list"===n._getListType()&&t.nativeElement.classList.add("mat-action-list"),n}return m(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}(T);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[r.xb,r.yb],ngContentSelectors:A,decls:1,vars:0,template:function(t,e){1&t&&(r.jc(),r.ic(0))},styles:[w],encapsulation:2,changeDetection:0}),t}(),P=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t}(),x=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t}(),N=function(){var t=function t(){g(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Hb({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),t}(),L=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;g(this,i),(o=e.call(this))._element=t,o._isInteractiveList=!1,o._destroyed=new u.a,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(Object(l.a)(o._destroyed)).subscribe((function(){n.markForCheck()})),o}return m(i,[{key:"ngAfterContentInit",value:function(){Object(o.E)(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}},{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(t){this._disabled=Object(c.c)(t)}}]),i}(I);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(r.h),r.Mb(O,8),r.Mb(M,8))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){var n;1&t&&(r.Fb(i,P,!0),r.Fb(i,x,!0),r.Fb(i,o.j,!0)),2&t&&(r.sc(n=r.ac())&&(e._avatar=n.first),r.sc(n=r.ac())&&(e._icon=n.first),r.sc(n=r.ac())&&(e._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&r.Eb("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.xb],ngContentSelectors:S,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.jc(_),r.Sb(0,"div",0),r.Nb(1,"div",1),r.ic(2),r.Sb(3,"div",2),r.ic(4,1),r.Rb(),r.ic(5,2),r.Rb()),2&t&&(r.Ab(1),r.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[o.s],encapsulation:2,changeDetection:0}),t}(),F=Object(o.z)((function t(){g(this,t)})),z=Object(o.z)((function t(){g(this,t)})),H={provide:v.p,useExisting:Object(r.U)((function(){return G})),multi:!0},B=function t(e,i){g(this,t),this.source=e,this.option=i},j=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this))._element=t,a._changeDetector=n,a.selectionList=r,a._selected=!1,a._disabled=!1,a._hasFocus=!1,a.checkboxPosition="after",a._inputsInitialized=!1,a}return m(i,[{key:"ngOnInit",value:function(){var t=this,e=this.selectionList;e._value&&e._value.some((function(i){return e.compareWith(i,t._value)}))&&this._setSelected(!0);var i=this._selected;Promise.resolve().then((function(){(t._selected||i)&&(t.selected=!0,t._changeDetector.markForCheck())})),this._inputsInitialized=!0}},{key:"ngAfterContentInit",value:function(){Object(o.E)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){var t=this;this.selected&&Promise.resolve().then((function(){t.selected=!1}));var e=this._hasFocus,i=this.selectionList._removeOptionFromList(this);e&&i&&i.focus()}},{key:"toggle",value:function(){this.selected=!this.selected}},{key:"focus",value:function(){this._element.nativeElement.focus()}},{key:"getLabel",value:function(){return this._text&&this._text.nativeElement.textContent||""}},{key:"_isRippleDisabled",value:function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}},{key:"_handleClick",value:function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent(this))}},{key:"_handleFocus",value:function(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}},{key:"_handleBlur",value:function(){this.selectionList._onTouched(),this._hasFocus=!1}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"_setSelected",value:function(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"color",get:function(){return this._color||this.selectionList.color},set:function(t){this._color=t}},{key:"value",get:function(){return this._value},set:function(t){this.selected&&t!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=t}},{key:"disabled",get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(t){var e=Object(c.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}},{key:"selected",get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(t){var e=Object(c.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())}}]),i}(z);return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(r.h),r.Mb(Object(r.U)((function(){return G}))))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-list-option"]],contentQueries:function(t,e,i){var n;1&t&&(r.Fb(i,P,!0),r.Fb(i,x,!0),r.Fb(i,o.j,!0)),2&t&&(r.sc(n=r.ac())&&(e._avatar=n.first),r.sc(n=r.ac())&&(e._icon=n.first),r.sc(n=r.ac())&&(e._lines=n))},viewQuery:function(t,e){var i;1&t&&r.Qc(k,!0),2&t&&r.sc(i=r.ac())&&(e._text=i.first)},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&r.Zb("focus",(function(){return e._handleFocus()}))("blur",(function(){return e._handleBlur()}))("click",(function(){return e._handleClick()})),2&t&&(r.Bb("aria-selected",e.selected)("aria-disabled",e.disabled)("tabindex",-1),r.Eb("mat-list-item-disabled",e.disabled)("mat-list-item-with-avatar",e._avatar||e._icon)("mat-primary","primary"===e.color)("mat-accent","primary"!==e.color&&"warn"!==e.color)("mat-warn","warn"===e.color)("mat-list-single-selected-option",e.selected&&!e.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected",disabled:"disabled"},exportAs:["matListOption"],features:[r.xb],ngContentSelectors:R,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(t,e){1&t&&(r.jc(C),r.Sb(0,"div",0),r.Nb(1,"div",1),r.Hc(2,E,1,2,"mat-pseudo-checkbox",2),r.Sb(3,"div",3,4),r.ic(5),r.Rb(),r.ic(6,1),r.Rb()),2&t&&(r.Eb("mat-list-item-content-reverse","after"==e.checkboxPosition),r.Ab(1),r.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()),r.Ab(1),r.kc("ngIf",e.selectionList.multiple))},directives:[o.s,n.t,o.q],encapsulation:2,changeDetection:0}),t}(),G=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,a){var o;return g(this,i),(o=e.call(this))._element=t,o._changeDetector=a,o._multiple=!0,o._contentInitialized=!1,o.selectionChange=new r.o,o.tabIndex=0,o.color="accent",o.compareWith=function(t,e){return t===e},o._disabled=!1,o.selectedOptions=new p.c(o._multiple),o._tabIndex=-1,o._onChange=function(t){},o._destroyed=new u.a,o._onTouched=function(){},o}return m(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._contentInitialized=!0,this._keyManager=new f.g(this.options).withWrap().withTypeAhead().skipPredicate((function(){return!1})).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe(Object(l.a)(this._destroyed)).subscribe((function(){t._allowFocusEscape()})),this.options.changes.pipe(Object(h.a)(null),Object(l.a)(this._destroyed)).subscribe((function(){t._updateTabIndex()})),this.selectedOptions.changed.pipe(Object(l.a)(this._destroyed)).subscribe((function(t){if(t.added){var e,i=d(t.added);try{for(i.s();!(e=i.n()).done;){e.value.selected=!0}}catch(a){i.e(a)}finally{i.f()}}if(t.removed){var n,r=d(t.removed);try{for(r.s();!(n=r.n()).done;){n.value.selected=!1}}catch(a){r.e(a)}finally{r.f()}}}))}},{key:"ngOnChanges",value:function(t){var e=t.disableRipple,i=t.color;(e&&!e.firstChange||i&&!i.firstChange)&&this._markOptionsForCheck()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}},{key:"focus",value:function(t){this._element.nativeElement.focus(t)}},{key:"selectAll",value:function(){this._setAllOptionsSelected(!0)}},{key:"deselectAll",value:function(){this._setAllOptionsSelected(!1)}},{key:"_setFocusedOption",value:function(t){this._keyManager.updateActiveItem(t)}},{key:"_removeOptionFromList",value:function(t){var e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}},{key:"_keydown",value:function(t){var e=t.keyCode,i=this._keyManager,n=i.activeItemIndex,r=Object(b.t)(t);switch(e){case b.o:case b.g:r||i.isTyping()||(this._toggleFocusedOption(),t.preventDefault());break;case b.i:case b.f:r||(e===b.i?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault());break;default:if(e===b.a&&this.multiple&&Object(b.t)(t,"ctrlKey")&&!i.isTyping()){var a=this.options.some((function(t){return!t.disabled&&!t.selected}));this._setAllOptionsSelected(a,!0),t.preventDefault()}else i.onKeydown(t)}this.multiple&&(e===b.q||e===b.e)&&t.shiftKey&&i.activeItemIndex!==n&&this._toggleFocusedOption()}},{key:"_reportValueChange",value:function(){if(this.options&&!this._isDestroyed){var t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}},{key:"_emitChangeEvent",value:function(t){this.selectionChange.emit(new B(this,t))}},{key:"_onFocus",value:function(){var t=this._keyManager.activeItemIndex;t&&-1!==t?this._keyManager.setActiveItem(t):this._keyManager.setFirstItemActive()}},{key:"writeValue",value:function(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"_setOptionsFromValues",value:function(t){var e=this;this.options.forEach((function(t){return t._setSelected(!1)})),t.forEach((function(t){var i=e.options.find((function(i){return!i.selected&&e.compareWith(i.value,t)}));i&&i._setSelected(!0)}))}},{key:"_getSelectedOptionValues",value:function(){return this.options.filter((function(t){return t.selected})).map((function(t){return t.value}))}},{key:"_toggleFocusedOption",value:function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];!e||e.disabled||!this._multiple&&e.selected||(e.toggle(),this._emitChangeEvent(e))}}},{key:"_setAllOptionsSelected",value:function(t,e){var i=!1;this.options.forEach((function(n){e&&n.disabled||!n._setSelected(t)||(i=!0)})),i&&this._reportValueChange()}},{key:"_isValidIndex",value:function(t){return t>=0&&t-1?1:1e3;return parseFloat(t)*e}function T(t,e){return t.getPropertyValue(e).split(",").map((function(t){return t.trim()}))}function I(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 O(t,e,i){var n=t.top,r=t.bottom,a=t.left,o=t.right;return i>=n&&i<=r&&e>=a&&e<=o}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,a=t.right,o=t.bottom,s=t.left,c=t.width*e,u=t.height*e;return n>r-u&&ns-c&&i=s._config.dragStartThreshold){if(!(Date.now()>=s._dragStartTime+s._getDragStartDelay(t)))return void s._endDragSequence(t);s._dropContainer&&s._dropContainer.isDragging()||(s._hasStartedDragging=!0,s._ngZone.run((function(){return s._startDragSequence(t)})))}},this._pointerUp=function(t){s._endDragSequence(t)},this.withRootElement(e),this._parentPositions=new P(n,a),o.registerDragItem(this)}return m(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(t){return this._handles=t.map((function(t){return Object(u.e)(t)})),this._handles.forEach((function(t){return C(t,!1)})),this._toggleNativeDragInteractions(),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=Object(u.e)(t);return i!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular((function(){i.addEventListener("mousedown",e._pointerDown,N),i.addEventListener("touchstart",e._pointerDown,x)})),this._initialTransform=void 0,this._rootElement=i),this}},{key:"withBoundaryElement",value:function(t){var e=this;return this._boundaryElement=t?Object(u.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((function(){return e._containInsideBoundaryOnResize()}))),this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&B(this._rootElement),B(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._placeholderTemplate=this._previewTemplate=this._anchor=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._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}},{key:"enableHandle",value:function(t){this._disabledHandles.delete(t)}},{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:"_sortFromLastPointerPosition",value:function(){var t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t))}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&B(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&B(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var e=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((function(){e._cleanupDragArtifacts(t),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((function(){e.ended.next({source:e,distance:e._getDragDistance(e._getPointerPositionOnPage(t))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}},{key:"_startDragSequence",value:function(t){this.started.next({source:this}),j(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var e,i=this._dropContainer;if(i){var n=this._rootElement,r=n.parentNode,a=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");r.insertBefore(s,n),n.style.display="none",this._document.body.appendChild(r.replaceChild(o,n)),(e=this._document,e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body).appendChild(a),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,e){var i=this;e.stopPropagation();var n=this.isDragging(),r=j(e),a=!r&&0!==e.button,o=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),!(n||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(t){i._updateOnScroll(t)})),this._boundaryElement&&(this._boundaryRect=I(this._boundaryElement));var c=this._previewTemplate;this._pickupPositionInElement=c&&c.template&&!c.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);var u=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}}},{key:"_cleanupDragArtifacts",value:function(t){var e=this;this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((function(){var i=e._dropContainer,n=i.getItemIndex(e),r=e._getPointerPositionOnPage(t),a=e._getDragDistance(e._getPointerPositionOnPage(t)),o=i._isOverContainer(r.x,r.y);e.ended.next({source:e,distance:a}),e.dropped.next({item:e,currentIndex:n,previousIndex:e._initialIndex,container:i,previousContainer:e._initialContainer,isPointerOverContainer:o,distance:a}),i.drop(e,n,e._initialContainer,o,a,e._initialIndex),e._dropContainer=e._initialContainer}))}},{key:"_updateActiveDropContainer",value:function(t){var e=this,i=t.x,n=t.y,r=this._initialContainer._getSiblingContainerFromPosition(this,i,n);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,n)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run((function(){e.exited.next({item:e,container:e._dropContainer}),e._dropContainer.exit(e),e._dropContainer=r,e._dropContainer.enter(e,i,n,r===e._initialContainer&&r.sortingDisabled?e._initialIndex:void 0),e.entered.next({item:e,container:r,currentIndex:r.getItemIndex(e)})})),this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,i,n,this._pointerDirectionDelta),this._preview.style.transform=F(i-this._pickupPositionInElement.x,n-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,a=e.viewContainer.createEmbeddedView(n,e.context);a.detectChanges(),t=G(a,this._document),this._previewRef=a,e.matchSize?U(t,r):t.style.transform=F(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var o=this._rootElement;U(t=z(o),o.getBoundingClientRect())}return E(t.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),C(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._preview.style.transform=F(e.left,e.top);var i=function(t){var e=getComputedStyle(t),i=T(e,"transition-property"),n=i.find((function(t){return"transform"===t||"all"===t}));if(!n)return 0;var r=i.indexOf(n),a=T(e,"transition-duration"),o=T(e,"transition-delay");return R(a[r])+R(o[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=G(this._placeholderRef,this._document)):t=z(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,a=j(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:r.left-i.left+(a.pageX-r.left-o.left),y:r.top-i.top+(a.pageY-r.top-o.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var e=j(t)?t.touches[0]||t.changedTouches[0]:t,i=this._getViewportScrollPosition();return{x:e.pageX-i.left,y:e.pageY-i.top}}},{key:"_getConstrainedPointerPosition",value:function(t){var e=this.constrainPosition?this.constrainPosition(t,this):t,i=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===i?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==i||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){var n=this._pickupPositionInElement,r=n.x,a=n.y,o=this._boundaryRect,s=this._previewRect,c=o.top+a,u=o.bottom-(s.height-a);e.x=H(e.x,o.left+r,o.right-(s.width-r)),e.y=H(e.y,c,u)}return e}},{key:"_updatePointerDirectionDelta",value:function(t){var e=t.x,i=t.y,n=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-r.x),o=Math.abs(i-r.y);return a>this._config.pointerDirectionChangeThreshold&&(n.x=e>r.x?1:-1,r.x=e),o>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,C(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,N),t.removeEventListener("touchstart",this._pointerDown,x)}},{key:"_applyRootElementTransform",value:function(t,e){var i=F(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform:i}},{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 a=n.left-r.left,o=r.right-n.right,s=n.top-r.top,c=r.bottom-n.bottom;n.width>r.width?(a>0&&(e+=a),o>0&&(e-=o)):e=0,n.height>r.height?(s>0&&(i+=s),c>0&&(i-=c)):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:j(t)?e.touch:e?e.mouse:0}},{key:"_updateOnScroll",value:function(t){var e=this._parentPositions.handleScroll(t);this._boundaryRect&&e&&D(this._boundaryRect,e.top,e.left)}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=Object(u.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}}]),t}();function F(t,e){return"translate3d(".concat(Math.round(t),"px, ").concat(Math.round(e),"px, 0)")}function z(t){var e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.querySelectorAll("canvas");e.removeAttribute("id");for(var r=0;r-1&&a.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){var l=c.getRootElement();l.parentElement.insertBefore(s,l),a.splice(r,0,t)}else{var h=Object(u.e)(this.element);this._shouldEnterAsFirstChild(e,i)?(h.insertBefore(s,a[0].getRootElement()),a.unshift(t)):(h.appendChild(s),a.push(t))}s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),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,a){this._reset(),null==a&&(a=i.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:a,container:this,previousContainer:i,isPointerOverContainer:n,distance:r})}},{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=Object(u.e)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e].concat(i(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?J("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&&M(this._clientRect,.05,e,i)){var r=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,i,n);if(!(-1===a&&r.length>0)){var o="horizontal"===this._orientation,s=J(r,(function(e){return e.drag===t})),c=r[a],u=r[s].clientRect,l=c.clientRect,h=s>a?1:-1;this._previousSwap.drag=c.drag,this._previousSwap.delta=o?n.x:n.y;var d=this._getItemOffsetPx(u,l,h),f=this._getSiblingOffsetPx(s,r,h),p=r.slice();K(r,s,a),this.sorted.next({previousIndex:s,currentIndex:a,container:this,item:t}),r.forEach((function(e,i){if(p[i]!==e){var n=e.drag===t,r=n?d:f,a=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=r,o?(a.style.transform="translate3d(".concat(Math.round(e.offset),"px, 0, 0)"),D(e.clientRect,0,r)):(a.style.transform="translate3d(0, ".concat(Math.round(e.offset),"px, 0)"),D(e.clientRect,r,0))}}))}}}},{key:"_startScrollingIfNecessary",value:function(t,e){var i=this;if(!this.autoScrollDisabled){var n,a=0,o=0;if(this._parentPositions.positions.forEach((function(s,c){var u;c!==i._document&&s.clientRect&&!n&&M(s.clientRect,.05,t,e)&&(u=r(function(t,e,i,n){var r=Y(e,n),a=X(e,i),o=0,s=0;if(r){var c=t.scrollTop;1===r?c>0&&(o=1):t.scrollHeight-c>t.clientHeight&&(o=2)}if(a){var u=t.scrollLeft;1===a?u>0&&(s=1):t.scrollWidth-u>t.clientWidth&&(s=2)}return[o,s]}(c,s.clientRect,t,e),2),a=u[0],o=u[1],(a||o)&&(n=c))})),!a&&!o){var s=this._viewportRuler.getViewportSize(),c=s.width,u=s.height,l={width:c,height:u,top:0,right:c,bottom:u,left:0};a=Y(l,e),o=X(l,t),n=window}!n||a===this._verticalScrollDirection&&o===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=a,this._horizontalScrollDirection=o,this._scrollNode=n,(a||o)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_cacheParentPositions",value:function(){var t=Object(u.e)(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,clientRect:I(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=Object(u.e)(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach((function(t){var e=t.getRootElement();e&&(e.style.transform="")})),this._siblings.forEach((function(e){return e._stopReceiving(t)})),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,e,i){var n="horizontal"===this._orientation,r=e[t].clientRect,a=e[t+-1*i],o=r[n?"width":"height"]*i;if(a){var s=n?"left":"top",c=n?"right":"bottom";-1===i?o-=a.clientRect[s]-r[c]:o+=r[s]-a.clientRect[c]}return o}},{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 a=i[0].clientRect;return n?t<=a.left:e<=a.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,e,i,n){var r=this,a="horizontal"===this._orientation;return J(this._itemPositions,(function(o,s,c){var u=o.drag,l=o.clientRect;if(u===t)return c.length<2;if(n){var h=a?n.x:n.y;if(u===r._previousSwap.drag&&h===r._previousSwap.delta)return!1}return a?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&i=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}function X(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 Q=Object(c.f)({passive:!1,capture:!0}),$=function(){var t=function(){function t(e,i){var n=this;g(this,t),this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new l.a,this.pointerUp=new l.a,this.scroll=new l.a,this._preventDefaultWhileDragging=function(t){n._activeDragInstances.size&&t.preventDefault()},this._document=i}return m(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._preventDefaultWhileDragging,Q)}))}},{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._preventDefaultWhileDragging,Q)}},{key:"startDragging",value:function(t,e){var i=this;if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){var n=e.type.startsWith("touch"),r=n?"touchend":"mouseup";this._globalListeners.set(n?"touchmove":"mousemove",{handler:function(t){return i.pointerMove.next(t)},options:Q}).set(r,{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:Q}),this._ngZone.runOutsideAngular((function(){i._globalListeners.forEach((function(t,e){i._document.addEventListener(e,t.handler,t.options)}))}))}}},{key:"stopDragging",value:function(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}},{key:"isDragging",value:function(t){return this._activeDragInstances.has(t)}},{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)(a.Wb(a.A),a.Wb(o.e))},t.\u0275prov=Object(a.Ib)({factory:function(){return new t(Object(a.Wb)(a.A),Object(a.Wb)(o.e))},token:t,providedIn:"root"}),t}(),tt={dragStartThreshold:5,pointerDirectionChangeThreshold:5},et=function(){var t=function(){function t(e,i,n,r){g(this,t),this._document=e,this._ngZone=i,this._viewportRuler=n,this._dragDropRegistry=r}return m(t,[{key:"createDrag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt;return new L(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(t){return new q(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Wb(o.e),a.Wb(a.A),a.Wb(s.h),a.Wb($))},t.\u0275prov=Object(a.Ib)({factory:function(){return new t(Object(a.Wb)(o.e),Object(a.Wb)(a.A),Object(a.Wb)(s.h),Object(a.Wb)($))},token:t,providedIn:"root"}),t}(),it=new a.r("CDK_DRAG_PARENT"),nt=function(){var t=function(){function t(e,i){g(this,t),this.element=e,this._stateChanges=new l.a,this._disabled=!1,this._parentDrag=i,C(e.nativeElement,!1)}return m(t,[{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(u.c)(t),this._stateChanges.next(this)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(it,8))},t.\u0275dir=a.Hb({type:t,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),t}(),rt=function(){var t=function t(e){g(this,t),this.templateRef=e};return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.M))},t.\u0275dir=a.Hb({type:t,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),t}(),at=function(){var t=function(){function t(e){g(this,t),this.templateRef=e,this._matchSize=!1}return m(t,[{key:"matchSize",get:function(){return this._matchSize},set:function(t){this._matchSize=Object(u.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.M))},t.\u0275dir=a.Hb({type:t,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),t}(),ot=new a.r("CDK_DRAG_CONFIG"),st=new a.r("CDK_DROP_LIST"),ct=function(){var t=function(){function t(e,i,n,r,o,s,c,u,h){var d=this;g(this,t),this.element=e,this.dropContainer=i,this._document=n,this._ngZone=r,this._viewContainerRef=o,this._dir=c,this._changeDetectorRef=h,this._destroyed=new l.a,this.started=new a.o,this.released=new a.o,this.ended=new a.o,this.entered=new a.o,this.exited=new a.o,this.dropped=new a.o,this.moved=new p.a((function(t){var e=d._dragRef.moved.pipe(Object(y.a)((function(t){return{source:d,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}}))).subscribe(t);return function(){e.unsubscribe()}})),this._dragRef=u.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,s&&this._assignDefaults(s),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return m(t,[{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.asObservable().pipe(Object(A.a)(1),Object(v.a)(this._destroyed)).subscribe((function(){t._updateRootElement(),t._handles.changes.pipe(Object(w.a)(t._handles),Object(_.a)((function(e){var i=e.filter((function(e){return e._parentDrag===t})).map((function(t){return t.element}));t._dragRef.withHandles(i)})),Object(S.a)((function(t){return Object(b.a).apply(void 0,i(t.map((function(t){return t._stateChanges.pipe(Object(w.a)(t))}))))})),Object(v.a)(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),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var t=this.element.nativeElement,e=this.rootElementSelector?ut(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'.concat(e.nodeName,'".'));this._dragRef.withRootElement(e||t)}},{key:"_getBoundaryElement",value:function(){var t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return ut(this.element.nativeElement,t);var e=Object(u.e)(t);if(Object(a.W)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}},{key:"_syncInputs",value:function(t){var e=this;t.beforeStarted.subscribe((function(){if(!t.isDragging()){var i=e._dir,n=e.dragStartDelay,r=e._placeholderTemplate?{template:e._placeholderTemplate.templateRef,context:e._placeholderTemplate.data,viewContainer:e._viewContainerRef}:null,a=e._previewTemplate?{template:e._previewTemplate.templateRef,context:e._previewTemplate.data,matchSize:e._previewTemplate.matchSize,viewContainer:e._viewContainerRef}:null;t.disabled=e.disabled,t.lockAxis=e.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:Object(u.f)(n),t.constrainPosition=e.constrainPosition,t.previewClass=e.previewClass,t.withBoundaryElement(e._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(a),i&&t.withDirection(i.value)}}))}},{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}),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})}))}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,i=t.dragStartDelay,n=t.constrainPosition,r=t.previewClass,a=t.boundaryElement,o=t.draggingDisabled,s=t.rootElementSelector;this.disabled=null!=o&&o,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),r&&(this.previewClass=r),a&&(this.boundaryElement=a),s&&(this.rootElementSelector=s)}},{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(t){this._disabled=Object(u.c)(t),this._dragRef.disabled=this._disabled}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(st,12),a.Mb(o.e),a.Mb(a.A),a.Mb(a.Q),a.Mb(ot,8),a.Mb(k.c,8),a.Mb(et),a.Mb(a.h))},t.\u0275dir=a.Hb({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){var n;1&t&&(a.Fb(i,at,!0),a.Fb(i,rt,!0),a.Fb(i,nt,!0)),2&t&&(a.sc(n=a.ac())&&(e._previewTemplate=n.first),a.sc(n=a.ac())&&(e._placeholderTemplate=n.first),a.sc(n=a.ac())&&(e._handles=n))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&a.Eb("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"],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.zb([{provide:it,useExisting:t}]),a.yb]}),t}();function ut(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 lt=function(){var t=function(){function t(){g(this,t),this._items=new Set,this._disabled=!1}return m(t,[{key:"ngOnDestroy",value:function(){this._items.clear()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(u.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Hb({type:t,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),t}(),ht=0,dt=function(){var t=function(){function t(e,i,n,r,o,s,c){var u=this;g(this,t),this.element=e,this._changeDetectorRef=n,this._dir=r,this._group=o,this._scrollDispatcher=s,this._destroyed=new l.a,this.connectedTo=[],this.id="cdk-drop-list-"+ht++,this.enterPredicate=function(){return!0},this.dropped=new a.o,this.entered=new a.o,this.exited=new a.o,this.sorted=new a.o,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,c&&this._assignDefaults(c),this._dropListRef.enterPredicate=function(t,e){return u.enterPredicate(t.data,e.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}return m(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:"start",value:function(){this._dropListRef.start()}},{key:"drop",value:function(t,e,i,n){this._dropListRef.drop(t._dragRef,e,i._dropListRef,n,{x:0,y:0})}},{key:"enter",value:function(t,e,i){this._dropListRef.enter(t._dragRef,e,i)}},{key:"exit",value:function(t){this._dropListRef.exit(t._dragRef)}},{key:"getItemIndex",value:function(t){return this._dropListRef.getItemIndex(t._dragRef)}},{key:"_setupInputSyncSubscription",value:function(e){var i=this;this._dir&&this._dir.change.pipe(Object(w.a)(this._dir.value),Object(v.a)(this._destroyed)).subscribe((function(t){return e.withDirection(t)})),e.beforeStarted.subscribe((function(){var n=Object(u.b)(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&&i._scrollDispatcher){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=Object(u.c)(i.sortingDisabled),e.autoScrollDisabled=Object(u.c)(i.autoScrollDisabled),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}),e._changeDetectorRef.markForCheck()}))}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,i=t.draggingDisabled,n=t.sortingDisabled,r=t.listAutoScrollDisabled,a=t.listOrientation;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=r&&r,this.orientation=a||"vertical",e&&(this.lockAxis=e)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map((function(t){return t._dragRef})))}},{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(t){this._dropListRef.disabled=this._disabled=Object(u.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(a.l),a.Mb(et),a.Mb(a.h),a.Mb(k.c,8),a.Mb(lt,12),a.Mb(s.f),a.Mb(ot,8))},t.\u0275dir=a.Hb({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Vb("id",e.id),a.Eb("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"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[a.zb([{provide:lt,useValue:void 0},{provide:st,useExisting:t}])]}),t._dropLists=[],t}(),ft=function(){var t=function t(){g(this,t)};return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},providers:[et],imports:[s.c]}),t}()},"ozd/":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("nIj0"),s=i("EM62"),c=i("s2Ay"),u=i("29Wa"),l=i("Cd2c"),h=i("2kYt"),d=i("PBFl");function f(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function p(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function b(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_USER.ERROR_FIRST_NAME")))}function v(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function y(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_USER.ERROR_LAST_NAME")))}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.userService=n,this.notificator=r,this.translateService=a,this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.titleBefore=new o.g(this.data.user.titleBefore,[o.F.pattern(".*[\\S]+.*"),o.F.maxLength(129)]),this.titleAfter=new o.g(this.data.user.titleAfter,[o.F.pattern(".*[\\S]+.*"),o.F.maxLength(129)]),this.firstName=new o.g(this.data.user.firstName,[o.F.required,o.F.pattern(".*[\\S]+.*"),o.F.maxLength(129)]),this.middleName=new o.g(this.data.user.middleName,[o.F.pattern(".*[\\S]+.*"),o.F.maxLength(129)]),this.lastName=new o.g(this.data.user.lastName,[o.F.required,o.F.pattern(".*[\\S]+.*"),o.F.maxLength(129)])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSave",value:function(){var t=this;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((function(){t.translateService.get("DIALOGS.EDIT_USER.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.Mb(r.i),s.Mb(r.a),s.Mb(n.q),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",1),s.Sb(5,"mat-form-field"),s.Nb(6,"input",2),s.ec(7,"translate"),s.Hc(8,f,3,3,"mat-error",3),s.Rb(),s.Sb(9,"mat-form-field"),s.Nb(10,"input",2),s.ec(11,"translate"),s.Hc(12,p,3,3,"mat-error",3),s.Rb(),s.Sb(13,"mat-form-field"),s.Nb(14,"input",4),s.ec(15,"translate"),s.Hc(16,b,3,3,"mat-error",3),s.Rb(),s.Sb(17,"mat-form-field"),s.Nb(18,"input",2),s.ec(19,"translate"),s.Hc(20,v,3,3,"mat-error",3),s.Rb(),s.Sb(21,"mat-form-field"),s.Nb(22,"input",4),s.ec(23,"translate"),s.Hc(24,y,3,3,"mat-error",3),s.Rb(),s.Rb(),s.Sb(25,"div",5),s.Sb(26,"button",6),s.Zb("click",(function(){return e.onCancel()})),s.Jc(27),s.ec(28,"translate"),s.Rb(),s.Sb(29,"button",7),s.Zb("click",(function(){return e.onSave()})),s.Jc(30),s.ec(31,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,22,"DIALOGS.EDIT_USER.DIALOG_TITLE")),s.Ab(4),s.lc("placeholder",s.fc(7,24,"DIALOGS.EDIT_USER.TITLE_BEFORE")),s.kc("formControl",e.titleBefore),s.Ab(2),s.kc("ngIf",e.titleBefore.invalid),s.Ab(2),s.lc("placeholder",s.fc(11,26,"DIALOGS.EDIT_USER.TITLE_AFTER")),s.kc("formControl",e.titleAfter),s.Ab(2),s.kc("ngIf",e.titleAfter.invalid),s.Ab(2),s.lc("placeholder",s.fc(15,28,"DIALOGS.EDIT_USER.FIRST_NAME")),s.kc("formControl",e.firstName),s.Ab(2),s.kc("ngIf",e.firstName.invalid),s.Ab(2),s.lc("placeholder",s.fc(19,30,"DIALOGS.EDIT_USER.MIDDLE_NAME")),s.kc("formControl",e.middleName),s.Ab(2),s.kc("ngIf",e.middleName.invalid),s.Ab(2),s.lc("placeholder",s.fc(23,32,"DIALOGS.EDIT_USER.LAST_NAME")),s.kc("formControl",e.lastName),s.Ab(2),s.kc("ngIf",e.lastName.invalid),s.Ab(3),s.Lc(" ",s.fc(28,34,"DIALOGS.EDIT_USER.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading||e.firstName.invalid||e.lastName.invalid||e.titleBefore.invalid||e.titleAfter.invalid||e.middleName.invalid),s.Ab(1),s.Lc(" ",s.fc(31,36,"DIALOGS.EDIT_USER.SAVE")," "))},directives:[r.g,u.c,l.b,o.c,o.r,o.h,h.t,o.C,r.c,d.b,u.b],pipes:[c.d],styles:[""]}),t}()},"p/8k":function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&s.Nb(0,"th",15)}function p(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name,"")}}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){1&t&&s.Nb(0,"tr",18)}function y(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,1,0,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Hc(11,b,1,0,"tr",13),s.Hc(12,v,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.authzService=a,this.displayedColumns=["name"]}return m(t,[{key:"ngOnInit",value:function(){this.dataSource=new r.o(this.data.groups),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map((function(t){return t.id})),complementaryObject:this.data.complementaryObject}).subscribe((function(){t.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.loading=!1,t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(o.d))},t.\u0275cmp=s.Gb({type:t,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(t,e){1&t&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t}()},p3Ob:function(t,e,i){"use strict";i.d(e,"a",(function(){return P}));var n=i("OZ4H"),r=i("Ssnw"),a=i("cqs0"),o=i("X2Q7"),s=i("nyAh"),c=i("8clQ"),u=i("iyZ4"),l=i("ZWQq"),h=i("nIj0"),d=i("EM62"),f=i("s2Ay"),p=i("sEIs"),b=i("2kYt"),v=i("29Wa"),y=i("Cd2c"),A=i("PBFl"),w=i("csyo"),_=i("FcRk"),S=i("Y2X+"),k=["list"];function E(t,e){1&t&&d.Nb(0,"mat-spinner",10)}function C(t,e){1&t&&(d.Sb(0,"app-alert",14),d.Jc(1),d.ec(2,"translate"),d.Rb()),2&t&&(d.Ab(1),d.Lc(" ",d.fc(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND")," "))}function R(t,e){if(1&t){var i=d.Tb();d.Sb(0,"app-members-candidates-list",15,16),d.Zb("page",(function(t){return d.xc(i),d.dc(3).pageChanged(t)})),d.Rb()}if(2&t){var n=d.dc(3);d.kc("group",n.data.group)("pageSize",n.pageSize)("selection",n.selection)("members",n.members)("type",n.data.type)}}function T(t,e){if(1&t&&(d.Sb(0,"div",11),d.Hc(1,C,3,3,"app-alert",12),d.Hc(2,R,2,5,"app-members-candidates-list",13),d.Rb()),2&t){var i=d.dc(2);d.Ab(1),d.kc("ngIf",0===i.members.length&&i.firstSearchDone),d.Ab(1),d.kc("ngIf",0!==i.members.length)}}function I(t,e){if(1&t){var i=d.Tb();d.Sb(0,"div",4),d.Sb(1,"mat-form-field",5),d.Sb(2,"label"),d.Sb(3,"input",6),d.Zb("keyup.enter",(function(){return d.xc(i),d.dc().onSearchByString()})),d.ec(4,"translate"),d.Rb(),d.Rb(),d.Sb(5,"mat-error"),d.Jc(6),d.ec(7,"translate"),d.Rb(),d.Rb(),d.Sb(8,"button",7),d.Zb("click",(function(){return d.xc(i),d.dc().onSearchByString()})),d.Jc(9),d.ec(10,"translate"),d.Rb(),d.Sb(11,"div",8),d.Hc(12,E,1,0,"mat-spinner",2),d.Rb(),d.Hc(13,T,3,2,"div",9),d.Rb()}if(2&t){var n=d.dc();d.Ab(3),d.lc("placeholder",d.fc(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),d.kc("formControl",n.searchCtrl),d.Ab(3),d.Lc(" ",d.fc(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),d.Ab(2),d.kc("disabled",n.loading),d.Ab(1),d.Lc(" ",d.fc(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),d.Ab(3),d.kc("ngIf",n.loading),d.Ab(1),d.kc("ngIf",!!n.members&&!n.loading)}}function O(t,e){1&t&&d.Nb(0,"mat-spinner",10)}function D(t,e){if(1&t){var i=d.Tb();d.Sb(0,"button",21),d.Zb("click",(function(){return d.xc(i),d.dc(2).onInvite()})),d.Jc(1),d.ec(2,"translate"),d.Rb()}if(2&t){var n=d.dc(2);d.kc("disabled",0===n.selection.selected.length||n.loading),d.Ab(1),d.Lc(" ",d.fc(2,2,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function M(t,e){if(1&t){var i=d.Tb();d.Sb(0,"div",17),d.Sb(1,"button",18),d.Zb("click",(function(){return d.xc(i),d.dc().onCancel()})),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Sb(4,"span",19),d.ec(5,"translate"),d.Hc(6,D,3,4,"button",20),d.Rb(),d.Sb(7,"button",21),d.Zb("click",(function(){return d.xc(i),d.dc().onAdd()})),d.Jc(8),d.ec(9,"translate"),d.Rb(),d.Rb()}if(2&t){var n=d.dc();d.Ab(2),d.Lc(" ",d.fc(3,6,"DIALOGS.ADD_MEMBERS.CANCEL")," "),d.Ab(2),d.lc("matTooltip",d.fc(5,8,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),d.kc("matTooltipDisabled",0===n.selection.selected.length||"group"!==n.data.type||void 0!==n.list&&n.list.addAuth),d.Ab(2),d.kc("ngIf","group"!==n.data.type||"group"===n.data.type&&n.inviteAuth),d.Ab(1),d.kc("disabled",0===n.selection.selected.length||n.loading||"group"===n.data.type&&void 0!==n.list&&!n.list.addAuth),d.Ab(1),d.Lc(" ",d.fc(9,10,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}var P=function(){var t=function(){function t(e,i,n,r,o,s,c,l,h,d,f,p){var b=this;g(this,t),this.dialogRef=e,this.data=i,this.membersManagerService=n,this.groupService=r,this.voService=o,this.registrarManager=s,this.translate=c,this.notificator=l,this.route=h,this.tableConfigService=d,this.router=f,this.guiAuthResolver=p,this.selection=new a.c(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=u.g,this.inviteAuth=!1,c.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe((function(t){return b.title=t}))}return m(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(){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(Object(c.m)(this.selection.selected[0].candidate),"en",this.data.voId).subscribe((function(){t.onInviteSuccess()}),(function(){return t.onError()})):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup(Object(c.m)(this.selection.selected[0].candidate),"en",this.data.voId,this.data.group.id).subscribe((function(){t.onInviteSuccess()}),(function(){return t.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.a.USER_DEF_ORGANIZATION,s.a.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.a.USER_DEF_ORGANIZATION,s.a.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.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.g("",[h.F.required,h.F.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)(d.Mb(n.i),d.Mb(n.a),d.Mb(o.i),d.Mb(o.h),d.Mb(o.r),d.Mb(o.l),d.Mb(f.e),d.Mb(r.l),d.Mb(p.a),d.Mb(u.pb),d.Mb(p.f),d.Mb(r.h))},t.\u0275cmp=d.Gb({type:t,selectors:[["app-add-member-dialog"]],viewQuery:function(t,e){var i;1&t&&d.Qc(k,!0),2&t&&d.sc(i=d.ac())&&(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"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(d.Sb(0,"div"),d.Sb(1,"h1",0),d.Jc(2),d.ec(3,"translate"),d.Rb(),d.Hc(4,I,14,13,"div",1),d.Hc(5,O,1,0,"mat-spinner",2),d.Hc(6,M,10,12,"div",3),d.Rb()),2&t&&(d.Cb(e.theme),d.Ab(2),d.Kc(d.fc(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),d.Ab(2),d.kc("ngIf",!e.processing),d.Ab(1),d.kc("ngIf",e.processing),d.Ab(1),d.kc("ngIf",!e.processing))},directives:[n.j,b.t,n.g,v.c,y.b,h.c,h.r,h.h,v.b,A.b,w.c,_.a,l.a,n.c,S.a],pipes:[f.d],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),t}()},pBDD:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"notifyNext",value:function(t,e,i,n,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),i}(i("5uGe").a)},pU19:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("Ssnw"),a=i("nIj0"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("csyo"),h=i("29Wa"),d=i("Cd2c"),f=i("+Tre"),p=i("PBFl");function b(t,e){1&t&&s.Nb(0,"mat-spinner",4)}function v(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",5),s.Sb(1,"mat-form-field"),s.Sb(2,"input",6),s.Zb("change",(function(){return s.xc(i),s.dc().makePath()})),s.ec(3,"translate"),s.Rb(),s.Sb(4,"mat-error"),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Rb(),s.Sb(7,"mat-form-field"),s.Sb(8,"input",7),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().description=t})),s.ec(9,"translate"),s.Rb(),s.Rb(),s.Sb(10,"mat-form-field"),s.Nb(11,"input",8),s.ec(12,"translate"),s.Sb(13,"mat-error"),s.Jc(14),s.ec(15,"translate"),s.Rb(),s.Rb(),s.Sb(16,"mat-form-field"),s.Nb(17,"input",8),s.ec(18,"translate"),s.Sb(19,"mat-error"),s.Jc(20),s.ec(21,"translate"),s.Rb(),s.Rb(),s.Sb(22,"mat-form-field"),s.Nb(23,"input",8),s.ec(24,"translate"),s.Sb(25,"mat-error"),s.Jc(26),s.ec(27,"translate"),s.Rb(),s.Rb(),s.Sb(28,"span"),s.Jc(29),s.ec(30,"translate"),s.Rb(),s.Sb(31,"mat-checkbox",9),s.Zb("ngModelChange",(function(t){return s.xc(i),s.dc().status=t})),s.Jc(32),s.ec(33,"translate"),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.lc("placeholder",s.fc(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),s.kc("formControl",n.nameControl),s.Ab(3),s.Kc(s.fc(6,19,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_NAME")),s.Ab(3),s.lc("placeholder",s.fc(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),s.kc("ngModel",n.description),s.Ab(3),s.lc("placeholder",s.fc(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),s.kc("formControl",n.delayControl),s.Ab(3),s.Kc(s.fc(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),s.Ab(3),s.lc("placeholder",s.fc(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),s.kc("formControl",n.recurrenceControl),s.Ab(3),s.Kc(s.fc(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),s.Ab(3),s.lc("placeholder",s.fc(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),s.kc("formControl",n.pathControl),s.Ab(3),s.Kc(s.fc(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),s.Ab(3),s.Kc(s.fc(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")),s.Ab(2),s.kc("ngModel",n.status),s.Ab(1),s.Kc(s.fc(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function y(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",10),s.Sb(1,"button",11),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"button",12),s.Zb("click",(function(){s.xc(i);var t=s.dc();return t.asEdit?t.onEdit():t.onCreate()})),s.Jc(5),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),s.Ab(2),s.kc("disabled",n.nameControl.invalid||n.delayControl.invalid||n.recurrenceControl.invalid||n.pathControl.invalid),s.Ab(1),s.Lc(" ",n.buttonText," ")}}var A=function(){var t=function(){function t(e,i,n,r,o){g(this,t),this.dialogRef=e,this.data=i,this.serviceManager=n,this.notificator=r,this.translate=o,this.loading=!1,this.status=!0,this.nameControl=new a.g("",[a.F.required]),this.delayControl=new a.g(10,[a.F.pattern("^[0-9]*$")]),this.recurrenceControl=new a.g(2,[a.F.pattern("^[0-9]*$")]),this.pathControl=new a.g("",[a.F.required]),this.asEdit=!1}return m(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)(s.Mb(n.i),s.Mb(n.a),s.Mb(o.n),s.Mb(r.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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,"ml-5",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.Sb(0,"h1",0),s.Jc(1),s.Rb(),s.Sb(2,"div"),s.Hc(3,b,1,0,"mat-spinner",1),s.Hc(4,v,34,39,"div",2),s.Hc(5,y,6,5,"div",3),s.Rb()),2&t&&(s.Ab(1),s.Kc(e.title),s.Ab(1),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[n.j,u.t,l.c,n.g,h.c,d.b,a.c,a.C,a.r,a.h,h.b,a.u,f.a,n.c,p.b],pipes:[c.d],styles:[""]}),t}()},pgvo:function(t,e,i){"use strict";i.d(e,"a",(function(){return j}));var n=i("EM62"),r=i("cePI"),a=i("cqs0"),o=i("iAde"),s=i("FlRo"),c=i("8clQ"),u=i("Ssnw"),l=i("9wx0"),h=i("2kYt"),d=i("+Tre"),f=i("bFHC"),p=i("Y2X+"),b=i("FcRk"),v=i("s2Ay");function y(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",21),n.Sb(1,"mat-checkbox",22),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function A(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",23),n.Sb(1,"mat-checkbox",24),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function w(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION_ID")))}function _(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.id)}}function S(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.SERVICE")))}function k(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.service.name)}}function E(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.FACILITY")))}function C(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.facility.name)}}function R(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.DESTINATION")))}function T(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.destination)}}function I(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.TYPE")))}function O(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.type.toUpperCase())}}function D(t,e){1&t&&n.Nb(0,"th",21)}function M(t,e){1&t&&(n.Sb(0,"mat-icon",28),n.ec(1,"translate"),n.Jc(2," check_circle_outline "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.ALLOWED"))}function P(t,e){1&t&&(n.Sb(0,"mat-icon",28),n.ec(1,"translate"),n.Jc(2," block "),n.Rb()),2&t&&n.lc("matTooltip",n.fc(1,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.BLOCKED"))}function x(t,e){if(1&t&&(n.Sb(0,"td",26),n.Hc(1,M,3,3,"mat-icon",27),n.Hc(2,P,3,3,"mat-icon",27),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngIf",!i.blocked),n.Ab(1),n.kc("ngIf",i.blocked)}}function N(t,e){1&t&&(n.Sb(0,"th",25),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.PROPAGATION_TYPE")))}function L(t,e){if(1&t&&(n.Sb(0,"td",26),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.propagationType)}}function F(t,e){1&t&&n.Nb(0,"tr",29)}function z(t,e){1&t&&n.Nb(0,"tr",30)}function H(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function B(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.DESTINATIONS_LIST.NO_DESTINATIONS"),"\n"))}var j=function(){var t=function(){function t(e,i){g(this,t),this.authResolver=e,this.tableCheckbox=i,this.destinations=[],this.selection=new a.c(!0,[]),this.filterValue="",this.pageSize=10,this.page=new n.o,this.pageSizeOptions=c.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"destinationId"!==t}))),this.dataSource=new s.o(this.destinations),this.setDataSource(),this.dataSource.filter=this.filterValue.toLowerCase()}},{key:"getDataForColumn",value:function(t,e){switch(e){case"destinationId":return t.id.toString();case"service":return t.service.name;case"facility":return t.facility.name;case"destination":return t.destination;case"type":return t.type;case"status":return t.blocked?"blocked":"allowed";case"propagationType":return t.propagationType;default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=function(e,i){return Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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:"pageChanged",value:function(t){this.page.emit(t)}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(u.h),n.Mb(u.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-perun-web-apps-destination-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(r.a,!0),n.Dc(o.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{destinations:"destinations",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[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","destinationId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","service"],["mat-cell","",4,"matCellDef"],["matColumnDef","facility"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","propagationType"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,y,2,3,"th",6),n.Hc(7,A,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,w,3,3,"th",9),n.Hc(10,_,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,S,3,3,"th",9),n.Hc(13,k,2,1,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,E,3,3,"th",9),n.Hc(16,C,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,R,3,3,"th",9),n.Hc(19,T,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,I,3,3,"th",9),n.Hc(22,O,2,1,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,D,1,0,"th",6),n.Hc(25,x,3,2,"td",11),n.Pb(),n.Qb(26,16),n.Hc(27,N,3,3,"th",9),n.Hc(28,L,2,1,"td",11),n.Pb(),n.Hc(29,F,1,0,"tr",17),n.Hc(30,z,1,0,"tr",18),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",19),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,H,3,3,"app-alert",20),n.Hc(33,B,3,3,"app-alert",20)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.destinations.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.destinations.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.destinations.length),n.Ab(1),n.kc("ngIf",0===e.destinations.length))},directives:[l.a,s.n,r.a,s.c,s.i,s.b,s.k,s.m,o.a,h.t,s.h,d.a,s.a,r.b,f.a,p.a,s.j,s.l,b.a],pipes:[v.d],styles:[""]}),t}()},pnmw:function(t,e,i){"use strict";i.d(e,"a",(function(){return U}));var n=i("EM62"),r=i("X2Q7"),a=i("cePI"),o=i("FlRo"),s=i("iAde"),c=i("8clQ"),u=i("OL2r"),l=i("Ssnw"),h=i("mjJC"),d=i("OZ4H"),f=i("9wx0"),p=i("2kYt"),b=i("+Tre"),v=i("PBFl"),y=i("bFHC"),A=i("Y2X+"),w=i("sEIs"),_=i("TQS+"),S=i("FcRk"),k=i("s2Ay"),E=i("j+u3");function C(t,e){if(1&t){var i=n.Tb();n.Sb(0,"th",18),n.Sb(1,"mat-checkbox",19),n.Zb("change",(function(t){n.xc(i);var e=n.dc();return t?e.masterToggle():null})),n.Rb(),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function R(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",20),n.Sb(1,"mat-checkbox",21),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function T(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")))}function I(t,e){if(1&t&&(n.Sb(0,"td",20),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.member.id)}}function O(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")))}function D(t,e){if(1&t&&(n.Sb(0,"td",23),n.Jc(1),n.ec(2,"userFullName"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.member.user))}}function M(t,e){1&t&&(n.Sb(0,"th",22),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")))}function P(t,e){if(1&t&&(n.Sb(0,"span"),n.Jc(1),n.ec(2,"userFullName"),n.Nb(3,"br"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Lc(" ",n.fc(2,1,i.user),"")}}function x(t,e){if(1&t&&(n.Sb(0,"td",23),n.Hc(1,P,4,3,"span",24),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.kc("ngForOf",i.sponsors)}}function N(t,e){1&t&&n.Nb(0,"th",22)}function L(t,e){if(1&t){var i=n.Tb();n.Sb(0,"span",27),n.ec(1,"translate"),n.Sb(2,"button",28),n.Zb("mouseenter",(function(){return n.xc(i),n.dc(2).disableRouting=!0}))("mouseleave",(function(){n.xc(i);var t=n.dc(2);return t.disableRouting=t.routingStrategy}))("click",(function(){n.xc(i);var t=n.dc().$implicit;return n.dc().resetPassword(t)})),n.Sb(3,"mat-icon"),n.Jc(4,"vpn_key"),n.Rb(),n.Rb(),n.Rb()}if(2&t){var r=n.dc(2);n.kc("matTooltip",n.fc(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET"))("matTooltipPosition","above"),n.Ab(2),n.kc("disabled",r.loading)}}function F(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",23),n.Sb(1,"button",25),n.Zb("mouseenter",(function(){return n.xc(i),n.dc().disableRouting=!0}))("mouseleave",(function(){n.xc(i);var t=n.dc();return t.disableRouting=t.routingStrategy}))("click",(function(){n.xc(i);var t=e.$implicit;return n.dc().showSponsors(t)})),n.Sb(2,"mat-icon"),n.Jc(3,"edit"),n.Rb(),n.Rb(),n.Hc(4,L,5,5,"span",26),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(4),n.kc("ngIf",a.passwdResetAuth(r))}}function z(t,e){1&t&&n.Nb(0,"tr",29)}var H=function(t,e){return["/organizations",t,"members",e]};function B(t,e){if(1&t&&n.Nb(0,"tr",30),2&t){var i=e.$implicit,r=n.dc();n.Eb("disable-outline",r.disableRouting)("cursor-pointer",!r.disableRouting),n.kc("routerLink",r.disableRouting?null:n.qc(6,H,i.member.voId,i.member.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.qc(9,H,i.member.voId,i.member.id))}}function j(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function G(t,e){1&t&&(n.Sb(0,"app-alert",31),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}var U=function(){var t=function(){function t(e,i,r,a,o){g(this,t),this.dialog=e,this.authResolver=i,this.storeService=r,this.attributesManager=a,this.tableCheckbox=o,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.pageSize=10,this.page=new n.o,this.refreshTable=new n.o,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=c.a}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(t){return"id"!==t}))),this.dataSource=new o.o(this.sponsoredMembers),this.setDataSource(),this.dataSource.filter=this.filterValue,this.routingStrategy=this.disableRouting}},{key:"getDataForColumn",value:function(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.map((function(t){return Object(c.w)(t.user)})).join();default:return""}}},{key:"exportData",value:function(t){Object(c.i)(Object(c.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=function(e,i){return Object(c.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(c.g)(e,i,t.getDataForColumn,t)},this.dataSource.filter=this.filterValue,this.dataSource.paginator=this.paginator)}},{key:"showSponsors",value:function(t){var e=this,i=Object(c.o)();i.width="650px",i.data={sponsors:t.sponsors,member:t.member,theme:"vo-theme"},this.dialog.open(u.a,i).afterClosed().subscribe((function(t){t&&e.refreshTable.emit()}))}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.member.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{key:"resetPassword",value:function(t){var e=this;this.loading=!0;var i=this.storeService.get("password_namespace_attributes").map((function(t){return(t=t.split(":"))[t.length-1]}));this.attributesManager.getLogins(t.member.userId).subscribe((function(n){var r=n.filter((function(t){return i.includes(t.friendlyNameParameter)})),a=Object(c.o)();a.width="400px",a.data={userId:t.member.userId,memberId:t.member.id,logins:r},e.dialog.open(h.a,a).afterClosed().subscribe((function(){e.loading=!1}))}),(function(){return e.loading=!1}))}},{key:"passwdResetAuth",value:function(t){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:t.member.voId,beanName:"Vo"},t.member])}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(d.b),n.Mb(l.h),n.Mb(l.m),n.Mb(r.c),n.Mb(l.n))},t.\u0275cmp=n.Gb({type:t,selectors:[["app-sponsored-members-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Qc(s.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSize:"pageSize"},outputs:{page:"page",refreshTable:"refreshTable"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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,"routerLink","perunWebAppsMiddleClickRouterLink","disable-outline","cursor-pointer",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"mouseenter","mouseleave","click"],[3,"matTooltip","matTooltipPosition",4,"ngIf"],[3,"matTooltip","matTooltipPosition"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,C,2,3,"th",6),n.Hc(7,R,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,T,3,3,"th",9),n.Hc(10,I,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,O,3,3,"th",9),n.Hc(13,D,3,3,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,M,3,3,"th",9),n.Hc(16,x,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,N,1,0,"th",9),n.Hc(19,F,5,1,"td",11),n.Pb(),n.Hc(20,z,1,0,"tr",14),n.Hc(21,B,1,12,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,j,3,3,"app-alert",17),n.Hc(24,G,3,3,"app-alert",17)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.sponsoredMembers.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.sponsoredMembers.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.sponsoredMembers.length),n.Ab(1),n.kc("ngIf",0===e.sponsoredMembers.length))},directives:[f.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,s.a,p.t,o.h,b.a,o.a,a.b,p.s,v.b,y.a,A.a,o.j,o.l,w.g,_.c,S.a],pipes:[k.d,E.a],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},prE9:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var n=i("Efrr"),r=i("pBDD"),o=i("mW0F"),c=function(){function t(e){g(this,t),this.durationSelector=e}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.durationSelector))}}]),t}(),u=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).durationSelector=n,r.hasValue=!1,r}return m(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=Object(o.a)(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.a),l=i("8lHc");function h(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.a;return e=function(){return Object(l.a)(t,i)},function(t){return t.lift(new c(e))}}},py76:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("8clQ"),r=i("nyAh"),a=i("EM62"),o=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"transform",value:function(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";var e=Object(n.l)(t.attributes,r.a.GROUP_SYNC_ENABLED),i=Object(n.l)(t.attributes,r.a.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";var a=i.value;if("true"===e.value){var o=Object(n.l)(t.attributes,r.a.GROUP_LAST_SYNC_STATE),s=Object(n.l)(t.attributes,r.a.GROUP_LAST_SYNC_TIMESTAMP),c=o.value,u=s.value;return null!=c&&c.trim().length>0?"red":null!==u&&u.trim().length>0?"green":""}if(a){var l=Object(n.l)(t.attributes,r.a.GROUP_LAST_STRUCTURE_SYNC_STATE),h=Object(n.l)(t.attributes,r.a.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=a.Lb({name:"groupSyncIconColor",type:t,pure:!0}),t}()},pynj:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=i("EM62"),r=i("KTx3"),a=i("YtkY"),o=i("mWib"),s=i("Ohay"),c=i("29Wa"),u=i("Cd2c"),l=i("s2Ay"),h=["groupFilterInput"],d=function(){var t=function(){function t(){g(this,t),this.filter=new n.o}return m(t,[{key:"ngOnInit",value:function(){var t=this;Object(r.a)(this.groupFilterInput.nativeElement,"keyup").pipe(Object(a.a)((function(t){return t.target.value})),Object(o.a)(500),Object(s.a)()).subscribe((function(e){t.filter.emit(e)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){var i;1&t&&n.Dc(h,!0),2&t&&n.sc(i=n.ac())&&(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.Sb(0,"mat-form-field",0),n.Nb(1,"input",1,2),n.ec(3,"translate"),n.Rb()),2&t&&(n.Ab(1),n.lc("placeholder",n.fc(3,1,e.placeholder)))},directives:[c.c,u.b],pipes:[l.d],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t}()},qEfY:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n="function"==typeof Symbol&&Symbol.observable||"@@observable"},qZtG:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("ROBh"),r=i("mawV");function a(){return Object(r.a)()(Object(n.a).apply(void 0,arguments))}},qvOF:function(t,e,i){"use strict";i.d(e,"a",(function(){return J})),i.d(e,"b",(function(){return Z})),i.d(e,"c",(function(){return rt})),i.d(e,"d",(function(){return nt})),i.d(e,"e",(function(){return Q})),i.d(e,"f",(function(){return W})),i.d(e,"g",(function(){return at})),i.d(e,"h",(function(){return Y}));var o=i("5XID"),u=i("EM62"),l=i("ZTXN"),f=i("ROBh"),p=i("IdLP"),b=i("KTx3"),v=i("g6G6"),y=i("VvXq"),A=i("vT4p"),w=i("bwdy"),_=i("9bRT"),S=i("Ohay"),k=i("prE9"),E=i("xVbo"),C=i("kuMc"),R=i("jIqt"),T=i("5uGe"),I=function(){function t(){g(this,t)}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new O(t))}}]),t}(),O=function(t){a(i,t);var e=s(i);function i(t){var n;return g(this,i),(n=e.call(this,t)).hasPrev=!1,n}return m(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}(T.a),D=i("TLy2"),M=i("wqq/"),P=i("cZZj"),x=i("2kYt"),N=i("E5oP"),L=i("cqs0"),F=["contentWrapper"],z=["*"],H=new u.r("VIRTUAL_SCROLL_STRATEGY"),B=function(){function t(e,i,n){g(this,t),this._scrolledIndexChange=new l.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(S.a)()),this._viewport=null,this._itemSize=e,this._minBufferPx=i,this._maxBufferPx=n}return m(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){if(i0&&(n.end=Math.min(a,n.end+u),n.start=Math.max(0,Math.floor(e-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(n),this._viewport.setRenderedContentOffset(this._itemSize*n.start),this._scrolledIndexChange.next(Math.floor(e))}}}]),t}();function j(t){return t._scrollStrategy}var G,U,K,V,q,J=((V=function(){function t(){g(this,t),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new B(this.itemSize,this.minBufferPx,this.maxBufferPx)}return m(t,[{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}},{key:"itemSize",get:function(){return this._itemSize},set:function(t){this._itemSize=Object(o.f)(t)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(t){this._minBufferPx=Object(o.f)(t)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(t){this._maxBufferPx=Object(o.f)(t)}}]),t}()).\u0275fac=function(t){return new(t||V)},V.\u0275dir=u.Hb({type:V,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[u.zb([{provide:H,useFactory:j,deps:[Object(u.U)((function(){return V}))]}]),u.yb]}),V),W=((K=function(){function t(e,i,n){g(this,t),this._ngZone=e,this._platform=i,this._scrolled=new l.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return m(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 p.a((function(i){t._globalSubscription||t._addGlobalListener();var n=e>0?t._scrolled.pipe(Object(k.a)(e)).subscribe(i):t._scrolled.subscribe(i);return t._scrolledCount++,function(){n.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Object(f.a)()}},{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(Object(E.a)((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:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var i=e.nativeElement,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 Object(b.a)(e.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}()).\u0275fac=function(t){return new(t||K)(u.Wb(u.A),u.Wb(P.a),u.Wb(x.e,8))},K.\u0275prov=Object(u.Ib)({factory:function(){return new K(Object(u.Wb)(u.A),Object(u.Wb)(P.a),Object(u.Wb)(x.e,8))},token:K,providedIn:"root"}),K),Z=((U=function(){function t(e,i,n,r){var a=this;g(this,t),this.elementRef=e,this.scrollDispatcher=i,this.ngZone=n,this.dir=r,this._destroyed=new l.a,this._elementScrolled=new p.a((function(t){return a.ngZone.runOutsideAngular((function(){return Object(b.a)(a.elementRef.nativeElement,"scroll").pipe(Object(C.a)(a._destroyed)).subscribe(t)}))}))}return m(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!=Object(P.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(P.d)()?t.left=t.right:1==Object(P.d)()&&(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;Object(P.g)()?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==Object(P.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==Object(P.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}()).\u0275fac=function(t){return new(t||U)(u.Mb(u.l),u.Mb(W),u.Mb(u.A),u.Mb(N.c,8))},U.\u0275dir=u.Hb({type:U,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),U),Y=((G=function(){function t(e,i,n){var r=this;g(this,t),this._platform=e,this._document=n,i.runOutsideAngular((function(){var t=r._getWindow();r._change=e.isBrowser?Object(v.a)(Object(b.a)(t,"resize"),Object(b.a)(t,"orientationchange")):Object(f.a)(),r._invalidateCache=r.change().subscribe((function(){return r._updateViewportSize()}))}))}return m(t,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{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._getDocument(),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(Object(k.a)(t)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().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}()).\u0275fac=function(t){return new(t||G)(u.Wb(P.a),u.Wb(u.A),u.Wb(x.e,8))},G.\u0275prov=Object(u.Ib)({factory:function(){return new G(Object(u.Wb)(P.a),Object(u.Wb)(u.A),Object(u.Wb)(x.e,8))},token:G,providedIn:"root"}),G),X="undefined"!=typeof requestAnimationFrame?y.a:A.a,Q=((q=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o,s,u){var h;if(g(this,i),(h=e.call(this,t,s,r,o)).elementRef=t,h._changeDetectorRef=n,h._scrollStrategy=a,h._detachedSubject=new l.a,h._renderedRangeSubject=new l.a,h._orientation="vertical",h.scrolledIndexChange=new p.a((function(t){return h._scrollStrategy.scrolledIndexChange.subscribe((function(e){return Promise.resolve().then((function(){return h.ngZone.run((function(){return t.next(e)}))}))}))})),h.renderedRangeStream=h._renderedRangeSubject.asObservable(),h._totalContentSize=0,h._totalContentWidth="",h._totalContentHeight="",h._renderedRange={start:0,end:0},h._dataLength=0,h._viewportSize=0,h._renderedContentOffset=0,h._renderedContentOffsetNeedsRewrite=!1,h._isChangeDetectionPending=!1,h._runAfterChangeDetection=[],h._viewportChanges=w.a.EMPTY,!a)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return u&&(h._viewportChanges=u.change().subscribe((function(){h.checkViewportSize()}))),c(h)}return m(i,[{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(Object(R.a)(null),Object(k.a)(0,X)).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;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((function(){e._forOf=t,e._forOf.dataStream.pipe(Object(C.a)(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",a="translate".concat(r,"(").concat(Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*t),"px)");this._renderedContentOffset=t,"to-end"===i&&(a+=" translate".concat(r,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,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=d(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?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""}},{key:"orientation",get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}}]),i}(Z)).\u0275fac=function(t){return new(t||q)(u.Mb(u.l),u.Mb(u.h),u.Mb(u.A),u.Mb(H,8),u.Mb(N.c,8),u.Mb(W),u.Mb(Y,8))},q.\u0275cmp=u.Gb({type:q,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){var i;1&t&&u.Dc(F,!0),2&t&&u.sc(i=u.ac())&&(e._contentWrapper=i.first)},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&u.Eb("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[u.zb([{provide:Z,useExisting:q}]),u.xb],ngContentSelectors:z,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(u.jc(),u.Sb(0,"div",0,1),u.ic(2),u.Rb(),u.Nb(3,"div",2)),2&t&&(u.Ab(3),u.Ec("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}),q);function $(t,e){if(!e.getBoundingClientRect)return 0;var i=e.getBoundingClientRect();return"horizontal"==t?i.width:i.height}var tt,et,it,nt=((it=function(){function t(e,i,n,a,o){var s=this;g(this,t),this._viewContainerRef=e,this._template=i,this._differs=n,this._viewport=a,this.viewChange=new l.a,this._dataSourceChanges=new l.a,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Object(R.a)(null),(function(t){return t.lift(new I)}),Object(D.a)((function(t){var e=r(t,2),i=e[0],n=e[1];return s._changeDataSource(i,n)})),Object(M.a)(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new l.a,this.dataStream.subscribe((function(t){s._data=t,s._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(Object(C.a)(this._destroyed)).subscribe((function(t){s._renderedRange=t,o.run((function(){return s.viewChange.next(s._renderedRange)})),s._onRenderedDataChange()})),this._viewport.attach(this)}return m(t,[{key:"measureRangeSize",value:function(t,e){if(t.start>=t.end)return 0;if(t.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var i=t.start-this._renderedRange.start,n=0,r=t.end-t.start;r--;)for(var a=this._viewContainerRef.get(r+i),o=a?a.rootNodes.length:0;o--;)n+=$(e,a.rootNodes[o]);return n}},{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(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();var t,e=d(this._templateCache);try{for(e.s();!(t=e.n()).done;)t.value.destroy()}catch(i){e.e(i)}finally{e.f()}}},{key:"_onRenderedDataChange",value:function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}},{key:"_changeDataSource",value:function(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):Object(f.a)()}},{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;t.forEachOperation((function(t,i,n){if(null==t.previousIndex)e._insertViewForNewItem(n).context.$implicit=t.item;else if(null==n)e._cacheView(e._detachView(i));else{var r=e._viewContainerRef.get(i);e._viewContainerRef.move(r,n),r.context.$implicit=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:"_cacheView",value:function(t){if(this._templateCache.length-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;default:return t[e]}}},{key:"exportData",value:function(t){Object(s.i)(Object(s.n)(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 Object(s.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(s.g)(e,i,t.getDataForColumn,t)},this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"checkboxLabel",value:function(t){return"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(c.h))},t.\u0275cmp=n.Gb({type:t,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Qc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.paginator=i.first))},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.yb],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,y,1,0,"th",6),n.Hc(7,A,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,w,3,3,"th",9),n.Hc(10,_,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,S,1,0,"th",6),n.Hc(13,k,2,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,E,3,3,"th",9),n.Hc(16,C,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,R,3,3,"th",9),n.Hc(19,T,2,1,"td",11),n.Pb(),n.Hc(20,I,1,0,"tr",14),n.Hc(21,D,1,8,"tr",15),n.Rb(),n.Rb(),n.Sb(22,"mat-paginator",16),n.Zb("page",(function(t){return e.page.emit(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(23,M,3,3,"app-alert",17),n.Hc(24,P,3,3,"app-alert",17)),2&t&&(n.kc("hidden",0===e.dataSource.filteredData.length||0===e.vos.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(16),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.vos.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",0===e.dataSource.filteredData.length&&0!==e.vos.length),n.Ab(1),n.kc("ngIf",0===e.vos.length))},directives:[u.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,l.t,o.h,o.a,h.a,a.b,d.a,o.j,o.l,f.g,p.c,b.a],pipes:[v.d],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}()},r3xl:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&s.Nb(0,"th",15)}function p(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){1&t&&s.Nb(0,"tr",18)}function y(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,1,0,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Hc(11,b,1,0,"tr",13),s.Hc(12,v,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Kc(s.fc(3,5,"DIALOGS.DELETE_SERVICE.DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.DELETE_SERVICE.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.serviceManager=n,this.notificator=r,this.translate=a,this.displayedColumns=["name"],this.dataSource=new o.o(this.data.services),this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.services=this.data.services}},{key:"recDelete",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).subscribe((function(){t.recDelete(),t.loading=!1}),(function(){return t.loading=!1}))}},{key:"onDelete",value:function(){this.recDelete()}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(r.i),s.Mb(r.a),s.Mb(n.n),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({type:t,selectors:[["app-delete-service-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.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"div"),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onDelete()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,9,"DIALOGS.DELETE_SERVICE.TITLE")),s.Ab(2),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.DELETE_SERVICE.CANCEL"),""),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.DELETE_SERVICE.DELETE"),""))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[c.d],styles:[""]}),t}()},r9RI:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this)).parent=t,a.outerValue=n,a.outerIndex=r,a.index=0,a}return m(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("5uGe").a)},rWo0:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("HgnN"),r=i("i9P/"),a={closed:!0,next:function(t){},error:function(t){if(n.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete:function(){}}},rmDM:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("EM62"),r=i("s2Ay"),a=function(){var t=function(){function t(e){g(this,t),this.translateService=e}return m(t,[{key:"transform",value:function(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}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Mb(r.e))},t.\u0275pipe=n.Lb({name:"applicationFormItemDisabled",type:t,pure:!0}),t}()},ruxD:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("5uGe"),r=i("bwdy");function o(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(e){g(this,t),this.callback=e}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.callback))}}]),t}(),u=function(t){a(i,t);var e=s(i);function i(t,n){var a;return g(this,i),(a=e.call(this,t)).add(new r.a(n)),a}return i}(n.a)},ryP2:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("6Oco"),r=i("ROBh"),a=i("47ST"),o=function(){var t=function(){function t(e,i,n){g(this,t),this.kind=e,this.value=i,this.error=n,this.hasValue="N"===e}return m(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 Object(r.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(n.b)()}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}()},s2Ay:function(e,i,n){"use strict";n.d(i,"a",(function(){return B})),n.d(i,"b",(function(){return A})),n.d(i,"c",(function(){return G})),n.d(i,"d",(function(){return j})),n.d(i,"e",(function(){return H}));var r=n("EM62"),o=n("ROBh"),c=n("9bRT"),u=n("P4Xx"),l=n("qZtG"),h=n("i9xl"),f=n("J+dc"),p=n("wqq/"),b=n("YtkY"),v=n("5uDM"),y=n("TLy2"),A=function t(){g(this,t)},w=function(){var t=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(i,[{key:"getTranslation",value:function(t){return Object(o.a)({})}}]),i}(A);return t.\u0275fac=function(e){return _(e||t)},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac}),t}(),_=r.Ub(w),S=function t(){g(this,t)},k=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"handle",value:function(t){return t.key}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac}),t}();function E(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,a=typeof t;if(a==typeof e&&"object"==a){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in r=Object.create(null),t){if(!E(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],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;g(this,e),this.store=t,this.currentLoader=i,this.compiler=n,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.isolate=c,this.extend=u,this.pending=!1,this._onTranslationChange=new r.o,this._onLangChange=new r.o,this._onDefaultLangChange=new r.o,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}return m(e,[{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(Object(f.a)(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 Object(o.a)(this.translations[t]);var i=this.retrieveTranslations(t);return void 0!==i?(this.currentLang||(this.currentLang=t),i.pipe(Object(f.a)(1)).subscribe((function(i){e.changeLang(t)})),i):(this.changeLang(t),Object(o.a)(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(Object(p.a)(1),Object(f.a)(1));return this.loadingTranslations=i.pipe(Object(b.a)((function(i){return e.compiler.compileTranslations(i,t)})),Object(p.a)(1),Object(f.a)(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(e,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i=this.compiler.compileTranslations(i,e),this.translations[e]=(n||this.extend)&&this.translations[e]?function e(i,n){var r=Object.assign({},i);return R(i)&&R(n)&&Object.keys(n).forEach((function(a){R(n[a])&&a in i?r[a]=e(i[a],n[a]):Object.assign(r,t({},a,n[a]))})),r}(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{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,a={},s=!1,l=d(e);try{for(l.s();!(r=l.n()).done;){var h=r.value;a[h]=this.getParsedResult(t,h,i),Object(c.a)(a[h])&&(s=!0)}}catch(g){l.e(g)}finally{l.f()}if(s){var f=e.map((function(t){return Object(c.a)(a[t])?a[t]:Object(o.a)(a[t])}));return Object(u.a)(f).pipe(Object(b.a)((function(t){var i={};return t.forEach((function(t,n){i[e[n]]=t})),i})))}return a}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(Object(v.a)((function(n){return n=i.getParsedResult(n,t,e),Object(c.a)(n)?n:Object(o.a)(n)})));var n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(c.a)(n)?n:Object(o.a)(n)}},{key:"getStreamOnTranslationChange",value:function(t,e){var i=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');return Object(l.a)(Object(h.a)((function(){return i.get(t,e)})),this.onTranslationChange.pipe(Object(y.a)((function(n){var r=i.getParsedResult(n.translations,t,e);return"function"==typeof r.subscribe?r:Object(o.a)(r)}))))}},{key:"stream",value:function(t,e){var i=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');return Object(l.a)(Object(h.a)((function(){return i.get(t,e)})),this.onLangChange.pipe(Object(y.a)((function(n){var r=i.getParsedResult(n.translations,t,e);return Object(c.a)(r)?r:Object(o.a)(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(Object(c.a)(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}}},{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}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Wb(x),r.Wb(A),r.Wb(D),r.Wb(T),r.Wb(S),r.Wb(L),r.Wb(N),r.Wb(z),r.Wb(F))},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),B=function(){var t=function(){function t(e,i,n){var r=this;g(this,t),this.translateService=e,this.element=i,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe((function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)}))),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe((function(t){r.checkNodes(!0,t.translations)}))),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe((function(t){r.checkNodes(!0)})))}return m(t,[{key:"ngAfterViewChecked",value:function(){this.checkNodes()}},{key:"checkNodes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0,i=this.element.nativeElement.childNodes;i.length||(this.setContent(this.element.nativeElement,this.key),i=this.element.nativeElement.childNodes);for(var n=0;n1?n-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:A,useClass:w},e.compiler||{provide:D,useClass:M},e.parser||{provide:T,useClass:I},e.missingTranslationHandler||{provide:S,useClass:k},x,{provide:N,useValue:e.isolate},{provide:L,useValue:e.useDefaultLang},{provide:z,useValue:e.extend},{provide:F,useValue:e.defaultLanguage},H]}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:A,useClass:w},e.compiler||{provide:D,useClass:M},e.parser||{provide:T,useClass:I},e.missingTranslationHandler||{provide:S,useClass:k},{provide:N,useValue:e.isolate},{provide:L,useValue:e.useDefaultLang},{provide:z,useValue:e.extend},{provide:F,useValue:e.defaultLanguage},H]}}}]),t}();return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)}}),t}()},s8L6:function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n=i("cqs0"),r=i("V78E"),a=i("X2Q7"),o=i("snnp"),s=i("iyZ4"),c=i("8clQ"),u=i("Ssnw"),l=i("EM62"),h=i("OZ4H"),d=i("sEIs"),f=i("0XDM"),p=i("2kYt"),b=i("A8Ay"),v=i("PBFl"),y=i("csyo"),A=i("23RZ"),w=i("s2Ay");function _(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",7),l.Zb("click",(function(){return l.xc(i),l.dc().createResource()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}2&t&&(l.Ab(1),l.Lc(" ",l.fc(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function S(t,e){if(1&t){var i=l.Tb();l.Sb(0,"button",8),l.Zb("click",(function(){return l.xc(i),l.dc().removeResource()})),l.Jc(1),l.ec(2,"translate"),l.Rb()}if(2&t){var n=l.dc();l.kc("disabled",0===n.selected.selected.length),l.Ab(1),l.Lc(" ",l.fc(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function k(t,e){1&t&&l.Nb(0,"mat-spinner",9)}function E(t,e){if(1&t){var i=l.Tb();l.Sb(0,"perun-web-apps-resources-list",10),l.Zb("page",(function(t){return l.xc(i),l.dc().pageChanged(t)})),l.Rb()}if(2&t){var n=l.dc();l.kc("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("selection",n.selected)("disableRouting",!n.routeAuth)("displayedColumns",n.displayedColumns)}}var C=function(){var t=function(){function t(e,i,r,a,o){g(this,t),this.dialog=e,this.facilitiesManager=i,this.tableConfigService=r,this.route=a,this.authResolver=o,this.resources=[],this.selected=new n.c(!0,[]),this.filterValue="",this.tableId=s.z,this.displayedColumns=["id","vo","facility","description"]}return m(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=Object(c.o)();e.width="450px",e.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(r.a,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=Object(c.o)();e.width="1350px",e.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(o.a,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)(l.Mb(h.b),l.Mb(a.g),l.Mb(s.pb),l.Mb(d.a),l.Mb(u.h))},t.\u0275cmp=l.Gb({type:t,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&l.Eb("router-component",!0)},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.Sb(0,"div"),l.Sb(1,"h1",0),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"perun-web-apps-refresh-button",1),l.Zb("refresh",(function(){return e.refreshTable()})),l.Rb(),l.Hc(5,_,3,3,"button",2),l.Hc(6,S,3,4,"button",3),l.Sb(7,"perun-web-apps-immediate-filter",4),l.Zb("filter",(function(t){return e.applyFilter(t)})),l.Rb(),l.Hc(8,k,1,0,"mat-spinner",5),l.Hc(9,E,1,6,"perun-web-apps-resources-list",6),l.Rb()),2&t&&(l.Ab(2),l.Kc(l.fc(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),l.Ab(3),l.kc("ngIf",!e.loading&&e.addAuth),l.Ab(1),l.kc("ngIf",!e.loading&&e.removeAuth),l.Ab(1),l.kc("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(1),l.kc("ngIf",!e.loading))},directives:[f.a,p.t,b.a,v.b,y.c,A.a],pipes:[w.d],styles:[""]}),t}()},sEIs:function(t,e,n){"use strict";n.d(e,"a",(function(){return Kt})),n.d(e,"b",(function(){return V})),n.d(e,"c",(function(){return K})),n.d(e,"d",(function(){return wi})),n.d(e,"e",(function(){return Ve})),n.d(e,"f",(function(){return ui})),n.d(e,"g",(function(){return li})),n.d(e,"h",(function(){return mi})),n.d(e,"i",(function(){return hi})),n.d(e,"j",(function(){return Ii})),n.d(e,"k",(function(){return vi})),n.d(e,"l",(function(){return Je}));var r=n("2kYt"),o=n("EM62"),c=n("ROBh"),l=n("GoAz"),h=n("C05f"),f=n("HM3f"),p=n("IdLP"),b=n("VxHp"),v=n("i9xl"),y=n("6Oco"),A=n("ZTXN"),w=n("YtkY"),_=n("mawV"),S=n("xVbo"),k=n("5uGe"),E=n("PNff");function C(t){return function(e){return 0===t?Object(y.b)():e.lift(new R(t))}}var R=function(){function t(e){if(g(this,t),this.total=e,this.total<0)throw new E.a}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new T(t,this.total))}}]),t}(),T=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).total=n,r.ring=new Array,r.count=0,r}return m(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",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return g(this,i),(r=e.call(this,t,n)).navigationTrigger=a,r.restoredState=o,r}return m(i,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(U),V=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t,n)).urlAfterRedirects=r,a}return m(i,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),i}(U),q=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t,n)).reason=r,a}return m(i,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(U),J=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t,n)).error=r,a}return m(i,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),i}(U),W=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n)).urlAfterRedirects=r,o.state=a,o}return m(i,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(U),Z=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n)).urlAfterRedirects=r,o.state=a,o}return m(i,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(U),Y=function(t){a(i,t);var e=s(i);function i(t,n,r,a,o){var s;return g(this,i),(s=e.call(this,t,n)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return m(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}(U),X=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n)).urlAfterRedirects=r,o.state=a,o}return m(i,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(U),Q=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n)).urlAfterRedirects=r,o.state=a,o}return m(i,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(U),$=function(){function t(e){g(this,t),this.route=e}return m(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),tt=function(){function t(e){g(this,t),this.route=e}return m(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),et=function(){function t(e){g(this,t),this.snapshot=e}return m(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),it=function(){function t(e){g(this,t),this.snapshot=e}return m(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),nt=function(){function t(e){g(this,t),this.snapshot=e}return m(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),rt=function(){function t(e){g(this,t),this.snapshot=e}return m(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),at=function(){function t(e,i,n){g(this,t),this.routerEvent=e,this.position=i,this.anchor=n}return m(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}(),ot=function(){function t(e){g(this,t),this.params=e||{}}return m(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 st(t){return new ot(t)}function ct(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function ut(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 pt(t,e){for(var i in t)t.hasOwnProperty(i)&&e(t[i],i)}function gt(t){return Object(o.rb)(t)?t:Object(o.sb)(t)?Object(l.a)(Promise.resolve(t)):Object(c.a)(t)}function bt(t,e,i){return i?function(t,e){return lt(t,e)}(t.queryParams,e.queryParams)&&function t(e,i){if(!At(e.segments,i.segments))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(var n in i.children){if(!e.children[n])return!1;if(!t(e.children[n],i.children[n]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(i){return ht(t[i],e[i])}))}(t.queryParams,e.queryParams)&&function t(e,i){return function e(i,n,r){if(i.segments.length>r.length)return!!At(i.segments.slice(0,r.length),r)&&!n.hasChildren();if(i.segments.length===r.length){if(!At(i.segments,r))return!1;for(var a in n.children){if(!i.children[a])return!1;if(!t(i.children[a],n.children[a]))return!1}return!0}var o=r.slice(0,i.segments.length),s=r.slice(i.segments.length);return!!At(i.segments,o)&&!!i.children.primary&&e(i.children.primary,n,s)}(e,i,i.segments)}(t.root,e.root)}var mt=function(){function t(e,i,n){g(this,t),this.root=e,this.queryParams=i,this.fragment=n}return m(t,[{key:"toString",value:function(){return kt.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}}]),t}(),vt=function(){function t(e,i){var n=this;g(this,t),this.segments=e,this.children=i,this.parent=null,pt(i,(function(t,e){return t.parent=n}))}return m(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return Et(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),t}(),yt=function(){function t(e,i){g(this,t),this.path=e,this.parameters=i}return m(t,[{key:"toString",value:function(){return Dt(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=st(this.parameters)),this._parameterMap}}]),t}();function At(t,e){return t.length===e.length&&t.every((function(t,i){return t.path===e[i].path}))}function wt(t,e){var i=[];return pt(t.children,(function(t,n){"primary"===n&&(i=i.concat(e(t,n)))})),pt(t.children,(function(t,n){"primary"!==n&&(i=i.concat(e(t,n)))})),i}var _t=function t(){g(this,t)},St=function(){function t(){g(this,t)}return m(t,[{key:"parse",value:function(t){var e=new Lt(t);return new mt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){return"".concat("/"+function t(e,i){if(!e.hasChildren())return Et(e);if(i){var n=e.children.primary?t(e.children.primary,!1):"",r=[];return pt(e.children,(function(e,i){"primary"!==i&&r.push("".concat(i,":").concat(t(e,!1)))})),r.length>0?"".concat(n,"(").concat(r.join("//"),")"):n}var a=wt(e,(function(i,n){return"primary"===n?[t(e.children.primary,!1)]:["".concat(n,":").concat(t(i,!1))]}));return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Et(e),"/").concat(a[0]):"".concat(Et(e),"/(").concat(a.join("//"),")")}(t.root,!0)).concat((e=t.queryParams,i=Object.keys(e).map((function(t){var i=e[t];return Array.isArray(i)?i.map((function(e){return"".concat(Rt(t),"=").concat(Rt(e))})).join("&"):"".concat(Rt(t),"=").concat(Rt(i))})),i.length?"?"+i.join("&"):"")).concat("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"");var e,i}}]),t}(),kt=new St;function Et(t){return t.segments.map((function(t){return Dt(t)})).join("/")}function Ct(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rt(t){return Ct(t).replace(/%3B/gi,";")}function Tt(t){return Ct(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function It(t){return decodeURIComponent(t)}function Ot(t){return It(t.replace(/\+/g,"%20"))}function Dt(t){return"".concat(Tt(t.path)).concat((e=t.parameters,Object.keys(e).map((function(t){return";".concat(Tt(t),"=").concat(Tt(e[t]))})).join("")));var e}var Mt=/^[^\/()?;=#]+/;function Pt(t){var e=t.match(Mt);return e?e[0]:""}var xt=/^[^=?&#]+/,Nt=/^[^?&#]+/,Lt=function(){function t(e){g(this,t),this.url=e,this.remaining=e}return m(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vt([],{}):new vt([],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 vt(t,e)),i}},{key:"parseSegment",value:function(){var t=Pt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new yt(It(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Pt(this.remaining);if(e){this.capture(e);var i="";if(this.consumeOptional("=")){var n=Pt(this.remaining);n&&(i=n,this.capture(i))}t[It(e)]=It(i)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(xt);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var i="";if(this.consumeOptional("=")){var n=function(t){var e=t.match(Nt);return e?e[0]:""}(this.remaining);n&&(i=n,this.capture(i))}var r=Ot(e),a=Ot(i);if(t.hasOwnProperty(r)){var o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(a)}else t[r]=a}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var i=Pt(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 a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new vt([],a),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}(),Ft=function(){function t(e){g(this,t),this._root=e}return m(t,[{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=zt(t,this._root);return e?e.children.map((function(t){return t.value})):[]}},{key:"firstChild",value:function(t){var e=zt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Ht(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 Ht(t,this._root).map((function(t){return t.value}))}},{key:"root",get:function(){return this._root.value}}]),t}();function zt(t,e){if(t===e.value)return e;var i,n=d(e.children);try{for(n.s();!(i=n.n()).done;){var r=zt(t,i.value);if(r)return r}}catch(a){n.e(a)}finally{n.f()}return null}function Ht(t,e){if(t===e.value)return[e];var i,n=d(e.children);try{for(n.s();!(i=n.n()).done;){var r=Ht(t,i.value);if(r.length)return r.unshift(e),r}}catch(a){n.e(a)}finally{n.f()}return[]}var Bt=function(){function t(e,i){g(this,t),this.value=e,this.children=i}return m(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function jt(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var Gt=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t)).snapshot=n,Wt(u(r),t),r}return m(i,[{key:"toString",value:function(){return this.snapshot.toString()}}]),i}(Ft);function Ut(t,e){var i=function(t,e){var i=new qt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Jt("",new Bt(i,[]))}(t,e),n=new h.a([new yt("",{})]),r=new h.a({}),a=new h.a({}),o=new h.a({}),s=new h.a(""),c=new Kt(n,r,o,s,a,"primary",e,i.root);return c.snapshot=i.root,new Gt(new Bt(c,[]),i)}var Kt=function(){function t(e,i,n,r,a,o,s,c){g(this,t),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=c}return m(t,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{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(Object(w.a)((function(t){return st(t)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(w.a)((function(t){return st(t)})))),this._queryParamMap}}]),t}();function Vt(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],a=i[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(a.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 qt=function(){function t(e,i,n,r,a,o,s,c,u,l,h){g(this,t),this.url=e,this.params=i,this.queryParams=n,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 m(t,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(t){return t.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{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=st(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}}]),t}(),Jt=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,n)).url=t,Wt(u(r),n),r}return m(i,[{key:"toString",value:function(){return Zt(this._root)}}]),i}(Ft);function Wt(t,e){e.value._routerState=t,e.children.forEach((function(e){return Wt(t,e)}))}function Zt(t){var e=t.children.length>0?" { ".concat(t.children.map(Zt).join(", ")," } "):"";return"".concat(t.value).concat(e)}function Yt(t){if(t.snapshot){var e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,lt(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),lt(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(var i=0;i0&&Qt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==ft(n))throw new Error("{outlets:{}} has to be the last command")}return m(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),ee=function t(e,i,n){g(this,t),this.segmentGroup=e,this.processChildren=i,this.index=n};function ie(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function ne(t,e,i){if(t||(t=new vt([],{})),0===t.segments.length&&t.hasChildren())return re(t,e,i);var n=function(t,e,i){for(var n=0,r=e,a={match:!1,pathIndex:0,commandIndex:0};r=i.length)return a;var o=t.segments[r],s=ie(i[n]),c=n0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!ce(s,c,o))return a;n+=2}else{if(!ce(s,{},o))return a;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex0?new vt([],{primary:t}):t;return new mt(n,e,i)}},{key:"expandSegmentGroup",value:function(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(Object(w.a)((function(t){return new vt([],t)}))):this.expandSegment(t,i,e,i.segments,n,!0)}},{key:"expandChildren",value:function(t,e,i){var n=this;return function(i,r){if(0===Object.keys(i).length)return Object(c.a)({});var a=[],o=[],s={};return pt(i,(function(i,r){var c,u,l=(c=r,u=i,n.expandSegmentGroup(t,e,u,c)).pipe(Object(w.a)((function(t){return s[r]=t})));"primary"===r?a.push(l):o.push(l)})),c.a.apply(null,a.concat(o)).pipe(Object(_.a)(),function(t,e){var i=arguments.length>=2;return function(n){return n.pipe(t?Object(S.a)((function(e,i){return t(e,i,n)})):D.a,C(1),i?Object(O.a)(e):Object(I.a)((function(){return new b.a})))}}(),Object(w.a)((function(){return s})))}(i.children)}},{key:"expandSegment",value:function(t,e,n,r,a,o){var s=this;return Object(c.a).apply(void 0,i(n)).pipe(Object(F.a)((function(i){return s.expandSegmentAgainstRoute(t,e,n,i,r,a,o).pipe(Object(L.a)((function(t){if(t instanceof be)return Object(c.a)(null);throw t})))})),Object(z.a)((function(t){return!!t})),Object(L.a)((function(t,i){if(t instanceof b.a||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,a))return Object(c.a)(new vt([],{}));throw new be(e)}throw t})))}},{key:"noLeftoversInUrl",value:function(t,e,i){return 0===e.length&&!t.children[i]}},{key:"expandSegmentAgainstRoute",value:function(t,e,i,n,r,a,o){return Ee(n)!==a?ve(e):void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,r,a):ve(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,i,n,r,a){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,i,n){var r=this,a=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?ye(a):this.lineralizeSegments(i,a).pipe(Object(H.a)((function(i){var a=new vt(i,{});return r.expandSegment(t,a,e,i,n,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,i,n,r,a){var o=this,s=_e(e,n,r),c=s.matched,u=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!c)return ve(e);var d=this.applyRedirectCommands(u,n.redirectTo,h);return n.redirectTo.startsWith("/")?ye(d):this.lineralizeSegments(n,d).pipe(Object(H.a)((function(n){return o.expandSegment(t,e,i,n.concat(r.slice(l)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(t,e,i,n){var r=this;if("**"===i.path)return i.loadChildren?this.configLoader.load(t.injector,i).pipe(Object(w.a)((function(t){return i._loadedConfig=t,new vt(n,{})}))):Object(c.a)(new vt(n,{}));var a=_e(e,i,n),o=a.matched,s=a.consumedSegments,u=a.lastChild;if(!o)return ve(e);var l=n.slice(u);return this.getChildConfig(t,i,n).pipe(Object(H.a)((function(t){var i=t.module,n=t.routes,a=function(t,e,i,n){return i.length>0&&function(t,e,i){return i.some((function(i){return ke(t,e,i)&&"primary"!==Ee(i)}))}(t,i,n)?{segmentGroup:Se(new vt(e,function(t,e){var i={};i.primary=e;var n,r=d(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;""===a.path&&"primary"!==Ee(a)&&(i[Ee(a)]=new vt([],{}))}}catch(o){r.e(o)}finally{r.f()}return i}(n,new vt(i,t.children)))),slicedSegments:[]}:0===i.length&&function(t,e,i){return i.some((function(i){return ke(t,e,i)}))}(t,i,n)?{segmentGroup:Se(new vt(t.segments,function(t,e,i,n){var r,a={},o=d(i);try{for(o.s();!(r=o.n()).done;){var s=r.value;ke(t,e,s)&&!n[Ee(s)]&&(a[Ee(s)]=new vt([],{}))}}catch(c){o.e(c)}finally{o.f()}return Object.assign(Object.assign({},n),a)}(t,i,n,t.children))),slicedSegments:i}:{segmentGroup:t,slicedSegments:i}}(e,s,l,n),o=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&o.hasChildren()?r.expandChildren(i,n,o).pipe(Object(w.a)((function(t){return new vt(s,t)}))):0===n.length&&0===u.length?Object(c.a)(new vt(s,{})):r.expandSegment(i,o,n,u,"primary",!0).pipe(Object(w.a)((function(t){return new vt(s.concat(t.segments),t.children)})))})))}},{key:"getChildConfig",value:function(t,e,i){var n=this;return e.children?Object(c.a)(new he(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(c.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(Object(H.a)((function(i){return i?n.configLoader.load(t.injector,e).pipe(Object(w.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new p.a((function(e){return e.error(ct("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))}))}(e)}))):Object(c.a)(new he([],t))}},{key:"runCanLoadGuards",value:function(t,e,i){var n=this,r=e.canLoad;if(!r||0===r.length)return Object(c.a)(!0);var a=r.map((function(n){var r,a=t.get(n);if(function(t){return t&&de(t.canLoad)}(a))r=a.canLoad(e,i);else{if(!de(a))throw new Error("Invalid CanLoad guard");r=a(e,i)}return gt(r)}));return Object(c.a)(a).pipe(ge(),Object(B.a)((function(t){if(fe(t)){var e=ct('Redirecting to "'.concat(n.urlSerializer.serialize(t),'"'));throw e.url=t,e}})),Object(w.a)((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 Object(c.a)(i);if(n.numberOfChildren>1||!n.children.primary)return Ae(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 mt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var i={};return pt(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,a=this.createSegments(t,e.segments,i,n),o={};return pt(e.children,(function(e,a){o[a]=r.createSegmentGroup(t,e,i,n)})),new vt(a,o)}},{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=d(e);try{for(r.s();!(i=r.n()).done;){var a=i.value;if(a.path===t.path)return e.splice(n),a;n++}}catch(o){r.e(o)}finally{r.f()}return t}}]),t}();function _e(t,e,i){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var n=(e.matcher||ut)(i,t,e);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Se(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new vt(t.segments.concat(e.segments),e.children)}return t}function ke(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function Ee(t){return t.outlet||"primary"}var Ce=function t(e){g(this,t),this.path=e,this.route=this.path[this.path.length-1]},Re=function t(e,i){g(this,t),this.component=e,this.route=i};function Te(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 Ie(t,e,i){var n=jt(t),r=t.value;pt(n,(function(t,n){Ie(t,r.component?e?e.children.getContext(n):null:e,i)})),i.canDeactivateChecks.push(new Re(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Oe(t,e){return null!==t&&e&&e(new nt(t)),Object(c.a)(!0)}function De(t,e){return null!==t&&e&&e(new et(t)),Object(c.a)(!0)}function Me(t,e,i){var n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return Object(c.a)(!0);var r=n.map((function(n){return Object(v.a)((function(){var r,a=Te(n,e,i);if(function(t){return t&&de(t.canActivate)}(a))r=gt(a.canActivate(e,t));else{if(!de(a))throw new Error("Invalid CanActivate guard");r=gt(a(e,t))}return r.pipe(Object(z.a)())}))}));return Object(c.a)(r).pipe(ge())}function Pe(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 Object(v.a)((function(){var r=e.guards.map((function(r){var a,o=Te(r,e.node,i);if(function(t){return t&&de(t.canActivateChild)}(o))a=gt(o.canActivateChild(n,t));else{if(!de(o))throw new Error("Invalid CanActivateChild guard");a=gt(o(n,t))}return a.pipe(Object(z.a)())}));return Object(c.a)(r).pipe(ge())}))}));return Object(c.a)(r).pipe(ge())}var xe=function t(){g(this,t)},Ne=function(){function t(e,i,n,r,a,o){g(this,t),this.rootComponentType=e,this.config=i,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return m(t,[{key:"recognize",value:function(){try{var t=ze(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),i=new qt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Bt(i,e),r=new Jt(this.url,n);return this.inheritParamsAndData(r._root),Object(c.a)(r)}catch(a){return new p.a((function(t){return t.error(a)}))}}},{key:"inheritParamsAndData",value:function(t){var e=this,i=t.value,n=Vt(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){var i,n=this,r=wt(e,(function(e,i){return n.processSegmentGroup(t,e,i)}));return i={},r.forEach((function(t){var e=i[t.value.outlet];if(e){var n=e.url.map((function(t){return t.toString()})).join("/"),r=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(n,"' and '").concat(r,"'."))}i[t.value.outlet]=t.value})),r.sort((function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)})),r}},{key:"processSegment",value:function(t,e,i,n){var r,a=d(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;try{return this.processSegmentAgainstRoute(o,e,i,n)}catch(s){if(!(s instanceof xe))throw s}}}catch(c){a.e(c)}finally{a.f()}if(this.noLeftoversInUrl(e,i,n))return[];throw new xe}},{key:"noLeftoversInUrl",value:function(t,e,i){return 0===e.length&&!t.children[i]}},{key:"processSegmentAgainstRoute",value:function(t,e,i,n){if(t.redirectTo)throw new xe;if((t.outlet||"primary")!==n)throw new xe;var r,a=[],o=[];if("**"===t.path){var s=i.length>0?ft(i).parameters:{};r=new qt(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,je(t),n,t.component,t,Le(e),Fe(e)+i.length,Ge(t))}else{var c=function(t,e,i){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||i.length>0))throw new xe;return{consumedSegments:[],lastChild:0,parameters:{}}}var n=(e.matcher||ut)(i,t,e);if(!n)throw new xe;var r={};pt(n.posParams,(function(t,e){r[e]=t.path}));var a=n.consumed.length>0?Object.assign(Object.assign({},r),n.consumed[n.consumed.length-1].parameters):r;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:a}}(e,t,i);a=c.consumedSegments,o=i.slice(c.lastChild),r=new qt(a,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,je(t),n,t.component,t,Le(e),Fe(e)+a.length,Ge(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),l=ze(e,a,o,u,this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(u,h);return[new Bt(r,f)]}if(0===u.length&&0===d.length)return[new Bt(r,[])];var p=this.processSegment(u,h,d,"primary");return[new Bt(r,p)]}}]),t}();function Le(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Fe(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 ze(t,e,i,n,r){if(i.length>0&&function(t,e,i){return i.some((function(i){return He(t,e,i)&&"primary"!==Be(i)}))}(t,i,n)){var a=new vt(e,function(t,e,i,n){var r={};r.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;var a,o=d(i);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==Be(s)){var c=new vt([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,r[Be(s)]=c}}}catch(u){o.e(u)}finally{o.f()}return r}(t,e,n,new vt(i,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some((function(i){return He(t,e,i)}))}(t,i,n)){var o=new vt(t.segments,function(t,e,i,n,r,a){var o,s={},c=d(n);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(He(t,i,u)&&!r[Be(u)]){var l=new vt([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===a?t.segments.length:e.length,s[Be(u)]=l}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},r),s)}(t,e,i,n,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}var s=new vt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:i}}function He(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function Be(t){return t.outlet||"primary"}function je(t){return t.data||{}}function Ge(t){return t.resolve||{}}function Ue(t){return function(e){return e.pipe(Object(M.a)((function(e){var i=t(e);return i?Object(l.a)(i).pipe(Object(w.a)((function(){return e}))):Object(l.a)([e])})))}}var Ke,Ve=function t(){g(this,t)},qe=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(function(){function t(){g(this,t)}return m(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}()),Je=((Ke=function t(){g(this,t)}).\u0275fac=function(t){return new(t||Ke)},Ke.\u0275cmp=o.Gb({type:Ke,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&o.Nb(0,"router-outlet")},directives:function(){return[vi]},encapsulation:2}),Ke);function We(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=0;i4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new Ne(t,e,i,n,r,a).recognize()}(t,i,n.urlAfterRedirects,(o=n.urlAfterRedirects,e.serializeUrl(o)),r,a).pipe(Object(w.a)((function(t){return Object.assign(Object.assign({},n),{targetSnapshot:t})})));var o})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(B.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(B.a)((function(t){var n=new W(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 u=t.id,l=t.extractedUrl,h=t.source,d=t.restoredState,f=t.extras,p=new K(u,e.serializeUrl(l),h,d);i.next(p);var g=Ut(l,e.rootComponentType).snapshot;return Object(c.a)(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),y.a})),Ue((function(t){var i=t.targetSnapshot,n=t.id,r=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,c=o.replaceUrl;return e.hooks.beforePreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(B.a)((function(t){var i=new Z(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(i)})),Object(w.a)((function(t){return Object.assign(Object.assign({},t),{guards:(i=t.targetSnapshot,n=t.currentSnapshot,r=e.rootContexts,a=i._root,function t(e,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=jt(i);return e.children.forEach((function(e){!function(e,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,s=i?i.value:null,c=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!At(t.url,e.url);case"pathParamsOrQueryParamsChange":return!At(t.url,e.url)||!lt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xt(t,e)||!lt(t.queryParams,e.queryParams);case"paramsChange":default:return!Xt(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new Ce(r)):(o.data=s.data,o._resolvedData=s._resolvedData),t(e,i,o.component?c?c.children:null:n,r,a),u&&c&&c.outlet&&c.outlet.isActivated&&a.canDeactivateChecks.push(new Re(c.outlet.component,s))}else s&&Ie(i,c,a),a.canActivateChecks.push(new Ce(r)),t(e,null,o.component?c?c.children:null:n,r,a)}(e,o[e.value.outlet],n,r.concat([e.value]),a),delete o[e.value.outlet]})),pt(o,(function(t,e){return Ie(t,n.getContext(e),a)})),a}(a,n?n._root:null,r,[a.value]))});var i,n,r,a})),function(t,e){return function(i){return i.pipe(Object(H.a)((function(i){var n=i.targetSnapshot,r=i.currentSnapshot,a=i.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?Object(c.a)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return Object(l.a)(t).pipe(Object(H.a)((function(t){return function(t,e,i,n,r){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(c.a)(!0);var o=a.map((function(a){var o,s=Te(a,e,r);if(function(t){return t&&de(t.canDeactivate)}(s))o=gt(s.canDeactivate(t,e,i,n));else{if(!de(s))throw new Error("Invalid CanDeactivate guard");o=gt(s(t,e,i,n))}return o.pipe(Object(z.a)())}));return Object(c.a)(o).pipe(ge())}(t.component,t.route,i,e,n)})),Object(z.a)((function(t){return!0!==t}),!0))}(s,n,r,t).pipe(Object(H.a)((function(i){return i&&"boolean"==typeof i?function(t,e,i,n){return Object(l.a)(e).pipe(Object(F.a)((function(e){return Object(l.a)([De(e.route.parent,n),Oe(e.route,n),Pe(t,e.path,i),Me(t,e.route,i)]).pipe(Object(_.a)(),Object(z.a)((function(t){return!0!==t}),!0))})),Object(z.a)((function(t){return!0!==t}),!0))}(n,o,t,e):Object(c.a)(i)})),Object(w.a)((function(t){return Object.assign(Object.assign({},i),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Object(B.a)((function(t){if(fe(t.guardsResult)){var i=ct('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw i.url=t.guardsResult,i}})),Object(B.a)((function(t){var i=new Y(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(i)})),Object(S.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var n=new q(t.id,e.serializeUrl(t.extractedUrl),"");return i.next(n),t.resolve(!1),!1}return!0})),Ue((function(t){if(t.guards.canActivateChecks.length)return Object(c.a)(t).pipe(Object(B.a)((function(t){var i=new X(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(i)})),Object(M.a)((function(t){var n,r,a=!1;return Object(c.a)(t).pipe((n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(Object(H.a)((function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;if(!i.length)return Object(c.a)(t);var a=0;return Object(l.a)(i).pipe(Object(F.a)((function(t){return function(t,e,i,n){return function(t,e,i,n){var r=Object.keys(t);if(0===r.length)return Object(c.a)({});var a={};return Object(l.a)(r).pipe(Object(H.a)((function(r){return function(t,e,i,n){var r=Te(t,e,n);return gt(r.resolve?r.resolve(e,i):r(e,i))}(t[r],e,i,n).pipe(Object(B.a)((function(t){a[r]=t})))})),C(1),Object(H.a)((function(){return Object.keys(a).length===r.length?Object(c.a)(a):y.a})))}(t._resolve,t,e,n).pipe(Object(w.a)((function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Vt(t,i).resolve),null})))}(t.route,e,n,r)})),Object(B.a)((function(){return a++})),C(1),Object(H.a)((function(e){return a===i.length?Object(c.a)(t):y.a})))})))}),Object(B.a)({next:function(){return a=!0},complete:function(){if(!a){var n=new q(t.id,e.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");i.next(n),t.resolve(!1)}}}))})),Object(B.a)((function(t){var i=new Q(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(i)})))})),Ue((function(t){var i=t.targetSnapshot,n=t.id,r=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,c=o.replaceUrl;return e.hooks.afterPreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(w.a)((function(t){var i=function(t,e,i){var n=function t(e,i,n){if(n&&e.shouldReuseRoute(i.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=i.value;var a=function(e,i,n){return i.children.map((function(i){var r,a=d(n.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(e.shouldReuseRoute(o.value.snapshot,i.value))return t(e,i,o)}}catch(s){a.e(s)}finally{a.f()}return t(e,i)}))}(e,i,n);return new Bt(r,a)}var o=e.retrieve(i.value);if(o){var s=o.route;return function t(e,i){if(e.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=e.value;for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,r=e.queryParams,a=e.fragment,s=e.preserveQueryParams,c=e.queryParamsHandling,u=e.preserveFragment;Object(o.W)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,h=u?this.currentUrlTree.fragment:a,d=null;if(c)switch(c){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=s?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,r,a){if(0===n.length)return $t(e.root,e.root,e,r,a);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new te(!0,0,t);var e=0,n=!1,r=t.reduce((function(t,r,a){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return pt(r.outlets,(function(t,e){o[e]="string"==typeof t?t.split("/"):t})),[].concat(i(t),[{outlets:o}])}if(r.segmentPath)return[].concat(i(t),[r.segmentPath])}return"string"!=typeof r?[].concat(i(t),[r]):0===a?(r.split("/").forEach((function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[].concat(i(t),[r])}),[]);return new te(n,e,r)}(n);if(o.toRoot())return $t(e.root,new vt([],{}),e,r,a);var s=function(t,e,i){if(t.isAbsolute)return new ee(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){var n=i.snapshot._urlSegment;return new ee(n,n===e.root,0)}var r=Qt(t.commands[0])?0:1;return function(t,e,i){for(var n=t,r=e,a=i;a>r;){if(a-=r,!(n=n.parent))throw new Error("Invalid number of '../'");r=n.segments.length}return new ee(n,!1,r-a)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),c=s.processChildren?re(s.segmentGroup,s.index,o.commands):ne(s.segmentGroup,s.index,o.commands);return $t(s.segmentGroup,c,e,r,a)}(l,this.currentUrlTree,t,d,h)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(o.W)()&&this.isNgZoneEnabled&&!o.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var i=fe(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,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]:{};g(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 m(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 V&&(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 at&&(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 at(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}()).\u0275fac=function(t){return new(t||gi)(o.Wb(ui),o.Wb(r.H),o.Wb(void 0))},gi.\u0275prov=o.Ib({token:gi,factory:gi.\u0275fac}),gi),ki=new o.r("ROUTER_CONFIGURATION"),Ei=new o.r("ROUTER_FORROOT_GUARD"),Ci=[r.n,{provide:_t,useClass:St},{provide:ui,useFactory:function(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,h=new ui(null,t,e,i,n,a,o,dt(s));if(u&&(h.urlHandlingStrategy=u),l&&(h.routeReuseStrategy=l),c.errorHandler&&(h.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(h.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var d=Object(r.M)();h.events.subscribe((function(t){d.logGroup("Router Event: "+t.constructor.name),d.log(t.toString()),d.log(t),d.logGroupEnd()}))}return c.onSameUrlNavigation&&(h.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(h.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(h.relativeLinkResolution=c.relativeLinkResolution),h},deps:[_t,ei,r.n,o.s,o.x,o.i,Qe,ki,[function(){return function t(){g(this,t)}}(),new o.B],[Ve,new o.B]]},ei,{provide:Kt,useFactory:function(t){return t.routerState.root},deps:[ui]},{provide:o.x,useClass:o.L},_i,wi,function(){function t(){g(this,t)}return m(t,[{key:"preload",value:function(t,e){return e().pipe(Object(L.a)((function(){return Object(c.a)(null)})))}}]),t}(),{provide:ki,useValue:{enableTracing:!1}}];function Ri(){return new o.z("Router",ui)}var Ti,Ii=((Ti=function(){function t(e,i){g(this,t)}return m(t,null,[{key:"forRoot",value:function(e,i){return{ngModule:t,providers:[Ci,Pi(e),{provide:Ei,useFactory:Mi,deps:[[ui,new o.B,new o.K]]},{provide:ki,useValue:i||{}},{provide:r.o,useFactory:Di,deps:[r.D,[new o.q(r.a),new o.B],ki]},{provide:Si,useFactory:Oi,deps:[ui,r.H,ki]},{provide:Ai,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:wi},{provide:o.z,multi:!0,useFactory:Ri},[Ni,{provide:o.d,multi:!0,useFactory:Li,deps:[Ni]},{provide:zi,useFactory:Fi,deps:[Ni]},{provide:o.b,multi:!0,useExisting:zi}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Pi(e)]}}}]),t}()).\u0275mod=o.Kb({type:Ti}),Ti.\u0275inj=o.Jb({factory:function(t){return new(t||Ti)(o.Wb(Ei,8),o.Wb(ui,8))}}),Ti);function Oi(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new Si(t,e,i)}function Di(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.useHash?new r.h(t,e):new r.B(t,e)}function Mi(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Pi(t){return[{provide:o.a,multi:!0,useValue:t},{provide:Qe,multi:!0,useValue:t}]}var xi,Ni=((xi=function(){function t(e){g(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new A.a}return m(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(r.m,Promise.resolve(null)).then((function(){var e=null,i=new Promise((function(t){return e=t})),n=t.injector.get(ui),r=t.injector.get(ki);if(t.isLegacyDisabled(r)||t.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));n.hooks.afterPreactivation=function(){return t.initNavigation?Object(c.a)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},n.initialNavigation()}return i}))}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(ki),i=this.injector.get(_i),n=this.injector.get(Si),r=this.injector.get(ui),a=this.injector.get(o.g);t===a.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}},{key:"isLegacyDisabled",value:function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}]),t}()).\u0275fac=function(t){return new(t||xi)(o.Wb(o.s))},xi.\u0275prov=o.Ib({token:xi,factory:xi.\u0275fac}),xi);function Li(t){return t.appInitializer.bind(t)}function Fi(t){return t.bootstrapListener.bind(t)}var zi=new o.r("Router Initializer")},sWLk:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},seVz:function(t,e,r){"use strict";r.d(e,"a",(function(){return C})),r.d(e,"b",(function(){return P})),r.d(e,"c",(function(){return D})),r.d(e,"d",(function(){return F})),r.d(e,"e",(function(){return M})),r.d(e,"f",(function(){return I})),r.d(e,"g",(function(){return R})),r.d(e,"h",(function(){return N})),r.d(e,"i",(function(){return L})),r.d(e,"j",(function(){return k})),r.d(e,"k",(function(){return E}));var o=r("cqs0"),c=r("9bRT"),u=r("ZTXN"),l=r("C05f"),f=r("ROBh"),p=r("J+dc"),b=r("xVbo"),v=r("kuMc"),y=r("EM62"),A=r("5XID"),w=r("sg/T"),_=r("E5oP"),S=function(){function t(){g(this,t),this.expansionModel=new o.c(!0)}return m(t,[{key:"toggle",value:function(t){this.expansionModel.toggle(t)}},{key:"expand",value:function(t){this.expansionModel.select(t)}},{key:"collapse",value:function(t){this.expansionModel.deselect(t)}},{key:"isExpanded",value:function(t){return this.expansionModel.isSelected(t)}},{key:"toggleDescendants",value:function(t){this.expansionModel.isSelected(t)?this.collapseDescendants(t):this.expandDescendants(t)}},{key:"collapseAll",value:function(){this.expansionModel.clear()}},{key:"expandDescendants",value:function(t){var e,n=[t];n.push.apply(n,i(this.getDescendants(t))),(e=this.expansionModel).select.apply(e,n)}},{key:"collapseDescendants",value:function(t){var e,n=[t];n.push.apply(n,i(this.getDescendants(t))),(e=this.expansionModel).deselect.apply(e,n)}}]),t}(),k=function(t){a(n,t);var e=s(n);function n(t,i){var r;return g(this,n),(r=e.call(this)).getLevel=t,r.isExpandable=i,r}return m(n,[{key:"getDescendants",value:function(t){for(var e=[],i=this.dataNodes.indexOf(t)+1;i1)throw Error("There can only be one default row without a when predicate function.");this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}},{key:"_switchDataSource",value:function(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()}},{key:"_observeRenderChanges",value:function(){var t,e=this;if(Object(o.e)(this._dataSource)?t=this._dataSource.connect(this):Object(c.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(f.a)(this._dataSource)),!t)throw Error("A valid data source must be provided.");this._dataSubscription=t.pipe(Object(v.a)(this._onDestroy)).subscribe((function(t){return e.renderNodeChanges(t)}))}},{key:"renderNodeChanges",value:function(t){var e=this,i=arguments.length>1&&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,a=i.diff(t);a&&(a.forEachOperation((function(i,a,o){if(null==i.previousIndex)e.insertNode(t[o],o,n,r);else if(null==o)n.remove(a),e._levels.delete(i.item);else{var s=n.get(a);n.move(s,o)}})),this._changeDetectorRef.detectChanges())}},{key:"_getNodeDef",value:function(t,e){if(1===this._nodeDefs.length)return this._nodeDefs.first;var i=this._nodeDefs.find((function(i){return i.when&&i.when(e,t)}))||this._defaultNodeDef;if(!i)throw Error("Could not find a matching node definition for the provided node data.");return i}},{key:"insertNode",value:function(t,e,i,n){var r=this._getNodeDef(t,e),a=new T(t);a.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,a.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(r.template,a,e),M.mostRecentTreeNode&&(M.mostRecentTreeNode.data=t)}},{key:"dataSource",get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Mb(y.t),y.Mb(y.h))},t.\u0275cmp=y.Gb({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,i){var n;1&t&&y.Fb(i,I,!0),2&t&&y.sc(n=y.ac())&&(e._nodeDefs=n)},viewQuery:function(t,e){var i;1&t&&y.Dc(R,!0),2&t&&y.sc(i=y.ac())&&(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&&y.Ob(0,0)},directives:[R],encapsulation:2}),t}(),M=function(){var t=function(){function t(e,i){g(this,t),this._elementRef=e,this._tree=i,this._destroyed=new u.a,this._dataChanges=new u.a,this.role="treeitem",t.mostRecentTreeNode=this}return m(t,[{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(){var t=this;if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw O();var e=this._tree.treeControl.getChildren(this._data);Array.isArray(e)?this._setRoleFromChildren(e):Object(c.a)(e)&&e.pipe(Object(v.a)(this._destroyed)).subscribe((function(e){return t._setRoleFromChildren(e)}))}}},{key:"_setRoleFromChildren",value:function(t){this.role=t&&t.length?"group":"treeitem"}},{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:"level",get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Mb(y.l),y.Mb(D))},t.\u0275dir=y.Hb({type:t,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:3,hostBindings:function(t,e){2&t&&y.Bb("aria-expanded",e.isExpanded)("aria-level","treeitem"===e.role?e.level:null)("role",e.role)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t}(),P=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t,n))._elementRef=t,a._tree=n,a._differs=r,a}return m(i,[{key:"ngAfterContentInit",value:function(){var t=this;if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw O();var e=this._tree.treeControl.getChildren(this.data);Array.isArray(e)?this.updateChildrenNodes(e):Object(c.a)(e)&&e.pipe(Object(v.a)(this._destroyed)).subscribe((function(e){return t.updateChildrenNodes(e)})),this.nodeOutlet.changes.pipe(Object(v.a)(this._destroyed)).subscribe((function(){return t.updateChildrenNodes()}))}},{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}(M);return t.\u0275fac=function(e){return new(e||t)(y.Mb(y.l),y.Mb(D),y.Mb(y.t))},t.\u0275dir=y.Hb({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,i){var n;1&t&&y.Fb(i,R,!0),2&t&&y.sc(n=y.ac())&&(e.nodeOutlet=n)},hostAttrs:[1,"cdk-tree-node","cdk-nested-tree-node"],hostVars:2,hostBindings:function(t,e){2&t&&y.Bb("aria-expanded",e.isExpanded)("role",e.role)},exportAs:["cdkNestedTreeNode"],features:[y.zb([{provide:M,useExisting:t},{provide:C,useExisting:t}]),y.xb]}),t}(),x=/([A-Za-z%]+)$/,N=function(){var t=function(){function t(e,i,n,r,a){var o=this;g(this,t),this._treeNode=e,this._tree=i,this._element=r,this._dir=a,this._destroyed=new u.a,this.indentUnits="px",this._indent=40,this._setPadding(),a&&a.change.pipe(Object(v.a)(this._destroyed)).subscribe((function(){return o._setPadding(!0)})),e._dataChanges.subscribe((function(){return o._setPadding()}))}return m(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:"level",get:function(){return this._level},set:function(t){this._level=Object(A.f)(t,null),this._setPadding()}},{key:"indent",get:function(){return this._indent},set:function(t){var e=t,i="px";if("string"==typeof t){var n=t.split(x);e=n[0],i=n[1]||i}this.indentUnits=i,this._indent=Object(A.f)(e),this._setPadding()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Mb(M),y.Mb(D),y.Mb(y.F),y.Mb(y.l),y.Mb(_.c,8))},t.\u0275dir=y.Hb({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t}(),L=function(){var t=function(){function t(e,i){g(this,t),this._tree=e,this._treeNode=i,this._recursive=!1}return m(t,[{key:"_toggle",value:function(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}},{key:"recursive",get:function(){return this._recursive},set:function(t){this._recursive=Object(A.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Mb(D),y.Mb(M))},t.\u0275dir=y.Hb({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&y.Zb("click",(function(t){return e._toggle(t)}))},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t}(),F=function(){var t=function t(){g(this,t)};return t.\u0275mod=y.Kb({type:t}),t.\u0275inj=y.Jb({factory:function(e){return new(e||t)},providers:[w.h,I]}),t}()},"sg/T":function(t,e,i){"use strict";i.d(e,"a",(function(){return Z})),i.d(e,"b",(function(){return O})),i.d(e,"c",(function(){return T})),i.d(e,"d",(function(){return j})),i.d(e,"e",(function(){return J})),i.d(e,"f",(function(){return F})),i.d(e,"g",(function(){return D})),i.d(e,"h",(function(){return V})),i.d(e,"i",(function(){return L})),i.d(e,"j",(function(){return W})),i.d(e,"k",(function(){return B})),i.d(e,"l",(function(){return G}));var o=i("2kYt"),c=i("EM62"),u=i("ZTXN"),l=i("bwdy"),d=i("ROBh"),f=i("fAiE"),p=i("8j5Y"),b=i("mWib"),v=i("xVbo"),y=i("YtkY"),A=i("J+dc"),w=i("5XID"),_=i("cZZj"),S=i("TKFd");function k(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var E=0,C=new Map,R=null,T=function(){var t=function(){function t(e){g(this,t),this._document=e}return m(t,[{key:"describe",value:function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),C.set(e,{messageElement:e,referenceCount:0})):C.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}},{key:"removeDescription",value:function(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var i=C.get(e);i&&0===i.referenceCount&&this._deleteMessageElement(e)}R&&0===R.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 m(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;if(this._items.length&&this._items.some((function(t){return"function"!=typeof t.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(p.a)((function(e){return t._pressedLetters.push(e)})),Object(b.a)(e),Object(v.a)((function(){return t._pressedLetters.length>0})),Object(y.a)((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var i=t._getItemsArray(),n=1;n-1}));switch(i){case f.p:return void this.tabOut.next();case f.e:if(this._vertical&&n){this.setNextItemActive();break}return;case f.q:if(this._vertical&&n){this.setPreviousItemActive();break}return;case f.n:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.j:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(f.t)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(i>=f.a&&i<=f.r||i>=f.s&&i<=f.k)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],t.preventDefault()}},{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 c.E?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),t}(),O=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(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}(I),D=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments))._origin="program",t}return m(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}(I),M=function(){var t=function(){function t(e){g(this,t),this._platform=e}return m(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){var n=i&&i.nodeName.toLowerCase();if(-1===x(i))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(i))return!1}var r=t.nodeName.toLowerCase(),a=x(t);if(t.hasAttribute("contenteditable"))return-1!==a;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(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))&&t.tabIndex>=0}},{key:"isFocusable",value:function(t){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")||P(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Wb(_.a))},t.\u0275prov=Object(c.Ib)({factory:function(){return new t(Object(c.Wb)(_.a))},token:t,providedIn:"root"}),t}();function P(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 x(t){if(!P(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var N=function(){function t(e,i,n,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];g(this,t),this._element=e,this._checker=i,this._ngZone=n,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 m(t,[{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}},{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(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))}},{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.asObservable().pipe(Object(A.a)(1)).subscribe(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))}}]),t}(),L=function(){var t=function(){function t(e,i,n){g(this,t),this._checker=e,this._ngZone=i,this._document=n}return m(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new N(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Wb(M),c.Wb(c.A),c.Wb(o.e))},t.\u0275prov=Object(c.Ib)({factory:function(){return new t(Object(c.Wb)(M),Object(c.Wb)(c.A),Object(c.Wb)(o.e))},token:t,providedIn:"root"}),t}(),F=function(){var t=function(){function t(e,i,n){g(this,t),this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return m(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._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=Object(w.c)(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=Object(w.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l),c.Mb(L),c.Mb(o.e))},t.\u0275dir=c.Hb({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),t}();"undefined"!=typeof Element&∈var z=new c.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),H=new c.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),B=function(){var t=function(){function t(e,i,n,r){g(this,t),this._ngZone=i,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}return m(t,[{key:"announce",value:function(t){for(var e,i,n,a=this,o=this._defaultOptions,s=arguments.length,c=new Array(s>1?s-1:0),u=1;u1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Object(d.a)(null);var i=Object(w.e)(t),n=Object(_.c)(i)||this._getDocument(),r=this._elementInfo.get(i);if(r)return e&&(r.checkChildren=!0),r.subject.asObservable();var a={checkChildren:e,subject:new u.a,rootNode:n};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject.asObservable()}},{key:"stopMonitoring",value:function(t){var e=Object(w.e)(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=Object(w.e)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.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=q(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);if(i&&(i.checkChildren||e===q(t))){var n=this._getFocusOrigin(t);this._setClasses(e,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}}},{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,K),i.addEventListener("blur",e._rootNodeFocusAndBlurListener,K)})),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,K),t.addEventListener("mousedown",e._documentMousedownListener,K),t.addEventListener("touchstart",e._documentTouchstartListener,K),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,K),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,K),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var n=this._getDocument(),r=this._getWindow();n.removeEventListener("keydown",this._documentKeydownListener,K),n.removeEventListener("mousedown",this._documentMousedownListener,K),n.removeEventListener("touchstart",this._documentTouchstartListener,K),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Wb(c.A),c.Wb(_.a),c.Wb(o.e,8),c.Wb(U,8))},t.\u0275prov=Object(c.Ib)({factory:function(){return new t(Object(c.Wb)(c.A),Object(c.Wb)(_.a),Object(c.Wb)(o.e,8),Object(c.Wb)(U,8))},token:t,providedIn:"root"}),t}();function q(t){return t.composedPath?t.composedPath()[0]:t.target}var J=function(){var t=function(){function t(e,i){var n=this;g(this,t),this._elementRef=e,this._focusMonitor=i,this.cdkFocusChange=new c.o,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(t){return n.cdkFocusChange.emit(t)}))}return m(t,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l),c.Mb(V))},t.\u0275dir=c.Hb({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),W=function(){var t=function(){function t(e,i){g(this,t),this._platform=e,this._document=i}return m(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._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");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)(c.Wb(_.a),c.Wb(o.e))},t.\u0275prov=Object(c.Ib)({factory:function(){return new t(Object(c.Wb)(_.a),Object(c.Wb)(o.e))},token:t,providedIn:"root"}),t}(),Z=function(){var t=function t(e){g(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)(c.Wb(W))},imports:[[_.b,S.c]]}),t}()},snnp:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("nIj0"),r=i("OZ4H"),a=i("X2Q7"),o=i("Ssnw"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),d=i("YRqw"),f=i("29Wa"),p=i("Cd2c");function b(t,e){1&t&&s.Nb(0,"mat-spinner",5)}function v(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div",6),s.Sb(1,"perun-web-apps-vo-search-select",7),s.Zb("voSelected",(function(t){return s.xc(i),s.dc().selectedVo=t})),s.Rb(),s.Sb(2,"mat-form-field"),s.Nb(3,"input",8),s.ec(4,"translate"),s.Sb(5,"mat-error"),s.Jc(6),s.ec(7,"translate"),s.Rb(),s.Rb(),s.Sb(8,"mat-form-field"),s.Nb(9,"input",8),s.ec(10,"translate"),s.Sb(11,"mat-error"),s.Jc(12),s.ec(13,"translate"),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(1),s.kc("vos",n.vos),s.Ab(2),s.lc("placeholder",s.fc(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),s.kc("formControl",n.nameCtrl),s.Ab(3),s.Lc(" ",s.fc(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),s.Ab(3),s.lc("placeholder",s.fc(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),s.kc("formControl",n.descriptionCtrl),s.Ab(3),s.Lc(" ",s.fc(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}var y=function(){var t=function(){function t(e,i,n,r,a,o){var s=this;g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.voService=r,this.translate=a,this.resourcesManager=o,this.vos=[],this.selectedVo=null,a.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe((function(t){return s.successMessage=t}))}return m(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 n.g(null,[n.F.required,n.F.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new n.g(null,[n.F.required,n.F.pattern(".*[\\S]+.*")]),this.nameCtrl.markAllAsTouched(),this.descriptionCtrl.markAllAsTouched()}},{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)(s.Mb(r.i),s.Mb(r.a),s.Mb(o.l),s.Mb(a.r),s.Mb(c.e),s.Mb(a.m))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Hc(1,b,1,0,"mat-spinner",0),s.Hc(2,v,14,15,"div",1),s.Sb(3,"div",2),s.Sb(4,"button",3),s.Zb("click",(function(){return e.onCancel()})),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Kc(s.fc(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")),s.Ab(2),s.kc("disabled",e.nameCtrl.invalid||e.descriptionCtrl.invalid||null===e.selectedVo||e.loading),s.Ab(1),s.Kc(s.fc(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")))},directives:[u.t,r.c,l.b,h.c,r.g,d.a,f.c,p.b,n.c,n.C,n.r,n.h,f.b],pipes:[c.d],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),t}()},st5j:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("iyZ4"),s=i("cqs0"),c=i("EM62"),u=i("s2Ay"),l=i("2kYt"),h=i("csyo"),d=i("A8Ay"),f=i("9Iem"),p=i("PBFl");function b(t,e){1&t&&c.Nb(0,"mat-spinner",3)}function v(t,e){if(1&t){var i=c.Tb();c.Sb(0,"div"),c.Sb(1,"perun-web-apps-immediate-filter",4),c.Zb("filter",(function(t){return c.xc(i),c.dc().applyFilter(t)})),c.Rb(),c.Sb(2,"div",5),c.Sb(3,"perun-web-apps-owners-list",6),c.Zb("page",(function(t){return c.xc(i),c.dc().pageChanged(t)})),c.Rb(),c.Rb(),c.Sb(4,"div",7),c.Sb(5,"button",8),c.Zb("click",(function(){return c.xc(i),c.dc().onCancel()})),c.Jc(6),c.ec(7,"translate"),c.Rb(),c.Sb(8,"button",9),c.Zb("click",(function(){return c.xc(i),c.dc().onAdd()})),c.Jc(9),c.ec(10,"translate"),c.Rb(),c.Rb(),c.Rb()}if(2&t){var n=c.dc();c.Ab(1),c.kc("placeholder","DIALOGS.ADD_OWNERS.FILTER"),c.Ab(2),c.kc("filterValue",n.filterValue)("pageSize",n.pageSize)("owners",n.owners)("selection",n.selection),c.Ab(3),c.Lc(" ",c.fc(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),c.Ab(2),c.kc("disabled",0===n.selection.selected.length||n.loading),c.Ab(1),c.Lc(" ",c.fc(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}var y=function(){var t=function(){function t(e,i,n,r,a,c,u){var l=this;g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.tableConfigService=r,this.translate=a,this.ownersManagerService=c,this.facilitiesManagerService=u,this.extSources=[],this.selection=new s.c(!0,[]),this.filterValue="",this.tableId=o.d,this.owners=[],this.translate.get("DIALOGS.ADD_OWNERS.SUCCESS").subscribe((function(t){return l.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.loading=!0,this.ownersManagerService.getAllOwners().subscribe((function(e){t.owners=e.filter((function(e){return!t.data.forbiddenOwners.includes(e.id)})),t.loading=!1}),(function(){return t.loading=!1}))}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"onAdd",value:function(){var t=this;this.loading=!0,0!==this.selection.selected.length?this.facilitiesManagerService.addFacilityOwner(this.data.facilityId,this.selection.selected.pop().id).subscribe((function(){return t.onAdd()}),(function(){return t.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(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.i),c.Mb(n.a),c.Mb(a.l),c.Mb(o.pb),c.Mb(u.e),c.Mb(r.j),c.Mb(r.g))},t.\u0275cmp=c.Gb({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&&(c.Sb(0,"h1",0),c.Jc(1),c.ec(2,"translate"),c.Rb(),c.Sb(3,"div"),c.Hc(4,b,1,0,"mat-spinner",1),c.Hc(5,v,11,12,"div",2),c.Rb()),2&t&&(c.Ab(1),c.Kc(c.fc(2,6,"DIALOGS.ADD_OWNERS.TITLE")),c.Ab(2),c.Cb(e.theme),c.Ab(1),c.kc("ngIf",e.loading),c.Ab(1),c.kc("ngIf",!e.loading))},directives:[n.j,l.t,h.c,d.a,n.g,f.a,n.c,p.b],pipes:[u.d],styles:[""]}),t}()},t47Z:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return s.a})),i.d(e,"a",(function(){return c.a}));var n,r=i("2kYt"),a=i("EM62"),o=((n=function t(){g(this,t)}).\u0275mod=a.Kb({type:n}),n.\u0275inj=a.Jb({factory:function(t){return new(t||n)},imports:[[r.c]]}),n);i("YEcy");var s=i("j+u3"),c=(i("W5/Z"),i("aea8"));i("Y7Yh"),i("C5kn"),i("RK/0"),i("yAs8"),i("NZNE"),i("Log1"),i("SAuR"),i("EFHi"),i("H2Dp"),i("h1GH")},tDou:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("Ssnw"),a=i("nIj0"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("sEIs"),l=i("2kYt"),h=i("csyo"),d=i("29Wa"),f=i("Cd2c"),p=i("PBFl"),b=i("Y2X+");function v(t,e){1&t&&s.Nb(0,"mat-spinner",3)}function y(t,e){if(1&t){var i=s.Tb();s.Sb(0,"div"),s.Sb(1,"div",4),s.Sb(2,"mat-form-field"),s.Nb(3,"input",5),s.ec(4,"translate"),s.Sb(5,"mat-error"),s.Jc(6),s.ec(7,"translate"),s.Rb(),s.Rb(),s.Sb(8,"mat-form-field"),s.Nb(9,"input",5),s.ec(10,"translate"),s.Sb(11,"mat-error"),s.Jc(12),s.ec(13,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Sb(14,"div",6),s.Sb(15,"button",7),s.Zb("click",(function(){return s.xc(i),s.dc().onCancel()})),s.Jc(16),s.ec(17,"translate"),s.Rb(),s.Sb(18,"div",8),s.ec(19,"translate"),s.Sb(20,"button",9),s.Zb("click",(function(){return s.xc(i),s.dc().onSubmit()})),s.Jc(21),s.ec(22,"translate"),s.Rb(),s.Rb(),s.Rb(),s.Rb()}if(2&t){var n=s.dc();s.Ab(3),s.lc("placeholder",s.fc(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),s.kc("formControl",n.fullNameCtrl),s.Ab(3),s.Lc(" ",s.fc(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),s.Ab(3),s.lc("placeholder",s.fc(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),s.kc("formControl",n.shortNameCtrl),s.Ab(3),s.Lc(" ",s.fc(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),s.Ab(4),s.Lc(" ",s.fc(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),s.Ab(2),s.lc("matTooltip",s.fc(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),s.kc("matTooltipDisabled",n.shortNameCtrl.valid&&n.fullNameCtrl.valid),s.Ab(2),s.kc("disabled",n.shortNameCtrl.invalid||n.fullNameCtrl.invalid),s.Ab(1),s.Lc(" ",s.fc(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}var A=function(){var t=function(){function t(e,i,n,r,a,o){var s=this;g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.voService=r,this.translate=a,this.router=o,a.get("DIALOGS.CREATE_VO.SUCCESS").subscribe((function(t){return s.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.shortNameCtrl=new a.g(null,[a.F.required,a.F.pattern("^[\\w.-]+$"),a.F.maxLength(33)]),this.fullNameCtrl=new a.g(null,[a.F.required,a.F.pattern(".*[\\S]+.*"),a.F.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)(s.Mb(n.i),s.Mb(n.a),s.Mb(r.l),s.Mb(o.r),s.Mb(c.e),s.Mb(u.f))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,v,1,0,"mat-spinner",1),s.Hc(5,y,23,25,"div",2),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,6,"DIALOGS.CREATE_VO.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading))},directives:[n.j,l.t,h.c,n.g,d.c,f.b,a.c,a.C,a.r,a.h,d.b,n.c,p.b,b.a],pipes:[c.d],styles:[""]}),t}()},tT6Y:function(t,e,i){"use strict";i.d(e,"a",(function(){return G}));var n=i("OF3q"),r=i("4sdY"),a=i("RUSO"),o=i("cqs0"),s=i("yaDT"),c=i("8clQ"),u=i("X2Q7"),l=i("iyZ4"),h=i("nyAh"),d=i("Ssnw"),f=(i("HHEo"),i("EM62")),p=i("OZ4H"),b=i("sEIs"),v=i("0XDM"),y=i("2kYt"),A=i("pynj"),w=i("k8N0"),_=i("nIj0"),S=i("PBFl"),k=i("Y2X+"),E=i("csyo"),C=i("XAvq"),R=i("K9kF"),T=i("FcRk"),I=i("s2Ay"),O=["toggle"],D=["tree"],M=["list"];function P(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",10),f.Zb("click",(function(){return f.xc(i),f.dc().onCreateGroup()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function x(t,e){if(1&t){var i=f.Tb();f.Sb(0,"button",13),f.Zb("click",(function(){return f.xc(i),f.dc(2).deleteGroup()})),f.Jc(1),f.ec(2,"translate"),f.Rb()}if(2&t){var n=f.dc(2);f.kc("disabled",0===n.selected.selected.length||n.disableRemove()),f.Ab(1),f.Lc(" ",f.fc(2,2,"VO_DETAIL.GROUPS.DELETE_GROUP")," ")}}function N(t,e){if(1&t&&(f.Sb(0,"span",11),f.ec(1,"translate"),f.Hc(2,x,3,4,"button",12),f.Rb()),2&t){var i=f.dc();f.lc("matTooltip",f.fc(1,3,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),f.kc("matTooltipDisabled",void 0===i.tree&&void 0===i.list||i.disableTooltip()),f.Ab(2),f.kc("ngIf",!i.loading)}}function L(t,e){1&t&&f.Nb(0,"mat-spinner",14)}function F(t,e){if(1&t){var i=f.Tb();f.Sb(0,"perun-web-apps-groups-tree",18,19),f.Zb("moveGroup",(function(t){return f.xc(i),f.dc(2).onMoveGroup(t)}))("refreshTable",(function(){return f.xc(i),f.dc(2).loadAllGroups()})),f.Rb()}if(2&t){var n=f.dc(2);f.kc("groups",n.groups)("expandAll",n.filtering)("vo",n.vo)("selection",n.selected)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)}}var z=function(){return["expiration","vo","recent"]};function H(t,e){if(1&t){var i=f.Tb();f.Sb(0,"perun-web-apps-groups-list",20,21),f.Zb("page",(function(t){return f.xc(i),f.dc(2).pageChanged(t)}))("moveGroup",(function(t){return f.xc(i),f.dc(2).onMoveGroup(t)}))("refreshTable",(function(){return f.xc(i),f.dc(2).loadAllGroups()})),f.Rb()}if(2&t){var n=f.dc(2);f.kc("pageSize",n.pageSize)("groups",n.groups)("selection",n.selected)("disableMembers",!0)("hideColumns",f.oc(8,z))("disableRouting",!n.routeAuth)("authType","vo-groups")("filter",n.filterValue)}}function B(t,e){if(1&t&&(f.Sb(0,"div",15),f.Hc(1,F,2,6,"perun-web-apps-groups-tree",16),f.Hc(2,H,2,9,"perun-web-apps-groups-list",17),f.Rb()),2&t){var i=f.dc();f.Ab(1),f.kc("ngIf",!i.showGroupList),f.Ab(1),f.kc("ngIf",i.showGroupList)}}function j(t,e){1&t&&(f.Sb(0,"app-alert",22),f.Jc(1),f.ec(2,"translate"),f.Rb()),2&t&&(f.Ab(1),f.Lc(" ",f.fc(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}var G=function(){var t=function(){function t(e,i,n,r,a,s,c,u){g(this,t),this.dialog=e,this.groupService=i,this.sideMenuService=n,this.voService=r,this.route=a,this.tableConfigService=s,this.authResolver=c,this.initAuthService=u,this.groups=[],this.showGroupList=!1,this.selected=new o.c(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=l.jb}return m(t,[{key:"onCreateGroup",value:function(){var t=this,e=Object(c.o)();e.width="450px",e.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(n.a,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=Object(c.o)();e.width="450px",e.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(a.a,e).afterClosed().subscribe((function(e){e&&t.loadAllGroups()}))}},{key:"removeAllGroups",value:function(){this.selected.clear()}},{key:"onMoveGroup",value:function(t){var e=this,i=Object(c.o)();i.width="550px",i.data={group:t,theme:"vo-theme"},this.dialog.open(s.a,i).afterClosed().subscribe((function(t){t&&e.loadAllGroups()}))}},{key:"loadAllGroups",value:function(){var t=this;this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[h.a.GROUP_SYNC_ENABLED,h.a.GROUP_LAST_SYNC_STATE,h.a.GROUP_LAST_SYNC_TIMESTAMP,h.a.GROUP_STRUCTURE_SYNC_ENABLED,h.a.GROUP_LAST_STRUCTURE_SYNC_STATE,h.a.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)(f.Mb(p.b),f.Mb(u.h),f.Mb(r.a),f.Mb(u.r),f.Mb(b.a),f.Mb(l.pb),f.Mb(d.h),f.Mb(d.i))},t.\u0275cmp=f.Gb({type:t,selectors:[["app-vo-groups"]],viewQuery:function(t,e){var i;1&t&&(f.Dc(O,!0),f.Qc(D,!0),f.Qc(M,!0)),2&t&&(f.sc(i=f.ac())&&(e.toggle=i.first),f.sc(i=f.ac())&&(e.tree=i.first),f.sc(i=f.ac())&&(e.list=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&f.Eb("router-component",!0)},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","hideColumns","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","hideColumns","disableRouting","authType","filter","page","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(t,e){if(1&t&&(f.Sb(0,"div"),f.Sb(1,"h1",0),f.Jc(2),f.ec(3,"translate"),f.Rb(),f.Sb(4,"perun-web-apps-refresh-button",1),f.Zb("refresh",(function(){return e.loadAllGroups()})),f.Rb(),f.Hc(5,P,3,3,"button",2),f.Hc(6,N,3,5,"span",3),f.Sb(7,"perun-web-apps-debounce-filter",4),f.Zb("filter",(function(t){return e.applyFilter(t)})),f.Rb(),f.Sb(8,"mat-slide-toggle",5,6),f.Zb("change",(function(){return e.removeAllGroups()}))("ngModelChange",(function(t){return e.showGroupList=t})),f.Jc(10),f.ec(11,"translate"),f.Rb(),f.Sb(12,"label"),f.Jc(13),f.ec(14,"translate"),f.Rb(),f.Hc(15,L,1,0,"mat-spinner",7),f.Hc(16,B,3,2,"div",8),f.Hc(17,j,3,3,"app-alert",9),f.Rb()),2&t){var i=f.tc(9);f.Ab(2),f.Kc(f.fc(3,11,"VO_DETAIL.GROUPS.TITLE")),f.Ab(3),f.kc("ngIf",!e.loading&&e.createAuth),f.Ab(1),f.kc("ngIf",!e.loading),f.Ab(1),f.kc("placeholder","VO_DETAIL.GROUPS.FILTER"),f.Ab(1),f.kc("ngModel",e.showGroupList),f.Ab(2),f.Kc(f.fc(11,13,"VO_DETAIL.GROUPS.TREE_VIEW")),f.Ab(2),f.Bb("for",i.inputId),f.Ab(1),f.Kc(f.fc(14,15,"VO_DETAIL.GROUPS.LIST_VIEW")),f.Ab(2),f.kc("ngIf",e.loading),f.Ab(1),f.kc("ngIf",!e.loading&&0!==e.groups.length),f.Ab(1),f.kc("ngIf",0===e.groups.length&&!e.loading)}},directives:[v.a,y.t,A.a,w.a,_.r,_.u,S.b,k.a,E.c,C.a,R.a,T.a],pipes:[I.d],styles:[""]}),t}()},tmvS:function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));var n=i("EM62"),a=i("Ssnw"),o=i("8clQ"),s=i("+0js"),c=i("OZ4H"),u=i("2kYt"),l=i("bFHC"),h=i("s2Ay");function d(t,e){if(1&t&&(n.Sb(0,"div",5),n.Sb(1,"mat-icon"),n.Jc(2),n.Rb(),n.Rb()),2&t){var i=n.dc();n.Ab(2),n.Kc(i.data.icon)}}function f(t,e){if(1&t&&(n.Sb(0,"div",6),n.Jc(1),n.Rb()),2&t){var i=n.dc();n.Ab(1),n.Lc(" ",i.showTimestamp()," ")}}var p=function(){var t=function(){function t(e,i){g(this,t),this.dialog=e,this.notificationStorageService=i,this.newNotification=!1,this.closeNotification=new n.o,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}return m(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=Object(o.o)();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(s.l,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;Object(o.h)(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.Mb(c.b),n.Mb(a.k))},t.\u0275cmp=n.Gb({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.Sb(0,"div"),n.Sb(1,"div",0),n.Zb("click",(function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()})),n.Hc(2,d,3,1,"div",1),n.Sb(3,"div",2),n.Jc(4),n.ec(5,"translate"),n.Rb(),n.Hc(6,f,2,1,"div",3),n.Sb(7,"div",4),n.Zb("click",(function(){return e.waiting=!0,e.doAction()})),n.Jc(8),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Db("notification ",e.inDialog?"":"mat-elevation-z7",""),n.Eb("error","error"===e.data.type)("success","success"===e.data.type),n.Ab(2),n.kc("ngIf",null!==e.data.icon),n.Ab(2),n.Lc(" ",n.fc(5,12,e.data.title)," "),n.Ab(2),n.kc("ngIf",e.inDialog),n.Ab(1),n.kc("hidden",e.alreadyPressed),n.Ab(1),n.Lc(" ",e.data.actionText," "))},directives:[u.t,l.a],pipes:[h.d],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}()},ulve:function(t,e,n){"use strict";n.d(e,"a",(function(){return B})),n.d(e,"b",(function(){return q})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return V}));var r=n("sg/T"),o=n("5XID"),c=n("EM62"),u=n("mFH5"),l=n("bwdy"),h=n("ZTXN"),d=n("i9xl"),f=n("g6G6"),p=n("ROBh"),b=n("KTx3"),v=n("2kYt"),y=n("HYj3"),A=n("qvOF"),w=n("fAiE"),_=n("cZZj"),S=n("Sv/w"),k=n("nIj0"),E=n("29Wa"),C=n("J+dc"),R=n("TLy2"),T=n("xVbo"),I=n("YtkY"),O=n("8j5Y"),D=n("BwBJ"),M=n("E5oP"),P=["panel"];function x(t,e){if(1&t&&(c.Sb(0,"div",0,1),c.ic(2),c.Rb()),2&t){var i=c.dc();c.kc("id",i.id)("ngClass",i._classList)}}var N=["*"],L=0,F=function t(e,i){g(this,t),this.source=e,this.option=i},z=Object(u.z)((function t(){g(this,t)})),H=new c.r("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),B=function(){var t=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this))._changeDetectorRef=t,a._elementRef=n,a._activeOptionChanges=l.a.EMPTY,a.showPanel=!1,a._isOpen=!1,a.displayWith=null,a.optionSelected=new c.o,a.opened=new c.o,a.closed=new c.o,a.optionActivated=new c.o,a._classList={},a.id="mat-autocomplete-"+L++,a._autoActiveFirstOption=!!r.autoActiveFirstOption,a}return m(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new r.b(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 F(this,t);this.optionSelected.emit(e)}},{key:"_setVisibilityClasses",value:function(t){t["mat-autocomplete-visible"]=this.showPanel,t["mat-autocomplete-hidden"]=!this.showPanel}},{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(t){this._autoActiveFirstOption=Object(o.c)(t)}},{key:"classList",set:function(t){this._classList=t&&t.length?t.split(" ").reduce((function(t,e){return t[e.trim()]=!0,t}),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}}]),i}(z);return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.h),c.Mb(c.l),c.Mb(H))},t.\u0275cmp=c.Gb({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){var n;1&t&&(c.Fb(i,u.n,!0),c.Fb(i,u.m,!0)),2&t&&(c.sc(n=c.ac())&&(e.options=n),c.sc(n=c.ac())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(c.Dc(c.M,!0),c.Qc(P,!0)),2&t&&(c.sc(i=c.ac())&&(e.template=i.first),c.sc(i=c.ac())&&(e.panel=i.first))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple",displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[c.zb([{provide:u.g,useExisting:t}]),c.xb],ngContentSelectors:N,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(c.jc(),c.Hc(0,x,3,2,"ng-template"))},directives:[v.q],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}\n"],encapsulation:2,changeDetection:0}),t}(),j=function(){var t=function t(e){g(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l))},t.\u0275dir=c.Hb({type:t,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"]}),t}(),G=new c.r("mat-autocomplete-scroll-strategy"),U={provide:G,deps:[y.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},K={provide:k.p,useExisting:Object(c.U)((function(){return V})),multi:!0},V=function(){var t=function(){function t(e,n,r,a,o,s,c,u,p,b){var m=this;g(this,t),this._element=e,this._overlay=n,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=c,this._formField=u,this._document=p,this._viewportRuler=b,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new h.a,this._windowBlurHandler=function(){m._canOpenOnNextFocus=m._document.activeElement!==m._element.nativeElement||m.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(d.a)((function(){return m.autocomplete&&m.autocomplete.options?Object(f.a).apply(void 0,i(m.autocomplete.options.map((function(t){return t.onSelectionChange})))):m._zone.onStable.asObservable().pipe(Object(C.a)(1),Object(R.a)((function(){return m.optionSelections})))})),this._scrollStrategy=s}return m(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:"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:"_getOutsideClickStream",value:function(){var t=this;return Object(f.a)(Object(b.a)(this._document,"click"),Object(b.a)(this._document,"touchend")).pipe(Object(T.a)((function(e){var i=t._isInsideShadowRoot&&e.composedPath?e.composedPath()[0]:e.target,n=t._formField?t._formField._elementRef.nativeElement:null;return t._overlayAttached&&i!==t._element.nativeElement&&(!n||!n.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===w.h&&t.preventDefault(),this.activeOption&&e===w.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){var i=this.autocomplete._keyManager.activeItem,n=e===w.q||e===w.e;this.panelOpen||e===w.p?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption()}}},{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:"_scrollToOption",value:function(){var t=this.autocomplete._keyManager.activeItemIndex||0,e=Object(u.w)(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{var i=Object(u.x)(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(i)}}},{key:"_subscribeToClosingActions",value:function(){var t=this,e=this._zone.onStable.asObservable().pipe(Object(C.a)(1)),i=this.autocomplete.options.changes.pipe(Object(O.a)((function(){return t._positionStrategy.reapplyLastPosition()})),Object(D.a)(0));return Object(f.a)(e,i).pipe(Object(R.a)((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})),Object(C.a)(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=this;if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(_.c)(this._element.nativeElement));var e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new S.j(this.autocomplete.template,this._viewContainerRef),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe((function(e){(e.keyCode===w.h||e.keyCode===w.q&&e.altKey)&&(t._resetActiveItem(),t._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())})),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe((function(){t.panelOpen&&e&&e.updateSize({width:t._getPanelWidth()})})))),e&&!e.hasAttached()&&(e.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(){return new y.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}},{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=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"}];e="above"===this.position?n:"below"===this.position?i:[].concat(i,n),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(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-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:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(t){this._autocompleteDisabled=Object(o.c)(t)}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"panelClosingActions",get:function(){var t=this;return Object(f.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(T.a)((function(){return t._overlayAttached}))),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(T.a)((function(){return t._overlayAttached}))):Object(p.a)()).pipe(Object(I.a)((function(t){return t instanceof u.p?t:null})))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Mb(c.l),c.Mb(y.c),c.Mb(c.Q),c.Mb(c.A),c.Mb(c.h),c.Mb(G),c.Mb(M.c,8),c.Mb(E.a,9),c.Mb(v.e,8),c.Mb(A.h))},t.\u0275dir=c.Hb({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&c.Zb("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&&c.Bb("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)},inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},exportAs:["matAutocompleteTrigger"],features:[c.zb([K]),c.yb]}),t}(),q=function(){var t=function t(){g(this,t)};return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},providers:[U],imports:[[u.o,y.f,u.i,v.c],A.c,u.o,u.i]}),t}()},v0MX:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&s.Nb(0,"th",15)}function p(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.name," ")}}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){1&t&&s.Nb(0,"tr",18)}function y(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,1,0,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Hc(11,b,1,0,"tr",13),s.Hc(12,v,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.REMOVE_RELATION.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_RELATION.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n,r,a){var o=this;g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.groupService=r,this.translate=a,this.displayedColumns=["name"],a.get("DIALOGS.REMOVE_RELATION.SUCCESS").subscribe((function(t){return o.successMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(this.data.groups)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;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((function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)}),(function(){return t.loading=!1}));else{var e=this.data.reverse?this.data.groups.shift().id:this.data.groupId,i=this.data.reverse?this.data.groupId:this.data.groups.shift().id;this.groupService.removeGroupUnion(e,i).subscribe((function(){t.onSubmit(),t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(o.h),s.Mb(c.e))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.REMOVE_RELATION.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_RELATION.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_RELATION.DELETE")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t}()},vNdQ:function(t,e,i){"use strict";i.d(e,"a",(function(){return _}));var n=i("X2Q7"),r=i("OZ4H"),a=i("Ssnw"),o=i("nIj0"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo"),d=i("29Wa"),f=i("Cd2c");function p(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function b(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function v(t,e){if(1&t&&(s.Sb(0,"mat-form-field"),s.Sb(1,"label"),s.Nb(2,"input",9),s.Rb(),s.Hc(3,b,3,3,"mat-error",8),s.Rb()),2&t){var i=s.dc(2);s.Ab(2),s.kc("formControl",i.emailControl),s.Ab(1),s.kc("ngIf",i.emailControl.invalid)}}function y(t,e){1&t&&(s.Sb(0,"mat-error"),s.Jc(1),s.ec(2,"translate"),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function A(t,e){if(1&t&&(s.Sb(0,"mat-form-field"),s.Nb(1,"input",10),s.Hc(2,y,3,3,"mat-error",8),s.Rb()),2&t){var i=s.dc(2);s.Ab(1),s.kc("formControl",i.inputControl),s.Ab(1),s.kc("ngIf",i.inputControl.invalid)}}function w(t,e){if(1&t&&(s.Sb(0,"div",7),s.Hc(1,v,4,2,"mat-form-field",8),s.Hc(2,A,3,2,"mat-form-field",8),s.Rb()),2&t){var i=s.dc();s.Ab(1),s.kc("ngIf",null!==i.emailControl),s.Ab(1),s.kc("ngIf",null!==i.inputControl)}}var _=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translateService=r,this.registrarService=a,this.loading=!1,this.inputControl=null,this.emailControl=null}return m(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 o.g(this.formItemData.value,[o.F.required,o.F.email]):this.inputControl=new o.g(this.formItemData.value,[o.F.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)(s.Mb(r.i),s.Mb(r.a),s.Mb(a.l),s.Mb(c.e),s.Mb(n.l))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,p,1,0,"mat-spinner",1),s.Hc(5,w,3,2,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Mc("",s.fc(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",e.itemName,""),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading||null!==e.inputControl&&e.inputControl.invalid||null!==e.emailControl&&e.emailControl.invalid),s.Ab(1),s.Lc(" ",s.fc(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[r.j,u.t,r.c,l.b,h.c,r.g,d.c,f.b,o.c,o.C,o.r,o.h,d.b],pipes:[c.d],styles:[""]}),t}()},vT4p:function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));var r=1,o=Promise.resolve(),c={};function u(t){return t in c&&(delete c[t],!0)}var l=function(t){var e=r++;return c[e]=!0,o.then((function(){return u(e)&&t()})),e},d=function(t){u(t)},f=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this,t,n)).scheduler=t,r.work=n,r}return m(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=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("EWqr").a),p=new(function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return m(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_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.hideColumns=this.removeAuth?[]:["checkbox"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}},{key:"onSearchByString",value:function(){this.searchString=this.searchControl.value}},{key:"onAddMember",value:function(){var t=this,e=Object(l.o)();e.width="1000px",e.data={voId:this.group.voId,group:this.group,entityId:this.group.id,theme:"group-theme",type:"group"},this.dialog.open(o.a,e).afterClosed().subscribe((function(e){e&&(t.selection.clear(),t.updateTable=!t.updateTable)}))}},{key:"onKeyInput",value:function(t){"Enter"===t.key&&this.onSearchByString()}},{key:"onRemoveMembers",value:function(){var t=this,e=Object(l.o)();e.width="450px",e.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(s.a,e).afterClosed().subscribe((function(e){e&&(t.selection.clear(),t.updateTable=!t.updateTable)}))}},{key:"onInviteMember",value:function(){var t=Object(l.o)();t.width="650px",t.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(h.a,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":""+this.groupStatuses.value[0]}},{key:"isManualAddingBlocked",value:function(t,e){var i=this;return new Promise((function(n,r){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.Mb(c.h),f.Mb(p.a),f.Mb(u.pb),f.Mb(b.b),f.Mb(r.h),f.Mb(r.m),f.Mb(c.c),f.Mb(r.b),f.Mb(r.l))},t.\u0275cmp=f.Gb({type:t,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(t,e){2&t&&f.Eb("router-component",!0)},decls:41,vars:45,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[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,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","primary",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","pageSize","selection","hideColumns","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","hideColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page"]],template:function(t,e){1&t&&(f.Sb(0,"h1",0),f.Jc(1),f.ec(2,"translate"),f.Rb(),f.Hc(3,O,3,3,"app-alert",1),f.Sb(4,"div",2),f.Sb(5,"span",3),f.ec(6,"translate"),f.Sb(7,"div",4),f.ec(8,"translate"),f.Hc(9,D,3,4,"button",5),f.Rb(),f.Rb(),f.Sb(10,"span",3),f.ec(11,"translate"),f.Hc(12,M,3,4,"button",5),f.Rb(),f.Sb(13,"span",3),f.ec(14,"translate"),f.Hc(15,P,3,4,"button",6),f.Rb(),f.Sb(16,"mat-form-field",7),f.Sb(17,"mat-label"),f.Jc(18),f.ec(19,"translate"),f.Rb(),f.Sb(20,"mat-select",8),f.Zb("closed",(function(){return e.changeVoStatuses()})),f.Sb(21,"mat-select-trigger"),f.Jc(22),f.Rb(),f.Hc(23,x,2,2,"mat-option",9),f.Rb(),f.Rb(),f.Sb(24,"mat-form-field",7),f.Sb(25,"mat-label"),f.Jc(26),f.ec(27,"translate"),f.Rb(),f.Sb(28,"mat-select",8),f.Zb("closed",(function(){return e.changeGroupStatuses()})),f.Sb(29,"mat-select-trigger"),f.Jc(30),f.Rb(),f.Hc(31,N,2,2,"mat-option",9),f.Rb(),f.Rb(),f.Sb(32,"mat-form-field",10),f.Sb(33,"label"),f.Sb(34,"input",11),f.Zb("keyup.enter",(function(){return e.onSearchByString()})),f.ec(35,"translate"),f.Rb(),f.Rb(),f.Rb(),f.Sb(36,"button",12),f.Zb("click",(function(){return e.onSearchByString()})),f.Sb(37,"mat-icon"),f.Jc(38,"search"),f.Rb(),f.Rb(),f.Rb(),f.Hc(39,L,1,0,"mat-spinner",13),f.Hc(40,F,1,10,"perun-web-apps-members-dynamic-list",14)),2&t&&(f.Ab(1),f.Kc(f.fc(2,29,"GROUP_DETAIL.MEMBERS.TITLE")),f.Ab(2),f.kc("ngIf",e.synchEnabled),f.Ab(2),f.lc("matTooltip",f.fc(6,31,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.kc("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),f.Ab(2),f.lc("matTooltip",f.fc(8,33,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),f.kc("matTooltipDisabled",!e.blockManualMemberAdding),f.Ab(2),f.kc("ngIf",e.addAuth),f.Ab(1),f.lc("matTooltip",f.fc(11,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.kc("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),f.Ab(2),f.kc("ngIf",e.inviteAuth),f.Ab(1),f.lc("matTooltip",f.fc(14,37,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.kc("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),f.Ab(2),f.kc("ngIf",e.removeAuth),f.Ab(3),f.Kc(f.fc(19,39,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),f.Ab(2),f.kc("formControl",e.statuses),f.Ab(2),f.Lc(" ",e.displaySelectedStatuses()," "),f.Ab(1),f.kc("ngForOf",e.statusList),f.Ab(3),f.Kc(f.fc(27,41,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),f.Ab(2),f.kc("formControl",e.groupStatuses),f.Ab(2),f.Lc(" ",e.displaySelectedGroupStatuses()," "),f.Ab(1),f.kc("ngForOf",e.groupStatusList),f.Ab(3),f.lc("placeholder",f.fc(35,43,"GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION")),f.kc("formControl",e.searchControl),f.Ab(2),f.kc("disabled",e.loading),f.Ab(3),f.kc("ngIf",e.loading),f.Ab(1),f.kc("ngIf",!e.loading))},directives:[v.t,y.a,A.c,A.g,w.a,d.r,d.h,w.c,v.s,_.b,d.c,S.b,k.a,E.a,C.n,R.c,T.a],pipes:[I.d],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),t}()},vUrr:function(t,e,i){"use strict";i.d(e,"a",(function(){return A}));var n=i("OZ4H"),r=i("X2Q7"),a=i("Ssnw"),o=i("FlRo"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function d(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function f(t,e){1&t&&s.Nb(0,"th",15)}function p(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit;s.Ab(1),s.Lc(" ",i.hostname," ")}}function b(t,e){1&t&&s.Nb(0,"tr",17)}function v(t,e){1&t&&s.Nb(0,"tr",18)}function y(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,f,1,0,"th",11),s.Hc(10,p,2,1,"td",12),s.Pb(),s.Hc(11,b,1,0,"tr",13),s.Hc(12,v,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Kc(s.fc(3,5,"DIALOGS.REMOVE_HOST.DESCRIPTION")),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.REMOVE_HOST.ASK")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var A=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.facilitiesManager=n,this.notificator=r,this.translate=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.hosts=this.data.hosts,this.dataSource=new o.o(this.data.hosts)}},{key:"onConfirm",value:function(){var t=this;this.loading=!0,this.facilitiesManager.removeHosts(this.data.facilityId,this.hosts.map((function(t){return t.id}))).subscribe((function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.REMOVE_HOST.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)(s.Mb(n.i),s.Mb(n.a),s.Mb(r.g),s.Mb(a.l),s.Mb(c.e))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"h1",0),s.Jc(1),s.ec(2,"translate"),s.Rb(),s.Sb(3,"div"),s.Hc(4,d,1,0,"mat-spinner",1),s.Hc(5,y,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onConfirm()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Ab(1),s.Kc(s.fc(2,9,"DIALOGS.REMOVE_HOST.TITLE")),s.Ab(2),s.Cb(e.theme),s.Ab(1),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.REMOVE_HOST.CANCEL"),""),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.REMOVE_HOST.CONFIRM"),""))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,o.n,o.c,o.i,o.b,o.k,o.m,o.h,o.a,o.j,o.l],pipes:[c.d],styles:[""]}),t}()},vhVt:function(t,e,i){"use strict";i.d(e,"a",(function(){return P}));var n=i("OZ4H"),r=i("Ssnw"),a=i("cqs0"),o=i("nIj0"),s=i("jIqt"),c=i("YtkY"),u=i("X2Q7"),l=i("iyZ4"),h=i("EM62"),d=i("s2Ay"),f=i("sEIs"),p=i("29Wa"),b=i("R7+U"),v=i("2kYt"),y=i("Cd2c"),A=i("ulve"),w=i("PBFl"),_=i("mFH5"),S=i("pynj"),k=i("csyo"),E=i("K9kF"),C=i("L4Ow");function R(t,e){if(1&t&&(h.Sb(0,"mat-option",17),h.Jc(1),h.ec(2,"displayedRole"),h.Rb()),2&t){var i=e.$implicit;h.kc("value",i),h.Ab(1),h.Kc(h.fc(2,2,i))}}function T(t,e){if(1&t&&(h.Sb(0,"mat-option",17),h.Jc(1),h.Rb()),2&t){var i=e.$implicit;h.kc("value",i),h.Ab(1),h.Lc(" ",i.name," ")}}function I(t,e){if(1&t){var i=h.Tb();h.Sb(0,"perun-web-apps-debounce-filter",18),h.Zb("filter",(function(t){return h.xc(i),h.dc().applyFilter(t)})),h.ec(1,"translate"),h.Rb()}2&t&&h.lc("placeholder",h.fc(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function O(t,e){1&t&&h.Nb(0,"mat-spinner",19)}var D=function(){return["menu","recent","expiration","vo"]};function M(t,e){if(1&t){var i=h.Tb();h.Sb(0,"div",20),h.Sb(1,"perun-web-apps-groups-list",21),h.Zb("page",(function(t){return h.xc(i),h.dc().pageChanged(t)})),h.Rb(),h.Rb()}if(2&t){var n=h.dc();h.Ab(1),h.kc("pageSize",n.pageSize)("disableRouting",!0)("hideColumns",h.oc(7,D))("selection",n.selection)("filter",n.filterValue)("groups",n.groups)("disableMembers",!1)}}var P=function(){var t=function(){function t(e,i,n,r,s,c,u,h,d,f){var p=this;g(this,t),this.dialogRef=e,this.data=i,this.authzService=n,this.voService=r,this.groupService=s,this.translate=c,this.notificator=u,this.route=h,this.tableConfigService=d,this.router=f,this.searchString="",this.selection=new a.c(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new o.g,this.firstSearchDone=!1,this.tableId=l.W,c.get("DIALOGS.ADD_GROUPS.TITLE").subscribe((function(t){return p.title=t})),c.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe((function(t){return p.successMessage=t}))}return m(t,[{key:"displayFn",value:function(t){return t?t.name:null}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map((function(t){return t.id})),complementaryObject:this.data.complementaryObject}).subscribe((function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close()}),(function(){return t.loading=!1}))}},{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe((function(e){t.filteredOptions=t.myControl.valueChanges.pipe(Object(s.a)(""),Object(c.a)((function(e){return t._filter(e)}))),t.vos=e,t.loading=!1}),(function(){return t.loading=!1}))}},{key:"_filter",value:function(t){var e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.vos.filter((function(t){return t.name.toLowerCase().includes(e)}))}},{key:"showVoGroups",value:function(t){var e=this;this.loading=!0,this.groupService.getAllGroups(t.option.value.id).subscribe((function(t){e.groups=t,e.loading=!1,e.firstSearchDone=!0}),(function(){return e.loading=!1}))}},{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)(h.Mb(n.i),h.Mb(n.a),h.Mb(u.d),h.Mb(u.r),h.Mb(u.h),h.Mb(d.e),h.Mb(r.l),h.Mb(f.a),h.Mb(l.pb),h.Mb(f.f))},t.\u0275cmp=h.Gb({type:t,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","hideColumns","selection","filter","groups","disableMembers","page"]],template:function(t,e){if(1&t&&(h.Sb(0,"div"),h.Sb(1,"h1",0),h.Jc(2),h.ec(3,"translate"),h.Rb(),h.Sb(4,"div",1),h.Sb(5,"div",2),h.Sb(6,"mat-form-field",3),h.Sb(7,"mat-label"),h.Jc(8),h.ec(9,"translate"),h.Rb(),h.Sb(10,"mat-select",4),h.Zb("valueChange",(function(t){return e.selectedRole=t})),h.Hc(11,R,3,4,"mat-option",5),h.Rb(),h.Rb(),h.Sb(12,"mat-form-field",6),h.Sb(13,"mat-label"),h.Jc(14),h.ec(15,"translate"),h.Rb(),h.Nb(16,"input",7),h.ec(17,"translate"),h.Sb(18,"mat-autocomplete",8,9),h.Zb("optionSelected",(function(t){return e.showVoGroups(t)})),h.Hc(20,T,2,2,"mat-option",5),h.ec(21,"async"),h.Rb(),h.Rb(),h.Rb(),h.Hc(22,I,2,3,"perun-web-apps-debounce-filter",10),h.Sb(23,"div",11),h.Hc(24,O,1,0,"mat-spinner",12),h.Rb(),h.Hc(25,M,2,8,"div",13),h.Rb(),h.Sb(26,"div",14),h.Sb(27,"button",15),h.Zb("click",(function(){return e.onCancel()})),h.Jc(28),h.ec(29,"translate"),h.Rb(),h.Sb(30,"button",16),h.Zb("click",(function(){return e.onSubmit()})),h.Jc(31),h.ec(32,"translate"),h.Rb(),h.Rb(),h.Rb()),2&t){var i=h.tc(19);h.Cb(e.theme),h.Ab(2),h.Kc(h.fc(3,19,"DIALOGS.ADD_GROUPS.TITLE")),h.Ab(6),h.Kc(h.fc(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),h.Ab(2),h.kc("value",e.selectedRole),h.Ab(1),h.kc("ngForOf",e.availableRoles),h.Ab(3),h.Kc(h.fc(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),h.Ab(2),h.lc("placeholder",h.fc(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),h.kc("formControl",e.myControl)("matAutocomplete",i),h.Ab(2),h.kc("displayWith",e.displayFn),h.Ab(2),h.kc("ngForOf",h.fc(21,27,e.filteredOptions)),h.Ab(2),h.kc("ngIf",null!==e.groups&&e.groups.length>0&&!e.loading),h.Ab(2),h.kc("ngIf",e.loading),h.Ab(1),h.kc("ngIf",null!==e.groups&&!e.loading),h.Ab(3),h.Lc(" ",h.fc(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),h.Ab(2),h.kc("disabled",0===e.selection.selected.length||e.loading),h.Ab(1),h.Lc(" ",h.fc(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[n.j,n.g,p.c,p.g,b.a,v.s,y.b,o.c,A.d,o.r,o.h,A.a,v.t,n.c,w.b,_.n,S.a,k.c,E.a],pipes:[d.d,v.b,C.a],styles:[""]}),t}()},vobO:function(t,e,n){"use strict";n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return M})),n.d(e,"c",(function(){return J})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return w})),n.d(e,"f",(function(){return I}));var o=n("EM62"),c=n("ROBh"),u=n("IdLP"),l=n("5uDM"),h=n("xVbo"),d=n("YtkY"),f=n("2kYt"),p=function t(){g(this,t)},b=function t(){g(this,t)},v=function(){function t(e){var i=this;g(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(),a=t.slice(e+1).trim();i.maybeSetNormalizedName(n,r),i.headers.has(r)?i.headers.get(r).push(a):i.headers.set(r,[a])}}))}: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 m(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 n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,i(n)),this.headers.set(e,r);break;case"d":var a=t.value;if(a){var o=this.headers.get(e);if(!o)return;0===(o=o.filter((function(t){return-1===a.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}(),y=function(){function t(){g(this,t)}return m(t,[{key:"encodeKey",value:function(t){return A(t)}},{key:"encodeValue",value:function(t){return A(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function A(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,"/")}var w=function(){function t(){var e,i,n,a=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(g(this,t),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new y,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=o.fromString,i=this.encoder,n=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),a=r(-1==e?[i.decodeKey(t),""]:[i.decodeKey(t.slice(0,e)),i.decodeValue(t.slice(e+1))],2),o=a[0],s=a[1],c=n.get(o)||[];c.push(s),n.set(o,c)})),n)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach((function(t){var e=o.fromObject[t];a.map.set(t,Array.isArray(e)?e:[e])}))):this.map=null}return m(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:"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}();function _(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function S(t){return"undefined"!=typeof Blob&&t instanceof Blob}function k(t){return"undefined"!=typeof FormData&&t instanceof FormData}var E=function(){function t(e,i,n,r){var a;if(g(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,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new v),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=i;else{var s=i.indexOf("?");this.urlWithParams=i+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,a=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,c=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(c=Object.keys(e.setHeaders).reduce((function(t,i){return t.set(i,e.setHeaders[i])}),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((function(t,i){return t.set(i,e.setParams[i])}),u)),new t(i,n,a,{params:u,headers:c,reportProgress:s,responseType:r,withCredentials:o})}}]),t}(),C=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";g(this,t),this.headers=e.headers||new v,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},T=function(t){a(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g(this,i),(t=e.call(this,n)).type=C.ResponseHeader,t}return m(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),I=function(t){a(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g(this,i),(t=e.call(this,n)).type=C.Response,t.body=void 0!==n.body?n.body:null,t}return m(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),O=function(t){a(i,t);var e=s(i);function i(t){var n;return g(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 "+(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,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var M=function(){var t=function(){function t(e){g(this,t),this.handler=e}return m(t,[{key:"request",value:function(t,e){var i,n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof E)i=t;else{var a=void 0;a=r.headers instanceof v?r.headers:new v(r.headers);var o=void 0;r.params&&(o=r.params instanceof w?r.params:new w({fromObject:r.params})),i=new E(t,e,void 0!==r.body?r.body:null,{headers:a,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=Object(c.a)(i).pipe(Object(l.a)((function(t){return n.handler.handle(t)})));if(t instanceof E||"events"===r.observe)return s;var u=s.pipe(Object(h.a)((function(t){return t instanceof I})));switch(r.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return u.pipe(Object(d.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return u.pipe(Object(d.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return u.pipe(Object(d.a)((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 u.pipe(Object(d.a)((function(t){return t.body})))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type ".concat(r.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 w).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)(o.Wb(p))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),P=function(){function t(e,i){g(this,t),this.next=e,this.interceptor=i}return m(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),x=new o.r("HTTP_INTERCEPTORS"),N=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),L=/^\)\]\}',?\n/,F=function t(){g(this,t)},z=function(){var t=function(){function t(){g(this,t)}return m(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),H=function(){var t=function(){function t(e){g(this,t),this.xhrFactory=e}return m(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 u.a((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 a=t.responseType.toLowerCase();n.responseType="json"!==a?a:"text"}var o=t.serializeBody(),s=null,c=function(){if(null!==s)return s;var e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new v(n.getAllResponseHeaders()),a=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 T({headers:r,status:e,statusText:i,url:a})},u=function(){var e=c(),r=e.headers,a=e.status,o=e.statusText,s=e.url,u=null;204!==a&&(u=void 0===n.response?n.responseText:n.response),0===a&&(a=u?200:0);var l=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(L,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,l&&(l=!1,u={error:d,text:u})}}l?(i.next(new I({body:u,headers:r,status:a,statusText:o,url:s||void 0})),i.complete()):i.error(new O({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},l=function(t){var e=c().url,r=new O({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(c()),h=!0);var r={type:C.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:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),i.next(e)};return n.addEventListener("load",u),n.addEventListener("error",l),t.reportProgress&&(n.addEventListener("progress",d),null!==o&&n.upload&&n.upload.addEventListener("progress",f)),n.send(o),i.next({type:C.Sent}),function(){n.removeEventListener("error",l),n.removeEventListener("load",u),t.reportProgress&&(n.removeEventListener("progress",d),null!==o&&n.upload&&n.upload.removeEventListener("progress",f)),n.readyState!==n.DONE&&n.abort()}}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Wb(F))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),B=new o.r("XSRF_COOKIE_NAME"),j=new o.r("XSRF_HEADER_NAME"),G=function t(){g(this,t)},U=function(){var t=function(){function t(e,i,n){g(this,t),this.doc=e,this.platform=i,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return m(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(f.N)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Wb(f.e),o.Wb(o.C),o.Wb(B))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),K=function(){var t=function(){function t(e,i){g(this,t),this.tokenService=e,this.headerName=i}return m(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)(o.Wb(G),o.Wb(j))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),V=function(){var t=function(){function t(e,i){g(this,t),this.backend=e,this.injector=i,this.chain=null}return m(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(x,[]);this.chain=e.reduceRight((function(t,e){return new P(t,e)}),this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Wb(b),o.Wb(o.s))},t.\u0275prov=o.Ib({token:t,factory:t.\u0275fac}),t}(),q=function(){var t=function(){function t(){g(this,t)}return m(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:K,useClass:N}]}}},{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:j,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[K,{provide:x,useExisting:K,multi:!0},{provide:G,useClass:U},{provide:B,useValue:"XSRF-TOKEN"},{provide:j,useValue:"X-XSRF-TOKEN"}]}),t}(),J=function(){var t=function t(){g(this,t)};return t.\u0275mod=o.Kb({type:t}),t.\u0275inj=o.Jb({factory:function(e){return new(e||t)},providers:[M,{provide:p,useClass:V},H,{provide:b,useExisting:H},z,{provide:F,useExisting:z}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},"w+DT":function(t,e,i){"use strict";i.d(e,"a",(function(){return tt}));var n=i("EM62"),r=i("iAde"),a=i("cePI"),o=i("FlRo"),s=i("8clQ"),c=i("Ssnw"),u=i("9wx0"),l=i("2kYt"),h=i("+Tre"),d=i("Ds80"),f=i("nIj0"),p=i("Y2X+"),b=i("PBFl"),v=i("bFHC");function y(t,e){if(1&t&&(n.Sb(0,"div",6),n.Jc(1),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.Lc(" ",i[r.paramName]," ")}}function A(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"more_horiz"),n.Rb())}function w(t,e){1&t&&(n.Sb(0,"mat-icon"),n.Jc(1,"keyboard_arrow_up"),n.Rb())}function _(t,e){if(1&t){var i=n.Tb();n.Sb(0,"button",7),n.Zb("click",(function(){return n.xc(i),n.dc().onShowChange()})),n.Hc(1,A,2,0,"mat-icon",8),n.Hc(2,w,2,0,"mat-icon",8),n.Rb()}if(2&t){var r=n.dc();n.Ab(1),n.kc("ngIf",!r.showMore),n.Ab(1),n.kc("ngIf",r.showMore)}}var S,k=((S=function(){function t(){g(this,t),this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}return m(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}()).\u0275fac=function(t){return new(t||S)},S.\u0275cmp=n.Gb({type:S,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[n.yb],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.Sb(0,"form",0),n.Sb(1,"div",1),n.Sb(2,"div",2),n.Hc(3,y,2,1,"div",3),n.Rb(),n.Sb(4,"div"),n.Sb(5,"span",4),n.Hc(6,_,3,2,"button",5),n.Rb(),n.Rb(),n.Rb(),n.Rb()),2&t&&(n.Ab(3),n.kc("ngForOf",e.objects.slice(0,e.itemsShown)),n.Ab(2),n.kc("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.Ab(1),n.kc("ngIf",e.objects.length>e.defaultItemsShown))},directives:[f.H,f.s,f.t,l.s,p.a,l.t,b.b,v.a],styles:[""]}),S),E=i("sEIs"),C=i("TQS+"),R=i("FcRk"),T=i("s2Ay"),I=i("EFHi"),O=i("H2Dp");function D(t,e){1&t&&n.Nb(0,"th",21)}function M(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",22),n.Sb(1,"mat-checkbox",23),n.Zb("change",(function(t){n.xc(i);var r=e.$implicit,a=n.dc();return t?a.selection.toggle(r):null}))("click",(function(t){return n.xc(i),t.stopPropagation()})),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("aria-label",a.checkboxLabel(r))("checked",a.selection.isSelected(r))}}function P(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")))}function x(t,e){if(1&t&&(n.Sb(0,"td",22),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.facility.id)}}function N(t,e){1&t&&n.Nb(0,"th",21)}function L(t,e){if(1&t&&(n.Sb(0,"td",25),n.Nb(1,"perun-web-apps-recently-viewed-icon",26),n.Rb()),2&t){var i=e.$implicit,r=n.dc();n.Ab(1),n.kc("recentIds",r.recentIds)("id",i.facility.id)}}function F(t,e){1&t&&(n.Sb(0,"th",24),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")))}function z(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.facility.name)}}function H(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")))}function B(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(i.facility.description)}}function j(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")))}function G(t,e){if(1&t&&(n.Sb(0,"td",25),n.Jc(1),n.ec(2,"technicalOwners"),n.Rb()),2&t){var i=e.$implicit;n.Ab(1),n.Kc(n.fc(2,1,i.owners))}}function U(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")))}function K(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",25),n.Sb(1,"perun-web-apps-object-list-values",27),n.Zb("mouseenter",(function(){return n.xc(i),n.dc().disableRouting=!0}))("mouseleave",(function(){return n.xc(i),n.dc().disableRouting=!1})),n.ec(2,"filterUniqueObjects"),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("paramName","destination")("objects",n.hc(2,2,r.destinations,a.filterValue,"destination"))}}function V(t,e){1&t&&(n.Sb(0,"th",21),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Kc(n.fc(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")))}function q(t,e){if(1&t){var i=n.Tb();n.Sb(0,"td",25),n.Sb(1,"perun-web-apps-object-list-values",27),n.Zb("mouseenter",(function(){return n.xc(i),n.dc().disableRouting=!0}))("mouseleave",(function(){return n.xc(i),n.dc().disableRouting=!1})),n.ec(2,"filterUniqueObjects"),n.Rb(),n.Rb()}if(2&t){var r=e.$implicit,a=n.dc();n.Ab(1),n.kc("paramName","hostname")("objects",n.hc(2,2,r.hosts,a.filterValue,"hostname"))}}function J(t,e){1&t&&n.Nb(0,"tr",28)}var W=function(){return[]},Z=function(t){return["/facilities",t]};function Y(t,e){if(1&t&&n.Nb(0,"tr",29),2&t){var i=e.$implicit,r=n.dc();n.kc("routerLink",r.disableRouting?n.oc(2,W):n.pc(3,Z,i.facility.id))("perunWebAppsMiddleClickRouterLink",n.pc(5,Z,i.facility.id))}}function X(t,e){1&t&&(n.Sb(0,"app-alert",30),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Q(t,e){1&t&&(n.Sb(0,"app-alert",30),n.Jc(1),n.ec(2,"translate"),n.Rb()),2&t&&(n.Ab(1),n.Lc(" ",n.fc(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}var $,tt=(($=function(){function t(e,i){g(this,t),this.authResolver=e,this.cd=i,this.pageSize=10,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=s.a,this.page=new n.o}return m(t,[{key:"ngOnChanges",value:function(t){this.authResolver.isPerunAdmin()||(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 Object(s.D)(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){Object(s.i)(Object(s.n)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.paginator&&(this.dataSource||(this.dataSource=new o.o,this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filterPredicate=function(e,i){return Object(s.f)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return Object(s.g)(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"}},{key:"pageChanged",value:function(t){this.page.emit(t)}},{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"matPaginator",set:function(t){this.paginator=t,this.setDataSource(),this.cd.detectChanges()}}]),t}()).\u0275fac=function(t){return new(t||$)(n.Mb(c.h),n.Mb(n.h))},$.\u0275cmp=n.Gb({type:$,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(t,e){var i;1&t&&(n.Dc(a.a,!0),n.Qc(r.a,!0)),2&t&&(n.sc(i=n.ac())&&(e.matSort=i.first),n.sc(i=n.ac())&&(e.matPaginator=i.first))},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.yb],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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,"routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],[3,"paramName","objects","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.Sb(0,"div",0),n.Sb(1,"div",1),n.Sb(2,"perun-web-apps-table-options",2),n.Zb("exportData",(function(t){return e.exportData(t)})),n.Rb(),n.Sb(3,"div",3),n.Sb(4,"table",4),n.Qb(5,5),n.Hc(6,D,1,0,"th",6),n.Hc(7,M,2,2,"td",7),n.Pb(),n.Qb(8,8),n.Hc(9,P,3,3,"th",9),n.Hc(10,x,2,1,"td",7),n.Pb(),n.Qb(11,10),n.Hc(12,N,1,0,"th",6),n.Hc(13,L,2,2,"td",11),n.Pb(),n.Qb(14,12),n.Hc(15,F,3,3,"th",9),n.Hc(16,z,2,1,"td",11),n.Pb(),n.Qb(17,13),n.Hc(18,H,3,3,"th",6),n.Hc(19,B,2,1,"td",11),n.Pb(),n.Qb(20,14),n.Hc(21,j,3,3,"th",6),n.Hc(22,G,3,3,"td",11),n.Pb(),n.Qb(23,15),n.Hc(24,U,3,3,"th",6),n.Hc(25,K,3,6,"td",11),n.Pb(),n.Qb(26,16),n.Hc(27,V,3,3,"th",6),n.Hc(28,q,3,6,"td",11),n.Pb(),n.Hc(29,J,1,0,"tr",17),n.Hc(30,Y,1,7,"tr",18),n.Rb(),n.Rb(),n.Sb(31,"mat-paginator",19),n.Zb("page",(function(t){return e.pageChanged(t)})),n.Rb(),n.Rb(),n.Rb(),n.Hc(32,X,3,3,"app-alert",20),n.Hc(33,Q,3,3,"app-alert",20)),2&t&&(n.kc("hidden",!e.dataSource||0===e.dataSource.filteredData.length||0===e.facilities.length),n.Ab(4),n.kc("dataSource",e.dataSource),n.Ab(25),n.kc("matHeaderRowDef",e.displayedColumns),n.Ab(1),n.kc("matRowDefColumns",e.displayedColumns),n.Ab(1),n.kc("length",e.facilities.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),n.Ab(1),n.kc("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.facilities.length),n.Ab(1),n.kc("ngIf",0===e.facilities.length))},directives:[u.a,o.n,a.a,o.c,o.i,o.b,o.k,o.m,r.a,l.t,o.h,o.a,h.a,a.b,d.a,k,o.j,o.l,E.g,C.c,R.a],pipes:[T.d,I.a,O.a],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),$)},wBUr:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var n=i("EM62"),r=i("2kYt"),a=i("PBFl"),o=i("s2Ay");function s(t,e){if(1&t){var i=n.Tb();n.Sb(0,"div"),n.Sb(1,"button",1),n.Zb("click",(function(){n.xc(i);var t=e.$implicit;return n.dc().addTag("{"+t[0]+"}")})),n.Jc(2),n.Rb(),n.Jc(3),n.ec(4,"translate"),n.Rb()}if(2&t){var r=e.$implicit;n.Ab(2),n.Lc("",r[0]," "),n.Ab(1),n.Lc(" - ",n.fc(4,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+r[1]),"\n")}}var c=function(){var t=function(){function t(){g(this,t),this.tags=[],this.addedTag=new n.o}return m(t,[{key:"ngOnChanges",value:function(t){}},{key:"addTag",value:function(t){this.addedTag.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Gb({type:t,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},features:[n.yb],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"]],template:function(t,e){1&t&&n.Hc(0,s,5,4,"div",0),2&t&&n.kc("ngForOf",e.tags)},directives:[r.s,a.b],pipes:[o.d],styles:[""]}),t}()},wOqL:function(t,e,i){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,i,r){i=i||"=";var a={};if("string"!=typeof t||0===t.length)return a;var o=/\+/g;t=t.split(e=e||"&");var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var c=t.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),n(a,d)?Array.isArray(a[d])?a[d].push(f):a[d]=[a[d],f]:a[d]=f}return a}},"wqq/":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("QQZH");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,a=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,c=t.refCount,u=t.scheduler,l=0,h=!1,d=!1;return function(t){l++,e&&!h||(h=!1,e=new n.a(a,s,u),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&&c&&0===l&&(i.unsubscribe(),i=void 0,e=void 0)}))}}(r))}}},x9Az:function(t,e,i){"use strict";i.d(e,"a",(function(){return St})),i.d(e,"b",(function(){return At})),i.d(e,"c",(function(){return mt})),i.d(e,"d",(function(){return ft})),i.d(e,"e",(function(){return wt})),i.d(e,"f",(function(){return yt})),i.d(e,"g",(function(){return Ot})),i.d(e,"h",(function(){return Ct})),i.d(e,"i",(function(){return Tt})),i.d(e,"j",(function(){return Et}));var n=i("Sv/w"),r=i("sg/T"),o=i("E5oP"),c=i("5XID"),u=i("fAiE"),l=i("2kYt"),h=i("EM62"),d=i("ZTXN"),f=i("ROBh"),p=i("jIqt"),b=i("kuMc");function v(t,e){1&t&&h.ic(0)}var y,A,w,_,S,k,E,C=["*"],R=((A=function(){function t(e){g(this,t),this._elementRef=e}return m(t,[{key:"focus",value:function(){this._elementRef.nativeElement.focus()}}]),t}()).\u0275fac=function(t){return new(t||A)(h.Mb(h.l))},A.\u0275dir=h.Hb({type:A,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),A),T=((y=function t(e){g(this,t),this.template=e}).\u0275fac=function(t){return new(t||y)(h.Mb(h.M))},y.\u0275dir=h.Hb({type:y,selectors:[["","cdkStepLabel",""]]}),y),I=0,O=new h.r("STEPPER_GLOBAL_OPTIONS"),D=((E=function(){function t(e,i){g(this,t),this._stepper=e,this.interacted=!1,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 m(t,[{key:"_getDefaultCompleted",value:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}},{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:"editable",get:function(){return this._editable},set:function(t){this._editable=Object(c.c)(t)}},{key:"optional",get:function(){return this._optional},set:function(t){this._optional=Object(c.c)(t)}},{key:"completed",get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(t){this._completedOverride=Object(c.c)(t)}},{key:"hasError",get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(t){this._customError=Object(c.c)(t)}}]),t}()).\u0275fac=function(t){return new(t||E)(h.Mb(Object(h.U)((function(){return M}))),h.Mb(O,8))},E.\u0275cmp=h.Gb({type:E,selectors:[["cdk-step"]],contentQueries:function(t,e,i){var n;1&t&&h.Fb(i,T,!0),2&t&&h.sc(n=h.ac())&&(e.stepLabel=n.first)},viewQuery:function(t,e){var i;1&t&&h.Dc(h.M,!0),2&t&&h.sc(i=h.ac())&&(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"},exportAs:["cdkStep"],features:[h.yb],ngContentSelectors:C,decls:1,vars:0,template:function(t,e){1&t&&(h.jc(),h.Hc(0,v,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),E),M=((k=function(){function t(e,i,n,r){g(this,t),this._dir=e,this._changeDetectorRef=i,this._elementRef=n,this._destroyed=new d.a,this._linear=!1,this._selectedIndex=0,this.selectionChange=new h.o,this._orientation="horizontal",this._groupId=I++,this._document=r}return m(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._keyManager=new r.g(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(f.a)()).pipe(Object(p.a)(this._layoutDirection()),Object(b.a)(this._destroyed)).subscribe((function(e){return t._keyManager.withHorizontalOrientation(e)})),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.pipe(Object(b.a)(this._destroyed)).subscribe((function(){t.selected||(t._selectedIndex=Math.max(t._selectedIndex-1,0))}))}},{key:"ngOnDestroy",value:function(){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=Object(u.t)(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==u.o&&i!==u.g?i===u.i?(n.setFirstItemActive(),t.preventDefault()):i===u.f?(n.setLastItemActive(),t.preventDefault()):n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}},{key:"_anyControlsInvalidOrPending",value:function(t){var e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&t>=0)&&e.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(){if(!this._document||!this._elementRef)return!1;var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}},{key:"steps",get:function(){return this._steps}},{key:"linear",get:function(){return this._linear},set:function(t){this._linear=Object(c.c)(t)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){var e=Object(c.f)(t);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)}else this._selectedIndex=e}},{key:"selected",get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}}]),t}()).\u0275fac=function(t){return new(t||k)(h.Mb(o.c,8),h.Mb(h.h),h.Mb(h.l),h.Mb(l.e))},k.\u0275dir=h.Hb({type:k,selectors:[["","cdkStepper",""]],contentQueries:function(t,e,i){var n;1&t&&(h.Fb(i,D,!0),h.Fb(i,R,!0)),2&t&&(h.sc(n=h.ac())&&(e._steps=n),h.sc(n=h.ac())&&(e._stepHeader=n))},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),k),P=((S=function(){function t(e){g(this,t),this._stepper=e,this.type="submit"}return m(t,[{key:"_handleClick",value:function(){this._stepper.next()}}]),t}()).\u0275fac=function(t){return new(t||S)(h.Mb(M))},S.\u0275dir=h.Hb({type:S,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&h.Zb("click",(function(){return e._handleClick()})),2&t&&h.Vb("type",e.type)},inputs:{type:"type"}}),S),x=((_=function(){function t(e){g(this,t),this._stepper=e,this.type="button"}return m(t,[{key:"_handleClick",value:function(){this._stepper.previous()}}]),t}()).\u0275fac=function(t){return new(t||_)(h.Mb(M))},_.\u0275dir=h.Hb({type:_,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&h.Zb("click",(function(){return e._handleClick()})),2&t&&h.Vb("type",e.type)},inputs:{type:"type"}}),_),N=((w=function t(){g(this,t)}).\u0275mod=h.Kb({type:w}),w.\u0275inj=h.Jb({factory:function(t){return new(t||w)},imports:[[o.a]]}),w),L=i("PBFl"),F=i("mFH5"),z=i("bFHC"),H=i("Ohay"),B=i("f7+R");function j(t,e){if(1&t&&h.Ob(0,9),2&t){var i=h.dc();h.kc("ngTemplateOutlet",i.iconOverrides[i.state])("ngTemplateOutletContext",i._getIconContext())}}function G(t,e){if(1&t&&(h.Sb(0,"span"),h.Jc(1),h.Rb()),2&t){var i=h.dc(2);h.Ab(1),h.Kc(i._getDefaultTextForState(i.state))}}function U(t,e){if(1&t&&(h.Sb(0,"mat-icon"),h.Jc(1),h.Rb()),2&t){var i=h.dc(2);h.Ab(1),h.Kc(i._getDefaultTextForState(i.state))}}function K(t,e){if(1&t&&(h.Qb(0,10),h.Hc(1,G,2,1,"span",11),h.Hc(2,U,2,1,"mat-icon",12),h.Pb()),2&t){var i=h.dc();h.kc("ngSwitch",i.state),h.Ab(1),h.kc("ngSwitchCase","number")}}function V(t,e){if(1&t&&h.Ob(0,13),2&t){var i=h.dc();h.kc("ngTemplateOutlet",i._templateLabel().template)}}function q(t,e){if(1&t&&(h.Sb(0,"div",14),h.Jc(1),h.Rb()),2&t){var i=h.dc();h.Ab(1),h.Kc(i.label)}}function J(t,e){if(1&t&&(h.Sb(0,"div",15),h.Jc(1),h.Rb()),2&t){var i=h.dc();h.Ab(1),h.Kc(i._intl.optionalLabel)}}function W(t,e){if(1&t&&(h.Sb(0,"div",16),h.Jc(1),h.Rb()),2&t){var i=h.dc();h.Ab(1),h.Kc(i.errorMessage)}}function Z(t,e){1&t&&h.ic(0)}var Y=["*"];function X(t,e){1&t&&h.Nb(0,"div",6)}function Q(t,e){if(1&t){var i=h.Tb();h.Qb(0),h.Sb(1,"mat-step-header",4),h.Zb("click",(function(){return e.$implicit.select()}))("keydown",(function(t){return h.xc(i),h.dc()._onKeydown(t)})),h.Rb(),h.Hc(2,X,1,0,"div",5),h.Pb()}if(2&t){var n=e.$implicit,r=e.index,a=e.last,o=h.dc();h.Ab(1),h.kc("tabIndex",o._getFocusIndex()===r?0:-1)("id",o._getStepLabelId(r))("index",r)("state",o._getIndicatorType(r,n.state))("label",n.stepLabel||n.label)("selected",o.selectedIndex===r)("active",n.completed||o.selectedIndex===r||!o.linear)("optional",n.optional)("errorMessage",n.errorMessage)("iconOverrides",o._iconOverrides)("disableRipple",o.disableRipple),h.Bb("aria-posinset",r+1)("aria-setsize",o.steps.length)("aria-controls",o._getStepContentId(r))("aria-selected",o.selectedIndex==r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),h.Ab(1),h.kc("ngIf",!a)}}function $(t,e){if(1&t){var i=h.Tb();h.Sb(0,"div",7),h.Zb("@stepTransition.done",(function(t){return h.xc(i),h.dc()._animationDone.next(t)})),h.Ob(1,8),h.Rb()}if(2&t){var n=e.$implicit,r=e.index,a=h.dc();h.kc("@stepTransition",a._getAnimationDirection(r))("id",a._getStepContentId(r)),h.Bb("tabindex",a.selectedIndex===r?0:null)("aria-labelledby",a._getStepLabelId(r))("aria-expanded",a.selectedIndex===r),h.Ab(1),h.kc("ngTemplateOutlet",n.content)}}function tt(t,e){if(1&t){var i=h.Tb();h.Sb(0,"div",1),h.Sb(1,"mat-step-header",2),h.Zb("click",(function(){return e.$implicit.select()}))("keydown",(function(t){return h.xc(i),h.dc()._onKeydown(t)})),h.Rb(),h.Sb(2,"div",3),h.Sb(3,"div",4),h.Zb("@stepTransition.done",(function(t){return h.xc(i),h.dc()._animationDone.next(t)})),h.Sb(4,"div",5),h.Ob(5,6),h.Rb(),h.Rb(),h.Rb(),h.Rb()}if(2&t){var n=e.$implicit,r=e.index,a=e.last,o=h.dc();h.Ab(1),h.kc("tabIndex",o._getFocusIndex()==r?0:-1)("id",o._getStepLabelId(r))("index",r)("state",o._getIndicatorType(r,n.state))("label",n.stepLabel||n.label)("selected",o.selectedIndex===r)("active",n.completed||o.selectedIndex===r||!o.linear)("optional",n.optional)("errorMessage",n.errorMessage)("iconOverrides",o._iconOverrides)("disableRipple",o.disableRipple),h.Bb("aria-posinset",r+1)("aria-setsize",o.steps.length)("aria-controls",o._getStepContentId(r))("aria-selected",o.selectedIndex===r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),h.Ab(1),h.Eb("mat-stepper-vertical-line",!a),h.Ab(1),h.kc("@stepTransition",o._getAnimationDirection(r))("id",o._getStepContentId(r)),h.Bb("tabindex",o.selectedIndex===r?0:null)("aria-labelledby",o._getStepLabelId(r))("aria-expanded",o.selectedIndex===r),h.Ab(2),h.kc("ngTemplateOutlet",n.content)}}var et,it,nt,rt,at,ot,st,ct,ut,lt,ht,dt='.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;top:36px}.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;top:36px;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;padding:24px}.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;padding:24px;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;top:-16px;bottom:-16px;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',ft=((et=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(T)).\u0275fac=function(t){return pt(t||et)},et.\u0275dir=h.Hb({type:et,selectors:[["","matStepLabel",""]],features:[h.xb]}),et),pt=h.Ub(ft),gt=((it=function t(){g(this,t),this.changes=new d.a,this.optionalLabel="Optional"}).\u0275fac=function(t){return new(t||it)},it.\u0275prov=Object(h.Ib)({factory:function(){return new it},token:it,providedIn:"root"}),it),bt={provide:gt,deps:[[new h.B,new h.K,gt]],useFactory:function(t){return t||new gt}},mt=((nt=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,r))._intl=t,o._focusMonitor=n,n.monitor(r,!0),o._intlSubscription=t.changes.subscribe((function(){return a.markForCheck()})),o}return m(i,[{key:"ngOnDestroy",value:function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){this._focusMonitor.focusVia(this._elementRef,"program")}},{key:"_stringLabel",value:function(){return this.label instanceof ft?null:this.label}},{key:"_templateLabel",value:function(){return this.label instanceof ft?this.label:null}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_getIconContext",value:function(){return{index:this.index,active:this.active,optional:this.optional}}},{key:"_getDefaultTextForState",value:function(t){return"number"==t?""+(this.index+1):"edit"==t?"create":"error"==t?"warning":t}}]),i}(R)).\u0275fac=function(t){return new(t||nt)(h.Mb(gt),h.Mb(r.h),h.Mb(h.l),h.Mb(h.h))},nt.\u0275cmp=h.Gb({type:nt,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header","mat-focus-indicator"],inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[h.xb],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],[3,"ngTemplateOutlet",4,"ngIf"],["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"],[3,"ngTemplateOutlet"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(h.Nb(0,"div",0),h.Sb(1,"div"),h.Sb(2,"div",1),h.Hc(3,j,1,2,"ng-container",2),h.Hc(4,K,3,2,"ng-container",3),h.Rb(),h.Rb(),h.Sb(5,"div",4),h.Hc(6,V,1,1,"ng-container",5),h.Hc(7,q,2,1,"div",6),h.Hc(8,J,2,1,"div",7),h.Hc(9,W,2,1,"div",8),h.Rb()),2&t&&(h.kc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),h.Ab(1),h.Db("mat-step-icon-state-",e.state," mat-step-icon"),h.Eb("mat-step-icon-selected",e.selected),h.Ab(1),h.kc("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),h.Ab(1),h.kc("ngSwitchCase",!0),h.Ab(2),h.Eb("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),h.Ab(1),h.kc("ngIf",e._templateLabel()),h.Ab(1),h.kc("ngIf",e._stringLabel()),h.Ab(1),h.kc("ngIf",e.optional&&"error"!=e.state),h.Ab(1),h.kc("ngIf","error"==e.state))},directives:[F.s,l.x,l.y,l.z,l.t,l.A,z.a],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}),nt),vt={horizontalStepTransition:Object(B.n)("stepTransition",[Object(B.k)("previous",Object(B.l)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Object(B.k)("current",Object(B.l)({transform:"none",visibility:"visible"})),Object(B.k)("next",Object(B.l)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Object(B.m)("* => *",Object(B.e)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Object(B.n)("stepTransition",[Object(B.k)("previous",Object(B.l)({height:"0px",visibility:"hidden"})),Object(B.k)("next",Object(B.l)({height:"0px",visibility:"hidden"})),Object(B.k)("current",Object(B.l)({height:"*",visibility:"visible"})),Object(B.m)("* <=> current",Object(B.e)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},yt=((ot=function t(e){g(this,t),this.templateRef=e}).\u0275fac=function(t){return new(t||ot)(h.Mb(h.M))},ot.\u0275dir=h.Hb({type:ot,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),ot),At=((at=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t,r))._errorStateMatcher=n,a}return m(i,[{key:"isErrorState",value:function(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}]),i}(D)).\u0275fac=function(t){return new(t||at)(h.Mb(Object(h.U)((function(){return wt}))),h.Mb(F.d,4),h.Mb(O,8))},at.\u0275cmp=h.Gb({type:at,selectors:[["mat-step"]],contentQueries:function(t,e,i){var n;1&t&&h.Fb(i,ft,!0),2&t&&h.sc(n=h.ac())&&(e.stepLabel=n.first)},exportAs:["matStep"],features:[h.zb([{provide:F.d,useExisting:at},{provide:D,useExisting:at}]),h.xb],ngContentSelectors:Y,decls:1,vars:0,template:function(t,e){1&t&&(h.jc(),h.Hc(0,Z,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),at),wt=((rt=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments)).animationDone=new h.o,t._iconOverrides={},t._animationDone=new d.a,t}return m(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._icons.forEach((function(e){var i=e.name,n=e.templateRef;return t._iconOverrides[i]=n})),this._steps.changes.pipe(Object(b.a)(this._destroyed)).subscribe((function(){t._stateChanged()})),this._animationDone.pipe(Object(H.a)((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})),Object(b.a)(this._destroyed)).subscribe((function(e){"current"===e.toState&&t.animationDone.emit()}))}}]),i}(M)).\u0275fac=function(t){return _t(t||rt)},rt.\u0275dir=h.Hb({type:rt,selectors:[["","matStepper",""]],contentQueries:function(t,e,i){var n;1&t&&(h.Fb(i,At,!0),h.Fb(i,yt,!0)),2&t&&(h.sc(n=h.ac())&&(e._steps=n),h.sc(n=h.ac())&&(e._icons=n))},viewQuery:function(t,e){var i;1&t&&h.Qc(mt,!0),2&t&&h.sc(i=h.ac())&&(e._stepHeader=i)},inputs:{disableRipple:"disableRipple"},outputs:{animationDone:"animationDone"},features:[h.zb([{provide:M,useExisting:rt}]),h.xb]}),rt),_t=h.Ub(wt),St=((st=function(t){a(i,t);var e=s(i);function i(){var t;return g(this,i),(t=e.apply(this,arguments)).labelPosition="end",t}return i}(wt)).\u0275fac=function(t){return kt(t||st)},st.\u0275cmp=h.Gb({type:st,selectors:[["mat-horizontal-stepper"]],hostAttrs:["aria-orientation","horizontal","role","tablist",1,"mat-stepper-horizontal"],hostVars:4,hostBindings:function(t,e){2&t&&h.Eb("mat-stepper-label-position-end","end"==e.labelPosition)("mat-stepper-label-position-bottom","bottom"==e.labelPosition)},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition"},exportAs:["matHorizontalStepper"],features:[h.zb([{provide:wt,useExisting:st},{provide:M,useExisting:st}]),h.xb],decls:4,vars:2,consts:[[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"],[1,"mat-horizontal-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","click","keydown"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(h.Sb(0,"div",0),h.Hc(1,Q,3,18,"ng-container",1),h.Rb(),h.Sb(2,"div",2),h.Hc(3,$,2,6,"div",3),h.Rb()),2&t&&(h.Ab(1),h.kc("ngForOf",e.steps),h.Ab(2),h.kc("ngForOf",e.steps))},directives:[l.s,mt,l.t,l.A],styles:[dt],encapsulation:2,data:{animation:[vt.horizontalStepTransition]},changeDetection:0}),st),kt=h.Ub(St),Et=((ut=function(t){a(i,t);var e=s(i);function i(t,n,r,a){var o;return g(this,i),(o=e.call(this,t,n,r,a))._orientation="vertical",o}return i}(wt)).\u0275fac=function(t){return new(t||ut)(h.Mb(o.c,8),h.Mb(h.h),h.Mb(h.l),h.Mb(l.e))},ut.\u0275cmp=h.Gb({type:ut,selectors:[["mat-vertical-stepper"]],hostAttrs:["aria-orientation","vertical","role","tablist",1,"mat-stepper-vertical"],inputs:{selectedIndex:"selectedIndex"},exportAs:["matVerticalStepper"],features:[h.zb([{provide:wt,useExisting:ut},{provide:M,useExisting:ut}]),h.xb],decls:1,vars:1,consts:[["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","click","keydown"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&h.Hc(0,tt,6,25,"div",0),2&t&&h.kc("ngForOf",e.steps)},directives:[l.s,mt,l.A],styles:[dt],encapsulation:2,data:{animation:[vt.verticalStepTransition]},changeDetection:0}),ut),Ct=((ct=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(P)).\u0275fac=function(t){return Rt(t||ct)},ct.\u0275dir=h.Hb({type:ct,selectors:[["button","matStepperNext",""]],hostVars:1,hostBindings:function(t,e){2&t&&h.Vb("type",e.type)},inputs:{type:"type"},features:[h.xb]}),ct),Rt=h.Ub(Ct),Tt=((lt=function(t){a(i,t);var e=s(i);function i(){return g(this,i),e.apply(this,arguments)}return i}(x)).\u0275fac=function(t){return It(t||lt)},lt.\u0275dir=h.Hb({type:lt,selectors:[["button","matStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){2&t&&h.Vb("type",e.type)},inputs:{type:"type"},features:[h.xb]}),lt),It=h.Ub(Tt),Ot=((ht=function t(){g(this,t)}).\u0275mod=h.Kb({type:ht}),ht.\u0275inj=h.Jb({factory:function(t){return new(t||ht)},providers:[bt,F.d],imports:[[F.i,l.c,n.i,L.c,N,z.b,F.t],F.i]}),ht)},xVbo:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("5uGe");function r(t,e){return function(i){return i.lift(new o(t,e))}}var o=function(){function t(e,i){g(this,t),this.predicate=e,this.thisArg=i}return m(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.predicate,this.thisArg))}}]),t}(),c=function(t){a(i,t);var e=s(i);function i(t,n,r){var a;return g(this,i),(a=e.call(this,t)).predicate=n,a.thisArg=r,a.count=0,a}return m(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.a)},yAs8:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var n=i("8clQ"),r=i("EM62"),a=function(){var t=function(){function t(){g(this,t)}return m(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(Object(n.y)(t.groupStatus),", Expiration: ").concat(r&&r.value?r.value:"never"):"Status: ".concat(Object(n.y)(t.status,t.groupStatus),"\n Vo status: ").concat(Object(n.y)(t.status),", Expiration: ").concat(i&&i.value?i.value:"never")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Lb({name:"memberStatusTooltip",type:t,pure:!0}),t}()},yLXW:function(t,e,i){"use strict";i.d(e,"a",(function(){return b}));var n=i("OZ4H"),r=i("X2Q7"),a=i("EM62"),o=i("2kYt"),s=i("PBFl"),c=i("csyo"),u=i("29Wa"),l=i("Cd2c"),h=i("nIj0"),d=i("s2Ay");function f(t,e){1&t&&a.Nb(0,"mat-spinner",6)}function p(t,e){if(1&t){var i=a.Tb();a.Sb(0,"div",7),a.Sb(1,"mat-form-field"),a.Sb(2,"input",8),a.Zb("ngModelChange",(function(t){return a.xc(i),a.dc().name=t})),a.ec(3,"translate"),a.Rb(),a.Sb(4,"mat-error"),a.Jc(5),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb()}if(2&t){var n=a.dc();a.Ab(2),a.lc("placeholder",a.fc(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),a.kc("ngModel",n.name),a.Ab(3),a.Kc(a.fc(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}var b=function(){var t=function(){function t(e,i,n){g(this,t),this.dialogRef=e,this.data=i,this.resourceManager=n,this.name="",this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.loading=!1})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Mb(n.i),a.Mb(n.a),a.Mb(r.m))},t.\u0275cmp=a.Gb({type:t,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(t,e){1&t&&(a.Sb(0,"div"),a.Sb(1,"h1",0),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Hc(4,f,1,0,"mat-spinner",1),a.Hc(5,p,7,7,"div",2),a.Sb(6,"div",3),a.Sb(7,"button",4),a.Zb("click",(function(){return e.onCancel()})),a.Jc(8),a.ec(9,"translate"),a.Rb(),a.Sb(10,"button",5),a.Zb("click",(function(){return e.onSubmit()})),a.Jc(11),a.ec(12,"translate"),a.Rb(),a.Rb(),a.Rb()),2&t&&(a.Cb(e.theme),a.Ab(2),a.Kc(a.fc(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),a.Ab(2),a.kc("ngIf",e.loading),a.Ab(1),a.kc("ngIf",!e.loading),a.Ab(3),a.Lc(" ",a.fc(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),a.Ab(2),a.kc("disabled",e.loading),a.Ab(1),a.Lc(" ",a.fc(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[n.j,o.t,n.c,s.b,c.c,n.g,u.c,l.b,h.c,h.C,h.r,h.u,u.b],pipes:[d.d],styles:[""]}),t}()},yNE8:function(t,e,i){"use strict";i.d(e,"a",(function(){return C}));var n=i("sEIs"),r=i("TkCa"),a=i("Ssnw"),o=i("EM62"),s=i("mFH5"),c=i("2kYt"),u=i("TQS+"),l=i("bFHC"),h=i("s2Ay"),d=["collapse"],f=function(){return{color:"linkTextColor"}};function p(t,e){1&t&&(o.Sb(0,"mat-icon",12),o.Jc(1,"keyboard_arrow_right"),o.Rb()),2&t&&o.kc("ngStyle",o.oc(1,f))}function b(t,e){1&t&&(o.Sb(0,"mat-icon",12),o.Jc(1,"keyboard_arrow_down"),o.Rb()),2&t&&o.kc("ngStyle",o.oc(1,f))}function v(t,e){if(1&t&&(o.Sb(0,"span",10),o.Hc(1,p,2,2,"mat-icon",11),o.Hc(2,b,2,2,"mat-icon",11),o.Rb()),2&t){var i=o.dc().$implicit,n=o.dc();o.Ab(1),o.kc("ngIf",!n.isActive(n.currentUrl,i.showChildrenRegex)),o.Ab(1),o.kc("ngIf",n.isActive(n.currentUrl,i.showChildrenRegex))}}var y=function(t,e){return{color:t,"border-color":e}};function A(t,e){if(1&t){var i=o.Tb();o.Sb(0,"a",14),o.Zb("click",(function(){o.xc(i);var t=e.$implicit;return o.dc(3).navigate(t.url)})),o.Jc(1),o.ec(2,"translate"),o.Rb()}if(2&t){var n=e.$implicit,r=o.dc(3);o.Eb("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),o.kc("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",o.qc(9,y,r.linkTextColor,r.linkTextColor))("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:""),o.Ab(1),o.Lc(" ",o.fc(2,7,n.label)," ")}}function w(t,e){if(1&t&&(o.Sb(0,"div"),o.Hc(1,A,3,12,"a",13),o.Rb()),2&t){var i=o.dc().$implicit;o.kc("@rollInOut",void 0),o.Ab(1),o.kc("ngForOf",null==i?null:i.children)}}function _(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div"),o.Sb(1,"a",7),o.Zb("click",(function(){o.xc(i);var t=e.$implicit;return o.dc().navigate(t.url)})),o.Jc(2),o.ec(3,"translate"),o.Hc(4,v,3,2,"span",8),o.Rb(),o.Hc(5,w,2,2,"div",9),o.Rb()}if(2&t){var n=e.$implicit,r=o.dc();o.Ab(1),o.Eb("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),o.kc("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",o.qc(11,y,r.linkTextColor,r.linkTextColor))("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:""),o.Ab(1),o.Lc(" ",o.fc(3,9,n.label)," "),o.Ab(2),o.kc("ngIf",n.children),o.Ab(1),o.kc("ngIf",r.isActive(r.currentUrl,n.showChildrenRegex))}}var S=function(t){return{background:t}},k=function(t){return{color:t}},E=function(){return{color:"currentColor"}},C=function(){var t=function(){function t(e,i){var r=this;g(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 n.b&&(r.currentUrl=t.url)}))}return m(t,[{key:"ngOnInit",value:function(){this.expanded=this.showOpen}},{key:"ngOnChanges",value:function(t){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)(o.Mb(n.f),o.Mb(a.m))},t.\u0275cmp=o.Gb({type:t,selectors:[["app-side-menu-root-item"]],viewQuery:function(t,e){var i;1&t&&o.Qc(d,!0),2&t&&o.sc(i=o.ac())&&(e.collapseDiv=i.first)},inputs:{item:"item",index:"index",showOpen:"showOpen",sideNav:"sideNav"},features:[o.yb],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&&(o.Sb(0,"div",0),o.Sb(1,"div",1),o.Zb("click",(function(){return e.toggle()})),o.Sb(2,"div"),o.Sb(3,"a",2),o.Sb(4,"div"),o.Nb(5,"mat-icon",3),o.Rb(),o.Sb(6,"div",4),o.Jc(7),o.ec(8,"translate"),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(9,"div"),o.Sb(10,"div",5),o.Hc(11,_,6,14,"div",6),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Ab(1),o.Eb("root-header-activated",e.isActive(e.currentUrl,e.item.baseColorClassRegex)),o.kc("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",o.pc(20,S,e.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",e.item.baseLink),o.Ab(1),o.Db("entity-menu-item-link ",e.item.labelClass,""),o.Ab(1),o.kc("ngStyle",o.pc(22,k,e.item.textColorCss)),o.Ab(2),o.kc("ngStyle",o.oc(24,E))("svgIcon",e.item.icon),o.Ab(2),o.Kc(o.fc(8,18,e.item.label)),o.Ab(2),o.kc("@openClose",e.expanded?"open":"closed"),o.Ab(1),o.Db("side-entity-menu ",e.item.linksClass,""),o.kc("ngStyle",o.pc(25,S,e.linkBgColor)),o.Ab(1),o.kc("ngForOf",e.item.links))},directives:[s.s,c.w,u.c,l.a,c.s,c.q,c.t],pipes:[h.d],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;-ms-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:[r.c,r.d]}}),t}()},yTkW:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n=function(t){a(i,t);var e=s(i);function i(t,n){var r;return g(this,i),(r=e.call(this)).subject=t,r.subscriber=n,r.closed=!1,r}return m(i,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}}}]),i}(i("bwdy").a)},yWI2:function(t,e,i){"use strict";i.d(e,"a",(function(){return y}));var n=i("X2Q7"),r=i("Ssnw"),a=i("EM62"),o=i("OZ4H"),s=i("s2Ay"),c=i("2kYt"),u=i("PBFl"),l=i("csyo"),h=i("FcRk"),d=i("29Wa"),f=i("Cd2c"),p=i("nIj0");function b(t,e){1&t&&a.Nb(0,"mat-spinner",7)}function v(t,e){if(1&t){var i=a.Tb();a.Sb(0,"div",8),a.Sb(1,"app-alert",9),a.Jc(2),a.ec(3,"translate"),a.Rb(),a.Sb(4,"mat-form-field",10),a.Sb(5,"input",11),a.Zb("ngModelChange",(function(t){return a.xc(i),a.dc().value=t})),a.ec(6,"translate"),a.Rb(),a.Rb(),a.Rb()}if(2&t){var n=a.dc();a.Ab(2),a.Lc(" ",a.fc(3,3,"DIALOGS.IMPORT_ATTRIBUTE.INFO")," "),a.Ab(3),a.kc("ngModel",n.value)("placeholder",a.fc(6,5,"DIALOGS.IMPORT_ATTRIBUTE.HINT"))}}var y=function(){var t=function(){function t(e,i,n,r){g(this,t),this.dialogRef=e,this.notificator=i,this.translate=n,this.attributesManager=r,this.value="",this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){}},{key:"create",value:function(){var t=this;try{this.loading=!0,this.attributeData=JSON.parse(this.value),this.attributesManager.createAttributeDefinition({attribute:this.attributeData.attributeDefinition}).subscribe((function(e){for(var i=0;i-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.Mb(n.i),l.Mb(n.a),l.Mb(u.h),l.Mb(c.l),l.Mb(h.e),l.Mb(c.b),l.Mb(c.h))},t.\u0275cmp=l.Gb({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.Sb(0,"div"),l.Sb(1,"h1",0),l.Jc(2),l.ec(3,"translate"),l.Rb(),l.Sb(4,"div",1),l.Sb(5,"p"),l.Jc(6),l.ec(7,"translate"),l.Rb(),l.Sb(8,"mat-radio-group",2),l.Zb("ngModelChange",(function(t){return e.moveOption=t})),l.Hc(9,k,3,3,"mat-radio-button",3),l.Hc(10,E,3,3,"mat-radio-button",4),l.Rb(),l.Hc(11,C,3,3,"app-alert",5),l.Hc(12,T,7,10,"mat-form-field",6),l.Rb(),l.Hc(13,I,1,0,"mat-spinner",7),l.Sb(14,"div",8),l.Sb(15,"button",9),l.Zb("click",(function(){return e.close()})),l.Jc(16),l.ec(17,"translate"),l.Rb(),l.Sb(18,"span",10),l.ec(19,"translate"),l.Sb(20,"button",11),l.Zb("click",(function(){return e.confirm()})),l.Jc(21),l.ec(22,"translate"),l.Rb(),l.Rb(),l.Rb(),l.Rb()),2&t&&(l.Cb(e.data.theme),l.Ab(2),l.Mc("",l.fc(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",e.data.group.name,""),l.Ab(4),l.Lc(" ",l.fc(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),l.Ab(2),l.kc("ngModel",e.moveOption),l.Ab(1),l.kc("ngIf",!e.toRootOptionDisabled),l.Ab(1),l.kc("ngIf",!e.toGroupOptionDisabled),l.Ab(1),l.kc("ngIf",e.toRootOptionDisabled&&e.toGroupOptionDisabled),l.Ab(1),l.kc("ngIf",!e.toGroupOptionDisabled),l.Ab(1),l.kc("ngIf",e.loading),l.Ab(3),l.Lc(" ",l.fc(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),l.Ab(2),l.lc("matTooltip",l.fc(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),l.kc("matTooltipPosition","above")("matTooltipDisabled",null!==e.selectedGroup||"toRoot"===e.moveOption),l.Ab(2),l.kc("disabled",(e.otherGroupsCtrl.invalid||null===e.selectedGroup)&&"toRoot"!==e.moveOption||e.loading),l.Ab(1),l.Lc(" ",l.fc(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[n.j,n.g,d.b,r.r,r.u,f.t,n.c,p.b,b.a,d.a,v.a,y.c,A.b,w.d,r.c,r.C,r.h,w.a,f.s,_.n,S.c],pipes:[h.d,f.b],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[s.c]}}),t}()},yv0D:function(t,e,i){"use strict";i.d(e,"a",(function(){return u})),i.d(e,"c",(function(){return l.a})),i.d(e,"d",(function(){return h.a})),i.d(e,"b",(function(){return d.a}));var n,r=i("2kYt"),a=i("OZ4H"),o=i("PBFl"),s=i("s2Ay"),c=i("EM62"),u=((n=function t(){g(this,t)}).\u0275mod=c.Kb({type:n}),n.\u0275inj=c.Jb({factory:function(t){return new(t||n)},imports:[[r.c,a.h,o.c,s.c]]}),n),l=i("j610"),h=i("VBdk"),d=i("jjFd")},zSH9:function(t,e,i){"use strict";i.d(e,"a",(function(){return w}));var n=i("OZ4H"),r=i("FlRo"),a=i("Ssnw"),o=i("X2Q7"),s=i("EM62"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("csyo");function f(t,e){1&t&&s.Nb(0,"mat-spinner",6)}function p(t,e){1&t&&s.Nb(0,"th",15)}function b(t,e){if(1&t&&(s.Sb(0,"td",16),s.Jc(1),s.Rb()),2&t){var i=e.$implicit,n=s.dc(2);s.Ab(1),s.Lc(" ",n.getMailType(i)," ")}}function v(t,e){1&t&&s.Nb(0,"tr",17)}function y(t,e){1&t&&s.Nb(0,"tr",18)}function A(t,e){if(1&t&&(s.Sb(0,"div",7),s.Sb(1,"p"),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Sb(4,"div",8),s.Jc(5),s.ec(6,"translate"),s.Rb(),s.Sb(7,"table",9),s.Qb(8,10),s.Hc(9,p,1,0,"th",11),s.Hc(10,b,2,1,"td",12),s.Pb(),s.Hc(11,v,1,0,"tr",13),s.Hc(12,y,1,0,"tr",14),s.Rb(),s.Rb()),2&t){var i=s.dc();s.Ab(2),s.Lc(" ",s.fc(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),s.Ab(3),s.Lc(" ",s.fc(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),s.Ab(2),s.kc("dataSource",i.dataSource),s.Ab(4),s.kc("matHeaderRowDef",i.displayedColumns),s.Ab(1),s.kc("matRowDefColumns",i.displayedColumns)}}var w=function(){var t=function(){function t(e,i,n,r,a){g(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.registrarService=a,this.displayedColumns=["name"],this.loading=!1}return m(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.o(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 e,i=d(this.data.mails);try{for(i.s();!(e=i.n()).done;){var n=e.value;this.registrarService.deleteApplicationMailForGroup(this.data.groupId,n.id).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}}catch(s){i.e(s)}finally{i.f()}}else{var r,a=d(this.data.mails);try{for(a.s();!(r=a.n()).done;){var o=r.value;this.registrarService.deleteApplicationMailForVo(this.data.voId,o.id).subscribe((function(){t.dialogRef.close(!0)}),(function(){return t.loading=!1}))}}catch(s){a.e(s)}finally{a.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)(s.Mb(n.i),s.Mb(n.a),s.Mb(a.l),s.Mb(c.e),s.Mb(o.l))},t.\u0275cmp=s.Gb({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&&(s.Sb(0,"div"),s.Sb(1,"h1",0),s.Jc(2),s.ec(3,"translate"),s.Rb(),s.Hc(4,f,1,0,"mat-spinner",1),s.Hc(5,A,13,9,"div",2),s.Sb(6,"div",3),s.Sb(7,"button",4),s.Zb("click",(function(){return e.onCancel()})),s.Jc(8),s.ec(9,"translate"),s.Rb(),s.Sb(10,"button",5),s.Zb("click",(function(){return e.onSubmit()})),s.Jc(11),s.ec(12,"translate"),s.Rb(),s.Rb(),s.Rb()),2&t&&(s.Cb(e.theme),s.Ab(2),s.Kc(s.fc(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),s.Ab(2),s.kc("ngIf",e.loading),s.Ab(1),s.kc("ngIf",!e.loading),s.Ab(3),s.Lc(" ",s.fc(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),s.Ab(2),s.kc("disabled",e.loading),s.Ab(1),s.Lc(" ",s.fc(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[n.j,u.t,n.c,l.b,h.c,n.g,r.n,r.c,r.i,r.b,r.k,r.m,r.h,r.a,r.j,r.l],pipes:[c.d],styles:[""]}),t}()},zUnb:function(t,e,i){"use strict";i.r(e);var n,r=i("EM62"),o=i("e4iD"),c=i("sEIs"),u=((n=function(){function t(){g(this,t)}return m(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||n)},n.\u0275cmp=r.Gb({type:n,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),n),l=i("X2Q7"),h=i("Ssnw"),f=i("4sdY"),p=i("8clQ"),b=i("+0js"),v=i("s2Ay"),y=i("OZ4H"),A=i("lQ7A"),w=i("+Tre"),_=i("nIj0"),S=i("2kYt"),k=i("bFHC"),E=i("PBFl"),C=i("FcRk"),R=i("mFH5");function T(t,e){1&t&&(r.Sb(0,"app-alert",2),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function I(t,e){if(1&t&&(r.Sb(0,"div",5),r.Sb(1,"a",6),r.Sb(2,"span",7),r.Jc(3),r.Rb(),r.Nb(4,"mat-icon",8),r.Jc(5),r.Rb(),r.Rb()),2&t){var i=e.$implicit;r.Ab(1),r.Db("",i.style," item-itself"),r.kc("routerLink",i.url),r.Ab(2),r.Kc(i.type),r.Ab(1),r.kc("svgIcon",i.cssIcon),r.Ab(1),r.Lc(" ",i.label," ")}}function O(t,e){if(1&t&&(r.Sb(0,"div",3),r.Hc(1,I,6,7,"div",4),r.Rb()),2&t){var i=r.dc();r.Ab(1),r.kc("ngForOf",i.items)}}var D,M=((D=function(){function t(){g(this,t),this.items=[]}return m(t,[{key:"ngOnInit",value:function(){var t,e=d(Object(p.r)("recent"));try{for(e.s();!(t=e.n()).done;){var i=t.value;switch(i.type){case"Vo":this.items.push({cssIcon:"perun-vo",url:"/organizations/"+i.id,label:i.name,style:"vo-btn",type:"Organization"});break;case"Group":this.items.push({cssIcon:"perun-group",url:"/organizations/".concat(i.voId,"/groups/").concat(i.id),label:i.name,style:"group-btn",type:"Group"});break;case"Facility":this.items.push({cssIcon:"perun-facility-white",url:"/facilities/"+i.id,label:i.name,style:"facility-btn",type:"Facility"})}}}catch(n){e.e(n)}finally{e.f()}}}]),t}()).\u0275fac=function(t){return new(t||D)},D.\u0275cmp=r.Gb({type:D,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,"routerLink"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(r.Hc(0,T,3,3,"app-alert",0),r.Hc(1,O,2,1,"div",1)),2&t&&(r.kc("ngIf",0===e.items.length),r.Ab(1),r.kc("ngIf",e.items.length>0))},directives:[S.t,C.a,S.s,R.s,c.i,k.a],pipes:[v.d],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}"]}),D),P=i("Y2X+"),x=i("csyo"),N=i("qySP"),L=i("K9kF"),F=i("23RZ"),z=i("w+DT");function H(t,e){1&t&&r.Nb(0,"mat-spinner",7)}var B=function(){return["id","recent","shortName","name"]};function j(t,e){if(1&t&&(r.Sb(0,"span"),r.Nb(1,"perun-web-apps-vos-list",8),r.Rb()),2&t){var i=r.dc(2);r.Ab(1),r.kc("pageSizeOptions",null)("pageSize",5)("displayedColumns",r.oc(5,B))("recentIds",i.recentIds)("vos",i.objects)}}var G=function(){return["select","expiration","menu"]};function U(t,e){if(1&t&&(r.Sb(0,"span"),r.Nb(1,"perun-web-apps-groups-list",9),r.Rb()),2&t){var i=r.dc(2);r.Ab(1),r.kc("pageSizeOptions",null)("pageSize",5)("groups",i.objects)("recentIds",i.recentIds)("hideColumns",r.oc(5,G))}}var K=function(){return["id","recent","name","vo","facility"]};function V(t,e){if(1&t&&(r.Sb(0,"span"),r.Nb(1,"perun-web-apps-resources-list",10),r.Rb()),2&t){var i=r.dc(2);r.Ab(1),r.kc("pageSizeOptions",null)("pageSize",5)("resources",i.objects)("displayedColumns",r.oc(6,K))("recentIds",i.recentIds)("routingVo",!0)}}var q=function(){return["id","recent","name","description"]};function J(t,e){if(1&t&&(r.Sb(0,"span"),r.Nb(1,"perun-web-apps-facilities-list",11),r.Rb()),2&t){var i=r.dc(2);r.Ab(1),r.kc("pageSizeOptions",null)("pageSize",5)("facilities",i.objects)("recentIds",i.recentIds)("displayedColumns",r.oc(5,q))}}function W(t,e){if(1&t&&(r.Sb(0,"div"),r.Hc(1,j,2,6,"span",6),r.Hc(2,U,2,6,"span",6),r.Hc(3,V,2,7,"span",6),r.Hc(4,J,2,6,"span",6),r.Rb()),2&t){var i=r.dc();r.Ab(1),r.kc("ngIf","Vo"==i.primaryObject),r.Ab(1),r.kc("ngIf","Group"==i.primaryObject),r.Ab(1),r.kc("ngIf","Resource"==i.primaryObject),r.Ab(1),r.kc("ngIf","Facility"==i.primaryObject)}}var Z,Y=((Z=function(){function t(e,i,n){g(this,t),this.authzResolver=e,this.guiAuthResolver=i,this.resourceService=n,this.loading=!1,this.recentIds=[]}return m(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=Object(p.r)("vos"),t.loading=!1}));break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe((function(e){t.objects=e,t.recentIds=Object(p.r)("groups"),t.loading=!1}));break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe((function(e){t.objects=e,t.recentIds=Object(p.r)("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=Object(p.r)("facilities"),t.loading=!1}));break;default:this.objects=[],this.loading=!1}}}]),t}()).\u0275fac=function(t){return new(t||Z)(r.Mb(l.d),r.Mb(h.h),r.Mb(l.m))},Z.\u0275cmp=r.Gb({type:Z,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","hideColumns"],[3,"pageSizeOptions","pageSize","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","pageSize","facilities","recentIds","displayedColumns"]],template:function(t,e){1&t&&(r.Sb(0,"div",0),r.Sb(1,"div",1),r.Nb(2,"mat-icon",2),r.Jc(3),r.ec(4,"translate"),r.Sb(5,"span",3),r.ec(6,"translate"),r.Sb(7,"mat-icon",4),r.Jc(8,"info_outline"),r.Rb(),r.Rb(),r.Rb(),r.Hc(9,H,1,0,"mat-spinner",5),r.Hc(10,W,5,4,"div",6),r.Rb()),2&t&&(r.Ab(2),r.kc("svgIcon",e.svgIcon),r.Ab(1),r.Lc(" ",r.fc(4,5,e.title)," "),r.Ab(2),r.lc("matTooltip",r.fc(6,7,e.roleTooltipInfo)),r.Ab(4),r.kc("ngIf",e.loading),r.Ab(1),r.kc("ngIf",!e.loading))},directives:[k.a,P.a,S.t,x.c,N.a,L.a,F.a,z.a],pipes:[v.d],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}"]}),Z),X=i("j+u3");function Q(t,e){if(1&t){var i=r.Tb();r.Sb(0,"div"),r.Sb(1,"mat-checkbox",8),r.Zb("change",(function(t){r.xc(i);var n=e.$implicit,a=r.dc();return t?a.changeRoleView(n):null})),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Rb()}if(2&t){var n=e.$implicit,a=r.dc();r.Ab(1),r.kc("checked",a.isRoleShowed(n)),r.Ab(1),r.Kc(r.fc(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+n))}}function $(t,e){if(1&t){var i=r.Tb();r.Sb(0,"button",15),r.Zb("click",(function(){return r.xc(i),r.dc(2).rightSettingOpened=!0})),r.Sb(1,"mat-icon"),r.Jc(2,"settings"),r.Rb(),r.Rb()}}function tt(t,e){1&t&&(r.Sb(0,"span"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function et(t,e){1&t&&(r.Sb(0,"span"),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Kc(r.fc(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function it(t,e){if(1&t){var i=r.Tb();r.Sb(0,"button",23),r.Zb("click",(function(){return r.xc(i),r.dc(3).goToUserProfile()})),r.Sb(1,"mat-icon",24),r.Jc(2,"exit_to_app"),r.Rb(),r.Jc(3),r.ec(4,"translate"),r.Rb()}2&t&&(r.Ab(3),r.Lc("",r.fc(4,1,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," "))}var nt=function(){return["/myProfile"]};function rt(t,e){if(1&t&&(r.Sb(0,"div"),r.Sb(1,"div",16),r.Sb(2,"div",17),r.Jc(3),r.ec(4,"translate"),r.Rb(),r.Sb(5,"div",18),r.Hc(6,tt,3,3,"span",14),r.Hc(7,et,3,3,"span",14),r.Rb(),r.Sb(8,"div",19),r.Sb(9,"button",20),r.Nb(10,"mat-icon",21),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Hc(13,it,5,3,"button",22),r.Rb(),r.Rb(),r.Rb()),2&t){var i=r.dc(2);r.Ab(3),r.Lc(" ",r.fc(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),r.Ab(3),r.kc("ngIf",!i.userProfileUrl),r.Ab(1),r.kc("ngIf",i.userProfileUrl),r.Ab(2),r.kc("routerLink",r.oc(10,nt)),r.Ab(2),r.Lc(" ",r.fc(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),r.Ab(2),r.kc("ngIf",i.userProfileUrl)}}function at(t,e){1&t&&(r.Sb(0,"span"),r.Sb(1,"div",3),r.Jc(2),r.ec(3,"translate"),r.Rb(),r.Nb(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),r.Rb()),2&t&&(r.Ab(2),r.Lc(" ",r.fc(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function ot(t,e){1&t&&(r.Sb(0,"div",27),r.Jc(1),r.ec(2,"translate"),r.Rb()),2&t&&(r.Ab(1),r.Lc(" ",r.fc(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function st(t,e){if(1&t&&r.Nb(0,"app-perun-web-apps-dashboard-card",30),2&t){var i=r.dc().$implicit,n=r.dc(3);r.kc("roleName",i)("role",n.roles[i])}}function ct(t,e){if(1&t&&(r.Sb(0,"div",28),r.Hc(1,st,1,2,"app-perun-web-apps-dashboard-card",29),r.Rb()),2&t){var i=e.$implicit,n=r.dc(3);r.Ab(1),r.kc("ngIf",n.isRoleShowed(i))}}function ut(t,e){if(1&t&&(r.Sb(0,"div"),r.Hc(1,at,5,3,"span",14),r.Hc(2,ot,3,3,"div",25),r.Sb(3,"div"),r.Hc(4,ct,2,1,"div",26),r.Rb(),r.Rb()),2&t){var i=r.dc(2);r.Ab(1),r.kc("ngIf",i.recentlyViewedShow),r.Ab(1),r.kc("ngIf",i.rolesToHide.toString()!==i.roleNames.toString()),r.Ab(2),r.kc("ngForOf",i.roleNames)}}function lt(t,e){if(1&t&&(r.Sb(0,"div",9),r.Sb(1,"h1",10),r.Nb(2,"mat-icon",11),r.Sb(3,"span",12),r.Jc(4),r.ec(5,"translate"),r.ec(6,"userFullName"),r.Rb(),r.Hc(7,$,3,0,"button",13),r.Rb(),r.Hc(8,rt,14,11,"div",14),r.Hc(9,ut,5,3,"div",14),r.Rb()),2&t){var i=r.dc();r.Ab(4),r.Mc("",r.fc(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",r.fc(6,7,i.user),""),r.Ab(3),r.kc("ngIf",!i.isOnlySelfRole),r.Ab(1),r.kc("ngIf",i.isOnlySelfRole),r.Ab(1),r.kc("ngIf",!i.isOnlySelfRole)}}var ht,dt,ft,pt=((ht=function(){function t(e,i,n,r,a,o,s,c,u,l,h,d){var f=this;g(this,t),this.userManager=e,this.storeService=i,this.guiAuthResolver=n,this.facilitiesService=r,this.resourcesService=a,this.sideMenuService=o,this.route=s,this.router=c,this.notificator=u,this.translateService=l,this.dialog=h,this.apiRequestConfiguration=d,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"],l.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe((function(t){return f.mailSuccessMessage=t}))}return m(t,[{key:"ngOnInit",value:function(){this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.userProfileUrl=this.storeService.get("user_profile_url");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=Object(p.o)();e.width="600px",t.dialog.open(b.j,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=d(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(a){n.e(a)}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=d(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}}]),t}()).\u0275fac=function(t){return new(t||ht)(r.Mb(l.q),r.Mb(h.m),r.Mb(h.h),r.Mb(l.g),r.Mb(l.m),r.Mb(f.a),r.Mb(c.a),r.Mb(c.f),r.Mb(h.l),r.Mb(v.e),r.Mb(y.b),r.Mb(h.b))},ht.\u0275cmp=r.Gb({type:ht,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(t,e){2&t&&r.Eb("router-component",!0)},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,"d-flex","pt-3"],["mat-stroked-button","",1,"ml-auto","mr-auto","text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon"],["mat-stroked-button","","class","ml-auto mr-auto text-bigger",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","mr-auto","text-bigger",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.Sb(0,"mat-sidenav-container",0),r.Sb(1,"mat-sidenav",1),r.Zb("openedChange",(function(t){return e.rightSettingOpened=t})),r.Sb(2,"div",2),r.Sb(3,"div",3),r.Jc(4),r.ec(5,"translate"),r.Rb(),r.Sb(6,"div"),r.Sb(7,"mat-checkbox",4),r.Zb("ngModelChange",(function(t){return e.recentlyViewedShow=t}))("change",(function(t){return t?e.recentlyViewedChanged():null})),r.Jc(8),r.ec(9,"translate"),r.Rb(),r.Rb(),r.Sb(10,"div",5),r.Jc(11),r.ec(12,"translate"),r.Rb(),r.Hc(13,Q,4,4,"div",6),r.Rb(),r.Rb(),r.Sb(14,"mat-sidenav-content"),r.Hc(15,lt,10,9,"div",7),r.Rb(),r.Rb()),2&t&&(r.Ab(1),r.kc("opened",e.rightSettingOpened),r.Ab(3),r.Kc(r.fc(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),r.Ab(3),r.kc("ngModel",e.recentlyViewedShow),r.Ab(1),r.Kc(r.fc(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),r.Ab(3),r.Kc(r.fc(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),r.Ab(2),r.kc("ngForOf",e.roleNames),r.Ab(2),r.kc("ngIf",void 0!==e.user))},directives:[A.e,A.d,w.a,_.r,_.u,S.s,A.f,S.t,k.a,E.b,c.g,M,Y],pipes:[v.d,X.a],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;-moz-column-gap:1rem;column-gap:1rem;margin:0}.dashboard-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 1rem 1rem 0;display:inline-block;min-width:300px;width:100%}.home-image[_ngcontent-%COMP%]{transform:scale(1.4);margin-right:.7rem;margin-left:.6rem}.text-align[_ngcontent-%COMP%]{text-align:center;font-size:1.25rem}.text-bigger[_ngcontent-%COMP%]{font-size:1.1rem}.user-icon[_ngcontent-%COMP%]{vertical-align:top}.dashboard[_ngcontent-%COMP%]{position:relative;min-height:calc(100vh - 64px - 200px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),ht),gt=i("h39k"),bt=i("HHEo"),mt=((ft=function t(){g(this,t)}).\u0275mod=r.Kb({type:ft}),ft.\u0275inj=r.Jb({factory:function(t){return new(t||ft)},imports:[[S.c,E.c,k.b,c.j,bt.d,v.c]]}),ft),vt=((dt=function(){function t(e){g(this,t),this.auth=e}return m(t,[{key:"startAuth",value:function(){this.auth.startAuthentication()}}]),t}()).\u0275fac=function(t){return new(t||dt)(r.Mb(h.d))},dt.\u0275cmp=r.Gb({type:dt,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.Sb(0,"div",0),r.Sb(1,"div",1),r.Sb(2,"div",2),r.Sb(3,"h4",3),r.Jc(4),r.ec(5,"translate"),r.Rb(),r.Sb(6,"button",4),r.Zb("click",(function(){return e.startAuth()})),r.Jc(7),r.ec(8,"translate"),r.Sb(9,"mat-icon"),r.Jc(10," login "),r.Rb(),r.Rb(),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.Ab(4),r.Lc(" ",r.fc(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),r.Ab(3),r.Lc(" ",r.fc(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[E.b,k.a],pipes:[v.d],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),dt),yt=i("2Zb0"),At=function(t){return{padding:t}},wt=function(){return{height:"56px"}};function _t(t,e){if(1&t&&(r.Sb(0,"div",9),r.Nb(1,"div",10),r.Rb()),2&t){var i=r.dc();r.kc("ngStyle",r.pc(3,At,i.logoPadding)),r.Ab(1),r.kc("innerHTML",i.logo,r.yc)("ngStyle",r.oc(5,wt))}}function St(t,e){if(1&t&&(r.Sb(0,"div",11),r.Nb(1,"div",12),r.Nb(2,"mat-icon",13),r.Rb()),2&t){var i=r.dc();r.Ab(1),r.kc("innerHTML",i.logo,r.yc)}}function kt(t,e){if(1&t&&(r.Sb(0,"div"),r.Nb(1,"a",14),r.Rb()),2&t){var i=r.dc();r.Ab(1),r.kc("innerHTML",i.logo,r.yc)}}var Et=function(t){return{color:t}};function Ct(t,e){if(1&t&&(r.Sb(0,"p",15),r.Jc(1),r.Rb()),2&t){var i=r.dc();r.kc("ngStyle",r.pc(2,Et,i.textColor)),r.Ab(1),r.Lc(" ",i.headerTitle," ")}}var Rt,Tt,It=function(t){return{background:t}},Ot=function(t,e){return{"min-height":t,"background-color":e}},Dt=((Rt=function(){function t(e,i){g(this,t),this.storeService=e,this.sanitizer=i,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}return m(t,[{key:"ngOnInit",value:function(){this.headerBackgroundColor=this.storeService.get("theme",this.headerColorConfigLabel),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}()).\u0275fac=function(t){return new(t||Rt)(r.Mb(h.m),r.Mb(o.b))},Rt.\u0275cmp=r.Gb({type:Rt,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerColorConfigLabel:"headerColorConfigLabel",headerTitle:"headerTitle"},decls:11,vars:11,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],[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"],[1,"ml-3",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(r.Sb(0,"div",0),r.Hc(1,_t,2,6,"div",1),r.Hc(2,St,3,1,"div",2),r.Hc(3,kt,2,1,"div",3),r.Hc(4,Ct,2,4,"p",4),r.Rb(),r.Sb(5,"div",5),r.Sb(6,"div",6),r.Sb(7,"div",7),r.Nb(8,"router-outlet"),r.Rb(),r.Sb(9,"div",8),r.Nb(10,"perun-web-apps-footer"),r.Rb(),r.Rb(),r.Rb()),2&t&&(r.kc("ngStyle",r.pc(6,It,e.headerBackgroundColor)),r.Ab(1),r.kc("ngIf","admin-gui"===e.application),r.Ab(1),r.kc("ngIf","publications"===e.application),r.Ab(1),r.kc("ngIf","user-profile"===e.application),r.Ab(1),r.kc("ngIf",!!e.headerTitle),r.Ab(2),r.kc("ngStyle",r.qc(8,Ot,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[S.w,S.t,c.k,yt.a,k.a],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;height:200px;bottom:0;width:100%}@media (max-width:768px){#footer[_ngcontent-%COMP%]{height:450px}}#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}"]}),Rt),Mt=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:bt.e},{path:"api-callback",component:u},{path:"login",component:vt},{path:"organizations",loadChildren:function(){return Promise.all([i.e(2),i.e(9)]).then(i.bind(null,"B2++")).then((function(t){return t.VosModule}))}},{path:"admin",loadChildren:function(){return Promise.all([i.e(1),i.e(7)]).then(i.bind(null,"jkDv")).then((function(t){return t.AdminModule}))}},{path:"facilities",loadChildren:function(){return Promise.all([i.e(1),i.e(2),i.e(8)]).then(i.bind(null,"pjY/")).then((function(t){return t.FacilitiesModule}))}},{path:"myProfile",loadChildren:function(){return i.e(1).then(i.bind(null,"zrcO")).then((function(t){return t.UsersModule}))}},{path:"home",component:pt},{path:"**",component:gt.a}],Pt=((Tt=function t(){g(this,t)}).\u0275mod=r.Kb({type:Tt}),Tt.\u0275inj=r.Jb({factory:function(t){return new(t||Tt)},imports:[[c.j.forRoot(Mt,{preloadingStrategy:c.d,scrollPositionRestoration:"enabled"})],c.j]}),Tt),xt=i("Sy1n"),Nt=i("PCNd"),Lt=function(){return["organizations"]};function Ft(t,e){1&t&&(r.Sb(0,"a",6),r.Nb(1,"mat-icon",2),r.Sb(2,"h1"),r.Jc(3),r.ec(4,"translate"),r.Rb(),r.Sb(5,"p"),r.Jc(6),r.ec(7,"translate"),r.Rb(),r.Rb()),2&t&&(r.kc("routerLink",r.oc(8,Lt)),r.Ab(1),r.kc("svgIcon","perun-vo"),r.Ab(2),r.Kc(r.fc(4,4,"MAIN_MENU.ACCESS")),r.Ab(3),r.Kc(r.fc(7,6,"MAIN_MENU.ACCESS_DESC")))}var zt=function(){return["facilities"]};function Ht(t,e){1&t&&(r.Sb(0,"a",7),r.Nb(1,"mat-icon",2),r.Sb(2,"h1"),r.Jc(3),r.ec(4,"translate"),r.Rb(),r.Sb(5,"p"),r.Jc(6),r.ec(7,"translate"),r.Rb(),r.Rb()),2&t&&(r.kc("routerLink",r.oc(8,zt)),r.Ab(1),r.kc("svgIcon","perun-manage-facility"),r.Ab(2),r.Kc(r.fc(4,4,"MAIN_MENU.FACILITIES")),r.Ab(3),r.Kc(r.fc(7,6,"MAIN_MENU.FACILITIES_DESC")))}var Bt=function(){return["admin"]};function jt(t,e){1&t&&(r.Sb(0,"a",8),r.Nb(1,"mat-icon",2),r.Sb(2,"h1"),r.Jc(3),r.ec(4,"translate"),r.Rb(),r.Sb(5,"p"),r.Jc(6),r.ec(7,"translate"),r.Rb(),r.Rb()),2&t&&(r.kc("routerLink",r.oc(8,Bt)),r.Ab(1),r.kc("svgIcon","perun-perun-admin"),r.Ab(2),r.Kc(r.fc(4,4,"MAIN_MENU.ADMIN")),r.Ab(3),r.Kc(r.fc(7,6,"MAIN_MENU.ADMIN_DESC")))}var Gt,Ut,Kt,Vt,qt=function(){return["profile"]},Jt=((Gt=function(){function t(e,i){g(this,t),this.sideMenuService=e,this.authResolver=i}return m(t,[{key:"ngOnInit",value:function(){this.sideMenuService.reset()}}]),t}()).\u0275fac=function(t){return new(t||Gt)(r.Mb(f.a),r.Mb(h.h))},Gt.\u0275cmp=r.Gb({type:Gt,selectors:[["app-main-menu-page"]],decls:12,vars:12,consts:[[1,"buttons-container","pl-2","pr-2","pl-xl-5","pr-xl-5"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","user-btn",3,"routerLink"],[1,"item-pic","perun-icon",3,"svgIcon"],["class","main-menu-button vo-btn","queryParamsHandling","merge","mat-ripple","",3,"routerLink",4,"ngIf"],["class","main-menu-button facility-btn","queryParamsHandling","merge","mat-ripple","",3,"routerLink",4,"ngIf"],["class","main-menu-button admin-btn","queryParamsHandling","merge","mat-ripple","",3,"routerLink",4,"ngIf"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","vo-btn",3,"routerLink"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","facility-btn",3,"routerLink"],["queryParamsHandling","merge","mat-ripple","",1,"main-menu-button","admin-btn",3,"routerLink"]],template:function(t,e){1&t&&(r.Sb(0,"div",0),r.Sb(1,"a",1),r.Nb(2,"mat-icon",2),r.Sb(3,"h1"),r.Jc(4),r.ec(5,"translate"),r.Rb(),r.Sb(6,"p"),r.Jc(7),r.ec(8,"translate"),r.Rb(),r.Rb(),r.Hc(9,Ft,8,9,"a",3),r.Hc(10,Ht,8,9,"a",4),r.Hc(11,jt,8,9,"a",5),r.Rb()),2&t&&(r.Ab(1),r.kc("routerLink",r.oc(11,qt)),r.Ab(1),r.kc("svgIcon","perun-user"),r.Ab(2),r.Kc(r.fc(5,7,"MAIN_MENU.PROFILE")),r.Ab(3),r.Kc(r.fc(8,9,"MAIN_MENU.PROFILE_DESC")),r.Ab(2),r.kc("ngIf",e.authResolver.isVoAdmin()||e.authResolver.isVoObserver()),r.Ab(1),r.kc("ngIf",e.authResolver.canManageFacilities()),r.Ab(1),r.kc("ngIf",e.authResolver.isPerunAdmin()))},directives:[c.i,R.s,k.a,S.t],pipes:[v.d],styles:[".buttons-container[_ngcontent-%COMP%]{display:grid;padding-top:24px;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-column-gap:24px;grid-row-gap:24px}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:60px;margin-bottom:22px}.main-menu-button[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;min-width:230px;min-height:230px;padding:30px}.main-menu-button[_ngcontent-%COMP%]:hover{text-decoration:none}.main-menu-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px}.main-menu-button[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:500;font-size:1.25rem;text-align:center;margin-bottom:1rem}.main-menu-button[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;margin-bottom:0!important}"]}),Gt),Wt=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";g(this,t),this.http=e,this.prefix=i,this.suffix=n}return m(t,[{key:"getTranslation",value:function(t){return this.http.get("".concat(this.prefix).concat(t).concat(this.suffix))}}]),t}(),Zt=i("vobO"),Yt=i("5lCh"),Xt=((Ut=function t(){g(this,t)}).\u0275mod=r.Kb({type:Ut}),Ut.\u0275inj=r.Jb({factory:function(t){return new(t||Ut)},providers:[h.d],imports:[[S.c]]}),Ut),Qt=i("M7la"),$t=i("tT6Y"),te=i("Sv31"),ee=i("dWQl"),ie=i("got8"),ne=i("HdwC"),re=i("vUMc"),ae=i("Wq+4"),oe=i("s8L6"),se=i("hQLc"),ce=i("5bHy"),ue=i("KSio"),le=i("D+oT"),he=i("IgBI"),de=i("JKyc"),fe=i("7TQF"),pe=i("VFai"),ge=i("+Jyz"),be=((Kt=function(){function t(){g(this,t),this.allowCachePages=[{type:"vo",components:[Qt.a.id,$t.a.id,te.a.id,ce.a.id,ue.a.id,he.a.id,ge.a.id]},{type:"group",components:[re.a.id,ne.a.id,ie.a.id,ee.a.id,de.a.id]},{type:"facility",components:[ae.a.id,oe.a.id]},{type:"member",components:[se.a.id]},{type:"admin",components:[le.a.id]},{type:"entitySelect",components:[fe.a.id,pe.a.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=d(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 m(t,[{key:"setLastNavigationType",value:function(t){this.isUserNavigatingBack="back"===t}},{key:"checkResets",value:function(t){var e,i=this.getPath(t),n=d(this.resets);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.resetPath===i){var a=t.params[r.param];null!==r.lastValue&&r.lastValue!==a&&this.typeToComponentToHandlers.get(r.resetType).clear(),r.lastValue=a}}}catch(o){n.e(o)}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=d(this.allowCachePages);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(-1!==r.components.indexOf(i)){var a=this.typeToComponentToHandlers.get(r.type).get(i);return void 0===a?null:a.routeHandle}}}catch(o){n.e(o)}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=d(this.allowCachePages);try{for(n.s();!(e=n.n()).done;){var r=e.value,a=this.typeToComponentToHandlers.get(r.type).get(i);if(void 0!==a&&this.getCurrentTimestamp()-a.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=d(this.allowCachePages);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(-1!==r.components.indexOf(i))return r.type}}catch(a){n.e(a)}finally{n.f()}return null}},{key:"getPath",value:function(t){return null!==t.routeConfig&&null!==t.routeConfig.path?t.routeConfig.path:""}}]),t}()).\u0275fac=function(t){return new(t||Kt)},Kt.\u0275prov=r.Ib({token:Kt,factory:Kt.\u0275fac}),Kt),me=new r.r("perun-api-service"),ve=((Vt=function(){function t(e,i){g(this,t),this.http=e,this.storeService=i}return m(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,[ye(tinycolor(i).lighten(52),"50"),ye(tinycolor(i).lighten(37),"100"),ye(tinycolor(i).lighten(26),"200"),ye(tinycolor(i).lighten(12),"300"),ye(tinycolor(i).lighten(6),"400"),ye(tinycolor(i),"500"),ye(tinycolor(i).darken(6),"600"),ye(tinycolor(i).darken(12),"700"),ye(tinycolor(i).darken(18),"800"),ye(tinycolor(i).darken(24),"900"),ye(tinycolor(i).lighten(50).saturate(30),"A100"),ye(tinycolor(i).lighten(30).saturate(30),"A200"),ye(tinycolor(i).lighten(10).saturate(15),"A400"),ye(tinycolor(i).lighten(5).saturate(5),"A700")]);nt[a]-t[o]-1&&(t.reach[c]="end"),e&&(h.dispatchEvent(Ye("ps-scroll-"+c)),e<0?h.dispatchEvent(Ye("ps-scroll-"+u)):e>0&&h.dispatchEvent(Ye("ps-scroll-"+l)),n&&function(t,e){Ve(t,e),qe(t,e)}(t,c)),t.reach[c]&&(e||r)&&h.dispatchEvent(Ye("ps-"+c+"-reach-"+t.reach[c]))}(t,i,a,n,r)}function Qe(t){return parseInt(t,10)||0}Ze.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new Je(t),this.eventElements.push(e)),e},Ze.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},Ze.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)},Ze.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},Ze.prototype.once=function(t,e,i){var n=this.eventElement(t);n.bind(e,(function t(r){n.unbind(e,t),i(r)}))};var $e={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 ti(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)||(He(e,je("x")).forEach((function(t){return ze(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(He(e,je("y")).forEach((function(t){return ze(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,xe(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,xe(e.scrollbarYRail,r),xe(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),xe(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(Ge("x")):(e.classList.remove(Ge("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(Ge("y")):(e.classList.remove(Ge("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function ei(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 ii(t,e){var i=e[0],n=e[1],r=e[2],a=e[3],o=e[4],s=e[5],c=e[6],u=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[c]=d+p*(e[r]-f),Ve(t,u),ti(t),e.stopPropagation(),e.preventDefault()}function b(){qe(t,u),t[l].classList.remove("ps--clicking"),t.event.unbind(t.ownerDocument,"mousemove",g)}function m(e,o){d=h[c],o&&e.touches&&(e[r]=e.touches[0].pageY),f=e[r],p=(t[n]-t[i])/(t[a]-t[s]),o?t.event.bind(t.ownerDocument,"touchmove",g):(t.event.bind(t.ownerDocument,"mousemove",g),t.event.once(t.ownerDocument,"mouseup",b),e.preventDefault()),t[l].classList.add("ps--clicking"),e.stopPropagation()}t.event.bind(t[o],"mousedown",(function(t){m(t)})),t.event.bind(t[o],"touchstart",(function(t){m(t,!0)}))}var ni={"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,ti(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,ti(t),e.stopPropagation()}))},"drag-thumb":function(t){ii(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ii(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)&&(Fe(e,":hover")||Fe(t.scrollbarX,":focus")||Fe(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(Fe(n=r,"input,[contenteditable]")||Fe(n,"select,[contenteditable]")||Fe(n,"textarea,[contenteditable]")||Fe(n,"button,[contenteditable]"))return}var a=0,o=0;switch(i.which){case 37:a=i.metaKey?-t.contentWidth:i.altKey?-t.containerWidth:-30;break;case 38:o=i.metaKey?t.contentHeight:i.altKey?t.containerHeight:30;break;case 39:a=i.metaKey?t.contentWidth:i.altKey?t.containerWidth:30;break;case 40:o=i.metaKey?-t.contentHeight:i.altKey?-t.containerHeight:-30;break;case 32:o=i.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:o=t.containerHeight;break;case 34:o=-t.containerHeight;break;case 36:o=t.contentHeight;break;case 35:o=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==a||t.settings.suppressScrollY&&0!==o||(e.scrollTop-=o,e.scrollLeft+=a,ti(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 a=e.scrollLeft;if(0===n){if(!t.scrollbarXActive)return!1;if(0===a&&i<0||a>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}(a,o)&&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],a=n[1];if(!function(t,i,n){if(!$e.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 a=Pe(r);if(n&&a.overflowY.match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&(r.scrollTop>0&&n<0||r.scrollTop0))return!0}if(i&&a.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,a)){var o=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(a?e.scrollTop-=a*t.settings.wheelSpeed:e.scrollTop+=r*t.settings.wheelSpeed,o=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(r?e.scrollLeft+=r*t.settings.wheelSpeed:e.scrollLeft-=a*t.settings.wheelSpeed,o=!0):(e.scrollTop-=a*t.settings.wheelSpeed,e.scrollLeft+=r*t.settings.wheelSpeed),ti(t),(o=o||function(i,n){var r=Math.floor(e.scrollTop),a=0===e.scrollTop,o=r+e.offsetHeight===e.scrollHeight,s=0===e.scrollLeft,c=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(n)>Math.abs(i)?a||o:s||c)||!t.settings.wheelPropagation}(r,a))&&!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($e.supportsTouch||$e.supportsIePointer){var e=t.element,i={},n=0,r={},a=null;$e.supportsTouch?(t.event.bind(e,"touchstart",u),t.event.bind(e,"touchmove",l),t.event.bind(e,"touchend",h)):$e.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 o(i,n){e.scrollTop-=n,e.scrollLeft-=i,ti(t)}function s(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=s(t);i.pageX=e.pageX,i.pageY=e.pageY,n=(new Date).getTime(),null!==a&&clearInterval(a)}}function l(a){if(c(a)){var u=s(a),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 r=t;r&&r!==e;){if(r.classList.contains("ps__child--consume"))return!0;var a=Pe(r);if(n&&a.overflowY.match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&(r.scrollTop>0&&n<0||r.scrollTop0))return!0}if(i&&a.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}(a.target,h,d))return;o(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),a=e.scrollLeft,o=Math.abs(i),s=Math.abs(n);if(s>o){if(n<0&&r===t.contentHeight-t.containerHeight||n>0&&0===r)return 0===window.scrollY&&n>0&&$e.isChrome}else if(o>s&&(i<0&&a===t.contentWidth-t.containerWidth||i>0&&0===a))return!0;return!0}(h,d)&&a.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(a),a=setInterval((function(){t.isInitialized?clearInterval(a):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(a):(o(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(a)}),10))}}},ri=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,a,o=function(){return t.classList.add("ps--focus")},s=function(){return t.classList.remove("ps--focus")};this.isRtl="rtl"===Pe(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(a=t.scrollLeft,t.scrollLeft=-1,r=t.scrollLeft<0,t.scrollLeft=a,r),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Ze,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=Ne(je("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=Ne(Be("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",s),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=Qe(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Qe(c.borderLeftWidth)+Qe(c.borderRightWidth),xe(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Qe(c.marginLeft)+Qe(c.marginRight),xe(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Ne(je("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=Ne(Be("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=Pe(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Qe(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=Pe(t);return Qe(e.width)+Qe(e.paddingLeft)+Qe(e.paddingRight)+Qe(e.borderLeftWidth)+Qe(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Qe(u.borderTopWidth)+Qe(u.borderBottomWidth),xe(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Qe(u.marginTop)+Qe(u.marginBottom),xe(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 ni[t](i)})),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return i.onScroll(t)})),ti(this)};ri.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,xe(this.scrollbarXRail,{display:"block"}),xe(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Qe(Pe(this.scrollbarXRail).marginLeft)+Qe(Pe(this.scrollbarXRail).marginRight),this.railYMarginHeight=Qe(Pe(this.scrollbarYRail).marginTop)+Qe(Pe(this.scrollbarYRail).marginBottom),xe(this.scrollbarXRail,{display:"none"}),xe(this.scrollbarYRail,{display:"none"}),ti(this),Xe(this,"top",0,!1,!0),Xe(this,"left",0,!1,!0),xe(this.scrollbarXRail,{display:""}),xe(this.scrollbarYRail,{display:""}))},ri.prototype.onScroll=function(t){this.isAlive&&(ti(this),Xe(this,"top",this.element.scrollTop-this.lastScrollTop),Xe(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},ri.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),ze(this.scrollbarX),ze(this.scrollbarY),ze(this.scrollbarXRail),ze(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},ri.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")};var ai=ri,oi=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(){si&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),hi?(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(){si&&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;li.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}(),fi=function(t,e){for(var i=0,n=Object.keys(e);i0},t}(),Si="undefined"!=typeof WeakMap?new WeakMap:new oi,ki=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=di.getInstance(),n=new _i(e,i,this);Si.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){ki.prototype[t]=function(){var e;return(e=Si.get(this))[t].apply(e,arguments)}}));var Ei=void 0!==ci.ResizeObserver?ci.ResizeObserver:ki;function Ci(t,e){if(1&t&&(r.Sb(0,"div",3),r.Nb(1,"div",4),r.Nb(2,"div",5),r.Nb(3,"div",6),r.Nb(4,"div",7),r.Rb()),2&t){var i=r.dc();r.Eb("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.Ab(1),r.Eb("ps-indicator-show",i.indicatorY&&i.interaction),r.Ab(1),r.Eb("ps-indicator-show",i.indicatorX&&i.interaction),r.Ab(1),r.Eb("ps-indicator-show",i.indicatorX&&i.interaction),r.Ab(1),r.Eb("ps-indicator-show",i.indicatorY&&i.interaction)}}var Ri,Ti,Ii,Oi=["*"],Di=new r.r("PERFECT_SCROLLBAR_CONFIG"),Mi=function t(e,i,n,r){g(this,t),this.x=e,this.y=i,this.w=n,this.h=r},Pi=function t(e,i){g(this,t),this.x=e,this.y=i},xi=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"],Ni=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};g(this,t),this.assign(e)}return m(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}(),Li=((Ii=function(){function t(e,i,n,a,o){g(this,t),this.zone=e,this.differs=i,this.elementRef=n,this.platformId=a,this.defaults=o,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new Se.a,this.disabled=!1,this.psScrollY=new r.o,this.psScrollX=new r.o,this.psScrollUp=new r.o,this.psScrollDown=new r.o,this.psScrollLeft=new r.o,this.psScrollRight=new r.o,this.psYReachEnd=new r.o,this.psYReachStart=new r.o,this.psXReachEnd=new r.o,this.psXReachStart=new r.o}return m(t,[{key:"ngOnInit",value:function(){var t=this;if(!this.disabled&&Object(S.J)(this.platformId)){var e=new Ni(this.defaults);e.assign(this.config),this.zone.runOutsideAngular((function(){t.instance=new ai(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 Ei((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(){xi.forEach((function(e){var i=e.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}));Object(ke.a)(t.elementRef.nativeElement,i).pipe(Object(Ce.a)(20),Object(Re.a)(t.ngDestroy)).subscribe((function(i){t[e].emit(i)}))}))}))}}},{key:"ngOnDestroy",value:function(){var t=this;Object(S.J)(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&&Object(S.J)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}},{key:"ngOnChanges",value:function(t){t.disabled&&!t.disabled.isFirstChange()&&Object(S.J)(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 Mi(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 Pi(this.instance.reach.x||0,this.instance.reach.y||0):new Pi(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(),a=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",r.left-a.left+this.elementRef.nativeElement.scrollLeft+(e||0),i),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",r.top-a.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,a=0,o=performance.now(),s=this.elementRef.nativeElement[t],c=(s-e)/2;window.requestAnimationFrame((function u(l){a+=Math.PI/(i/(l-o)),r=Math.round(e+c+c*Math.cos(a)),n.elementRef.nativeElement[t]===s&&(a>=Math.PI?n.animateScrolling(t,e,0):(n.elementRef.nativeElement[t]=r,s=n.elementRef.nativeElement[t],o=l,n.animation=window.requestAnimationFrame(u)))}))}}else this.elementRef.nativeElement[t]=e}}]),t}()).\u0275fac=function(t){return new(t||Ii)(r.Mb(r.A),r.Mb(r.u),r.Mb(r.l),r.Mb(r.C),r.Mb(Di,8))},Ii.\u0275dir=r.Hb({type:Ii,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.yb]}),Ii),Fi=((Ti=function(){function t(e,i,n){g(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 Se.a,this.stateUpdate=new Se.a,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new r.o,this.psScrollX=new r.o,this.psScrollUp=new r.o,this.psScrollDown=new r.o,this.psScrollLeft=new r.o,this.psScrollRight=new r.o,this.psYReachEnd=new r.o,this.psYReachStart=new r.o,this.psXReachEnd=new r.o,this.psXReachStart=new r.o}return m(t,[{key:"ngOnInit",value:function(){var t=this;Object(S.J)(this.platformId)&&(this.stateUpdate.pipe(Object(Re.a)(this.ngDestroy),Object(Te.a)((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;Object(ke.a)(e,"wheel").pipe(Object(Re.a)(t.ngDestroy)).subscribe((function(e){!t.disabled&&t.autoPropagation&&t.checkPropagation(e,e.deltaX,e.deltaY)})),Object(ke.a)(e,"touchmove").pipe(Object(Re.a)(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}})),Object(Ee.a)(Object(ke.a)(e,"ps-scroll-x").pipe(Oe("x")),Object(ke.a)(e,"ps-scroll-y").pipe(Oe("y")),Object(ke.a)(e,"ps-x-reach-end").pipe(Oe("right")),Object(ke.a)(e,"ps-y-reach-end").pipe(Oe("bottom")),Object(ke.a)(e,"ps-x-reach-start").pipe(Oe("left")),Object(ke.a)(e,"ps-y-reach-start").pipe(Oe("top"))).pipe(Object(Re.a)(t.ngDestroy)).subscribe((function(e){t.disabled||!t.autoPropagation&&!t.scrollIndicators||t.stateUpdate.next(e)}))}})),window.setTimeout((function(){xi.forEach((function(e){t.directiveRef&&(t.directiveRef[e]=t[e])}))}),0))}},{key:"ngOnDestroy",value:function(){Object(S.J)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}},{key:"ngDoCheck",value:function(){if(Object(S.J)(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}()).\u0275fac=function(t){return new(t||Ti)(r.Mb(r.A),r.Mb(r.h),r.Mb(r.C))},Ti.\u0275cmp=r.Gb({type:Ti,selectors:[["perfect-scrollbar"]],viewQuery:function(t,e){var i;1&t&&r.Dc(Li,!0),2&t&&r.sc(i=r.ac())&&(e.directiveRef=i.first)},hostVars:4,hostBindings:function(t,e){2&t&&r.Eb("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:Oi,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.jc(),r.Sb(0,"div",0),r.Sb(1,"div",1),r.ic(2),r.Rb(),r.Hc(3,Ci,5,16,"div",2),r.Rb()),2&t&&(r.Eb("ps",e.usePSClass),r.kc("perfectScrollbar",e.config)("disabled",e.disabled),r.Ab(3),r.kc("ngIf",e.scrollIndicators))},directives:[Li,S.t],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}),Ti),zi=((Ri=function t(){g(this,t)}).\u0275mod=r.Kb({type:Ri}),Ri.\u0275inj=r.Jb({factory:function(t){return new(t||Ri)},imports:[[S.c],S.c]}),Ri),Hi=i("BYpP"),Bi=i("gpj7"),ji=i("qvOF"),Gi=i("ulve"),Ui=i("E5oP"),Ki=i("H0K4"),Vi=i("29Wa"),qi=i("Cd2c"),Ji=i("A1vf"),Wi=i("cePI"),Zi=i("FlRo"),Yi=i("KZIX"),Xi=i("QcI7"),Qi=i("R7+U"),$i=i("W1gw"),tn=i("66mq"),en=i("k8N0"),nn=i("gcUQ"),rn=i("F1o0"),an=i("zmEM"),on=i("Meci"),sn=i("x9Az"),cn=i("alep"),un=i("iAde"),ln=i("oqI+"),hn=i("jk8c"),dn=i("WimW"),fn=i("vhVt"),pn=i("p/8k"),gn=i("p3Ob"),bn=i("ZWQq"),mn=i("S17y"),vn=i("3Uyd"),yn=i("Jb3d"),An=i("NU+N"),wn=i("ma6z"),_n=i("Rbfv"),Sn=i("snnp"),kn=i("ZWyU"),En=i("yNE8"),Cn=i("pgvo"),Rn=i("bdug"),Tn=i("gdiH"),In=i("77So"),On=i("iT3j"),Dn=i("gcZR"),Mn=i("eakH"),Pn=i("NC8S"),xn=i("pnmw"),Nn=i("OL2r"),Ln=i("IDQ9"),Fn=i("KF6X"),zn=i("j610"),Hn=i("VBdk"),Bn=i("jjFd"),jn=i("9wx0"),Gn=i("XpU2"),Un=i("0XDM"),Kn=i("EtYo"),Vn=i("A8Ay"),qn=i("LKLE"),Jn=i("nhAq"),Wn=i("b7Yx"),Zn=i("8cyV"),Yn=i("U3ra"),Xn=i("UX+r"),Qn=i("ZG5M"),$n=i("tmvS"),tr=i("TQS+"),er=i("YFHD"),ir=i("3jrC"),nr=i("XAvq"),rr=i("WLDY"),ar=i("B/Qt"),or=i("YRqw"),sr=i("nz2m"),cr=i("COMt"),ur=i("ABWF"),lr=i("eXxK"),hr=i("22FB"),dr=i("KQGD"),fr=i("jqZM"),pr=i("HMTk"),gr=i("Ds80"),br=i("LAw4"),mr=i("BnyX"),vr=i("ajPJ"),yr=i("oYGW"),Ar=i("pynj"),wr=i("l18O"),_r=i("6Xhx"),Sr=i("9Iem"),kr=i("LLgS"),Er=i("e+sS"),Cr=i("kdIE"),Rr=i("XhvO"),Tr=i("g3Wv"),Ir=i("1Gb8"),Or=i("+TsY"),Dr=i("hLiN"),Mr=i("L4Ow"),Pr=i("7fDV"),xr=i("7o/y"),Nr=i("yAs8"),Lr=i("O/Vf"),Fr=i("bwko"),zr=i("A6H7"),Hr={provide:Zt.a,useExisting:Object(r.U)((function(){return h.a})),multi:!0};function Br(t){return new Wt(t,"./assets/i18n/",".json")}function jr(t){var e={basePath:t.get("api_url")};return new l.e(e)}var Gr,Ur=function(t){return function(){return t.initialize()}},Kr={suppressScrollX:!0},Vr=((Gr=function t(e,i){g(this,t),this.customIconService=e,this.translate=i,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}).\u0275mod=r.Kb({type:Gr,bootstrap:[xt.a]}),Gr.\u0275inj=r.Jb({factory:function(t){return new(t||Gr)(r.Wb(h.e),r.Wb(v.e))},providers:[_e,{provide:r.d,useFactory:Ur,multi:!0,deps:[_e]},{provide:l.e,useFactory:jr,deps:[h.m]},{provide:c.e,useClass:be},h.e,{provide:me,useClass:h.c},h.a,Hr,{provide:Di,useValue:Kr}],imports:[[Yt.b,o.a,Zt.c,Nt.a,Xt,Pt,k.b,we.a,v.c.forRoot({loader:{provide:v.b,useFactory:Br,deps:[Zt.b]}}),l.b,zi,bt.d,mt]]}),Gr);r.Ac(xt.a,[S.q,S.r,S.s,S.t,S.A,S.w,S.x,S.y,S.z,S.u,S.v,Hi.a,Hi.c,Bi.a,ji.b,Gi.a,R.n,R.m,Gi.d,Gi.c,Ui.b,Ki.b,Ki.c,Vi.b,Vi.c,Vi.f,Vi.g,Vi.h,Vi.i,Vi.j,qi.b,qi.d,c.k,c.g,c.i,c.h,c.l,_.H,_.w,_.G,_.c,_.x,_.A,_.a,_.D,_.E,_.z,_.r,_.s,_.C,_.n,_.m,_.y,_.b,_.d,_.h,_.j,_.i,_.k,_.e,_.u,_.v,_.t,k.a,Ji.a,A.a,A.b,A.c,A.d,A.e,A.f,v.a,Wi.a,Wi.b,Zi.n,Zi.i,Zi.k,Zi.c,Zi.b,Zi.m,Zi.e,Zi.g,Zi.h,Zi.a,Zi.d,Zi.j,Zi.l,Zi.f,Zi.q,Yi.c,Yi.d,Yi.a,Yi.f,Yi.e,Yi.b,Xi.a,Xi.h,Xi.j,Xi.k,Xi.b,Xi.g,Xi.i,E.b,E.a,w.a,w.c,y.f,y.d,y.j,y.g,y.c,Qi.a,Qi.c,$i.a,x.a,x.c,tn.a,P.a,P.c,en.c,en.a,nn.a,nn.b,nn.d,nn.e,nn.f,nn.h,nn.i,nn.j,nn.l,nn.k,nn.c,rn.b,rn.a,an.a,on.a,on.f,on.n,on.d,on.m,on.l,on.b,on.e,on.k,on.i,on.h,on.g,on.o,on.c,sn.a,sn.j,sn.b,sn.d,sn.e,sn.h,sn.i,sn.c,sn.f,cn.a,R.s,un.a,ln.e,ln.f,ln.a,ln.b,ln.d,ln.c,hn.a,dn.a,fn.a,pn.a,gn.a,bn.a,mn.d,mn.a,mn.c,mn.e,mn.b,mn.f,vn.a,vn.c,vn.d,vn.g,vn.h,vn.f,vn.e,yn.e,yn.b,yn.d,yn.a,ji.a,ji.d,ji.e,An.a,wn.a,_n.a,Sn.a,kn.a,En.a,Cn.a,Rn.a,Tn.a,In.a,On.a,Dn.a,Mn.a,Pn.a,xn.a,Nn.a,Ln.a,Fn.a,u,zn.a,Hn.a,Bn.a,Fi,Li,N.a,L.a,jn.a,Gn.a,Un.a,Kn.a,Vn.a,qn.a,Jn.a,Wn.a,Zn.a,Yn.a,Xn.a,F.a,Qn.a,$n.a,tr.a,er.a,ir.a,nr.a,rr.a,tr.b,ar.a,or.a,sr.a,cr.a,ur.a,tr.c,lr.a,hr.a,dr.a,fr.a,pr.a,gr.a,z.a,br.a,mr.a,yt.a,vr.a,yr.a,Ar.a,wr.a,_r.a,Sr.a,kr.a,Dt,vt,xt.a,Jt],[S.b,S.G,S.p,S.k,S.E,S.g,S.C,S.F,S.d,S.f,S.i,S.j,S.l,v.d,Er.a,Cr.a,Rr.a,Tr.a,Ir.a,Or.a,Dr.a,Mr.a,Pr.a,xr.a,Nr.a,Lr.a,Fr.a,zr.a]),Object(r.T)(),o.e().bootstrapModule(Vr).catch((function(t){return console.error(t)}))},zldI:function(t,e,i){"use strict";i.d(e,"a",(function(){return x}));var n=i("Ssnw"),r=i("X2Q7"),a=i("Iydx"),o=i("EM62"),s=i("OZ4H"),c=i("s2Ay"),u=i("2kYt"),l=i("PBFl"),h=i("Y2X+"),d=i("csyo"),f=i("29Wa"),p=i("Cd2c"),b=i("nIj0"),v=i("H0K4"),y=i("R7+U"),A=i("k8N0"),w=i("+Tre"),_=i("mFH5");function S(t,e){1&t&&o.Nb(0,"mat-spinner",7)}function k(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function E(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function C(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function R(t,e){if(1&t&&(o.Sb(0,"mat-option",29),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.kc("value",i),o.Ab(1),o.Kc(i)}}function T(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function I(t,e){if(1&t&&(o.Sb(0,"mat-option",29),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.kc("value",i),o.Ab(1),o.Kc(i)}}function O(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function D(t,e){if(1&t&&(o.Sb(0,"mat-option",29),o.Jc(1),o.Rb()),2&t){var i=e.$implicit;o.kc("value",i),o.Ab(1),o.Kc(i)}}function M(t,e){1&t&&(o.Sb(0,"mat-error"),o.Jc(1),o.ec(2,"translate"),o.Rb()),2&t&&(o.Ab(1),o.Kc(o.fc(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function P(t,e){if(1&t){var i=o.Tb();o.Sb(0,"div",8),o.Sb(1,"mat-form-field",9),o.Sb(2,"label"),o.Sb(3,"input",10),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().attDef.friendlyName=t})),o.ec(4,"translate"),o.Rb(),o.Rb(),o.Hc(5,k,3,3,"mat-error",11),o.Rb(),o.Nb(6,"br"),o.Sb(7,"mat-form-field",9),o.Sb(8,"label"),o.Sb(9,"input",10),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().attDef.displayName=t})),o.ec(10,"translate"),o.Rb(),o.Rb(),o.Hc(11,E,3,3,"mat-error",11),o.Rb(),o.Nb(12,"br"),o.Sb(13,"mat-form-field",9),o.Sb(14,"label"),o.Sb(15,"textarea",12),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().attDef.description=t})),o.ec(16,"translate"),o.Jc(17," "),o.Rb(),o.Rb(),o.Hc(18,C,3,3,"mat-error",11),o.Rb(),o.Nb(19,"br"),o.Sb(20,"mat-form-field",9),o.Sb(21,"mat-placeholder"),o.Jc(22),o.ec(23,"translate"),o.Rb(),o.Sb(24,"mat-select",13),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().entity=t})),o.Hc(25,R,2,2,"mat-option",14),o.Rb(),o.Hc(26,T,3,3,"mat-error",11),o.Rb(),o.Nb(27,"br"),o.Sb(28,"mat-form-field",9),o.Sb(29,"mat-placeholder"),o.Jc(30),o.ec(31,"translate"),o.Rb(),o.Sb(32,"mat-select",13),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().definitionType=t})),o.Hc(33,I,2,2,"mat-option",14),o.Rb(),o.Hc(34,O,3,3,"mat-error",11),o.Rb(),o.Nb(35,"br"),o.Sb(36,"mat-form-field",9),o.Sb(37,"mat-placeholder"),o.Jc(38),o.ec(39,"translate"),o.Rb(),o.Sb(40,"mat-select",13),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().valueType=t})),o.Hc(41,D,2,2,"mat-option",14),o.Rb(),o.Hc(42,M,3,3,"mat-error",11),o.Rb(),o.Nb(43,"br"),o.Sb(44,"div",15),o.Sb(45,"p"),o.Jc(46),o.ec(47,"translate"),o.Rb(),o.Sb(48,"p",16),o.Zb("click",(function(){return o.xc(i),o.dc().attDef.unique=!1})),o.Jc(49,"OFF"),o.Rb(),o.Sb(50,"mat-slide-toggle",17),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().attDef.unique=t})),o.ec(51,"translate"),o.Jc(52," ON "),o.Rb(),o.Rb(),o.Sb(53,"div",18),o.Sb(54,"p",19),o.Jc(55),o.ec(56,"translate"),o.Rb(),o.Sb(57,"p",20),o.Jc(58),o.ec(59,"translate"),o.Rb(),o.Rb(),o.Sb(60,"div",21),o.Sb(61,"p",22),o.Jc(62),o.ec(63,"translate"),o.Rb(),o.Sb(64,"mat-checkbox",23),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().readSelf=t})),o.Rb(),o.Sb(65,"mat-checkbox",24),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().writeSelf=t})),o.Rb(),o.Rb(),o.Sb(66,"div",21),o.Sb(67,"p",22),o.Jc(68),o.ec(69,"translate"),o.Rb(),o.Sb(70,"mat-checkbox",25),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().readSelfPublic=t})),o.Rb(),o.Sb(71,"mat-checkbox",24),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().writeSelfPublic=t})),o.Rb(),o.Rb(),o.Sb(72,"div",21),o.Sb(73,"p",22),o.Jc(74),o.ec(75,"translate"),o.Rb(),o.Sb(76,"mat-checkbox",26),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().readSelfVo=t})),o.Rb(),o.Sb(77,"mat-checkbox",24),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().writeSelfVo=t})),o.Rb(),o.Rb(),o.Sb(78,"div",21),o.Sb(79,"p",22),o.Jc(80),o.ec(81,"translate"),o.Rb(),o.Sb(82,"mat-checkbox",27),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().readVo=t})),o.Rb(),o.Sb(83,"mat-checkbox",24),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().writeVo=t})),o.Rb(),o.Rb(),o.Sb(84,"div",21),o.Sb(85,"p",22),o.Jc(86),o.ec(87,"translate"),o.Rb(),o.Sb(88,"mat-checkbox",28),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().readGroup=t})),o.Rb(),o.Sb(89,"mat-checkbox",24),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().writeGroup=t})),o.Rb(),o.Rb(),o.Sb(90,"div",21),o.Sb(91,"p",22),o.Jc(92),o.ec(93,"translate"),o.Rb(),o.Sb(94,"mat-checkbox",26),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().readFacility=t})),o.Rb(),o.Sb(95,"mat-checkbox",24),o.Zb("ngModelChange",(function(t){return o.xc(i),o.dc().writeFacility=t})),o.Rb(),o.Rb(),o.Rb()}if(2&t){var n=o.dc();o.Ab(3),o.lc("placeholder",o.fc(4,46,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FRIENDLY_NAME")),o.kc("ngModel",n.attDef.friendlyName),o.Ab(2),o.kc("ngIf",""===n.attDef.friendlyName),o.Ab(4),o.lc("placeholder",o.fc(10,48,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),o.kc("ngModel",n.attDef.displayName),o.Ab(2),o.kc("ngIf",""===n.attDef.displayName),o.Ab(4),o.lc("placeholder",o.fc(16,50,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DESCRIPTION")),o.kc("ngModel",n.attDef.description),o.Ab(3),o.kc("ngIf",""===n.attDef.description),o.Ab(4),o.Kc(o.fc(23,52,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ENTITY")),o.Ab(2),o.kc("ngModel",n.entity),o.Ab(1),o.kc("ngForOf",n.entities),o.Ab(1),o.kc("ngIf",""===n.attDef.entity),o.Ab(4),o.Kc(o.fc(31,54,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DEFINITION")),o.Ab(2),o.kc("ngModel",n.definitionType),o.Ab(1),o.kc("ngForOf",n.definitionTypes),o.Ab(1),o.kc("ngIf",""===n.definitionType),o.Ab(4),o.Kc(o.fc(39,56,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VALUE_TYPE")),o.Ab(2),o.kc("ngModel",n.valueType),o.Ab(1),o.kc("ngForOf",n.valueTypes),o.Ab(1),o.kc("ngIf",""===n.valueType),o.Ab(4),o.Kc(o.fc(47,58,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.UNIQUE")),o.Ab(4),o.lc("matTooltip",o.fc(51,60,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),o.kc("matTooltipDisabled",!n.disableUniqueToggle())("disabled",n.disableUniqueToggle())("ngModel",n.attDef.unique),o.Ab(5),o.Kc(o.fc(56,62,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),o.Ab(3),o.Kc(o.fc(59,64,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),o.Ab(4),o.Kc(o.fc(63,66,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),o.Ab(2),o.kc("ngModel",n.readSelf),o.Ab(1),o.kc("ngModel",n.writeSelf),o.Ab(3),o.Kc(o.fc(69,68,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),o.Ab(2),o.kc("ngModel",n.readSelfPublic),o.Ab(1),o.kc("ngModel",n.writeSelfPublic),o.Ab(3),o.Kc(o.fc(75,70,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),o.Ab(2),o.kc("ngModel",n.readSelfVo),o.Ab(1),o.kc("ngModel",n.writeSelfVo),o.Ab(3),o.Kc(o.fc(81,72,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),o.Ab(2),o.kc("ngModel",n.readVo),o.Ab(1),o.kc("ngModel",n.writeVo),o.Ab(3),o.Kc(o.fc(87,74,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),o.Ab(2),o.kc("ngModel",n.readGroup),o.Ab(1),o.kc("ngModel",n.writeGroup),o.Ab(3),o.Kc(o.fc(93,76,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),o.Ab(2),o.kc("ngModel",n.readFacility),o.Ab(1),o.kc("ngModel",n.writeFacility)}}var x=function(){var t=function(){function t(e,i,n,r){g(this,t),this.dialogRef=e,this.notificator=i,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}return m(t,[{key:"ngOnInit",value:function(){this.attDef={beanName:"",description:"",displayName:"",entity:"",friendlyName:"",id:void 0,namespace:"",type:"",unique:!1,writable:!1}}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.attDef.namespace="urn:perun:"+this.entity+":attribute-def:"+this.definitionType,this.readValueType(),this.attributesManager.createAttributeDefinition({attribute:this.attDef}).subscribe((function(e){t.attDef=e,t.attributesManager.setAttributeRights({rights:t.readRights()}).subscribe((function(){t.translate.get("DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe((function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)}))}),(function(){return t.loading=!1}))}),(function(){return t.loading=!1}))}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"readRights",value:function(){var t=[],e={};e.attributeId=this.attDef.id,e.role=a.a.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);var i={};i.attributeId=this.attDef.id,i.role=a.a.VOADMIN,i.rights=[],this.readVo&&i.rights.push(r.a.READ),this.writeVo&&i.rights.push(r.a.WRITE),t.push(i);var n={};n.attributeId=this.attDef.id,n.role=a.a.GROUPADMIN,n.rights=[],this.readGroup&&n.rights.push(r.a.READ),this.writeGroup&&n.rights.push(r.a.WRITE),t.push(n);var o={};return o.attributeId=this.attDef.id,o.role=a.a.FACILITYADMIN,o.rights=[],this.readFacility&&o.rights.push(r.a.READ),this.writeFacility&&o.rights.push(r.a.WRITE),t.push(o),t}},{key:"readValueType",value:function(){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"}}},{key:"disableConfirmButton",value:function(){return""===this.attDef.friendlyName||""===this.attDef.displayName||""===this.attDef.description||""===this.entity||""===this.definitionType||""===this.valueType||this.loading}},{key:"disableUniqueToggle",value:function(){return("virt"===this.definitionType||"entityless"===this.entity)&&(this.attDef.unique=!1,!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Mb(s.i),o.Mb(n.l),o.Mb(c.e),o.Mb(r.c))},t.\u0275cmp=o.Gb({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&&(o.Sb(0,"div",0),o.Sb(1,"h1",1),o.Jc(2),o.ec(3,"translate"),o.Rb(),o.Hc(4,S,1,0,"mat-spinner",2),o.Hc(5,P,96,78,"div",3),o.Sb(6,"div",4),o.Sb(7,"button",5),o.Zb("click",(function(){return e.onCancel()})),o.Jc(8),o.ec(9,"translate"),o.Rb(),o.Sb(10,"button",6),o.Zb("click",(function(){return e.onSubmit()})),o.ec(11,"translate"),o.Jc(12),o.ec(13,"translate"),o.Rb(),o.Rb(),o.Rb()),2&t&&(o.Ab(2),o.Kc(o.fc(3,8,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TITLE")),o.Ab(2),o.kc("ngIf",e.loading),o.Ab(1),o.kc("ngIf",!e.loading),o.Ab(3),o.Lc(" ",o.fc(9,10,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CANCEL")," "),o.Ab(2),o.lc("matTooltip",o.fc(11,12,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),o.kc("disabled",e.disableConfirmButton())("matTooltipDisabled",!e.disableConfirmButton()),o.Ab(2),o.Lc(" ",o.fc(13,14,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[s.j,u.t,s.c,l.b,h.a,d.c,s.g,f.c,p.b,b.c,b.C,b.r,b.u,v.c,f.h,y.a,u.s,A.a,w.a,f.b,_.n],pipes:[c.d],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}()},zmEM:function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return s}));var n=i("5XID"),r=i("mFH5"),a=i("EM62"),o=function(){var t=function(){function t(){g(this,t),this._vertical=!1,this._inset=!1}return m(t,[{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=Object(n.c)(t)}},{key:"inset",get:function(){return this._inset},set:function(t){this._inset=Object(n.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Gb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Bb("aria-orientation",e.vertical?"vertical":"horizontal"),a.Eb("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(){g(this,t)};return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},imports:[[r.i],r.i]}),t}()},zn8P:function(t,e){function i(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}i.keys=function(){return[]},i.resolve=i,t.exports=i,i.id="zn8P"}},[[0,0]]])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/polyfills-es2015.059c81add3ca5d21bfa2.js b/dist/apps/admin-gui/polyfills-es2015.059c81add3ca5d21bfa2.js new file mode 100644 index 000000000..3876cfdbf --- /dev/null +++ b/dist/apps/admin-gui/polyfills-es2015.059c81add3ca5d21bfa2.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o")},nf2o:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==C.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.)")}static get root(){let e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(t,r){if(C.hasOwnProperty(t)){if(a)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),C[t]=r(e,i,O),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,T),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(T,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(b,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,b,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(w,T,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");k(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,b)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;nz,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return D.reject(e)}const g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState");function v(e,t){return n=>{try{T(e,t,n)}catch(o){T(e,!1,o)}}}const b=s("currentTaskTrace");function T(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(null===e[g]){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{T(e,!1,u)})(),e}if(!1!==o&&s instanceof D&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&null!==s[g])w(s),T(e,s[g],s[_]);else if(!1!==o&&"function"==typeof h)try{h.call(s,c(v(e,o)),c(v(e,!1)))}catch(u){c(()=>{T(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&!0===o&&(e[g]=e[y],e[_]=e[m]),!1===o&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,b,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const i=t.run(a,void 0,r&&a!==d&&a!==f?[]:[o]);T(n,!0,i)}catch(o){T(n,!1,o)}},n)}const S=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return T(new this(null),!0,e)}static reject(e){return T(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)p(a)||(a=this.resolve(a)),a.then(r,s);return o}static all(e){return D.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof D?this:D).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,a=0;const i=[];for(let l of e){p(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}constructor(e){const t=this;if(!(t instanceof D))throw new Error("Must be an instanceof Promise.");t[g]=null,t[_]=[];try{e&&e(v(t,!0),v(t,!1))}catch(n){T(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||D);const r=new o(S),s=t.current;return null==this[g]?this[_].push(s,r,e,n):Z(this,s,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=D);const o=new n(S);o[k]=k;const r=t.current;return null==this[g]?this[_].push(r,o,e,e):Z(this,r,o,e,e),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const P=e[c]=e.Promise,C=t.__symbol__("ZoneAwarePromise");let O=o(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[C]?e[C]:e[c]},O.set=function(t){t===D?e[C]=t:(e[c]=t,t.prototype[l]||j(t),n.setNativePromise(t))},r(e,"Promise",O)),e.Promise=D;const z=s("thenPatched");function j(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new D((e,t)=>{r.call(this,e,t)}).then(e,t)},e[z]=!0}if(n.patchThen=j,P){j(P);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(I=t,function(){let e=I.apply(this,arguments);if(e instanceof D)return e;let t=e.constructor;return t[z]||j(t),e}))}var I;return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,D});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),i=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),y=!m&&!k&&!(!h||!p.HTMLElement),v=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!k&&!(!h||!p.HTMLElement),b={},T=function(e){if(!(e=e||f.event))return;let t=b[e.type];t||(t=b[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(y&&n===p&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function E(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=u("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=o.substr(2);let h=b[l];h||(h=b[l]=u("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(l,T),c&&c.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(l,T,!1)):t[h]=null)},s.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(i){let t=i&&i.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[a]=!0}function w(e,t,n){if(t)for(let o=0;ofunction(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?l(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function C(e,t){e[u("OriginalDelegate")]=t}let O=!1,z=!1;function j(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function I(){if(O)return z;O=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(z=!0)}catch(e){}return z}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});let R=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ie){R=!1}const N={useG:!0},x={},L={},M=new RegExp("^"+i+"(\\w+)(true|false)$"),A=u("propagationStopped");function H(e,t){const n=(t?t(e):e)+"false",o=(t?t(e):e)+"true",r=i+n,s=i+o;x[e]={},x[e].false=r,x[e].true=s}function F(e,t,o){const r=o&&o.add||"addEventListener",s=o&&o.rm||"removeEventListener",a=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),h="."+r+":",p=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[x[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[A]=!0,e&&e.apply(t,n)})}function q(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],U=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],V=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ne(e,t,n,o){e&&w(e,te(e,t,n),o)}function oe(e,t){if(m&&!v)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(y){const e=window,t=j?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),r?r.concat(t):r,n(e)),ne(Document.prototype,ee,r),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,r),ne(Element.prototype,ee,r),ne(HTMLElement.prototype,ee,r),ne(HTMLMediaElement.prototype,U,r),ne(HTMLFrameSetElement.prototype,W.concat($),r),ne(HTMLBodyElement.prototype,W.concat($),r),ne(HTMLFrameElement.prototype,V,r),ne(HTMLIFrameElement.prototype,V,r);const o=e.HTMLMarqueeElement;o&&ne(o.prototype,X,r);const s=e.Worker;s&&ne(s.prototype,Q,r)}const s=t.XMLHttpRequest;s&&ne(s.prototype,J,r);const a=t.XMLHttpRequestEventTarget;a&&ne(a&&a.prototype,J,r),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,Y,r),ne(IDBRequest.prototype,Y,r),ne(IDBOpenDBRequest.prototype,Y,r),ne(IDBDatabase.prototype,Y,r),ne(IDBTransaction.prototype,Y,r),ne(IDBCursor.prototype,Y,r)),o&&ne(WebSocket.prototype,K,r)}Zone.__load_patch("util",(n,s,a)=>{a.patchOnProperties=w,a.patchMethod=D,a.bindArguments=g,a.patchMacroTask=P;const l=s.__symbol__("BLACK_LISTED_EVENTS"),u=s.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(s[l]=s[u]=n[l]),a.patchEventPrototype=B,a.patchEventTarget=F,a.isIEOrEdge=I,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=o,a.ArraySlice=r,a.patchClass=S,a.wrapWithCurrentZone=c,a.filterProperties=te,a.attachOriginToPatched=C,a._redefineProperty=Object.defineProperty,a.patchCallbacks=q,a.getGlobalObjects=()=>({globalSources:L,zoneSymbolEventNames:x,eventNames:ee,isBrowser:y,isMix:v,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:i,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function se(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[re]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=D(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e=l(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},i,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?a[n]=e:n&&(n[re]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)}),s=D(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[re],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[re]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function ae(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{se(e,"set","clear","Timeout"),se(e,"set","clear","Interval"),se(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{se(e,"request","cancel","AnimationFrame"),se(e,"mozRequest","mozCancel","AnimationFrame"),se(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ae(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{oe(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[s],g=f[a];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[s],g=e[a]}}function _(e){const o=e.data,c=o.target;c[i]=!1,c[h]=!1;const l=c[r];d||(d=c[s],g=c[a]),l&&g.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[i]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[c]=t[1],y.apply(e,t)}),v=u("fetchTaskAborting"),b=u("fetchTaskScheduling"),T=D(f,"send",()=>function(e,n){if(!0===t.current[b])return T.apply(e,n);if(e[o])return T.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",k,t,_,m);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),E=D(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[v])return E.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),i=u("xhrScheduled"),c=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,g(arguments,o+"."+s))};return C(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){G(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]); \ No newline at end of file diff --git a/dist/apps/admin-gui/polyfills-es5.3b0e1b8948aed1b11ec7.js b/dist/apps/admin-gui/polyfills-es5.3b0e1b8948aed1b11ec7.js new file mode 100644 index 000000000..d8905f919 --- /dev/null +++ b/dist/apps/admin-gui/polyfills-es5.3b0e1b8948aed1b11ec7.js @@ -0,0 +1 @@ +!function(){function t(t,n){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},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 a,c=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?arguments[1]:void 0)}}),i("findIndex")},"+NaH":function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("c8b2");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"+q1H":function(t,e,n){"use strict";var r,o,i,a=n("yosQ"),c=n("+NaH"),u=n("+C+w"),s=n("G9lz"),f=n("p2x6"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},"/K78":function(t,e,n){var r=n("0vT8"),o=n("TQiC");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},"/Wjk":function(t,e,n){"use strict";var r=n("lYWO"),o=n("L0mP");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},"/ZgM":function(t,e,n){"use strict";var r=n("pNVf"),o=n("NneG");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},"00I2":function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("QxQN"),a=n("SF8I").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},"03IN":function(t,e,n){var r=n("4eii"),o=n("VfW/").trim,i=n("ZKm/"),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},"0BIM":function(t,e,n){"use strict";var r=n("Zm5N"),o=n("UET0"),i=n("L0mP"),a=n("TC5Z"),c=n("6pHA");r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},"0Eps":function(t,e,n){n("0vT8")({target:"Number",stat:!0},{isInteger:n("O1uG")})},"0O2A":function(t,e,n){var r=n("4eii"),o=n("rP2c"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"0PBP":function(t,e,n){"use strict";var r=n("s7Qr").forEach,o=n("9rSH"),i=n("X4rX"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"0Yxs":function(t,e,n){n("0vT8")({target:"Object",stat:!0,sham:!n("ThF5")},{create:n("dYyi")})},"0dFo":function(t,e,n){var r=n("G9lz")("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}},"0u0I":function(t,e,n){var r=n("0vT8"),o=n("03IN");r({global:!0,forced:parseInt!=o},{parseInt:o})},"0vT8":function(t,e,n){var r=n("4eii"),o=n("5tsF").f,i=n("+NaH"),a=n("gGei"),c=n("d1gM"),u=n("QA9J"),s=n("2L9N");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)}}},1:function(t,e,n){n("l/Py"),n("xVoO"),t.exports=n("hN/g")},"19jd":function(t,e,n){var r=n("UET0"),o=n("rP2c"),i=n("Pj9/");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},"1BS+":function(t,e,n){var r=n("lcFv");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"1Yxx":function(t,e,n){"use strict";var r=n("0vT8"),o=n("VfW/").trim;r({target:"String",proto:!0,forced:n("J+mE")("trim")},{trim:function(){return o(this)}})},"1dlD":function(t,e,n){"use strict";var r=n("0vT8"),o=n("XtQF"),i=n("VUDt"),a=n("x42P");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"1geW":function(t,e,n){var r=n("0vT8"),o=n("Hshb");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"1ul8":function(t,e,n){"use strict";var r=n("xbsk").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"2L9N":function(t,e,n){var r=n("XtQF"),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},"2VXe":function(t,e,n){var r=n("8ZjQ"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"2g3X":function(t,e,n){"use strict";var r=n("XtQF"),o=n("W3Kz").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},"2imT":function(t,e,n){var r=n("0vT8"),o=n("vSAT"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},"3QRp":function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("sub")},{sub:function(){return o(this,"sub","","")}})},"3dqU":function(t,e,n){"use strict";var r=n("0vT8"),o=n("tH9H"),i=n("V3ap"),a=n("9rSH"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},"3yYM":function(t,e,n){var r=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(_){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 E(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=k(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(_){return{type:"throw",arg:_}}}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(S([])));g&&g!==e&&n.call(g,o)&&(v=g);var y=h.prototype=l.prototype=Object.create(v);function m(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!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)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function k(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,k(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 T(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function S(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),x(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;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},"4ZNk":function(t,e,n){n("0vT8")({target:"Function",proto:!0},{bind:n("dmrs")})},"4eii":function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},"4xiE":function(t,e,n){var r=n("0vT8"),o=n("VUDt"),i=n("VQs6");r({target:"Object",stat:!0,forced:n("XtQF")((function(){i(1)}))},{keys:function(t){return i(o(t))}})},"51+R":function(t,e,n){"use strict";var r=n("x42P"),o=n("qpFR"),i=n("c8b2");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},"564C":function(t,e,n){n("79XA")("isConcatSpreadable")},"5QPa":function(t,e,n){"use strict";var r=n("9rgZ"),o=n("92yR");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},"5b4b":function(t,e,n){n("0vT8")({target:"Number",stat:!0},{isFinite:n("Uure")})},"5tsF":function(t,e,n){var r=n("ThF5"),o=n("WHJo"),i=n("c8b2"),a=n("V3ap"),c=n("x42P"),u=n("+C+w"),s=n("uQC4"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"62Jg":function(t,e,n){var r=n("mwKY"),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}},"6HJc":function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("rP2c"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"6pHA":function(t,e,n){var r=n("ArQy"),o=n("Skmt");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"79XA":function(t,e,n){var r=n("g6B6"),o=n("+C+w"),i=n("kbF1"),a=n("qpFR").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"7FRj":function(t,e,n){"use strict";var r=n("rP2c"),o=n("qpFR"),i=n("yosQ"),a=n("G9lz")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"7PoR":function(t,e,n){n("0vT8")({target:"Object",stat:!0},{setPrototypeOf:n("nWyh")})},"7oHr":function(t,e,n){"use strict";var r,o=n("0vT8"),i=n("5tsF").f,a=n("eXo2"),c=n("qlPw"),u=n("L0mP"),s=n("hDjE"),f=n("p2x6"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},"7pK/":function(t,e,n){var r=n("DoB2"),o=n("UkEg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"8WdQ":function(t,e,n){var r=n("0vT8"),o=n("O1uG"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},"8ZjQ":function(t,e,n){var r=n("4eii"),o=n("d1gM"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},"8uRZ":function(t,e,n){var r=n("4eii"),o=n("2VXe"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},"92yR":function(t,e,n){var r=n("9rgZ"),o=n("ArQy"),i=n("G9lz")("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}},"9D1u":function(t,e,n){var r=n("rP2c"),o=n("ArQy"),i=n("G9lz")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"9rSH":function(t,e,n){"use strict";var r=n("XtQF");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"9rgZ":function(t,e,n){var r={};r[n("G9lz")("toStringTag")]="z",t.exports="[object z]"===String(r)},"9ypw":function(t,e,n){var r=n("4eii"),o=n("Z6qe"),i=n("jMNW"),a=n("+NaH"),c=n("G9lz"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},"A//Y":function(t,e,n){"use strict";var r=n("y5Hs"),o=n("qpFR"),i=n("G9lz"),a=n("ThF5"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},ABD5:function(t,e,n){n("79XA")("split")},"ANI/":function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},AV8a:function(t,e,n){"use strict";var r=n("0vT8"),o=n("oxl1"),i=n("yosQ"),a=n("nWyh"),c=n("utQb"),u=n("+NaH"),s=n("gGei"),f=n("G9lz"),l=n("p2x6"),p=n("qv8c"),h=n("+q1H"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,b){o(n,e,f);var k,T,x,E=function(t){if(t===h&&P)return P;if(!d&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",w=!1,_=t.prototype,O=_[g]||_["@@iterator"]||h&&_[h],P=!d&&O||E(h),j="Array"==e&&_.entries||O;if(j&&(k=i(j.call(new t)),v!==Object.prototype&&k.next&&(l||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&u(k,g,y)),c(k,S,!0,!0),l&&(p[S]=y))),"values"==h&&O&&"values"!==O.name&&(w=!0,P=function(){return O.call(this)}),l&&!b||_[g]===P||u(_,g,P),p[e]=P,h)if(T={values:E("values"),keys:m?P:E("keys"),entries:E("entries")},b)for(x in T)(d||w||!(x in _))&&s(_,x,T[x]);else r({target:e,proto:!0,forced:d||w},T);return T}},AVL7:function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("VUDt"),a=n("yosQ"),c=n("craJ");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},Ap7B:function(t,e,n){"use strict";var r=n("0vT8"),o=n("XNJA"),i=n("VUDt"),a=n("XtQF"),c=n("9rSH"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},ArQy:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},BehZ:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},Btv7:function(t,e,n){n("79XA")("asyncIterator")},C8vK:function(t,e,n){"use strict";var r=n("0vT8"),o=n("Skmt");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},CAbf:function(t,e,n){var r=n("4eii");t.exports=r.Promise},DoB2:function(t,e,n){var r=n("p2x6"),o=n("8ZjQ");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},"EI+E":function(t,e,n){var r=n("rP2c"),o=n("tx09"),i=n("G9lz")("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)}},EoF4:function(t,e,n){var r=n("0vT8"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},Ezqs:function(t,e,n){n("0vT8")({target:"Math",stat:!0},{log1p:n("vSAT")})},F1iM:function(t,e,n){n("Hd1F"),n("R7u8"),n("qWhD"),n("Btv7"),n("r+2N"),n("vExu"),n("564C"),n("VBUz"),n("ps+b"),n("vItB"),n("uLb4"),n("s7qu"),n("Pgr3"),n("ABD5"),n("Y/en"),n("urZ2"),n("ZFHZ"),n("zLr9"),n("nr/g");var r=n("g6B6");t.exports=r.Symbol},F6ip:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},FIoU:function(t,e,n){"use strict";var r,o=n("4eii"),i=n("RBcf"),a=n("q75f"),c=n("pNVf"),u=n("rBtS"),s=n("rP2c"),f=n("pCF3").enforce,l=n("8uRZ"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),m.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},Fcgu:function(t,e,n){"use strict";var r=n("0vT8"),o=n("s7Qr").map,i=n("LQxa"),a=n("X4rX"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},G9lz:function(t,e,n){var r=n("4eii"),o=n("DoB2"),i=n("+C+w"),a=n("UkEg"),c=n("lcFv"),u=n("1BS+"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},GZNO:function(t,e,n){n("0vT8")({target:"Object",stat:!0},{is:n("TC5Z")})},Hd1F:function(t,e,n){"use strict";var r=n("0vT8"),o=n("XtQF"),i=n("tx09"),a=n("rP2c"),c=n("VUDt"),u=n("eXo2"),s=n("51+R"),f=n("EI+E"),l=n("LQxa"),p=n("G9lz"),h=n("lANf"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},Hshb:function(t,e,n){"use strict";var r=n("ThF5"),o=n("XtQF"),i=n("VQs6"),a=n("X1th"),c=n("WHJo"),u=n("VUDt"),s=n("tH9H"),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},I0iV:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("sup")},{sup:function(){return o(this,"sup","","")}})},IgI0:function(t,e){t.exports={}},"J+mE":function(t,e,n){var r=n("XtQF"),o=n("ZKm/");t.exports=function(t){return r((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},JBtQ:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("italics")},{italics:function(){return o(this,"i","","")}})},JMzg:function(t,e,n){"use strict";var r,o=n("0vT8"),i=n("5tsF").f,a=n("eXo2"),c=n("qlPw"),u=n("L0mP"),s=n("hDjE"),f=n("p2x6"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},JZ5z:function(t,e,n){var r=n("UET0");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},JvUV:function(t,e,n){var r=n("0vT8"),o=n("oTBo"),i=n("YxED");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},JwcT:function(t,e,n){"use strict";var r=n("0vT8"),o=n("s7Qr").filter,i=n("LQxa"),a=n("X4rX"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},KSpI:function(t,e,n){var r=n("UET0"),o=n("tTCw"),i=n("eXo2"),a=n("xwki"),c=n("YtfA"),u=n("JZ5z"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,m,b=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},Kdyt:function(t,e,n){var r=n("UET0"),o=n("XNJA"),i=n("G9lz")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},Kg1r:function(t,e,n){var r=n("XtQF");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},L0mP:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"LJ+p":function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},LQxa:function(t,e,n){var r=n("XtQF"),o=n("G9lz"),i=n("lANf"),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}))}},LjPG:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("big")},{big:function(){return o(this,"big","","")}})},Lyq5:function(t,e,n){var r=n("0vT8"),o=n("TQiC");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},MKQa:function(t,e,n){var r=n("0vT8"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"Nf+e":function(t,e,n){var r=n("ArQy");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},NneG:function(t,e,n){"use strict";var r=n("qpFR").f,o=n("dYyi"),i=n("RBcf"),a=n("xwki"),c=n("BehZ"),u=n("KSpI"),s=n("AV8a"),f=n("A//Y"),l=n("ThF5"),p=n("q75f").fastKey,h=n("pCF3"),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],t,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)}}},NyaS:function(t,e,n){var r=n("yMQa");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},O1uG:function(t,e,n){var r=n("rP2c"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},OE6s:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("bold")},{bold:function(){return o(this,"b","","")}})},Ofvt:function(t,e,n){"use strict";var r=n("0vT8"),o=n("rP2c"),i=n("tx09"),a=n("eFwx"),c=n("eXo2"),u=n("V3ap"),s=n("51+R"),f=n("G9lz"),l=n("LQxa"),p=n("X4rX"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;hc;)a.push(String(e[c++])),c0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},UkEg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},Uure:function(t,e,n){var r=n("4eii").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},V3ap:function(t,e,n){var r=n("tH9H"),o=n("L0mP");t.exports=function(t){return r(o(t))}},V7Uj:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},VBUz:function(t,e,n){n("79XA")("iterator")},VCHe:function(t,e,n){var r=n("XtQF");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},VQs6:function(t,e,n){var r=n("gQA2"),o=n("dKk4");t.exports=Object.keys||function(t){return r(t,o)}},VUDt:function(t,e,n){var r=n("L0mP");t.exports=function(t){return Object(r(t))}},"VfW/":function(t,e,n){var r=n("L0mP"),o="["+n("ZKm/")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},Vx7H:function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("UET0"),a=n("VQs6");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},W3Kz:function(t,e,n){var r=n("eXo2"),o=n("/Wjk"),i=n("L0mP"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},WHJo:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},Ww1t:function(t,e,n){"use strict";var r=n("V3ap"),o=n("lYWO"),i=n("eXo2"),a=n("9rSH"),c=n("X4rX"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},X1th:function(t,e){e.f=Object.getOwnPropertySymbols},X4rX:function(t,e,n){var r=n("ThF5"),o=n("XtQF"),i=n("+C+w"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)}))}},XNJA:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},XtQF:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"Y/en":function(t,e,n){n("79XA")("toPrimitive")},Y8n2:function(t,e,n){var r=n("0vT8"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},Yr4I:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("small")},{small:function(){return o(this,"small","","")}})},YtfA:function(t,e,n){var r=n("92yR"),o=n("qv8c"),i=n("G9lz")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},YxED:function(t,e,n){var r=n("G9lz"),o=n("dYyi"),i=n("qpFR"),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}},Z5iX:function(t,e,n){"use strict";var r=n("0vT8"),o=n("mXzy").right,i=n("9rSH"),a=n("X4rX"),c=i("reduceRight"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},Z6qe:function(t,e){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}},ZFHZ:function(t,e,n){n("79XA")("unscopables")},"ZKm/":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},Zm5N:function(t,e,n){"use strict";n("C8vK");var r=n("gGei"),o=n("XtQF"),i=n("G9lz"),a=n("Skmt"),c=n("+NaH"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!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,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},a9aE:function(t,e,n){"use strict";var r=n("Zm5N"),o=n("UET0"),i=n("eXo2"),a=n("L0mP"),c=n("1ul8"),u=n("6pHA");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},aLkt:function(t,e,n){var r=n("0vT8"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},bFNe:function(t,e,n){"use strict";var r=n("pNVf"),o=n("NneG");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},bVE6:function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("LJ+p"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},bxYA:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fixed")},{fixed:function(){return o(this,"tt","","")}})},c8b2:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},chez:function(t,e,n){"use strict";var r=n("UET0"),o=n("x42P");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},craJ:function(t,e,n){var r=n("XtQF");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},d1VG:function(t,e,n){n("0vT8")({target:"Math",stat:!0},{fround:n("62Jg")})},d1Z5:function(t,e,n){n("rEpP"),n("PMJG"),n("5b4b"),n("0Eps"),n("kjjh"),n("8WdQ"),n("iEbv"),n("sPQT"),n("Lyq5"),n("ff4A"),n("Ujke"),n("mqXI");var r=n("g6B6");t.exports=r.Number},d1gM:function(t,e,n){var r=n("4eii"),o=n("+NaH");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d8kk:function(t,e,n){"use strict";var r=n("xwki"),o=n("VUDt"),i=n("JZ5z"),a=n("tTCw"),c=n("eXo2"),u=n("51+R"),s=n("YtfA");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,m=void 0!==y,b=s(v),k=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>k;k++)h=m?y(v[k],k):v[k],u(n,k,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;k++)h=m?i(l,y,[f.value,k],!0):f.value,u(n,k,h);return n.length=k,n}},dKk4:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},dRGF:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("strike")},{strike:function(){return o(this,"strike","","")}})},dYyi:function(t,e,n){var r,o=n("UET0"),i=n("Vx7H"),a=n("dKk4"),c=n("IgI0"),u=n("yjCV"),s=n("0O2A"),f=n("7pK/")("IE_PROTO"),l=function(){},p=function(t){return" + diff --git a/dist/apps/publications/main.31e2f458bd49de349cb3.js b/dist/apps/publications/main.31e2f458bd49de349cb3.js new file mode 100644 index 000000000..214e8cfc6 --- /dev/null +++ b/dist/apps/publications/main.31e2f458bd49de349cb3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+h6j":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("wgY5"))},"+n5x":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("wgY5"))},"/hi0":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("wgY5"))},0:function(t,e,i){t.exports=i("zUnb")},"0yow":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("wgY5"))},"1KVU":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("wgY5"))},"1ors":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("wgY5"))},"2B8G":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("wgY5"))},"2JSI":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("wgY5"))},"3WqV":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("wgY5"))},"4MAb":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("wgY5"))},"4VvY":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("wgY5"))},"4bvN":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("wgY5"))},"5Mza":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("wgY5"))},"5j0y":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("wgY5"))},"6Olw":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("wgY5"))},"6PD3":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("wgY5"))},"6cYq":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("wgY5"))},"8Bez":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("wgY5"))},"8Cju":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("wgY5"))},"8GSH":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("wgY5"))},"8Ygf":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("wgY5"))},"9RND":function(t){t.exports=JSON.parse('{"a":"0.24.0"}')},ACAV: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("wgY5"))},"BAN/":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("wgY5"))},"BKZ+":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("wgY5"))},CPJk: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("wgY5"))},CZRU: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("wgY5"))},DDip: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("wgY5"))},EL7g: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("wgY5"))},EQmw: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("wgY5"))},EnIJ: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("wgY5"))},EqYs: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("wgY5"))},GJYX: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("wgY5"))},GNPT: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("wgY5"))},GzvP: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("wgY5"))},HgyJ: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("wgY5"))},"J+SV":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("wgY5"))},JFCg: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("wgY5"))},"JO+T":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("wgY5"))},Jt3X: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("wgY5"))},"K+3W":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("wgY5"))},"K+Lk":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("wgY5"))},KqOT: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("wgY5"))},LsNb: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("wgY5"))},MNf7: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("wgY5"))},MROq:function(t,e,i){var n={"./af":"8GSH","./af.js":"8GSH","./ar":"NcOb","./ar-dz":"1ors","./ar-dz.js":"1ors","./ar-kw":"Sc1Y","./ar-kw.js":"Sc1Y","./ar-ly":"GzvP","./ar-ly.js":"GzvP","./ar-ma":"hH25","./ar-ma.js":"hH25","./ar-sa":"u2jB","./ar-sa.js":"u2jB","./ar-tn":"5Mza","./ar-tn.js":"5Mza","./ar.js":"NcOb","./az":"ZVVJ","./az.js":"ZVVJ","./be":"kQaN","./be.js":"kQaN","./bg":"+n5x","./bg.js":"+n5x","./bm":"TTiN","./bm.js":"TTiN","./bn":"aIF2","./bn.js":"aIF2","./bo":"QWb5","./bo.js":"QWb5","./br":"iQoZ","./br.js":"iQoZ","./bs":"EL7g","./bs.js":"EL7g","./ca":"vd/2","./ca.js":"vd/2","./cs":"K+3W","./cs.js":"K+3W","./cv":"Jt3X","./cv.js":"Jt3X","./cy":"sWi3","./cy.js":"sWi3","./da":"YcFX","./da.js":"YcFX","./de":"BKZ+","./de-at":"Oq9h","./de-at.js":"Oq9h","./de-ch":"hHY4","./de-ch.js":"hHY4","./de.js":"BKZ+","./dv":"w8Ej","./dv.js":"w8Ej","./el":"tSbB","./el.js":"tSbB","./en-SG":"cGzb","./en-SG.js":"cGzb","./en-au":"HgyJ","./en-au.js":"HgyJ","./en-ca":"ZyTy","./en-ca.js":"ZyTy","./en-gb":"exaB","./en-gb.js":"exaB","./en-ie":"yKzn","./en-ie.js":"yKzn","./en-il":"TB59","./en-il.js":"TB59","./en-nz":"iDxo","./en-nz.js":"iDxo","./eo":"4bvN","./eo.js":"4bvN","./es":"GNPT","./es-do":"R7mU","./es-do.js":"R7mU","./es-us":"Nstw","./es-us.js":"Nstw","./es.js":"GNPT","./et":"ZOjb","./et.js":"ZOjb","./eu":"kFC9","./eu.js":"kFC9","./fa":"8Cju","./fa.js":"8Cju","./fi":"vcN1","./fi.js":"vcN1","./fo":"8Ygf","./fo.js":"8Ygf","./fr":"Y8Ij","./fr-ca":"t+Zl","./fr-ca.js":"t+Zl","./fr-ch":"SPXN","./fr-ch.js":"SPXN","./fr.js":"Y8Ij","./fy":"T3MF","./fy.js":"T3MF","./ga":"NowM","./ga.js":"NowM","./gd":"GJYX","./gd.js":"GJYX","./gl":"MdC8","./gl.js":"MdC8","./gom-latn":"5j0y","./gom-latn.js":"5j0y","./gu":"fY0S","./gu.js":"fY0S","./he":"ACAV","./he.js":"ACAV","./hi":"3WqV","./hi.js":"3WqV","./hr":"OnNk","./hr.js":"OnNk","./hu":"EQmw","./hu.js":"EQmw","./hy-am":"MNf7","./hy-am.js":"MNf7","./id":"0yow","./id.js":"0yow","./is":"TmOJ","./is.js":"TmOJ","./it":"xD/0","./it-ch":"foQf","./it-ch.js":"foQf","./it.js":"xD/0","./ja":"jOnb","./ja.js":"jOnb","./jv":"lOtj","./jv.js":"lOtj","./ka":"BAN/","./ka.js":"BAN/","./kk":"iNiw","./kk.js":"iNiw","./km":"TUxt","./km.js":"TUxt","./kn":"hQzt","./kn.js":"hQzt","./ko":"ZNZT","./ko.js":"ZNZT","./ku":"S0Tg","./ku.js":"S0Tg","./ky":"JO+T","./ky.js":"JO+T","./lb":"vn/h","./lb.js":"vn/h","./lo":"gnIm","./lo.js":"gnIm","./lt":"6PD3","./lt.js":"6PD3","./lv":"YKe2","./lv.js":"YKe2","./me":"d3TR","./me.js":"d3TR","./mi":"hTlv","./mi.js":"hTlv","./mk":"ffVN","./mk.js":"ffVN","./ml":"ejL1","./ml.js":"ejL1","./mn":"RIsM","./mn.js":"RIsM","./mr":"CPJk","./mr.js":"CPJk","./ms":"d5Hy","./ms-my":"t4T9","./ms-my.js":"t4T9","./ms.js":"d5Hy","./mt":"1KVU","./mt.js":"1KVU","./my":"LsNb","./my.js":"LsNb","./nb":"h+U8","./nb.js":"h+U8","./ne":"2JSI","./ne.js":"2JSI","./nl":"jsZ8","./nl-be":"+h6j","./nl-be.js":"+h6j","./nl.js":"jsZ8","./nn":"mh29","./nn.js":"mh29","./pa-in":"O6bP","./pa-in.js":"O6bP","./pl":"8Bez","./pl.js":"8Bez","./pt":"DDip","./pt-br":"uHm5","./pt-br.js":"uHm5","./pt.js":"DDip","./ro":"baBi","./ro.js":"baBi","./ru":"ecsu","./ru.js":"ecsu","./sd":"e9KM","./sd.js":"e9KM","./se":"CZRU","./se.js":"CZRU","./si":"TO58","./si.js":"TO58","./sk":"K+Lk","./sk.js":"K+Lk","./sl":"QK6v","./sl.js":"QK6v","./sq":"v3Qg","./sq.js":"v3Qg","./sr":"Ndyf","./sr-cyrl":"PGvg","./sr-cyrl.js":"PGvg","./sr.js":"Ndyf","./ss":"2B8G","./ss.js":"2B8G","./sv":"WF5B","./sv.js":"WF5B","./sw":"4VvY","./sw.js":"4VvY","./ta":"dw3T","./ta.js":"dw3T","./te":"4MAb","./te.js":"4MAb","./tet":"/hi0","./tet.js":"/hi0","./tg":"PoVJ","./tg.js":"PoVJ","./th":"OY2w","./th.js":"OY2w","./tl-ph":"UC+K","./tl-ph.js":"UC+K","./tlh":"cWLW","./tlh.js":"cWLW","./tr":"EqYs","./tr.js":"EqYs","./tzl":"fN8o","./tzl.js":"fN8o","./tzm":"6cYq","./tzm-latn":"pdAN","./tzm-latn.js":"pdAN","./tzm.js":"6cYq","./ug-cn":"J+SV","./ug-cn.js":"J+SV","./uk":"6Olw","./uk.js":"6Olw","./ur":"QNGR","./ur.js":"QNGR","./uz":"hLzJ","./uz-latn":"KqOT","./uz-latn.js":"KqOT","./uz.js":"hLzJ","./vi":"EnIJ","./vi.js":"EnIJ","./x-pseudo":"W7dU","./x-pseudo.js":"W7dU","./yo":"QDhB","./yo.js":"QDhB","./zh-cn":"bjMe","./zh-cn.js":"bjMe","./zh-hk":"JFCg","./zh-hk.js":"JFCg","./zh-tw":"xBDH","./zh-tw.js":"xBDH"};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="MROq"},MdC8: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("wgY5"))},NcOb: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("wgY5"))},Ndyf: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("wgY5"))},NowM: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("wgY5"))},Nstw: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("wgY5"))},O6bP: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("wgY5"))},OIgT:function(t,e,i){"use strict";e.decode=e.parse=i("wOqL"),e.encode=e.stringify=i("f8+N")},OY2w: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("wgY5"))},OnNk: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("wgY5"))},Oq9h: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("wgY5"))},PGvg: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("wgY5"))},PoVJ: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("wgY5"))},QDhB: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("wgY5"))},QK6v: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("wgY5"))},QNGR: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("wgY5"))},QWb5: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("wgY5"))},R7mU: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("wgY5"))},RIsM: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("wgY5"))},S0Tg: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("wgY5"))},SPXN: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("wgY5"))},Sc1Y: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("wgY5"))},T3MF: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("wgY5"))},TB59: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("wgY5"))},TO58: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("wgY5"))},TTiN: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("wgY5"))},TUxt: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("wgY5"))},TmOJ: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("wgY5"))},"UC+K":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("wgY5"))},W7dU: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("wgY5"))},WF5B: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("wgY5"))},Y8Ij: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("wgY5"))},YKe2: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("wgY5"))},YcFX: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("wgY5"))},ZNZT: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("wgY5"))},ZOjb: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("wgY5"))},ZVVJ: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("wgY5"))},ZyTy: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("wgY5"))},aIF2: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("wgY5"))},aYSr:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},baBi: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("wgY5"))},bjMe: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("wgY5"))},cGzb: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("wgY5"))},cWLW: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("wgY5"))},d3TR: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("wgY5"))},d5Hy: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("wgY5"))},dw3T: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("wgY5"))},e9KM: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("wgY5"))},ecsu: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("wgY5"))},ejL1: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("wgY5"))},etrl:function(t,e,i){var n,s;void 0===(s="function"==typeof(n=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})?n.apply(e,[]):n)||(t.exports=s)},exaB: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("wgY5"))},"f8+N":function(t,e,i){"use strict";var n=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,e,i,s){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(s){var r=encodeURIComponent(n(s))+i;return Array.isArray(t[s])?t[s].map((function(t){return r+encodeURIComponent(n(t))})).join(e):r+encodeURIComponent(n(t[s]))})).join(e):s?encodeURIComponent(n(s))+i+encodeURIComponent(n(t)):""}},fN8o: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("wgY5"))},fY0S: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("wgY5"))},ffVN: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("wgY5"))},foQf: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("wgY5"))},gnIm: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("wgY5"))},"h+U8":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("wgY5"))},hH25: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("wgY5"))},hHY4: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("wgY5"))},hLzJ: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("wgY5"))},hQzt: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("wgY5"))},hTlv: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("wgY5"))},iDxo: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("wgY5"))},iNiw: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("wgY5"))},iQoZ: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)}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(function t(e){return e>9?t(e%10):e}(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("wgY5"))},jOnb: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()=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},kFC9: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("wgY5"))},kQaN: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("wgY5"))},lOtj:function(t,e,i){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=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("wgY5"))},mSaU:function(t,e,i){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,D=e.loadUserInfo,R=void 0===D||D,x=e.staleStateAge,P=void 0===x?900:x,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,q=e.extraTokenParams,V=void 0===q?{}:q;!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===V?"undefined":n(V))?V:{}}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),D=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:D,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)),D&&(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 x in R)R[x]&&(i=s.UrlUtility.addQueryParam(i,x,R[x]));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,D=f,R=p,x=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 q=a[U];if(16>U)var V=q.high=0|t[e+2*U],W=q.low=0|t[e+2*U+1];else{V=((W=(V=a[U-15]).high)>>>1|(G=V.low)<<31)^(W>>>8|G<<24)^W>>>7;var G=(G>>>1|W<<31)^(G>>>8|W<<24)^(G>>>7|W<<25),$=((W=($=a[U-2]).high)>>>19|(J=$.low)<<13)^(W<<3|J>>>29)^W>>>6,J=(J>>>19|W<<13)^(J<<3|W>>>29)^(J>>>6|W<<26),Z=(W=a[U-7]).high,Q=(X=a[U-16]).high,X=X.low;V=(V=(V=V+Z+((W=G+W.low)>>>0>>0?1:0))+$+((W+=J)>>>0>>0?1:0))+Q+((W+=X)>>>0>>0?1:0),q.high=V,q.low=W}q=E&R^E&P^R&P;var tt=D&x^D&L^x&L,et=(G=(E>>>28|D<<4)^(E<<30|D>>>2)^(E<<25|D>>>7),$=(D>>>28|E<<4)^(D<<30|E>>>2)^(D<<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))+V+((J+=W)>>>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=x,R=E,x=D,E=Q+(q=G+q+((W=$+tt)>>>0<$>>>0?1:0))+((D=J+W|0)>>>0>>0?1:0)|0}f=i.low=f+D,i.high=d+E+(f>>>0>>0?1:0),g=n.low=g+x,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]:D(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=x(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)+x(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,q,V=[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],W=(1<<26)/V[V.length-1];function G(){this.i=0,this.j=0,this.S=new Array}function $(){!function(t){U[q++]^=255&t,U[q++]^=t>>8&255,U[q++]^=t>>16&255,U[q++]^=t>>24&255,q>=256&&(q-=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)>V.length&&(t=V.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=x(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]<=V[V.length-1]){for(e=0;e>>8,U[q++]=255&J;q=0,$()}function tt(){if(null==K){for($(),(K=new G).init(U),q=0;q>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=Dt(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=Dt(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=Dt,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(D=new u).setPublic(t.n,t.e),D;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(D=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),D;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(D=new u).setPrivate(t.n,t.e,t.d),D;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(D=new c).setPublic(t.p,t.q,t.g,t.y),D;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(D=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),D;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(D=new u).setPublic(bt(t.n),bt(t.e)),D;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(D=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)),D;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(D=new u).setPrivate(bt(t.n),bt(t.e),bt(t.d)),D;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)(D=new u).readPKCS5PrvKeyHex(m);else if(6===g.length)(D=new c).readPKCS5PrvKeyHex(m);else{if(!(g.length>2&&"04"===m.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(D=new a).readPKCS5PrvKeyHex(m)}return D}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=Dt(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(D=new c).setPrivate(new k(b,16),new k(v,16),new k(A,16),new k(T,16),new k(C,16)),D}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,D=r(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),R=r(n,0,[2,0],"06"),x=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(x),E.setPrivateKeyHex(D),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"),(D=new c).setPrivate(new k(b,16),new k(v,16),new k(A,16),new k(T,16),new k(C,16)),D;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=Dt(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=Dt(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=Dt;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 D(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||x(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||x(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||x(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||x(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||x(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||x(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||x(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||x(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||x(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||x(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||x(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||x(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||x(t,4,this.length),s.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||x(t,4,this.length),s.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||x(t,8,this.length),s.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||x(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,D=i.query_status_response_type,R=i.revokeAccessTokenOnSignout,x=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=D||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),N._revokeAccessTokenOnSignout=x,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;t20?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("wgY5"))},"t+Zl":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("wgY5"))},t4T9: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("wgY5"))},tSbB: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("wgY5"))},u2jB: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("wgY5"))},uHm5: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("wgY5"))},v3Qg: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("wgY5"))},vcN1: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("wgY5"))},"vd/2":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("wgY5"))},"vn/h":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("wgY5"))},w8Ej: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("wgY5"))},wOqL:function(t,e,i){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,i,s){i=i||"=";var r={};if("string"!=typeof t||0===t.length)return r;var o=/\+/g;t=t.split(e=e||"&");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),n(r,d)?Array.isArray(r[d])?r[d].push(f):r[d]=[r[d],f]:r[d]=f}return r}},wgY5:function(t,e,i){(function(t){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 q(t,e){return t.isValid()?(e=V(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 W=/\d/,G=/\d\d/,$=/\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,G),lt("W",Q),lt("WW",Q,G),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 qt=ct,Vt=ct,Wt=ct;function Gt(){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 $t(){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,$t),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+$t.apply(this)+B(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+$t.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,G),lt("hh",Q,G),lt("kk",Q,G),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]&&void 0!==t&&t&&t.exports)try{n=Qt._abbr,i("MROq")("./"+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])D("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(x(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,G),lt("gg",Q,G),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",W),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,G),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",$),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,G),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,G),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,W),lt("SS",et,G),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")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=qe,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=We(this,n)/12;break;case"month":r=We(this,n);break;case"quarter":r=We(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=q(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?q(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",q(i,"Z")):q(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=xt),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")||Gt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},gi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Vt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Wt),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"),Di=Ti("d"),Ri=Ti("w"),xi=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 qi=Math.abs;function Vi(t){return(t>0)-(t<0)||+t}function Wi(){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?"-":"",f=Vi(this._months)!==Vi(h)?"-":"",p=Vi(this._days)!==Vi(h)?"-":"",g=Vi(this._milliseconds)!==Vi(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 Gi=De.prototype;return Gi.isValid=function(){return this._isValid},Gi.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},Gi.add=function(t,e){return bi(this,t,e,1)},Gi.subtract=function(t,e){return bi(this,t,e,-1)},Gi.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)}},Gi.asMilliseconds=Ci,Gi.asSeconds=Si,Gi.asMinutes=Mi,Gi.asHours=Ei,Gi.asDays=Di,Gi.asWeeks=Ri,Gi.asMonths=xi,Gi.asQuarters=Pi,Gi.asYears=Li,Gi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Gi._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},Gi.clone=function(){return je(this)},Gi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Gi.milliseconds=Ii,Gi.seconds=Fi,Gi.minutes=Hi,Gi.hours=Oi,Gi.days=Bi,Gi.weeks=function(){return A(this.days()/7)},Gi.months=ji,Gi.years=Yi,Gi.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)},Gi.toISOString=Wi,Gi.toString=Wi,Gi.toJSON=Wi,Gi.locale=Ge,Gi.localeData=Je,Gi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wi),Gi.lang=$e,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=x(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}()}).call(this,i("aYSr")(t))},xBDH: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("wgY5"))},"xD/0":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("wgY5"))},yKzn: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("wgY5"))},zUnb:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.r(e);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 x(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const P=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[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(x(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[D])return e=t,t=>{const i=e[D]();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,n};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(x(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[D]}(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[D](),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 q(...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 V(){return function(t){return t.lift(new W(t))}}class W{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new G(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class G 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 $ 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 V()(this)}}const J=(()=>{const t=$.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 V()((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){return{toString:t}.toString()}const et="__parameters__";function it(t,e,i){return tt(()=>{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(et)?t[et]:Object.defineProperty(t,et,{value:[]})[et];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})}const nt=it("Inject",t=>({token:t})),st=it("Optional"),rt=it("Self"),ot=it("SkipSelf");var at=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 ct(t){for(let e in t)if(t[e]===ct)return e;throw Error("Could not find renamed property on target object.")}function ut(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function lt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function dt(t){return ft(t,t[gt])||ft(t,t[yt])}function ft(t,e){return e&&e.token===t?e:null}function pt(t){return t&&(t.hasOwnProperty(mt)||t.hasOwnProperty(wt))?t[mt]:null}const gt=ct({"\u0275prov":ct}),mt=ct({"\u0275inj":ct}),_t=ct({"\u0275provFallback":ct}),yt=ct({ngInjectableDef:ct}),wt=ct({ngInjectorDef:ct});function bt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(bt).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 vt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const At=ct({__forward_ref__:ct});function kt(t){return t.__forward_ref__=kt,t.toString=function(){return bt(this())},t}function Tt(t){return Ct(t)?t():t}function Ct(t){return"function"==typeof t&&t.hasOwnProperty(At)&&t.__forward_ref__===kt}const St="undefined"!=typeof globalThis&&globalThis,Mt="undefined"!=typeof window&&window,Et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Dt="undefined"!=typeof global&&global,Rt=St||Dt||Mt||Et,xt=ct({"\u0275cmp":ct}),Pt=ct({"\u0275dir":ct}),Lt=ct({"\u0275pipe":ct}),zt=ct({"\u0275mod":ct}),It=ct({"\u0275loc":ct}),Ft=ct({"\u0275fac":ct}),Ht=ct({__NG_ELEMENT_ID__:ct});class Ot{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=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Bt=new Ot("INJECTOR",-1),jt={},Yt=/\n/gm,Nt="__source",Kt=ct({provide:String,useValue:ct});let Ut,qt=void 0;function Vt(t){const e=qt;return qt=t,e}function Wt(t){const e=Ut;return Ut=t,e}function Gt(t,e=at.Default){if(void 0===qt)throw new Error("inject() must be called from an injection context");return null===qt?Zt(t,void 0,e):qt.get(t,e&at.Optional?null:void 0,e)}function $t(t,e=at.Default){return(Ut||Gt)(Tt(t),e)}const Jt=$t;function Zt(t,e,i){const n=dt(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&at.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${bt(t)}]`)}function Qt(t){const e=[];for(let i=0;iArray.isArray(t)?ie(t,e):e(t))}function ne(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function se(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function re(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 ae(t,e){const i=ce(t,e);if(i>=0)return t[1|i]}function ce(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)}var ue=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),le=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const he={},de=[];let fe=0;function pe(t){return tt(()=>{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===ue.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||de,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||le.Emulated,id:"c",styles:t.styles||de,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,r=t.pipes;return i.id+=fe++,i.inputs=we(t.inputs,e),i.outputs=we(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(ge):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(me):null,i})}function ge(t){return Ae(t)||function(t){return t[Pt]||null}(t)}function me(t){return function(t){return t[Lt]||null}(t)}const _e={};function ye(t){const e={type:t.type,bootstrap:t.bootstrap||de,declarations:t.declarations||de,imports:t.imports||de,exports:t.exports||de,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&tt(()=>{_e[t.id]=t.type}),e}function we(t,e){if(null==t)return he;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 be=pe;function ve(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ae(t){return t[xt]||null}function ke(t,e){return t.hasOwnProperty(Ft)?t[Ft]:null}function Te(t,e){const i=t[zt]||null;if(!i&&!0===e)throw new Error(`Type ${bt(t)} does not have '\u0275mod' property.`);return i}const Ce=20,Se=10;function Me(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ee(t){return Array.isArray(t)&&!0===t[1]}function De(t){return 0!=(8&t.flags)}function Re(t){return 2==(2&t.flags)}function xe(t){return 1==(1&t.flags)}function Pe(t){return null!==t.template}function Le(t){return 0!=(512&t[2])}class ze{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ie(){return Fe}function Fe(t){return t.type.prototype.ngOnChanges&&(t.setInput=Oe),He}function He(){const t=Be(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===he)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Oe(t,e,i,n){const s=Be(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:he,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[i],c=o[a];r[a]=new ze(c&&c.currentValue,e,o===he),t[n]=e}function Be(t){return t.__ngSimpleChanges__||null}Ie.ngInherit=!0;const je="http://www.w3.org/2000/svg";let Ye=void 0;function Ne(){return void 0!==Ye?Ye:"undefined"!=typeof document?document:void 0}function Ke(t){return!!t.listen}const Ue={createRenderer:(t,e)=>Ne()};function qe(t){for(;Array.isArray(t);)t=t[0];return t}function Ve(t,e){return qe(e[t+Ce])}function We(t,e){return qe(e[t.index])}function Ge(t,e){return t.data[e+Ce]}function $e(t,e){return t[e+Ce]}function Je(t,e){const i=e[t];return Me(i)?i:i[0]}function Ze(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Qe(t){return 4==(4&t[2])}function Xe(t){return 128==(128&t[2])}function ti(t,e){return null===t||null==e?null:t[e]}function ei(t){t[18]=0}function ii(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 ni={lFrame:Si(null),bindingsEnabled:!0,checkNoChangesMode:!1};function si(){return ni.bindingsEnabled}function ri(){return ni.lFrame.lView}function oi(){return ni.lFrame.tView}function ai(t){ni.lFrame.contextLView=t}function ci(){return ni.lFrame.currentTNode}function ui(t,e){ni.lFrame.currentTNode=t,ni.lFrame.isParent=e}function li(){return ni.lFrame.isParent}function hi(){ni.lFrame.isParent=!1}function di(){return ni.checkNoChangesMode}function fi(t){ni.checkNoChangesMode=t}function pi(){const t=ni.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function gi(){return ni.lFrame.bindingIndex}function mi(){return ni.lFrame.bindingIndex++}function _i(t){const e=ni.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function yi(t,e){const i=ni.lFrame;i.bindingIndex=i.bindingRootIndex=t,wi(e)}function wi(t){ni.lFrame.currentDirectiveIndex=t}function bi(t){const e=ni.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function vi(){return ni.lFrame.currentQueryIndex}function Ai(t){ni.lFrame.currentQueryIndex=t}function ki(t,e){const i=Ci();ni.lFrame=i,i.currentTNode=e,i.lView=t}function Ti(t){const e=Ci(),i=t[1];ni.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex}function Ci(){const t=ni.lFrame,e=null===t?null:t.child;return null===e?Si(t):e}function Si(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Mi(){const t=ni.lFrame;return ni.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ei=Mi;function Di(){const t=Mi();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ri(){return ni.lFrame.selectedIndex}function xi(t){ni.lFrame.selectedIndex=t}function Pi(){const t=ni.lFrame;return Ge(t.tView,t.selectedIndex)}function Li(){ni.lFrame.currentNamespace=je}function zi(){ni.lFrame.currentNamespace=null}function Ii(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[o]<0&&(t[18]+=65536),(r>11>16&&(3&t[2])===e&&(t[2]+=2048,r.call(o)):r.call(o)}const Yi=-1;class Ni{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Ki(t,e,i){const n=Ke(t);let s=0;for(;se){o=r-1;break}}}for(;r>16,n=e;for(;i>0;)n=n[15],i--;return n}function Zi(t){return"string"==typeof t?t:null==t?"":""+t}function Qi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Zi(t)}const Xi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Rt))();function tn(t){return{name:"window",target:t.ownerDocument.defaultView}}function en(t){return{name:"body",target:t.ownerDocument.body}}function nn(t){return t instanceof Function?t():t}let sn=!0;function rn(t){const e=sn;return sn=t,e}let on=0;function an(t,e){const i=un(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,cn(n.data,t),cn(e,null),cn(n.blueprint,null));const s=ln(t,e),r=t.injectorIndex;if(Gi(s)){const t=$i(s),i=Ji(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 cn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function un(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function ln(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 Yi;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return Yi}function hn(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(Ht)&&(n=i[Ht]),null==n&&(n=i[Ht]=on++);const s=255&n,r=1<0?255&e:e}(i);if("function"==typeof s){ki(e,t);try{const t=s();if(null!=t||n&at.Optional)return t;throw new Error(`No provider for ${Qi(i)}!`)}finally{Ei()}}else if("number"==typeof s){if(-1===s)return new wn(t,e);let r=null,o=un(t,e),a=Yi,c=n&at.Host?e[16][6]:null;for((-1===o||n&at.SkipSelf)&&(a=-1===o?ln(t,e):e[o+8],a!==Yi&&yn(n,!1)?(r=e[1],o=$i(a),e=Ji(a,e)):o=-1);-1!==o;){const t=e[1];if(_n(s,o,t.data)){const t=pn(o,e,i,r,n,c);if(t!==fn)return t}a=e[o+8],a!==Yi&&yn(n,e[1].data[o+8]===c)&&_n(s,o,e)?(r=t,o=$i(a),e=Ji(a,e)):o=-1}}}if(n&at.Optional&&void 0===s&&(s=null),0==(n&(at.Self|at.Host))){const t=e[9],r=Wt(void 0);try{return t?t.get(i,s,n&at.Optional):Zt(i,s,n&at.Optional)}finally{Wt(r)}}if(n&at.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Qi(i)}]`)}const fn={};function pn(t,e,i,n,s,r){const o=e[1],a=o.data[t+8],c=gn(a,o,i,null==n?Re(a)&&sn:n!=o&&2===a.type,s&at.Host&&r===a);return null!==c?mn(e,o,c,a):fn}function gn(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&&Pe(t)&&t.type===i)return c}return null}function mn(t,e,i,n){let s=t[i];const r=e.data;if(s instanceof Ni){const o=s;if(o.resolving)throw new Error("Circular dep for "+Qi(r[i]));const a=rn(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Wt(o.injectImpl):null;ki(t,n);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=Fe(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&&Wt(c),rn(a),o.resolving=!1,Ei()}}return s}function _n(t,e,i){const n=64&t,s=32&t;let r;return r=128&t?n?s?i[e+7]:i[e+6]:s?i[e+5]:i[e+4]:n?s?i[e+3]:i[e+2]:s?i[e+1]:i[e],!!(r&1<{const t=bn(Tt(e));return t?t():null};let i=ke(e);if(null===i){const t=pt(e);i=t&&t.factory}return i||null}function vn(t){return tt(()=>{const e=t.prototype.constructor,i=e[Ft]||bn(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[Ft]||bn(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function An(t){return t.ngDebugContext}function kn(t){return t.ngOriginalError}function Tn(t,...e){t.error(...e)}class Cn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||Tn}(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(kn(t)):null}_findOriginalError(t){let e=kn(t);for(;e&&kn(e);)e=kn(e);return e}}class Sn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class Mn extends Sn{getTypeName(){return"HTML"}}class En extends Sn{getTypeName(){return"Style"}}class Dn extends Sn{getTypeName(){return"Script"}}class Rn extends Sn{getTypeName(){return"URL"}}class xn 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 http://g.co/ng/security#xss)`)}return i===e}function zn(t){return t instanceof Sn&&t.getTypeName()||null}let In=!0,Fn=!1;function Hn(){return Fn=!0,In}class On{getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Bn{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=t,e;const i=this.inertDocument.createElement("body");return i.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Nn(t.trim())).join(", ")),this.buf.push(" ",e,'="',ns(o),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();$n.hasOwnProperty(e)&&!qn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(ns(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 es=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,is=/([^\#-~ |!])/g;function ns(t){return t.replace(/&/g,"&").replace(es,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(is,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let ss;function rs(t,e){let i=null;try{ss=ss||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new On:new Bn(t)}(t);let n=e?String(e):"";i=ss.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=ss.getInertBodyElement(n)}while(n!==r);const o=new ts,a=o.sanitizeChildren(os(i)||i);return Hn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(i){const t=os(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function os(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var as=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 cs(t){const e=ls();return e?e.sanitize(as.HTML,t)||"":Ln(t,"HTML")?Pn(t):rs(Ne(),Zi(t))}function us(t){const e=ls();return e?e.sanitize(as.URL,t)||"":Ln(t,"URL")?Pn(t):Nn(Zi(t))}function ls(){const t=ri();return t&&t[12]}function hs(t,e){t.__ngContext__=e}function ds(t,e,i){let n=t.length;for(;;){const s=t.indexOf(e,i);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const i=e.length;if(s+i===n||t.charCodeAt(s+i)<=32)return s}i=s+1}}const fs="ng-template";function ps(t,e,i){let n=0;for(;nr?"":s[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==ds(e,u,0)||2&n&&u!==t){if(ys(n))return!1;o=!0}}}}else{if(!o&&!ys(n)&&!ys(c))return!1;if(o&&ys(c))continue;o=!1,n=c|1&n}}return ys(n)||o}function ys(t){return 0==(1&t)}function ws(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||ys(o)||(e+=As(r,s),s=""),n=o,r=r||!ys(n);i++}return""!==s&&(e+=As(r,s)),e}const Ts={};function Cs(t){const e=t[3];return Ee(e)?e[3]:e}function Ss(t){return Es(t[13])}function Ms(t){return Es(t[4])}function Es(t){for(;null!==t&&!Ee(t);)t=t[4];return t}function Ds(t){Rs(oi(),ri(),Ri()+t,di())}function Rs(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&Fi(e,n,i)}else{const n=t.preOrderHooks;null!==n&&Hi(e,n,0,i)}xi(i)}function xs(t,e){return t<<17|e<<2}function Ps(t){return t>>17&32767}function Ls(t){return 2|t}function zs(t){return(131068&t)>>2}function Is(t,e){return-131069&t|e<<2}function Fs(t){return 1|t}function Hs(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;nCe&&Rs(t,e,0,di()),i(n,s)}finally{xi(r)}}function qs(t,e,i){if(De(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0&&function t(e){for(let n=Ss(e);null!==n;n=Ms(n))for(let e=Se;e0&&t(i)}const i=e[1].components;if(null!==i)for(let n=0;n0&&t(s)}}(i)}}function fr(t,e){const i=Je(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function br(t){return t[7]||(t[7]=[])}function vr(t,e,i){return(null===t||Pe(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 Ar(t,e){const i=t[9],n=i?i.get(Cn,null):null;n&&n.handleError(e)}function kr(t,e,i,n,s){for(let r=0;r0&&(t[i-1][4]=n[4]);const o=se(t,Se+e);Or(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 Er(t,e){if(!(256&e[2])){const i=e[11];Ke(i)&&i.destroyNode&&Or(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return Dr(t[1],t);for(;e;){let i=null;if(Me(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)Me(e)&&Dr(e[1],e),e=e[3];null===e&&(e=t),Me(e)&&Dr(e[1],e),i=e&&e[4]}e=i}}(e)}}function Dr(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?t[a]():t[-a].unsubscribe(),n+=2}else i[n].call(t[i[n+1]]);e[7]=null}}(t,e),1===e[1].type&&Ke(e[11])&&e[11].destroy();const i=e[17];if(null!==i&&Ee(e[3])){i!==e[3]&&Sr(i,e);const n=e[19];null!==n&&n.detachView(t)}}}function Rr(t,e,i){let n=e.parent;for(;null!=n&&(3===n.type||4===n.type);)n=(e=n).parent;if(null===n)return i[0];if(e&&4===e.type&&4&e.flags)return We(e,i).parentNode;if(2&n.flags){const e=t.data,i=e[e[n.index].directiveStart].encapsulation;if(i!==le.ShadowDom&&i!==le.Native)return null}return We(n,i)}function xr(t,e,i,n){Ke(t)?t.insertBefore(e,i,n):e.insertBefore(i,n,!0)}function Pr(t,e,i){Ke(t)?t.appendChild(e,i):e.appendChild(i)}function Lr(t,e,i,n){null!==n?xr(t,e,i,n):Pr(t,e,i)}function zr(t,e){return Ke(t)?t.parentNode(e):e.parentNode}function Ir(t,e){return 3===t.type||4===t.type?We(t,e):null}function Fr(t,e,i,n){const s=Rr(t,n,e);if(null!=s){const t=e[11],r=Ir(n.parent||e[6],e);if(Array.isArray(i))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Er(this._lView[1],this._lView)}onDestroy(t){Js(this._lView[1],this._lView,null,t)}markForCheck(){gr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){mr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){fi(!0);try{mr(t,e,i)}finally{fi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Or(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Kr extends Nr{constructor(t){super(t),this._view=t}detectChanges(){_r(this._view)}checkNoChanges(){!function(t){fi(!0);try{_r(t)}finally{fi(!1)}}(this._view)}get context(){return null}}let Ur,qr,Vr;function Wr(t,e,i){return Ur||(Ur=class extends t{}),new Ur(We(e,i))}function Gr(t,e,i,n){return qr||(qr=class extends t{constructor(t,e,i){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Bs(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),Ys(e,i,t),new Nr(i)}}),0===i.type?new qr(n,i,Wr(e,i,n)):null}function $r(t,e,i,n){let s;Vr||(Vr=class extends t{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostView=i}get element(){return Wr(e,this._hostTNode,this._hostView)}get injector(){return new wn(this._hostTNode,this._hostView)}get parentInjector(){const t=ln(this._hostTNode,this._hostView);if(Gi(t)){const e=Ji(t,this._hostView),i=$i(t);return new wn(e[1].data[i+8],e)}return new wn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-Se}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(te,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(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ee(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new Vr(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=Se+n,r=i.length;n>0&&(i[s-1][4]=e),n{class t{}return t.__NG_ELEMENT_ID__=()=>Qr(),t})();const Qr=Jr,Xr=Function,to=new Ot("Set Injector scope."),eo={},io={},no=[];let so=void 0;function ro(){return void 0===so&&(so=new Xt),so}function oo(t,e=null,i=null,n){return new ao(t,i,e||ro(),n)}class ao{constructor(t,e,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&ie(e,i=>this.processProvider(i,t,e)),ie([t],t=>this.processInjectorType(t,[],s)),this.records.set(Bt,lo(void 0,this));const r=this.records.get(to);this.scope=null!=r?r.value:null,this.source=n||("object"==typeof t?null:bt(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=jt,i=at.Default){this.assertNotDestroyed();const n=Vt(this);try{if(!(i&at.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Ot)&&dt(t);e=i&&this.injectableDefInScope(i)?lo(co(t),eo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&at.Self?ro():this.parent).get(t,e=i&at.Optional&&e===jt?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(bt(t)),n)throw r;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e[Nt]&&s.unshift(e[Nt]),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=bt(e);if(Array.isArray(e))s=e.map(bt).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):bt(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(Yt,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{Vt(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(bt(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=Tt(t)))return!1;let n=pt(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=pt(s)),null==n)return!1;if(null!=n.imports&&!o){let t;i.push(r);try{ie(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||no))}}this.injectorDefTypes.add(r),this.records.set(r,lo(n.factory,eo));const a=n.providers;if(null!=a&&!o){const e=t;ie(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=fo(t=Tt(t))?t:Tt(t&&t.provide);const s=function(t,e,i){return ho(t)?lo(void 0,t.useValue):lo(uo(t),eo)}(t);if(fo(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=lo(void 0,eo,!0),e.factory=()=>Qt(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===eo&&(e.value=io,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){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function co(t){const e=dt(t),i=null!==e?e.factory:ke(t);if(null!==i)return i;const n=pt(t);if(null!==n)return n.factory;if(t instanceof Ot)throw new Error(`Token ${bt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=re(e,"?");throw new Error(`Can't resolve all parameters for ${bt(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[gt]||t[yt]||t[_t]&&t[_t]());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 uo(t,e,i){let n=void 0;if(fo(t)){const e=Tt(t);return ke(e)||co(e)}if(ho(t))n=()=>Tt(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...Qt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>$t(Tt(t.useExisting));else{const e=Tt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ke(e)||co(e);n=()=>new e(...Qt(t.deps))}var s;return n}function lo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function ho(t){return null!==t&&"object"==typeof t&&Kt in t}function fo(t){return"function"==typeof t}const po=function(t,e,i){return function(t,e=null,i=null,n){const s=oo(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let go=(()=>{class t{static create(t,e){return Array.isArray(t)?po(t,e,""):po(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=jt,t.NULL=new Xt,t.\u0275prov=lt({token:t,providedIn:"any",factory:()=>$t(Bt)}),t.__NG_ELEMENT_ID__=-1,t})();const mo=new Ot("AnalyzeForEntryComponents");function _o(t,e,i){let n=i?t.styles:null,s=i?t.classes:null,r=0;if(null!==e)for(let o=0;o=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=Vi(s.hostAttrs,i=Vi(i,s.hostAttrs))}}(n)}function bo(t){return t===he?{}:t===de?[]:t}function vo(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function Ao(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function ko(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let To=null;function Co(){if(!To){const t=Rt.Symbol;if(t&&t.iterator)To=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(qe(t[n.index])).target:n.index;if(Ke(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,r,!1);const t=i.listen(f.name||p,s,r);l.push(r,t),u&&u.push(s,m,g,g+1)}}else r=Xo(n,e,r,!0),p.addEventListener(s,r,o),l.push(r),u&&u.push(s,m,g,o)}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,ni.lFrame.contextLView))[8]}(t)}function ea(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))oe(t,la(e),!0)}function ma(t,e,i,n){const s=ri(),r=oi(),o=_i(2);r.firstUpdatePass&&wa(r,t,o,n),e!==Ts&&Ro(s,o,e)&&Aa(r,r.data[Ri()+Ce],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=bt(Pn(t)))),t}(e,i),n,o)}function _a(t,e,i,n){const s=oi(),r=_i(2);s.firstUpdatePass&&wa(s,null,r,n);const o=ri();if(i!==Ts&&Ro(o,r,i)){const a=s.data[Ri()+Ce];if(Ca(a,n)&&!ya(s,r)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=vt(t,i||"")),Bo(s,a,o,i,n)}else!function(t,e,i,n,s,r,o,a){s===Ts&&(s=oa);let c=0,u=0,l=0=t.expandoStartIndex}function wa(t,e,i,n){const s=t.data;if(null===s[i+1]){const r=s[Ri()+Ce],o=ya(t,i);Ca(r,n)&&null===e&&!o&&(e=!1),e=function(t,e,i,n){const s=bi(t);let r=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=va(i=ba(null,t,e,i,n),e.attrs,n),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(i=ba(s,t,e,i,n),null===r){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==zs(n))return t[Ps(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=ba(null,t,e,i[1],n),i=va(i,e.attrs,n),function(t,e,i,n){t[Ps(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else r=function(t,e,i){let n=void 0;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(l=!0)}else u=i;if(s)if(0!==c){const e=Ps(t[a+1]);t[n+1]=xs(e,a),0!==e&&(t[e+1]=Is(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=xs(a,0),0!==a&&(t[a+1]=Is(t[a+1],n)),a=n;else t[n+1]=xs(c,0),0===a?a=n:t[c+1]=Is(t[c+1],n),c=n;l&&(t[n+1]=Ls(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&&ce(r,e)>=0&&(i[n+1]=Fs(i[n+1]))}(e,u,t,n,r),o=xs(a,c),r?e.classBindings=o:e.styleBindings=o}(s,r,e,i,o,n)}}function ba(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===Ts&&(l=u?oa:void 0);let h=u?ae(l,n):c===n?l:void 0;if(r&&!Ta(h)&&(h=ae(e,n)),Ta(h)&&(a=h,o))return a;const d=t[s+1];s=o?Ps(d):zs(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=ae(t,n))}return a}function Ta(t){return void 0!==t}function Ca(t,e){return 0!=(t.flags&(e?16:32))}function Sa(t,e=""){const i=ri(),n=oi(),s=t+Ce,r=n.firstCreatePass?js(n,t,2,null,null):n.data[s],o=i[s]=function(t,e){return Ke(e)?e.createText(t):e.createTextNode(t)}(e,i[11]);Fr(n,i,o,r),ui(r,!1)}function Ma(t){return Ea("",t,""),Ma}function Ea(t,e,i){const n=ri(),s=Lo(n,t,e,i);return s!==Ts&&Tr(n,Ri(),s),Ea}function Da(t,e,i,n,s){const r=ri(),o=function(t,e,i,n,s,r){const o=xo(t,gi(),i,s);return _i(2),o?e+Zi(i)+n+Zi(s)+r:Ts}(r,t,e,i,n,s);return o!==Ts&&Tr(r,Ri(),o),Da}function Ra(t,e,i,n,s,r,o,a,c,u,l){const h=ri(),d=function(t,e,i,n,s,r,o,a,c,u,l,h){const d=gi();let f=function(t,e,i,n,s,r){const o=xo(t,e,i,n);return xo(t,e+2,s,r)||o}(t,d,i,s,o,c);return f=Ro(t,d+4,l)||f,_i(5),f?e+Zi(i)+n+Zi(s)+r+Zi(o)+a+Zi(c)+u+Zi(l)+h:Ts}(h,t,e,i,n,s,r,o,a,c,u,l);return d!==Ts&&Tr(h,Ri(),d),Ra}function xa(t,e,i){_a(oe,ga,Lo(ri(),t,e,i),!0)}function Pa(t,e,i){const n=ri();return Ro(n,mi(),e)&&Qs(oi(),Pi(),n,t,e,n[11],i,!0),Pa}function La(t,e,i){const n=ri();if(Ro(n,mi(),e)){const s=oi(),r=Pi();Qs(s,r,n,t,e,vr(bi(s.data),r,n),i,!0)}return La}function za(t,e,i,n,s){if(t=Tt(t),Array.isArray(t))for(let r=0;r>20;if(fo(t)||!t.multi){const n=new Ni(c,s,Fo),f=Ha(a,e,s?l:l+d,h);-1===f?(hn(an(u,o),r,a),Ia(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=Ha(a,e,l+d,h),p=Ha(a,e,l,l+d),g=f>=0&&i[f],m=p>=0&&i[p];if(s&&!m||!s&&!g){hn(an(u,o),r,a);const l=function(t,e,i,n,s){const r=new Ni(t,i,Fo);return r.multi=[],r.index=e,r.componentProviders=0,Fa(r,s,n&&!i),r}(s?Ba:Oa,i.length,s,n,c);!s&&m&&(i[p].providerFactory=l),Ia(r,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(l),o.push(l)}else Ia(r,t,f>-1?f:p,Fa(i[s?p:f],c,!s&&n));!s&&n&&m&&i[p].componentProviders++}}}function Ia(t,e,i,n){const s=fo(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 Fa(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Ha(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=oi();if(n.firstCreatePass){const s=Pe(t);za(i,n.data,n.blueprint,s,!0),za(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class Na{}class Ka{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${bt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Ua=(()=>{class t{}return t.NULL=new Ka,t})(),qa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Va(t),t})();const Va=function(t){return Wr(t,ci(),ri())};class Wa{}var Ga=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let $a=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ja(),t})();const Ja=function(){const t=ri(),e=Je(ci().index,t);return function(t){const e=t[11];if(Ke(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Me(e)?e:t)};let Za=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>null}),t})();class Qa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Xa=new Qa("10.1.5");class tc{constructor(){}supports(t){return Mo(t)}create(t){return new ic(t)}}const ec=(t,e)=>e;class ic{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||ec}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._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):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)):t=this._addAfter(new nc(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 rc),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 rc),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 nc{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 sc{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 rc{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new sc,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 oc(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 uc(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 uc{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}}let lc=(()=>{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=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,i)},deps:[[t,new ot,new st]]}}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=lt({token:t,providedIn:"root",factory:()=>new t([new tc])}),t})(),hc=(()=>{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=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,i)},deps:[[t,new ot,new st]]}}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=lt({token:t,providedIn:"root",factory:()=>new t([new ac])}),t})();const dc=[new ac],fc=new lc([new tc]),pc=new hc(dc);let gc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>mc(t,qa),t})();const mc=function(t,e){return Gr(t,e,ci(),ri())};let _c=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>yc(t,qa),t})();const yc=function(t,e){return $r(t,e,ci(),ri())},wc={};class bc extends Ua{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ae(t);return new kc(e,this.ngModule)}}function vc(t){const e=[];for(let i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}const Ac=new Ot("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xi});class kc extends Na{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ks).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return vc(this.componentDef.inputs)}get outputs(){return vc(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(Wa,Ue),o=s.get(Za,null),a=r.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(Ke(t))return t.selectRootElement(e,i===le.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Os(c,r.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?je:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:Xi,clean:wr,playerHandler:null,flags:0},d=$s(0,null,null,1,0,null,null,null,null,null),f=Bs(null,d,h,l,null,null,r,a,o,s);let p,g;Ti(f);try{const t=function(t,e,i,n,s,r){const o=i[1];i[20]=t;const a=js(o,0,2,null,null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(_o(a,c,!0),null!==t&&(Ki(s,t,c),null!==a.classes&&Yr(s,t,a.classes),null!==a.styles&&jr(s,t,a.styles)));const u=n.createRenderer(t,e),l=Bs(i,Gs(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return o.firstCreatePass&&(hn(an(a,i),o,e.type),sr(o,a),or(a,i.length,1)),pr(i,l),i[20]=l}(u,this.componentDef,f,r,a);if(u)if(i)Ki(a,u,["ng-version",Xa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&Yr(a,u,e.join(" "))}if(g=Ge(d,0),void 0!==e){const t=g.projection=[];for(let i=0;it(o,e)),e.contentQueries&&e.contentQueries(1,o,i.length-1);const a=ci();if(r.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){xi(a.index-Ce);const t=i[1];tr(t,e),er(t,i,e.hostVars),ir(e,o)}return o}(t,this.componentDef,f,h,[yo]),Ys(d,f,null)}finally{Di()}return new Tc(this.componentType,p,Wr(qa,g,f),f,g)}}class Tc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Kr(n),this.componentType=t}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Cc=void 0;var Sc=["en",[["a","p"],["AM","PM"],Cc],[["AM","PM"],Cc,Cc],[["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"]],Cc,[["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"]],Cc,[["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}",Cc,"{1} 'at' {0}",Cc],[".",",",";","%","+","-","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 Mc={};function Ec(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=Dc(e);if(i)return i;const n=e.split("-")[0];if(i=Dc(n),i)return i;if("en"===n)return Sc;throw new Error(`Missing locale data for the locale "${t}".`)}function Dc(t){return t in Mc||(Mc[t]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[t]),Mc[t]}var Rc=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 xc="en-US";let Pc=xc;function Lc(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&&(Pc=t.toLowerCase().replace(/_/g,"-"))}const zc=new Map;class Ic extends te{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new bc(this);const i=Te(t),n=t[It]||null;n&&Lc(n),this._bootstrapComponents=nn(i.bootstrap),this._r3Injector=oo(t,e,[{provide:te,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver}],bt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=go.THROW_IF_NOT_FOUND,i=at.Default){return t===go||t===te||t===Bt?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 Fc extends ee{constructor(t){super(),this.moduleType=t,null!==Te(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${bt(e)} vs ${bt(e.name)}`)})(t,zc.get(t),e),zc.set(t,e)}let i=e.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(e=>t(e))}(t)}create(t){return new Ic(this.moduleType,t)}}function Hc(t,e,i){const n=pi()+t,s=ri();return s[n]===Ts?Do(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function Oc(t,e,i,n){return Yc(ri(),pi(),t,e,i,n)}function Bc(t,e,i,n,s){return Nc(ri(),pi(),t,e,i,n,s)}function jc(t,e){const i=t[e];return i===Ts?void 0:i}function Yc(t,e,i,n,s,r){const o=e+i;return Ro(t,o,s)?Do(t,o+1,r?n.call(r,s):n(s)):jc(t,o+1)}function Nc(t,e,i,n,s,r,o){const a=e+i;return xo(t,a,s,r)?Do(t,a+2,o?n.call(o,s,r):n(s,r)):jc(t,a+2)}function Kc(t,e){const i=oi();let n;const s=t+Ce;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 Error(`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=ke(n.type)),o=Wt(Fo);try{const e=rn(!1),n=r();return rn(e),function(t,e,i,n){const s=i+Ce;s>=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),e[s]=n}(i,ri(),t,n),n}finally{Wt(o)}}function Uc(t,e,i){const n=ri(),s=$e(n,t);return Vc(n,qc(n,t)?Yc(n,pi(),e,s.transform,i,s):s.transform(i))}function qc(t,e){return t[1].data[e+Ce].pure}function Vc(t,e){return So.isWrapped(e)&&(e=So.unwrap(e),t[gi()]=Ts),e}const Wc=class extends k{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let n,s=t=>null,r=()=>null;t&&"object"==typeof t?(n=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(r=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(n=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),i&&(r=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const o=super.subscribe(n,s,r);return t instanceof h&&t.add(o),o}};function Gc(){return this._results[Co()]()}class $c{constructor(){this.dirty=!0,this._results=[],this.changes=new Wc,this.length=0;const t=Co(),e=$c.prototype;e[t]||(e[t]=Gc)}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){this._results=function t(e,i){void 0===i&&(i=e);for(let n=0;n0)s.push(a[e/2]);else{const r=o[e+1],a=i[-n];for(let e=Se;e{class t{constructor(t){this.appInits=t,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()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)($t(mu,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const yu=new Ot("AppId"),wu={provide:yu,useFactory:function(){return`${bu()}${bu()}${bu()}`},deps:[]};function bu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vu=new Ot("Platform Initializer"),Au=new Ot("Platform ID"),ku=new Ot("appBootstrapListener");let Tu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Cu=new Ot("LocaleId"),Su=new Ot("DefaultCurrencyCode");class Mu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Eu=function(t){return new Fc(t)},Du=Eu,Ru=function(t){return Promise.resolve(Eu(t))},xu=function(t){const e=Eu(t),i=nn(Te(t).declarations).reduce((t,e)=>{const i=Ae(e);return i&&t.push(new kc(i)),t},[]);return new Mu(e,i)},Pu=xu,Lu=function(t){return Promise.resolve(xu(t))};let zu=(()=>{class t{constructor(){this.compileModuleSync=Du,this.compileModuleAsync=Ru,this.compileModuleAndAllComponentsSync=Pu,this.compileModuleAndAllComponentsAsync=Lu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Iu=(()=>Promise.resolve(0))();function Fu(t){"undefined"==typeof Zone?Iu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Hu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wc(!1),this.onMicrotaskEmpty=new Wc(!1),this.onStable=new Wc(!1),this.onError=new Wc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.wtfZoneSpec&&(i._inner=i._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=e,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=Rt.requestAnimationFrame,e=Rt.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=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Yu(t),ju(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Yu(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(i,n,s,r,o,a)=>{try{return Nu(t),i.invokeTask(s,r,o,a)}finally{e&&"eventTask"===r.type&&e(),Ku(t)}},onInvoke:(e,i,n,s,r,o,a)=>{try{return Nu(t),e.invoke(n,s,r,o,a)}finally{Ku(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Yu(t),ju(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Hu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Hu.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,Bu,Ou,Ou);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)}}function Ou(){}const Bu={};function ju(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 Yu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Nu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ku(t){t._nesting--,ju(t)}class Uu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wc,this.onMicrotaskEmpty=new Wc,this.onStable=new Wc,this.onError=new Wc}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 qu=(()=>{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:()=>{Hu.assertNotInAngularZone(),Fu(()=>{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())Fu(()=>{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/dist/task-tracking.js" 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)($t(Hu))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Vu=(()=>{class t{constructor(){this._applications=new Map,$u.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 $u.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Wu{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let Gu,$u=new Wu;const Ju=new Ot("AllowMultipleToken");class Zu{constructor(t,e){this.name=t,this.token=e}}function Qu(t,e,i=[]){const n="Platform: "+e,s=new Ot(n);return(e=[])=>{let r=Xu();if(!r||r.injector.get(Ju,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:to,useValue:"platform"});!function(t){if(Gu&&!Gu.destroyed&&!Gu.injector.get(Ju,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Gu=t.get(tl);const e=t.get(vu,null);e&&e.forEach(t=>t())}(go.create({providers:t,name:n}))}return function(t){const e=Xu();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 Xu(){return Gu&&!Gu.destroyed?Gu:null}let tl=(()=>{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 Uu:("zone.js"===t?void 0:t)||new Hu({enableLongStackTrace:Hn(),shouldCoalesceEventChangeDetection:e}),i}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),n=[{provide:Hu,useValue:i}];return i.run(()=>{const e=go.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(Cn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>nl(this._modules,s)),i.runOutsideAngular(()=>i.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,i){try{const n=i();return Wo(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(_u);return t.runInitializers(),t.donePromise.then(()=>(Lc(s.injector.get(Cu,xc)||xc),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=el({},e);return function(t,e,i){const n=new Fc(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(il);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${bt(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)($t(go))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function el(t,e){return Array.isArray(e)?e.reduce(el,t):Object.assign(Object.assign({},t),e)}let il=(()=>{class t{constructor(t,e,i,n,s,r){this._zone=t,this._console=e,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Hn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Hu.assertNotInAngularZone(),Fu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{Hu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=q(o,a.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 Na?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(te),s=i.create(go.NULL,[],e||i.selector,n);s.onDestroy(()=>{this._unloadComponent(s)});const r=s.injector.get(qu,null);return r&&s.injector.get(Vu).registerApplication(s.location.nativeElement,r),this._loadComponent(s),Hn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),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();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}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;nl(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))}_unloadComponent(t){this.detachView(t.hostView),nl(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)($t(Hu),$t(Tu),$t(go),$t(Cn),$t(Ua),$t(_u))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function nl(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class sl{}class rl{}const ol={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let al=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||ol}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i("zn8P")(e).then(t=>t[n]).then(t=>cl(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("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>cl(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)($t(zu),$t(rl,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function cl(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const ul=Qu(null,"core",[{provide:Au,useValue:"unknown"},{provide:tl,deps:[go]},{provide:Vu,deps:[]},{provide:Tu,deps:[]}]),ll=[{provide:il,useClass:il,deps:[Hu,Tu,go,Cn,Ua,_u]},{provide:Ac,deps:[Hu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:_u,useClass:_u,deps:[[new st,mu]]},{provide:zu,useClass:zu,deps:[]},wu,{provide:lc,useFactory:function(){return fc},deps:[]},{provide:hc,useFactory:function(){return pc},deps:[]},{provide:Cu,useFactory:function(t){return Lc(t=t||"undefined"!=typeof $localize&&$localize.locale||xc),t},deps:[[new nt(Cu),new st,new ot]]},{provide:Su,useValue:"USD"}];let hl=(()=>{class t{constructor(t){}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(il))},providers:ll}),t})(),dl=null;function fl(){return dl}const pl=new Ot("DocumentToken");let gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:ml,token:t,providedIn:"platform"}),t})();function ml(){return $t(yl)}const _l=new Ot("Location Initialized");let yl=(()=>{class t extends gl{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=fl().getLocation(),this._history=fl().getHistory()}getBaseHrefFromDOM(){return fl().getBaseHref(this._doc)}onPopState(t){fl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){fl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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){wl()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){wl()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)($t(pl))},t.\u0275prov=lt({factory:bl,token:t,providedIn:"platform"}),t})();function wl(){return!!window.history.pushState}function bl(){return new yl($t(pl))}function vl(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 Al(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 kl(t){return t&&"?"!==t[0]?"?"+t:t}let Tl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Cl,token:t,providedIn:"root"}),t})();function Cl(t){const e=$t(pl).location;return new Ml($t(gl),e&&e.origin||"")}const Sl=new Ot("appBaseHref");let Ml=(()=>{class t extends Tl{constructor(t,e){if(super(),this._platformLocation=t,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}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return vl(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+kl(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+kl(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+kl(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)($t(gl),$t(Sl,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),El=(()=>{class t extends Tl{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){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=vl(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+kl(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+kl(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)($t(gl),$t(Sl,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Dl=(()=>{class t{constructor(t,e){this._subject=new Wc,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Al(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+kl(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+kl(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+kl(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}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)($t(Tl),$t(gl))},t.normalizeQueryParams=kl,t.joinWithSlash=vl,t.stripTrailingSlash=Al,t.\u0275prov=lt({factory:Rl,token:t,providedIn:"root"}),t})();function Rl(){return new Dl($t(Tl),$t(gl))}function xl(t){return t.replace(/\/index.html$/,"")}var Pl=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}({}),Ll=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),zl=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),Il=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Fl=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 Hl(t,e){return Nl(Ec(t)[Rc.DateFormat],e)}function Ol(t,e){return Nl(Ec(t)[Rc.TimeFormat],e)}function Bl(t,e){return Nl(Ec(t)[Rc.DateTimeFormat],e)}function jl(t,e){const i=Ec(t),n=i[Rc.NumberSymbols][e];if(void 0===n){if(e===Fl.CurrencyDecimal)return i[Rc.NumberSymbols][Fl.Decimal];if(e===Fl.CurrencyGroup)return i[Rc.NumberSymbols][Fl.Group]}return n}function Yl(t){if(!t[Rc.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Rc.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Nl(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 Kl(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const Ul=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ql={},Vl=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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 Wl=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Gl=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}({}),$l=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 Jl(t,e,i,n){let s=function(t){if(rh(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,i,n]=t.split("-").map(t=>+t);return new Date(e,i-1,n)}let i;if(i=t.match(Ul))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.round(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,c,u),e}(i)}const e=new Date(t);if(!rh(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,i){const n=function(t){return Ec(t)[Rc.LocaleId]}(e);if(ql[n]=ql[n]||{},ql[n][i])return ql[n][i];let s="";switch(i){case"shortDate":s=Hl(e,Il.Short);break;case"mediumDate":s=Hl(e,Il.Medium);break;case"longDate":s=Hl(e,Il.Long);break;case"fullDate":s=Hl(e,Il.Full);break;case"shortTime":s=Ol(e,Il.Short);break;case"mediumTime":s=Ol(e,Il.Medium);break;case"longTime":s=Ol(e,Il.Long);break;case"fullTime":s=Ol(e,Il.Full);break;case"short":const i=t(e,"shortTime"),n=t(e,"shortDate");s=Zl(Bl(e,Il.Short),[i,n]);break;case"medium":const r=t(e,"mediumTime"),o=t(e,"mediumDate");s=Zl(Bl(e,Il.Medium),[r,o]);break;case"long":const a=t(e,"longTime"),c=t(e,"longDate");s=Zl(Bl(e,Il.Long),[a,c]);break;case"full":const u=t(e,"fullTime"),l=t(e,"fullDate");s=Zl(Bl(e,Il.Full),[u,l])}return s&&(ql[n][i]=s),s}(i,e)||e;let r,o=[];for(;e;){if(r=Vl.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=sh(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*(sh(e,n)-n))}(s,n));let c="";return o.forEach(t=>{const e=function(t){if(nh[t])return nh[t];let e;switch(t){case"G":case"GG":case"GGG":e=th($l.Eras,zl.Abbreviated);break;case"GGGG":e=th($l.Eras,zl.Wide);break;case"GGGGG":e=th($l.Eras,zl.Narrow);break;case"y":e=Xl(Gl.FullYear,1,0,!1,!0);break;case"yy":e=Xl(Gl.FullYear,2,0,!0,!0);break;case"yyy":e=Xl(Gl.FullYear,3,0,!1,!0);break;case"yyyy":e=Xl(Gl.FullYear,4,0,!1,!0);break;case"M":case"L":e=Xl(Gl.Month,1,1);break;case"MM":case"LL":e=Xl(Gl.Month,2,1);break;case"MMM":e=th($l.Months,zl.Abbreviated);break;case"MMMM":e=th($l.Months,zl.Wide);break;case"MMMMM":e=th($l.Months,zl.Narrow);break;case"LLL":e=th($l.Months,zl.Abbreviated,Ll.Standalone);break;case"LLLL":e=th($l.Months,zl.Wide,Ll.Standalone);break;case"LLLLL":e=th($l.Months,zl.Narrow,Ll.Standalone);break;case"w":e=ih(1);break;case"ww":e=ih(2);break;case"W":e=ih(1,!0);break;case"d":e=Xl(Gl.Date,1);break;case"dd":e=Xl(Gl.Date,2);break;case"E":case"EE":case"EEE":e=th($l.Days,zl.Abbreviated);break;case"EEEE":e=th($l.Days,zl.Wide);break;case"EEEEE":e=th($l.Days,zl.Narrow);break;case"EEEEEE":e=th($l.Days,zl.Short);break;case"a":case"aa":case"aaa":e=th($l.DayPeriods,zl.Abbreviated);break;case"aaaa":e=th($l.DayPeriods,zl.Wide);break;case"aaaaa":e=th($l.DayPeriods,zl.Narrow);break;case"b":case"bb":case"bbb":e=th($l.DayPeriods,zl.Abbreviated,Ll.Standalone,!0);break;case"bbbb":e=th($l.DayPeriods,zl.Wide,Ll.Standalone,!0);break;case"bbbbb":e=th($l.DayPeriods,zl.Narrow,Ll.Standalone,!0);break;case"B":case"BB":case"BBB":e=th($l.DayPeriods,zl.Abbreviated,Ll.Format,!0);break;case"BBBB":e=th($l.DayPeriods,zl.Wide,Ll.Format,!0);break;case"BBBBB":e=th($l.DayPeriods,zl.Narrow,Ll.Format,!0);break;case"h":e=Xl(Gl.Hours,1,-12);break;case"hh":e=Xl(Gl.Hours,2,-12);break;case"H":e=Xl(Gl.Hours,1);break;case"HH":e=Xl(Gl.Hours,2);break;case"m":e=Xl(Gl.Minutes,1);break;case"mm":e=Xl(Gl.Minutes,2);break;case"s":e=Xl(Gl.Seconds,1);break;case"ss":e=Xl(Gl.Seconds,2);break;case"S":e=Xl(Gl.FractionalSeconds,1);break;case"SS":e=Xl(Gl.FractionalSeconds,2);break;case"SSS":e=Xl(Gl.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=eh(Wl.Short);break;case"ZZZZZ":e=eh(Wl.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=eh(Wl.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=eh(Wl.Long);break;default:return null}return nh[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Zl(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,i){return null!=e&&i in e?e[i]:t}))),t}function Ql(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===Gl.Hours)0===a&&-12===i&&(a=12);else if(t===Gl.FractionalSeconds)return c=e,Ql(a,3).substr(0,c);var c;const u=jl(o,Fl.MinusSign);return Ql(a,e,u,n,s)}}function th(t,e,i=Ll.Format,n=!1){return function(s,r){return function(t,e,i,n,s,r){switch(i){case $l.Months:return function(t,e,i){const n=Ec(t),s=Nl([n[Rc.MonthsFormat],n[Rc.MonthsStandalone]],e);return Nl(s,i)}(e,s,n)[t.getMonth()];case $l.Days:return function(t,e,i){const n=Ec(t),s=Nl([n[Rc.DaysFormat],n[Rc.DaysStandalone]],e);return Nl(s,i)}(e,s,n)[t.getDay()];case $l.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(r){const t=function(t){const e=Ec(t);return Yl(e),(e[Rc.ExtraData][2]||[]).map(t=>"string"==typeof t?Kl(t):[Kl(t[0]),Kl(t[1])])}(e),i=function(t,e,i){const n=Ec(t);Yl(n);const s=Nl([n[Rc.ExtraData][0],n[Rc.ExtraData][1]],e)||[];return Nl(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 Wl.Short:return(s>=0?"+":"")+Ql(o,2,r)+Ql(Math.abs(s%60),2,r);case Wl.ShortGMT:return"GMT"+(s>=0?"+":"")+Ql(o,1,r);case Wl.Long:return"GMT"+(s>=0?"+":"")+Ql(o,2,r)+":"+Ql(Math.abs(s%60),2,r);case Wl.Extended:return 0===n?"Z":(s>=0?"+":"")+Ql(o,2,r)+":"+Ql(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function ih(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=(r=i,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}var r;return Ql(s,t,jl(n,Fl.MinusSign))}}const nh={};function sh(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function rh(t){return t instanceof Date&&!isNaN(t.valueOf())}class oh{}let ah=(()=>{class t extends oh{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return Ec(t)[Rc.PluralCase]}(e||this.locale)(t)){case Pl.Zero:return"zero";case Pl.One:return"one";case Pl.Two:return"two";case Pl.Few:return"few";case Pl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)($t(Cu))},t.\u0275prov=lt({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 uh=(()=>{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 "+bt(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)(Fo(lc),Fo(hc),Fo(qa),Fo($a))},t.\u0275dir=be({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 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){Hn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),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 dh(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 dh(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)(Fo(_c),Fo(gc),Fo(lc))},t.\u0275dir=be({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class dh{constructor(t,e){this.record=t,this.view=e}}let fh=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ph,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){gh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){gh("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)(Fo(_c),Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ph{constructor(){this.$implicit=null,this.ngIf=null}}function gh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${bt(e)}'.`)}class mh{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 _h=(()=>{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 mh(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c),Fo(gc),Fo(_h,1))},t.\u0275dir=be({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),wh=(()=>{class t{constructor(t,e,i){i._addDefault(new mh(t,e))}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c),Fo(gc),Fo(_h,1))},t.\u0275dir=be({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),bh=(()=>{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)(Fo(qa),Fo(hc),Fo($a))},t.\u0275dir=be({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),vh=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){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&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),i=Object.keys(t.currentValue||{});if(e.length===i.length){for(let t of i)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c))},t.\u0275dir=be({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Ie]}),t})();function Ah(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${bt(t)}'`)}class kh{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Th{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Ch=new Th,Sh=new kh;let Mh=(()=>{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(Wo(e))return Ch;if(Go(e))return Sh;throw Ah(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)(gu())},t.\u0275pipe=ve({name:"async",type:t,pure:!1}),t})(),Eh=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return Jl(e,i,s||this.locale,n)}catch(r){throw Ah(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(Fo(Cu))},t.\u0275pipe=ve({name:"date",type:t,pure:!0}),t})(),Dh=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[{provide:oh,useClass:ah}]}),t})(),Rh=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>new xh($t(pl),window,$t(Cn))}),t})();class xh{constructor(t,e,i){this.document=t,this.window=e,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(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])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=Ph(this.window.history)||Ph(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function Ph(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Lh extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Lh,dl||(dl=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}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}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Ih||(Ih=document.querySelector("base"),Ih)?Ih.getAttribute("href"):null;return null==e?null:(i=e,zh||(zh=document.createElement("a")),zh.setAttribute("href",i),"/"===zh.pathname.charAt(0)?zh.pathname:"/"+zh.pathname);var i}resetBaseElement(){Ih=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return ch(document.cookie,t)}}let zh,Ih=null;const Fh=new Ot("TRANSITION_ID"),Hh=[{provide:mu,useFactory:function(t,e,i){return()=>{i.get(_u).donePromise.then(()=>{const i=fl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[Fh,pl,go],multi:!0}];class Oh{static init(){var t;t=new Oh,$u=t}addToWindow(t){Rt.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},Rt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Rt.getAllAngularRootElements=()=>t.getAllRootElements(),Rt.frameworkStabilizers||(Rt.frameworkStabilizers=[]),Rt.frameworkStabilizers.push(t=>{const e=Rt.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?fl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Bh=new Ot("EventManagerPlugins");let jh=(()=>{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=lt({token:t,factory:t.\u0275fac}),t})(),Kh=(()=>{class t extends Nh{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,this._styleNodes.add(e.appendChild(i))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>fl().remove(t))}}return t.\u0275fac=function(e){return new(e||t)($t(pl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Uh={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/"},qh=/%COMP%/g;function Vh(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Gh=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new $h(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case le.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new Jh(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case le.Native:case le.ShadowDom:return new Zh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Vh(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)($t(jh),$t(Kh),$t(yu))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class $h{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Uh[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=Uh[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=Uh[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&Ga.DashCase?t.style.setProperty(e,i,n&Ga.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ga.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,Wh(i)):this.eventManager.addEventListener(t,e,Wh(i))}}class Jh extends $h{constructor(t,e,i,n){super(t),this.component=i;const s=Vh(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(qh,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(qh,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 Zh extends $h{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.component=n,this.shadowRoot=n.encapsulation===le.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Vh(n.id,n.styles,[]);for(let r=0;r{class t extends Yh{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)($t(pl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Xh=["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"},ed={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"},id={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let nd=(()=>{class t extends Yh{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(()=>fl().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(Xh.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&&ed.hasOwnProperty(e)&&(e=ed[e]))}return td[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Xh.forEach(n=>{n!=i&&(0,id[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)($t(pl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),sd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return $t(rd)},token:t,providedIn:"root"}),t})(),rd=(()=>{class t extends sd{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case as.NONE:return e;case as.HTML:return Ln(e,"HTML")?Pn(e):rs(this._doc,String(e));case as.STYLE:return Ln(e,"Style")?Pn(e):e;case as.SCRIPT:if(Ln(e,"Script"))return Pn(e);throw new Error("unsafe value used in a script context");case as.URL:return zn(e),Ln(e,"URL")?Pn(e):Nn(String(e));case as.RESOURCE_URL:if(Ln(e,"ResourceURL"))return Pn(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new Mn(t)}bypassSecurityTrustStyle(t){return new En(t)}bypassSecurityTrustScript(t){return new Dn(t)}bypassSecurityTrustUrl(t){return new Rn(t)}bypassSecurityTrustResourceUrl(t){return new xn(t)}}return t.\u0275fac=function(e){return new(e||t)($t(pl))},t.\u0275prov=lt({factory:function(){return t=$t(Bt),new rd(t.get(pl));var t},token:t,providedIn:"root"}),t})();const od=Qu(ul,"browser",[{provide:Au,useValue:"browser"},{provide:vu,useValue:function(){Lh.makeCurrent(),Oh.init()},multi:!0},{provide:pl,useFactory:function(){return function(t){Ye=t}(document),document},deps:[]}]),ad=[[],{provide:to,useValue:"root"},{provide:Cn,useFactory:function(){return new Cn},deps:[]},{provide:Bh,useClass:Qh,multi:!0,deps:[pl,Hu,Au]},{provide:Bh,useClass:nd,multi:!0,deps:[pl]},[],{provide:Gh,useClass:Gh,deps:[jh,Kh,yu]},{provide:Wa,useExisting:Gh},{provide:Nh,useExisting:Kh},{provide:Kh,useClass:Kh,deps:[pl]},{provide:qu,useClass:qu,deps:[Hu]},{provide:jh,useClass:jh,deps:[Bh,Hu]},[]];let cd=(()=>{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:yu,useValue:e.appId},{provide:Fh,useExisting:yu},Hh]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(t,12))},providers:ad,imports:[Dh,hl]}),t})();"undefined"!=typeof window&&window;var ud=function(t){return t.PERUNADMIN="PERUNADMIN",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}({});function ld(...t){let e=t[t.length-1];return C(e)?(t.pop(),O(t,e)):U(t)}function hd(t,e){return j(t,e,1)}function dd(t,e){return function(i){return i.lift(new fd(t,e))}}class fd{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new pd(t,this.predicate,this.thisArg))}}class pd 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 gd{}class md{}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 yd{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,"/")}class bd{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new yd,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.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"})}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 bd({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(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(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)}}function vd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Ad(t){return"undefined"!=typeof Blob&&t instanceof Blob}function kd(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Td{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.params&&(this.params=s.params)),this.headers||(this.headers=new _d),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]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),c)),new Td(e,i,s,{params:c,headers:a,reportProgress:o,responseType:n,withCredentials:r})}}var Cd=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 Sd{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 Md extends Sd{constructor(t={}){super(t),this.type=Cd.ResponseHeader}clone(t={}){return new Md({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 Ed extends Sd{constructor(t={}){super(t),this.type=Cd.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ed({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 Dd extends Sd{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 Rd(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let xd=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof Td)n=t;else{let s=void 0;s=i.headers instanceof _d?i.headers:new _d(i.headers);let r=void 0;i.params&&(r=i.params instanceof bd?i.params:new bd({fromObject:i.params})),n=new Td(t,e,void 0!==i.body?i.body:null,{headers:s,params:r,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=ld(n).pipe(hd(t=>this.handler.handle(t)));if(t instanceof Td||"events"===i.observe)return s;const r=s.pipe(dd(t=>t instanceof Ed));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 bd).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,Rd(i,e))}post(t,e,i={}){return this.request("POST",t,Rd(i,e))}put(t,e,i={}){return this.request("PUT",t,Rd(i,e))}}return t.\u0275fac=function(e){return new(e||t)($t(gd))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Pd{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Ld=new Ot("HTTP_INTERCEPTORS");let zd=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Id=/^\)\]\}',?\n/;class Fd{}let Hd=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Od=(()=>{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 _d(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 Md({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(Id,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new Ed({body:c,headers:n,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new Dd({error:c,headers:n,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:n}=r(),s=new Dd({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:Cd.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:Cd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",o),i.addEventListener("error",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:Cd.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("load",o),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)($t(Fd))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Bd=new Ot("XSRF_COOKIE_NAME"),jd=new Ot("XSRF_HEADER_NAME");class Yd{}let Nd=(()=>{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)($t(pl),$t(Au),$t(Bd))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Kd=(()=>{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)($t(Yd),$t(jd))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Ud=(()=>{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(Ld,[]);this.chain=t.reduceRight((t,e)=>new Pd(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($t(md),$t(go))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),qd=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Kd,useClass:zd}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Bd,useValue:e.cookieName}:[],e.headerName?{provide:jd,useValue:e.headerName}:[]]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[Kd,{provide:Ld,useExisting:Kd,multi:!0},{provide:Yd,useClass:Nd},{provide:Bd,useValue:"XSRF-TOKEN"},{provide:jd,useValue:"X-XSRF-TOKEN"}]}),t})(),Vd=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[xd,{provide:gd,useClass:Ud},Od,{provide:md,useExisting:Od},Hd,{provide:Fd,useExisting:Hd}],imports:[[qd.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class Wd{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Gd=new Ot("basePath");class $d{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 Jd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Zd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Qd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Xd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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})}addFacilityContact(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddFacilityContact was null or undefined when calling addFacilityContact.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.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/addFacilityContact",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addFacilityContacts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddFacilityContacts was null or undefined when calling addFacilityContacts.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.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/addFacilityContacts",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}getAllContactGroupNames(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/getAllContactGroupNames",{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}getFacilityContactGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroup.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityContactGroup.");let s=new bd({encoder:this.encoder});null!=t&&(s=s.set("facility",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/facilitiesManager/getFacilityContactGroup",{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityContactGroupByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroupByFacilityName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityContactGroupByFacilityName.");let s=new bd({encoder:this.encoder});null!=t&&(s=s.set("facility",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/facilitiesManager/getFacilityContactGroup/f-name",{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityContactGroupsForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroupsForFacility.");let n=new bd({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/getFacilityContactGroups/facility",{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityContactGroupsForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityContactGroupsForFacilityByFacilityName.");let n=new bd({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/getFacilityContactGroups/facility/f-name",{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityContactGroupsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFacilityContactGroupsForGroup.");let n=new bd({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/getFacilityContactGroups/group",{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityContactGroupsForOwner(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getFacilityContactGroupsForOwner.");let n=new bd({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/getFacilityContactGroups/owner",{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityContactGroupsForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityContactGroupsForUser.");let n=new bd({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/getFacilityContactGroups/user",{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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}removeFacilityContact(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveFacilityContact was null or undefined when calling removeFacilityContact.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.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/removeFacilityContact",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeFacilityContacts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveFacilityContacts was null or undefined when calling removeFacilityContacts.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.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/removeFacilityContacts",t,{withCredentials:this.configuration.withCredentials,headers:n,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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),sf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),af=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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})}assignGroupToResource(t,e,i="body",n=!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 s=new bd({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/assignGroupToResource",null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignGroupToResources(t,e,i="body",n=!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 s=new bd({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/assignGroupToResources",null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignGroupsToResource(t,e,i="body",n=!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 s=new bd({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/assignGroupsToResource",null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}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 bd({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 bd({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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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})}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 bd({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 bd({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 bd({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})}reservePassword(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePassword.");let r=new bd({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",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,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 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})}validatePreferredEmailChange(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter i was null or undefined when calling validatePreferredEmailChange.");if(null==e)throw new Error("Required parameter m was null or undefined when calling validatePreferredEmailChange.");if(null==i)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChange.");let r=new bd({encoder:this.encoder});null!=t&&(r=r.set("i",t)),null!=e&&(r=r.set("m",e)),null!=i&&(r=r.set("u",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/validatePreferredEmailChange",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}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 bd({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/token",null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({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 _d,this.configuration=new $d,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 Wd}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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new _d,this.configuration=new $d,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 Wd}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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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 bd({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)($t(xd),$t(Gd,8),$t($d,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var mf,_f,yf,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"}}(mf||(mf={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(_f||(_f={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(yf||(yf={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(wf||(wf={}));let bf=(()=>{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:$d,useFactory:e}]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(t,12),$t(xd,8))},providers:[Jd,Zd,Qd,Xd,tf,ef,nf,sf,rf,of,af,cf,uf,lf,hf,df,ff,pf,gf],imports:[[]]}),t})(),vf=(()=>{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.hasAtLeasOne(ud.PERUNADMIN,ud.FACILITYADMIN,ud.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(ud.PERUNADMIN)}isVoAdmin(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.principalRoles.has(ud.PERUNADMIN)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(ud.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeasOne(ud.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(ud.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(ud.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeasOne(ud.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.CABINETADMIN)}isVoObserver(){return this.hasAtLeasOne(ud.PERUNADMIN,ud.VOOBSERVER)}isThisVoObserver(t){return this.principalRoles.has(ud.PERUNADMIN)||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})(),Df=new y(t=>t.complete());function Rf(t){return t?function(t){return new y(e=>t.schedule(()=>e.complete()))}(t):Df}function xf(t){return new y(e=>{let i;try{i=t()}catch(n){return void e.error(n)}return(i?B(i):Rf()).subscribe(e)})}function Pf(){return K(1)}const Lf=(()=>{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 zf(t){return function(e){return 0===t?Rf():e.lift(new If(t))}}class If{constructor(t){if(this.total=t,this.total<0)throw new Lf}call(t,e){return e.subscribe(new Ff(t,this.total))}}class Ff 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 Of(t))}class Of{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Bf(t,this.errorFactory))}}class Bf 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 jf(){return new Ef}function Yf(t=null){return e=>e.lift(new Nf(t))}class Nf{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Kf(t,this.defaultValue))}}class Kf 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 Uf(t,e){return"function"==typeof e?i=>i.pipe(Uf((i,n)=>B(t(i,n)).pipe(I((t,s)=>e(i,t,n,s))))):e=>e.lift(new qf(t))}class qf{constructor(t){this.project=t}call(t,e){return e.subscribe(new Vf(t,this.project))}}class Vf 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)}}function Wf(t){return e=>0===t?Rf():e.lift(new Gf(t))}class Gf{constructor(t){if(this.total=t,this.total<0)throw new Lf}call(t,e){return e.subscribe(new $f(t,this.total))}}class $f 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 Jf(...t){return Pf()(ld(...t))}function Zf(...t){const e=t[t.length-1];return C(e)?(t.pop(),i=>Jf(t,i,e)):e=>Jf(t,e)}class Qf{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Xf(t,this.accumulator,this.seed,this.hasSeed))}}class Xf 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 tp(t){return function(e){const i=new ep(t),n=e.lift(i);return i.caught=n}}class ep{constructor(t){this.selector=t}call(t,e){return e.subscribe(new ip(t,this.selector,this.caught))}}class ip 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 np(t,e){const i=arguments.length>=2;return n=>n.pipe(t?dd((e,i)=>t(e,i,n)):_,Wf(1),i?Yf(e):Hf(()=>new Ef))}function sp(){}function rp(t,e,i){return function(n){return n.lift(new op(t,e,i))}}class op{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new ap(t,this.nextOrObserver,this.error,this.complete))}}class ap extends p{constructor(t,e,i,s){super(t),this._tapNext=sp,this._tapError=sp,this._tapComplete=sp,this._tapError=i||sp,this._tapComplete=s||sp,n(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||sp,this._tapError=e.error||sp,this._tapComplete=e.complete||sp)}_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 cp(t){return e=>e.lift(new up(t))}class up{constructor(t){this.callback=t}call(t,e){return e.subscribe(new lp(t,this.callback))}}class lp extends p{constructor(t,e){super(t),this.add(new h(e))}}class hp{constructor(t,e){this.id=t,this.url=e}}class dp extends hp{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 fp extends hp{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class pp extends hp{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gp extends hp{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mp extends hp{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 hp{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 yp extends hp{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 wp extends hp{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 bp extends hp{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 vp{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ap{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class kp{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tp{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cp{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sp{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mp{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 Ep="primary";class Dp{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 Rp(t){return new Dp(t)}function xp(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Pp(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 Ip(t){return Array.prototype.concat.apply([],t)}function Fp(t){return t.length>0?t[t.length-1]:null}function Hp(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function Op(t){return Go(t)?t:Wo(t)?B(Promise.resolve(t)):ld(t)}function Bp(t,e,i){return i?function(t,e){return Lp(t,e)}(t.queryParams,e.queryParams)&&function t(e,i){if(!Kp(e.segments,i.segments))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!e.children[n])return!1;if(!t(e.children[n],i.children[n]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>zp(t[i],e[i]))}(t.queryParams,e.queryParams)&&function t(e,i){return function e(i,n,s){if(i.segments.length>s.length)return!!Kp(i.segments.slice(0,s.length),s)&&!n.hasChildren();if(i.segments.length===s.length){if(!Kp(i.segments,s))return!1;for(const e in n.children){if(!i.children[e])return!1;if(!t(i.children[e],n.children[e]))return!1}return!0}{const t=s.slice(0,i.segments.length),r=s.slice(i.segments.length);return!!Kp(i.segments,t)&&!!i.children.primary&&e(i.children.primary,n,r)}}(e,i,i.segments)}(t.root,e.root)}class jp{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rp(this.queryParams)),this._queryParamMap}toString(){return Wp.serialize(this)}}class Yp{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Hp(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gp(this)}}class Np{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Rp(this.parameters)),this._parameterMap}toString(){return tg(this)}}function Kp(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}function Up(t,e){let i=[];return Hp(t.children,(t,n)=>{n===Ep&&(i=i.concat(e(t,n)))}),Hp(t.children,(t,n)=>{n!==Ep&&(i=i.concat(e(t,n)))}),i}class qp{}class Vp{parse(t){const e=new rg(t);return new jp(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,i){if(!e.hasChildren())return Gp(e);if(i){const i=e.children.primary?t(e.children.primary,!1):"",n=[];return Hp(e.children,(e,i)=>{i!==Ep&&n.push(`${i}:${t(e,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=Up(e,(i,n)=>n===Ep?[t(e.children.primary,!1)]:[`${n}:${t(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${Gp(e)}/${i[0]}`:`${Gp(e)}/(${i.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Jp(e)}=${Jp(t)}`).join("&"):`${Jp(e)}=${Jp(i)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Wp=new Vp;function Gp(t){return t.segments.map(t=>tg(t)).join("/")}function $p(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Jp(t){return $p(t).replace(/%3B/gi,";")}function Zp(t){return $p(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qp(t){return decodeURIComponent(t)}function Xp(t){return Qp(t.replace(/\+/g,"%20"))}function tg(t){return`${Zp(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Zp(t)}=${Zp(e[t])}`).join("")}`;var e}const eg=/^[^\/()?;=#]+/;function ig(t){const e=t.match(eg);return e?e[0]:""}const ng=/^[^=?&#]+/,sg=/^[^?&#]+/;class rg{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Yp([],{}):new Yp([],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 Yp(t,e)),i}parseSegment(){const t=ig(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Np(Qp(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=ig(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=ig(this.remaining);t&&(i=t,this.capture(i))}t[Qp(e)]=Qp(i)}parseQueryParam(t){const e=function(t){const e=t.match(ng);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(sg);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=Xp(e),s=Xp(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=ig(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Ep);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r.primary:new Yp([],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 og{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=ag(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=ag(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=cg(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return cg(t,this._root).map(t=>t.value)}}function ag(t,e){if(t===e.value)return e;for(const i of e.children){const e=ag(t,i);if(e)return e}return null}function cg(t,e){if(t===e.value)return[e];for(const i of e.children){const n=cg(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 lg(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class hg extends og{constructor(t,e){super(t),this.snapshot=e,_g(this,t)}toString(){return this.snapshot.toString()}}function dg(t,e){const i=function(t,e){const i=new gg([],{},{},"",{},Ep,e,null,t.root,-1,{});return new mg("",new ug(i,[]))}(t,e),n=new kf([new Np("",{})]),s=new kf({}),r=new kf({}),o=new kf({}),a=new kf(""),c=new fg(n,s,o,a,r,Ep,e,i.root);return c.snapshot=i.root,new hg(new ug(c,[]),i)}class fg{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=>Rp(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(I(t=>Rp(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 gg{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=Rp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Rp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mg extends og{constructor(t,e){super(e),this.url=t,_g(this,e)}toString(){return yg(this._root)}}function _g(t,e){e.value._routerState=t,e.children.forEach(e=>_g(t,e))}function yg(t){const e=t.children.length>0?` { ${t.children.map(yg).join(", ")} } `:"";return`${t.value}${e}`}function wg(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,Lp(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),Lp(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;iLp(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||bg(t.parent,e.parent))}function vg(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ag(t,e,i,n,s){let r={};return n&&Hp(n,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new jp(i.root===t?e:function t(e,i,n){const s={};return Hp(e.children,(e,r)=>{s[r]=e===i?n:t(e,i,n)}),new Yp(e.segments,s)}(i.root,t,e),r,s)}class kg{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&vg(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(n&&n!==Fp(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tg{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function Cg(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Sg(t,e,i){if(t||(t=new Yp([],{})),0===t.segments.length&&t.hasChildren())return Mg(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=Cg(i[n]),a=n0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!xg(o,a,e))return r;n+=2}else{if(!xg(o,{},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{null!==i&&(s[n]=Sg(t.children[n],e,i))}),Hp(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new Yp(t.segments,s)}}function Eg(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{null!==t&&(e[i]=Eg(new Yp([],{}),0,t))}),e}function Rg(t){const e={};return Hp(t,(t,i)=>e[i]=""+t),e}function xg(t,e,i){return t==i.path&&Lp(e,i.parameters)}class Pg{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),wg(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=lg(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),Hp(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);if(i){const n=lg(t),s=t.value.component?i.children:e;Hp(n,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(t,e,i){const n=lg(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new Sp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Tp(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(wg(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),Lg(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 Lg(t){wg(t.value),t.children.forEach(Lg)}class zg{constructor(t,e){this.routes=t,this.module=e}}function Ig(t){return"function"==typeof t}function Fg(t){return t instanceof jp}const Hg=Symbol("INITIAL_VALUE");function Og(){return Uf(t=>Cf(...t.map(t=>t.pipe(Wf(1),Zf(Hg)))).pipe(function(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new Qf(t,e,i))}}((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==Hg)return t;if(n===Hg&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||Fg(n))return n}return t},t)},Hg),dd(t=>t!==Hg),I(t=>Fg(t)?t:!0===t),Wf(1)))}class Bg{constructor(t){this.segmentGroup=t||null}}class jg{constructor(t){this.urlTree=t}}function Yg(t){return new y(e=>e.error(new Bg(t)))}function Ng(t){return new y(e=>e.error(new jg(t)))}function Kg(t){return new y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ug{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(te)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Ep).pipe(I(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(tp(t=>{if(t instanceof jg)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Bg)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Ep).pipe(I(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(tp(t=>{if(t instanceof Bg)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 Yp([],{[Ep]:t}):t;return new jp(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(I(t=>new Yp([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){return function(t,e){if(0===Object.keys(t).length)return ld({});const i=[],n=[],s={};return Hp(t,(t,r)=>{const o=e(r,t).pipe(I(t=>s[r]=t));r===Ep?i.push(o):n.push(o)}),ld.apply(null,i.concat(n)).pipe(Pf(),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?dd((e,i)=>t(e,i,n)):_,zf(1),i?Yf(e):Hf(()=>new Ef))}(),I(()=>s))}(i.children,(i,n)=>this.expandSegmentGroup(t,e,n,i))}expandSegment(t,e,i,n,s,r){return ld(...i).pipe(hd(o=>this.expandSegmentAgainstRoute(t,e,i,o,n,s,r).pipe(tp(t=>{if(t instanceof Bg)return ld(null);throw t}))),np(t=>!!t),tp((t,i)=>{if(t instanceof Ef||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,n,s))return ld(new Yp([],{}));throw new Bg(e)}throw t}))}noLeftoversInUrl(t,e,i){return 0===e.length&&!t.children[i]}expandSegmentAgainstRoute(t,e,i,n,s,r,o){return Gg(n)!==r?Yg(e):void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r):Yg(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("/")?Ng(s):this.lineralizeSegments(i,s).pipe(j(i=>{const s=new Yp(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}=qg(e,n,s);if(!o)return Yg(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?Ng(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){if("**"===i.path)return i.loadChildren?this.configLoader.load(t.injector,i).pipe(I(t=>(i._loadedConfig=t,new Yp(n,{})))):ld(new Yp(n,{}));const{matched:s,consumedSegments:r,lastChild:o}=qg(e,i,n);if(!s)return Yg(e);const a=n.slice(o);return this.getChildConfig(t,i,n).pipe(j(t=>{const i=t.module,n=t.routes,{segmentGroup:s,slicedSegments:o}=function(t,e,i,n){return i.length>0&&function(t,e,i){return i.some(i=>Wg(t,e,i)&&Gg(i)!==Ep)}(t,i,n)?{segmentGroup:Vg(new Yp(e,function(t,e){const i={};i.primary=e;for(const n of t)""===n.path&&Gg(n)!==Ep&&(i[Gg(n)]=new Yp([],{}));return i}(n,new Yp(i,t.children)))),slicedSegments:[]}:0===i.length&&function(t,e,i){return i.some(i=>Wg(t,e,i))}(t,i,n)?{segmentGroup:Vg(new Yp(t.segments,function(t,e,i,n){const s={};for(const r of i)Wg(t,e,r)&&!n[Gg(r)]&&(s[Gg(r)]=new Yp([],{}));return Object.assign(Object.assign({},n),s)}(t,i,n,t.children))),slicedSegments:i}:{segmentGroup:t,slicedSegments:i}}(e,r,a,n);return 0===o.length&&s.hasChildren()?this.expandChildren(i,n,s).pipe(I(t=>new Yp(r,t))):0===n.length&&0===o.length?ld(new Yp(r,{})):this.expandSegment(i,s,n,o,Ep,!0).pipe(I(t=>new Yp(r.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?ld(new zg(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?ld(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(xp(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):ld(new zg([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;return n&&0!==n.length?ld(n.map(n=>{const s=t.get(n);let r;if(function(t){return t&&Ig(t.canLoad)}(s))r=s.canLoad(e,i);else{if(!Ig(s))throw new Error("Invalid CanLoad guard");r=s(e,i)}return Op(r)})).pipe(Og(),rp(t=>{if(!Fg(t))return;const e=xp(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),I(t=>!0===t)):ld(!0)}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return ld(i);if(n.numberOfChildren>1||!n.children.primary)return Kg(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 jp(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Hp(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 Hp(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,i,n)}),new Yp(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 qg(t,e,i){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(e.matcher||Pp)(i,t,e);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Vg(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Yp(t.segments.concat(e.segments),e.children)}return t}function Wg(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function Gg(t){return t.outlet||Ep}class $g{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Jg{constructor(t,e){this.component=t,this.route=e}}function Zg(t,e,i){const n=t._root;return function t(e,i,n,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=lg(i);return e.children.forEach(e=>{!function(e,i,n,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=i?i.value:null,c=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const u=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!Kp(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Kp(t.url,e.url)||!Lp(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bg(t,e)||!Lp(t.queryParams,e.queryParams);case"paramsChange":default:return!bg(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new $g(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,i,o.component?c?c.children:null:n,s,r),u&&c&&c.outlet&&c.outlet.isActivated&&r.canDeactivateChecks.push(new Jg(c.outlet.component,a))}else a&&Xg(i,c,r),r.canActivateChecks.push(new $g(s)),t(e,null,o.component?c?c.children:null:n,s,r)}(e,o[e.value.outlet],n,s.concat([e.value]),r),delete o[e.value.outlet]}),Hp(o,(t,e)=>Xg(t,n.getContext(e),r)),r}(n,e?e._root:null,i,[n.value])}function Qg(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 Xg(t,e,i){const n=lg(t),s=t.value;Hp(n,(t,n)=>{Xg(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Jg(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function tm(t,e){return null!==t&&e&&e(new Cp(t)),ld(!0)}function em(t,e){return null!==t&&e&&e(new kp(t)),ld(!0)}function im(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?ld(n.map(n=>xf(()=>{const s=Qg(n,e,i);let r;if(function(t){return t&&Ig(t.canActivate)}(s))r=Op(s.canActivate(e,t));else{if(!Ig(s))throw new Error("Invalid CanActivate guard");r=Op(s(e,t))}return r.pipe(np())}))).pipe(Og()):ld(!0)}function nm(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=>xf(()=>ld(e.guards.map(s=>{const r=Qg(s,e.node,i);let o;if(function(t){return t&&Ig(t.canActivateChild)}(r))o=Op(r.canActivateChild(n,t));else{if(!Ig(r))throw new Error("Invalid CanActivateChild guard");o=Op(r(n,t))}return o.pipe(np())})).pipe(Og())));return ld(s).pipe(Og())}class sm{}class rm{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(){try{const t=cm(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Ep),i=new gg([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ep,this.rootComponentType,null,this.urlTree.root,-1,{}),n=new ug(i,e),s=new mg(this.url,n);return this.inheritParamsAndData(s._root),ld(s)}catch(t){return new y(e=>e.error(t))}}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=Up(e,(e,i)=>this.processSegmentGroup(t,e,i));return function(t){const e={};t.forEach(t=>{const i=e[t.value.outlet];if(i){const e=i.url.map(t=>t.toString()).join("/"),n=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${n}'.`)}e[t.value.outlet]=t.value})}(i),i.sort((t,e)=>t.value.outlet===Ep?-1:e.value.outlet===Ep?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,i,n){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,i,n)}catch(s){if(!(s instanceof sm))throw s}if(this.noLeftoversInUrl(e,i,n))return[];throw new sm}noLeftoversInUrl(t,e,i){return 0===e.length&&!t.children[i]}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo)throw new sm;if((t.outlet||Ep)!==n)throw new sm;let s,r=[],o=[];if("**"===t.path){const r=i.length>0?Fp(i).parameters:{};s=new gg(i,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hm(t),n,t.component,t,om(e),am(e)+i.length,dm(t))}else{const a=function(t,e,i){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||i.length>0))throw new sm;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(e.matcher||Pp)(i,t,e);if(!n)throw new sm;const s={};Hp(n.posParams,(t,e)=>{s[e]=t.path});const r=n.consumed.length>0?Object.assign(Object.assign({},s),n.consumed[n.consumed.length-1].parameters):s;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:r}}(e,t,i);r=a.consumedSegments,o=i.slice(a.lastChild),s=new gg(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hm(t),n,t.component,t,om(e),am(e)+r.length,dm(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=cm(e,r,o,a,this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new ug(s,t)]}if(0===a.length&&0===u.length)return[new ug(s,[])];const l=this.processSegment(a,c,u,Ep);return[new ug(s,l)]}}function om(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function am(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 cm(t,e,i,n,s){if(i.length>0&&function(t,e,i){return i.some(i=>um(t,e,i)&&lm(i)!==Ep)}(t,i,n)){const s=new Yp(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&&lm(r)!==Ep){const i=new Yp([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[lm(r)]=i}return s}(t,e,n,new Yp(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=>um(t,e,i))}(t,i,n)){const r=new Yp(t.segments,function(t,e,i,n,s,r){const o={};for(const a of n)if(um(t,i,a)&&!s[lm(a)]){const i=new Yp([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[lm(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 Yp(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:i}}function um(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function lm(t){return t.outlet||Ep}function hm(t){return t.data||{}}function dm(t){return t.resolve||{}}function fm(t){return function(e){return e.pipe(Uf(e=>{const i=t(e);return i?B(i).pipe(I(()=>e)):B([e])}))}}class pm 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}}{}let gm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&No(0,"router-outlet")},directives:function(){return[Pm]},encapsulation:2}),t})();function mm(t,e=""){for(let i=0;i{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new zg(Ip(n.injector.get(bm)).map(wm),n)}))}loadModuleFactory(t){return"string"==typeof t?B(this.loader.load(t)):Op(t()).pipe(j(t=>t instanceof ee?ld(t):B(this.compiler.compileModuleAsync(t))))}}class Am{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new km,this.attachRef=null}}class km{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 Am,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Tm{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Cm(t){throw t}function Sm(t,e,i){return e.parse("/")}function Mm(t,e){return ld(null)}let Em=(()=>{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.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=Cm,this.malformedUriErrorHandler=Sm,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Mm,afterPreactivation:Mm},this.urlHandlingStrategy=new Tm,this.routeReuseStrategy=new pm,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(te),this.console=s.get(Tu);const c=s.get(Hu);this.isNgZoneEnabled=c instanceof Hu,this.resetConfig(a),this.currentUrlTree=new jp(new Yp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vm(r,o,t=>this.triggerEvent(new vp(t)),t=>this.triggerEvent(new Ap(t))),this.routerState=dg(this.currentUrlTree,this.rootComponentType),this.transitions=new kf({id: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(dd(t=>0!==t.id),I(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Uf(t=>{let i=!1,n=!1;return ld(t).pipe(rp(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}}),Uf(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return ld(t).pipe(Uf(t=>{const i=this.transitions.getValue();return e.next(new dp(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?Df:[t]}),Uf(t=>Promise.resolve(t)),(n=this.ngModule.injector,s=this.configLoader,r=this.urlSerializer,o=this.config,function(t){return t.pipe(Uf(t=>function(t,e,i,n,s){return new Ug(t,e,i,n,s).apply()}(n,s,r,t.extractedUrl,o).pipe(I(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),rp(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return function(r){return r.pipe(j(r=>function(t,e,i,n,s="emptyOnly",r="legacy"){return new rm(t,e,i,n,s,r).recognize()}(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),rp(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),rp(t=>{const i=new mp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,s,r,o;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:r,extras:o}=t,a=new dp(i,this.serializeUrl(n),s,r);e.next(a);const c=dg(n,this.rootComponentType).snapshot;return ld(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),Df}),fm(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})}),rp(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:Zg(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(i){return i.pipe(j(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return 0===o.length&&0===r.length?ld(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?ld(r.map(r=>{const o=Qg(r,e,s);let a;if(function(t){return t&&Ig(t.canDeactivate)}(o))a=Op(o.canDeactivate(t,e,i,n));else{if(!Ig(o))throw new Error("Invalid CanDeactivate guard");a=Op(o(t,e,i,n))}return a.pipe(np())})).pipe(Og()):ld(!0)}(t.component,t.route,i,e,n)),np(t=>!0!==t,!0))}(o,n,s,t).pipe(j(i=>i&&"boolean"==typeof i?function(t,e,i,n){return B(e).pipe(hd(e=>B([em(e.route.parent,n),tm(e.route,n),nm(t,e.path,i),im(t,e.route,i)]).pipe(Pf(),np(t=>!0!==t,!0))),np(t=>!0!==t,!0))}(n,r,t,e):ld(i)),I(t=>Object.assign(Object.assign({},i),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),rp(t=>{if(Fg(t.guardsResult)){const e=xp(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),rp(t=>{const e=new yp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),dd(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const i=new pp(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(i),t.resolve(!1),!1}return!0}),fm(t=>{if(t.guards.canActivateChecks.length)return ld(t).pipe(rp(t=>{const e=new wp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Uf(t=>{let i=!1;return ld(t).pipe((n=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(t){return t.pipe(j(t=>{const{targetSnapshot:e,guards:{canActivateChecks:i}}=t;if(!i.length)return ld(t);let r=0;return B(i).pipe(hd(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return ld({});const r={};return B(s).pipe(j(s=>function(t,e,i,n){const s=Qg(t,e,n);return Op(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe(rp(t=>{r[s]=t}))),zf(1),j(()=>Object.keys(r).length===s.length?ld(r):Df))}(t._resolve,t,e,n).pipe(I(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),pg(t,i).resolve),null)))}(t.route,e,n,s)),rp(()=>r++),zf(1),j(e=>r===i.length?ld(t):Df))}))}),rp({next:()=>i=!0,complete:()=>{if(!i){const i=new pp(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(i),t.resolve(!1)}}}));var n,s}),rp(t=>{const e=new bp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),fm(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=function t(e,i,n){if(n&&e.shouldReuseRoute(i.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=i.value;const r=function(e,i,n){return i.children.map(i=>{for(const s of n.children)if(e.shouldReuseRoute(s.value.snapshot,i.value))return t(e,i,s);return t(e,i)})}(e,i,n);return new ug(s,r)}{const n=e.retrieve(i.value);if(n){const t=n.route;return function t(e,i){if(e.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=e.value;for(let n=0;nt(e,i));return new ug(n,r)}}var s}(t,e._root,i?i._root:void 0);return new hg(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),rp(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.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,r=this.routeReuseStrategy,o=t=>this.triggerEvent(t),I(t=>(new Pg(r,t.targetRouterState,t.currentRouterState,o).activate(s),t))),rp({next(){i=!0},complete(){i=!0}}),cp(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new pp(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(i),t.resolve(!1)}this.currentNavigation=null}),tp(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=Fg(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new pp(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);return 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 gp(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(r){t.reject(r)}}var s;return Df}));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,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){mm(t),this.config=t.map(wm),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,preserveQueryParams:r,queryParamsHandling:o,preserveFragment:a}=e;Hn()&&r&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=i||this.routerState.root,u=a?this.currentUrlTree.fragment:s;let l=null;if(o)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}else l=r?this.currentUrlTree.queryParams:n||null;return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,i,n,s){if(0===i.length)return Ag(e.root,e.root,e,n,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new kg(!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 Hp(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 kg(i,e,n)}(i);if(r.toRoot())return Ag(e.root,new Yp([],{}),e,n,s);const o=function(t,e,i){if(t.isAbsolute)return new Tg(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new Tg(t,t===e.root,0)}const n=vg(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 Tg(n,!1,s-r)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?Mg(o.segmentGroup,o.index,r.commands):Sg(o.segmentGroup,o.index,r.commands);return Ag(o.segmentGroup,a,e,n,s)}(c,this.currentUrlTree,t,l,u)}navigateByUrl(t,e={skipLocationChange:!1}){Hn()&&this.isNgZoneEnabled&&!Hu.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=Fg(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,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.events.next(new fp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){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;return this.setTransition({id:h,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,i,n){const s=this.urlSerializer.serialize(t);n=n||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(s,"",Object.assign(Object.assign({},n),{navigationId:i}))}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),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)($t(Xr),$t(qp),$t(km),$t(Dl),$t(go),$t(sl),$t(zu),$t(void 0))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Dm=(()=>{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]:[]}set preserveQueryParams(t){Hn()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:xm(this.skipLocationChange),replaceUrl:xm(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:xm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:xm(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Fo(Em),Fo(fg),Ho("tabindex"),Fo($a),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&$o("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ie]}),t})(),Rm=(()=>{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 fp&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Hn()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=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:xm(this.skipLocationChange),replaceUrl:xm(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:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:xm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:xm(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Fo(Em),Fo(fg),Fo(Tl))},t.\u0275dir=be({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&$o("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(Pa("href",e.href,us),Po("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ie]}),t})();function xm(t){return""===t||!!t}let Pm=(()=>{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 Wc,this.deactivateEvents=new Wc,this.name=n||Ep,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 Lm(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)(Fo(km),Fo(_c),Fo(Ua),Ho("name"),Fo(Zr))},t.\u0275dir=be({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Lm{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===fg?this.route:t===km?this.childContexts:this.parent.get(t,e)}}class zm{}class Im{preload(t,e){return ld(null)}}let Fm=(()=>{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 vp(e)),e=>t.triggerEvent(new Ap(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(dd(t=>t instanceof fp),hd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(te);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,()=>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)($t(Em),$t(sl),$t(zu),$t(go),$t(zm))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Hm=(()=>{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 dp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof fp&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Mp&&(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 Mp(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)($t(Em),$t(Rh),$t(void 0))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Om=new Ot("ROUTER_CONFIGURATION"),Bm=new Ot("ROUTER_FORROOT_GUARD"),jm=[Dl,{provide:qp,useClass:Vp},{provide:Em,useFactory:function(t,e,i,n,s,r,o,a={},c,u){const l=new Em(null,t,e,i,n,s,r,Ip(o));if(c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),a.errorHandler&&(l.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(l.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=fl();l.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(l.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(l.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(l.relativeLinkResolution=a.relativeLinkResolution),l},deps:[qp,km,Dl,go,sl,zu,bm,Om,[class{},new st],[class{},new st]]},km,{provide:fg,useFactory:function(t){return t.routerState.root},deps:[Em]},{provide:sl,useClass:al},Fm,Im,class{preload(t,e){return e().pipe(tp(()=>ld(null)))}},{provide:Om,useValue:{enableTracing:!1}}];function Ym(){return new Zu("Router",Em)}let Nm=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[jm,Vm(e),{provide:Bm,useFactory:qm,deps:[[Em,new st,new ot]]},{provide:Om,useValue:i||{}},{provide:Tl,useFactory:Um,deps:[gl,[new nt(Sl),new st],Om]},{provide:Hm,useFactory:Km,deps:[Em,Rh,Om]},{provide:zm,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:Im},{provide:Zu,multi:!0,useFactory:Ym},[Wm,{provide:mu,multi:!0,useFactory:Gm,deps:[Wm]},{provide:Jm,useFactory:$m,deps:[Wm]},{provide:ku,multi:!0,useExisting:Jm}]]}}static forChild(e){return{ngModule:t,providers:[Vm(e)]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(Bm,8),$t(Em,8))}}),t})();function Km(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new Hm(t,e,i)}function Um(t,e,i={}){return i.useHash?new El(t,e):new Ml(t,e)}function qm(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Vm(t){return[{provide:mo,multi:!0,useValue:t},{provide:bm,multi:!0,useValue:t}]}let Wm=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new k}appInitializer(){return this.injector.get(_l,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(Em),n=this.injector.get(Om);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))t(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?ld(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Om),i=this.injector.get(Fm),n=this.injector.get(Hm),s=this.injector.get(Em),r=this.injector.get(il);t===r.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),s.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)($t(go))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Gm(t){return t.appInitializer.bind(t)}function $m(t){return t.bootstrapListener.bind(t)}const Jm=new Ot("Router Initializer");let Zm=(()=>{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;nc(t)?s(...t):s(t))):new y(n=>{!function t(e,i,n,s,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(i,n,r),o=()=>t.removeEventListener(i,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(i,n),o=()=>t.off(i,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(i,n),o=()=>t.removeListener(i,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o1?Array.prototype.slice.call(arguments):t)}),n,i)})}class r_ extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class o_ extends r_{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=!1,n=void 0;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_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}}class a_ extends 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)}}let c_=(()=>{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 u_ extends c_{constructor(t,e=c_.now){super(t,()=>u_.delegate&&u_.delegate!==this?u_.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return u_.delegate&&u_.delegate!==this?u_.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}}}class l_ extends u_{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())(),p_={};function g_(t){return t in p_&&(delete p_[t],!0)}const m_={setImmediate(t){const e=d_++;return p_[e]=!0,f_.then(()=>g_(e)&&t()),e},clearImmediate(t){g_(t)}};class __ extends 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=m_.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&&(m_.clearImmediate(e),t.scheduled=void 0)}}class y_ extends u_{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 A_(t,e))}class A_{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new k_(t,this.compare,this.keySelector))}}class k_ 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))}}const T_=new u_(o_);class C_{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new S_(t,this.durationSelector))}}class S_ 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 M_(t){return!c(t)&&t-parseFloat(t)+1>=0}function E_(t=0,e,i){let n=-1;return M_(e)?n=Number(e)<1?1:Number(e):C(e)&&(i=e),C(i)||(i=T_),new y(e=>{const s=M_(t)?t:+t-i.now();return i.schedule(D_,s,{index:0,period:n,subscriber:e})})}function D_(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 R_(t,e=T_){return i=()=>E_(t,e),function(t){return t.lift(new C_(i))};var i}function x_(t){return e=>e.lift(new P_(t))}class P_{constructor(t){this.notifier=t}call(t,e){const i=new L_(t),n=L(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class L_ extends z{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}class z_ extends 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 I_ extends u_{}const F_=new I_(z_);function H_(t,e){return new y(e?i=>e.schedule(O_,0,{error:t,subscriber:i}):e=>e.error(t))}function O_({error:t,subscriber:e}){e.error(t)}let B_,j_=(()=>{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 ld(this.value);case"E":return H_(this.error);case"C":return Rf()}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 Y_ 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(Y_.dispatch,this.delay,new N_(t,this.destination)))}_next(t){this.scheduleMessage(j_.createNext(t))}_error(t){this.scheduleMessage(j_.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(j_.createComplete()),this.unsubscribe()}}class N_{constructor(t,e){this.notification=t,this.destination=e}}class K_ 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 U_(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 Y_(t,n)),e)for(let o=0;oe&&(r=Math.max(r,s-e)),r>0&&n.splice(0,r),n}}class U_{constructor(t,e){this.time=t,this.value=e}}function q_(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 K_(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))}try{B_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(IY){B_=!1}let V_,W_=(()=>{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&&!B_)&&"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)($t(Au,8))},t.\u0275prov=lt({factory:function(){return new t($t(Au,8))},token:t,providedIn:"root"}),t})(),G_=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})();const $_=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function J_(){if(V_)return V_;if("object"!=typeof document||!document)return V_=new Set($_),V_;let t=document.createElement("input");return V_=new Set($_.filter(e=>(t.setAttribute("type",e),t.type===e))),V_}let Z_,Q_,X_;function ty(t){return function(){if(null==Z_&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Z_=!0}))}finally{Z_=Z_||!1}return Z_}()?t:!!t.capture}function ey(){if("object"!=typeof document||!document)return 0;if(null==Q_){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",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),Q_=0,0===t.scrollLeft&&(t.scrollLeft=1,Q_=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return Q_}function iy(t){if(function(){if(null==X_){const t="undefined"!=typeof document?document.head:null;X_=!(!t||!t.createShadowRoot&&!t.attachShadow)}return X_}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}const ny=new Ot("cdk-dir-doc",{providedIn:"root",factory:function(){return Jt(pl)}});let sy=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new Wc,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)($t(ny,8))},t.\u0275prov=lt({factory:function(){return new t($t(ny,8))},token:t,providedIn:"root"}),t})(),ry=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})();function oy(t){return t&&"function"==typeof t.connect}class ay{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){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let cy=(()=>{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(R_(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ld()}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(dd(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let i=e.nativeElement,n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>s_(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)($t(Hu),$t(W_),$t(pl,8))},t.\u0275prov=lt({factory:function(){return new t($t(Hu),$t(W_),$t(pl,8))},token:t,providedIn:"root"}),t})(),uy=(()=>{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(()=>s_(this.elementRef.nativeElement,"scroll").pipe(x_(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!=ey()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==ey()?t.left=t.right:1==ey()&&(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;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?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==ey()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:s&&1==ey()?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)(Fo(qa),Fo(cy),Fo(Hu),Fo(sy,8))},t.\u0275dir=be({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),ly=(()=>{class t{constructor(t,e,i){this._platform=t,this._document=i,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?q(s_(e,"resize"),s_(e,"orientationchange")):ld(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}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._getDocument(),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(R_(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().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)($t(W_),$t(Hu),$t(pl,8))},t.\u0275prov=lt({factory:function(){return new t($t(W_),$t(Hu),$t(pl,8))},token:t,providedIn:"root"}),t})(),hy=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})(),dy=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[ry,G_,hy],ry,hy]}),t})();function fy(){throw Error("Host already has a portal attached")}class py{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&fy(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class gy extends py{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class my extends py{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 _y extends py{constructor(t){super(),this.element=t instanceof qa?t.nativeElement:t}}class yy{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&fy(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof gy?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof my?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof _y?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}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 wy extends yy{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),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)),i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let by=(()=>{class t extends my{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc),Fo(_c))},t.\u0275dir=be({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[wo]}),t})(),vy=(()=>{class t extends yy{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new Wc,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),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)(Fo(Ua),Fo(_c),Fo(pl))},t.\u0275dir=be({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[wo]}),t})(),Ay=(()=>{class t extends vy{}return t.\u0275fac=function(e){return ky(e||t)},t.\u0275dir=be({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[Ya([{provide:vy,useExisting:t}]),wo]}),t})();const ky=vn(Ay);let Ty=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})();const Cy=13,Sy=27,My=32,Ey=35,Dy=36,Ry=37,xy=38,Py=39,Ly=40;function zy(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class Iy{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=i_(-this._previousScrollPosition.left),t.style.top=i_(-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}}function Fy(){return Error("Scroll strategy has already been attached.")}class Hy{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){if(this._overlayRef)throw Fy();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 Oy{enable(){}disable(){}attach(){}}function By(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function jy(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class Yy{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw Fy();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();By(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 Ny=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new Oy,this.close=t=>new Hy(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new Iy(this._viewportRuler,this._document),this.reposition=t=>new Yy(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)($t(cy),$t(ly),$t(Hu),$t(pl))},t.\u0275prov=lt({factory:function(){return new t($t(cy),$t(ly),$t(Hu),$t(pl))},token:t,providedIn:"root"}),t})();class Ky{constructor(t){if(this.scrollStrategy=new Oy,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 Uy{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 qy{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function Vy(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function Wy(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let Gy=(()=>{class t{constructor(t){this._attachedOverlays=[],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}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),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()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)($t(pl))},t.\u0275prov=lt({factory:function(){return new t($t(pl))},token:t,providedIn:"root"}),t})();const $y=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Jy=(()=>{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=this._platform?this._platform.isBrowser:"undefined"!=typeof window,e="cdk-overlay-container";if(t||$y){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=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.asObservable().pipe(Wf(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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),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(),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._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.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEvents.asObservable()}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=i_(this._config.width),t.height=i_(this._config.height),t.minWidth=i_(this._config.minWidth),t.minHeight=i_(this._config.minHeight),t.maxWidth=i_(this._config.maxWidth),t.maxHeight=i_(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"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;e_(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(x_(q(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 Qy="cdk-overlay-connected-position-bounding-box",Xy=/([A-Za-z%]+)$/;class tw{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.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add(Qy),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&&ew(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Qy),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){let{x:s,y:r}=t,o=this._getOffset(n,"x"),a=this._getOffset(n,"y");o&&(s+=o),a&&(r+=a);let c=0-r,u=r+e.height-i.height,l=this._subtractOverflows(e.width,0-s,s+e.width-i.width),h=this._subtractOverflows(e.height,c,u),d=l*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:l==e.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,r=iw(this._overlayRef.getConfig().minHeight),o=iw(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=this._viewportRect,s=Math.max(t.x+e.width-n.right,0),r=Math.max(t.y+e.height-n.bottom,0),o=Math.max(n.top-i.top-t.y,0),a=Math.max(n.left-i.left-t.x,0);let c=0,u=0;return c=e.width<=n.width?a||-s: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=i_(i.height),n.top=i_(i.top),n.bottom=i_(i.bottom),n.width=i_(i.width),n.left=i_(i.left),n.right=i_(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=i_(t)),s&&(n.maxWidth=i_(s))}this._lastBoundingBoxSize=i,ew(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ew(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ew(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();ew(i,this._getExactOverlayY(e,t,n)),ew(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=i_(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=i_(r.maxWidth):s&&(i.maxWidth="")),ew(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=i_(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=i_(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jy(t,i),isOriginOutsideView:By(t,i),isOverlayClipped:jy(e,i),isOverlayOutsideView:By(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(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{Wy("originX",t.originX),Vy("originY",t.originY),Wy("overlayX",t.overlayX),Vy("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&e_(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 ew(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function iw(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(Xy);return i&&"px"!==i?null:parseFloat(e)}return t||null}class nw{constructor(t,e,i,n,s,r,o){this._preferredPositions=[],this._positionStrategy=new tw(i,n,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return 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 Uy(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 sw="cdk-global-overlay-wrapper";class rw{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(sw),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(sw),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let ow=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new rw}connectedTo(t,e,i){return new nw(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new tw(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)($t(ly),$t(pl),$t(W_),$t(Jy))},t.\u0275prov=lt({factory:function(){return new t($t(ly),$t(pl),$t(W_),$t(Jy))},token:t,providedIn:"root"}),t})(),aw=0,cw=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u){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}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new Ky(t);return s.direction=s.direction||this._directionality.value,new Zy(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+aw++,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(il)),new wy(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)($t(Ny),$t(Jy),$t(Ua),$t(ow),$t(Gy),$t(go),$t(Hu),$t(pl),$t(sy),$t(Dl,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const uw=[{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"}],lw=new Ot("cdk-connected-overlay-scroll-strategy");let hw=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),dw=(()=>{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.viewportMargin=0,this.open=!1,this.backdropClick=new Wc,this.positionChange=new Wc,this.attach=new Wc,this.detach=new Wc,this.overlayKeydown=new Wc,this._templatePortal=new my(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=Qm(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Qm(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Qm(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Qm(t)}get push(){return this._push}set push(t){this._push=Qm(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}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=uw),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==Sy||zy(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new Ky({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.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Fo(cw),Fo(gc),Fo(_c),Fo(lw),Fo(sy,8))},t.\u0275dir=be({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],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"},exportAs:["cdkConnectedOverlay"],features:[Ie]}),t})();const fw={provide:lw,deps:[cw],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let pw=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[cw,fw],imports:[[ry,Ty,dy],dy]}),t})();function gw(t,e=T_){return i=>i.lift(new mw(t,e))}class mw{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new _w(t,this.dueTime,this.scheduler))}}class _w 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(yw,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 yw(t){t.debouncedNext()}let ww=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),bw=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=n_(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)($t(ww))},t.\u0275prov=lt({factory:function(){return new t($t(ww))},token:t,providedIn:"root"}),t})(),vw=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new Wc,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Qm(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Xm(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(gw(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Fo(bw),Fo(qa),Fo(Hu))},t.\u0275dir=be({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Aw=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[ww]}),t})();function kw(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const Tw="cdk-describedby-message-container",Cw="cdk-describedby-host";let Sw=0;const Mw=new Map;let Ew=null,Dw=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),Mw.set(e,{messageElement:e,referenceCount:0})):Mw.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=Mw.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}Ew&&0===Ew.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=Mw.get(e);!function(t,e,i){const n=kw(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(Cw,""),i.referenceCount++}_removeMessageReference(t,e){const i=Mw.get(e);i.referenceCount--,function(t,e,i){const n=kw(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(Cw)}_isElementDescribedByMessage(t,e){const i=kw(t,"aria-describedby"),n=Mw.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)($t(pl))},t.\u0275prov=lt({factory:function(){return new t($t(pl))},token:t,providedIn:"root"}),t})();class Rw{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._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,t instanceof $c&&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){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(rp(t=>this._pressedLetters.push(t)),gw(t),dd(()=>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 Ly:if(this._vertical&&i){this.setNextItemActive();break}return;case xy:if(this._vertical&&i){this.setPreviousItemActive();break}return;case Py:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Ry:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||zy(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 $c?this._items.toArray():this._items}}class xw extends Rw{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Pw extends Rw{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 Lw=(()=>{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(IY){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===Iw(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=Iw(t);if(t.hasAttribute("contenteditable"))return-1!==s;if("iframe"===n)return!1;if("audio"===n){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(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))&&t.tabIndex>=0}isFocusable(t){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")||zw(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)($t(W_))},t.\u0275prov=lt({factory:function(){return new t($t(W_))},token:t,providedIn:"root"}),t})();function zw(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 Iw(t){if(!zw(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class Fw{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}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(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_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.asObservable().pipe(Wf(1)).subscribe(t)}}let Hw=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new Fw(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)($t(Lw),$t(Hu),$t(pl))},t.\u0275prov=lt({factory:function(){return new t($t(Lw),$t(Hu),$t(pl))},token:t,providedIn:"root"}),t})(),Ow=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Qm(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Qm(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Hw),Fo(pl))},t.\u0275dir=be({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),t})();"undefined"!=typeof Element&∈const Bw=new Ot("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),jw=new Ot("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Yw=(()=>{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="off"}get politeness(){return this._politeness}set politeness(t){this._politeness="polite"===t||"assertive"===t?t:"off","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)(Fo(qa),Fo(Yw),Fo(bw),Fo(Hu))},t.\u0275dir=be({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function Kw(t){return 0===t.buttons}const Uw=new Ot("cdk-focus-monitor-default-options"),qw=ty({passive:!0,capture:!0});let Vw=(()=>{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=Kw(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=Ww(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=Ww(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){if(!this._platform.isBrowser)return ld(null);const i=n_(t),n=iy(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject.asObservable();const r={checkChildren:e,subject:new k,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject.asObservable()}stopMonitoring(t){const e=n_(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=n_(t);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=Ww(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);if(!i||!i.checkChildren&&e!==Ww(t))return;const n=this._getFocusOrigin(t);this._setClasses(e,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_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,qw),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,qw)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,qw),t.addEventListener("mousedown",this._documentMousedownListener,qw),t.addEventListener("touchstart",this._documentTouchstartListener,qw),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,qw),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qw),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,qw),t.removeEventListener("mousedown",this._documentMousedownListener,qw),t.removeEventListener("touchstart",this._documentTouchstartListener,qw),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)($t(Hu),$t(W_),$t(pl,8),$t(Uw,8))},t.\u0275prov=lt({factory:function(){return new t($t(Hu),$t(W_),$t(pl,8),$t(Uw,8))},token:t,providedIn:"root"}),t})();function Ww(t){return t.composedPath?t.composedPath()[0]:t.target}let Gw=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new Wc,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Vw))},t.\u0275dir=be({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const $w="cdk-high-contrast-black-on-white",Jw="cdk-high-contrast-white-on-black",Zw="cdk-high-contrast-active";let Qw=(()=>{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._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Zw),t.remove($w),t.remove(Jw);const e=this.getHighContrastMode();1===e?(t.add(Zw),t.add($w)):2===e&&(t.add(Zw),t.add(Jw))}}}return t.\u0275fac=function(e){return new(e||t)($t(W_),$t(pl))},t.\u0275prov=lt({factory:function(){return new t($t(W_),$t(pl))},token:t,providedIn:"root"}),t})(),Xw=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(Qw))},imports:[[G_,Aw]]}),t})();const tb=new Qa("9.2.4");class eb{}const ib="*";function nb(t,e){return{type:7,name:t,definitions:e,options:{}}}function sb(t,e=null){return{type:4,styles:e,timings:t}}function rb(t,e=null){return{type:3,steps:t,options:e}}function ob(t,e=null){return{type:2,steps:t,options:e}}function ab(t){return{type:6,styles:t,offset:null}}function cb(t,e,i){return{type:0,name:t,styles:e,options:i}}function ub(t){return{type:5,steps:t}}function lb(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function hb(t=null){return{type:9,options:t}}function db(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function fb(t){Promise.resolve(null).then(t)}class pb{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,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(){fb(()=>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(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class gb{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?fb(()=>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(){let t=0;return this.players.forEach(e=>{const i=e.getPosition();t=Math.min(i,t)}),t}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 mb(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function _b(t){switch(t.length){case 0:return new pb;case 1:return t[0];default:return new gb(t)}}function yb(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 ib: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 wb(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&bb(i,"start",t)));break;case"done":t.onDone(()=>n(i&&bb(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&bb(i,"destroy",t)))}}function bb(t,e,i){const n=i.totalTime,s=vb(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 vb(t,e,i,n,s="",r=0,o){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:r,disabled:!!o}}function Ab(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 kb(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Tb=(t,e)=>!1,Cb=(t,e)=>!1,Sb=(t,e,i)=>[];const Mb=mb();(Mb||"undefined"!=typeof Element)&&(Tb=(t,e)=>t.contains(e),Cb=(()=>{if(Mb||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]):Cb}})(),Sb=(t,e,i)=>{let n=[];if(i)n.push(...t.querySelectorAll(e));else{const i=t.querySelector(e);i&&n.push(i)}return n});let Eb=null,Db=!1;function Rb(t){Eb||(Eb=("undefined"!=typeof document?document.body:null)||{},Db=!!Eb.style&&"WebkitAppearance"in Eb.style);let e=!0;return Eb.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Eb.style,!e&&Db)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Eb.style),e}const xb=Cb,Pb=Tb,Lb=Sb;function zb(t){const e={};return Object.keys(t).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let Ib=(()=>{class t{validateStyleProperty(t){return Rb(t)}matchesElement(t,e){return xb(t,e)}containsElement(t,e){return Pb(t,e)}query(t,e,i){return Lb(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],o){return new pb(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Fb=(()=>{class t{}return t.NOOP=new Ib,t})();const Hb="ng-enter",Ob="ng-leave",Bb="ng-trigger",jb=".ng-trigger",Yb="ng-animating",Nb=".ng-animating";function Kb(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ub(parseFloat(e[1]),e[2])}function Ub(t,e){switch(e){case"s":return 1e3*t;default:return t}}function qb(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=Ub(parseFloat(i[1]),i[2]);const o=i[3];null!=o&&(s=Ub(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 Vb(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function Wb(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else Vb(t,i);return i}function Gb(t,e,i){return i?e+":"+i+";":""}function $b(t){let e="";for(let i=0;i{const s=sv(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),mb()&&$b(t))}function Zb(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=sv(e);t.style[i]=""}),mb()&&$b(t))}function Qb(t){return Array.isArray(t)?1==t.length?t[0]:ob(t):t}const Xb=new RegExp("{{\\s*(.+?)\\s*}}","g");function tv(t){let e=[];if("string"==typeof t){let i;for(;i=Xb.exec(t);)e.push(i[1]);Xb.lastIndex=0}return e}function ev(t,e,i){const n=t.toString(),s=n.replace(Xb,(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 iv(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const nv=/-+([a-z0-9])/g;function sv(t){return t.replace(nv,(...t)=>t[1].toUpperCase())}function rv(t,e){return 0===t||0===e}function ov(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(fv(s,o)),"<"!=r[0]||s==uv&&o==uv||e.push(fv(o,s))}(t,i,e)):i.push(t),i}const hv=new Set(["true","1"]),dv=new Set(["false","0"]);function fv(t,e){const i=hv.has(t)||dv.has(t),n=hv.has(e)||dv.has(e);return(s,r)=>{let o=t==uv||t==s,a=e==uv||e==r;return!o&&i&&"boolean"==typeof s&&(o=s?hv.has(t):dv.has(t)),!a&&n&&"boolean"==typeof r&&(a=r?hv.has(e):dv.has(e)),o&&a}}const pv=new RegExp("s*:selfs*,?","g");function gv(t,e,i){return new mv(t).build(e,i)}class mv{constructor(t){this._driver=t}build(t,e){const i=new _v(e);return this._resetContextStyleTimingState(i),av(this,Qb(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(yv(t)){const e=t;Object.keys(e).forEach(t=>{tv(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=iv(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=av(this,Qb(t.animation),e);return{type:1,matchers:lv(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:wv(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>av(this,t,e)),options:wv(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=av(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:wv(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 bv(qb(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=bv(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||qb(n,e),bv(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:ab({});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=ab(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==ib?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(yv(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=tv(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(yv(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(yv(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:av(this,Qb(t.animation),e),options:wv(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:wv(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:wv(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(pv,"")),[t=t.replace(/@\*/g,jb).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,Nb),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,Ab(e.collectedStyles,e.currentQuerySelector,{});const o=av(this,Qb(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:wv(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"}:qb(t.timings,e.errors,!0);return{type:12,animation:av(this,Qb(t.animation),e),timings:i,options:null}}}class _v{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 yv(t){return!Array.isArray(t)&&"object"==typeof t}function wv(t){var e;return t?(t=Vb(t)).params&&(t.params=(e=t.params)?Vb(e):null):t={},t}function bv(t,e,i){return{duration:t,delay:e,easing:i}}function vv(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 Av{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 kv=new RegExp(":enter","g"),Tv=new RegExp(":leave","g");function Cv(t,e,i,n,s,r={},o={},a,c,u=[]){return(new Sv).buildKeyframes(t,e,i,n,s,r,o,a,c,u)}class Sv{buildKeyframes(t,e,i,n,s,r,o,a,c,u=[]){c=c||new Av;const l=new Ev(t,e,c,n,s,u,[]);l.options=a,l.currentTimeline.setStyles([r],null,l.errors,a),av(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()):[vv(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?Kb(i.duration):null,r=null!=i.delay?Kb(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),av(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=Mv);const t=Kb(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>av(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?Kb(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),av(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 qb(e.params?ev(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?Kb(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Mv);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),av(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;av(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const Mv={};class Ev{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=Mv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Dv(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=Kb(i.duration)),null!=i.delay&&(n.delay=Kb(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]=ev(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 Ev(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=Mv,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 Rv(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(kv,"."+this._enterClassName)).replace(Tv,"."+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 Dv{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 Dv(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]||ib,this._currentKeyframe[t]=ib}),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]=ib})):Wb(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=ev(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:ib),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=Wb(s,!0);Object.keys(o).forEach(i=>{const n=o[i];"!"==n?t.add(i):n==ib&&e.add(i)}),i||(o.offset=r/this.duration),n.push(o)});const s=t.size?iv(t.values()):[],r=e.size?iv(e.values()):[];if(i){const t=n[0],e=Vb(t);t.offset=0,e.offset=1,n=[t,e]}return vv(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class Rv extends Dv{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=Wb(t[0],!1);a.offset=0,s.push(a);const c=Wb(t[0],!1);c.offset=xv(o),s.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let o=Wb(t[n],!1);o.offset=xv((e+o.offset*i)/r),s.push(o)}i=r,e=0,n="",t=s}return vv(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function xv(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Pv{}class Lv extends Pv{normalizePropertyName(t,e){return sv(t)}normalizeStyleValue(t,e,i,n){let s="";const r=i.toString().trim();if(zv[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 zv=(()=>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 Iv(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 Fv={};class Hv{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||Fv,d=this.buildStyles(i,o&&o.params||Fv,l),f=a&&a.params||Fv,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?[]:Cv(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 Iv(e,this._triggerName,i,n,y,d,p,[],[],m,_,v,l);b.forEach(t=>{const i=t.element,n=Ab(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=Ab(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&g.add(i)});const A=iv(g.values());return Iv(e,this._triggerName,i,n,y,d,p,b,A,m,_,v)}}class Ov{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=Vb(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=ev(r,n,e)),i[t]=r})}}),i}}class Bv{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Ov(t.style,t.options&&t.options.params||{})}),jv(this.states,"true","1"),jv(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Hv(t,e,this.states))}),this.fallbackTransition=new Hv(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 jv(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const Yv=new Av;class Nv{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=gv(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=yb(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=Cv(this._driver,e,s,Hb,Ob,{},{},i,Yv,n),r.forEach(t=>{const e=Ab(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,ib)})});const a=_b(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=vb(e,"","","");return wb(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 Kv="ng-animate-queued",Uv="ng-animate-disabled",qv=".ng-animate-disabled",Vv=[],Wv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class $v{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=Vb(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 Jv="void",Zv=new $v(Jv);class Qv{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,rA(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=Ab(this._elementListeners,t,[]),o={name:e,phase:i,callback:n};r.push(o);const a=Ab(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(rA(t,Bb),rA(t,"ng-trigger-"+e),a[e]=Zv),()=>{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 tA(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(rA(t,Bb),rA(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new $v(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=Zv),c.value!==Jv&&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{Zb(t,i),Jb(t,n)})}return}const u=Ab(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||(rA(t,Kv),r.onStart(()=>{oA(t,Kv)})),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,jb,!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,Jv,n);i&&r.push(i)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&_b(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const i=new Set;e.forEach(e=>{const n=e.name;if(i.has(n))return;i.add(n);const s=this._triggers[n].fallbackTransition,r=this._engine.statesByElement.get(t)[n]||Zv,o=new $v(Jv),a=new tA(this.id,n,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:s,fromState:r,toState:o,player:a,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!==Wv||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){rA(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=vb(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,wb(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 Xv{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 Qv(t,e,this);return e.parentNode?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),rA(t,Uv)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),oA(t,Uv))}removeNode(t,e,i,n){if(eA(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 eA(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,jb,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Nb,!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 _b(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Wv,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,qv)&&this.markElementAsDisabled(t,!1),this.driver.query(t,qv,!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?_b(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 Av,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=Hb+p++;f.set(e,i),t.forEach(t=>rA(t,i))});const g=[],m=new Set,_=new Set;for(let R=0;Rm.add(t)):_.add(t))}const y=new Map,w=sA(h,Array.from(m));w.forEach((t,e)=>{const i=Ob+p++;y.set(e,i),t.forEach(t=>rA(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=f.get(e);t.forEach(t=>oA(t,i))}),w.forEach((t,e)=>{const i=y.get(e);t.forEach(t=>oA(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(()=>Zb(s,p.fromStyles)),e.onDestroy(()=>Jb(s,p.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>Zb(s,p.fromStyles)),e.onDestroy(()=>Jb(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=>Ab(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=>{Ab(A,e,[]).push(t),t.destroy()})});const T=g.filter(t=>cA(t,a,c)),C=new Map;nA(C,this.driver,_,c,ib).forEach(t=>{cA(t,a,c)&&T.push(t)});const S=new Map;d.forEach((t,e)=>{nA(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=[],D={};r.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(i.has(e)){if(u.has(e))return r.onDestroy(()=>Jb(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void n.push(r);let t=D;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===D)M.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=_b(e)),n.push(r)}}else Zb(e,o.fromStyles),r.onDestroy(()=>Jb(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=_b(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let R=0;R!t.destroyed);n.length?aA(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==Jv;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=Ab(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)})}Zb(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 pb(e.duration,e.delay);const f=h!==a,p=function(t){const e=[];return function t(e,i){for(let n=0;nt.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=r.get(h),_=yb(0,this._normalizer,0,e.keyframes,g,m),y=this._buildPlayer(e,_,p);if(e.subTimeline&&n&&l.add(h),f){const e=new tA(t,o,h);e.setRealPlayer(y),c.push(e)}return y});c.forEach(t=>{Ab(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=>rA(t,Yb));const d=_b(h);return d.onDestroy(()=>{u.forEach(t=>oA(t,Yb)),Jb(a,e.toStyles)}),l.forEach(t=>{Ab(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 pb(t.duration,t.delay)}}class tA{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new pb,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=>wb(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){Ab(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 eA(t){return t&&1===t.nodeType}function iA(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function nA(t,e,i,n,s){const r=[];i.forEach(t=>r.push(iA(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=Gv,o.push(n))}),t.set(n,r)});let a=0;return i.forEach(t=>iA(t,r[a++])),o}function sA(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;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=s.get(e);if(r)return r;const o=e.parentNode;return r=i.has(o)?o:n.has(o)?1:t(o),s.set(e,r),r}(t);1!==e&&i.get(e).push(t)}),i}function rA(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function oA(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function aA(t,e,i){_b(i).onDone(()=>t.processLeaveNode(e))}function cA(t,e,i){const n=i.get(t);if(!n)return!1;let s=e.get(t);return s?n.forEach(t=>s.add(t)):e.set(t,n),i.delete(t),!0}class uA{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Xv(t,e,i),this._timelineEngine=new Nv(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=gv(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 Bv(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]=kb(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]=kb(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 lA(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=dA(e[0]),e.length>1&&(n=dA(e[e.length-1]))):e&&(i=dA(e)),i||n?new hA(t,i,n):null}let hA=(()=>{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&&Jb(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jb(this._element,this._initialStyles),this._endStyles&&(Jb(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Zb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zb(this._element,this._endStyles),this._endStyles=null),Jb(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function dA(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=AA(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(),bA(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=AA(t,"").split(","),n=wA(i,e);n>=0&&(i.splice(n,1),vA(t,"",i.join(",")))}(this._element,this._name))}}function _A(t,e,i){vA(t,"PlayState",i,yA(t,e))}function yA(t,e){const i=AA(t,"");return i.indexOf(",")>0?wA(i.split(","),e):wA([i],e)}function wA(t,e){for(let i=0;i=0)return i;return-1}function bA(t,e,i){i?t.removeEventListener(gA,e):t.addEventListener(gA,e)}function vA(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 AA(t,e){return t.style[pA+e]}class kA{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._started=!1,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._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new mA(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]:cv(this.element,i))})}this.currentSnapshot=t}}class TA extends pb{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=zb(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,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return Rb(t)}matchesElement(t,e){return xb(t,e)}containsElement(t,e){return Pb(t,e)}query(t,e,i){return Lb(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>zb(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.innerHTML=n,r}animate(t,e,i,n,s,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(t=>t instanceof kA),c={};rv(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=ov(t,e,c));if(0==i)return new TA(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(h);const d=lA(t,e),f=new kA(t,e,l,i,n,s,u,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class SA{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){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]:cv(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class MA{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(EA().toString()),this._cssKeyframesDriver=new CA}validateStyleProperty(t){return Rb(t)}matchesElement(t,e){return xb(t,e)}containsElement(t,e){return Pb(t,e)}query(t,e,i){return Lb(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 SA);rv(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=lA(t,e=ov(t,e=e.map(t=>Wb(t,!1)),c));return new SA(t,e,a,l)}}function EA(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let DA=(()=>{class t extends eb{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:le.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?ob(t):t;return PA(this._renderer,null,e,"register",[i]),new RA(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)($t(Wa),$t(pl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class RA extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new xA(this._id,t,e||{},this._renderer)}}class xA{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 PA(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")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function PA(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}const LA="@",zA="@.disabled";let IA=(()=>{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 FA("",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 HA(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)($t(Wa),$t(uA),$t(Hu))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class FA{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){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,!0)}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)==LA&&e==zA?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 HA extends FA{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==LA?"."==e.charAt(1)&&e==zA?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)==LA){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)!=LA&&([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 OA=(()=>{class t extends uA{constructor(t,e,i){super(t.body,e,i)}}return t.\u0275fac=function(e){return new(e||t)($t(pl),$t(Fb),$t(Pv))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const BA=new Ot("AnimationModuleType"),jA=[{provide:Fb,useFactory:function(){return"function"==typeof EA()?new MA:new CA}},{provide:BA,useValue:"BrowserAnimations"},{provide:eb,useClass:DA},{provide:Pv,useFactory:function(){return new Lv}},{provide:uA,useClass:OA},{provide:Wa,useFactory:function(t,e,i){return new IA(t,e,i)},deps:[Gh,uA,Hu]}];let YA=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:jA,imports:[cd]}),t})();const NA=["*",[["mat-option"],["ng-container"]]],KA=["*","mat-option, ng-container"];function UA(t,e){if(1&t&&No(0,"mat-pseudo-checkbox",3),2&t){const t=ta();Oo("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const qA=["*"];let VA=(()=>{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})(),WA=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const GA=new Qa("9.2.4"),$A=new Ot("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let JA=(()=>{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)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Hn()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const i=e.createElement("div");i.classList.add("mat-theme-loaded-marker"),e.body.appendChild(i);const n=getComputedStyle(i);n&&"none"!==n.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"),e.body.removeChild(i)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&GA.full!==tb.full&&console.warn("The Angular Material version ("+GA.full+") does not match the Angular CDK version ("+tb.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(Qw),$t($A,8),$t(pl,8))},imports:[[ry],ry]}),t})();function ZA(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Qm(t)}}}function QA(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const i=t||e;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),i&&this._elementRef.nativeElement.classList.add("mat-"+i),this._color=i)}}}function XA(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Qm(t)}}}function tk(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function ek(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 ik(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(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const nk=new Ot("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Jt(Cu)}});class sk{constructor(){this._localeChanges=new k}get localeChanges(){return this._localeChanges}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 rk=new Ot("mat-date-formats");let ok;try{ok="undefined"!=typeof Intl}catch(IY){ok=!1}const ak={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"]},ck=hk(31,t=>String(t+1)),uk={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},lk=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function hk(t,e){const i=Array(t);for(let n=0;n{class t extends sk{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(ok){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return hk(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return ak[t]}getDateNames(){if(ok){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return hk(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return ck}getDayOfWeekNames(t){if(ok){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return hk(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return uk[t]}getYearName(t){if(ok){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){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);let n=this._createDateWithOverflow(t,e,i);if(n.getMonth()!=e)throw Error(`Invalid date "${i}" for month with index "${e}".`);return 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(ok){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(lk.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(t,e,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(i)}}return t.\u0275fac=function(e){return new(e||t)($t(nk,8),$t(W_))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),fk=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[{provide:sk,useClass:dk}],imports:[[G_]]}),t})();const pk={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 gk=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[{provide:rk,useValue:pk}],imports:[[fk]]}),t})(),mk=(()=>{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=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),_k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function yk(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let wk=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA],JA]}),t})();class bk{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const vk={enterDuration:450,exitDuration:400},Ak=ty({passive:!0}),kk=["mousedown","touchstart"],Tk=["mouseup","mouseleave","touchend","touchcancel"];class Ck{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=n_(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},vk),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 bk(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({},vk),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())}setupTriggerEvents(t){const e=n_(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(kk))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Tk),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Kw(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,Ak)})})}_removeTriggerEvents(){this._triggerElement&&(kk.forEach(t=>{this._triggerElement.removeEventListener(t,this,Ak)}),this._pointerUpEventsRegistered&&Tk.forEach(t=>{this._triggerElement.removeEventListener(t,this,Ak)}))}}const Sk=new Ot("mat-ripple-global-options");let Mk=(()=>{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 Ck(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){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()}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)(Fo(qa),Fo(Hu),Fo(W_),Fo(Sk,8),Fo(BA,8))},t.\u0275dir=be({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})(),Ek=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA,G_],JA]}),t})(),Dk=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(Fo(BA,8))},t.\u0275cmp=pe({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})(),Rk=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})();class xk{}const Pk=ZA(xk);let Lk=0,zk=(()=>{class t extends Pk{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+Lk++}}return t.\u0275fac=function(e){return Ik(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(Po("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),pa("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[wo],ngContentSelectors:KA,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(ia(NA),jo(0,"label",0),Sa(1),na(2),Yo(),na(3,1)),2&t&&(Oo("id",e._labelId),Ds(1),Ea("",e.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();const Ik=vn(zk);let Fk=0;class Hk{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const Ok=new Ot("MAT_OPTION_PARENT_COMPONENT");let Bk=(()=>{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-"+Fk++,this.onSelectionChange=new Wc,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=Qm(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!==Cy&&t.keyCode!==My||zy(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 Hk(this,t))}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Zr),Fo(Ok,8),Fo(zk,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&$o("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(Pa("id",e.id),Po("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))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:qA,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(ia(),zo(0,UA,1,2,"mat-pseudo-checkbox",0),jo(1,"span",1),na(2),Yo(),No(3,"div",2)),2&t&&(Oo("ngIf",e.multiple),Ds(3),Oo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[fh,Mk,Dk],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}.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}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.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 jk(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),r=0;for(let e=0;e{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Ek,Dh,Rk]]}),t})();const Nk=new Ot("mat-label-global-options");function Kk(t,e){}class Uk{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 qk={dialogContainer:nb("dialogContainer",[cb("void, exit",ab({opacity:0,transform:"scale(0.7)"})),cb("enter",ab({transform:"none"})),lb("* => enter",sb("150ms cubic-bezier(0, 0, 0.2, 1)",ab({transform:"none",opacity:1}))),lb("* => void, * => exit",sb("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ab({opacity:0})))])};function Vk(){throw Error("Attempting to attach dialog content after content is already attached")}let Wk=(()=>{class t extends yy{constructor(t,e,i,n,s){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new Wc,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&Vk(),this._setupFocusTrap(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&Vk(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&Vk(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||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=this._document.activeElement,i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Hw),Fo(Zr),Fo(pl,8),Fo(Uk))},t.\u0275cmp=pe({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var i;1&t&&ru(vy,!0),2&t&&su(i=hu())&&(e._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&Jo("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(Po("id",e._id)("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:[wo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&zo(0,Kk,0,0,"ng-template",0)},directives:[vy],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;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:[qk.dialogContainer]}}),t})(),Gk=0;class $k{constructor(t,e,i="mat-dialog-"+Gk++){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(dd(t=>"done"===t.phaseName&&"enter"===t.toState),Wf(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(dd(t=>"done"===t.phaseName&&"exit"===t.toState),Wf(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(dd(t=>t.keyCode===Sy&&!this.disableClose&&!zy(t))).subscribe(t=>{t.preventDefault(),this.close()}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(dd(t=>"start"===t.phaseName),Wf(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}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._getPositionStrategy().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}}const Jk=new Ot("MatDialogData"),Zk=new Ot("mat-dialog-default-options"),Qk=new Ot("mat-dialog-scroll-strategy"),Xk={provide:Qk,deps:[cw],useFactory:function(t){return()=>t.scrollStrategies.block()}};let tT=(()=>{class t{constructor(t,e,i,n,s,r,o){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this._ariaHiddenElements=new Map,this.afterAllClosed=xf(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Zf(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new Uk)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);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),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 Ky({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=go.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Uk,useValue:e}]}),n=new gy(Wk,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const s=new $k(i,e,n.id);if(t instanceof gc)e.attachTemplatePortal(new my(t,null,{$implicit:n.data,dialogRef:s}));else{const i=this._createInjector(n,s,e),r=e.attachComponentPortal(new gy(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:Wk,useValue:i},{provide:Jk,useValue:t.data},{provide:$k,useValue:e}];return!t.direction||n&&n.get(sy,null)||s.push({provide:sy,useValue:{value:t.direction,change:ld()}}),go.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._afterAllClosed.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)($t(cw),$t(go),$t(Dl,8),$t(Zk,8),$t(Qk),$t(t,12),$t(Jy))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),eT=0,iT=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+eT++}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)(Fo($k,8),Fo(qa),Fo(tT))},t.\u0275dir=be({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&Pa("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),nT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),sT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),rT=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[tT,Xk],imports:[[pw,Ty,JA],JA]}),t})();var oT=i("etrl");const aT=[5,10,25,100,1e3,1e4];function cT(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 uT(){const t=new Uk;return t.disableClose=!0,t.autoFocus=!1,t}function lT(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 new Intl.Collator("cs",{numeric:!0}).compare(o,a)*("asc"===r?1:-1)}):t}function hT(t,e,i,n,s){e=e.toLowerCase();let r="";return i.forEach(e=>{r+=";"+n(t,e,s)}),-1!==r.toLowerCase().indexOf(e)}function dT(t,e){let i="";return t.attributes&&t.attributes.forEach(t=>{t.friendlyName===e&&(i=t.value)}),i}function fT(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 pT(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"});Object(oT.saveAs)(a,`${i}.${e}`)}}function gT(...t){if(1===t.length){const e=t[0];if(c(e))return mT(e,null);if(u(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return mT(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return mT(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(I(t=>e(...t)))}return mT(t,null)}function mT(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())}}))}})}class _T{}let yT=(()=>{class t extends _T{getTranslation(t){return ld({})}}return t.\u0275fac=function(e){return wT(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const wT=vn(yT);class bT{}let vT=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function AT(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(!AT(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{class t extends CT{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(),!kT(t)||!kT(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 kT(n)?n:t}):t}}return t.\u0275fac=function(e){return MT(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const MT=vn(ST);class ET{}let DT=(()=>{class t extends ET{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(e){return RT(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const RT=vn(DT);class xT{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Wc,this.onLangChange=new Wc,this.onDefaultLangChange=new Wc}}const PT=new Ot("USE_STORE"),LT=new Ot("USE_DEFAULT_LANG"),zT=new Ot("DEFAULT_LANGUAGE"),IT=new Ot("USE_EXTEND");let FT=(()=>{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 Wc,this._onLangChange=new Wc,this._onDefaultLangChange=new Wc,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(Wf(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return ld(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Wf(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),ld(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(q_(1),Wf(1));return this.loadingTranslations=e.pipe(I(e=>this.compiler.compileTranslations(e,t)),q_(1),Wf(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]?function t(e,i){let n=Object.assign({},e);return TT(e)&&TT(i)&&Object.keys(i).forEach(s=>{TT(i[s])?s in e?n[s]=t(e[s],i[s]):Object.assign(n,{[s]:i[s]}):Object.assign(n,{[s]:i[s]})}),n}(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),b_(n[r])&&(s=!0);return s?gT(e.map(t=>b_(n[t])?n[t]:ld(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(!kT(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(hd(i=>b_(i=this.getParsedResult(i,t,e))?i:ld(i)));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return b_(i)?i:ld(i)}}getStreamOnTranslationChange(t,e){if(!kT(t)||!t.length)throw new Error('Parameter "key" required');return Jf(xf(()=>this.get(t,e)),this.onTranslationChange.pipe(Uf(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:ld(n)})))}stream(t,e){if(!kT(t)||!t.length)throw new Error('Parameter "key" required');return Jf(xf(()=>this.get(t,e)),this.onLangChange.pipe(Uf(i=>{const n=this.getParsedResult(i.translations,t,e);return b_(n)?n:ld(n)})))}instant(t,e){if(!kT(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if(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)($t(xT),$t(_T),$t(ET),$t(CT),$t(bT),$t(LT),$t(PT),$t(IT),$t(zT))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),HT=(()=>{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);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(AT(t,this.lastKey)&&AT(e,this.lastParams))return this.value;let i;if(kT(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)(Fo(FT),gu())},t.\u0275pipe=ve({name:"translate",type:t,pure:!1}),t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),OT=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:_T,useClass:yT},e.compiler||{provide:ET,useClass:DT},e.parser||{provide:CT,useClass:ST},e.missingTranslationHandler||{provide:bT,useClass:vT},xT,{provide:PT,useValue:e.isolate},{provide:LT,useValue:e.useDefaultLang},{provide:IT,useValue:e.extend},{provide:zT,useValue:e.defaultLanguage},FT]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:_T,useClass:yT},e.compiler||{provide:ET,useClass:DT},e.parser||{provide:CT,useClass:ST},e.missingTranslationHandler||{provide:bT,useClass:vT},{provide:PT,useValue:e.isolate},{provide:LT,useValue:e.useDefaultLang},{provide:IT,useValue:e.extend},{provide:zT,useValue:e.defaultLanguage},FT]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})();const BT=["mat-button",""],jT=["*"],YT=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class NT{constructor(t){this._elementRef=t}}const KT=QA(ZA(XA(NT)));let UT=(()=>{class t extends KT{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 YT)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,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)(Fo(qa),Fo(Vw),Fo(BA,8))},t.\u0275cmp=pe({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){var i;1&t&&ou(Mk,!0),2&t&&su(i=hu())&&(e.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(t,e){2&t&&(Po("disabled",e.disabled||null),pa("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[wo],attrs:BT,ngContentSelectors:jT,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&&(ia(),jo(0,"span",0),na(1),Yo(),No(2,"div",1),No(3,"div",2)),2&t&&(Ds(2),pa("mat-button-ripple-round",e.isRoundButton||e.isIconButton),Oo("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[Mk],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .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[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-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[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[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[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}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.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:block;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}\n"],encapsulation:2,changeDetection:0}),t})(),qT=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Ek,JA],JA]}),t})(),VT=(()=>{class t{constructor(t){this.dialogRef=t}ngOnInit(){}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Fo($k))},t.\u0275cmp=pe({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),Sa(1),Kc(2,"translate"),Yo(),jo(3,"div",1),Sa(4),Kc(5,"translate"),Yo(),jo(6,"div",2),jo(7,"div",3),jo(8,"button",4),$o("click",(function(){return e.close()})),Sa(9),Kc(10,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(1),Ma(Uc(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),Ds(3),Ea(" ",Uc(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),Ds(5),Ea(" ",Uc(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[iT,nT,sT,UT],pipes:[HT],styles:[""]}),t})(),WT=(()=>{class t{constructor(t,e,i,n){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.userSet=new Wc,this.user=null,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Em),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}startIdpFilterKeeper(){this.router.events.pipe(dd(t=>t instanceof fp)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:t,queryParamsHandling:"merge",replaceUrl:!0})})}getUserManager(){return this.manager}getClientSettings(){const t=location.search.substr(1).split("&"),e=this.store.get("oidc_client","filters");let i="";return t.forEach(t=>{const n=t.split("=");if("idpFilter"===n[0]){const t=e[n[1]];t&&(i=t,this.filterShortname=n[1])}}),{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:{acr_values:i}}}loadConfigData(){this.manager=new Af.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded(t=>{this.user=t}),this.manager.events.addAccessTokenExpired(()=>{const t=uT();t.width="450px",this.dialog.open(VT,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)($t(go),$t(Zm),$t(tT),$t(fg))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),GT=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,rT,qT,OT]]}),t})(),$T=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(Fo($k))},t.\u0275cmp=pe({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),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[nT],pipes:[HT],styles:[""]}),t})(),JT=(()=>{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=uT();this.dialog.open($T,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)($t(WT),$t(Zm),$t(vf),$t(Qd),$t(tT),$t(Em))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ZT=["*"];function QT(t){return Error(`Unable to find icon with the name "${t}"`)}function XT(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function tC(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class eC{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let iC=(()=>{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._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 eC(i,n))}addSvgIconLiteralInNamespace(t,e,i,n){const s=this._sanitizer.sanitize(as.HTML,i);if(!s)throw tC(i);const r=this._createSvgElementForSingleIcon(s,n);return this._addSvgIconConfig(t,e,new eC(r,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 eC(e,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(as.HTML,e);if(!n)throw tC(e);const s=this._svgElementFromString(n);return this._addSvgIconSetConfig(t,new eC(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(as.RESOURCE_URL,t);if(!e)throw XT(t);const i=this._cachedIconsByUrl.get(e);return i?ld(nC(i)):this._loadSvgIconFromConfig(new eC(t)).pipe(rp(t=>this._cachedIconsByUrl.set(e,t)),I(t=>nC(t)))}getNamedSvgIcon(t,e=""){const i=sC(e,t),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):H_(QT(i))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?ld(nC(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(rp(e=>t.svgElement=e),I(t=>nC(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?ld(i):gT(e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(tp(e=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(as.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),ld(null)})))).pipe(I(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw QT(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgElement){const e=this._extractSvgIconFromSet(n.svgElement,t,n.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(I(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?ld(t.svgElement):this._fetchUrl(t.url).pipe(I(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const i=this._svgElementFromString(t);return this._setSvgAttributes(i,e),i}_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(e)),X());return this._inProgressUrlFetches.set(e,n),n}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(sC(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\u0275fac=function(e){return new(e||t)($t(xd,8),$t(sd),$t(pl,8),$t(Cn,8))},t.\u0275prov=lt({factory:function(){return new t($t(xd,8),$t(sd),$t(pl,8),$t(Cn,8))},token:t,providedIn:"root"}),t})();function nC(t){return t.cloneNode(!0)}function sC(t,e){return t+":"+e}class rC{constructor(t){this._elementRef=t}}const oC=QA(rC),aC=new Ot("mat-icon-location",{providedIn:"root",factory:function(){const t=Jt(pl),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),cC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],uC=cC.map(t=>`[${t}]`).join(", "),lC=/^url\(['"]?#(.*?)['"]?\)$/;let hC=(()=>{class t extends oC{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=Qm(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_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}"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this._currentIconFetch.unsubscribe(),this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(e,t).pipe(Wf(1)).subscribe(t=>this._setSvgElement(t),i=>{const n=`Error retrieving icon ${t}:${e}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&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 i=0;i{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(uC),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],r=s.getAttribute(t),o=r?r.match(lC):null;if(o){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:o[1]})}})}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(iC),Ho("aria-hidden"),Fo(aC,8),Fo(Cn,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(t,e){2&t&&pa("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[wo,Ie],ngContentSelectors:ZT,decls:1,vars:0,template:function(t,e){1&t&&(ia(),na(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})(),dC=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA],JA]}),t})(),fC=(()=>{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)($t(iC),$t(sd))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),pC=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new Wc}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)($t(FT))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gC=(()=>{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=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mC=(()=>{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=uT();t.width="450px",this.dialog.open(VT,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(rp(t=>{t instanceof Ed&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?H_(e):n?void this.notificator.showRPCError(i):H_(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.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)($t(WT),$t(gC),$t(pC),$t(Zm),$t(tT),$t(JT))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),_C=(()=>{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=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),yC=(()=>{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),H_(s)}getHeaders(){let t=new _d;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new bd,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe(tp(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(tp(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(tp(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(tp(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)($t(xd),$t(pC),$t(WT),$t(Zm))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wC=(()=>{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",[sb(".3s ease-in")])]);const bC=nb("flyInOut",[lb(":enter",[ab({transform:"translateX(100%)"}),sb(".25s")]),lb(":leave",[sb(".5s",ab({transform:"translateX(100%)"}))])]),vC=(nb("rollInOut",[lb(":enter",[ab({height:"0px"}),sb(".25s")]),lb(":leave",[sb(".25s",ab({height:"0px"}))])]),nb("routeAnimations",[lb("* => *",[ab({position:"relative"}),db(":enter",[ab({width:"100%",opacity:0})],{optional:!0}),db(":leave",[ab({position:"absolute",width:"100%",opacity:1}),sb("0.15s",ab({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),db(":enter",[ab({position:"absolute",width:"100%",opacity:0}),sb("0.15s",ab({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),nb("tagsOpenClose",[cb("open",ab({})),cb("closed",ab({width:"0px",height:"0px"})),lb("open <=> closed",[sb(".3s ease-in")])]),nb("switchAnimations",[lb("true => false",[db(":enter, :leave",ab({})),rb([db(":enter",[ab({transform:"translateX(-100%)"}),sb("1s ease-in-out",ab({transform:"translateX(0%)"}))],{optional:!0}),db(":leave",[ab({transform:"translateX(0%)",position:"absolute"}),sb("1s ease-in-out",ab({transform:"translateX(100%)"}))],{optional:!0})])]),lb("false => true",[db(":enter, :leave",ab({})),rb([db(":enter",[ab({transform:"translateX(100%)"}),sb("1s ease-in-out",ab({transform:"translateX(0%)"}))],{optional:!0}),db(":leave",[ab({transform:"translateX(0%)",position:"absolute"}),sb("1s ease-in-out",ab({transform:"translateX(-100%)"}))],{optional:!0})])])]),nb("slideInOutLeft",[lb(":enter",[ab({transform:"translateX(-100%)",position:"relative"}),sb("0.5s ease-in",ab({transform:"translateX(0%)"}))]),lb(":leave",[sb("0.5s ease-in",ab({transform:"translateX(-100%)"}))])]),nb("slideInOutRight",[lb(":enter",[ab({transform:"translateX(100%)",position:"fixed"}),sb("0.5s ease-in",ab({transform:"translateX(0%)"}))]),lb(":leave",[ab({transform:"translateX(-100%)",position:"relative"}),sb("0.5s ease-in",ab({transform:"translateX(100%)"}))])]),[[["caption"]]]),AC=["caption"];function kC(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=Qm(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const TC=new Ot("CDK_TABLE");let CC=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","cdkCellDef",""]]}),t})(),SC=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),MC=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class EC{}const DC=kC(EC);let RC=(()=>{class t extends DC{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Qm(t),this._hasStickyChanged=e!==this._stickyEnd}}return t.\u0275fac=function(e){return new(e||t)(Fo(TC,8))},t.\u0275dir=be({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,CC,!0),cu(i,SC,!0),cu(i,MC,!0)),2&t&&(su(n=hu())&&(e.cell=n.first),su(n=hu())&&(e.headerCell=n.first),su(n=hu())&&(e.footerCell=n.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ya([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),wo]}),t})();class xC{constructor(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}}let PC=(()=>{class t extends xC{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Fo(RC),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[wo]}),t})(),LC=(()=>{class t extends xC{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Fo(RC),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[wo]}),t})(),zC=(()=>{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 HC?t.headerCell.template:this instanceof jC?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc),Fo(lc))},t.\u0275dir=be({type:t,features:[Ie]}),t})();class IC extends zC{}const FC=kC(IC);let HC=(()=>{class t extends FC{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc),Fo(lc),Fo(TC,8))},t.\u0275dir=be({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[wo,Ie]}),t})();class OC extends zC{}const BC=kC(OC);let jC=(()=>{class t extends BC{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc),Fo(lc),Fo(TC,8))},t.\u0275dir=be({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[wo,Ie]}),t})(),YC=(()=>{class t extends zC{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc),Fo(lc),Fo(TC,8))},t.\u0275dir=be({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[wo]}),t})(),NC=(()=>{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)(Fo(_c))},t.\u0275dir=be({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),KC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({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&&qo(0,0)},directives:[NC],encapsulation:2}),t})(),UC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({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&&qo(0,0)},directives:[NC],encapsulation:2}),t})();const qC=["top","bottom","left","right"];class VC{constructor(t,e,i,n=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._isBrowser=n}clearStickyPositioning(t,e){for(const i of t)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,e);for(let t=0;tt)||i.some(t=>t);if(!t.length||!n||!this._isBrowser)return;const s=t[0],r=s.children.length,o=this._getCellWidths(s),a=this._getStickyStartColumnPositions(o,e),c=this._getStickyEndColumnPositions(o,i),u="rtl"===this.direction;for(const l of t)for(let t=0;t!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(t,e){for(const i of e)t.style[i]="";t.style.zIndex=this._getCalculatedZIndex(t),qC.some(e=>!!t.style[e])||(t.style.position="",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i){t.classList.add(this._stickCellCss),t.style[e]=i+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of qC)t.style[n]&&(i+=e[n]);return i?""+i:""}_getCellWidths(t){const e=[],i=t.children;for(let n=0;n0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}function WC(t){return Error(`Could not find column with id "${t}".`)}let GC=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","rowOutlet",""]]}),t})(),$C=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),JC=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),ZC=(()=>{class t{constructor(t,e,i,n,s,r,o){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=o,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._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new kf({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){Hn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(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=Qm(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),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._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),oy(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,i,n)=>{if(null==t.previousIndex)this._insertRow(t.item,n);else if(null==n)e.remove(i);else{const t=e.get(i);e.move(t,n)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}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}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._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),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(),QC(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: "${t.name}".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=QC(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=QC(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=QC(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],oy(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;if(oy(this.dataSource)?t=this.dataSource.connect(this):b_(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=ld(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(x_(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(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw WC(t);return e}),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s)}_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)}if(!i.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return i}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,i,n={}){t.viewContainer.createEmbeddedView(e.template,n,i);for(let s of this._getCellTemplates(e))NC.mostRecentCellOutlet&&NC.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);if(!i)throw WC(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup"),e.appendChild(i.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_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.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new VC(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:ld()).pipe(x_(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}}return t.\u0275fac=function(e){return new(e||t)(Fo(lc),Fo(Zr),Fo(qa),Ho("role"),Fo(sy,8),Fo(pl),Fo(W_))},t.\u0275cmp=pe({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,RC,!0),cu(i,YC,!0),cu(i,HC,!0),cu(i,jC,!0)),2&t&&(su(n=hu())&&(e._contentColumnDefs=n),su(n=hu())&&(e._contentRowDefs=n),su(n=hu())&&(e._contentHeaderRowDefs=n),su(n=hu())&&(e._contentFooterRowDefs=n))},viewQuery:function(t,e){var i;1&t&&(ru(GC,!0),ru($C,!0),ru(JC,!0)),2&t&&(su(i=hu())&&(e._rowOutlet=i.first),su(i=hu())&&(e._headerRowOutlet=i.first),su(i=hu())&&(e._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[Ya([{provide:TC,useExisting:t}])],ngContentSelectors:AC,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(ia(vC),na(0),qo(1,0),qo(2,1),qo(3,2))},directives:[$C,GC,JC],encapsulation:2}),t})();function QC(t,e){return t.concat(Array.from(e))}let XC=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})();const tS=[[["caption"]]],eS=["caption"];let iS=(()=>{class t extends ZC{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return t.\u0275fac=function(e){return nS(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[Ya([{provide:ZC,useExisting:t},{provide:TC,useExisting:t}]),wo],ngContentSelectors:eS,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(ia(tS),na(0),qo(1,0),qo(2,1),qo(3,2))},directives:[$C,GC,JC],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,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-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,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-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,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-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,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),t})();const nS=vn(iS);let sS=(()=>{class t extends CC{}return t.\u0275fac=function(e){return rS(e||t)},t.\u0275dir=be({type:t,selectors:[["","matCellDef",""]],features:[Ya([{provide:CC,useExisting:t}]),wo]}),t})();const rS=vn(sS);let oS=(()=>{class t extends SC{}return t.\u0275fac=function(e){return aS(e||t)},t.\u0275dir=be({type:t,selectors:[["","matHeaderCellDef",""]],features:[Ya([{provide:SC,useExisting:t}]),wo]}),t})();const aS=vn(oS);let cS=(()=>{class t extends RC{}return t.\u0275fac=function(e){return uS(e||t)},t.\u0275dir=be({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ya([{provide:RC,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),wo]}),t})();const uS=vn(cS);let lS=(()=>{class t extends PC{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(Fo(RC),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[wo]}),t})(),hS=(()=>{class t extends LC{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(Fo(RC),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[wo]}),t})(),dS=(()=>{class t extends HC{}return t.\u0275fac=function(e){return fS(e||t)},t.\u0275dir=be({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ya([{provide:HC,useExisting:t}]),wo]}),t})();const fS=vn(dS);let pS=(()=>{class t extends YC{}return t.\u0275fac=function(e){return gS(e||t)},t.\u0275dir=be({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ya([{provide:YC,useExisting:t}]),wo]}),t})();const gS=vn(pS);let mS=(()=>{class t extends KC{}return t.\u0275fac=function(e){return _S(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Ya([{provide:KC,useExisting:t}]),wo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&qo(0,0)},directives:[NC],encapsulation:2}),t})();const _S=vn(mS);let yS=(()=>{class t extends UC{}return t.\u0275fac=function(e){return wS(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Ya([{provide:UC,useExisting:t}]),wo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&qo(0,0)},directives:[NC],encapsulation:2}),t})();const wS=vn(yS);let bS=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[XC,JA],JA]}),t})();class vS extends class{}{constructor(t=[]){super(),this._renderData=new kf([]),this._filter=new kf(""),this._internalPageChanges=new k,this._renderChangesSubscription=h.EMPTY,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(t_(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),o=0;return null!=s&&null!=r?s>r?o=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 kf(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}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(){const t=this._sort?q(this._sort.sortChange,this._sort.initialized):ld(null),e=this._paginator?q(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ld(null),i=Cf([this._data,this._filter]).pipe(I(([t])=>this._filterData(t))),n=Cf([i,t]).pipe(I(([t])=>this._orderData(t))),s=Cf([n,e]).pipe(I(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,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._renderData}disconnect(){}}const AS=["underline"],kS=["connectionContainer"],TS=["inputContainer"],CS=["label"];function SS(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 MS(t,e){1&t&&(jo(0,"div",19),na(1,1),Yo())}function ES(t,e){if(1&t&&(Ko(0),na(1,2),jo(2,"span"),Sa(3),Yo(),Uo()),2&t){const t=ta(2);Ds(3),Ma(t._control.placeholder)}}function DS(t,e){1&t&&na(0,3,["*ngSwitchCase","true"])}function RS(t,e){1&t&&(jo(0,"span",23),Sa(1," *"),Yo())}function xS(t,e){if(1&t){const t=Vo();jo(0,"label",20,21),$o("cdkObserveContent",(function(){return ai(t),ta().updateOutlineGap()})),zo(2,ES,4,1,"ng-container",12),zo(3,DS,1,0,"ng-content",12),zo(4,RS,2,0,"span",22),Yo()}if(2&t){const t=ta();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()),Po("for",t._control.id)("aria-owns",t._control.id),Ds(2),Oo("ngSwitchCase",!1),Ds(1),Oo("ngSwitchCase",!0),Ds(1),Oo("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function PS(t,e){1&t&&(jo(0,"div",24),na(1,4),Yo())}function LS(t,e){if(1&t&&(jo(0,"div",25,26),No(2,"span",27),Yo()),2&t){const t=ta();Ds(2),pa("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function zS(t,e){1&t&&(jo(0,"div"),na(1,5),Yo()),2&t&&Oo("@transitionMessages",ta()._subscriptAnimationState)}function IS(t,e){if(1&t&&(jo(0,"div",31),Sa(1),Yo()),2&t){const t=ta(2);Oo("id",t._hintLabelId),Ds(1),Ma(t.hintLabel)}}function FS(t,e){if(1&t&&(jo(0,"div",28),zo(1,IS,2,2,"div",29),na(2,6),No(3,"div",30),na(4,7),Yo()),2&t){const t=ta();Oo("@transitionMessages",t._subscriptAnimationState),Ds(1),Oo("ngIf",t.hintLabel)}}const HS=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],OS=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let BS=0,jS=(()=>{class t{constructor(){this.id="mat-error-"+BS++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&Po("id",e.id)},inputs:{id:"id"}}),t})();const YS={transitionMessages:nb("transitionMessages",[cb("enter",ab({opacity:1,transform:"translateY(0%)"})),lb("void => enter",[ab({opacity:0,transform:"translateY(-100%)"}),sb("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let NS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t}),t})();function KS(t){return Error(`A hint was already declared for 'align="${t}"'.`)}let US=0,qS=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+US++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(Po("id",e.id)("align",null),pa("mat-right","end"==e.align))},inputs:{align:"align",id:"id"}}),t})(),VS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-label"]]}),t})(),WS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-placeholder"]]}),t})(),GS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","matPrefix",""]]}),t})(),$S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","matSuffix",""]]}),t})(),JS=0;class ZS{constructor(t){this._elementRef=t}}const QS=QA(ZS,"primary"),XS=new Ot("MAT_FORM_FIELD_DEFAULT_OPTIONS"),tM=new Ot("MatFormField");let eM=(()=>{class t extends QS{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-"+JS++,this._labelId="mat-form-field-label-"+JS++,this._labelOptions=i||{},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=Qm(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _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}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}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(Zf(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(x_(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(x_(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),q(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Zf(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Zf(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(x_(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._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(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,s_(this._label.nativeElement,"transitionend").pipe(Wf(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(i=>{if("start"===i.align){if(t||this.hintLabel)throw KS("start");t=i}else if("end"===i.align){if(e)throw KS("end");e=i}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if("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=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}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=this._getStartEnd(t.children[0].getBoundingClientRect());let a=0;for(const e of t.children)a+=e.offsetWidth;e=Math.abs(o-r)-5,i=a>0?.75*a+10:0}for(let o=0;o{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,JA,Aw],JA]}),t})();const nM=new Ot("NgValueAccessor"),sM={provide:nM,useExisting:kt(()=>rM),multi:!0};let rM=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Fo($a),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&$o("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Ya([sM])]}),t})();const oM={provide:nM,useExisting:kt(()=>cM),multi:!0},aM=new Ot("CompositionEventMode");let cM=(()=>{class t{constructor(t,e,i){this._renderer=t,this._elementRef=e,this._compositionMode=i,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=fl()?fl().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)(Fo($a),Fo(qa),Fo(aM,8))},t.\u0275dir=be({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&&$o("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:[Ya([oM])]}),t})(),uM=(()=>{class t{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}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=be({type:t}),t})(),lM=(()=>{class t extends uM{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return hM(e||t)},t.\u0275dir=be({type:t,features:[wo]}),t})();const hM=vn(lM);class dM extends uM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class fM{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let pM=(()=>{class t extends fM{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Fo(dM,2))},t.\u0275dir=be({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&pa("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[wo]}),t})(),gM=(()=>{class t extends fM{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Fo(lM,2))},t.\u0275dir=be({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&pa("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[wo]}),t})();function mM(t){return null==t||0===t.length}function _M(t){return null!=t&&"number"==typeof t.length}const yM=new Ot("NgValidators"),wM=new Ot("NgAsyncValidators"),bM=/^(?=.{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 vM{static min(t){return e=>{if(mM(e.value)||mM(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(mM(e.value)||mM(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}static required(t){return mM(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return mM(t.value)||bM.test(t.value)?null:{email:!0}}static minLength(t){return e=>mM(e.value)||!_M(e.value)?null:e.value.length_M(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return vM.nullValidator;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(mM(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(AM);return 0==e.length?null:function(t){return TM(CM(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(AM);return 0==e.length?null:function(t){return gT(CM(t,e).map(kM)).pipe(I(TM))}}}function AM(t){return null!=t}function kM(t){const e=Wo(t)?B(t):t;return Go(e),e}function TM(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 CM(t,e){return e.map(e=>e(t))}function SM(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}const MM={provide:nM,useExisting:kt(()=>EM),multi:!0};let EM=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Fo($a),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&$o("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ya([MM])]}),t})();const DM={provide:nM,useExisting:kt(()=>xM),multi:!0};let RM=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),xM=(()=>{class t{constructor(t,e,i,n){this._renderer=t,this._elementRef=e,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(dM),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(Fo($a),Fo(qa),Fo(RM),Fo(go))},t.\u0275dir=be({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&$o("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ya([DM])]}),t})();const PM={provide:nM,useExisting:kt(()=>LM),multi:!0};let LM=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Fo($a),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&$o("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ya([PM])]}),t})();const zM={provide:nM,useExisting:kt(()=>IM),multi:!0};let IM=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const i=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_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(e){return new(e||t)(Fo($a),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&$o("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ya([zM])]}),t})();const FM={provide:nM,useExisting:kt(()=>HM),multi:!0};let HM=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},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{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&jM(t,e)})}(t,e),function(t,e){t.registerOnChange((t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&jM(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function jM(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function YM(t,e){t.validator=vM.compose([t.validator,e.validator]),t.asyncValidator=vM.composeAsync([t.asyncValidator,e.asyncValidator])}function NM(t){return null!=t?vM.compose(SM(t)):null}function KM(t){return null!=t?vM.composeAsync(SM(t)):null}function UM(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}const qM=[rM,LM,EM,IM,HM,xM];function VM(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function WM(t,e){if(!e)return null;Array.isArray(e);let i=void 0,n=void 0,s=void 0;return e.forEach(t=>{var e;t.constructor===cM?i=t:(e=t,qM.some(t=>e.constructor===t)?n=t:s=t)}),s||n||i||null}function GM(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function $M(t,e,i,n){Hn()&&"never"!==n&&((null!==n&&"once"!==n||e._ngModelWarningSentOnce)&&("always"!==n||i._ngModelWarningSent)||(e._ngModelWarningSentOnce=!0,i._ngModelWarningSent=!0))}const JM="VALID",ZM="INVALID",QM="PENDING",XM="DISABLED";function tE(t){return(sE(t)?t.validators:t)||null}function eE(t){return Array.isArray(t)?NM(t):t||null}function iE(t,e){return(sE(e)?e.asyncValidators:t)||null}function nE(t){return Array.isArray(t)?KM(t):t||null}function sE(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class rE{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=eE(this._rawValidators),this._composedAsyncValidatorFn=nE(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===JM}get invalid(){return this.status===ZM}get pending(){return this.status==QM}get disabled(){return this.status===XM}get enabled(){return this.status!==XM}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=eE(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nE(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=QM,!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=XM,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=JM,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!==JM&&this.status!==QM||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()?XM:JM}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=QM,this._hasOwnPendingAsyncValidator=!0;const e=kM(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 aE?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof cE&&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 Wc,this.statusChanges=new Wc}_calculateStatus(){return this._allControlsDisabled()?XM:this.errors?ZM:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(QM)?QM:this._anyControlsHaveStatus(ZM)?ZM:JM}_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){sE(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class oE extends rE{constructor(t=null,e,i){super(tE(e),iE(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}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)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(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 aE extends rE{constructor(t,e,i){super(tE(e),iE(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}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){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),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={}){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 oE?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=>t(this.controls[e],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 cE extends rE{constructor(t,e,i){super(tE(e),iE(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),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={}){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 oE?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_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 uE={provide:lM,useExisting:kt(()=>hE)},lE=(()=>Promise.resolve(null))();let hE=(()=>{class t extends lM{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Wc,this.form=new aE({},NM(t),KM(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){lE.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),BM(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){lE.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),GM(this._directives,t)})}addFormGroup(t){lE.then(()=>{const e=this._findContainer(t.path),i=new aE({});YM(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){lE.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){lE.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,VM(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)(Fo(yM,10),Fo(wM,10))},t.\u0275dir=be({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&$o("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ya([uE]),wo]}),t})();const dE={provide:dM,useExisting:kt(()=>pE)},fE=(()=>Promise.resolve(null))();let pE=(()=>{class t extends dM{constructor(t,e,i,n){super(),this.control=new oE,this._registered=!1,this.update=new Wc,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=i||[],this.valueAccessor=WM(0,n)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),UM(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?OM(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return NM(this._rawValidators)}get asyncValidator(){return KM(this._rawAsyncValidators)}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(){BM(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){fE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;fE.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Fo(lM,9),Fo(yM,10),Fo(wM,10),Fo(nM,10))},t.\u0275dir=be({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:[Ya([dE]),wo,Ie]}),t})(),gE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const mE=new Ot("NgModelWithFormControlWarning"),_E={provide:dM,useExisting:kt(()=>yE)};let yE=(()=>{class t extends dM{constructor(t,e,i,n){super(),this._ngModelWarningConfig=n,this.update=new Wc,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=WM(0,i)}set isDisabled(t){}ngOnChanges(e){this._isControlChanged(e)&&(BM(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),UM(e,this.viewModel)&&($M(0,t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return NM(this._rawValidators)}get asyncValidator(){return KM(this._rawAsyncValidators)}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)(Fo(yM,10),Fo(wM,10),Fo(nM,10),Fo(mE,8))},t.\u0275dir=be({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ya([_E]),wo,Ie]}),t._ngModelWarningSentOnce=!1,t})();const wE={provide:lM,useExisting:kt(()=>bE)};let bE=(()=>{class t extends lM{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Wc}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return BM(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){GM(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);YM(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);YM(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(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,VM(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=this.form.get(t.path);t.control!==e&&(function(t,e){const i=()=>{};e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&BM(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=NM(this._validators);this.form.validator=vM.compose([this.form.validator,t]);const e=KM(this._asyncValidators);this.form.asyncValidator=vM.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(Fo(yM,10),Fo(wM,10))},t.\u0275dir=be({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&$o("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ya([wE]),wo,Ie]}),t})();const vE={provide:dM,useExisting:kt(()=>AE)};let AE=(()=>{class t extends dM{constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Wc,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=i||[],this.valueAccessor=WM(0,n)}set isDisabled(t){}ngOnChanges(e){this._added||this._setUpControl(),UM(e,this.viewModel)&&($M(0,t,this,this._ngModelWarningConfig),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 OM(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return NM(this._rawValidators)}get asyncValidator(){return KM(this._rawAsyncValidators)}_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)(Fo(lM,13),Fo(yM,10),Fo(wM,10),Fo(nM,10),Fo(mE,8))},t.\u0275dir=be({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ya([vE]),wo,Ie]}),t._ngModelWarningSentOnce=!1,t})();const kE={provide:yM,useExisting:kt(()=>TE),multi:!0};let TE=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?vM.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({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&&Po("required",e.required?"":null)},inputs:{required:"required"},features:[Ya([kE])]}),t})(),CE=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})(),SE=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n=null,s=null,r=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(n=null!=e.validators?e.validators:null,s=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(n=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new aE(i,{asyncValidators:s,updateOn:r,validators:n})}control(t,e,i){return new oE(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new cE(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 oE||t instanceof aE||t instanceof cE?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=lt({token:t,factory:t.\u0275fac}),t})(),ME=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[RM],imports:[CE]}),t})(),EE=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:mE,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[SE,RM],imports:[CE]}),t})();const DE=ty({passive:!0});let RE=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Df;const e=n_(t),i=this._monitoredElements.get(e);if(i)return i.subject.asObservable();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,DE),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",r,DE)}}),n.asObservable()}stopMonitoring(t){const e=n_(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)($t(W_),$t(Hu))},t.\u0275prov=lt({factory:function(){return new t($t(W_),$t(Hu))},token:t,providedIn:"root"}),t})(),xE=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[G_]]}),t})();const PE=new Ot("MAT_INPUT_VALUE_ACCESSOR"),LE=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let zE=0;class IE{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const FE=ek(IE);let HE=(()=>{class t extends FE{constructor(t,e,i,n,s,r,o,a,c){super(r,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=a,this._uid="mat-input-"+zE++,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=>J_().has(t));const u=this._elementRef.nativeElement,l=u.nodeName.toLowerCase();this._inputValueAccessor=o||u,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&c.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===l,this._isTextarea="textarea"===l,this._isNativeSelect&&(this.controlType=u.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=Qm(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=Qm(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&J_().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=Qm(t)}ngOnInit(){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()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(LE.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_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){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(W_),Fo(dM,10),Fo(hE,8),Fo(bE,8),Fo(mk),Fo(PE,10),Fo(RE),Fo(Hu))},t.\u0275dir=be({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&$o("focus",(function(){return e._focusChanged(!0)}))("blur",(function(){return e._focusChanged(!1)}))("input",(function(){return e._onInput()})),2&t&&(Pa("disabled",e.disabled)("required",e.required),Po("id",e.id)("placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),pa("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Ya([{provide:NS,useExisting:t}]),wo,Ie]}),t})(),OE=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[mk],imports:[[xE,iM],xE,iM]}),t})();function BE(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=ta();fa("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),Po("r",t._circleRadius)}}function jE(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=ta();fa("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),Po("r",t._circleRadius)}}function YE(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=ta();fa("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),Po("r",t._circleRadius)}}function NE(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=ta();fa("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),Po("r",t._circleRadius)}}const KE=".mat-progress-spinner{display:block;position:relative}.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}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{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]{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]{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 UE{constructor(t){this._elementRef=t}}const qE=QA(UE,"primary"),VE=new Ot("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let WE=(()=>{class t extends qE{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;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=Xm(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Xm(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Xm(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=iy(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){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",i+""),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_getAnimationText(){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*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(W_),Fo(pl,8),Fo(BA,8),Fo(VE))},t.\u0275cmp=pe({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(Po("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:[wo],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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&&(Li(),jo(0,"svg",0),zo(1,BE,1,9,"circle",1),zo(2,jE,1,7,"circle",2),Yo()),2&t&&(fa("width",e.diameter,"px")("height",e.diameter,"px"),Oo("ngSwitch","indeterminate"===e.mode),Po("viewBox",e._viewBox),Ds(1),Oo("ngSwitchCase",!0),Ds(1),Oo("ngSwitchCase",!1))},directives:[_h,yh],styles:[KE],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),GE=(()=>{class t extends WE{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(W_),Fo(pl,8),Fo(BA,8),Fo(VE))},t.\u0275cmp=pe({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:[wo],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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&&(Li(),jo(0,"svg",0),zo(1,YE,1,9,"circle",1),zo(2,NE,1,7,"circle",2),Yo()),2&t&&(fa("width",e.diameter,"px")("height",e.diameter,"px"),Oo("ngSwitch","indeterminate"===e.mode),Po("viewBox",e._viewBox),Ds(1),Oo("ngSwitchCase",!0),Ds(1),Oo("ngSwitchCase",!1))},directives:[_h,yh],styles:[KE],encapsulation:2,changeDetection:0}),t})(),$E=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA,Dh],JA]}),t})(),JE=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Ek,JA],JA]}),t})();const ZE=["mat-calendar-body",""];function QE(t,e){if(1&t&&(jo(0,"tr",2),jo(1,"td",3),Sa(2),Yo(),Yo()),2&t){const t=ta();Ds(1),fa("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),Po("colspan",t.numCols),Ds(1),Ea(" ",t.label," ")}}function XE(t,e){if(1&t&&(jo(0,"td",7),Sa(1),Yo()),2&t){const t=ta(2);fa("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),Po("colspan",t._firstRowOffset),Ds(1),Ea(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function tD(t,e){if(1&t){const t=Vo();jo(0,"td",8),$o("click",(function(){ai(t);const i=e.$implicit;return ta(2)._cellClicked(i)})),jo(1,"div",9),Sa(2),Yo(),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ta().index,s=ta();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)),Oo("ngClass",t.cssClasses)("tabindex",s._isActiveCell(n,i)?0:-1),Po("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s.selectedValue===t.value),Ds(1),pa("mat-calendar-body-selected",s.selectedValue===t.value)("mat-calendar-body-today",s.todayValue===t.value),Ds(1),Ea(" ",t.displayValue," ")}}function eD(t,e){if(1&t&&(jo(0,"tr",4),zo(1,XE,2,6,"td",5),zo(2,tD,3,20,"td",6),Yo()),2&t){const t=e.$implicit,i=e.index,n=ta();Ds(1),Oo("ngIf",0===i&&n._firstRowOffset),Ds(1),Oo("ngForOf",t)}}function iD(t,e){if(1&t&&(jo(0,"th",5),Sa(1),Yo()),2&t){const t=e.$implicit;Po("aria-label",t.long),Ds(1),Ma(t.narrow)}}const nD=["*"];function sD(t,e){}function rD(t,e){if(1&t){const t=Vo();jo(0,"mat-month-view",5),$o("activeDateChange",(function(e){return ai(t),ta().activeDate=e}))("selectedChange",(function(e){return ai(t),ta()._dateSelected(e)}))("_userSelection",(function(){return ai(t),ta()._userSelected()})),Yo()}if(2&t){const t=ta();Oo("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function oD(t,e){if(1&t){const t=Vo();jo(0,"mat-year-view",6),$o("activeDateChange",(function(e){return ai(t),ta().activeDate=e}))("monthSelected",(function(e){return ai(t),ta()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return ai(t),ta()._goToDateInView(e,"month")})),Yo()}if(2&t){const t=ta();Oo("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function aD(t,e){if(1&t){const t=Vo();jo(0,"mat-multi-year-view",7),$o("activeDateChange",(function(e){return ai(t),ta().activeDate=e}))("yearSelected",(function(e){return ai(t),ta()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return ai(t),ta()._goToDateInView(e,"year")})),Yo()}if(2&t){const t=ta();Oo("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}const cD=["button"];function uD(t,e){1&t&&(Li(),jo(0,"svg",3),No(1,"path",4),Yo())}const lD=[[["","matDatepickerToggleIcon",""]]],hD=["[matDatepickerToggleIcon]"];function dD(t){return Error(`MatDatepicker: No provider found for ${t}. You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}let fD=(()=>{class t{constructor(){this.changes=new k,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 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=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})();class pD{constructor(t,e,i,n,s={}){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=n,this.cssClasses=s}}let gD=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new Wc}_cellClicked(t){t.enabled&&this.selectedValueChange.emit(t.value)}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+"%")}_isActiveCell(t,e){let i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Wf(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()})})}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Hu))},t.\u0275cmp=pe({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[Ie],attrs:ZE,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 mat-focus-indicator",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(t,e){1&t&&(zo(0,QE,3,6,"tr",0),zo(1,eD,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})(),mD=(()=>{class t{constructor(t,e,i,n){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Wc,this._userSelection=new Wc,this.activeDateChange=new Wc,!this._dateAdapter)throw dD("DateAdapter");if(!this._dateFormats)throw dD("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,i=this._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=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Zf(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){if(this._selectedDate!=t){const e=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(e,i,t);this.selectedChange.emit(n)}this._userSelection.emit()}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case Ry:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case Py:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case xy:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Ly:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Dy:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Ey: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 Cy:case My:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._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(){this._matCalendarBody._focusActiveCell()}_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))}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return t.\u0275fac=function(e){return new(e||t)(Fo(Zr),Fo(rk,8),Fo(sk,8),Fo(sy,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){var i;1&t&&ou(gD,!0),2&t&&su(i=hu())&&(e._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,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","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(jo(0,"table",0),jo(1,"thead",1),jo(2,"tr"),zo(3,iD,2,2,"th",2),Yo(),jo(4,"tr"),No(5,"th",3),Yo(),Yo(),jo(6,"tbody",4),$o("selectedValueChange",(function(t){return e._dateSelected(t)}))("keydown",(function(t){return e._handleCalendarBodyKeydown(t)})),Yo(),Yo()),2&t&&(Ds(3),Oo("ngForOf",e._weekdays),Ds(3),Oo("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("selectedValue",e._selectedDate)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[hh,gD],encapsulation:2,changeDetection:0}),t})();const _D=24;let yD=(()=>{class t{constructor(t,e,i){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=i,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Wc,this.yearSelected=new Wc,this.activeDateChange=new Wc,!this._dateAdapter)throw dD("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),wD(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Zf(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-bD(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,i=[];e<_D;e++)i.push(t+e),4==i.length&&(this._years.push(i.map(t=>this._createCellForYear(t))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let e=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case Ry:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case Py:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case xy:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case Ly:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case Dy:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-bD(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Ey:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_D-bD(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:_D);break;case Cy:case My:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return bD(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new pD(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,i,n){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Wc,this.monthSelected=new Wc,this.activeDateChange=new Wc,!this._dateAdapter)throw dD("DateAdapter");if(!this._dateFormats)throw dD("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._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=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Zf(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);const i=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case Ry:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case Py:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case xy:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Ly:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Dy:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Ey: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 Cy:case My:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(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){let i=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new pD(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t))}_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.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)-bD(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+_D-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:_D)}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):wD(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(Fo(fD),Fo(kt(()=>TD)),Fo(sk,8),Fo(rk,8),Fo(Zr))},t.\u0275cmp=pe({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:nD,decls:9,vars:8,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&&(ia(),jo(0,"div",0),jo(1,"div",1),jo(2,"button",2),$o("click",(function(){return e.currentPeriodClicked()})),Sa(3),No(4,"div",3),Yo(),No(5,"div",4),na(6),jo(7,"button",5),$o("click",(function(){return e.previousClicked()})),Yo(),jo(8,"button",6),$o("click",(function(){return e.nextClicked()})),Yo(),Yo(),Yo()),2&t&&(Ds(2),Po("aria-label",e.periodButtonLabel),Ds(1),Ea(" ",e.periodButtonText," "),Ds(1),pa("mat-calendar-invert","month"!=e.calendar.currentView),Ds(3),Oo("disabled",!e.previousEnabled()),Po("aria-label",e.prevButtonLabel),Ds(1),Oo("disabled",!e.nextEnabled()),Po("aria-label",e.nextButtonLabel))},directives:[UT,Nw],encapsulation:2,changeDetection:0}),t})(),TD=(()=>{class t{constructor(t,e,i,n){if(this._dateAdapter=e,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Wc,this.yearSelected=new Wc,this.monthSelected=new Wc,this._userSelection=new Wc,this.stateChanges=new k,!this._dateAdapter)throw dD("DateAdapter");if(!this._dateFormats)throw dD("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._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){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new gy(this.headerComponent||kD),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()}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){t&&!this._dateAdapter.sameDate(t,this.selected)&&this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(Fo(fD),Fo(sk,8),Fo(rk,8),Fo(Zr))},t.\u0275cmp=pe({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){var i;1&t&&(ou(mD,!0),ou(AD,!0),ou(yD,!0)),2&t&&(su(i=hu())&&(e.monthView=i.first),su(i=hu())&&(e.yearView=i.first),su(i=hu())&&(e.multiYearView=i.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Ie],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(zo(0,sD,0,0,"ng-template",0),jo(1,"div",1),zo(2,rD,1,6,"mat-month-view",2),zo(3,oD,1,5,"mat-year-view",3),zo(4,aD,1,5,"mat-multi-year-view",4),Yo()),2&t&&(Oo("cdkPortalOutlet",e._calendarHeaderPortal),Ds(1),Oo("ngSwitch",e.currentView),Ds(1),Oo("ngSwitchCase","month"),Ds(1),Oo("ngSwitchCase","year"),Ds(1),Oo("ngSwitchCase","multi-year"))},directives:[vy,Gw,_h,yh,mD,AD,yD],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 CD={transformPanel:nb("transformPanel",[cb("void",ab({opacity:0,transform:"scale(1, 0.8)"})),lb("void => enter",sb("120ms cubic-bezier(0, 0, 0.2, 1)",ab({opacity:1,transform:"scale(1, 1)"}))),lb("* => void",sb("100ms linear",ab({opacity:0})))]),fadeInCalendar:nb("fadeInCalendar",[cb("void",ab({opacity:0})),cb("enter",ab({opacity:1})),lb("void => *",sb("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let SD=0;const MD=new Ot("mat-datepicker-scroll-strategy"),ED={provide:MD,deps:[cw],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class DD{constructor(t){this._elementRef=t}}const RD=QA(DD);let xD=(()=>{class t extends RD{constructor(t,e){super(t),this._changeDetectorRef=e,this._animationState="enter",this._animationDone=new k}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Zr))},t.\u0275cmp=pe({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){var i;1&t&&ou(TD,!0),2&t&&su(i=hu())&&(e._calendar=i.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&Jo("@transformPanel.done",(function(){return e._animationDone.next()})),2&t&&(La("@transformPanel",e._animationState),pa("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[wo],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(t,e){1&t&&(jo(0,"mat-calendar",0),$o("selectedChange",(function(t){return e.datepicker.select(t)}))("yearSelected",(function(t){return e.datepicker._selectYear(t)}))("monthSelected",(function(t){return e.datepicker._selectMonth(t)}))("_userSelection",(function(){return e.datepicker.close()})),Yo()),2&t&&Oo("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._minDate)("maxDate",e.datepicker._maxDate)("dateFilter",e.datepicker._dateFilter)("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e.datepicker._selected)("dateClass",e.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[TD,Ow,uh],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[CD.transformPanel,CD.fadeInCalendar]},changeDetection:0}),t})(),PD=(()=>{class t{constructor(t,e,i,n,s,r,o,a){if(this._dialog=t,this._overlay=e,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=r,this._dir=o,this._document=a,this.startView="month",this._touchUi=!1,this.yearSelected=new Wc,this.monthSelected=new Wc,this.openedStream=new Wc,this.closedStream=new Wc,this._opened=!1,this.id="mat-datepicker-"+SD++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=h.EMPTY,this._disabledChange=new k,this._selectedChanged=new k,!this._dateAdapter)throw dD("DateAdapter");this._scrollStrategy=s}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(t){this._startAt=this._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=Qm(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Qm(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(t){let e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this._selectedChanged.next(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_registerInput(t){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Wf(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(xD,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const t=new gy(xD,this._viewContainerRef);this._destroyPopup(),this._createPopup();const e=this._popupComponentRef=this._popupRef.attach(t);e.instance.datepicker=this,e.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Wf(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const t=new Ky({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),q(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(dd(t=>t.keyCode===Sy||this._datepickerInput&&t.altKey&&t.keyCode===xy))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\u0275fac=function(e){return new(e||t)(Fo(tT),Fo(cw),Fo(Hu),Fo(_c),Fo(MD),Fo(sk,8),Fo(sy,8),Fo(pl,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const LD={provide:nM,useExisting:kt(()=>FD),multi:!0},zD={provide:yM,useExisting:kt(()=>FD),multi:!0};class ID{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let FD=(()=>{class t{constructor(t,e,i,n){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=i,this._formField=n,this.dateChange=new Wc,this.dateInput=new Wc,this._valueChange=new Wc,this._disabledChange=new Wc,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=h.EMPTY,this._localeSubscription=h.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDate(this.min,e)<=0?null:{matDatepickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDate(this.max,e)>=0?null:{matDatepickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=vM.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw dD("DateAdapter");if(!this._dateFormats)throw dD("MAT_DATE_FORMATS");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new ID(this,this._elementRef.nativeElement)),this.dateChange.emit(new ID(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=Qm(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&this._isInitialized&&i.blur&&i.blur()}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===Ly&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!i||this._dateAdapter.isValid(i),i=this._getValidDateOrNull(i),this._dateAdapter.sameDate(i,this._value)?e!==this._lastValueValid&&this._validatorOnChange():(this._value=i,this._cvaOnChange(i),this._valueChange.emit(i),this.dateInput.emit(new ID(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ID(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(sk,8),Fo(rk,8),Fo(tM,8))},t.\u0275dir=be({type:t,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(t,e){1&t&&$o("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&&(Pa("disabled",e.disabled),Po("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))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[Ya([LD,zD,{provide:PE,useExisting:t}])]}),t})(),HD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),OD=(()=>{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=Qm(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._disabledChange:ld(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:ld(),i=this.datepicker?q(this.datepicker.openedStream,this.datepicker.closedStream):ld();this._stateChanges.unsubscribe(),this._stateChanges=q(this._intl.changes,t,e,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Fo(fD),Fo(Zr),Ho("tabindex"))},t.\u0275cmp=pe({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){var n;1&t&&cu(i,HD,!0),2&t&&su(n=hu())&&(e._customIcon=n.first)},viewQuery:function(t,e){var i;1&t&&ou(cD,!0),2&t&&su(i=hu())&&(e._button=i.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(t,e){1&t&&$o("focus",(function(){return e._button.focus()})),2&t&&(Po("tabindex",e.disabled?null:-1),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"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ie],ngContentSelectors:hD,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["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&&(ia(lD),jo(0,"button",0,1),$o("click",(function(t){return e._open(t)})),zo(2,uD,2,0,"svg",2),na(3),Yo()),2&t&&(Oo("disabled",e.disabled)("disableRipple",e.disableRipple),Po("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),Ds(2),Oo("ngIf",!e._customIcon))},directives:[UT,fh],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}\n"],encapsulation:2,changeDetection:0}),t})(),BD=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[fD,ED],imports:[[Dh,qT,rT,pw,Xw,Ty],hy]}),t})(),jD=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})(),YD=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh]]}),t})(),ND=(()=>{class t{transform(t,e){let i="";return null!==t.titleBefore&&(i+=t.titleBefore+" "),null!==t.firstName&&(i+=t.firstName+" "),null!==t.middleName&&(i+=t.middleName+" "),null!==t.lastName&&(i+=t.lastName+" "),null!==t.titleAfter&&(i+=t.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ve({name:"userFullName",type:t,pure:!0}),t})(),KD=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[dC,Dh]]}),t})(),UD=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),qD=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[Vw,UD]}),t})(),VD=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[qD,JA],JA]}),t})();var WD=i("9RND");function GD(t,e){1&t&&No(0,"mat-spinner",7)}function $D(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function JD(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function ZD(t,e){if(1&t){const t=Vo();jo(0,"div",8),jo(1,"mat-form-field"),jo(2,"mat-label"),Sa(3),Kc(4,"translate"),Yo(),jo(5,"input",9,10),$o("ngModelChange",(function(e){return ai(t),ta().subject=e})),Yo(),zo(7,$D,3,3,"mat-error",11),Yo(),jo(8,"mat-form-field"),jo(9,"mat-label"),Sa(10),Kc(11,"translate"),Yo(),jo(12,"textarea",12,13),$o("ngModelChange",(function(e){return ai(t),ta().message=e})),Kc(14,"translate"),Sa(15," "),Yo(),zo(16,JD,3,3,"mat-error",11),Yo(),Yo()}if(2&t){const t=Io(6),e=Io(13),i=ta();Ds(3),Ma(Uc(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),Ds(2),Oo("ngModel",i.subject),Ds(2),Oo("ngIf",t.invalid),Ds(3),Ma(Uc(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),Ds(2),sa("placeholder",Uc(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),Oo("ngModel",i.message),Ds(4),Oo("ngIf",e.invalid)}}let QD=(()=>{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()},t=>{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;return 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.call+"\n\n"),this.data.error.payload&&(e=e.concat("Payload:\n"+this.data.error.payload+"\n\n")),e=e.concat("Sended from new Perun Gui, version: "+WD.a),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(Fo($k),Fo(FT),Fo(pC),Fo(cf),Fo(Jk),Fo(Zm))},t.\u0275cmp=pe({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),Sa(1),Kc(2,"translate"),Yo(),zo(3,GD,1,0,"mat-spinner",1),zo(4,ZD,17,13,"div",2),jo(5,"div",3),jo(6,"div",4),jo(7,"button",5),$o("click",(function(){return e.dialogRef.close()})),Sa(8),Kc(9,"translate"),Yo(),jo(10,"button",6),$o("click",(function(){return e.sendBugReport()})),Sa(11),Kc(12,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(1),Ma(Uc(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading),Ds(4),Ea(" ",Uc(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),Ds(2),Oo("disabled",""===e.message||""===e.subject||e.loading),Ds(1),Ea(" ",Uc(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[iT,fh,sT,UT,GE,nT,eM,VS,HE,cM,TE,pM,pE,jS],pipes:[HT],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),XD=(()=>{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=uT();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(QD,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Fo($k),Fo(tT),Fo(Jk))},t.\u0275cmp=pe({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),Sa(1),Yo(),jo(2,"div",1),Sa(3),Yo(),jo(4,"div",2),jo(5,"div",3),jo(6,"button",4),$o("click",(function(){return e.onBugReportClick()})),Sa(7),Kc(8,"translate"),Yo(),jo(9,"button",5),$o("click",(function(){return e.onCloseClick()})),Sa(10),Kc(11,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(1),Ma(e.data.title),Ds(2),Ea("\n",e.data.description,"\n"),Ds(3),Oo("hidden","error"!==e.data.type),Ds(1),Ea(" ",Uc(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),Ds(3),Ea(" ",Uc(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[iT,nT,sT,UT],pipes:[HT],styles:[""]}),t})();function tR(t,e){1&t&&(jo(0,"mat-icon",2),Sa(1," error "),Yo())}const eR=["*"];let iR=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:eR,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&&(ia(),jo(0,"div",0),zo(1,tR,2,0,"mat-icon",1),na(2),Yo()),2&t&&(pa("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),Ds(1),Oo("ngIf","error"!==e.alert_type))},directives:[fh,hC],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 nR(t,e){1&t&&No(0,"mat-spinner",6)}function sR(t,e){1&t&&No(0,"th",15)}function rR(t,e){if(1&t&&(jo(0,"td",16),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ea(" ",t," ")}}function oR(t,e){1&t&&No(0,"tr",17)}function aR(t,e){1&t&&No(0,"tr",18)}function cR(t,e){if(1&t&&(jo(0,"div",7),jo(1,"p"),Sa(2),Kc(3,"translate"),Yo(),jo(4,"div",8),Sa(5),Kc(6,"translate"),Yo(),jo(7,"table",9),Ko(8,10),zo(9,sR,1,0,"th",11),zo(10,rR,2,1,"td",12),Uo(),zo(11,oR,1,0,"tr",13),zo(12,aR,1,0,"tr",14),Yo(),Yo()),2&t){const t=ta();Ds(2),Ea(" ",Uc(3,5,t.data.description)," "),Ds(3),Ea(" ",Uc(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),Ds(2),Oo("dataSource",t.dataSource),Ds(4),Oo("matHeaderRowDef",t.displayedColumns),Ds(1),Oo("matRowDefColumns",t.displayedColumns)}}let uR=(()=>{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 vS(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Fo($k),Fo(Jk))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),zo(4,nR,1,0,"mat-spinner",1),zo(5,cR,13,9,"div",2),jo(6,"div",3),jo(7,"button",4),$o("click",(function(){return e.onCancel()})),Sa(8),Kc(9,"translate"),Yo(),jo(10,"button",5),$o("click",(function(){return e.onSubmit()})),Sa(11),Kc(12,"translate"),Yo(),Yo(),Yo()),2&t&&(_a(oe,ga,e.theme,!0),Ds(2),Ma(Uc(3,9,e.data.title)),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading),Ds(3),Ea(" ",Uc(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),Ds(2),Oo("disabled",e.loading),Ds(1),Ea(" ",Uc(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[iT,fh,sT,UT,GE,nT,iS,cS,oS,sS,dS,pS,lS,hS,mS,yS],pipes:[HT],styles:[""]}),t})();function lR(t,e){if(1&t&&(jo(0,"div",5),jo(1,"mat-icon"),Sa(2),Yo(),Yo()),2&t){const t=ta();Ds(2),Ma(t.data.icon)}}function hR(t,e){if(1&t&&(jo(0,"div",6),Sa(1),Yo()),2&t){const t=ta();Ds(1),Ea(" ",t.showTimestamp()," ")}}let dR=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new Wc,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=uT();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(XD,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)(Fo(tT),Fo(_C))},t.\u0275cmp=pe({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),$o("click",(function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()})),zo(2,lR,3,1,"div",1),jo(3,"div",2),Sa(4),Kc(5,"translate"),Yo(),zo(6,hR,2,1,"div",3),jo(7,"div",4),$o("click",(function(){return e.waiting=!0,e.doAction()})),Sa(8),Yo(),Yo(),Yo()),2&t&&(xa("notification ",e.inDialog?"":"mat-elevation-z7",""),pa("error","error"===e.data.type)("success","success"===e.data.type),Ds(2),Oo("ngIf",null!==e.data.icon),Ds(2),Ea(" ",Uc(5,12,e.data.title)," "),Ds(2),Oo("ngIf",e.inDialog),Ds(1),Oo("hidden",e.alreadyPressed),Ds(1),Ea(" ",e.data.actionText," "))},directives:[fh,hC],pipes:[HT],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 fR(t,e){if(1&t){const t=Vo();jo(0,"div"),jo(1,"perun-web-apps-notification",2),$o("closeNotification",(function(){ai(t);const i=e.index;return ta().removeNotification(i)})),Yo(),Yo()}if(2&t){const t=e.$implicit;Oo("@flyInOut",void 0),Ds(1),Oo("data",t)("newNotification",!0)}}const pR=function(t){return{top:t}};let gR=(()=>{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)(Fo(pC),Fo(_C))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&$o("resize",(function(t){return e.getScreenSize(t)}),!1,tn)},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),zo(1,fR,2,3,"div",1),Yo()),2&t&&(Oo("ngStyle",Oc(2,pR,e.getNotificatorTop())),Ds(1),Oo("ngForOf",e.notifications))},directives:[bh,hh,dR],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:[bC]}}),t})();const mR=["*",[["mat-toolbar-row"]]],_R=["*","mat-toolbar-row"];class yR{constructor(t){this._elementRef=t}}const wR=QA(yR);let bR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),vR=(()=>{class t extends wR{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){Hn()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(W_),Fo(pl))},t.\u0275cmp=pe({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){var n;1&t&&cu(i,bR,!0),2&t&&su(n=hu())&&(e._toolbarRows=n)},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:[wo],ngContentSelectors:_R,decls:2,vars:0,template:function(t,e){1&t&&(ia(mR),na(0),na(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%}.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}}\n"],encapsulation:2,changeDetection:0}),t})(),AR=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA],JA]}),t})();function kR(t,e=T_){var i;const n=(i=t)instanceof Date&&!isNaN(+i)?+t-e.now():Math.abs(t);return t=>t.lift(new TR(n,e))}class TR{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new CR(t,this.delay,this.scheduler))}}class CR 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(CR.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new SR(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(j_.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(j_.createComplete()),this.unsubscribe()}}class SR{constructor(t,e){this.time=t,this.notification=e}}const MR=["mat-menu-item",""],ER=["*"];function DR(t,e){if(1&t){const t=Vo();jo(0,"div",0),$o("keydown",(function(e){return ai(t),ta()._handleKeydown(e)}))("click",(function(){return ai(t),ta().closed.emit("click")}))("@transformMenu.start",(function(e){return ai(t),ta()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return ai(t),ta()._onAnimationDone(e)})),jo(1,"div",1),na(2),Yo(),Yo()}if(2&t){const t=ta();Oo("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),Po("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const RR={transformMenu:nb("transformMenu",[cb("void",ab({opacity:0,transform:"scale(0.8)"})),lb("void => enter",rb([db(".mat-menu-content, .mat-mdc-menu-content",sb("100ms linear",ab({opacity:1}))),sb("120ms cubic-bezier(0, 0, 0.2, 1)",ab({transform:"scale(1)"}))])),lb("* => void",sb("100ms 25ms linear",ab({opacity:0})))]),fadeInItems:nb("fadeInItems",[cb("showing",ab({opacity:1})),lb("void => *",[ab({opacity:0}),sb("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xR=(()=>{class t{constructor(t,e,i,n,s,r,o){this._template=t,this._componentFactoryResolver=e,this._appRef=i,this._injector=n,this._viewContainerRef=s,this._document=r,this._changeDetectorRef=o,this._attached=new k}attach(t={}){this._portal||(this._portal=new my(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new wy(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc),Fo(Ua),Fo(il),Fo(go),Fo(_c),Fo(pl),Fo(Zr))},t.\u0275dir=be({type:t,selectors:[["ng-template","matMenuContent",""]]}),t})();const PR=new Ot("MAT_MENU_PANEL");class LR{}const zR=XA(ZA(LR));let IR=(()=>{class t extends zR{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,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}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(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let i="";if(t.childNodes){const n=t.childNodes.length;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 $c,this._tabSubscription=h.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new k,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Wc,this.close=this.closed,this.panelId="mat-menu-panel-"+HR++}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Qm(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Qm(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 Pw(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Zf(this._directDescendantItems),Uf(t=>q(...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(Zf(this._directDescendantItems),Uf(t=>q(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case Sy:zy(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case Ry:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Py:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case Dy:case Ey:zy(t)||(e===Dy?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault());break;default:e!==xy&&e!==Ly||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(Wf(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(Zf(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)(Fo(qa),Fo(Hu),Fo(FR))},t.\u0275dir=be({type:t,contentQueries:function(t,e,i){var n;1&t&&(cu(i,xR,!0),cu(i,IR,!0),cu(i,IR,!1)),2&t&&(su(n=hu())&&(e.lazyContent=n.first),su(n=hu())&&(e._allItems=n),su(n=hu())&&(e.items=n))},viewQuery:function(t,e){var i;1&t&&ou(gc,!0),2&t&&su(i=hu())&&(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})(),BR=(()=>{class t extends OR{}return t.\u0275fac=function(e){return jR(e||t)},t.\u0275dir=be({type:t,features:[wo]}),t})();const jR=vn(BR);let YR=(()=>{class t extends BR{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Hu),Fo(FR))},t.\u0275cmp=pe({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Ya([{provide:PR,useExisting:BR},{provide:BR,useExisting:t}]),wo],ngContentSelectors:ER,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&&(ia(),zo(0,DR,3,6,"ng-template"))},directives:[uh],styles:['.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.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:[RR.transformMenu,RR.fadeInItems]},changeDetection:0}),t})();const NR=new Ot("mat-menu-scroll-strategy"),KR={provide:NR,deps:[cw],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},UR=ty({passive:!0});let qR=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this._overlay=t,this._element=e,this._viewContainerRef=i,this._parentMenu=s,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=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Wc,this.onMenuOpen=this.menuOpened,this.menuClosed=new Wc,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,UR),r&&(r._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=n}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.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,UR),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._parentMenu)}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 BR&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof BR?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(dd(t=>"void"===t.toState),Wf(1),x_(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_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 Ky({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",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 q(t,this._parentMenu?this._parentMenu.closed:ld(),this._parentMenu?this._parentMenu._hovered().pipe(dd(t=>t!==this._menuItemInstance),dd(()=>this._menuOpen)):ld(),e)}_handleMousedown(t){Kw(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===Py&&"ltr"===this.dir||e===Ry&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(dd(t=>t===this._menuItemInstance&&!t.disabled),kR(0,w_)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof BR&&this.menu._isAnimating?this.menu._animationDone.pipe(Wf(1),kR(0,w_),x_(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new my(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(Fo(cw),Fo(qa),Fo(_c),Fo(NR),Fo(BR,8),Fo(IR,10),Fo(sy,8),Fo(Vw))},t.\u0275dir=be({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&$o("mousedown",(function(t){return e._handleMousedown(t)}))("keydown",(function(t){return e._handleKeydown(t)}))("click",(function(t){return e._handleClick(t)})),2&t&&Po("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})(),VR=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[KR],imports:[JA]}),t})(),WR=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[KR],imports:[[Dh,JA,Ek,pw,VR],hy,JA,VR]}),t})();const GR=function(t){return{background:t}},$R=function(t){return{color:t}};let JR=(()=>{class t{constructor(t,e,i){this.storeService=t,this.authService=e,this.sanitizer=i,this.bgColor=this.storeService.get("theme","header_bg_color"),this.textColor=this.storeService.get("theme","header_text_color"),this.iconColor=this.storeService.get("theme","header_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)(Fo(Zm),Fo(WT),Fo(sd))},t.\u0275cmp=pe({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),$o("click",(function(){return e.sideNav.toggle()})),jo(3,"mat-icon"),Sa(4,"menu"),Yo(),Yo(),No(5,"a",3),No(6,"mat-icon",4),jo(7,"p",5),Sa(8),Kc(9,"translate"),Yo(),Yo(),jo(10,"div",6),jo(11,"button",7),jo(12,"mat-icon",8),Sa(13," person "),Yo(),jo(14,"span",9),Sa(15),Yo(),Yo(),jo(16,"mat-menu",null,10),jo(18,"button",11),$o("click",(function(){return e.onLogOut()})),Sa(19),Kc(20,"translate"),Yo(),Yo(),Yo(),Yo()),2&t){const t=Io(17);Oo("ngStyle",Oc(18,GR,e.bgColor)),Ds(2),Oo("ngStyle",Oc(20,$R,e.iconColor)),Ds(3),Oo("innerHTML",e.logo,cs),Ds(2),Oo("ngStyle",Oc(22,$R,e.textColor)),Ds(1),Ma(Uc(9,14,"HEADER.TITLE")),Ds(2),Oo("ngStyle",Oc(24,$R,e.textColor)),Ds(1),Oo("matMenuTriggerFor",t),Ds(1),Oo("ngStyle",Oc(26,$R,e.iconColor)),Ds(3),Ra(" ",e.principal.user.titleBefore," ",e.principal.user.firstName," ",e.principal.user.middleName," ",e.principal.user.lastName," ",e.principal.user.titleAfter," "),Ds(4),Ma(Uc(20,16,"HEADER.LOGOUT"))}},directives:[vR,bh,UT,hC,Rm,Dm,qR,YR,IR],pipes:[HT],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between}#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})();const ZR=["*"];function QR(t,e){if(1&t){const t=Vo();jo(0,"div",2),$o("click",(function(){return ai(t),ta()._onBackdropClicked()})),Yo()}2&t&&pa("mat-drawer-shown",ta()._isShowingBackdrop())}function XR(t,e){1&t&&(jo(0,"mat-drawer-content"),na(1,2),Yo())}const tx=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ex=["mat-drawer","mat-drawer-content","*"];function ix(t,e){if(1&t){const t=Vo();jo(0,"div",2),$o("click",(function(){return ai(t),ta()._onBackdropClicked()})),Yo()}2&t&&pa("mat-drawer-shown",ta()._isShowingBackdrop())}function nx(t,e){1&t&&(jo(0,"mat-sidenav-content",3),na(1,2),Yo())}const sx=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],rx=["mat-sidenav","mat-sidenav-content","*"],ox=".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",ax={transformDrawer:nb("transform",[cb("open, open-instant",ab({transform:"none",visibility:"visible"})),cb("void",ab({"box-shadow":"none",visibility:"hidden"})),lb("void => open-instant",sb("0ms")),lb("void <=> open, open-instant => void",sb("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function cx(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const ux=new Ot("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),lx=new Ot("MAT_DRAWER_CONTAINER");let hx=(()=>{class t extends uy{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)(Fo(Zr),Fo(kt(()=>fx)),Fo(qa),Fo(cy),Fo(Hu))},t.\u0275cmp=pe({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:[wo],ngContentSelectors:ZR,decls:1,vars:0,template:function(t,e){1&t&&(ia(),na(0))},encapsulation:2,changeDetection:0}),t})(),dx=(()=>{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 Wc(!0),this._destroyed=new k,this.onPositionChanged=new Wc,this._modeChanged=new k,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{s_(this._elementRef.nativeElement,"keydown").pipe(dd(t=>t.keyCode===Sy&&!this.disableClose&&!zy(t)),x_(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(v_((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=Qm(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Qm(t)}get opened(){return this._opened}set opened(t){this.toggle(Qm(t))}get _openedStream(){return this.openedChange.pipe(dd(t=>t),I(()=>{}))}get openedStart(){return this._animationStarted.pipe(dd(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),I(()=>{}))}get _closedStream(){return this.openedChange.pipe(dd(t=>!t),I(()=>{}))}get closedStart(){return this._animationStarted.pipe(dd(t=>t.fromState!==t.toState&&"void"===t.toState),I(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}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)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Wf(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){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)(Fo(qa),Fo(Hw),Fo(Vw),Fo(W_),Fo(Hu),Fo(pl,8),Fo(lx,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&Jo("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(Po("align",null),La("@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",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:ZR,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(ia(),jo(0,"div",0),na(1),Yo())},encapsulation:2,data:{animation:[ax.transformDrawer]},changeDetection:0}),t})(),fx=(()=>{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 $c,this.backdropClick=new Wc,this._destroyed=new k,this._doCheckSubject=new k,this._contentMargins={left:null,right:null},this._contentMarginChanges=new k,t&&t.change.pipe(x_(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(x_(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=Qm(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:Qm(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Zf(this._allDrawers),x_(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Zf(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._doCheckSubject.pipe(gw(10),x_(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._width;else if("push"==this._left.mode){const i=this._left._width;t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;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(dd(t=>t.fromState!==t.toState),x_(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(x_(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(x_(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Wf(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(x_(q(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?(null!=this._end&&cx("end"),this._end=t):(null!=this._start&&cx("start"),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._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_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)(Fo(sy,8),Fo(qa),Fo(Hu),Fo(Zr),Fo(ly),Fo(ux),Fo(BA,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,hx,!0),cu(i,dx,!0)),2&t&&(su(n=hu())&&(e._content=n.first),su(n=hu())&&(e._allDrawers=n))},viewQuery:function(t,e){var i;1&t&&ou(hx,!0),2&t&&su(i=hu())&&(e._userContent=i.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:[Ya([{provide:lx,useExisting:t}])],ngContentSelectors:ex,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&&(ia(tx),zo(0,QR,1,2,"div",0),na(1),na(2,1),zo(3,XR,2,0,"mat-drawer-content",1)),2&t&&(Oo("ngIf",e.hasBackdrop),Ds(3),Oo("ngIf",!e._content))},directives:[fh,hx],styles:[ox],encapsulation:2,changeDetection:0}),t})(),px=(()=>{class t extends hx{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(Fo(Zr),Fo(kt(()=>_x)),Fo(qa),Fo(cy),Fo(Hu))},t.\u0275cmp=pe({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:[wo],ngContentSelectors:ZR,decls:1,vars:0,template:function(t,e){1&t&&(ia(),na(0))},encapsulation:2,changeDetection:0}),t})(),gx=(()=>{class t extends dx{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Qm(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Xm(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Xm(t)}}return t.\u0275fac=function(e){return mx(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(Po("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:[wo],ngContentSelectors:ZR,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(ia(),jo(0,"div",0),na(1),Yo())},encapsulation:2,data:{animation:[ax.transformDrawer]},changeDetection:0}),t})();const mx=vn(gx);let _x=(()=>{class t extends fx{}return t.\u0275fac=function(e){return yx(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,px,!0),cu(i,gx,!0)),2&t&&(su(n=hu())&&(e._content=n.first),su(n=hu())&&(e._allDrawers=n))},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:[Ya([{provide:lx,useExisting:t}]),wo],ngContentSelectors:rx,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&&(ia(sx),zo(0,ix,1,2,"div",0),na(1),na(2,1),zo(3,nx,2,0,"mat-sidenav-content",1)),2&t&&(Oo("ngIf",e.hasBackdrop),Ds(3),Oo("ngIf",!e._content))},directives:[fh,px,uy],styles:[ox],encapsulation:2,changeDetection:0}),t})();const yx=vn(_x);let wx=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,JA,G_,hy],hy,JA]}),t})(),bx=(()=>{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)($t(vf))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vx=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA],JA]}),t})();const Ax=["*"],kx='.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;position:relative}.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;width:100%;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;position:relative}.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;width:100%;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-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',Tx=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Cx=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class Sx{}const Mx=ZA(XA(Sx));class Ex{}const Dx=XA(Ex);let Rx=(()=>{class t extends Mx{constructor(){super(...arguments),this._stateChanges=new k}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return xx(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[wo,Ie],ngContentSelectors:Ax,decls:1,vars:0,template:function(t,e){1&t&&(ia(),na(0))},styles:[kx],encapsulation:2,changeDetection:0}),t})();const xx=vn(Rx);let Px=(()=>{class t extends Mx{constructor(t){super(),this._elementRef=t,this._stateChanges=new k,"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)(Fo(qa))},t.\u0275cmp=pe({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[wo,Ie],ngContentSelectors:Ax,decls:1,vars:0,template:function(t,e){1&t&&(ia(),na(0))},styles:[kx],encapsulation:2,changeDetection:0}),t})(),Lx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),zx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),Ix=(()=>{class t extends Dx{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(x_(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Qm(t)}ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe(Zf(t)).subscribe(({length:t})=>{yk(e,i+"-2-line",!1),yk(e,i+"-3-line",!1),yk(e,i+"-multi-line",!1),2===t||3===t?yk(e,`${i}-${t}-line`,!0):t>3&&yk(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)(Fo(qa),Fo(Zr),Fo(Rx,8),Fo(Px,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,Lx,!0),cu(i,zx,!0),cu(i,_k,!0)),2&t&&(su(n=hu())&&(e._avatar=n.first),su(n=hu())&&(e._icon=n.first),su(n=hu())&&(e._lines=n))},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:[wo],ngContentSelectors:Cx,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&&(ia(Tx),jo(0,"div",0),No(1,"div",1),na(2),jo(3,"div",2),na(4,1),Yo(),na(5,2),Yo()),2&t&&(Ds(1),Oo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[Mk],encapsulation:2,changeDetection:0}),t})(),Fx=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[wk,Ek,JA,Rk,Dh],wk,JA,Rk,vx]}),t})();function Hx(t,e){1&t&&No(0,"mat-icon",5),2&t&&Oo("svgIcon",ta().$implicit.icon)}const Ox=function(t){return{color:t}};function Bx(t,e){if(1&t&&(jo(0,"mat-icon",6),Sa(1),Yo()),2&t){const t=ta().$implicit,e=ta();Oo("ngStyle",Oc(2,Ox,e.iconColor)),Ds(1),Ma(t.icon)}}function jx(t,e){if(1&t){const t=Vo();jo(0,"mat-list-item",1),$o("click",(function(){return ai(t),ta().shouldHideMenu()})),zo(1,Hx,1,1,"mat-icon",2),zo(2,Bx,2,4,"mat-icon",3),jo(3,"span",4),Sa(4),Kc(5,"translate"),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ta();pa("activated",i.isActive(t.activatedRegex)),sa("routerLink",t.link),Oo("ngStyle",Oc(9,Ox,i.textColor)),Ds(1),Oo("ngIf",t.isSVG),Ds(1),Oo("ngIf",!t.isSVG),Ds(2),Ma(Uc(5,7,t.label))}}let Yx=(()=>{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 fp&&(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)(Fo(bx),Fo(Zm),Fo(Em))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[["disableRipple","",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",3,"ngStyle","routerLink","click"],[3,"svgIcon",4,"ngIf"],[3,"ngStyle",4,"ngIf"],[1,"nav-caption"],[3,"svgIcon"],[3,"ngStyle"]],template:function(t,e){1&t&&(jo(0,"mat-nav-list"),zo(1,jx,6,11,"mat-list-item",0),Yo()),2&t&&(Ds(1),Oo("ngForOf",e.items))},directives:[Rx,hh,Ix,bh,Dm,fh,hC],pipes:[HT],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}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 Nx(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let Kx=(()=>{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: "+WD.a}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Fo($k),Fo(FT),Fo(pC),Fo(cf),Fo(Zm))},t.\u0275cmp=pe({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),Sa(1),Kc(2,"translate"),Yo(),jo(3,"div",1),jo(4,"mat-form-field"),jo(5,"mat-label"),Sa(6),Kc(7,"translate"),Yo(),jo(8,"input",2,3),$o("ngModelChange",(function(t){return e.subject=t})),Yo(),zo(10,Nx,3,3,"mat-error",4),Yo(),jo(11,"mat-form-field"),jo(12,"mat-label"),Sa(13),Kc(14,"translate"),Yo(),jo(15,"textarea",5),$o("ngModelChange",(function(t){return e.message=t})),Kc(16,"translate"),Sa(17," "),Yo(),jo(18,"mat-hint"),Sa(19),Kc(20,"translate"),Yo(),Yo(),Yo(),jo(21,"div",6),jo(22,"div",7),jo(23,"button",8),$o("click",(function(){return e.close()})),Sa(24),Kc(25,"translate"),Yo(),jo(26,"button",9),$o("click",(function(){return e.sendBugReport()})),Sa(27),Kc(28,"translate"),Yo(),Yo(),Yo()),2&t){const t=Io(9);Ds(1),Ma(Uc(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),Ds(5),Ma(Uc(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),Ds(2),Oo("ngModel",e.subject),Ds(2),Oo("ngIf",t.invalid),Ds(3),Ma(Uc(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),Ds(2),sa("placeholder",Uc(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),Oo("ngModel",e.message),Ds(4),Ma(Uc(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),Ds(5),Ea(" ",Uc(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),Ds(2),Oo("disabled",t.invalid),Ds(1),Ea(" ",Uc(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[iT,nT,eM,VS,HE,cM,TE,pM,pE,fh,qS,sT,UT,jS],pipes:[HT],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function Ux(t,e){if(1&t&&(jo(0,"span"),jo(1,"a",13),Sa(2),Yo(),Sa(3,", "),Yo()),2&t){const t=e.$implicit;Ds(1),Oo("href",t.webpage,us),Ds(1),Ea(" ",t.name,"")}}const qx=function(t){return{background:t}},Vx=function(t){return{color:t}};let Wx=(()=>{class t{constructor(t,e,i){this.storeService=t,this.dialog=e,this.store=i,this.perunwebpage="",this.perunTeamWebpage="",this.privacyPolicy="",this.userDocumentationWebpage="",this.administratorDocumentationWebpage="",this.supportMail="",this.version="",this.copyright=[],this.backgroundColor=this.store.get("theme","footer_bg_color"),this.footerCopyrightTextColor=this.store.get("theme","footer_copyright_text_color"),this.linksTextColor=this.store.get("theme","footer_links_text_color"),this.footerHeadersTextColor=this.store.get("theme","footer_headers_text_color"),this.githubRepository=this.storeService.get("footer_github_releases"),this.currentYear=(new Date).getFullYear()}ngOnInit(){this.perunwebpage=this.storeService.get("footer_perun_web_web"),this.perunTeamWebpage=this.storeService.get("footer_perun_team_web"),this.privacyPolicy=this.storeService.get("footer_privacy_policy_web"),this.userDocumentationWebpage=this.storeService.get("footer_users_documentation_web"),this.administratorDocumentationWebpage=this.storeService.get("footer_administrator_documentation"),this.supportMail=this.storeService.get("footer_support_mail"),this.version=WD.a,this.copyright=this.storeService.get("footer_copyright")}openBugReportDialog(){const t=uT();t.width="550px",this.dialog.open(Kx,t)}}return t.\u0275fac=function(e){return new(e||t)(Fo(Zm),Fo(tT),Fo(Zm))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-footer"]],decls:53,vars:73,consts:[[1,"font-small",3,"ngStyle"],[1,"container-fluid","text-center","text-md-left","pr-xl-5","pl-xl-5"],[1,"row"],[1,"col-md-4","mx-auto","footer-col"],[1,"text-uppercase","font-weight-bold",3,"ngStyle"],[1,"list-unstyled"],["target","_blank",3,"href","ngStyle"],["id","clickable",3,"ngStyle","click"],[3,"ngStyle"],[1,"material-icons","align-bottom"],[1,"my-0"],["id","copyright",1,"footer-copyright","text-center","py-2",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"]],template:function(t,e){1&t&&(jo(0,"footer",0),jo(1,"div",1),jo(2,"div",2),jo(3,"div",3),jo(4,"h6",4),Sa(5),Kc(6,"translate"),Yo(),jo(7,"ul",5),jo(8,"li"),jo(9,"a",6),Sa(10),Kc(11,"translate"),Yo(),Yo(),jo(12,"li"),jo(13,"a",6),Sa(14),Kc(15,"translate"),Yo(),Yo(),jo(16,"li"),jo(17,"a",6),Sa(18),Kc(19,"translate"),Yo(),Yo(),Yo(),Yo(),jo(20,"div",3),jo(21,"h6",4),Sa(22),Kc(23,"translate"),Yo(),jo(24,"ul",5),jo(25,"li"),jo(26,"a",6),Sa(27),Kc(28,"translate"),Yo(),Yo(),jo(29,"li"),jo(30,"a",6),Sa(31),Kc(32,"translate"),Yo(),Yo(),jo(33,"li"),jo(34,"span",7),$o("click",(function(){return e.openBugReportDialog()})),Sa(35),Kc(36,"translate"),Yo(),Yo(),Yo(),Yo(),jo(37,"div",3),jo(38,"h6",4),Sa(39),Kc(40,"translate"),Yo(),jo(41,"ul",5),jo(42,"li",8),jo(43,"i",9),Sa(44," mail "),Yo(),Sa(45),Yo(),Yo(),Yo(),Yo(),Yo(),No(46,"hr",10),jo(47,"div",11),Sa(48),zo(49,Ux,4,2,"span",12),Sa(50," Version "),jo(51,"a",13),Sa(52),Yo(),Yo(),Yo()),2&t&&(Oo("ngStyle",Oc(49,qx,e.backgroundColor)),Ds(4),Oo("ngStyle",Oc(51,Vx,e.footerHeadersTextColor)),Ds(1),Ea(" ",Uc(6,31,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.ABOUT_PERUN")," "),Ds(4),Oo("href",e.perunwebpage,us)("ngStyle",Oc(53,Vx,e.linksTextColor)),Ds(1),Ma(Uc(11,33,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.PERUN_WEB")),Ds(3),Oo("href",e.perunTeamWebpage,us)("ngStyle",Oc(55,Vx,e.linksTextColor)),Ds(1),Ma(Uc(15,35,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.PERUN_TEAM")),Ds(3),Oo("href",e.privacyPolicy,us)("ngStyle",Oc(57,Vx,e.linksTextColor)),Ds(1),Ma(Uc(19,37,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.PRIVACY_POLICY")),Ds(3),Oo("ngStyle",Oc(59,Vx,e.footerHeadersTextColor)),Ds(1),Ea(" ",Uc(23,39,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.HELP")," "),Ds(4),Oo("href",e.userDocumentationWebpage,us)("ngStyle",Oc(61,Vx,e.linksTextColor)),Ds(1),Ma(Uc(28,41,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.USER_DOCUMENTATION")),Ds(3),Oo("href",e.administratorDocumentationWebpage,us)("ngStyle",Oc(63,Vx,e.linksTextColor)),Ds(1),Ma(Uc(32,43,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.ADMINISTRATOR_DOCUMENTATION")),Ds(3),Oo("ngStyle",Oc(65,Vx,e.linksTextColor)),Ds(1),Ma(Uc(36,45,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.REPORT_ISSUE")),Ds(3),Oo("ngStyle",Oc(67,Vx,e.footerHeadersTextColor)),Ds(1),Ea(" ",Uc(40,47,"SHARED_LIB.PERUN.COMPONENTS.FOOTER.SUPPORT")," "),Ds(3),Oo("ngStyle",Oc(69,Vx,e.linksTextColor)),Ds(3),Ea(" ",e.supportMail," "),Ds(2),Oo("ngStyle",Oc(71,Vx,e.footerCopyrightTextColor)),Ds(1),Ea(" \xa9 ",e.currentYear," Copyright: "),Ds(1),Oo("ngForOf",e.copyright),Ds(2),Oo("href",e.githubRepository,us),Ds(1),Ma(e.version))},directives:[bh,hh],pipes:[HT],styles:["footer[_ngcontent-%COMP%]{height:100%}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap}a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}li[_ngcontent-%COMP%]{color:#e0e0e0}#clickable[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const Gx=function(t){return{padding:t}},$x=function(){return{height:"56px"}};function Jx(t,e){if(1&t&&(jo(0,"div",9),No(1,"div",10),Yo()),2&t){const t=ta();Oo("ngStyle",Oc(3,Gx,t.logoPadding)),Ds(1),Oo("innerHTML",t.logo,cs)("ngStyle",Hc(5,$x))}}function Zx(t,e){if(1&t&&(jo(0,"div",11),No(1,"div",12),No(2,"mat-icon",13),Yo()),2&t){const t=ta();Ds(1),Oo("innerHTML",t.logo,cs)}}function Qx(t,e){if(1&t&&(jo(0,"div"),No(1,"a",14),Yo()),2&t){const t=ta();Ds(1),Oo("innerHTML",t.logo,cs)}}const Xx=function(t){return{color:t}};function tP(t,e){if(1&t&&(jo(0,"p",15),Sa(1),Yo()),2&t){const t=ta();Oo("ngStyle",Oc(2,Xx,t.textColor)),Ds(1),Ea(" ",t.headerTitle," ")}}const eP=function(t){return{background:t}},iP=function(t,e){return{"min-height":t,"background-color":e}};let nP=(()=>{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",this.headerColorConfigLabel),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)(Fo(Zm),Fo(sd))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerColorConfigLabel:"headerColorConfigLabel",headerTitle:"headerTitle"},decls:11,vars:11,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],[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"],[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),zo(1,Jx,2,6,"div",1),zo(2,Zx,3,1,"div",2),zo(3,Qx,2,1,"div",3),zo(4,tP,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",Oc(6,eP,e.headerBackgroundColor)),Ds(1),Oo("ngIf","admin-gui"===e.application),Ds(1),Oo("ngIf","publications"===e.application),Ds(1),Oo("ngIf","user-profile"===e.application),Ds(1),Oo("ngIf",!!e.headerTitle),Ds(2),Oo("ngStyle",Bc(8,iP,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[bh,fh,Pm,Wx,hC],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;height:200px;bottom:0;width:100%}@media (max-width:768px){#footer[_ngcontent-%COMP%]{height:450px}}#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 sP=function(t){return{background:t}},rP=function(t){return{"min-height":t}};function oP(t,e){if(1&t&&(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,"div",7),No(10,"perun-web-apps-footer"),Yo(),Yo(),Yo(),Yo()),2&t){const t=Io(4),e=ta();Ds(1),Oo("sideNav",t),Ds(2),Oo("mode",e.sidebarMode)("ngStyle",Oc(7,sP,e.sideMenuBgColor))("opened",!e.isMobile()),Ds(2),Oo("sideNav",t),Ds(1),Oo("ngStyle",Oc(9,sP,e.contentBackgroundColor)),Ds(1),Oo("ngStyle",Oc(11,rP,e.getContentHeight()))}}function aP(t,e){1&t&&(jo(0,"div"),No(1,"perun-web-apps-login-screen-base",8),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Oo("headerColorConfigLabel","header_bg_color")("application","publications")("headerTitle",Uc(2,3,"HEADER.TITLE")))}let cP=(()=>{class t{constructor(t,e){this.store=t,this.initAuth=e,this.sidebarMode="side",this.footerHeight=200,this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color")}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=t.minWidth}getContentHeight(){return"calc(100vh - 84px - "+this.footerHeight+"px)"}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(Fo(Zm),Fo(JT))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-root"]],hostBindings:function(t,e){1&t&&$o("resize",(function(t){return e.getScreenSize(t)}),!1,tn)},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"],["id","footer"],[3,"headerColorConfigLabel","application","headerTitle"]],template:function(t,e){1&t&&(No(0,"perun-web-apps-notificator"),zo(1,oP,11,13,"div",0),zo(2,aP,3,5,"div",0)),2&t&&(Ds(1),Oo("ngIf",!e.isLoginScreenShow),Ds(1),Oo("ngIf",e.isLoginScreenShow))},directives:[gR,fh,JR,_x,gx,bh,Yx,px,Pm,Wx,nP],pipes:[HT],styles:["#footer[_ngcontent-%COMP%]{position:relative;height:200px;bottom:0;width:100%}@media (max-width:768px){#footer[_ngcontent-%COMP%]{height:450px}}#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 - 64px)}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}"]}),t})();class uP{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 lP=(()=>{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,[hP(tinycolor(n).lighten(52),"50"),hP(tinycolor(n).lighten(37),"100"),hP(tinycolor(n).lighten(26),"200"),hP(tinycolor(n).lighten(12),"300"),hP(tinycolor(n).lighten(6),"400"),hP(tinycolor(n),"500"),hP(tinycolor(n).darken(6),"600"),hP(tinycolor(n).darken(12),"700"),hP(tinycolor(n).darken(18),"800"),hP(tinycolor(n).darken(24),"900"),hP(tinycolor(n).lighten(50).saturate(30),"A100"),hP(tinycolor(n).lighten(30).saturate(30),"A200"),hP(tinycolor(n).lighten(10).saturate(15),"A400"),hP(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,e)=>{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 _d({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}}return t.\u0275fac=function(e){return new(e||t)($t(xd),$t(Zm))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function hP(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 dP=(()=>{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_active_color",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)($t(JT),$t(lP),$t(Zm),$t(Dl),$t(Qd),$t(vf))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const fP=new Ot("perun-api-service"),pP=["*",[["mat-card-footer"]]],gP=["*","mat-card-footer"];let mP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),_P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),yP=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(BA,8))},t.\u0275cmp=pe({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:gP,decls:2,vars:0,template:function(t,e){1&t&&(ia(pP),na(0),na(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 .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-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})(),wP=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[JA],JA]}),t})();const bP=["input"],vP=function(){return{enterDuration:150}},AP=["*"],kP=new Ot("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),TP=new Ot("mat-checkbox-click-action");let CP=0;const SP={provide:nM,useExisting:kt(()=>RP),multi:!0};class MP{}class EP{constructor(t){this._elementRef=t}}const DP=tk(QA(XA(ZA(EP))));let RP=(()=>{class t extends DP{constructor(t,e,i,n,s,r,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._clickAction=r,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++CP,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new Wc,this.indeterminateChange=new Wc,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(s)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Qm(t)}ngAfterViewInit(){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=Qm(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=Qm(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 MP;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,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)(Fo(qa),Fo(Zr),Fo(Vw),Fo(Hu),Ho("tabindex"),Fo(TP,8),Fo(BA,8),Fo(kP,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var i;1&t&&(ou(bP,!0),ou(Mk,!0)),2&t&&(su(i=hu())&&(e._inputElement=i.first),su(i=hu())&&(e.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(Pa("id",e.id),Po("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",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ya([SP]),wo],ngContentSelectors:AP,decls:17,vars:19,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&&(ia(),jo(0,"label",0,1),jo(2,"div",2),jo(3,"input",3,4),$o("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),Yo(),jo(5,"div",5),No(6,"div",6),Yo(),No(7,"div",7),jo(8,"div",8),Li(),jo(9,"svg",9),No(10,"path",10),Yo(),zi(),No(11,"div",11),Yo(),Yo(),jo(12,"span",12,13),$o("cdkObserveContent",(function(){return e._onLabelTextChange()})),jo(14,"span",14),Sa(15,"\xa0"),Yo(),na(16),Yo(),Yo()),2&t){const t=Io(1),i=Io(13);Po("for",e.inputId),Ds(2),pa("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),Ds(1),Oo("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),Po("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),Ds(2),Oo("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Hc(18,vP))}},directives:[Mk,vw],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{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-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.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.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)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{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%}.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}\n"],encapsulation:2,changeDetection:0}),t})(),xP=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})(),PP=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Ek,JA,Aw,xP],JA,xP]}),t})(),LP=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)}}),t})(),zP=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,LP,Ty]]}),t})(),IP=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[wk,JA],wk,JA]}),t})();function FP(t,e){1&t&&na(0)}const HP=["*"];let OP=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),BP=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),jP=0;const YP="edit",NP="done",KP="error",UP=new Ot("STEPPER_GLOBAL_OPTIONS");let qP=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,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=Qm(t)}get optional(){return this._optional}set optional(t){this._optional=Qm(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=Qm(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=Qm(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()}}return t.\u0275fac=function(e){return new(e||t)(Fo(kt(()=>VP)),Fo(UP,8))},t.\u0275cmp=pe({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){var n;1&t&&cu(i,BP,!0),2&t&&su(n=hu())&&(e.stepLabel=n.first)},viewQuery:function(t,e){var i;1&t&&ru(gc,!0),2&t&&su(i=hu())&&(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"},exportAs:["cdkStep"],features:[Ie],ngContentSelectors:HP,decls:1,vars:0,template:function(t,e){1&t&&(ia(),zo(0,FP,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),VP=(()=>{class t{constructor(t,e,i,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=i,this._destroyed=new k,this._linear=!1,this._selectedIndex=0,this.selectionChange=new Wc,this._orientation="horizontal",this._groupId=jP++,this._document=n}get steps(){return this._steps}get linear(){return this._linear}set linear(t){this._linear=Qm(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=Xm(t);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)}else this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}ngAfterViewInit(){this._keyManager=new Pw(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:ld()).pipe(Zf(this._layoutDirection()),x_(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.pipe(x_(this._destroyed)).subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))})}ngOnDestroy(){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?KP:!t.completed||e?"number":t.editable?YP:NP}_getGuidelineLogic(t,e,i="number"){return t._showError&&t.hasError&&!e?KP:t.completed&&!e?NP:t.completed&&e?i:t.editable&&e?YP: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=zy(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==My&&i!==Cy?i===Dy?(n.setFirstItemActive(),t.preventDefault()):i===Ey?(n.setLastItemActive(),t.preventDefault()):n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){const e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&t>=0)&&e.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(){if(!this._document||!this._elementRef)return!1;const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(Fo(sy,8),Fo(Zr),Fo(qa),Fo(pl))},t.\u0275dir=be({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,qP,!0),cu(i,OP,!0)),2&t&&(su(n=hu())&&(e._steps=n),su(n=hu())&&(e._stepHeader=n))},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),t})(),WP=(()=>{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(Fo(VP))},t.\u0275dir=be({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&$o("click",(function(){return e._handleClick()})),2&t&&Pa("type",e.type)},inputs:{type:"type"}}),t})(),GP=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(Fo(VP))},t.\u0275dir=be({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&$o("click",(function(){return e._handleClick()})),2&t&&Pa("type",e.type)},inputs:{type:"type"}}),t})(),$P=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[ry]]}),t})();function JP(t,e){if(1&t&&qo(0,9),2&t){const t=ta();Oo("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function ZP(t,e){if(1&t&&(jo(0,"span"),Sa(1),Yo()),2&t){const t=ta(2);Ds(1),Ma(t._getDefaultTextForState(t.state))}}function QP(t,e){if(1&t&&(jo(0,"mat-icon"),Sa(1),Yo()),2&t){const t=ta(2);Ds(1),Ma(t._getDefaultTextForState(t.state))}}function XP(t,e){1&t&&(Ko(0,10),zo(1,ZP,2,1,"span",11),zo(2,QP,2,1,"mat-icon",12),Uo()),2&t&&(Oo("ngSwitch",ta().state),Ds(1),Oo("ngSwitchCase","number"))}function tL(t,e){1&t&&qo(0,13),2&t&&Oo("ngTemplateOutlet",ta()._templateLabel().template)}function eL(t,e){if(1&t&&(jo(0,"div",14),Sa(1),Yo()),2&t){const t=ta();Ds(1),Ma(t.label)}}function iL(t,e){if(1&t&&(jo(0,"div",15),Sa(1),Yo()),2&t){const t=ta();Ds(1),Ma(t._intl.optionalLabel)}}function nL(t,e){if(1&t&&(jo(0,"div",16),Sa(1),Yo()),2&t){const t=ta();Ds(1),Ma(t.errorMessage)}}function sL(t,e){1&t&&na(0)}const rL=["*"];function oL(t,e){1&t&&No(0,"div",6)}function aL(t,e){if(1&t){const t=Vo();Ko(0),jo(1,"mat-step-header",4),$o("click",(function(){return e.$implicit.select()}))("keydown",(function(e){return ai(t),ta()._onKeydown(e)})),Yo(),zo(2,oL,1,0,"div",5),Uo()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,s=ta();Ds(1),Oo("tabIndex",s._getFocusIndex()===i?0:-1)("id",s._getStepLabelId(i))("index",i)("state",s._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",s.selectedIndex===i)("active",t.completed||s.selectedIndex===i||!s.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple),Po("aria-posinset",i+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(i))("aria-selected",s.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),Ds(1),Oo("ngIf",!n)}}function cL(t,e){if(1&t){const t=Vo();jo(0,"div",7),$o("@stepTransition.done",(function(e){return ai(t),ta()._animationDone.next(e)})),qo(1,8),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ta();Oo("@stepTransition",n._getAnimationDirection(i))("id",n._getStepContentId(i)),Po("tabindex",n.selectedIndex===i?0:null)("aria-labelledby",n._getStepLabelId(i))("aria-expanded",n.selectedIndex===i),Ds(1),Oo("ngTemplateOutlet",t.content)}}let uL=(()=>{class t extends BP{}return t.\u0275fac=function(e){return lL(e||t)},t.\u0275dir=be({type:t,selectors:[["","matStepLabel",""]],features:[wo]}),t})();const lL=vn(uL);let hL=(()=>{class t{constructor(){this.changes=new k,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const dL={provide:hL,deps:[[new st,new ot,hL]],useFactory:function(t){return t||new hL}};let fL=(()=>{class t extends OP{constructor(t,e,i,n){super(i),this._intl=t,this._focusMonitor=e,e.monitor(i,!0),this._intlSubscription=t.changes.subscribe(()=>n.markForCheck())}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(){this._focusMonitor.focusVia(this._elementRef,"program")}_stringLabel(){return this.label instanceof uL?null:this.label}_templateLabel(){return this.label instanceof uL?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)(Fo(hL),Fo(Vw),Fo(qa),Fo(Zr))},t.\u0275cmp=pe({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header","mat-focus-indicator"],inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[wo],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],[3,"ngTemplateOutlet",4,"ngIf"],["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"],[3,"ngTemplateOutlet"],[1,"mat-step-text-label"],[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),zo(3,JP,1,2,"ng-container",2),zo(4,XP,3,2,"ng-container",3),Yo(),Yo(),jo(5,"div",4),zo(6,tL,1,1,"ng-container",5),zo(7,eL,2,1,"div",6),zo(8,iL,2,1,"div",7),zo(9,nL,2,1,"div",8),Yo()),2&t&&(Oo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),Ds(1),xa("mat-step-icon-state-",e.state," mat-step-icon"),pa("mat-step-icon-selected",e.selected),Ds(1),Oo("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),Ds(1),Oo("ngSwitchCase",!0),Ds(2),pa("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),Ds(1),Oo("ngIf",e._templateLabel()),Ds(1),Oo("ngIf",e._stringLabel()),Ds(1),Oo("ngIf",e.optional&&"error"!=e.state),Ds(1),Oo("ngIf","error"==e.state))},directives:[Mk,_h,yh,wh,fh,vh,hC],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 pL={horizontalStepTransition:nb("stepTransition",[cb("previous",ab({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),cb("current",ab({transform:"none",visibility:"visible"})),cb("next",ab({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),lb("* => *",sb("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:nb("stepTransition",[cb("previous",ab({height:"0px",visibility:"hidden"})),cb("next",ab({height:"0px",visibility:"hidden"})),cb("current",ab({height:"*",visibility:"visible"})),lb("* <=> current",sb("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let gL=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),mL=(()=>{class t extends qP{constructor(t,e,i){super(t,i),this._errorStateMatcher=e}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(Fo(kt(()=>_L)),Fo(mk,4),Fo(UP,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){var n;1&t&&cu(i,uL,!0),2&t&&su(n=hu())&&(e.stepLabel=n.first)},exportAs:["matStep"],features:[Ya([{provide:mk,useExisting:t},{provide:qP,useExisting:t}]),wo],ngContentSelectors:rL,decls:1,vars:0,template:function(t,e){1&t&&(ia(),zo(0,sL,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),_L=(()=>{class t extends VP{constructor(){super(...arguments),this.animationDone=new Wc,this._iconOverrides={},this._animationDone=new k}ngAfterContentInit(){this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this._steps.changes.pipe(x_(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(v_((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),x_(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return yL(e||t)},t.\u0275dir=be({type:t,selectors:[["","matStepper",""]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,mL,!0),cu(i,gL,!0)),2&t&&(su(n=hu())&&(e._steps=n),su(n=hu())&&(e._icons=n))},viewQuery:function(t,e){var i;1&t&&ou(fL,!0),2&t&&su(i=hu())&&(e._stepHeader=i)},inputs:{disableRipple:"disableRipple"},outputs:{animationDone:"animationDone"},features:[Ya([{provide:VP,useExisting:t}]),wo]}),t})();const yL=vn(_L);let wL=(()=>{class t extends _L{constructor(){super(...arguments),this.labelPosition="end"}}return t.\u0275fac=function(e){return bL(e||t)},t.\u0275cmp=pe({type:t,selectors:[["mat-horizontal-stepper"]],hostAttrs:["aria-orientation","horizontal","role","tablist",1,"mat-stepper-horizontal"],hostVars:4,hostBindings:function(t,e){2&t&&pa("mat-stepper-label-position-end","end"==e.labelPosition)("mat-stepper-label-position-bottom","bottom"==e.labelPosition)},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition"},exportAs:["matHorizontalStepper"],features:[Ya([{provide:_L,useExisting:t},{provide:VP,useExisting:t}]),wo],decls:4,vars:2,consts:[[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"],[1,"mat-horizontal-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","click","keydown"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(jo(0,"div",0),zo(1,aL,3,18,"ng-container",1),Yo(),jo(2,"div",2),zo(3,cL,2,6,"div",3),Yo()),2&t&&(Ds(1),Oo("ngForOf",e.steps),Ds(2),Oo("ngForOf",e.steps))},directives:[hh,fL,fh,vh],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;top:36px}.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;top:36px;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;padding:24px}.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;padding:24px;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;top:-16px;bottom:-16px;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:[pL.horizontalStepTransition]},changeDetection:0}),t})();const bL=vn(wL);let vL=(()=>{class t extends WP{}return t.\u0275fac=function(e){return AL(e||t)},t.\u0275dir=be({type:t,selectors:[["button","matStepperNext",""]],hostVars:1,hostBindings:function(t,e){2&t&&Pa("type",e.type)},inputs:{type:"type"},features:[wo]}),t})();const AL=vn(vL);let kL=(()=>{class t extends GP{}return t.\u0275fac=function(e){return TL(e||t)},t.\u0275dir=be({type:t,selectors:[["button","matStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){2&t&&Pa("type",e.type)},inputs:{type:"type"},features:[wo]}),t})();const TL=vn(kL);let CL=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[dL,mk],imports:[[JA,Dh,Ty,qT,$P,dC,Ek],JA]}),t})();const SL=["mat-sort-header",""];function ML(t,e){if(1&t){const t=Vo();jo(0,"div",3),$o("@arrowPosition.start",(function(){return ai(t),ta()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return ai(t),ta()._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=ta();Oo("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),Ds(2),Oo("@indicator",t._getArrowDirectionState()),Ds(1),Oo("@leftPointer",t._getArrowDirectionState()),Ds(1),Oo("@rightPointer",t._getArrowDirectionState())}}const EL=["*"];class DL{}const RL=ik(ZA(DL));let xL=(()=>{class t extends RL{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new k,this.start="asc",this._direction="",this.sortChange=new Wc}get direction(){return this._direction}set direction(t){if(Hn()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Qm(t)}register(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error(`Cannot have two MatSortables with the same id (${t.id}).`);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){if(!t)return"";let e=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),i=e.indexOf(this.direction)+1;return i>=e.length&&(i=0),e[i]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return PL(e||t)},t.\u0275dir=be({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:[wo,Ie]}),t})();const PL=vn(xL),LL=WA.ENTERING+" "+VA.STANDARD_CURVE,zL={indicator:nb("indicator",[cb("active-asc, asc",ab({transform:"translateY(0px)"})),cb("active-desc, desc",ab({transform:"translateY(10px)"})),lb("active-asc <=> active-desc",sb(LL))]),leftPointer:nb("leftPointer",[cb("active-asc, asc",ab({transform:"rotate(-45deg)"})),cb("active-desc, desc",ab({transform:"rotate(45deg)"})),lb("active-asc <=> active-desc",sb(LL))]),rightPointer:nb("rightPointer",[cb("active-asc, asc",ab({transform:"rotate(45deg)"})),cb("active-desc, desc",ab({transform:"rotate(-45deg)"})),lb("active-asc <=> active-desc",sb(LL))]),arrowOpacity:nb("arrowOpacity",[cb("desc-to-active, asc-to-active, active",ab({opacity:1})),cb("desc-to-hint, asc-to-hint, hint",ab({opacity:.54})),cb("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ab({opacity:0})),lb("* => asc, * => desc, * => active, * => hint, * => void",sb("0ms")),lb("* <=> *",sb(LL))]),arrowPosition:nb("arrowPosition",[lb("* => desc-to-hint, * => desc-to-active",sb(LL,ub([ab({transform:"translateY(-25%)"}),ab({transform:"translateY(0)"})]))),lb("* => hint-to-desc, * => active-to-desc",sb(LL,ub([ab({transform:"translateY(0)"}),ab({transform:"translateY(25%)"})]))),lb("* => asc-to-hint, * => asc-to-active",sb(LL,ub([ab({transform:"translateY(25%)"}),ab({transform:"translateY(0)"})]))),lb("* => hint-to-asc, * => active-to-asc",sb(LL,ub([ab({transform:"translateY(0)"}),ab({transform:"translateY(-25%)"})]))),cb("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ab({transform:"translateY(0)"})),cb("hint-to-desc, active-to-desc, desc",ab({transform:"translateY(-25%)"})),cb("hint-to-asc, active-to-asc, asc",ab({transform:"translateY(25%)"}))]),allowChildren:nb("allowChildren",[lb("* <=> *",[db("@*",hb(),{optional:!0})])])};let IL=(()=>{class t{constructor(){this.changes=new k,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const FL={provide:IL,deps:[[new st,new ot,IL]],useFactory:function(t){return t||new IL}};class HL{}const OL=ZA(HL);let BL=(()=>{class t extends OL{constructor(t,e,i,n,s,r){if(super(),this._intl=t,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=r,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",!i)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");this._rerenderSubscription=q(i.sortChange,i._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()}),s&&r&&s.monitor(r,!0).subscribe(t=>this._setIndicatorHintVisible(!!t))}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Qm(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)}ngOnDestroy(){this._focusMonitor&&this._elementRef&&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})}_handleClick(){if(this._isDisabled())return;this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_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":null}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(Fo(IL),Fo(Zr),Fo(xL,8),Fo("MAT_SORT_HEADER_COLUMN_DEF",8),Fo(Vw),Fo(qa))},t.\u0275cmp=pe({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&$o("click",(function(){return e._handleClick()}))("mouseenter",(function(){return e._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return e._setIndicatorHintVisible(!1)})),2&t&&(Po("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:[wo],attrs:SL,ngContentSelectors:EL,decls:4,vars:7,consts:[[1,"mat-sort-header-container"],["type","button",1,"mat-sort-header-button","mat-focus-indicator"],["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&&(ia(),jo(0,"div",0),jo(1,"button",1),na(2),Yo(),zo(3,ML,6,6,"div",2),Yo()),2&t&&(pa("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),Ds(1),Po("disabled",e._isDisabled()||null)("aria-label",e._intl.sortButtonLabel(e.id)),Ds(2),Oo("ngIf",e._renderArrow()))},directives:[fh],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor;position:relative}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-button,[mat-sort-header].cdk-program-focused .mat-sort-header-button{border-bottom:solid 1px currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.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:[zL.indicator,zL.leftPointer,zL.rightPointer,zL.arrowOpacity,zL.arrowPosition,zL.allowChildren]},changeDetection:0}),t})(),jL=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[FL],imports:[[Dh]]}),t})();const YL=["trigger"],NL=["panel"];function KL(t,e){if(1&t&&(jo(0,"span",8),Sa(1),Yo()),2&t){const t=ta();Ds(1),Ma(t.placeholder||"\xa0")}}function UL(t,e){if(1&t&&(jo(0,"span"),Sa(1),Yo()),2&t){const t=ta(2);Ds(1),Ma(t.triggerValue||"\xa0")}}function qL(t,e){1&t&&na(0,0,["*ngSwitchCase","true"])}function VL(t,e){1&t&&(jo(0,"span",9),zo(1,UL,2,1,"span",10),zo(2,qL,1,0,"ng-content",11),Yo()),2&t&&(Oo("ngSwitch",!!ta().customTrigger),Ds(2),Oo("ngSwitchCase",!0))}function WL(t,e){if(1&t){const t=Vo();jo(0,"div",12),jo(1,"div",13,14),$o("@transformPanel.done",(function(e){return ai(t),ta()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return ai(t),ta()._handleKeydown(e)})),na(3,1),Yo(),Yo()}if(2&t){const t=ta();Oo("@transformPanelWrap",void 0),Ds(1),xa("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"),Po("id",t.id+"-panel")}}const GL=[[["mat-select-trigger"]],"*"],$L=["mat-select-trigger","*"],JL={transformPanelWrap:nb("transformPanelWrap",[lb("* => void",db("@transformPanel",[hb()],{optional:!0}))]),transformPanel:nb("transformPanel",[cb("void",ab({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),cb("showing",ab({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),cb("showing-multiple",ab({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),lb("void => *",sb("120ms cubic-bezier(0, 0, 0.2, 1)")),lb("* => void",sb("100ms 25ms linear",ab({opacity:0})))])};let ZL=0;const QL=256,XL=new Ot("mat-select-scroll-strategy"),tz=new Ot("MAT_SELECT_CONFIG"),ez={provide:XL,deps:[cw],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class iz{constructor(t,e){this.source=t,this.value=e}}class nz{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const sz=XA(tk(ZA(ek(nz))));let rz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-select-trigger"]]}),t})(),oz=(()=>{class t extends sz{constructor(t,e,i,n,s,r,o,a,c,u,l,h,d,f){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._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+ZL++,this._destroy=new k,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new k,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=xf(()=>{const t=this.options;return t?t.changes.pipe(Zf(t),Uf(()=>q(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Wf(1),Uf(()=>this.optionSelectionChanges))}),this.openedChange=new Wc,this._openedStream=this.openedChange.pipe(dd(t=>t),I(()=>{})),this._closedStream=this.openedChange.pipe(dd(t=>!t),I(()=>{})),this.selectionChange=new Wc,this.valueChange=new Wc,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(l)||0,this.id=this.id,f&&(null!=f.disableOptionCentering&&(this.disableOptionCentering=f.disableOptionCentering),null!=f.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=f.typeaheadDebounceInterval))}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=Qm(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Qm(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Qm(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Xm(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ay(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(v_(),x_(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(x_(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(x_(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Zf(null),x_(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){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.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Wf(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(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===Ly||e===xy||e===Ry||e===Py,n=e===Cy||e===My,s=this._keyManager;if(!s.isTyping()&&n&&!zy(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;e===Dy||e===Ey?(e===Dy?s.setFirstItemActive():s.setLastItemActive(),t.preventDefault()):s.onKeydown(t);const n=this.selected;n&&i!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=i===Ly||i===xy,s=e.isTyping();if(i===Dy||i===Ey)t.preventDefault(),i===Dy?e.setFirstItemActive():e.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(s||i!==Cy&&i!==My||!e.activeItem||zy(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(Wf(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_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.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return Hn()&&console.warn(i),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new xw(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(x_(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(x_(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=q(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(x_(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),q(...this.options.map(t=>t._stateChanges)).pipe(x_(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_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(),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(new iz(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=jk(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=function(t,e,i,n){const s=t*e;return si+256?Math.max(0,s-256+e):i}(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,i,n)=>void 0!==e?e:t===i?n:void 0,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,QL),n=e*t-i;let s=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);s+=jk(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)}_calculateOverlayScroll(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_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{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(QL/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-QL)%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,QL)-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")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(Fo(ly),Fo(Zr),Fo(Hu),Fo(mk),Fo(qa),Fo(sy,8),Fo(hE,8),Fo(bE,8),Fo(tM,8),Fo(dM,10),Ho("tabindex"),Fo(XL),Fo(Yw),Fo(tz,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,rz,!0),cu(i,Bk,!0),cu(i,zk,!0)),2&t&&(su(n=hu())&&(e.customTrigger=n.first),su(n=hu())&&(e.options=n),su(n=hu())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(ou(YL,!0),ou(NL,!0),ou(dw,!0)),2&t&&(su(i=hu())&&(e.trigger=i.first),su(i=hu())&&(e.panel=i.first),su(i=hu())&&(e.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&$o("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(Po("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("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))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ya([{provide:NS,useExisting:t},{provide:Ok,useExisting:t}]),wo,Ie],ngContentSelectors:$L,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",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,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(ia(GL),jo(0,"div",0,1),$o("click",(function(){return e.toggle()})),jo(3,"div",2),zo(4,KL,2,1,"span",3),zo(5,VL,3,2,"span",4),Yo(),jo(6,"div",5),No(7,"div",6),Yo(),Yo(),zo(8,WL,4,11,"ng-template",7),$o("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){const t=Io(1);Ds(3),Oo("ngSwitch",e.empty),Ds(1),Oo("ngSwitchCase",!0),Ds(1),Oo("ngSwitchCase",!1),Ds(3),Oo("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[hw,_h,yh,dw,wh,uh],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}.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}\n"],encapsulation:2,data:{animation:[JL.transformPanelWrap,JL.transformPanel]},changeDetection:0}),t})(),az=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[ez],imports:[[Dh,pw,Yk,JA],hy,iM,Yk,JA]}),t})();class cz{constructor(t){this.total=t}call(t,e){return e.subscribe(new uz(t,this.total))}}class uz extends p{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const lz=new Set;let hz,dz=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fz}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!lz.has(t))try{hz||(hz=document.createElement("style"),hz.setAttribute("type","text/css"),document.head.appendChild(hz)),hz.sheet&&(hz.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),lz.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)($t(W_))},t.\u0275prov=lt({factory:function(){return new t($t(W_))},token:t,providedIn:"root"}),t})();function fz(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let pz=(()=>{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 gz(e_(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=Cf(gz(e_(t)).map(t=>this._registerQuery(t).observable));return e=Jf(e.pipe(Wf(1)),e.pipe(t=>t.lift(new cz(1)),gw(0))),e.pipe(I(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),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(Zf(e),I(e=>({query:t,matches:e.matches})),x_(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)($t(dz),$t(Hu))},t.\u0275prov=lt({factory:function(){return new t($t(dz),$t(Hu))},token:t,providedIn:"root"}),t})();function gz(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const mz={tooltipState:nb("state",[cb("initial, void, hidden",ab({opacity:0,transform:"scale(0)"})),cb("visible",ab({transform:"scale(1)"})),lb("* => visible",sb("200ms cubic-bezier(0, 0, 0.2, 1)",ub([ab({opacity:0,transform:"scale(0)",offset:0}),ab({opacity:.5,transform:"scale(0.99)",offset:.5}),ab({opacity:1,transform:"scale(1)",offset:1})]))),lb("* => hidden",sb("100ms cubic-bezier(0, 0, 0.2, 1)",ab({opacity:0})))])},_z=ty({passive:!0});function yz(t){return Error(`Tooltip position "${t}" is invalid.`)}const wz=new Ot("mat-tooltip-scroll-strategy"),bz={provide:wz,deps:[cw],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},vz=new Ot("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Az=(()=>{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.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new k,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===Sy&&!zy(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),a.monitor(e).pipe(x_(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&s.run(()=>this.show()):s.run(()=>this.hide(0))}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Qm(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}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(i,e,_z)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),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 gy(kz,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(x_(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(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(x_(this._destroyed)).subscribe(t=>{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:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(x_(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),i.main),Object.assign(Object.assign({},e.fallback),i.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e||"below"==e)i={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw yz(e);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;if("above"==e)i={overlayX:"center",overlayY:"bottom"};else if("below"==e)i={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw yz(e);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.asObservable().pipe(Wf(1),x_(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}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,_z)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==i&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}}return t.\u0275fac=function(e){return new(e||t)(Fo(cw),Fo(qa),Fo(cy),Fo(_c),Fo(Hu),Fo(W_),Fo(Dw),Fo(Vw),Fo(wz),Fo(sy,8),Fo(vz,8),Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),kz=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new k,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){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)(Fo(Zr),Fo(pz))},t.\u0275cmp=pe({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&$o("click",(function(){return e._handleBodyInteraction()}),!1,en),2&t&&fa("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var i;1&t&&(jo(0,"div",0),$o("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),Kc(1,"async"),Sa(2),Yo()),2&t&&(pa("mat-tooltip-handset",null==(i=Uc(1,5,e._isHandset))?null:i.matches),Oo("ngClass",e.tooltipClass)("@state",e._visibility),Ds(2),Ma(e.message))},directives:[uh],pipes:[Mh],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:[mz.tooltipState]},changeDetection:0}),t})(),Tz=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[bz],imports:[[Xw,Dh,pw,JA],JA,hy]}),t})();function Cz(t,e){if(1&t&&(jo(0,"mat-option",19),Sa(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),Ds(1),Ea(" ",t," ")}}function Sz(t,e){if(1&t){const t=Vo();jo(0,"mat-form-field",16),jo(1,"mat-select",17),$o("selectionChange",(function(e){return ai(t),ta(2)._changePageSize(e.value)})),zo(2,Cz,2,2,"mat-option",18),Yo(),Yo()}if(2&t){const t=ta(2);Oo("color",t.color),Ds(1),Oo("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),Ds(1),Oo("ngForOf",t._displayedPageSizeOptions)}}function Mz(t,e){if(1&t&&(jo(0,"div",20),Sa(1),Yo()),2&t){const t=ta(2);Ds(1),Ma(t.pageSize)}}function Ez(t,e){if(1&t&&(jo(0,"div",12),jo(1,"div",13),Sa(2),Yo(),zo(3,Sz,3,5,"mat-form-field",14),zo(4,Mz,2,1,"div",15),Yo()),2&t){const t=ta();Ds(2),Ea(" ",t._intl.itemsPerPageLabel," "),Ds(1),Oo("ngIf",t._displayedPageSizeOptions.length>1),Ds(1),Oo("ngIf",t._displayedPageSizeOptions.length<=1)}}function Dz(t,e){if(1&t){const t=Vo();jo(0,"button",21),$o("click",(function(){return ai(t),ta().firstPage()})),Li(),jo(1,"svg",7),No(2,"path",22),Yo(),Yo()}if(2&t){const t=ta();Oo("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Po("aria-label",t._intl.firstPageLabel)}}function Rz(t,e){if(1&t){const t=Vo();Li(),zi(),jo(0,"button",23),$o("click",(function(){return ai(t),ta().lastPage()})),Li(),jo(1,"svg",7),No(2,"path",24),Yo(),Yo()}if(2&t){const t=ta();Oo("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Po("aria-label",t._intl.lastPageLabel)}}let xz=(()=>{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=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Pz={provide:xz,deps:[[new st,new ot,xz]],useFactory:function(t){return t||new xz}},Lz=new Ot("MAT_PAGINATOR_DEFAULT_OPTIONS");class zz{}const Iz=ZA(ik(zz));let Fz=(()=>{class t extends Iz{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 Wc,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(Xm(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Xm(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Xm(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Xm(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Qm(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Qm(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)(Fo(xz),Fo(Zr),Fo(Lz,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[wo],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,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"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),zo(2,Ez,5,3,"div",2),jo(3,"div",3),jo(4,"div",4),Sa(5),Yo(),zo(6,Dz,3,5,"button",5),jo(7,"button",6),$o("click",(function(){return e.previousPage()})),Li(),jo(8,"svg",7),No(9,"path",8),Yo(),Yo(),zi(),jo(10,"button",9),$o("click",(function(){return e.nextPage()})),Li(),jo(11,"svg",7),No(12,"path",10),Yo(),Yo(),zo(13,Rz,3,5,"button",11),Yo(),Yo(),Yo()),2&t&&(Ds(2),Oo("ngIf",!e.hidePageSize),Ds(3),Ea(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),Ds(1),Oo("ngIf",e.showFirstLastButtons),Ds(1),Oo("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Po("aria-label",e._intl.previousPageLabel),Ds(3),Oo("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Po("aria-label",e._intl.nextPageLabel),Ds(3),Oo("ngIf",e.showFirstLastButtons))},directives:[fh,UT,Az,eM,oz,hh,Bk],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;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})(),Hz=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[Pz],imports:[[Dh,qT,az,Tz]]}),t})();const Oz=new Ot("mat-chips-default-options"),Bz={separatorKeyCodes:[Cy]};let jz=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[mk,{provide:Oz,useValue:Bz}]}),t})();function Yz(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}function Nz(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function Kz(t,e){const i=e?"":"none";Nz(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function Uz(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function qz(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function Vz(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 Wz(t,e,i){const{top:n,bottom:s,left:r,right:o}=t;return i>=n&&i<=s&&e>=r&&e<=o}function Gz(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function $z(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:Vz(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)&&Gz(t.clientRect,a,c)}),s.top=r,s.left=o,{top:a,left:c}}}const Zz=ty({passive:!0}),Qz=ty({passive:!1});class Xz{constructor(t,e,i,n,s,r){this._config=e,this._document=i,this._ngZone=n,this._viewportRuler=s,this._dragDropRegistry=r,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new k,this._pointerMoveSubscription=h.EMPTY,this._pointerUpSubscription=h.EMPTY,this._scrollSubscription=h.EMPTY,this._resizeSubscription=h.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new k,this.started=new k,this.released=new k,this.ended=new k,this.entered=new k,this.exited=new k,this.dropped=new k,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{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=>{t.preventDefault();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){if(!(Date.now()>=this._dragStartTime+this._getDragStartDelay(t)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(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()));const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i);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),this._parentPositions=new Jz(i,s),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Qm(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){return this._handles=t.map(t=>n_(t)),this._handles.forEach(t=>Kz(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=n_(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Qz),e.addEventListener("touchstart",this._pointerDown,Zz)}),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?n_(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&nI(this._rootElement),nI(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._placeholderTemplate=this._previewTemplate=this._anchor=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._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}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}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t))}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&nI(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&nI(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){this.started.next({source:this}),sI(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,n=t.parentNode,s=this._preview=this._createPreviewElement(),r=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(o,t),t.style.display="none",this._document.body.appendChild(n.replaceChild(r,t)),(i=this._document,i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body).appendChild(s),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;var i;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const i=this.isDragging(),n=sI(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=Vz(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._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){this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(this._getPointerPositionOnPage(t)),r=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:s}),e.drop(this,i,this._initialContainer,r,s,this._initialIndex),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,t,e,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=tI(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=rI(s,this._document),this._previewRef=s,t.matchSize?oI(n,e):n.style.transform=tI(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=eI(t),oI(n,t.getBoundingClientRect())}return Nz(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),Kz(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._preview.style.transform=tI(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=qz(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),r=qz(e,"transition-duration"),o=qz(e,"transition-delay");return Uz(r[s])+Uz(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=rI(this._placeholderRef,this._document)):i=eI(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=sI(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=sI(t)?t.touches[0]||t.changedTouches[0]:t,i=this._getViewportScrollPosition();return{x:e.pageX-i.left,y:e.pageY-i.top}}_getConstrainedPointerPosition(t){const e=this.constrainPosition?this.constrainPosition(t,this):t,i=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===i?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==i||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:i}=this._pickupPositionInElement,n=this._boundaryRect,s=this._previewRect,r=n.top+i,o=n.bottom-(s.height-i);e.x=iI(e.x,n.left+t,n.right-(s.width-t)),e.y=iI(e.y,r,o)}return e}_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,Kz(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Qz),t.removeEventListener("touchstart",this._pointerDown,Zz)}_applyRootElementTransform(t,e){const i=tI(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform:i}_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:sI(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);this._boundaryRect&&e&&Gz(this._boundaryRect,e.top,e.left)}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}}function tI(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function eI(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.querySelectorAll("canvas");e.removeAttribute("id");for(let s=0;sn.appendChild(t)),n}function oI(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=tI(e.left,e.top)}function aI(t,e){return Math.max(0,Math.min(e,t))}class cI{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.enterPredicate=()=>!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},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=T_){return(!M_(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=T_),new y(i=>(i.add(e.schedule(Yz,t,{subscriber:i,counter:0,period:t})),i))}(0,h_).pipe(x_(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?lI(t,-2):2===this._verticalScrollDirection&&lI(t,2),1===this._horizontalScrollDirection?hI(t,-2):2===this._horizontalScrollDirection&&hI(t,2)})},this.element=n_(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new Jz(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(){const t=n_(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,i,n){let s;this.start(),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{const n=n_(this.element);this._shouldEnterAsFirstChild(e,i)?(n.insertBefore(a,r[0].getRootElement()),r.unshift(t)):(n.appendChild(a),r.push(t))}a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),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){this._reset(),null==r&&(r=i.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:r,container:this,previousContainer:i,isPointerOverContainer:n,distance:s})}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=n_(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?uI("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||!$z(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=uI(s,e=>e.drag===t),c=s[r],u=s[a].clientRect,l=c.clientRect,h=a>r?1:-1;this._previousSwap.drag=c.drag,this._previousSwap.delta=o?n.x:n.y;const d=this._getItemOffsetPx(u,l,h),f=this._getSiblingOffsetPx(a,s,h),p=s.slice();(function(t,e,i){const n=aI(e,t.length-1),s=aI(i,t.length-1);if(n===s)return;const r=t[n],o=s{if(p[i]===e)return;const n=e.drag===t,s=n?d:f,r=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,o?(r.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,Gz(e.clientRect,0,s)):(r.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,Gz(e.clientRect,s,0))})}_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&&$z(r.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=dI(e,n),r=fI(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=dI(a,e),s=fI(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()}_cacheParentPositions(){const t=n_(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,clientRect:Vz(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=n_(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,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;return uI(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&&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(!Wz(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=n_(this.element);return n===s||s.contains(n)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.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})=>{Gz(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=iy(n_(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function uI(t,e){for(let i=0;i=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}function fI(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 pI=ty({passive:!1,capture:!0});let gI=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new k,this.pointerUp=new k,this.scroll=new k,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},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._preventDefaultWhileDragging,pI)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,pI)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),i=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:pI}).set(i,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:pI}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}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)($t(Hu),$t(pl))},t.\u0275prov=lt({factory:function(){return new t($t(Hu),$t(pl))},token:t,providedIn:"root"}),t})();const mI={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let _I=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=mI){return new Xz(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new cI(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)($t(pl),$t(Hu),$t(ly),$t(gI))},t.\u0275prov=lt({factory:function(){return new t($t(pl),$t(Hu),$t(ly),$t(gI))},token:t,providedIn:"root"}),t})(),yI=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[_I],imports:[hy]}),t})(),wI=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,EE,qT,PP,dC,$E,Tz]]}),t})(),bI=(()=>{class t extends dk{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(e){return vI(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const vI=vn(bI),AI={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 kI=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[{provide:sk,useClass:bI},{provide:rk,useValue:AI}],imports:[[Dh,PP,bS,ME,jz,yI,OT,Nm,jL,Hz,$E,KD,dC,WR,qT,Tz,iM,EE,OE,Ek,YD,jD,VD,BD,JE,Yk,az,wI,dy,rT]]}),t})(),TI=(()=>{class t{constructor(){this.exportData=new Wc}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({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"),Sa(3,"more_vert"),Yo(),Yo(),jo(4,"mat-menu",null,2),jo(6,"button",3),Sa(7),Kc(8,"translate"),Yo(),Yo(),jo(9,"mat-menu",null,4),jo(11,"button",5),$o("click",(function(){return e.exportData.emit("csv")})),Sa(12,"Csv"),Yo(),Yo(),Yo()),2&t){const t=Io(5),e=Io(10);Ds(1),Oo("matMenuTriggerFor",t),Ds(5),Oo("matMenuTriggerFor",e),Ds(1),Ea(" ",Uc(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[UT,qR,hC,YR,IR],pipes:[HT],styles:[".position-right[_ngcontent-%COMP%]{position:absolute;right:20px;margin:-1.25rem}"]}),t})(),CI=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})(),SI=(()=>{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=be({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&$o("mouseup",(function(t){return e.onClick(t)}))},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})();i("OIgT");let MI=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,wP,vx,zP,qT,IP,PP,dC,bS,rT,$E,iM,OE,dy,ME,EE,CL,BD,gk,wx,Fx,kI,WR,AR,jL,Hz,Tz,az],wP,vx,zP,qT,IP,PP,dC,bS,rT,$E,iM,OE,dy,ME,EE,CL,BD,gk,wx,Fx,kI,WR,AR,jL,Hz,Tz,az]}),t})(),EI=(()=>{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)(Fo($k),Fo(Jk))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),jo(4,"div",2),Sa(5),Yo(),jo(6,"div",3),jo(7,"button",4),$o("click",(function(){return e.ok()})),Sa(8),Kc(9,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(2),Ma(Uc(3,3,"DIALOGS.SHOW_CITE.TITLE")),Ds(3),Ea(" ",e.publication.main," "),Ds(3),Ea(" ",Uc(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[iT,nT,sT,UT],pipes:[HT],styles:[""]}),t})();function DI(t,e){if(1&t){const t=Vo();jo(0,"th",22),jo(1,"mat-checkbox",23),$o("change",(function(e){ai(t);const i=ta();return e?i.masterToggle():null})),Yo(),Yo()}if(2&t){const t=ta();Ds(1),Oo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function RI(t,e){if(1&t){const t=Vo();jo(0,"td",24),jo(1,"mat-checkbox",25),$o("change",(function(i){ai(t);const n=e.$implicit,s=ta();return i?s.itemSelectionToggle(n):null}))("click",(function(e){return ai(t),e.stopPropagation()})),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ta();Ds(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function xI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_ID")))}function PI(t,e){if(1&t&&(jo(0,"td",24),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.id)}}function LI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")))}function zI(t,e){if(1&t){const t=Vo();jo(0,"button",28),$o("click",(function(){ai(t);const e=ta().$implicit;return ta().lockOrUnlockPublication(e)}))("mouseenter",(function(){return ai(t),ta(2).buttonPressed=!0}))("mouseleave",(function(){return ai(t),ta(2).buttonPressed=!1})),Kc(1,"translate"),jo(2,"mat-icon"),Sa(3,"lock"),Yo(),Yo()}2&t&&sa("matTooltip",Uc(1,1,"PUBLICATIONS_LIST.LOCKED"))}function II(t,e){if(1&t){const t=Vo();jo(0,"button",28),$o("click",(function(){ai(t);const e=ta().$implicit;return ta().lockOrUnlockPublication(e)}))("mouseenter",(function(){return ai(t),ta(2).buttonPressed=!0}))("mouseleave",(function(){return ai(t),ta(2).buttonPressed=!1})),Kc(1,"translate"),jo(2,"mat-icon"),Sa(3,"lock_open"),Yo(),Yo()}2&t&&sa("matTooltip",Uc(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function FI(t,e){if(1&t&&(jo(0,"td",24),zo(1,zI,4,3,"button",27),zo(2,II,4,3,"button",27),Yo()),2&t){const t=e.$implicit;Ds(1),Oo("ngIf",t.locked),Ds(1),Oo("ngIf",!t.locked)}}function HI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")))}function OI(t,e){if(1&t&&(jo(0,"td",24),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.title)}}function BI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")))}function jI(t,e){if(1&t&&(jo(0,"span"),Sa(1),Kc(2,"userFullName"),No(3,"br"),Yo()),2&t){const t=e.$implicit;Ds(1),Ea(" ",Uc(2,1,t),"")}}function YI(t,e){if(1&t&&(jo(0,"td",24),zo(1,jI,4,3,"span",29),Yo()),2&t){const t=e.$implicit;Ds(1),Oo("ngForOf",t.authors)}}function NI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")))}function KI(t,e){if(1&t&&(jo(0,"td",24),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.year)}}function UI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")))}function qI(t,e){if(1&t&&(jo(0,"td",24),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.categoryName)}}function VI(t,e){1&t&&(jo(0,"th",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")))}function WI(t,e){if(1&t&&(jo(0,"span"),Sa(1),No(2,"br"),Yo()),2&t){const t=e.$implicit;Ds(1),Ea(" ",t.ownerName,"")}}function GI(t,e){if(1&t&&(jo(0,"td",24),zo(1,WI,3,1,"span",29),Yo()),2&t){const t=e.$implicit;Ds(1),Oo("ngForOf",t.thanks)}}function $I(t,e){1&t&&(jo(0,"th",22),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function JI(t,e){if(1&t){const t=Vo();jo(0,"td",24),jo(1,"button",30),$o("click",(function(){ai(t);const i=e.$implicit;return ta().showCite(i)}))("mouseenter",(function(){return ai(t),ta().buttonPressed=!0}))("mouseleave",(function(){return ai(t),ta().buttonPressed=!1})),Sa(2),Kc(3,"translate"),Yo(),Yo()}2&t&&(Ds(2),Ea(" ",Uc(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function ZI(t,e){1&t&&No(0,"tr",31)}const QI=function(t,e){return[t,e]};function XI(t,e){if(1&t){const t=Vo();jo(0,"tr",32),$o("click",(function(){ai(t);const i=e.$implicit,n=ta();return n.disabledRouting&&n.openInTab&&!n.buttonPressed?n.emitPublication(i):null})),Yo()}if(2&t){const t=e.$implicit,i=ta();Oo("routerLink",i.disabledRouting||i.buttonPressed?null:Bc(2,QI,i.routerPath,t.id))("perunWebAppsMiddleClickRouterLink",i.disabledRouting||i.buttonPressed?null:Bc(5,QI,i.routerPath,t.id))}}function tF(t,e){1&t&&(jo(0,"app-alert",33),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let eF=(()=>{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 ay(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSize=10,this.page=new Wc,this.pageSizeOptions=aT,this.disabledRouting=!1,this.openInTab=!1,this.publicationSelector=new Wc,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()}set matPaginator(t){this.paginator=t}ngOnChanges(){this.dataSource=new vS(this.publications),this.setDataSource()}setDataSource(){this.dataSource&&(this.dataSource.sortData=(t,e)=>lT(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.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 i="";return t.authors.forEach(t=>i+=cT(t)+";"),i.slice(0,-1);case"year":return t.year.toString();case"category":return t.categoryName;case"thankedTo":let n="";return t.thanks.forEach(t=>n+=t.ownerName+";"),n.slice(0,-1);default:return t[e]}}exportData(t){pT(fT(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}ngAfterViewInit(){this.dataSource.paginator=this.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}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=uT();e.width="500px",e.data=t,this.dialog.open(EI,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)(Fo(wC),Fo(Xd),Fo(tT),Fo(pC),Fo(FT))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(t,e){var i;1&t&&(ru(xL,!0),ru(Fz,!0)),2&t&&(su(i=hu())&&(e.matSort=i.first),su(i=hu())&&(e.matPaginator=i.first))},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab"},outputs:{page:"page",publicationSelector:"publicationSelector"},features:[Ie],decls:36,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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"],["mat-cell","","class","static-column-size",4,"matCellDef"],["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,"routerLink","perunWebAppsMiddleClickRouterLink","click",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink","click"],["alert_type","warn"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"div",1),jo(2,"perun-web-apps-table-options",2),$o("exportData",(function(t){return e.exportData(t)})),Yo(),jo(3,"div",3),jo(4,"table",4),Ko(5,5),zo(6,DI,2,3,"th",6),zo(7,RI,2,2,"td",7),Uo(),Ko(8,8),zo(9,xI,3,3,"th",9),zo(10,PI,2,1,"td",10),Uo(),Ko(11,11),zo(12,LI,3,3,"th",9),zo(13,FI,3,2,"td",10),Uo(),Ko(14,12),zo(15,HI,3,3,"th",9),zo(16,OI,2,1,"td",10),Uo(),Ko(17,13),zo(18,BI,3,3,"th",9),zo(19,YI,2,1,"td",10),Uo(),Ko(20,14),zo(21,NI,3,3,"th",9),zo(22,KI,2,1,"td",10),Uo(),Ko(23,15),zo(24,UI,3,3,"th",9),zo(25,qI,2,1,"td",10),Uo(),Ko(26,16),zo(27,VI,3,3,"th",9),zo(28,GI,2,1,"td",10),Uo(),Ko(29,17),zo(30,$I,3,3,"th",6),zo(31,JI,4,3,"td",10),Uo(),zo(32,ZI,1,0,"tr",18),zo(33,XI,1,8,"tr",19),Yo(),Yo(),jo(34,"mat-paginator",20),$o("page",(function(t){return e.page.emit(t)})),Yo(),Yo(),Yo(),zo(35,tF,3,3,"app-alert",21)),2&t&&(Oo("hidden",0===e.dataSource.filteredData.length||0===e.publications.length),Ds(4),Oo("dataSource",e.dataSource),Ds(28),Oo("matHeaderRowDef",e.displayedColumns),Ds(1),Oo("matRowDefColumns",e.displayedColumns),Ds(1),Oo("length",e.publications.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ds(1),Oo("ngIf",0===e.publications.length))},directives:[TI,iS,xL,cS,oS,sS,dS,pS,Fz,fh,lS,RP,hS,BL,UT,Az,hC,hh,mS,yS,Dm,SI,iR],pipes:[HT,ND],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}"]}),t})();function iF(t,e){1&t&&No(0,"mat-spinner",7)}const nF=function(){return["id","title","year"]};function sF(t,e){if(1&t&&(jo(0,"div",8),Sa(1),Kc(2,"translate"),No(3,"perun-web-apps-publications-list",9),Yo()),2&t){const t=ta();Ds(1),Ea(" ",Uc(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),Ds(2),Oo("publications",t.publications)("routerPath",null)("displayedColumns",Hc(6,nF))}}let rF=(()=>{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()},t=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(Fo($k),Fo(Jk),Fo(pC),Fo(FT),Fo(Xd))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),zo(4,iF,1,0,"mat-spinner",2),zo(5,sF,4,7,"div",3),jo(6,"div",4),jo(7,"button",5),$o("click",(function(){return e.cancel()})),Sa(8),Kc(9,"translate"),Yo(),jo(10,"button",6),$o("click",(function(){return e.remove()})),Sa(11),Kc(12,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(2),Ma(Uc(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading),Ds(3),Ea(" ",Uc(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),Ds(2),Oo("disabled",e.loading),Ds(1),Ea(" ",Uc(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[iT,fh,sT,UT,GE,nT,eF],pipes:[HT],styles:[""]}),t})();const oF="GUI_CONFIG.PREF_PAGE_SIZE.";let aF=(()=>{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=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cF=(()=>{class t{constructor(t){this.guiConfigService=t}getTablePageSize(t){const e=this.guiConfigService.getNumber(oF+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(oF+t,e)}}return t.\u0275fac=function(e){return new(e||t)($t(aF))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const uF="67",lF="68";let hF=(()=>{class t{constructor(){this.refresh=new Wc}onClickbutton(t){this.refresh.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({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),$o("click",(function(t){return e.onClickbutton(t)})),Kc(1,"translate"),No(2,"mat-icon",1),Yo()),2&t&&(sa("matTooltip",Uc(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),Oo("disabled",e.disabled),Ds(2),sa("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[UT,Az,hC],pipes:[HT],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 dF=i("wgY5");const fF=i.n(dF).a||dF,pF=new Ot("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function gF(t,e){const i=Array(t);for(let n=0;n{class t extends sk{constructor(t,e){super(),this._options=e,this.setLocale(t||fF.locale())}setLocale(t){super.setLocale(t);let e=fF.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:gF(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){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);const n=this._createMoment({year:t,month:e,date:i}).locale(this.locale);if(!n.isValid())throw Error(`Invalid date "${i}" for month with index "${e}".`);return 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){if(t=this.clone(t),!this.isValid(t))throw Error("MomentDateAdapter: Cannot format invalid date.");return 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,fF.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return fF.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return fF.invalid()}_createMoment(t,e,i){const{strict:n,useUtc:s}=this._options||{};return s?fF.utc(t,e,i,n):fF(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)($t(nk,8),$t(pF,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),_F=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[{provide:sk,useClass:mF,deps:[nk,pF]}]}),t})();function yF(t,e){if(1&t&&(jo(0,"mat-option",18),Sa(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),Ds(1),Ea(" ",t.name," ")}}const wF=dF,bF={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let vF=(()=>{class t{constructor(t){this.cabinetService=t,this.title=new oE,this.code=new oE,this.startYear=new oE(wF()),this.endYear=new oE(wF()),this.filteredPublication=new Wc}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.selectedMode="isbn/issn"})}chosenStartYearHandler(t,e){const i=this.startYear.value;i.year(t.year()),this.startYear.setValue(i),e.close()}chosenEndYearHandler(t,e){const i=this.endYear.value;i.year(t.year()),this.endYear.setValue(i),e.close()}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:Jl(this.startYear.value,"yyyy","en-GB"),endYear:Jl(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 oE(wF()),this.endYear=new oE(wF()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return t.\u0275fac=function(e){return new(e||t)(Fo(Xd))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[Ya([{provide:sk,useClass:mF,deps:[nk]},{provide:rk,useValue:bF}])],decls:53,vars:44,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"],[1,"year-field","mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"matDatepicker","formControl"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected"],["sdp",""],["matInput","",3,"matDatepicker","formControl"],["edp",""],["mat-stroked-button","",1,"mr-2",3,"click"],["mat-stroked-button","",3,"click"],[3,"value"]],template:function(t,e){if(1&t){const t=Vo();jo(0,"div",0),jo(1,"mat-form-field",1),No(2,"input",2),Kc(3,"translate"),Yo(),jo(4,"mat-form-field",1),jo(5,"mat-label"),Sa(6),Kc(7,"translate"),Yo(),jo(8,"mat-select",3),$o("valueChange",(function(t){return e.selectedMode=t})),jo(9,"mat-option",4),Sa(10),Kc(11,"translate"),Yo(),jo(12,"mat-option",5),Sa(13),Kc(14,"translate"),Yo(),Yo(),Yo(),jo(15,"mat-form-field",6),No(16,"input",2),Kc(17,"translate"),Yo(),jo(18,"mat-form-field",1),jo(19,"mat-label"),Sa(20),Kc(21,"translate"),Yo(),jo(22,"mat-select",3),$o("valueChange",(function(t){return e.selectedCategory=t})),jo(23,"mat-option",7),Sa(24),Kc(25,"translate"),Yo(),zo(26,yF,2,2,"mat-option",8),Yo(),Yo(),jo(27,"mat-form-field",9),$o("click",(function(){return ai(t),Io(34).open()})),jo(28,"mat-label"),Sa(29),Kc(30,"translate"),Yo(),No(31,"input",10),No(32,"mat-datepicker-toggle",11),jo(33,"mat-datepicker",12,13),$o("yearSelected",(function(i){ai(t);const n=Io(34);return e.chosenStartYearHandler(i,n)})),Yo(),Yo(),jo(35,"mat-form-field",9),$o("click",(function(){return ai(t),Io(42).open()})),jo(36,"mat-label"),Sa(37),Kc(38,"translate"),Yo(),No(39,"input",14),No(40,"mat-datepicker-toggle",11),jo(41,"mat-datepicker",12,15),$o("yearSelected",(function(i){ai(t);const n=Io(42);return e.chosenEndYearHandler(i,n)})),Yo(),Yo(),jo(43,"button",16),$o("click",(function(){return e.filter()})),jo(44,"mat-icon"),Sa(45,"search"),Yo(),Sa(46),Kc(47,"translate"),Yo(),jo(48,"button",17),$o("click",(function(){return e.clearFilter()})),jo(49,"mat-icon"),Sa(50,"search_off"),Yo(),Sa(51),Kc(52,"translate"),Yo(),Yo()}if(2&t){const t=Io(34),i=Io(42);Ds(2),sa("placeholder",Uc(3,22,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),Oo("formControl",e.title),Ds(4),Ma(Uc(7,24,"PUBLICATION_FILTER.SELECT_MODE")),Ds(2),Oo("value",e.selectedMode),Ds(2),Ma(Uc(11,26,"PUBLICATION_FILTER.ISBN/ISSN")),Ds(3),Ma(Uc(14,28,"PUBLICATION_FILTER.DOI")),Ds(3),sa("placeholder",Uc(17,30,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),Oo("formControl",e.code),Ds(4),Ma(Uc(21,32,"PUBLICATION_FILTER.SELECT_CATEGORY")),Ds(2),Oo("value",e.selectedCategory),Ds(2),Ma(Uc(25,34,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),Ds(2),Oo("ngForOf",e.categories),Ds(3),Ma(Uc(30,36,"PUBLICATION_FILTER.START_YEAR")),Ds(2),Oo("matDatepicker",t)("formControl",e.startYear),Ds(1),Oo("for",t),Ds(5),Ma(Uc(38,38,"PUBLICATION_FILTER.END_YEAR")),Ds(2),Oo("matDatepicker",i)("formControl",e.endYear),Ds(1),Oo("for",i),Ds(6),Ea(" ",Uc(47,40,"PUBLICATION_FILTER.FILTER")," "),Ds(5),Ea(" ",Uc(52,42,"PUBLICATION_FILTER.CLEAR_FILTER")," ")}},directives:[eM,HE,cM,pM,yE,VS,oz,Bk,hh,FD,OD,$S,PD,UT,hC],pipes:[HT],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:0!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:0!important}"]}),t})();function AF(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-publications-list",10),$o("page",(function(e){return ai(t),ta().pageChanged(e)})),Yo()}if(2&t){const t=ta();Oo("publications",t.publications)("selection",t.selected)("routerPath","/all-publications")("pageSize",t.pageSize)}}function kF(t,e){1&t&&No(0,"mat-spinner",11)}let TF=(()=>{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 ay(!0,[]),this.tableId=lF,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=uT();t.width="500px",t.data=this.selected.selected,this.dialog.open(rF,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)(Fo(fg),Fo(Xd),Fo(cF),Fo(tT),Fo(iC),Fo(sd))},t.\u0275cmp=pe({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),Sa(4),Kc(5,"translate"),Yo(),Yo(),jo(6,"div",4),jo(7,"perun-web-apps-refresh-button",5),$o("refresh",(function(){return e.refreshTable()})),Yo(),jo(8,"button",6),$o("click",(function(){return e.removePublication()})),Sa(9),Kc(10,"translate"),Yo(),jo(11,"perun-web-apps-publication-filter",7),$o("filteredPublication",(function(t){return e.filterPublication(t)})),Yo(),Yo(),zo(12,AF,1,4,"perun-web-apps-publications-list",8),zo(13,kF,1,0,"mat-spinner",9),Yo()),2&t&&(Ds(4),Ma(Uc(5,5,"ALL_PUBLICATIONS.TITLE")),Ds(4),Oo("disabled",0===e.selected.selected.length),Ds(1),Ea(" ",Uc(10,7,"ALL_PUBLICATIONS.REMOVE")," "),Ds(3),Oo("ngIf",!e.loading),Ds(1),Oo("ngIf",e.loading))},directives:[hC,hF,UT,vF,fh,eF,GE],pipes:[HT],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),t})();function CF(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-publications-list",11),$o("page",(function(e){return ai(t),ta(2).pageChanged(e)})),Yo()}if(2&t){const t=ta(2);Oo("publications",t.publications)("selection",t.selected)("pageSize",t.pageSize)("routerPath","/my-publications")}}function SF(t,e){if(1&t){const t=Vo();jo(0,"div"),jo(1,"div",6),jo(2,"perun-web-apps-refresh-button",7),$o("refresh",(function(){return ai(t),ta().refreshTable()})),Yo(),jo(3,"button",8),$o("click",(function(){return ai(t),ta().removePublication()})),Sa(4),Kc(5,"translate"),Yo(),jo(6,"perun-web-apps-publication-filter",9),$o("filteredPublication",(function(e){return ai(t),ta().filterPublication(e)})),Yo(),Yo(),zo(7,CF,1,4,"perun-web-apps-publications-list",10),Yo()}if(2&t){const t=ta();Ds(3),Oo("disabled",0===t.selected.selected.length),Ds(1),Ea(" ",Uc(5,3,"MY_PUBLICATIONS.REMOVE")," "),Ds(3),Oo("ngIf",!t.loading)}}function MF(t,e){1&t&&No(0,"mat-spinner",12)}let EF=(()=>{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 ay(!0,[]),this.tableId=lF}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=uT();t.width="500px",t.data=this.selected.selected,this.dialog.open(rF,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)(Fo(fg),Fo(Xd),Fo(cF),Fo(tT),Fo(Qd))},t.\u0275cmp=pe({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),Sa(3,"local_library"),Yo(),jo(4,"span",3),Sa(5),Kc(6,"translate"),Yo(),Yo(),zo(7,SF,8,5,"div",4),zo(8,MF,1,0,"mat-spinner",5),Yo()),2&t&&(Ds(5),Ma(Uc(6,3,"MY_PUBLICATIONS.TITLE")),Ds(2),Oo("ngIf",!e.initLoading),Ds(1),Oo("ngIf",e.loading||e.initLoading))},directives:[hC,fh,hF,UT,vF,eF,GE],pipes:[HT],styles:[""]}),t})(),DF=(()=>{class t{constructor(t){this.router=t}ngOnInit(){}createPublication(){this.router.navigate(["create-publication","create"])}}return t.\u0275fac=function(e){return new(e||t)(Fo(Em))},t.\u0275cmp=pe({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"],["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),Sa(4,"add_box"),Yo(),Sa(5),Kc(6,"translate"),Yo(),Yo(),jo(7,"div",3),jo(8,"div",4),jo(9,"mat-card",5),jo(10,"mat-card-title"),Sa(11),Kc(12,"translate"),Yo(),jo(13,"mat-card-content",6),jo(14,"div"),Sa(15),Kc(16,"translate"),Yo(),jo(17,"button",7),Sa(18),Kc(19,"translate"),Yo(),Yo(),Yo(),Yo(),jo(20,"div",4),jo(21,"mat-card",5),jo(22,"mat-card-title"),Sa(23),Kc(24,"translate"),Yo(),jo(25,"mat-card-content",6),jo(26,"div"),Sa(27),Kc(28,"translate"),Yo(),jo(29,"button",8),$o("click",(function(){return e.createPublication()})),Sa(30),Kc(31,"translate"),Yo(),Yo(),Yo(),Yo(),Yo(),Yo()),2&t&&(Ds(5),Ea(" ",Uc(6,7,"CREATE_PUBLICATION.TITLE")," "),Ds(6),Ea(" ",Uc(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),Ds(4),Ea(" ",Uc(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),Ds(3),Ea(" ",Uc(19,13,"CREATE_PUBLICATION.IMPORT")," "),Ds(5),Ea(" ",Uc(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),Ds(4),Ea(" ",Uc(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),Ds(3),Ea(" ",Uc(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[hC,yP,_P,mP,UT],pipes:[HT],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 RF=["groupFilterInput"];let xF=(()=>{class t{constructor(){this.filter=new Wc}ngOnInit(){s_(this.groupFilterInput.nativeElement,"keyup").pipe(I(t=>t.target.value),gw(500),v_()).subscribe(t=>{this.filter.emit(t)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){var i;1&t&&ru(RF,!0),2&t&&su(i=hu())&&(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&&(jo(0,"mat-form-field",0),No(1,"input",1,2),Kc(3,"translate"),Yo()),2&t&&(Ds(1),sa("placeholder",Uc(3,1,e.placeholder)))},directives:[eM,HE],pipes:[HT],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})();function PF(t,e){1&t&&No(0,"th",21)}function LF(t,e){if(1&t){const t=Vo();jo(0,"td",22),jo(1,"mat-checkbox",23),$o("change",(function(i){ai(t);const n=e.$implicit,s=ta();return i?s.selection.toggle(n):null}))("click",(function(e){return ai(t),e.stopPropagation()})),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ta();Ds(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function zF(t,e){1&t&&(jo(0,"th",24),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"AUTHORS_LIST.ID")))}function IF(t,e){if(1&t&&(jo(0,"td",22),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.id)}}function FF(t,e){1&t&&(jo(0,"th",24),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"AUTHORS_LIST.NAME")))}function HF(t,e){if(1&t&&(jo(0,"td",25),Sa(1),Kc(2,"userFullName"),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(Uc(2,1,t))}}function OF(t,e){1&t&&(jo(0,"th",24),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"AUTHORS_LIST.ORGANIZATION")))}function BF(t,e){if(1&t&&(jo(0,"td",25),Sa(1),Yo()),2&t){const t=e.$implicit,i=ta();Ds(1),Ma(i.parseAttribute(t,"organization"))}}function jF(t,e){1&t&&(jo(0,"th",24),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"AUTHORS_LIST.EMAIL")))}function YF(t,e){if(1&t&&(jo(0,"td",25),Sa(1),Yo()),2&t){const t=e.$implicit,i=ta();Ds(1),Ma(i.parseAttribute(t,"preferredMail"))}}function NF(t,e){1&t&&(jo(0,"th",24),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")))}function KF(t,e){if(1&t&&(jo(0,"td",25),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.authorships.length.toString())}}function UF(t,e){1&t&&No(0,"th",21)}function qF(t,e){if(1&t){const t=Vo();jo(0,"td",22),jo(1,"button",26),$o("click",(function(){ai(t);const i=e.$implicit;return ta().onAddClick(i)})),Sa(2),Kc(3,"translate"),Yo(),Yo()}2&t&&(Ds(2),Ea(" ",Uc(3,1,"AUTHORS_LIST.ADD")," "))}function VF(t,e){1&t&&No(0,"th",21)}function WF(t,e){if(1&t){const t=Vo();jo(0,"td",22),jo(1,"button",27),$o("click",(function(){ai(t);const i=e.$implicit;return ta().onRemoveClick(i)})),Sa(2),Kc(3,"translate"),Yo(),Yo()}2&t&&(Ds(2),Ea(" ",Uc(3,1,"AUTHORS_LIST.REMOVE")," "))}function GF(t,e){1&t&&No(0,"tr",28)}const $F=function(t){return["/authors",t]};function JF(t,e){if(1&t&&No(0,"tr",29),2&t){const t=e.$implicit,i=ta();Oo("routerLink",i.disableRouting?null:Oc(2,$F,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:Oc(4,$F,t.id))}}function ZF(t,e){1&t&&(jo(0,"app-alert",30),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),Ds(1),Ea(" ",Uc(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function QF(t,e){1&t&&(jo(0,"app-alert",30),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),Ds(1),Ea(" ",Uc(2,2,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let XF=(()=>{class t{constructor(){this.authors=[],this.pageSize=10,this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=aT,this.page=new Wc,this.addAuthor=new Wc,this.removeAuthor=new Wc}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(){this.dataSource=new vS(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>hT(t,e,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(t,e)=>lT(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.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 dT(t,"organization");case"email":return dT(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 dT(t,"organization");case"email":return dT(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 cT(t);case"organization":return dT(t,"organization");case"email":return dT(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}exportData(t){pT(fT(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)}ngAfterViewInit(){this.dataSource.paginator=this.paginator}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(t,e){var i;1&t&&(ru(xL,!0),ru(Fz,!0)),2&t&&(su(i=hu())&&(e.matSort=i.first),su(i=hu())&&(e.matPaginator=i.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:[Ie],decls:34,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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,"routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],[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,"routerLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"div",1),jo(2,"perun-web-apps-table-options",2),$o("exportData",(function(t){return e.exportData(t)})),Yo(),jo(3,"div",3),jo(4,"table",4),Ko(5,5),zo(6,PF,1,0,"th",6),zo(7,LF,2,2,"td",7),Uo(),Ko(8,8),zo(9,zF,3,3,"th",9),zo(10,IF,2,1,"td",7),Uo(),Ko(11,10),zo(12,FF,3,3,"th",9),zo(13,HF,3,3,"td",11),Uo(),Ko(14,12),zo(15,OF,3,3,"th",9),zo(16,BF,2,1,"td",11),Uo(),Ko(17,13),zo(18,jF,3,3,"th",9),zo(19,YF,2,1,"td",11),Uo(),Ko(20,14),zo(21,NF,3,3,"th",9),zo(22,KF,2,1,"td",11),Uo(),Ko(23,15),zo(24,UF,1,0,"th",6),zo(25,qF,4,3,"td",7),Uo(),Ko(26,16),zo(27,VF,1,0,"th",6),zo(28,WF,4,3,"td",7),Uo(),zo(29,GF,1,0,"tr",17),zo(30,JF,1,6,"tr",18),Yo(),Yo(),jo(31,"mat-paginator",19),$o("page",(function(t){return e.page.emit(t)})),Yo(),Yo(),Yo(),zo(32,ZF,3,4,"app-alert",20),zo(33,QF,3,4,"app-alert",20)),2&t&&(Oo("hidden",0===e.authors.length||0===e.dataSource.filteredData.length),Ds(4),Oo("dataSource",e.dataSource),Ds(25),Oo("matHeaderRowDef",e.displayedColumns),Ds(1),Oo("matRowDefColumns",e.displayedColumns),Ds(1),Oo("length",e.authors.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ds(1),Oo("ngIf",0!==e.authors.length&&0===e.dataSource.filteredData.length),Ds(1),Oo("ngIf",0===e.authors.length))},directives:[TI,iS,xL,cS,oS,sS,dS,pS,Fz,fh,lS,hS,RP,BL,UT,mS,yS,Dm,SI,iR],pipes:[HT,ND],styles:[""]}),t})();function tH(t,e){1&t&&No(0,"mat-spinner",8)}const eH=function(){return["id","name","organization","email","numberOfPublications"]};function iH(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-authors-list",9),$o("page",(function(e){return ai(t),ta().pageChanged(e)})),Yo()}if(2&t){const t=ta();Oo("authors",t.authors)("displayedColumns",Hc(4,eH))("filterValue",t.filterValue)("pageSize",t.pageSize)}}let nH=(()=>{class t{constructor(t,e){this.tableConfigService=t,this.cabinetService=e,this.filterValue="",this.tableId=uF}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)(Fo(cF),Fo(Xd))},t.\u0275cmp=pe({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),Sa(3,"assignment_ind"),Yo(),jo(4,"span",3),Sa(5),Kc(6,"translate"),Yo(),Yo(),jo(7,"perun-web-apps-refresh-button",4),$o("refresh",(function(){return e.refreshTable()})),Yo(),jo(8,"perun-web-apps-debounce-filter",5),$o("filter",(function(t){return e.applyFilter(t)})),Yo(),zo(9,tH,1,0,"mat-spinner",6),zo(10,iH,1,5,"perun-web-apps-authors-list",7),Yo()),2&t&&(Ds(5),Ma(Uc(6,4,"AUTHORS_PAGE.TITLE")),Ds(3),Oo("placeholder","AUTHORS_PAGE.FILTER"),Ds(1),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[hC,hF,xF,fh,GE,XF],pipes:[HT],styles:[""]}),t})();function sH(t,e){1&t&&No(0,"mat-spinner",4)}function rH(t,e){if(1&t){const t=Vo();jo(0,"div"),jo(1,"div",5),jo(2,"mat-form-field"),No(3,"input",6),Kc(4,"translate"),jo(5,"mat-error"),Sa(6),Kc(7,"translate"),Yo(),Yo(),jo(8,"mat-form-field"),No(9,"input",6),Kc(10,"translate"),jo(11,"mat-error"),Sa(12),Kc(13,"translate"),Yo(),Yo(),jo(14,"p",7),Sa(15),Kc(16,"translate"),Yo(),Yo(),jo(17,"div",8),jo(18,"button",9),$o("click",(function(){return ai(t),ta().onCancel()})),Sa(19),Kc(20,"translate"),Yo(),jo(21,"div",10),Kc(22,"translate"),jo(23,"button",11),$o("click",(function(){return ai(t),ta().onSubmit()})),Sa(24),Kc(25,"translate"),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=ta();Ds(3),sa("placeholder",Uc(4,12,"DIALOGS.ADD_CATEGORY.NAME")),Oo("formControl",t.nameCtrl),Ds(3),Ea(" ",Uc(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),Ds(3),sa("placeholder",Uc(10,16,"DIALOGS.ADD_CATEGORY.RANK")),Oo("formControl",t.rankCtrl),Ds(3),Ea(" ",Uc(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),Ds(3),Ma(Uc(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),Ds(4),Ea(" ",Uc(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),Ds(2),sa("matTooltip",Uc(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),Oo("matTooltipDisabled",t.nameCtrl.valid&&t.rankCtrl.valid),Ds(2),Oo("disabled",t.nameCtrl.invalid||t.rankCtrl.invalid),Ds(1),Ea(" ",Uc(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let oH=(()=>{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 oE(null,[vM.required,vM.pattern("^[\\w.-]+( [\\w.-]+)*$"),vM.maxLength(128)]),this.rankCtrl=new oE(null,[vM.required,vM.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)(Fo($k),Fo(pC),Fo(Xd),Fo(FT))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),zo(4,sH,1,0,"mat-spinner",2),zo(5,rH,26,28,"div",3),Yo()),2&t&&(Ds(2),Ma(Uc(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[iT,fh,GE,nT,eM,HE,cM,TE,pM,yE,jS,sT,UT,Az],pipes:[HT],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function aH(t,e){1&t&&No(0,"mat-spinner",5)}function cH(t,e){1&t&&No(0,"th",14)}function uH(t,e){if(1&t&&(jo(0,"td",15),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ea(" ",t.name," ")}}function lH(t,e){1&t&&No(0,"tr",16)}function hH(t,e){1&t&&No(0,"tr",17)}function dH(t,e){if(1&t&&(jo(0,"div",6),jo(1,"p"),Sa(2),Kc(3,"translate"),Yo(),jo(4,"div",7),Sa(5),Kc(6,"translate"),Yo(),jo(7,"table",8),Ko(8,9),zo(9,cH,1,0,"th",10),zo(10,uH,2,1,"td",11),Uo(),zo(11,lH,1,0,"tr",12),zo(12,hH,1,0,"tr",13),Yo(),Yo()),2&t){const t=ta();Ds(2),Ea(" ",Uc(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),Ds(3),Ea(" ",Uc(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),Ds(2),Oo("dataSource",t.dataSource),Ds(4),Oo("matHeaderRowDef",t.displayedColumns),Ds(1),Oo("matRowDefColumns",t.displayedColumns)}}function fH(t,e){if(1&t){const t=Vo();jo(0,"div",18),jo(1,"button",19),$o("click",(function(){return ai(t),ta().onCancel()})),Sa(2),Kc(3,"translate"),Yo(),jo(4,"button",20),$o("click",(function(){return ai(t),ta().onSubmit()})),Sa(5),Kc(6,"translate"),Yo(),Yo()}if(2&t){const t=ta();Ds(2),Ea(" ",Uc(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),Ds(2),Oo("disabled",t.loading),Ds(1),Ea(" ",Uc(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let pH=(()=>{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 vS(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)(Fo($k),Fo(Jk),Fo(pC),Fo(FT),Fo(Xd))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),zo(4,aH,1,0,"mat-spinner",2),zo(5,dH,13,9,"div",3),zo(6,fH,7,7,"div",4),Yo()),2&t&&(Ds(2),Ma(Uc(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[iT,fh,GE,nT,iS,cS,oS,sS,dS,pS,lS,hS,mS,yS,sT,UT],pipes:[HT],styles:[""]}),t})();function gH(t,e){if(1&t&&(No(0,"input",3),Kc(1,"translate")),2&t){const t=ta();sa("placeholder",Uc(1,2,t.placeholder)),Oo("formControl",t.formControl)}}function mH(t,e){if(1&t&&(No(0,"input",4),Kc(1,"translate")),2&t){const t=ta();sa("placeholder",Uc(1,2,t.placeholder)),Oo("formControl",t.formControl)}}let _H=(()=>{class t{constructor(){this.filter=new Wc,this.autoFocus=!1,this.formControl=new oE}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=pe({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),zo(1,gH,2,4,"input",1),zo(2,mH,2,4,"input",2),Yo()),2&t&&(Ds(1),Oo("ngIf",e.autoFocus),Ds(1),Oo("ngIf",!e.autoFocus))},directives:[eM,fh,HE,cM,CI,pM,yE],pipes:[HT],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important}"]}),t})();function yH(t,e){1&t&&No(0,"mat-spinner",4)}function wH(t,e){if(1&t){const t=Vo();jo(0,"div"),jo(1,"div",5),jo(2,"mat-form-field"),No(3,"input",6),Kc(4,"translate"),jo(5,"mat-error"),Sa(6),Kc(7,"translate"),Yo(),Yo(),jo(8,"p",7),Sa(9),Kc(10,"translate"),Yo(),Yo(),jo(11,"div",8),jo(12,"button",9),$o("click",(function(){return ai(t),ta().onCancel()})),Sa(13),Kc(14,"translate"),Yo(),jo(15,"div",10),Kc(16,"translate"),jo(17,"button",11),$o("click",(function(){return ai(t),ta().onSubmit()})),Sa(18),Kc(19,"translate"),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=ta();Ds(3),sa("placeholder",Uc(4,9,"DIALOGS.UPDATE_RANK.RANK")),Oo("formControl",t.rankCtrl),Ds(3),Ea(" ",Uc(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),Ds(3),Ma(Uc(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),Ds(4),Ea(" ",Uc(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),Ds(2),sa("matTooltip",Uc(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),Oo("matTooltipDisabled",t.rankCtrl.valid),Ds(2),Oo("disabled",t.rankCtrl.invalid),Ds(1),Ea(" ",Uc(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let bH=(()=>{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 oE(this.data.rank,[vM.required,vM.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)(Fo($k),Fo(Jk),Fo(pC),Fo(Xd),Fo(FT))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),zo(4,yH,1,0,"mat-spinner",2),zo(5,wH,20,21,"div",3),Yo()),2&t&&(Ds(2),Da("",Uc(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",e.categoryName,""),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[iT,fh,GE,nT,eM,HE,cM,TE,pM,yE,jS,sT,UT,Az],pipes:[HT],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function vH(t,e){1&t&&No(0,"th",18)}function AH(t,e){if(1&t){const t=Vo();jo(0,"td",19),jo(1,"mat-checkbox",20),$o("change",(function(i){ai(t);const n=e.$implicit,s=ta();return i?s.itemSelectionToggle(n):null}))("click",(function(e){return ai(t),e.stopPropagation()})),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ta();Ds(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function kH(t,e){1&t&&(jo(0,"th",21),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"CATEGORIES_LIST.ID")))}function TH(t,e){if(1&t&&(jo(0,"td",19),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.id)}}function CH(t,e){1&t&&(jo(0,"th",21),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"CATEGORIES_LIST.NAME")))}function SH(t,e){if(1&t&&(jo(0,"td",22),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.name)}}function MH(t,e){1&t&&(jo(0,"th",21),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"CATEGORIES_LIST.RANK")))}function EH(t,e){if(1&t){const t=Vo();jo(0,"td",22),Sa(1),jo(2,"button",23),$o("click",(function(){ai(t);const i=e.$implicit;return ta().updateCategory(i)})),jo(3,"mat-icon"),Sa(4,"edit"),Yo(),Yo(),Yo()}if(2&t){const t=e.$implicit;Ds(1),Ma(t.rank)}}function DH(t,e){1&t&&No(0,"tr",24)}function RH(t,e){1&t&&No(0,"tr",25)}function xH(t,e){1&t&&(jo(0,"app-alert",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let PH=(()=>{class t{constructor(t,e,i){this.guiAuthResolver=t,this.tableCheckbox=e,this.dialog=i,this.categories=[],this.selection=new ay(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=aT,this.page=new Wc,this.refreshTable=new Wc}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(){this.dataSource=new vS(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){pT(fT(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>hT(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>lT(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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.paginator}itemSelectionToggle(t){this.selection.toggle(t)}updateCategory(t){const e=uT();e.width="400px",e.data=t,this.dialog.open(bH,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}}return t.\u0275fac=function(e){return new(e||t)(Fo(vf),Fo(wC),Fo(tT))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(t,e){var i;1&t&&(ru(xL,!0),ru(Fz,!0)),2&t&&(su(i=hu())&&(e.matSort=i.first),su(i=hu())&&(e.matPaginator=i.first))},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page",refreshTable:"refreshTable"},features:[Ie],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"div",1),jo(2,"perun-web-apps-table-options",2),$o("exportData",(function(t){return e.exportData(t)})),Yo(),jo(3,"div",3),jo(4,"table",4),Ko(5,5),zo(6,vH,1,0,"th",6),zo(7,AH,2,2,"td",7),Uo(),Ko(8,8),zo(9,kH,3,3,"th",9),zo(10,TH,2,1,"td",10),Uo(),Ko(11,11),zo(12,CH,3,3,"th",9),zo(13,SH,2,1,"td",12),Uo(),Ko(14,13),zo(15,MH,3,3,"th",9),zo(16,EH,5,1,"td",12),Uo(),zo(17,DH,1,0,"tr",14),zo(18,RH,1,0,"tr",15),Yo(),Yo(),jo(19,"mat-paginator",16),$o("page",(function(t){return e.page.emit(t)})),Yo(),Yo(),Yo(),zo(20,xH,3,3,"app-alert",17)),2&t&&(Oo("hidden",0===e.dataSource.filteredData.length||0===e.categories.length),Ds(4),Oo("dataSource",e.dataSource),Ds(13),Oo("matHeaderRowDef",e.displayedColumns),Ds(1),Oo("matRowDefColumns",e.displayedColumns),Ds(1),Oo("length",e.categories.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ds(1),Oo("ngIf",0===e.dataSource.filteredData.length&&0!==e.categories.length))},directives:[TI,iS,xL,cS,oS,sS,dS,pS,Fz,fh,lS,hS,RP,BL,UT,hC,mS,yS,iR],pipes:[HT],styles:[""]}),t})();function LH(t,e){if(1&t){const t=Vo();jo(0,"button",8),$o("click",(function(){return ai(t),ta().addCategory()})),Sa(1),Kc(2,"translate"),Yo()}2&t&&(Ds(1),Ea(" ",Uc(2,1,"CATEGORIES_PAGE.CREATE")," "))}function zH(t,e){if(1&t){const t=Vo();jo(0,"button",9),$o("click",(function(){return ai(t),ta().removeCategory()})),Sa(1),Kc(2,"translate"),Yo()}2&t&&(Oo("disabled",!ta().selected.selected.length),Ds(1),Ea(" ",Uc(2,2,"CATEGORIES_PAGE.REMOVE")," "))}function IH(t,e){1&t&&No(0,"mat-spinner",10)}const FH=function(){return["select","id","name","rank"]},HH=function(){return["name","rank"]};function OH(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-categories-list",11),$o("refreshTable",(function(){return ai(t),ta().refreshTable()}))("page",(function(e){return ai(t),ta().pageChanged(e)})),Yo()}if(2&t){const t=ta();Oo("categories",t.categories)("filterValue",t.filterValue)("displayedColumns",t.removeAuth?Hc(5,FH):Hc(6,HH))("pageSize",t.pageSize)("selection",t.selected)}}let BH=(()=>{class t{constructor(t,e,i,n){this.cabinetManagerService=t,this.tableConfigService=e,this.dialog=i,this.guiAuthResolver=n,this.categories=[],this.selected=new ay(!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=uT();t.width="400px",t.data={},this.dialog.open(oH,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeCategory(){const t=uT();t.width="400px",t.data=this.selected.selected,this.dialog.open(pH,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.\u0275fac=function(e){return new(e||t)(Fo(Xd),Fo(cF),Fo(tT),Fo(vf))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),jo(4,"perun-web-apps-refresh-button",2),$o("refresh",(function(){return e.refreshTable()})),Yo(),zo(5,LH,3,3,"button",3),zo(6,zH,3,4,"button",4),jo(7,"perun-web-apps-immediate-filter",5),$o("filter",(function(t){return e.applyFilter(t)})),Yo(),zo(8,IH,1,0,"mat-spinner",6),zo(9,OH,1,7,"perun-web-apps-categories-list",7),Yo()),2&t&&(Ds(2),Ma(Uc(3,6,"CATEGORIES_PAGE.TITLE")),Ds(3),Oo("ngIf",e.addAuth),Ds(1),Oo("ngIf",e.removeAuth),Ds(1),Oo("placeholder","CATEGORIES_PAGE.FILTER"),Ds(1),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",e.categories&&!e.loading))},directives:[hF,fh,_H,UT,GE,PH],pipes:[HT],styles:[""]}),t})();function jH(t,e){1&t&&(jo(0,"th",17),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATION_SYSTEMS_LIST.ID")))}function YH(t,e){if(1&t&&(jo(0,"td",18),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.id)}}function NH(t,e){1&t&&(jo(0,"th",17),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")))}function KH(t,e){if(1&t&&(jo(0,"td",19),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.friendlyName)}}function UH(t,e){1&t&&(jo(0,"th",17),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")))}function qH(t,e){if(1&t&&(jo(0,"td",19),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma("empty"===t.loginNamespace?"":t.loginNamespace)}}function VH(t,e){1&t&&(jo(0,"th",17),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATION_SYSTEMS_LIST.URL")))}function WH(t,e){if(1&t&&(jo(0,"td",19),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma("empty"===t.url?"":t.url)}}function GH(t,e){1&t&&(jo(0,"th",17),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")))}function $H(t,e){if(1&t&&(jo(0,"td",19),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma("empty"===t.type?"":t.type)}}function JH(t,e){1&t&&No(0,"tr",20)}function ZH(t,e){1&t&&No(0,"tr",21)}function QH(t,e){1&t&&(jo(0,"app-alert",22),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"NO_FILTER_RESULTS"),"\n"))}let XH=(()=>{class t{constructor(){this.publicationSystems=[],this.pageSize=10,this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=aT,this.page=new Wc}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(){this.dataSource=new vS(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){pT(fT(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>hT(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>lT(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.paginator}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(t,e){var i;1&t&&(ru(xL,!0),ru(Fz,!0)),2&t&&(su(i=hu())&&(e.matSort=i.first),su(i=hu())&&(e.matPaginator=i.first))},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[Ie],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",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"],[3,"length","pageSize","pageSizeOptions","page"],["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,"div",1),jo(2,"perun-web-apps-table-options",2),$o("exportData",(function(t){return e.exportData(t)})),Yo(),jo(3,"div",3),jo(4,"table",4),Ko(5,5),zo(6,jH,3,3,"th",6),zo(7,YH,2,1,"td",7),Uo(),Ko(8,8),zo(9,NH,3,3,"th",6),zo(10,KH,2,1,"td",9),Uo(),Ko(11,10),zo(12,UH,3,3,"th",6),zo(13,qH,2,1,"td",9),Uo(),Ko(14,11),zo(15,VH,3,3,"th",6),zo(16,WH,2,1,"td",9),Uo(),Ko(17,12),zo(18,GH,3,3,"th",6),zo(19,$H,2,1,"td",9),Uo(),zo(20,JH,1,0,"tr",13),zo(21,ZH,1,0,"tr",14),Yo(),Yo(),jo(22,"mat-paginator",15),$o("page",(function(t){return e.page.emit(t)})),Yo(),Yo(),Yo(),zo(23,QH,3,3,"app-alert",16)),2&t&&(Oo("hidden",0===e.dataSource.filteredData.length||0===e.publicationSystems.length),Ds(4),Oo("dataSource",e.dataSource),Ds(16),Oo("matHeaderRowDef",e.displayedColumns),Ds(1),Oo("matRowDefColumns",e.displayedColumns),Ds(1),Oo("length",e.publicationSystems.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ds(1),Oo("ngIf",0===e.dataSource.filteredData.length&&0!==e.publicationSystems.length))},directives:[TI,iS,xL,cS,oS,sS,dS,pS,Fz,fh,lS,BL,hS,mS,yS,iR],pipes:[HT],styles:[""]}),t})();function tO(t,e){1&t&&No(0,"mat-spinner",6)}function eO(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-publication-systems-list",7),$o("page",(function(e){return ai(t),ta().pageChanged(e)})),Yo()}if(2&t){const t=ta();Oo("publicationSystems",t.publicationSystems)("filterValue",t.filterValue)("pageSize",t.pageSize)}}let iO=(()=>{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)(Fo(Xd),Fo(cF))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),jo(4,"perun-web-apps-refresh-button",2),$o("refresh",(function(){return e.refreshTable()})),Yo(),jo(5,"perun-web-apps-immediate-filter",3),$o("filter",(function(t){return e.applyFilter(t)})),Yo(),zo(6,tO,1,0,"mat-spinner",4),zo(7,eO,1,3,"perun-web-apps-publication-systems-list",5),Yo()),2&t&&(Ds(2),Ma(Uc(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),Ds(3),Oo("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),Ds(1),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",e.publicationSystems&&!e.loading))},directives:[hF,_H,fh,GE,XH],pipes:[HT],styles:[""]}),t})();function nO(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-publications-list",11),$o("page",(function(e){return ai(t),ta(2).pageChanged(e)})),Yo()}if(2&t){const t=ta(2);Oo("publications",t.publications)("selection",t.selected)("pageSize",t.pageSize)("routerPath","/authors/"+t.author.id+"/publication")}}function sO(t,e){if(1&t){const t=Vo();jo(0,"div"),jo(1,"h5"),Sa(2),Kc(3,"userFullName"),Kc(4,"translate"),Yo(),jo(5,"div",6),jo(6,"perun-web-apps-refresh-button",7),$o("refresh",(function(){return ai(t),ta().refreshTable()})),Yo(),jo(7,"button",8),$o("click",(function(){return ai(t),ta().removePublication()})),Sa(8),Kc(9,"translate"),Yo(),jo(10,"perun-web-apps-publication-filter",9),$o("filteredPublication",(function(e){return ai(t),ta().filterPublication(e)})),Yo(),Yo(),zo(11,nO,1,4,"perun-web-apps-publications-list",10),Yo()}if(2&t){const t=ta();Ds(2),Da("",Uc(3,5,t.author),"",Uc(4,7,"AUTHOR_DETAIL.TITLE"),""),Ds(5),Oo("disabled",0===t.selected.selected.length),Ds(1),Ea(" ",Uc(9,9,"AUTHOR_DETAIL.REMOVE")," "),Ds(3),Oo("ngIf",!t.loading)}}function rO(t,e){1&t&&No(0,"mat-spinner",12)}let oO=(()=>{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 ay(!0,[]),this.tableId=lF}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=uT();t.width="500px",t.data=this.selected.selected,this.dialog.open(rF,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)(Fo(fg),Fo(Xd),Fo(cF),Fo(ff),Fo(tT))},t.\u0275cmp=pe({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),Sa(3,"assignment_ind"),Yo(),jo(4,"span",3),Sa(5),Kc(6,"translate"),Yo(),Yo(),zo(7,sO,12,11,"div",4),zo(8,rO,1,0,"mat-spinner",5),Yo()),2&t&&(Ds(5),Ma(Uc(6,3,"AUTHORS_PAGE.TITLE")),Ds(2),Oo("ngIf",!e.initLoading),Ds(1),Oo("ngIf",e.loading||e.initLoading))},directives:[hC,fh,hF,UT,vF,eF,GE],pipes:[HT,ND],styles:[""]}),t})();const aO=function(){return["id","name","organization","email","add"]};function cO(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-authors-list",14),$o("addAuthor",(function(e){return ai(t),ta(3).addAuthor(e)}))("page",(function(e){return ai(t),ta(3).pageChangedAuthors(e)})),Yo()}if(2&t){const t=ta(3);Oo("authors",t.authors)("disableRouting",!0)("pageSize",t.pageSizeAuthors)("displayedColumns",Hc(4,aO))}}function uO(t,e){1&t&&(jo(0,"app-alert",15),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Oo("alert_type","info"),Ds(1),Ea(" ",Uc(2,2,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function lO(t,e){if(1&t&&(jo(0,"div"),zo(1,cO,1,5,"perun-web-apps-authors-list",13),zo(2,uO,3,4,"app-alert",12),Yo()),2&t){const t=ta(2);Ds(1),Oo("ngIf",t.firstSearchDone),Ds(1),Oo("ngIf",!t.firstSearchDone)}}function hO(t,e){1&t&&No(0,"mat-spinner",16)}const dO=function(){return["id","name","organization","email","remove"]};function fO(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-authors-list",18),$o("removeAuthor",(function(e){return ai(t),ta(3).removeAuthor(e)}))("page",(function(e){return ai(t),ta(3).pageChangedAuthorsToAdd(e)})),Yo()}if(2&t){const t=ta(3);Oo("reloadTable",t.reloadTable)("authors",t.authorsToAdd)("disableRouting",!0)("pageSize",t.pageSizeAddAuthors)("displayedColumns",Hc(5,dO))}}function pO(t,e){if(1&t&&(jo(0,"div"),zo(1,fO,1,6,"perun-web-apps-authors-list",17),Yo()),2&t){const t=ta(2);Ds(1),Oo("ngIf",t.firstSearchDone)}}function gO(t,e){1&t&&(jo(0,"app-alert",15),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),Ds(1),Ea(" ",Uc(2,2,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function mO(t,e){if(1&t&&(jo(0,"div"),zo(1,lO,3,2,"div",6),zo(2,hO,1,0,"mat-spinner",7),jo(3,"h2",11),Sa(4),Kc(5,"translate"),Yo(),zo(6,pO,2,1,"div",6),zo(7,gO,3,4,"app-alert",12),Yo()),2&t){const t=ta();Ds(1),Oo("ngIf",!t.searchLoading),Ds(1),Oo("ngIf",t.searchLoading),Ds(2),Ma(Uc(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")),Ds(2),Oo("ngIf",t.firstSearchDone&&0!==t.authorsToAdd.length),Ds(1),Oo("ngIf",0===t.authorsToAdd.length)}}function _O(t,e){1&t&&No(0,"mat-spinner",16)}let yO=(()=>{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=uF,this.selection=new ay(!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 oE("",[vM.required,vM.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)(Fo($k),Fo(Jk),Fo(pC),Fo(cF),Fo(Xd),Fo(FT))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),jo(4,"div",2),jo(5,"mat-form-field",3),jo(6,"label"),jo(7,"input",4),$o("keyup.enter",(function(){return e.onSearchByString()})),Kc(8,"translate"),Yo(),Yo(),jo(9,"mat-error"),Sa(10),Kc(11,"translate"),Yo(),Yo(),jo(12,"button",5),$o("click",(function(){return e.onSearchByString()})),jo(13,"mat-icon"),Sa(14,"search"),Yo(),Yo(),zo(15,mO,8,7,"div",6),Yo(),zo(16,_O,1,0,"mat-spinner",7),jo(17,"div",8),jo(18,"button",9),$o("click",(function(){return e.onCancel()})),Sa(19),Kc(20,"translate"),Yo(),jo(21,"button",10),$o("click",(function(){return e.onAdd()})),Sa(22),Kc(23,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(2),Ma(Uc(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),Ds(5),sa("placeholder",Uc(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),Oo("formControl",e.searchControl),Ds(3),Ea(" ",Uc(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),Ds(2),Oo("disabled",e.searchLoading||""===e.searchControl.value.trim()),Ds(3),Oo("ngIf",!e.loading),Ds(1),Oo("ngIf",e.loading),Ds(3),Ea(" ",Uc(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),Ds(2),Oo("disabled",0===e.authorsToAdd.length||e.loading),Ds(1),Ea(" ",Uc(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[iT,nT,eM,HE,cM,pM,yE,jS,UT,hC,fh,sT,XF,iR,GE],pipes:[HT],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),t})();function wO(t,e){if(1&t){const t=Vo();jo(0,"button",6),$o("click",(function(){return ai(t),ta().onAddAuthors()})),Sa(1),Kc(2,"translate"),Yo()}2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATION_DETAIL.ADD")," "))}function bO(t,e){if(1&t){const t=Vo();jo(0,"button",7),$o("click",(function(){return ai(t),ta().onRemoveAuthors()})),Sa(1),Kc(2,"translate"),Yo()}if(2&t){const t=ta();Oo("disabled",0===t.selection.selected.length||t.publication.locked),Ds(1),Ea(" ",Uc(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function vO(t,e){1&t&&No(0,"mat-spinner",8)}const AO=function(){return["id","name","organization","email"]},kO=function(){return["select","id","name","organization","email"]};function TO(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-authors-list",9),$o("page",(function(e){return ai(t),ta().pageChanged(e)})),Yo()}if(2&t){const t=ta();Oo("authors",t.publication.authors)("selection",t.selection)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",t.publication.locked?Hc(5,AO):Hc(6,kO))}}let CO=(()=>{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 ay(!0,[]),this.filterValue="",this.loading=!1,this.tableId=uF}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=uT();t.width="800px",t.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(yO,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const t=uT();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(uR,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)(Fo(tT),Fo(Xd),Fo(pC),Fo(FT),Fo(cF))},t.\u0275cmp=pe({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),zo(1,wO,3,3,"button",1),zo(2,bO,3,4,"button",2),jo(3,"perun-web-apps-immediate-filter",3),$o("filter",(function(t){return e.applyFilter(t)})),Yo(),zo(4,vO,1,0,"mat-spinner",4),zo(5,TO,1,7,"perun-web-apps-authors-list",5),Yo()),2&t&&(Ds(1),Oo("ngIf",!e.publication.locked),Ds(1),Oo("ngIf",!e.publication.locked),Ds(1),Oo("placeholder","PUBLICATION_DETAIL.FILTER"),Ds(1),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[fh,_H,UT,GE,XF],pipes:[HT],styles:[""]}),t})();function SO(t,e){if(1&t){const t=Vo();jo(0,"th",18),jo(1,"mat-checkbox",19),$o("change",(function(e){ai(t);const i=ta();return e?i.masterToggle():null})),Yo(),Yo()}if(2&t){const t=ta();Ds(1),Oo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function MO(t,e){if(1&t){const t=Vo();jo(0,"td",20),jo(1,"mat-checkbox",21),$o("change",(function(i){ai(t);const n=e.$implicit,s=ta();return i?s.selection.toggle(n):null}))("click",(function(e){return ai(t),e.stopPropagation()})),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ta();Ds(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function EO(t,e){1&t&&(jo(0,"th",22),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")))}function DO(t,e){if(1&t&&(jo(0,"td",20),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ea(" ",t.id," ")}}function RO(t,e){1&t&&(jo(0,"th",22),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")))}function xO(t,e){if(1&t&&(jo(0,"td",23),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.name)}}function PO(t,e){1&t&&(jo(0,"th",22),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")))}function LO(t,e){if(1&t&&(jo(0,"td",23),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.contact)}}function zO(t,e){1&t&&(jo(0,"th",22),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")))}function IO(t,e){if(1&t&&(jo(0,"td",23),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.type)}}function FO(t,e){1&t&&No(0,"tr",24)}function HO(t,e){1&t&&No(0,"tr",25)}function OO(t,e){1&t&&(jo(0,"app-alert",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS")))}function BO(t,e){1&t&&(jo(0,"app-alert",26),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS")))}let jO=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.owners=[],this.hideColumns=[],this.selection=new ay(!0,[]),this.pageSize=10,this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.page=new Wc,this.pageSizeOptions=aT}set matPaginator(t){this.paginator=t}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){pT(fT(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>hT(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>lT(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new vS(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(Fo(vf),Fo(wC))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(t,e){var i;1&t&&(ru(Fz,!0),ru(xL,!0)),2&t&&(su(i=hu())&&(e.matPaginator=i.first),su(i=hu())&&(e.matSort=i.first))},inputs:{owners:"owners",hideColumns:"hideColumns",selection:"selection",pageSize:"pageSize",filterValue:"filterValue",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[Ie],decls:25,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[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","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSizeOptions","pageSize","page"],["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,"div",1),jo(2,"perun-web-apps-table-options",2),$o("exportData",(function(t){return e.exportData(t)})),Yo(),jo(3,"div",3),jo(4,"table",4),Ko(5,5),zo(6,SO,2,3,"th",6),zo(7,MO,2,2,"td",7),Uo(),Ko(8,8),zo(9,EO,3,3,"th",9),zo(10,DO,2,1,"td",7),Uo(),Ko(11,10),zo(12,RO,3,3,"th",9),zo(13,xO,2,1,"td",11),Uo(),Ko(14,12),zo(15,PO,3,3,"th",9),zo(16,LO,2,1,"td",11),Uo(),Ko(17,13),zo(18,zO,3,3,"th",9),zo(19,IO,2,1,"td",11),Uo(),zo(20,FO,1,0,"tr",14),zo(21,HO,1,0,"tr",15),Yo(),Yo(),jo(22,"mat-paginator",16),$o("page",(function(t){return e.pageChanged(t)})),Yo(),Yo(),Yo(),zo(23,OO,3,3,"app-alert",17),zo(24,BO,3,3,"app-alert",17)),2&t&&(Oo("hidden",!e.dataSource.filteredData.length),Ds(4),Oo("dataSource",e.dataSource),Ds(16),Oo("matHeaderRowDef",e.displayedColumns),Ds(1),Oo("matRowDefColumns",e.displayedColumns),Ds(1),Oo("length",e.owners.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),Ds(1),Oo("ngIf",!e.owners.length),Ds(1),Oo("ngIf",!e.dataSource.filteredData.length&&e.owners.length))},directives:[TI,iS,xL,cS,oS,sS,dS,pS,Fz,fh,lS,RP,hS,BL,mS,yS,iR],pipes:[HT],styles:[""]}),t})();function YO(t,e){1&t&&No(0,"mat-spinner",4)}const NO=function(){return["select","id","name","contact"]};function KO(t,e){if(1&t){const t=Vo();jo(0,"div"),jo(1,"div",5),jo(2,"perun-web-apps-immediate-filter",6),$o("filter",(function(e){return ai(t),ta().filterValue=e})),Yo(),jo(3,"perun-web-apps-owners-list",7),$o("page",(function(e){return ai(t),ta().pageChanged(e)})),Yo(),Yo(),jo(4,"div",8),jo(5,"button",9),$o("click",(function(){return ai(t),ta().onCancel()})),Sa(6),Kc(7,"translate"),Yo(),jo(8,"button",10),$o("click",(function(){return ai(t),ta().onSubmit()})),Sa(9),Kc(10,"translate"),Yo(),Yo(),Yo()}if(2&t){const t=ta();Ds(2),Oo("placeholder","DIALOGS.ADD_THANKS.FILTER"),Ds(1),Oo("owners",t.owners)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",Hc(13,NO))("selection",t.selected),Ds(3),Ea(" ",Uc(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),Ds(2),Oo("disabled",0===t.selected.selected.length||t.loading),Ds(1),Ea(" ",Uc(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let UO=(()=>{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 ay(!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(t=>{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)(Fo($k),Fo(Jk),Fo(af),Fo(Zm),Fo(cF),Fo(pC),Fo(FT),Fo(Xd))},t.\u0275cmp=pe({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),Sa(2),Kc(3,"translate"),Yo(),zo(4,YO,1,0,"mat-spinner",2),zo(5,KO,11,14,"div",3),Yo()),2&t&&(Ds(2),Ma(Uc(3,3,"DIALOGS.ADD_THANKS.TITLE")),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[iT,fh,GE,nT,_H,jO,sT,UT],pipes:[HT],styles:[""]}),t})();function qO(t,e){if(1&t){const t=Vo();jo(0,"th",17),jo(1,"mat-checkbox",18),$o("change",(function(e){ai(t);const i=ta();return e?i.masterToggle():null})),Yo(),Yo()}if(2&t){const t=ta();Ds(1),Oo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function VO(t,e){if(1&t){const t=Vo();jo(0,"td",19),jo(1,"mat-checkbox",20),$o("change",(function(i){ai(t);const n=e.$implicit,s=ta();return i?s.selection.toggle(n):null}))("click",(function(e){return ai(t),e.stopPropagation()})),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ta();Ds(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function WO(t,e){1&t&&(jo(0,"th",21),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"THANKS_LIST.ID")))}function GO(t,e){if(1&t&&(jo(0,"td",19),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.ownerId)}}function $O(t,e){1&t&&(jo(0,"th",21),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"THANKS_LIST.NAME")))}function JO(t,e){if(1&t&&(jo(0,"td",22),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.ownerName)}}function ZO(t,e){1&t&&(jo(0,"th",21),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ma(Uc(2,1,"THANKS_LIST.CREATED_BY")))}function QO(t,e){if(1&t&&(jo(0,"td",22),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ma(t.createdBy)}}function XO(t,e){1&t&&No(0,"tr",23)}function tB(t,e){1&t&&No(0,"tr",24)}function eB(t,e){1&t&&(jo(0,"app-alert",25),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),Ds(1),Ea(" ",Uc(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function iB(t,e){1&t&&(jo(0,"app-alert",25),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),Ds(1),Ea(" ",Uc(2,2,"THANKS_LIST.NO_THANKS"),"\n"))}let nB=(()=>{class t{constructor(t){this.tableCheckbox=t,this.thanks=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=aT,this.selection=new ay(!0,[]),this.pageChanged=new Wc}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(){this.dataSource=new vS(this.thanks),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.paginator}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>hT(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>lT(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}getDataForColumn(t,e){switch(e){case"id":return t.ownerId.toString();case"name":return t.ownerName;default:return t[e]}}exportData(t){pT(fT(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.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)(Fo(wC))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(t,e){var i;1&t&&(ru(xL,!0),ru(Fz,!0)),2&t&&(su(i=hu())&&(e.matSort=i.first),su(i=hu())&&(e.matPaginator=i.first))},inputs:{thanks:"thanks",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},outputs:{pageChanged:"pageChanged"},features:[Ie],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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,"length","pageSize","pageSizeOptions","page"],[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,"div",1),jo(2,"perun-web-apps-table-options",2),$o("exportData",(function(t){return e.exportData(t)})),Yo(),jo(3,"div",3),jo(4,"table",4),Ko(5,5),zo(6,qO,2,3,"th",6),zo(7,VO,2,2,"td",7),Uo(),Ko(8,8),zo(9,WO,3,3,"th",9),zo(10,GO,2,1,"td",7),Uo(),Ko(11,10),zo(12,$O,3,3,"th",9),zo(13,JO,2,1,"td",11),Uo(),Ko(14,12),zo(15,ZO,3,3,"th",9),zo(16,QO,2,1,"td",11),Uo(),zo(17,XO,1,0,"tr",13),zo(18,tB,1,0,"tr",14),Yo(),Yo(),jo(19,"mat-paginator",15),$o("page",(function(t){return e.pageChanged.emit(t)})),Yo(),Yo(),Yo(),zo(20,eB,3,4,"app-alert",16),zo(21,iB,3,4,"app-alert",16)),2&t&&(Oo("hidden",0===e.thanks.length||0===e.dataSource.filteredData.length),Ds(4),Oo("dataSource",e.dataSource),Ds(13),Oo("matHeaderRowDef",e.displayedColumns),Ds(1),Oo("matRowDefColumns",e.displayedColumns),Ds(1),Oo("length",e.thanks.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ds(1),Oo("ngIf",0!==e.thanks.length&&0===e.dataSource.filteredData.length),Ds(1),Oo("ngIf",0===e.thanks.length))},directives:[TI,iS,xL,cS,oS,sS,dS,pS,Fz,fh,lS,RP,hS,BL,mS,yS,iR],pipes:[HT],styles:[""]}),t})();function sB(t,e){if(1&t){const t=Vo();jo(0,"button",6),$o("click",(function(){return ai(t),ta().onAddThanks()})),Sa(1),Kc(2,"translate"),Yo()}2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATION_DETAIL.ADD")," "))}function rB(t,e){if(1&t){const t=Vo();jo(0,"button",7),$o("click",(function(){return ai(t),ta().onRemoveThanks()})),Sa(1),Kc(2,"translate"),Yo()}2&t&&(Oo("disabled",0===ta().selection.selected.length),Ds(1),Ea(" ",Uc(2,2,"PUBLICATION_DETAIL.REMOVE")," "))}function oB(t,e){1&t&&No(0,"mat-spinner",8)}const aB=function(){return["id","name","createdBy"]},cB=function(){return["select","id","name","createdBy"]};function uB(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-thanks-list",9),$o("pageChanged",(function(e){return ai(t),ta().pageChanged(e)})),Yo()}if(2&t){const t=ta();Oo("thanks",t.publication.thanks)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",t.publication.locked?Hc(5,aB):Hc(6,cB))("selection",t.selection)}}let lB=(()=>{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 ay(!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=uT();t.width="800px",t.data=this.publication,this.dialog.open(UO,t).afterClosed().subscribe(t=>{t&&this.refresh()})}onRemoveThanks(){const t=uT();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(uR,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)(Fo(tT),Fo(Xd),Fo(pC),Fo(FT),Fo(cF))},t.\u0275cmp=pe({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","pageChanged",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","pageChanged"]],template:function(t,e){1&t&&(jo(0,"div",0),zo(1,sB,3,3,"button",1),zo(2,rB,3,4,"button",2),jo(3,"perun-web-apps-immediate-filter",3),$o("filter",(function(t){return e.applyFilter(t)})),Yo(),zo(4,oB,1,0,"mat-spinner",4),zo(5,uB,1,7,"perun-web-apps-thanks-list",5),Yo()),2&t&&(Ds(1),Oo("ngIf",!e.publication.locked),Ds(1),Oo("ngIf",!e.publication.locked),Ds(1),Oo("placeholder","PUBLICATION_DETAIL.FILTER"),Ds(1),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[fh,_H,UT,GE,nB],pipes:[HT],styles:[""]}),t})();function hB(t,e){1&t&&No(0,"mat-spinner",2)}function dB(t,e){if(1&t&&(jo(0,"h3",15),Sa(1),Yo()),2&t){const t=ta(2);Ds(1),Ma(t.publication.title)}}function fB(t,e){if(1&t){const t=Vo();jo(0,"button",16),$o("click",(function(){ai(t);const e=ta(2);return e.editing=!e.editing})),Kc(1,"translate"),jo(2,"mat-icon",17),Sa(3,"edit"),Yo(),Yo()}2&t&&sa("matTooltip",Uc(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function pB(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function gB(t,e){if(1&t&&(jo(0,"mat-form-field",18),No(1,"textarea",19),zo(2,pB,3,3,"mat-error",1),Yo()),2&t){const t=ta(2);Ds(1),Oo("formControl",t.titleControl),Ds(1),Oo("ngIf",t.titleControl.invalid)}}function mB(t,e){if(1&t){const t=Vo();jo(0,"button",20),$o("click",(function(){return ai(t),ta(2).save()})),Kc(1,"translate"),jo(2,"mat-icon",17),Sa(3,"save"),Yo(),Yo()}if(2&t){const t=ta(2);sa("matTooltip",Uc(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),Oo("disabled",t.titleControl.invalid)}}function _B(t,e){1&t&&No(0,"th",21)}function yB(t,e){if(1&t&&(jo(0,"td",22),Sa(1),Yo()),2&t){const t=e.$implicit;Ds(1),Ea(" ",t.key,": ")}}function wB(t,e){1&t&&No(0,"th",21)}function bB(t,e){if(1&t&&(jo(0,"span"),Sa(1),jo(2,"span",24),Sa(3),Kc(4,"translate"),Yo(),Sa(5),jo(6,"span",24),Sa(7),Kc(8,"translate"),Yo(),Sa(9),Yo()),2&t){const t=ta().$implicit,e=ta(2);Ds(1),Ea(" ",t.value," / "),Ds(2),Ea("",Uc(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),Ds(2),Ea(" ",e.publication.externalId," "),Ds(2),Ea("",Uc(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),Ds(2),Ea(" ",e.publication.pubSystemName," ")}}function vB(t,e){if(1&t&&(jo(0,"span"),Sa(1),Kc(2,"date"),Yo()),2&t){const t=ta().$implicit;Ds(1),Ea(" ",function(t,e,i,n){const s=ri(),r=$e(s,2);return Vc(s,qc(s,2)?Nc(s,pi(),1,r.transform,i,n,r):r.transform(i,n))}(0,0,t.value,"dd/MM/yyyy")," ")}}function AB(t,e){if(1&t&&(jo(0,"span"),Sa(1),Yo()),2&t){const t=ta().$implicit;Ds(1),Ea(" ",t.value," ")}}function kB(t,e){if(1&t&&(jo(0,"span"),Sa(1),Yo()),2&t){const t=ta(3).$implicit;Ds(1),Ea(" ",t.value," ")}}function TB(t,e){if(1&t&&(jo(0,"span"),zo(1,kB,2,1,"span",1),Yo()),2&t){const t=ta(2).$implicit;Ds(1),Oo("ngIf","Id / Origin"!==t.key&&"Create date"!==t.key&&"Created by"!==t.key)}}function CB(t,e){1&t&&(jo(0,"span"),Sa(1," - "),Yo())}function SB(t,e){if(1&t&&(jo(0,"div"),zo(1,TB,2,1,"span",1),zo(2,CB,2,0,"span",1),Yo()),2&t){const t=ta().$implicit;Ds(1),Oo("ngIf",null!==t.value&&""!==t.value),Ds(1),Oo("ngIf",null===t.value||""===t.value)}}function MB(t,e){if(1&t){const t=Vo();jo(0,"mat-form-field",26),$o("click",(function(){return ai(t),Io(7).open()})),jo(1,"mat-label"),Sa(2),Kc(3,"translate"),Yo(),No(4,"input",27),No(5,"mat-datepicker-toggle",28),jo(6,"mat-datepicker",29,30),$o("yearSelected",(function(e){ai(t);const i=Io(7);return ta(4).chosenYearHandler(e,i)})),Yo(),Yo()}if(2&t){const t=Io(7),e=ta(4);Ds(2),Ma(Uc(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),Ds(2),Oo("max",e.maxYear)("matDatepicker",t)("formControl",e.yearControl),Ds(1),Oo("for",t)}}function EB(t,e){if(1&t&&(jo(0,"mat-option",33),Sa(1),Yo()),2&t){const t=e.$implicit;Oo("value",t.name),Ds(1),Ea(" ",t.name," ")}}function DB(t,e){if(1&t&&(jo(0,"mat-form-field"),jo(1,"mat-select",31),zo(2,EB,2,2,"mat-option",32),Yo(),Yo()),2&t){const t=ta(4);Ds(1),Oo("formControl",t.categoryControl),Ds(1),Oo("ngForOf",t.categories)}}function RB(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function xB(t,e){if(1&t&&(jo(0,"mat-form-field"),No(1,"input",34),zo(2,RB,3,3,"mat-error",1),Yo()),2&t){const t=ta(4);Ds(1),Oo("formControl",t.rankControl),Ds(1),Oo("ngIf",t.rankControl.invalid)}}function PB(t,e){if(1&t){const t=Vo();jo(0,"mat-form-field",18),jo(1,"input",35),$o("ngModelChange",(function(e){return ai(t),ta(4).publication.isbn=e})),Yo(),Yo()}if(2&t){const t=ta(4);Ds(1),Oo("ngModel",t.publication.isbn)}}function LB(t,e){if(1&t){const t=Vo();jo(0,"mat-form-field",18),jo(1,"input",35),$o("ngModelChange",(function(e){return ai(t),ta(4).publication.doi=e})),Yo(),Yo()}if(2&t){const t=ta(4);Ds(1),Oo("ngModel",t.publication.doi)}}function zB(t,e){if(1&t){const t=Vo();jo(0,"mat-form-field",18),jo(1,"textarea",36),$o("ngModelChange",(function(e){return ai(t),ta(4).publication.main=e})),Yo(),Yo()}if(2&t){const t=ta(4);Ds(1),Oo("ngModel",t.publication.main)}}function IB(t,e){if(1&t&&(jo(0,"div"),zo(1,MB,8,7,"mat-form-field",25),zo(2,DB,3,2,"mat-form-field",1),zo(3,xB,3,2,"mat-form-field",1),zo(4,PB,2,1,"mat-form-field",6),zo(5,LB,2,1,"mat-form-field",6),zo(6,zB,2,1,"mat-form-field",6),Yo()),2&t){const t=ta().$implicit;Ds(1),Oo("ngIf","Year"===t.key),Ds(1),Oo("ngIf","Category"===t.key),Ds(1),Oo("ngIf","Rank"===t.key),Ds(1),Oo("ngIf","ISBN / ISSN"===t.key),Ds(1),Oo("ngIf","DOI"===t.key),Ds(1),Oo("ngIf","Full cite"===t.key)}}function FB(t,e){if(1&t&&(jo(0,"td",23),zo(1,bB,10,9,"span",1),zo(2,vB,3,4,"span",1),zo(3,AB,2,1,"span",1),zo(4,SB,3,2,"div",1),zo(5,IB,7,6,"div",1),Yo()),2&t){const t=e.$implicit,i=ta(2);Ds(1),Oo("ngIf","Id / Origin"===t.key),Ds(1),Oo("ngIf","Create date"===t.key),Ds(1),Oo("ngIf","Created by"===t.key),Ds(1),Oo("ngIf",!i.editing),Ds(1),Oo("ngIf",i.editing)}}function HB(t,e){1&t&&No(0,"tr",37)}function OB(t,e){if(1&t&&(jo(0,"div"),jo(1,"div",3),zo(2,dB,2,1,"h3",4),zo(3,fB,4,3,"button",5),zo(4,gB,3,2,"mat-form-field",6),zo(5,mB,4,4,"button",7),Yo(),jo(6,"table",8),Ko(7,9),zo(8,_B,1,0,"th",10),zo(9,yB,2,1,"td",11),Uo(),Ko(10,12),zo(11,wB,1,0,"th",10),zo(12,FB,6,5,"td",13),Uo(),zo(13,HB,1,0,"tr",14),Yo(),Yo()),2&t){const t=ta();Ds(2),Oo("ngIf",!t.editing),Ds(1),Oo("ngIf",!t.editing&&!t.publication.locked),Ds(1),Oo("ngIf",t.editing),Ds(1),Oo("ngIf",t.editing),Ds(1),Oo("dataSource",t.dataSource),Ds(7),Oo("matRowDefColumns",t.displayedColumns)}}const BB=dF,jB={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let YB=(()=>{class t{constructor(t,e,i){this.cabinetService=t,this.notificator=e,this.translate=i,this.categories=[],this.edited=new Wc,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new ay(!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)(Fo(Xd),Fo(pC),Fo(FT))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[Ya([{provide:sk,useClass:mF,deps:[nk]},{provide:rk,useValue:jB}])],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"),zo(1,hB,1,0,"mat-spinner",0),zo(2,OB,14,6,"div",1),Yo()),2&t&&(Ds(1),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[fh,GE,iS,cS,oS,sS,pS,UT,Az,hC,eM,HE,cM,pM,yE,jS,lS,hS,VS,FD,OD,$S,PD,oz,hh,Bk,pE,yS],pipes:[HT,Eh],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 NB(t,e){1&t&&No(0,"mat-spinner",3)}function KB(t,e){1&t&&(jo(0,"h1",11),jo(1,"span"),jo(2,"mat-icon",12),Sa(3,"assignment_ind"),Yo(),Sa(4),Kc(5,"translate"),Yo(),Yo()),2&t&&(Ds(4),Ea(" ",Uc(5,1,"AUTHORS_PAGE.TITLE")," "))}function UB(t,e){1&t&&(jo(0,"h1",11),No(1,"mat-icon",13),jo(2,"span",14),Sa(3),Kc(4,"translate"),Yo(),Yo()),2&t&&(Ds(3),Ma(Uc(4,1,"ALL_PUBLICATIONS.TITLE")))}function qB(t,e){1&t&&(jo(0,"h1",11),jo(1,"span"),jo(2,"mat-icon",12),Sa(3,"local_library"),Yo(),Sa(4),Kc(5,"translate"),Yo(),Yo()),2&t&&(Ds(4),Ea(" ",Uc(5,1,"MY_PUBLICATIONS.TITLE")," "))}function VB(t,e){if(1&t&&(jo(0,"h5",15),Sa(1),Kc(2,"userFullName"),Kc(3,"translate"),Yo()),2&t){const t=ta(2);Ds(1),Da("",Uc(2,2,t.mainAuthor),"",Uc(3,4,"AUTHOR_DETAIL.TITLE"),"")}}function WB(t,e){1&t&&(jo(0,"span",16),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function GB(t,e){1&t&&(jo(0,"mat-icon"),Sa(1," lock "),Yo())}function $B(t,e){1&t&&(jo(0,"span",16),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function JB(t,e){1&t&&(jo(0,"mat-icon"),Sa(1," lock_open "),Yo())}function ZB(t,e){1&t&&No(0,"mat-spinner",3)}function QB(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-publication-detail-list",17),$o("edited",(function(){return ai(t),ta(2).refreshPublication()})),Yo()}if(2&t){const t=ta(2);Oo("publication",t.publication)("categories",t.categories)}}function XB(t,e){if(1&t){const t=Vo();jo(0,"div"),zo(1,KB,6,3,"h1",4),zo(2,UB,5,3,"h1",4),zo(3,qB,6,3,"h1",4),zo(4,VB,4,6,"h5",5),jo(5,"h5"),Sa(6),Kc(7,"translate"),Yo(),jo(8,"h6"),Sa(9),Kc(10,"translate"),jo(11,"button",6),$o("click",(function(){return ai(t),ta().changeLock()})),zo(12,WB,3,3,"span",7),zo(13,GB,2,0,"mat-icon",2),zo(14,$B,3,3,"span",7),zo(15,JB,2,0,"mat-icon",2),Yo(),Yo(),jo(16,"mat-card"),jo(17,"mat-card-content"),zo(18,ZB,1,0,"mat-spinner",1),zo(19,QB,1,2,"perun-web-apps-publication-detail-list",8),Yo(),Yo(),jo(20,"mat-card",9),jo(21,"mat-card-title"),Sa(22),Kc(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"),Sa(28),Kc(29,"translate"),Yo(),jo(30,"mat-card-content"),No(31,"perun-web-apps-add-thanks",10),Yo(),Yo(),Yo()}if(2&t){const t=ta();Ds(1),Oo("ngIf","authors"===t.mode),Ds(1),Oo("ngIf","all"===t.mode),Ds(1),Oo("ngIf","my"===t.mode),Ds(1),Oo("ngIf",void 0!==t.mainAuthor),Ds(2),Ma(Uc(7,18,"PUBLICATION_DETAIL.TITLE")),Ds(3),Ea(" ",Uc(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),Ds(3),Oo("ngIf",t.publication.locked),Ds(1),Oo("ngIf",t.publication.locked),Ds(1),Oo("ngIf",!t.publication.locked),Ds(1),Oo("ngIf",!t.publication.locked),Ds(3),Oo("ngIf",t.loading||t.pubLoading),Ds(1),Oo("ngIf",!t.pubLoading&&!t.loading),Ds(3),Ea(" ",Uc(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),Ds(3),Oo("publication",t.publication)("selection",t.selectionAuthors),Ds(3),Ea(" ",Uc(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),Ds(3),Oo("publication",t.publication)("selection",t.selectionThanks)}}let tj=(()=>{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 ay(!0,[]),this.selectionThanks=new ay(!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":"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)(Fo(fg),Fo(Xd),Fo(iC),Fo(sd),Fo(tT),Fo(pC),Fo(FT))},t.\u0275cmp=pe({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),zo(1,NB,1,0,"mat-spinner",1),zo(2,XB,32,26,"div",2),Yo()),2&t&&(Ds(1),Oo("ngIf",e.initLoading),Ds(1),Oo("ngIf",!e.initLoading))},directives:[fh,GE,UT,yP,mP,_P,CO,lB,hC,YB],pipes:[HT,ND],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),t})(),ej=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,qT,dC,Nm,kI,OT]]}),t})(),ij=(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(Fo(WT))},t.\u0275cmp=pe({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),Sa(4),Kc(5,"translate"),Yo(),jo(6,"button",4),$o("click",(function(){return e.startAuth()})),Sa(7),Kc(8,"translate"),jo(9,"mat-icon"),Sa(10," login "),Yo(),Yo(),Yo(),Yo(),Yo()),2&t&&(Ds(4),Ea(" ",Uc(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),Ds(3),Ea(" ",Uc(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[UT,hC],pipes:[HT],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})();function nj(t,e){1&t&&na(0)}const sj=["*"];function rj(t,e){}const oj=function(t){return{animationDuration:t}},aj=function(t,e){return{value:t,params:e}},cj=["tabBodyWrapper"],uj=["tabHeader"];function lj(t,e){}function hj(t,e){1&t&&zo(0,lj,0,0,"ng-template",9),2&t&&Oo("cdkPortalOutlet",ta().$implicit.templateLabel)}function dj(t,e){1&t&&Sa(0),2&t&&Ma(ta().$implicit.textLabel)}function fj(t,e){if(1&t){const t=Vo();jo(0,"div",6),$o("click",(function(){ai(t);const i=e.$implicit,n=e.index,s=ta(),r=Io(1);return s._handleClick(i,r,n)})),jo(1,"div",7),zo(2,hj,1,1,"ng-template",8),zo(3,dj,1,1,"ng-template",8),Yo(),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ta();pa("mat-tab-label-active",n.selectedIndex==i),Oo("id",n._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||n.disableRipple),Po("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),Ds(2),Oo("ngIf",t.templateLabel),Ds(1),Oo("ngIf",!t.templateLabel)}}function pj(t,e){if(1&t){const t=Vo();jo(0,"mat-tab-body",10),$o("_onCentered",(function(){return ai(t),ta()._removeTabBodyWrapperHeight()}))("_onCentering",(function(e){return ai(t),ta()._setTabBodyWrapperHeight(e)})),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ta();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),Po("aria-labelledby",n._getTabLabelId(i))}}const gj=["tabListContainer"],mj=["tabList"],_j=["nextPaginator"],yj=["previousPaginator"],wj=new Ot("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let bj=(()=>{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)(Fo(qa),Fo(Hu),Fo(wj),Fo(BA,8))},t.\u0275dir=be({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})(),vj=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Fo(gc))},t.\u0275dir=be({type:t,selectors:[["","matTabContent",""]]}),t})(),Aj=(()=>{class t extends by{}return t.\u0275fac=function(e){return kj(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[wo]}),t})();const kj=vn(Aj);class Tj{}const Cj=ZA(Tj),Sj=new Ot("MAT_TAB_GROUP");let Mj=(()=>{class t extends Cj{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){t&&(this._templateLabel=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 my(this._explicitContent||this._implicitContent,this._viewContainerRef)}}return t.\u0275fac=function(e){return new(e||t)(Fo(_c),Fo(Sj,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){var n;1&t&&(cu(i,Aj,!0),uu(i,vj,!0,gc)),2&t&&(su(n=hu())&&(e.templateLabel=n.first),su(n=hu())&&(e._explicitContent=n.first))},viewQuery:function(t,e){var i;1&t&&ru(gc,!0),2&t&&su(i=hu())&&(e._implicitContent=i.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[wo,Ie],ngContentSelectors:sj,decls:1,vars:0,template:function(t,e){1&t&&(ia(),zo(0,nj,1,0,"ng-template"))},encapsulation:2}),t})();const Ej={translateTab:nb("translateTab",[cb("center, void, left-origin-center, right-origin-center",ab({transform:"none"})),cb("left",ab({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),cb("right",ab({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),lb("* => left, * => right, left => center, right => center",sb("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),lb("void => left-origin-center",[ab({transform:"translate3d(-100%, 0, 0)"}),sb("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),lb("void => right-origin-center",[ab({transform:"translate3d(100%, 0, 0)"}),sb("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Dj=(()=>{class t extends vy{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(Zf(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)(Fo(Ua),Fo(_c),Fo(kt(()=>xj)),Fo(pl))},t.\u0275dir=be({type:t,selectors:[["","matTabBodyHost",""]],features:[wo]}),t})(),Rj=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.EMPTY,this._translateTabComplete=new k,this._onCentering=new Wc,this._beforeCentering=new Wc,this._afterLeavingCenter=new Wc,this._onCentered=new Wc(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe(v_((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)(Fo(qa),Fo(sy,8),Fo(Zr))},t.\u0275dir=be({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),xj=(()=>{class t extends Rj{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(sy,8),Fo(Zr))},t.\u0275cmp=pe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var i;1&t&&ou(Ay,!0),2&t&&su(i=hu())&&(e._portalHost=i.first)},hostAttrs:[1,"mat-tab-body"],features:[wo],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(jo(0,"div",0,1),$o("@translateTab.start",(function(t){return e._onTranslateTabStarted(t)}))("@translateTab.done",(function(t){return e._translateTabComplete.next(t)})),zo(2,rj,0,0,"ng-template",2),Yo()),2&t&&Oo("@translateTab",Bc(3,aj,e._position,Oc(1,oj,e.animationDuration)))},directives:[Dj],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:[Ej.translateTab]}}),t})();const Pj=new Ot("MAT_TABS_CONFIG");let Lj=0;class zj{}class Ij{constructor(t){this._elementRef=t}}const Fj=QA(XA(Ij),"primary");let Hj=(()=>{class t extends Fj{constructor(t,e,i,n){super(t),this._changeDetectorRef=e,this._animationMode=n,this._tabs=new $c,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.EMPTY,this._tabLabelSubscription=h.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new Wc,this.focusChange=new Wc,this.animationDone=new Wc,this.selectedTabChange=new Wc(!0),this._groupId=Lj++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Qm(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Xm(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;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,i)=>e.isActive=i===t),e||this.selectedIndexChange.emit(t)})}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||t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new zj;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=q(...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}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Zr),Fo(Pj,8),Fo(BA,8))},t.\u0275dir=be({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:[wo]}),t})(),Oj=(()=>{class t extends Hj{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Zr),Fo(Pj,8),Fo(BA,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,i){var n;1&t&&cu(i,Mj,!0),2&t&&su(n=hu())&&(e._allTabs=n)},viewQuery:function(t,e){var i;1&t&&(ou(cj,!0),ou(uj,!0)),2&t&&(su(i=hu())&&(e._tabBodyWrapper=i.first),su(i=hu())&&(e._tabHeader=i.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:[Ya([{provide:Sj,useExisting:t}]),wo],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",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"],[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),$o("indexFocused",(function(t){return e._focusChanged(t)}))("selectFocusedIndex",(function(t){return e.selectedIndex=t})),zo(2,fj,4,14,"div",2),Yo(),jo(3,"div",3,4),zo(5,pj,1,8,"mat-tab-body",5),Yo()),2&t&&(Oo("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),Ds(2),Oo("ngForOf",e._tabs),Ds(1),pa("_mat-animation-noopable","NoopAnimations"===e._animationMode),Ds(2),Oo("ngForOf",e._tabs))},directives:function(){return[qj,hh,Yj,Mk,Gw,fh,vy,xj]},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 Bj{}const jj=ZA(Bj);let Yj=(()=>{class t extends jj{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)(Fo(qa))},t.\u0275dir=be({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(Po("aria-disabled",!!e.disabled),pa("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[wo]}),t})();const Nj=ty({passive:!0});let Kj=(()=>{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 Wc,this.indexFocused=new Wc,s.runOutsideAngular(()=>{s_(t.nativeElement,"mouseleave").pipe(x_(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Xm(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){s_(this._previousPaginator.nativeElement,"touchstart",Nj).pipe(x_(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),s_(this._nextPaginator.nativeElement,"touchstart",Nj).pipe(x_(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:ld(null),e=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Pw(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),q(t,e,this._items.changes).pipe(x_(this._destroyed)).subscribe(()=>{Promise.resolve().then(i),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(x_(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(!zy(t))switch(t.keyCode){case Dy:this._keyManager.setFirstItemActive(),t.preventDefault();break;case Ey:this._keyManager.setLastItemActive(),t.preventDefault();break;case Cy:case My: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=this._platform,i="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,e&&(e.TRIDENT||e.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(),E_(650,100).pipe(x_(q(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)(Fo(qa),Fo(Zr),Fo(ly),Fo(sy,8),Fo(Hu),Fo(W_),Fo(BA,8))},t.\u0275dir=be({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),Uj=(()=>{class t extends Kj{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=Qm(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(Fo(qa),Fo(Zr),Fo(ly),Fo(sy,8),Fo(Hu),Fo(W_),Fo(BA,8))},t.\u0275dir=be({type:t,inputs:{disableRipple:"disableRipple"},features:[wo]}),t})(),qj=(()=>{class t extends Uj{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)(Fo(qa),Fo(Zr),Fo(ly),Fo(sy,8),Fo(Hu),Fo(W_),Fo(BA,8))},t.\u0275cmp=pe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){var n;1&t&&cu(i,Yj,!1),2&t&&su(n=hu())&&(e._items=n)},viewQuery:function(t,e){var i;1&t&&(ru(bj,!0),ru(gj,!0),ru(mj,!0),ou(_j,!0),ou(yj,!0)),2&t&&(su(i=hu())&&(e._inkBar=i.first),su(i=hu())&&(e._tabListContainer=i.first),su(i=hu())&&(e._tabList=i.first),su(i=hu())&&(e._nextPaginator=i.first),su(i=hu())&&(e._previousPaginator=i.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:[wo],ngContentSelectors:sj,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&&(ia(),jo(0,"div",0,1),$o("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),$o("keydown",(function(t){return e._handleKeydown(t)})),jo(5,"div",5,6),$o("cdkObserveContent",(function(){return e._onContentChanges()})),jo(7,"div",7),na(8),Yo(),No(9,"mat-ink-bar"),Yo(),Yo(),jo(10,"div",8,9),$o("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),Ds(5),pa("_mat-animation-noopable","NoopAnimations"===e._animationMode),Ds(5),pa("mat-tab-header-pagination-disabled",e._disableScrollAfter),Oo("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[Mk,vw,bj],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})(),Vj=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Dh,JA,Ty,Ek,Aw,Xw],JA]}),t})();function Wj(t,e){1&t&&No(0,"mat-spinner",5)}function Gj(t,e){1&t&&(Sa(0),Kc(1,"translate")),2&t&&Ma(Uc(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function $j(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function Jj(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function Zj(t,e){if(1&t&&(jo(0,"mat-option",36),Sa(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),Ds(1),Ea(" ",t.name," ")}}function Qj(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function Xj(t,e){1&t&&(jo(0,"mat-error"),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function tY(t,e){1&t&&(Sa(0),Kc(1,"translate")),2&t&&Ea(" ",Uc(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function eY(t,e){1&t&&(jo(0,"div",28),No(1,"mat-spinner",5),jo(2,"h5",37),Sa(3),Kc(4,"translate"),Yo(),Yo()),2&t&&(Ds(3),Ma(Uc(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")))}function iY(t,e){1&t&&(jo(0,"app-alert",38),jo(1,"div",28),jo(2,"span",39),Sa(3),Kc(4,"translate"),Kc(5,"translate"),Yo(),jo(6,"span",40),jo(7,"mat-icon",41),Sa(8,"fiber_manual_record"),Yo(),Sa(9),Kc(10,"translate"),Yo(),jo(11,"span",42),jo(12,"mat-icon",41),Sa(13,"fiber_manual_record"),Yo(),Sa(14),Kc(15,"translate"),Yo(),Yo(),Yo()),2&t&&(Ds(3),Da(" ",Uc(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",Uc(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),Ds(6),Ea(" ",Uc(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),Ds(5),Ea(" ",Uc(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function nY(t,e){1&t&&(Sa(0),Kc(1,"translate")),2&t&&Ma(Uc(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function sY(t,e){1&t&&No(0,"mat-spinner",5)}const rY=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function oY(t,e){if(1&t){const t=Vo();jo(0,"perun-web-apps-publications-list",48),$o("publicationSelector",(function(e){ai(t),ta(2);const i=Io(1);return ta(2).loadPublicationDetail(e,i)})),Yo()}if(2&t){const t=ta(4);Oo("displayedColumns",Hc(4,rY))("disabledRouting",!0)("openInTab",!0)("publications",t.filteredPublications)}}function aY(t,e){if(1&t&&(jo(0,"div",46),zo(1,sY,1,0,"mat-spinner",3),zo(2,oY,1,5,"perun-web-apps-publications-list",47),Yo()),2&t){const t=ta(3);Ds(1),Oo("ngIf",t.innerLoading),Ds(1),Oo("ngIf",!t.innerLoading)}}function cY(t,e){1&t&&Sa(0),2&t&&Ma(ta(4).selectedPubTitle)}function uY(t,e){if(1&t&&(jo(0,"div",49),No(1,"perun-web-apps-publication-detail",50),Yo()),2&t){const t=ta(4);Ds(1),Oo("publicationId",t.selectedPubId)}}function lY(t,e){1&t&&(jo(0,"mat-tab"),zo(1,cY,1,1,"ng-template",44),zo(2,uY,2,1,"ng-template",45),Yo())}function hY(t,e){if(1&t&&(jo(0,"mat-tab-group",null,43),jo(2,"mat-tab"),zo(3,nY,2,3,"ng-template",44),zo(4,aY,3,2,"ng-template",45),Yo(),zo(5,lY,3,0,"mat-tab",14),Yo()),2&t){const t=ta(2);Ds(5),Oo("ngIf",null!==t.selectedPubId)}}function dY(t,e){1&t&&(jo(0,"div",28),jo(1,"mat-icon",51),Sa(2,"check_circle"),Yo(),jo(3,"h5",52),Sa(4),Kc(5,"translate"),Yo(),Yo()),2&t&&(Ds(4),Ma(Uc(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")))}function fY(t,e){1&t&&(jo(0,"button",34),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function pY(t,e){if(1&t){const t=Vo();jo(0,"button",57),$o("click",(function(){return ai(t),ta(3).redirect(["create-publication"])})),Sa(1),Kc(2,"translate"),Yo()}2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function gY(t,e){if(1&t&&(jo(0,"div",53),zo(1,fY,3,3,"button",54),jo(2,"button",55),Sa(3),Kc(4,"translate"),Yo(),zo(5,pY,3,3,"button",56),Yo()),2&t){const t=ta(2);Ds(1),Oo("ngIf",!t.duplicateCheck),Ds(2),Ea(" ",Uc(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),Ds(2),Oo("ngIf",!t.duplicateCheck)}}function mY(t,e){1&t&&(Sa(0),Kc(1,"translate")),2&t&&Ea(" ",Uc(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function _Y(t,e){1&t&&No(0,"mat-spinner",5)}function yY(t,e){if(1&t&&No(0,"perun-web-apps-add-authors",59),2&t){const t=ta(3);Oo("publication",t.publication)("selection",t.authorsSelection)}}function wY(t,e){if(1&t&&(jo(0,"div"),jo(1,"app-alert",58),Sa(2),Kc(3,"translate"),Yo(),zo(4,yY,1,2,"perun-web-apps-add-authors",33),Yo()),2&t){const t=ta(2);Ds(2),Ma(Uc(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),Ds(2),Oo("ngIf",null!==t.publication)}}function bY(t,e){1&t&&(jo(0,"button",34),Sa(1),Kc(2,"translate"),Yo()),2&t&&(Ds(1),Ea(" ",Uc(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function vY(t,e){if(1&t&&(jo(0,"div",25),zo(1,bY,3,3,"button",54),jo(2,"button",60),Sa(3),Kc(4,"translate"),Yo(),Yo()),2&t){const t=ta(2);Ds(1),Oo("ngIf",!t.duplicateCheck),Ds(2),Ea(" ",Uc(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function AY(t,e){1&t&&(Sa(0),Kc(1,"translate")),2&t&&Ea(" ",Uc(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function kY(t,e){if(1&t&&No(0,"perun-web-apps-add-thanks",59),2&t){const t=ta(2);Oo("publication",t.publication)("selection",t.thanksSelection)}}function TY(t,e){1&t&&No(0,"mat-spinner",5)}function CY(t,e){if(1&t){const t=Vo();jo(0,"mat-horizontal-stepper",6),$o("selectionChange",(function(e){return ai(t),ta().stepChanged(e)})),jo(1,"mat-step",7),zo(2,Gj,2,3,"ng-template",8),jo(3,"form",9),jo(4,"h5",10),Sa(5),Kc(6,"translate"),Yo(),jo(7,"div",11),jo(8,"mat-checkbox",12),Sa(9),Kc(10,"translate"),Yo(),jo(11,"mat-form-field"),No(12,"input",13),Kc(13,"translate"),zo(14,$j,3,3,"mat-error",14),Yo(),jo(15,"mat-form-field",15),$o("click",(function(){return ai(t),Io(22).open()})),jo(16,"mat-label"),Sa(17),Kc(18,"translate"),Yo(),No(19,"input",16),No(20,"mat-datepicker-toggle",17),jo(21,"mat-datepicker",18,19),$o("yearSelected",(function(e){ai(t);const i=Io(22);return ta().chosenYearHandler(e,i)})),Yo(),zo(23,Jj,3,3,"mat-error",14),Yo(),jo(24,"mat-form-field"),jo(25,"mat-select",20),Kc(26,"translate"),zo(27,Zj,2,2,"mat-option",21),Yo(),zo(28,Qj,3,3,"mat-error",14),Yo(),jo(29,"mat-form-field"),No(30,"input",22),Kc(31,"translate"),Yo(),jo(32,"mat-form-field"),No(33,"input",23),Kc(34,"translate"),Yo(),jo(35,"mat-form-field"),jo(36,"textarea",24),Kc(37,"translate"),Sa(38," "),Yo(),zo(39,Xj,3,3,"mat-error",14),Yo(),Yo(),Yo(),jo(40,"div",25),jo(41,"button",26),Sa(42),Kc(43,"translate"),Yo(),Yo(),Yo(),jo(44,"mat-step",27),zo(45,tY,2,3,"ng-template",8),jo(46,"form",28),jo(47,"h5",10),Sa(48),Kc(49,"translate"),Yo(),zo(50,eY,5,3,"div",29),zo(51,iY,16,12,"app-alert",30),zo(52,hY,6,1,"mat-tab-group",14),zo(53,dY,6,3,"div",29),Yo(),zo(54,gY,6,5,"div",31),Yo(),jo(55,"mat-step"),zo(56,mY,2,3,"ng-template",8),jo(57,"h5",10),Sa(58),Kc(59,"translate"),Yo(),zo(60,_Y,1,0,"mat-spinner",3),zo(61,wY,5,4,"div",14),zo(62,vY,5,4,"div",32),Yo(),jo(63,"mat-step"),zo(64,AY,2,3,"ng-template",8),jo(65,"h5",10),Sa(66),Kc(67,"translate"),Yo(),zo(68,kY,1,2,"perun-web-apps-add-thanks",33),zo(69,TY,1,0,"mat-spinner",3),jo(70,"div",25),jo(71,"button",34),Sa(72),Kc(73,"translate"),Yo(),jo(74,"button",35),$o("click",(function(){ai(t);const e=ta();return e.redirect(["all-publications",e.publication.id])})),Sa(75),Kc(76,"translate"),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=Io(22),e=ta();Ds(1),Oo("editable",!e.duplicateCheck)("stepControl",e.publicationControl),Ds(2),Oo("formGroup",e.publicationControl),Ds(2),Ea(" ",Uc(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),Ds(4),Ea(" ",Uc(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),Ds(3),sa("placeholder",Uc(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),Ds(2),Oo("ngIf",e.publicationControl.hasError("required","title")),Ds(3),Ma(Uc(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),Ds(2),Oo("max",e.maxYear)("matDatepicker",t),Ds(1),Oo("for",t),Ds(3),Oo("ngIf",e.publicationControl.hasError("required","year")),Ds(2),sa("placeholder",Uc(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),Ds(2),Oo("ngForOf",e.categories),Ds(1),Oo("ngIf",e.publicationControl.hasError("required","category")),Ds(2),sa("placeholder",Uc(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),Ds(3),sa("placeholder",Uc(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),Ds(3),sa("placeholder",Uc(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),Ds(3),Oo("ngIf",e.publicationControl.hasError("required","cite")),Ds(2),Oo("disabled",e.publicationControl.invalid),Ds(1),Ea(" ",Uc(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),Ds(2),Oo("editable",!e.duplicateCheck),Ds(4),Ea(" ",Uc(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),Ds(2),Oo("ngIf",e.innerLoading),Ds(1),Oo("ngIf",!e.innerLoading&&!e.duplicateCheck),Ds(1),Oo("ngIf",!e.innerLoading&&!e.duplicateCheck),Ds(1),Oo("ngIf",!e.innerLoading&&e.duplicateCheck),Ds(1),Oo("ngIf",!e.innerLoading),Ds(4),Ea(" ",Uc(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),Ds(2),Oo("ngIf",e.innerLoading),Ds(1),Oo("ngIf",!e.innerLoading),Ds(1),Oo("ngIf",!e.innerLoading),Ds(4),Ea(" ",Uc(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),Ds(2),Oo("ngIf",null!==e.publication),Ds(1),Oo("ngIf",e.innerLoading),Ds(3),Ea(" ",Uc(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),Ds(3),Ea(" ",Uc(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const SY=dF,MY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},EY=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:ij},{path:"all-publications",component:TF},{path:"my-publications",component:EF},{path:"create-publication",component:DF},{path:"create-publication/create",component:(()=>{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 ay(!0,[]),this.thanksSelection=new ay(!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:["",vM.required],year:["",vM.required],category:["",vM.required],ISBN:[""],DOI:[""],cite:["",vM.required]}),this.maxYear=SY(),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)(Fo(SE),Fo(Xd),Fo(tT),Fo(Em),Fo(pC),Fo(FT),Fo(Zm),Fo(ff))},t.\u0275cmp=pe({type:t,selectors:[["perun-web-apps-create-single-publication-page"]],features:[Ya([{provide:sk,useClass:mF,deps:[nk]},{provide:rk,useValue:MY}])],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),Sa(4,"add_box"),Yo(),Sa(5),Kc(6,"translate"),Yo(),Yo(),zo(7,Wj,1,0,"mat-spinner",3),zo(8,CY,77,65,"mat-horizontal-stepper",4),Yo()),2&t&&(Ds(5),Ea(" ",Uc(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),Ds(2),Oo("ngIf",e.loading),Ds(1),Oo("ngIf",!e.loading))},directives:[hC,fh,GE,wL,mL,uL,gE,gM,bE,RP,pM,AE,eM,HE,cM,TE,VS,FD,OD,$S,PD,oz,hh,UT,vL,hE,kL,jS,Bk,iR,Oj,Mj,Aj,vj,eF,tj,CO,lB],pipes:[HT],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})()},{path:"authors",component:nH},{path:"authors/:authorId",component:oO},{path:"authors/:authorId/publication/:publicationId",component:tj},{path:"all-publications/:publicationId",component:tj},{path:"my-publications/:publicationId",component:tj},{path:"categories",component:BH},{path:"publication-systems",component:iO}];let DY=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},imports:[[Nm.forRoot(EY,{preloadingStrategy:Im,scrollPositionRestoration:"enabled"})],Nm]}),t})();const RY={provide:Ld,useExisting:kt(()=>mC),multi:!0};function xY(t){return new uP(t,"./assets/i18n/",".json")}function PY(t){const e={basePath:t.get("api_url")};return new $d(e)}const LY=t=>()=>t.loadConfigs();let zY=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275mod=ye({type:t,bootstrap:[cP]}),t.\u0275inj=ht({factory:function(e){return new(e||t)($t(fC),$t(FT))},providers:[fC,{provide:mu,useFactory:LY,multi:!0,deps:[dP]},{provide:$d,useFactory:PY,deps:[Zm]},mC,RY,{provide:fP,useClass:yC},_F],imports:[[cd,OT.forRoot({loader:{provide:_T,useFactory:xY,deps:[xd]}}),YA,MI,GT,bf,Vd,DY,KD,YD,ej,Vj]]}),t})();(function(){if(Fn)throw new Error("Cannot enable prod mode after platform setup.");In=!1})(),od().bootstrapModule(zY).catch(t=>console.error(t))},zn8P:function(t,e){function i(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}i.keys=function(){return[]},i.resolve=i,t.exports=i,i.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/dist/apps/publications/polyfills.98fb742ccc5360d3caca.js b/dist/apps/publications/polyfills.98fb742ccc5360d3caca.js new file mode 100644 index 000000000..df9b711be --- /dev/null +++ b/dist/apps/publications/polyfills.98fb742ccc5360d3caca.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o")},nf2o:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const i=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==C.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.)")}static get root(){let e=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(t,r){if(C.hasOwnProperty(t)){if(i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),C[t]=r(e,a,O),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,T),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(T,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(b,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,b,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(w,T,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");k(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=i,!o)throw new Error("callback is not defined");this.callback=o;const a=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,b)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;nz,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!a[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new a(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,i=[],a=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return O.reject(e)}const g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState"),v=null,b=!0,T=!1;function E(e,t){return n=>{try{Z(e,t,n)}catch(o){Z(e,!1,o)}}}const w=s("currentTaskTrace");function Z(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(e[g]===v){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{Z(e,!1,u)})(),e}if(o!==T&&s instanceof O&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&s[g]!==v)D(s),Z(e,s[g],s[_]);else if(o!==T&&"function"==typeof h)try{h.call(s,c(E(e,o)),c(E(e,!1)))}catch(u){c(()=>{Z(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&o===b&&(e[g]=e[y],e[_]=e[m]),o===T&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,w,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const a=t.run(i,void 0,r&&i!==d&&i!==f?[]:[o]);Z(n,!0,a)}catch(o){Z(n,!1,o)}},n)}const C=function(){};class O{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return Z(new this(null),b,e)}static reject(e){return Z(new this(null),T,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,s);return o}static all(e){return O.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof O?this:O).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,i=0;const a=[];for(let l of e){p(l)||(l=this.resolve(l));const e=i;try{l.then(o=>{a[e]=t?t.thenCallback(o):o,s--,0===s&&n(a)},r=>{t?(a[e]=t.errorCallback(r),s--,0===s&&n(a)):o(r)})}catch(c){o(c)}s++,i++}return s-=2,0===s&&n(a),r}constructor(e){const t=this;if(!(t instanceof O))throw new Error("Must be an instanceof Promise.");t[g]=v,t[_]=[];try{e&&e(E(t,b),E(t,T))}catch(n){Z(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return O}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||O);const r=new o(C),s=t.current;return this[g]==v?this[_].push(s,r,e,n):P(this,s,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=O);const o=new n(C);o[k]=k;const r=t.current;return this[g]==v?this[_].push(r,o,e,e):P(this,r,o,e,e),o}}O.resolve=O.resolve,O.reject=O.reject,O.race=O.race,O.all=O.all;const z=e[c]=e.Promise,j=t.__symbol__("ZoneAwarePromise");let I=o(e,"Promise");I&&!I.configurable||(I&&delete I.writable,I&&delete I.value,I||(I={configurable:!0,enumerable:!0}),I.get=function(){return e[j]?e[j]:e[c]},I.set=function(t){t===O?e[j]=t:(e[c]=t,t.prototype[l]||N(t),n.setNativePromise(t))},r(e,"Promise",I)),e.Promise=O;const R=s("thenPatched");function N(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new O((e,t)=>{r.call(this,e,t)}).then(e,t)},e[R]=!0}if(n.patchThen=N,z){N(z);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(x=t,function(){let e=x.apply(this,arguments);if(e instanceof O)return e;let t=e.constructor;return t[R]||N(t),e}))}var x;return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,O});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s="addEventListener",i="removeEventListener",a=Zone.__symbol__(s),c=Zone.__symbol__(i),l="true",u="false",h=Zone.__symbol__("");function p(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const d=Zone.__symbol__,g="undefined"!=typeof window,_=g?window:void 0,k=g&&_||"object"==typeof self&&self||global,m=[null];function y(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function v(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const b="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,T=!("nw"in k)&&void 0!==k.process&&"[object process]"==={}.toString.call(k.process),E=!T&&!b&&!(!g||!_.HTMLElement),w=void 0!==k.process&&"[object process]"==={}.toString.call(k.process)&&!b&&!(!g||!_.HTMLElement),Z={},S=function(e){if(!(e=e||k.event))return;let t=Z[e.type];t||(t=Z[e.type]=d("ON_PROPERTY"+e.type));const n=this||e.target||k,o=n[t];let r;if(E&&n===_&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function D(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const i=d("on"+o+"patched");if(n.hasOwnProperty(i)&&n[i])return;delete s.writable,delete s.value;const a=s.get,c=s.set,l=o.substr(2);let u=Z[l];u||(u=Z[l]=d("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==k||(t=k),t&&(t[u]&&t.removeEventListener(l,S),c&&c.apply(t,m),"function"==typeof e?(t[u]=e,t.addEventListener(l,S,!1)):t[u]=null)},s.get=function(){let e=this;if(e||n!==k||(e=k),!e)return null;const t=e[u];if(t)return t;if(a){let t=a&&a.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[i]=!0}function P(e,t,n){if(t)for(let o=0;ofunction(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?f(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function I(e,t){e[d("OriginalDelegate")]=t}let R=!1,N=!1;function x(){try{const e=_.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function M(){if(R)return N;R=!0;try{const e=_.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(N=!0)}catch(e){}return N}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=d("OriginalDelegate"),o=d("Promise"),r=d("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let L=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){L=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(he){L=!1}const A={useG:!0},H={},F={},G=new RegExp("^"+h+"(\\w+)(true|false)$"),B=d("propagationStopped");function q(e,t){const n=(t?t(e):e)+u,o=(t?t(e):e)+l,r=h+n,s=h+o;H[e]={},H[e].false=r,H[e].true=s}function W(e,t,o){const r=o&&o.add||s,a=o&&o.rm||i,c=o&&o.listeners||"eventListeners",p=o&&o.rmAll||"removeAllListeners",f=d(r),g="."+r+":",_=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[a].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},k=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[H[t.type].false];if(o)if(1===o.length)_(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[B]=!0,e&&e.apply(t,n)})}function $(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const i=t[s]=t[o];t[o]=function(s,a,c){return a&&a.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=a.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),i.call(t,s,a,c)},e.attachOriginToPatched(t[o],i)}const X=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Y=["load"],K=["blur","error","focus","load","resize","scroll","messageerror"],Q=["bounce","finish","start"],ee=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],te=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ne=["close","error","open","message"],oe=["error","message"],re=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],X,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function se(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ie(e,t,n,o){e&&P(e,se(e,t,n),o)}function ae(e,t){if(T&&!w)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(E){const e=window,t=x?[{target:e,ignoreProperties:["error"]}]:[];ie(e,re.concat(["messageerror"]),r?r.concat(t):r,n(e)),ie(Document.prototype,re,r),void 0!==e.SVGElement&&ie(e.SVGElement.prototype,re,r),ie(Element.prototype,re,r),ie(HTMLElement.prototype,re,r),ie(HTMLMediaElement.prototype,J,r),ie(HTMLFrameSetElement.prototype,X.concat(K),r),ie(HTMLBodyElement.prototype,X.concat(K),r),ie(HTMLFrameElement.prototype,Y,r),ie(HTMLIFrameElement.prototype,Y,r);const o=e.HTMLMarqueeElement;o&&ie(o.prototype,Q,r);const s=e.Worker;s&&ie(s.prototype,oe,r)}const s=t.XMLHttpRequest;s&&ie(s.prototype,ee,r);const i=t.XMLHttpRequestEventTarget;i&&ie(i&&i.prototype,ee,r),"undefined"!=typeof IDBIndex&&(ie(IDBIndex.prototype,te,r),ie(IDBRequest.prototype,te,r),ie(IDBOpenDBRequest.prototype,te,r),ie(IDBDatabase.prototype,te,r),ie(IDBTransaction.prototype,te,r),ie(IDBCursor.prototype,te,r)),o&&ie(WebSocket.prototype,ne,r)}Zone.__load_patch("util",(n,a,c)=>{c.patchOnProperties=P,c.patchMethod=z,c.bindArguments=y,c.patchMacroTask=j;const f=a.__symbol__("BLACK_LISTED_EVENTS"),d=a.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[f]=n[d]),n[f]&&(a[f]=a[d]=n[f]),c.patchEventPrototype=V,c.patchEventTarget=W,c.isIEOrEdge=M,c.ObjectDefineProperty=t,c.ObjectGetOwnPropertyDescriptor=e,c.ObjectCreate=o,c.ArraySlice=r,c.patchClass=O,c.wrapWithCurrentZone=p,c.filterProperties=se,c.attachOriginToPatched=I,c._redefineProperty=Object.defineProperty,c.patchCallbacks=$,c.getGlobalObjects=()=>({globalSources:F,zoneSymbolEventNames:H,eventNames:re,isBrowser:E,isMix:w,isNode:T,TRUE_STR:l,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:s,REMOVE_EVENT_LISTENER_STR:i})});const ce=d("zoneTask");function le(e,t,n,o){let r=null,s=null;n+=o;const i={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[ce]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=z(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e=f(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[ce]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)}),s=z(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=i[r]:(s=r&&r[ce],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete i[r]:r&&(r[ce]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function ue(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{const t="set",n="clear";le(e,t,n,"Timeout"),le(e,t,n,"Interval"),le(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{le(e,"request","cancel","AnimationFrame"),le(e,"mozRequest","mozCancel","AnimationFrame"),le(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ue(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),O("MutationObserver"),O("WebKitMutationObserver"),O("IntersectionObserver"),O("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ae(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const u=e.XMLHttpRequest;if(!u)return;const h=u.prototype;let p=h[a],g=h[c];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[a],g=e[c]}}const _="readystatechange",k="scheduled";function m(e){const o=e.data,i=o.target;i[s]=!1,i[l]=!1;const u=i[r];p||(p=i[a],g=i[c]),u&&g.call(i,_,u);const h=i[r]=()=>{if(i.readyState===i.DONE)if(!o.aborted&&i[s]&&e.state===k){const n=i[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=i[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[i]=t[1],b.apply(e,t)}),T=d("fetchTaskAborting"),E=d("fetchTaskScheduling"),w=z(h,"send",()=>function(e,n){if(!0===t.current[E])return w.apply(e,n);if(e[o])return w.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=f("XMLHttpRequest.send",y,t,m,v);e&&!0===e[l]&&!t.aborted&&o.state===k&&o.invoke()}}),Z=z(h,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[T])return Z.apply(e,o)})}(e);const n=d("xhrTask"),o=d("xhrSync"),r=d("xhrListener"),s=d("xhrScheduled"),i=d("xhrURL"),l=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,y(arguments,o+"."+s))};return I(t,e),t})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){U(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[d("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[1,0]]]); \ No newline at end of file diff --git a/dist/apps/publications/runtime.acf0dec4155e77772545.js b/dist/apps/publications/runtime.acf0dec4155e77772545.js new file mode 100644 index 000000000..effa6aee7 --- /dev/null +++ b/dist/apps/publications/runtime.acf0dec4155e77772545.js @@ -0,0 +1 @@ +!function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];cr&&(r+=1),r>1&&(r-=1),1/6>r?t+6*(e-t)*r:.5>r?e:2/3>r?t+(e-t)*(2/3-r)*6:t}var a,i,s;if(t=A(t,360),e=A(e,100),r=A(r,100),0===e)a=i=s=r;else{var o=.5>r?r*(1+e):r+e-r*e,f=2*r-o;a=n(f,o,t+1/3),i=n(f,o,t),s=n(f,o,t-1/3)}return{r:255*a,g:255*i,b:255*s}}(t.h,n,s),o=!0,f="hsl"),t.hasOwnProperty("a")&&(r=t.a)),r=y(r),{ok:o,format:t.format||f,r:L(255,N(e.r,0)),g:L(255,N(e.g,0)),b:L(255,N(e.b,0)),a:r}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=I(100*this._a)/100,this._format=r.format||n.format,this._gradientType=r.gradientType,this._r<1&&(this._r=I(this._r)),this._g<1&&(this._g=I(this._g)),this._b<1&&(this._b=I(this._b)),this._ok=n.ok,this._tc_id=M++}function r(t,e,r){t=A(t,255),e=A(e,255),r=A(r,255);var n,a,i=N(t,e,r),s=L(t,e,r),o=(i+s)/2;if(i==s)n=a=0;else{var f=i-s;switch(a=o>.5?f/(2-i-s):f/(i+s),i){case t:n=(e-r)/f+(r>e?6:0);break;case e:n=(r-t)/f+2;break;case r:n=(t-e)/f+4}n/=6}return{h:n,s:a,l:o}}function n(t,e,r){t=A(t,255),e=A(e,255),r=A(r,255);var n,a,i=N(t,e,r),s=L(t,e,r),o=i,f=i-s;if(a=0===i?0:f/i,i==s)n=0;else{switch(i){case t:n=(e-r)/f+(r>e?6:0);break;case e:n=(r-t)/f+2;break;case r:n=(t-e)/f+4}n/=6}return{h:n,s:a,v:o}}function a(e,r,n){e=6*A(e,360),r=A(r,100),n=A(n,100);var a=t.floor(e),i=e-a,s=n*(1-r),o=n*(1-i*r),f=n*(1-(1-i)*r),h=a%6;return{r:255*[n,o,s,s,f,n][h],g:255*[f,n,n,o,s,s][h],b:255*[s,s,f,n,n,o][h]}}function i(t,e,r,n){var a=[w(I(t).toString(16)),w(I(e).toString(16)),w(I(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function s(t,e,r,n){return[w(H(n)),w(I(t).toString(16)),w(I(e).toString(16)),w(I(r).toString(16))].join("")}function o(t,r){r=0===r?0:r||10;var n=e(t).toHsl();return n.s-=r/100,n.s=x(n.s),e(n)}function f(t,r){r=0===r?0:r||10;var n=e(t).toHsl();return n.s+=r/100,n.s=x(n.s),e(n)}function h(t){return e(t).desaturate(100)}function l(t,r){r=0===r?0:r||10;var n=e(t).toHsl();return n.l+=r/100,n.l=x(n.l),e(n)}function u(t,r){r=0===r?0:r||10;var n=e(t).toRgb();return n.r=N(0,L(255,n.r-I(-r/100*255))),n.g=N(0,L(255,n.g-I(-r/100*255))),n.b=N(0,L(255,n.b-I(-r/100*255))),e(n)}function c(t,r){r=0===r?0:r||10;var n=e(t).toHsl();return n.l-=r/100,n.l=x(n.l),e(n)}function g(t,r){var n=e(t).toHsl(),a=(n.h+r)%360;return n.h=0>a?360+a:a,e(n)}function b(t){var r=e(t).toHsl();return r.h=(r.h+180)%360,e(r)}function d(t){var r=e(t).toHsl(),n=r.h;return[e(t),e({h:(n+120)%360,s:r.s,l:r.l}),e({h:(n+240)%360,s:r.s,l:r.l})]}function _(t){var r=e(t).toHsl(),n=r.h;return[e(t),e({h:(n+90)%360,s:r.s,l:r.l}),e({h:(n+180)%360,s:r.s,l:r.l}),e({h:(n+270)%360,s:r.s,l:r.l})]}function p(t){var r=e(t).toHsl(),n=r.h;return[e(t),e({h:(n+72)%360,s:r.s,l:r.l}),e({h:(n+216)%360,s:r.s,l:r.l})]}function m(t,r,n){r=r||6,n=n||30;var a=e(t).toHsl(),i=360/n,s=[e(t)];for(a.h=(a.h-(i*r>>1)+720)%360;--r;)a.h=(a.h+i)%360,s.push(e(a));return s}function v(t,r){r=r||6;for(var n=e(t).toHsv(),a=n.h,i=n.s,s=n.v,o=[],f=1/r;r--;)o.push(e({h:a,s:i,v:s})),s=(s+f)%1;return o}function y(t){return t=parseFloat(t),(isNaN(t)||0>t||t>1)&&(t=1),t}function A(e,r){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(e)&&(e="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(e);return e=L(r,N(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function x(t){return L(1,N(0,t))}function k(t){return parseInt(t,16)}function w(t){return 1==t.length?"0"+t:""+t}function S(t){return 1>=t&&(t=100*t+"%"),t}function H(e){return t.round(255*parseFloat(e)).toString(16)}function R(t){return k(t)/255}function F(t){return!!j.CSS_UNIT.exec(t)}var C=/^\s+/,q=/\s+$/,M=0,I=t.round,L=t.min,N=t.max,z=t.random;e.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var e,r,n,a=this.toRgb();return r=a.g/255,n=a.b/255,.2126*(.03928>=(e=a.r/255)?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(.03928>=r?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(.03928>=n?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=y(t),this._roundA=I(100*this._a)/100,this},toHsv:function(){var t=n(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=n(this._r,this._g,this._b),e=I(360*t.h),r=I(100*t.s),a=I(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+a+"%)":"hsva("+e+", "+r+"%, "+a+"%, "+this._roundA+")"},toHsl:function(){var t=r(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=r(this._r,this._g,this._b),e=I(360*t.h),n=I(100*t.s),a=I(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+a+"%)":"hsla("+e+", "+n+"%, "+a+"%, "+this._roundA+")"},toHex:function(t){return i(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,a){var i=[w(I(t).toString(16)),w(I(e).toString(16)),w(I(r).toString(16)),w(H(n))];return a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:I(this._r),g:I(this._g),b:I(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+I(this._r)+", "+I(this._g)+", "+I(this._b)+")":"rgba("+I(this._r)+", "+I(this._g)+", "+I(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:I(100*A(this._r,255))+"%",g:I(100*A(this._g,255))+"%",b:I(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+I(100*A(this._r,255))+"%, "+I(100*A(this._g,255))+"%, "+I(100*A(this._b,255))+"%)":"rgba("+I(100*A(this._r,255))+"%, "+I(100*A(this._g,255))+"%, "+I(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[i(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var r="#"+s(this._r,this._g,this._b,this._a),n=r,a=this._gradientType?"GradientType = 1, ":"";if(t){var i=e(t);n="#"+s(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+r+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1;return!e&&this._a<1&&this._a>=0&&("hex"===t||"hex6"===t||"hex3"===t||"hex4"===t||"hex8"===t||"name"===t)?"name"===t&&0===this._a?this.toName():this.toRgbString():("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),("hex"===t||"hex6"===t)&&(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return e(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(l,arguments)},brighten:function(){return this._applyModification(u,arguments)},darken:function(){return this._applyModification(c,arguments)},desaturate:function(){return this._applyModification(o,arguments)},saturate:function(){return this._applyModification(f,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(g,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(m,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(v,arguments)},splitcomplement:function(){return this._applyCombination(p,arguments)},triad:function(){return this._applyCombination(d,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},e.fromRatio=function(t,r){if("object"==typeof t){var n={};for(var a in t)t.hasOwnProperty(a)&&(n[a]="a"===a?t[a]:S(t[a]));t=n}return e(t,r)},e.equals=function(t,r){return!(!t||!r)&&e(t).toRgbString()==e(r).toRgbString()},e.random=function(){return e.fromRatio({r:z(),g:z(),b:z()})},e.mix=function(t,r,n){n=0===n?0:n||50;var a=e(t).toRgb(),i=e(r).toRgb(),s=n/100;return e({r:(i.r-a.r)*s+a.r,g:(i.g-a.g)*s+a.g,b:(i.b-a.b)*s+a.b,a:(i.a-a.a)*s+a.a})},e.readability=function(r,n){var a=e(r),i=e(n);return(t.max(a.getLuminance(),i.getLuminance())+.05)/(t.min(a.getLuminance(),i.getLuminance())+.05)},e.isReadable=function(t,r,n){var a,i,s=e.readability(t,r);switch(i=!1,(a=function(t){var e,r;return"AA"!==(e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==e&&(e="AA"),"small"!==(r=(t.size||"small").toLowerCase())&&"large"!==r&&(r="small"),{level:e,size:r}}(n)).level+a.size){case"AAsmall":case"AAAlarge":i=s>=4.5;break;case"AAlarge":i=s>=3;break;case"AAAsmall":i=s>=7}return i},e.mostReadable=function(t,r,n){var a,i,s,o,f=null,h=0;i=(n=n||{}).includeFallbackColors,s=n.level,o=n.size;for(var l=0;lh&&(h=a,f=e(r[l]));return e.isReadable(t,f,{level:s,size:o})||!i?f:(n.includeFallbackColors=!1,e.mostReadable(t,["#fff","#000"],n))};var E=e.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=e.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(E),j=function(){var t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",e="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",r="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+e),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+e),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+e),hsva:new RegExp("hsva"+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define((function(){return e})):window.tinycolor=e}(Math); \ No newline at end of file diff --git a/dist/apps/publications/styles.b512ea92ff602426ee68.css b/dist/apps/publications/styles.b512ea92ff602426ee68.css new file mode 100644 index 000000000..0dfe1e90f --- /dev/null +++ b/dist/apps/publications/styles.b512ea92ff602426ee68.css @@ -0,0 +1,9 @@ +.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{ + /*!*/}@keyframes cdk-text-field-autofill-end{ + /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.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-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-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.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[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][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[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-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([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[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][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[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][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([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[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([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([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[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[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-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{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(0,0,0,.38)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.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}.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-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-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-touch{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-datepicker-toggle-active{color:#212121}.mat-datepicker-toggle-active.mat-accent{color:#43a047}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.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-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-accent .mat-input-element{caret-color:#43a047}.mat-form-field-invalid .mat-input-element,.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]: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-progress-bar-background{fill:#f5f5f5}.mat-progress-bar-buffer{background-color:#f5f5f5}.mat-progress-bar-fill:after{background-color:#212121}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#c8e6c9}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#c8e6c9}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ffcdd2}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ffcdd2}.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-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-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-slider-focus-ring{background-color:rgba(67,160,71,.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-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-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.1%,.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-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .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-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .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-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .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.1%,.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-links,.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-links{background-color:#212121}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .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{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .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-links,.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-links{background-color:#43a047}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent .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{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .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-links,.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-links{background-color:#f44336}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .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{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .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-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-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}.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-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-app-background,.user-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-theme-loaded-marker{display:none}.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[disabled],.user-theme .mat-button.mat-primary[disabled],.user-theme .mat-button.mat-warn[disabled],.user-theme .mat-button[disabled][disabled],.user-theme .mat-icon-button.mat-accent[disabled],.user-theme .mat-icon-button.mat-primary[disabled],.user-theme .mat-icon-button.mat-warn[disabled],.user-theme .mat-icon-button[disabled][disabled],.user-theme .mat-stroked-button.mat-accent[disabled],.user-theme .mat-stroked-button.mat-primary[disabled],.user-theme .mat-stroked-button.mat-warn[disabled],.user-theme .mat-stroked-button[disabled][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[disabled] .mat-button-focus-overlay,.user-theme .mat-icon-button[disabled] .mat-button-focus-overlay,.user-theme .mat-stroked-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([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[disabled],.user-theme .mat-fab.mat-primary[disabled],.user-theme .mat-fab.mat-warn[disabled],.user-theme .mat-fab[disabled][disabled],.user-theme .mat-flat-button.mat-accent[disabled],.user-theme .mat-flat-button.mat-primary[disabled],.user-theme .mat-flat-button.mat-warn[disabled],.user-theme .mat-flat-button[disabled][disabled],.user-theme .mat-mini-fab.mat-accent[disabled],.user-theme .mat-mini-fab.mat-primary[disabled],.user-theme .mat-mini-fab.mat-warn[disabled],.user-theme .mat-mini-fab[disabled][disabled],.user-theme .mat-raised-button.mat-accent[disabled],.user-theme .mat-raised-button.mat-primary[disabled],.user-theme .mat-raised-button.mat-warn[disabled],.user-theme .mat-raised-button[disabled][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[disabled],.user-theme .mat-fab.mat-primary[disabled],.user-theme .mat-fab.mat-warn[disabled],.user-theme .mat-fab[disabled][disabled],.user-theme .mat-flat-button.mat-accent[disabled],.user-theme .mat-flat-button.mat-primary[disabled],.user-theme .mat-flat-button.mat-warn[disabled],.user-theme .mat-flat-button[disabled][disabled],.user-theme .mat-mini-fab.mat-accent[disabled],.user-theme .mat-mini-fab.mat-primary[disabled],.user-theme .mat-mini-fab.mat-warn[disabled],.user-theme .mat-mini-fab[disabled][disabled],.user-theme .mat-raised-button.mat-accent[disabled],.user-theme .mat-raised-button.mat-primary[disabled],.user-theme .mat-raised-button.mat-warn[disabled],.user-theme .mat-raised-button[disabled][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([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[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([disabled]):active:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not([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[disabled]:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab[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{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){color:rgba(0,0,0,.38)}.user-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.user-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.user-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.user-theme .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.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 .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-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-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-touch{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-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-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-accent .mat-input-element{caret-color:#43a047}.user-theme .mat-form-field-invalid .mat-input-element,.user-theme .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]: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:#c8e6c9}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#c8e6c9}.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:#ffcdd2}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ffcdd2}.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-slide-toggle-thumb{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(var(--user-theme-primary-500),.54)}.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{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-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-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-slider-focus-ring{background-color:rgba(67,160,71,.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-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),.3)}.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-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary .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-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent .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-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn .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),.3)}.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-links,.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-links{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-background-primary .mat-tab-label,.user-theme .mat-tab-group.mat-background-primary .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:rgba(var(--user-theme-primary-contrast-500),.4)}.user-theme .mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-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-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(var(--user-theme-primary-contrast-500),.4)}.user-theme .mat-tab-group.mat-background-primary .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),.12)}.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-links,.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-links{background-color:#43a047}.user-theme .mat-tab-group.mat-background-accent .mat-tab-label,.user-theme .mat-tab-group.mat-background-accent .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{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-nav-bar.mat-background-accent .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-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent .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-links,.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-links{background-color:#f44336}.user-theme .mat-tab-group.mat-background-warn .mat-tab-label,.user-theme .mat-tab-group.mat-background-warn .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{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-nav-bar.mat-background-warn .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-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn .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}button{border-radius:0!important}button:focus{outline:none!important}td.mat-cell,th{padding:.25rem!important}.page-subtitle{margin-bottom:1rem;font-size:1.5rem}.dark-hover-list-item:hover{background-color:rgba(0,0,0,.05)}.title-icon{font-size:32px}.dialog-container{display:flex;flex-direction:column}.dialog-container>*{width:100%}.loading{min-height:100vh;display:flex;justify-content:center;align-items:center}.book{--color:#000;--duration:6.8s;margin:32px 0 0;zoom:1.5}.book,.book .inner{width:32px;height:12px;position:relative}.book .inner{transform-origin:2px 2px;transform:rotate(-90deg);animation:book var(--duration) ease infinite}.book .inner .left,.book .inner .right{width:60px;height:4px;top:0;border-radius:2px;background:var(--color);position:absolute}.book .inner .left:before,.book .inner .right:before{content:"";width:48px;height:4px;border-radius:2px;background:inherit;position:absolute;top:-10px;left:6px}.book .inner .left{right:28px;transform-origin:58px 2px;transform:rotate(90deg);animation:left var(--duration) ease infinite}.book .inner .right{left:28px;transform-origin:2px 2px;transform:rotate(-90deg);animation:right var(--duration) ease infinite}.book .inner .middle{width:32px;height:12px;border:4px solid var(--color);border-top:0;border-radius:0 0 9px 9px;transform:translateY(2px)}.book ul{margin:0;padding:0;list-style:none;position:absolute;left:50%;top:0}.book ul li{height:4px;border-radius:2px;transform-origin:100% 2px;width:48px;right:0;top:-10px;position:absolute;background:var(--color);transform:rotate(0deg) translateX(-18px);animation-duration:var(--duration);animation-timing-function:ease;animation-iteration-count:infinite}.book ul li:nth-child(0){animation-name:page-0}.book ul li:first-child{animation-name:page-1}.book ul li:nth-child(2){animation-name:page-2}.book ul li:nth-child(3){animation-name:page-3}.book ul li:nth-child(4){animation-name:page-4}.book ul li:nth-child(5){animation-name:page-5}.book ul li:nth-child(6){animation-name:page-6}.book ul li:nth-child(7){animation-name:page-7}.book ul li:nth-child(8){animation-name:page-8}.book ul li:nth-child(9){animation-name:page-9}.book ul li:nth-child(10){animation-name:page-10}.book ul li:nth-child(11){animation-name:page-11}.book ul li:nth-child(12){animation-name:page-12}.book ul li:nth-child(13){animation-name:page-13}.book ul li:nth-child(14){animation-name:page-14}.book ul li:nth-child(15){animation-name:page-15}.book ul li:nth-child(16){animation-name:page-16}.book ul li:nth-child(17){animation-name:page-17}.book ul li:nth-child(18){animation-name:page-18}@keyframes page-0{4%{transform:rotate(0deg) translateX(-18px)}13%,54%{transform:rotate(180deg) translateX(-18px)}63%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-1{5.86%{transform:rotate(0deg) translateX(-18px)}14.74%,55.86%{transform:rotate(180deg) translateX(-18px)}64.74%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-2{7.72%{transform:rotate(0deg) translateX(-18px)}16.48%,57.72%{transform:rotate(180deg) translateX(-18px)}66.48%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-3{9.58%{transform:rotate(0deg) translateX(-18px)}18.22%,59.58%{transform:rotate(180deg) translateX(-18px)}68.22%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-4{11.44%{transform:rotate(0deg) translateX(-18px)}19.96%,61.44%{transform:rotate(180deg) translateX(-18px)}69.96%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-5{13.3%{transform:rotate(0deg) translateX(-18px)}21.7%,63.3%{transform:rotate(180deg) translateX(-18px)}71.7%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-6{15.16%{transform:rotate(0deg) translateX(-18px)}23.44%,65.16%{transform:rotate(180deg) translateX(-18px)}73.44%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-7{17.02%{transform:rotate(0deg) translateX(-18px)}25.18%,67.02%{transform:rotate(180deg) translateX(-18px)}75.18%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-8{18.88%{transform:rotate(0deg) translateX(-18px)}26.92%,68.88%{transform:rotate(180deg) translateX(-18px)}76.92%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-9{20.74%{transform:rotate(0deg) translateX(-18px)}28.66%,70.74%{transform:rotate(180deg) translateX(-18px)}78.66%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-10{22.6%{transform:rotate(0deg) translateX(-18px)}30.4%,72.6%{transform:rotate(180deg) translateX(-18px)}80.4%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-11{24.46%{transform:rotate(0deg) translateX(-18px)}32.14%,74.46%{transform:rotate(180deg) translateX(-18px)}82.14%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-12{26.32%{transform:rotate(0deg) translateX(-18px)}33.88%,76.32%{transform:rotate(180deg) translateX(-18px)}83.88%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-13{28.18%{transform:rotate(0deg) translateX(-18px)}35.62%,78.18%{transform:rotate(180deg) translateX(-18px)}85.62%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-14{30.04%{transform:rotate(0deg) translateX(-18px)}37.36%,80.04%{transform:rotate(180deg) translateX(-18px)}87.36%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-15{31.9%{transform:rotate(0deg) translateX(-18px)}39.1%,81.9%{transform:rotate(180deg) translateX(-18px)}89.1%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-16{33.76%{transform:rotate(0deg) translateX(-18px)}40.84%,83.76%{transform:rotate(180deg) translateX(-18px)}90.84%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-17{35.62%{transform:rotate(0deg) translateX(-18px)}42.58%,85.62%{transform:rotate(180deg) translateX(-18px)}92.58%{transform:rotate(0deg) translateX(-18px)}}@keyframes page-18{37.48%{transform:rotate(0deg) translateX(-18px)}44.32%,87.48%{transform:rotate(180deg) translateX(-18px)}94.32%{transform:rotate(0deg) translateX(-18px)}}@keyframes left{4%{transform:rotate(0deg)}10%,40%{transform:rotate(0deg)}46%,54%{transform:rotate(90deg)}60%,90%{transform:rotate(0deg)}96%{transform:rotate(90deg)}}@keyframes right{4%{transform:rotate(0deg)}10%,40%{transform:rotate(0deg)}46%,54%{transform:rotate(-90deg)}60%,90%{transform:rotate(0deg)}96%{transform:rotate(-90deg)}}@keyframes book{4%{transform:rotate(0deg)}10%,40%{transform:rotate(0deg);transform-origin:2px 2px}40.01%,59.99%{transform-origin:30px 2px}46%,54%{transform:rotate(90deg)}60%,90%{transform:rotate(0deg);transform-origin:2px 2px}96%{transform:rotate(-90deg)}} +/*! + * Bootstrap v4.5.3 (https://getbootstrap.com/) + * Copyright 2011-2020 The Bootstrap Authors + * Copyright 2011-2020 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem}.display-1,.display-2{font-weight:300;line-height:1.2}.display-2{font-size:5.5rem}.display-3{font-size:4.5rem}.display-3,.display-4{font-weight:300;line-height:1.2}.display-4{font-size:3.5rem}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer:before{content:"\2014\00A0"}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#6c757d}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:87.5%;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:#212529}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-auto,.col-lg,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto,.col-md,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto,.col-sm,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-1>*{flex:0 0 100%;max-width:100%}.row-cols-2>*{flex:0 0 50%;max-width:50%}.row-cols-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{flex:0 0 25%;max-width:25%}.row-cols-5>*{flex:0 0 20%;max-width:20%}.row-cols-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 8.333333%;max-width:8.333333%}.col-2{flex:0 0 16.666667%;max-width:16.666667%}.col-3{flex:0 0 25%;max-width:25%}.col-4{flex:0 0 33.333333%;max-width:33.333333%}.col-5{flex:0 0 41.666667%;max-width:41.666667%}.col-6{flex:0 0 50%;max-width:50%}.col-7{flex:0 0 58.333333%;max-width:58.333333%}.col-8{flex:0 0 66.666667%;max-width:66.666667%}.col-9{flex:0 0 75%;max-width:75%}.col-10{flex:0 0 83.333333%;max-width:83.333333%}.col-11{flex:0 0 91.666667%;max-width:91.666667%}.col-12{flex:0 0 100%;max-width:100%}.order-first{order:-1}.order-last{order:13}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-sm-1>*{flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{flex:0 0 25%;max-width:25%}.col-sm-4{flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{flex:0 0 50%;max-width:50%}.col-sm-7{flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{flex:0 0 75%;max-width:75%}.col-sm-10{flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{flex:0 0 100%;max-width:100%}.order-sm-first{order:-1}.order-sm-last{order:13}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-md-1>*{flex:0 0 100%;max-width:100%}.row-cols-md-2>*{flex:0 0 50%;max-width:50%}.row-cols-md-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-md-4>*{flex:0 0 25%;max-width:25%}.row-cols-md-5>*{flex:0 0 20%;max-width:20%}.row-cols-md-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{flex:0 0 75%;max-width:75%}.col-md-10{flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{flex:0 0 100%;max-width:100%}.order-md-first{order:-1}.order-md-last{order:13}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-lg-1>*{flex:0 0 100%;max-width:100%}.row-cols-lg-2>*{flex:0 0 50%;max-width:50%}.row-cols-lg-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-lg-4>*{flex:0 0 25%;max-width:25%}.row-cols-lg-5>*{flex:0 0 20%;max-width:20%}.row-cols-lg-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-7{flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{flex:0 0 75%;max-width:75%}.col-lg-10{flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{flex:0 0 100%;max-width:100%}.order-lg-first{order:-1}.order-lg-last{order:13}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.row-cols-xl-1>*{flex:0 0 100%;max-width:100%}.row-cols-xl-2>*{flex:0 0 50%;max-width:50%}.row-cols-xl-3>*{flex:0 0 33.333333%;max-width:33.333333%}.row-cols-xl-4>*{flex:0 0 25%;max-width:25%}.row-cols-xl-5>*{flex:0 0 20%;max-width:20%}.row-cols-xl-6>*{flex:0 0 16.666667%;max-width:16.666667%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{flex:0 0 50%;max-width:50%}.col-xl-7{flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{flex:0 0 75%;max-width:75%}.col-xl-10{flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{flex:0 0 100%;max-width:100%}.order-xl-first{order:-1}.order-xl-last{order:13}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;margin-bottom:1rem;color:#212529}.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.table tbody+tbody{border-top:2px solid #dee2e6}.table-sm td,.table-sm th{padding:.3rem}.table-bordered,.table-bordered td,.table-bordered th{border:1px solid #dee2e6}.table-bordered thead td,.table-bordered thead th{border-bottom-width:2px}.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{color:#212529;background-color:rgba(0,0,0,.075)}.table-primary,.table-primary>td,.table-primary>th{background-color:#b8daff}.table-primary tbody+tbody,.table-primary td,.table-primary th,.table-primary thead th{border-color:#7abaff}.table-hover .table-primary:hover,.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#9fcdff}.table-secondary,.table-secondary>td,.table-secondary>th{background-color:#d6d8db}.table-secondary tbody+tbody,.table-secondary td,.table-secondary th,.table-secondary thead th{border-color:#b3b7bb}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#c8cbcf}.table-success,.table-success>td,.table-success>th{background-color:#c3e6cb}.table-success tbody+tbody,.table-success td,.table-success th,.table-success thead th{border-color:#8fd19e}.table-hover .table-success:hover,.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#b1dfbb}.table-info,.table-info>td,.table-info>th{background-color:#bee5eb}.table-info tbody+tbody,.table-info td,.table-info th,.table-info thead th{border-color:#86cfda}.table-hover .table-info:hover,.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#abdde5}.table-warning,.table-warning>td,.table-warning>th{background-color:#ffeeba}.table-warning tbody+tbody,.table-warning td,.table-warning th,.table-warning thead th{border-color:#ffdf7e}.table-hover .table-warning:hover,.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#ffe8a1}.table-danger,.table-danger>td,.table-danger>th{background-color:#f5c6cb}.table-danger tbody+tbody,.table-danger td,.table-danger th,.table-danger thead th{border-color:#ed969e}.table-hover .table-danger:hover,.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f1b0b7}.table-light,.table-light>td,.table-light>th{background-color:#fdfdfe}.table-light tbody+tbody,.table-light td,.table-light th,.table-light thead th{border-color:#fbfcfc}.table-hover .table-light:hover,.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#ececf6}.table-dark,.table-dark>td,.table-dark>th{background-color:#c6c8ca}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#95999c}.table-hover .table-dark:hover,.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b9bbbe}.table-active,.table-active>td,.table-active>th,.table-hover .table-active:hover,.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}.table-dark{color:#fff;background-color:#343a40}.table-dark td,.table-dark th,.table-dark thead th{border-color:#454d55}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:hsla(0,0%,100%,.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:hsla(0,0%,100%,.075)}@media (max-width:575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width:767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width:991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width:1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{-webkit-appearance:none;-moz-appearance:none;appearance:none}select.form-control:focus::-ms-value{color:#495057;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem;line-height:1.5}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;font-size:1rem;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}select.form-control[multiple],select.form-control[size],textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-row{display:flex;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:.3rem;margin-left:-1.25rem}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{color:#6c757d}.form-check-label{margin-bottom:0}.form-check-inline{display:inline-flex;align-items:center;padding-left:0;margin-right:.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#28a745}.valid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#28a745;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#28a745}.form-check-input.is-valid~.valid-feedback,.form-check-input.is-valid~.valid-tooltip,.was-validated .form-check-input:valid~.valid-feedback,.was-validated .form-check-input:valid~.valid-tooltip{display:block}.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}.custom-control-input.is-valid~.custom-control-label:before,.was-validated .custom-control-input:valid~.custom-control-label:before{border-color:#28a745}.custom-control-input.is-valid:checked~.custom-control-label:before,.was-validated .custom-control-input:valid:checked~.custom-control-label:before{border-color:#34ce57;background-color:#34ce57}.custom-control-input.is-valid:focus~.custom-control-label:before,.was-validated .custom-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.custom-file-input.is-valid~.custom-file-label,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-file-input:valid~.custom-file-label{border-color:#28a745}.custom-file-input.is-valid:focus~.custom-file-label,.was-validated .custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;line-height:1.5;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-input.is-invalid~.invalid-feedback,.form-check-input.is-invalid~.invalid-tooltip,.was-validated .form-check-input:invalid~.invalid-feedback,.was-validated .form-check-input:invalid~.invalid-tooltip{display:block}.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}.custom-control-input.is-invalid~.custom-control-label:before,.was-validated .custom-control-input:invalid~.custom-control-label:before{border-color:#dc3545}.custom-control-input.is-invalid:checked~.custom-control-label:before,.was-validated .custom-control-input:invalid:checked~.custom-control-label:before{border-color:#e4606d;background-color:#e4606d}.custom-control-input.is-invalid:focus~.custom-control-label:before,.was-validated .custom-control-input:invalid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label:before,.custom-file-input.is-invalid~.custom-file-label,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-file-input:invalid~.custom-file-label{border-color:#dc3545}.custom-file-input.is-invalid:focus~.custom-file-label,.was-validated .custom-file-input:invalid:focus~.custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@media (min-width:576px){.form-inline label{justify-content:center}.form-inline .form-group,.form-inline label{display:flex;align-items:center;margin-bottom:0}.form-inline .form-group{flex:0 0 auto;flex-flow:row wrap}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .form-check{display:flex;align-items:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}.form-inline .custom-control{align-items:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529;text-decoration:none}.btn.focus,.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.btn.disabled,.btn:disabled{opacity:.65}.btn:not(:disabled):not(.disabled){cursor:pointer}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary.focus,.btn-primary:focus,.btn-primary:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#007bff;border-color:#007bff}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary.focus,.btn-secondary:focus,.btn-secondary:hover{color:#fff;background-color:#5a6268;border-color:#545b62}.btn-secondary.focus,.btn-secondary:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success.focus,.btn-success:focus,.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-success.focus,.btn-success:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info.focus,.btn-info:focus,.btn-info:hover{color:#fff;background-color:#138496;border-color:#117a8b}.btn-info.focus,.btn-info:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning.focus,.btn-warning:focus,.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}.btn-warning.focus,.btn-warning:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active,.show>.btn-warning.dropdown-toggle{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger.focus,.btn-danger:focus,.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}.btn-danger.focus,.btn-danger:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light.focus,.btn-light:focus,.btn-light:hover{color:#212529;background-color:#e2e6ea;border-color:#dae0e5}.btn-light.focus,.btn-light:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-light.disabled,.btn-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active,.show>.btn-light.dropdown-toggle{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark.focus,.btn-dark:focus,.btn-dark:hover{color:#fff;background-color:#23272b;border-color:#1d2124}.btn-dark.focus,.btn-dark:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#343a40;border-color:#343a40}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary{color:#007bff;border-color:#007bff}.btn-outline-primary:hover{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary.focus,.btn-outline-primary:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#007bff;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary.focus,.btn-outline-secondary:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success{color:#28a745;border-color:#28a745}.btn-outline-success:hover{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success.focus,.btn-outline-success:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#28a745;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info{color:#17a2b8;border-color:#17a2b8}.btn-outline-info:hover{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info.focus,.btn-outline-info:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#17a2b8;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning.focus,.btn-outline-warning:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active,.show>.btn-outline-warning.dropdown-toggle{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger.focus,.btn-outline-danger:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light.focus,.btn-outline-light:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active,.show>.btn-outline-light.dropdown-toggle{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark{color:#343a40;border-color:#343a40}.btn-outline-dark:hover{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark.focus,.btn-outline-dark:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#343a40;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.btn-link{font-weight:400;color:#007bff;text-decoration:none}.btn-link:hover{color:#0056b3}.btn-link.focus,.btn-link:focus,.btn-link:hover{text-decoration:underline}.btn-link.disabled,.btn-link:disabled{color:#6c757d;pointer-events:none}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.dropdown,.dropleft,.dropright,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty:after{margin-left:0}.dropright .dropdown-toggle:after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";display:none}.dropleft .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty:after{margin-left:0}.dropleft .dropdown-toggle:before{vertical-align:0}.dropdown-menu[x-placement^=bottom],.dropdown-menu[x-placement^=left],.dropdown-menu[x-placement^=right],.dropdown-menu[x-placement^=top]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1.5rem;color:#212529}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropright .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropleft .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn-group>.btn input[type=checkbox],.btn-group-toggle>.btn-group>.btn input[type=radio],.btn-group-toggle>.btn input[type=checkbox],.btn-group-toggle>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:flex;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label:after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-append,.input-group-prepend{display:flex}.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-text input[type=checkbox],.input-group-text input[type=radio]{margin-top:0}.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem;-webkit-print-color-adjust:exact;color-adjust:exact}.custom-control-inline{display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label:before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label:before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label:before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label:before,.custom-control-input[disabled]~.custom-control-label:before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label:before{pointer-events:none;background-color:#fff;border:1px solid #adb5bd}.custom-control-label:after,.custom-control-label:before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:""}.custom-control-label:after{background:no-repeat 50%/50% 50%}.custom-checkbox .custom-control-label:before{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before{border-color:#007bff;background-color:#007bff}.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(0,123,255,.5)}.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before{background-color:rgba(0,123,255,.5)}.custom-radio .custom-control-label:before{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-label:after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(0,123,255,.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label:before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label:after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label:after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label:after{background-color:#fff;transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before{background-color:rgba(0,123,255,.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-select:focus::-ms-value{color:#495057;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}.custom-select:disabled{color:#6c757d;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}.custom-file{display:inline-block;margin-bottom:0}.custom-file,.custom-file-input{position:relative;width:100%;height:calc(1.5em + .75rem + 2px)}.custom-file-input{z-index:2;margin:0;opacity:0}.custom-file-input:focus~.custom-file-label{border-color:#80bdff;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-file-input:disabled~.custom-file-label,.custom-file-input[disabled]~.custom-file-label{background-color:#e9ecef}.custom-file-input:lang(en)~.custom-file-label:after{content:"Browse"}.custom-file-input~.custom-file-label[data-browse]:after{content:attr(data-browse)}.custom-file-label{left:0;z-index:1;height:calc(1.5em + .75rem + 2px);font-weight:400;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem}.custom-file-label,.custom-file-label:after{position:absolute;top:0;right:0;padding:.375rem .75rem;line-height:1.5;color:#495057}.custom-file-label:after{bottom:0;z-index:3;display:block;height:calc(1.5em + .75rem);content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 .25rem .25rem 0}.custom-range{width:100%;height:1.4rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:none}.custom-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(0,123,255,.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#007bff;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#b3d7ff}.custom-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#007bff;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-moz-range-thumb{-moz-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#b3d7ff}.custom-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:.2rem;margin-left:.2rem;background-color:#007bff;border:0;border-radius:1rem;-ms-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion:reduce){.custom-range::-ms-thumb{-ms-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#b3d7ff}.custom-range::-ms-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:.5rem}.custom-range::-ms-fill-lower,.custom-range::-ms-fill-upper{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px}.custom-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#adb5bd}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#adb5bd}.custom-control-label:before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label:before,.custom-file-label,.custom-select{transition:none}}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem}.nav-link:focus,.nav-link:hover{text-decoration:none}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;padding:.5rem 1rem}.navbar,.navbar .container,.navbar .container-fluid,.navbar .container-lg,.navbar .container-md,.navbar .container-sm,.navbar .container-xl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus,.navbar-toggler:hover{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat 50%;background-size:100% 100%}@media (max-width:575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{padding-right:0;padding-left:0}}@media (min-width:576px){.navbar-expand-sm{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid,.navbar-expand-sm>.container-lg,.navbar-expand-sm>.container-md,.navbar-expand-sm>.container-sm,.navbar-expand-sm>.container-xl{flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width:767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{padding-right:0;padding-left:0}}@media (min-width:768px){.navbar-expand-md{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid,.navbar-expand-md>.container-lg,.navbar-expand-md>.container-md,.navbar-expand-md>.container-sm,.navbar-expand-md>.container-xl{flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width:991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{padding-right:0;padding-left:0}}@media (min-width:992px){.navbar-expand-lg{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl{flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width:1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{padding-right:0;padding-left:0}}@media (min-width:1200px){.navbar-expand-xl{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid,.navbar-expand-xl>.container-lg,.navbar-expand-xl>.container-md,.navbar-expand-xl>.container-sm,.navbar-expand-xl>.container-xl{flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{flex-flow:row nowrap;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid,.navbar-expand>.container-lg,.navbar-expand>.container-md,.navbar-expand>.container-sm,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.5);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.5)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:hsla(0,0%,100%,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:hsla(0,0%,100%,.25)}.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:hsla(0,0%,100%,.5);border-color:hsla(0,0%,100%,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:hsla(0,0%,100%,.5)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.75rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.625rem;margin-left:-.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{flex-shrink:0;width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-deck .card{margin-bottom:15px}@media (min-width:576px){.card-deck{display:flex;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{flex:1 0 0%;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group>.card{margin-bottom:15px}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:.75rem}@media (min-width:576px){.card-columns{-moz-column-count:3;column-count:3;-moz-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion{overflow-anchor:none}.accordion>.card{overflow:hidden}.accordion>.card:not(:last-of-type){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:not(:first-of-type){border-top-left-radius:0;border-top-right-radius:0}.accordion>.card>.card-header{border-radius:0;margin-bottom:-1px}.breadcrumb{flex-wrap:wrap;padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:.25rem}.breadcrumb,.breadcrumb-item{display:flex}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{display:inline-block;padding-right:.5rem;color:#6c757d;content:"/"}.breadcrumb-item+.breadcrumb-item:hover:before{text-decoration:underline;text-decoration:none}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.page-link{position:relative;display:block;padding:.5rem .75rem;margin-left:-1px;line-height:1.25;color:#007bff;background-color:#fff;border:1px solid #dee2e6}.page-link:hover{z-index:2;color:#0056b3;text-decoration:none;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item.active .page-link{z-index:3;color:#fff;background-color:#007bff;border-color:#007bff}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.badge{transition:none}}a.badge:focus,a.badge:hover{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#007bff}a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.badge-secondary{color:#fff;background-color:#6c757d}a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.badge-success{color:#fff;background-color:#28a745}a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.badge-info{color:#fff;background-color:#17a2b8}a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.badge-warning{color:#212529;background-color:#ffc107}a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.badge-danger{color:#fff;background-color:#dc3545}a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.badge-light{color:#212529;background-color:#f8f9fa}a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.badge-dark{color:#fff;background-color:#343a40}a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:4rem}.alert-dismissible .close{position:absolute;top:0;right:0;z-index:2;padding:.75rem 1.25rem;color:inherit}.alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.alert-primary hr{border-top-color:#9fcdff}.alert-primary .alert-link{color:#002752}.alert-secondary{color:#383d41;background-color:#e2e3e5;border-color:#d6d8db}.alert-secondary hr{border-top-color:#c8cbcf}.alert-secondary .alert-link{color:#202326}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-success hr{border-top-color:#b1dfbb}.alert-success .alert-link{color:#0b2e13}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-info hr{border-top-color:#abdde5}.alert-info .alert-link{color:#062c33}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-warning hr{border-top-color:#ffe8a1}.alert-warning .alert-link{color:#533f03}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-danger hr{border-top-color:#f1b0b7}.alert-danger .alert-link{color:#491217}.alert-light{color:#818182;background-color:#fefefe;border-color:#fdfdfe}.alert-light hr{border-top-color:#ececf6}.alert-light .alert-link{color:#686868}.alert-dark{color:#1b1e21;background-color:#d6d8d9;border-color:#c6c8ca}.alert-dark hr{border-top-color:#b9bbbe}.alert-dark .alert-link{color:#040505}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.progress{height:1rem;line-height:0;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{flex-direction:column;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#007bff;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:flex;align-items:flex-start}.media-body{flex:1}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#007bff;border-color:#007bff}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#004085;background-color:#b8daff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#004085;background-color:#9fcdff}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#004085;border-color:#004085}.list-group-item-secondary{color:#383d41;background-color:#d6d8db}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#383d41;background-color:#c8cbcf}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#383d41;border-color:#383d41}.list-group-item-success{color:#155724;background-color:#c3e6cb}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#155724;background-color:#b1dfbb}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#155724;border-color:#155724}.list-group-item-info{color:#0c5460;background-color:#bee5eb}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#0c5460;background-color:#abdde5}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#0c5460;border-color:#0c5460}.list-group-item-warning{color:#856404;background-color:#ffeeba}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#856404;background-color:#ffe8a1}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#856404;border-color:#856404}.list-group-item-danger{color:#721c24;background-color:#f5c6cb}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#721c24;background-color:#f1b0b7}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#721c24;border-color:#721c24}.list-group-item-light{color:#818182;background-color:#fdfdfe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#818182;background-color:#ececf6}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#818182;border-color:#818182}.list-group-item-dark{color:#1b1e21;background-color:#c6c8ca}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1b1e21;background-color:#b9bbbe}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1b1e21;border-color:#1b1e21}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}button.close{padding:0;background-color:transparent;border:0}a.close.disabled{pointer-events:none}.toast{flex-basis:350px;max-width:350px;font-size:.875rem;background-color:hsla(0,0%,100%,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .25rem .75rem rgba(0,0,0,.1);opacity:0;border-radius:.25rem}.toast:not(:last-child){margin-bottom:.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:flex;align-items:center;padding:.25rem .75rem;color:#6c757d;background-color:hsla(0,0%,100%,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-body{padding:.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered:before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{flex-direction:column;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable:before{content:none}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .close{padding:1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered:before{height:calc(100vh - 3.5rem);height:-webkit-min-content;height:-moz-min-content;height:min-content}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[x-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[x-placement^=top] .arrow,.bs-tooltip-top .arrow{bottom:0}.bs-tooltip-auto[x-placement^=top] .arrow:before,.bs-tooltip-top .arrow:before{top:0;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[x-placement^=right],.bs-tooltip-right{padding:0 .4rem}.bs-tooltip-auto[x-placement^=right] .arrow,.bs-tooltip-right .arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=right] .arrow:before,.bs-tooltip-right .arrow:before{right:0;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[x-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[x-placement^=bottom] .arrow,.bs-tooltip-bottom .arrow{top:0}.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.bs-tooltip-bottom .arrow:before{bottom:0;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[x-placement^=left],.bs-tooltip-left{padding:0 .4rem}.bs-tooltip-auto[x-placement^=left] .arrow,.bs-tooltip-left .arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[x-placement^=left] .arrow:before,.bs-tooltip-left .arrow:before{left:0;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{top:0;left:0;z-index:1060;max-width:276px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover,.popover .arrow{position:absolute;display:block}.popover .arrow{width:1rem;height:.5rem;margin:0 .3rem}.popover .arrow:after,.popover .arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[x-placement^=top],.bs-popover-top{margin-bottom:.5rem}.bs-popover-auto[x-placement^=top]>.arrow,.bs-popover-top>.arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=top]>.arrow:before,.bs-popover-top>.arrow:before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=top]>.arrow:after,.bs-popover-top>.arrow:after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[x-placement^=right],.bs-popover-right{margin-left:.5rem}.bs-popover-auto[x-placement^=right]>.arrow,.bs-popover-right>.arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=right]>.arrow:before,.bs-popover-right>.arrow:before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=right]>.arrow:after,.bs-popover-right>.arrow:after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[x-placement^=bottom],.bs-popover-bottom{margin-top:.5rem}.bs-popover-auto[x-placement^=bottom]>.arrow,.bs-popover-bottom>.arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[x-placement^=bottom]>.arrow:before,.bs-popover-bottom>.arrow:before{top:0;border-width:0 .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=bottom]>.arrow:after,.bs-popover-bottom>.arrow:after{top:1px;border-width:0 .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[x-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f7f7f7}.bs-popover-auto[x-placement^=left],.bs-popover-left{margin-right:.5rem}.bs-popover-auto[x-placement^=left]>.arrow,.bs-popover-left>.arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem;margin:.3rem 0}.bs-popover-auto[x-placement^=left]>.arrow:before,.bs-popover-left>.arrow:before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[x-placement^=left]>.arrow:after,.bs-popover-left>.arrow:after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){transform:translateX(100%)}.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50%/100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators li{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid;border-right:.25em solid transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-primary{background-color:#007bff!important}a.bg-primary:focus,a.bg-primary:hover,button.bg-primary:focus,button.bg-primary:hover{background-color:#0062cc!important}.bg-secondary{background-color:#6c757d!important}a.bg-secondary:focus,a.bg-secondary:hover,button.bg-secondary:focus,button.bg-secondary:hover{background-color:#545b62!important}.bg-success{background-color:#28a745!important}a.bg-success:focus,a.bg-success:hover,button.bg-success:focus,button.bg-success:hover{background-color:#1e7e34!important}.bg-info{background-color:#17a2b8!important}a.bg-info:focus,a.bg-info:hover,button.bg-info:focus,button.bg-info:hover{background-color:#117a8b!important}.bg-warning{background-color:#ffc107!important}a.bg-warning:focus,a.bg-warning:hover,button.bg-warning:focus,button.bg-warning:hover{background-color:#d39e00!important}.bg-danger{background-color:#dc3545!important}a.bg-danger:focus,a.bg-danger:hover,button.bg-danger:focus,button.bg-danger:hover{background-color:#bd2130!important}.bg-light{background-color:#f8f9fa!important}a.bg-light:focus,a.bg-light:hover,button.bg-light:focus,button.bg-light:hover{background-color:#dae0e5!important}.bg-dark{background-color:#343a40!important}a.bg-dark:focus,a.bg-dark:hover,button.bg-dark:focus,button.bg-dark:hover{background-color:#1d2124!important}.bg-white{background-color:#fff!important}.bg-transparent{background-color:transparent!important}.border{border:1px solid #dee2e6!important}.border-top{border-top:1px solid #dee2e6!important}.border-right{border-right:1px solid #dee2e6!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-left{border-left:1px solid #dee2e6!important}.border-0{border:0!important}.border-top-0{border-top:0!important}.border-right-0{border-right:0!important}.border-bottom-0{border-bottom:0!important}.border-left-0{border-left:0!important}.border-primary{border-color:#007bff!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#28a745!important}.border-info{border-color:#17a2b8!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#343a40!important}.border-white{border-color:#fff!important}.rounded-sm{border-radius:.2rem!important}.rounded{border-radius:.25rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-right,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-right{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-left{border-bottom-left-radius:.25rem!important}.rounded-left{border-top-left-radius:.25rem!important}.rounded-lg{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-0{border-radius:0!important}.clearfix:after{display:block;clear:both;content:""}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}@media (min-width:576px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}}@media (min-width:768px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}}@media (min-width:992px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}}@media (min-width:1200px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive:before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9:before{padding-top:42.857143%}.embed-responsive-16by9:before{padding-top:56.25%}.embed-responsive-4by3:before{padding-top:75%}.embed-responsive-1by1:before{padding-top:100%}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}@media (min-width:576px){.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}}@media (min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}}@media (min-width:992px){.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}}@media (min-width:1200px){.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;-ms-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}@supports ((position:-webkit-sticky) or (position:sticky)){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mw-100{max-width:100%!important}.mh-100{max-height:100%!important}.min-vw-100{min-width:100vw!important}.min-vh-100{min-height:100vh!important}.vw-100{width:100vw!important}.vh-100{height:100vh!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}@media (min-width:576px){.m-sm-0{margin:0!important}.mt-sm-0,.my-sm-0{margin-top:0!important}.mr-sm-0,.mx-sm-0{margin-right:0!important}.mb-sm-0,.my-sm-0{margin-bottom:0!important}.ml-sm-0,.mx-sm-0{margin-left:0!important}.m-sm-1{margin:.25rem!important}.mt-sm-1,.my-sm-1{margin-top:.25rem!important}.mr-sm-1,.mx-sm-1{margin-right:.25rem!important}.mb-sm-1,.my-sm-1{margin-bottom:.25rem!important}.ml-sm-1,.mx-sm-1{margin-left:.25rem!important}.m-sm-2{margin:.5rem!important}.mt-sm-2,.my-sm-2{margin-top:.5rem!important}.mr-sm-2,.mx-sm-2{margin-right:.5rem!important}.mb-sm-2,.my-sm-2{margin-bottom:.5rem!important}.ml-sm-2,.mx-sm-2{margin-left:.5rem!important}.m-sm-3{margin:1rem!important}.mt-sm-3,.my-sm-3{margin-top:1rem!important}.mr-sm-3,.mx-sm-3{margin-right:1rem!important}.mb-sm-3,.my-sm-3{margin-bottom:1rem!important}.ml-sm-3,.mx-sm-3{margin-left:1rem!important}.m-sm-4{margin:1.5rem!important}.mt-sm-4,.my-sm-4{margin-top:1.5rem!important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem!important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem!important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem!important}.m-sm-5{margin:3rem!important}.mt-sm-5,.my-sm-5{margin-top:3rem!important}.mr-sm-5,.mx-sm-5{margin-right:3rem!important}.mb-sm-5,.my-sm-5{margin-bottom:3rem!important}.ml-sm-5,.mx-sm-5{margin-left:3rem!important}.p-sm-0{padding:0!important}.pt-sm-0,.py-sm-0{padding-top:0!important}.pr-sm-0,.px-sm-0{padding-right:0!important}.pb-sm-0,.py-sm-0{padding-bottom:0!important}.pl-sm-0,.px-sm-0{padding-left:0!important}.p-sm-1{padding:.25rem!important}.pt-sm-1,.py-sm-1{padding-top:.25rem!important}.pr-sm-1,.px-sm-1{padding-right:.25rem!important}.pb-sm-1,.py-sm-1{padding-bottom:.25rem!important}.pl-sm-1,.px-sm-1{padding-left:.25rem!important}.p-sm-2{padding:.5rem!important}.pt-sm-2,.py-sm-2{padding-top:.5rem!important}.pr-sm-2,.px-sm-2{padding-right:.5rem!important}.pb-sm-2,.py-sm-2{padding-bottom:.5rem!important}.pl-sm-2,.px-sm-2{padding-left:.5rem!important}.p-sm-3{padding:1rem!important}.pt-sm-3,.py-sm-3{padding-top:1rem!important}.pr-sm-3,.px-sm-3{padding-right:1rem!important}.pb-sm-3,.py-sm-3{padding-bottom:1rem!important}.pl-sm-3,.px-sm-3{padding-left:1rem!important}.p-sm-4{padding:1.5rem!important}.pt-sm-4,.py-sm-4{padding-top:1.5rem!important}.pr-sm-4,.px-sm-4{padding-right:1.5rem!important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem!important}.pl-sm-4,.px-sm-4{padding-left:1.5rem!important}.p-sm-5{padding:3rem!important}.pt-sm-5,.py-sm-5{padding-top:3rem!important}.pr-sm-5,.px-sm-5{padding-right:3rem!important}.pb-sm-5,.py-sm-5{padding-bottom:3rem!important}.pl-sm-5,.px-sm-5{padding-left:3rem!important}.m-sm-n1{margin:-.25rem!important}.mt-sm-n1,.my-sm-n1{margin-top:-.25rem!important}.mr-sm-n1,.mx-sm-n1{margin-right:-.25rem!important}.mb-sm-n1,.my-sm-n1{margin-bottom:-.25rem!important}.ml-sm-n1,.mx-sm-n1{margin-left:-.25rem!important}.m-sm-n2{margin:-.5rem!important}.mt-sm-n2,.my-sm-n2{margin-top:-.5rem!important}.mr-sm-n2,.mx-sm-n2{margin-right:-.5rem!important}.mb-sm-n2,.my-sm-n2{margin-bottom:-.5rem!important}.ml-sm-n2,.mx-sm-n2{margin-left:-.5rem!important}.m-sm-n3{margin:-1rem!important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem!important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem!important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem!important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem!important}.m-sm-n4{margin:-1.5rem!important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem!important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem!important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem!important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem!important}.m-sm-n5{margin:-3rem!important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem!important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem!important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem!important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem!important}.m-sm-auto{margin:auto!important}.mt-sm-auto,.my-sm-auto{margin-top:auto!important}.mr-sm-auto,.mx-sm-auto{margin-right:auto!important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto!important}.ml-sm-auto,.mx-sm-auto{margin-left:auto!important}}@media (min-width:768px){.m-md-0{margin:0!important}.mt-md-0,.my-md-0{margin-top:0!important}.mr-md-0,.mx-md-0{margin-right:0!important}.mb-md-0,.my-md-0{margin-bottom:0!important}.ml-md-0,.mx-md-0{margin-left:0!important}.m-md-1{margin:.25rem!important}.mt-md-1,.my-md-1{margin-top:.25rem!important}.mr-md-1,.mx-md-1{margin-right:.25rem!important}.mb-md-1,.my-md-1{margin-bottom:.25rem!important}.ml-md-1,.mx-md-1{margin-left:.25rem!important}.m-md-2{margin:.5rem!important}.mt-md-2,.my-md-2{margin-top:.5rem!important}.mr-md-2,.mx-md-2{margin-right:.5rem!important}.mb-md-2,.my-md-2{margin-bottom:.5rem!important}.ml-md-2,.mx-md-2{margin-left:.5rem!important}.m-md-3{margin:1rem!important}.mt-md-3,.my-md-3{margin-top:1rem!important}.mr-md-3,.mx-md-3{margin-right:1rem!important}.mb-md-3,.my-md-3{margin-bottom:1rem!important}.ml-md-3,.mx-md-3{margin-left:1rem!important}.m-md-4{margin:1.5rem!important}.mt-md-4,.my-md-4{margin-top:1.5rem!important}.mr-md-4,.mx-md-4{margin-right:1.5rem!important}.mb-md-4,.my-md-4{margin-bottom:1.5rem!important}.ml-md-4,.mx-md-4{margin-left:1.5rem!important}.m-md-5{margin:3rem!important}.mt-md-5,.my-md-5{margin-top:3rem!important}.mr-md-5,.mx-md-5{margin-right:3rem!important}.mb-md-5,.my-md-5{margin-bottom:3rem!important}.ml-md-5,.mx-md-5{margin-left:3rem!important}.p-md-0{padding:0!important}.pt-md-0,.py-md-0{padding-top:0!important}.pr-md-0,.px-md-0{padding-right:0!important}.pb-md-0,.py-md-0{padding-bottom:0!important}.pl-md-0,.px-md-0{padding-left:0!important}.p-md-1{padding:.25rem!important}.pt-md-1,.py-md-1{padding-top:.25rem!important}.pr-md-1,.px-md-1{padding-right:.25rem!important}.pb-md-1,.py-md-1{padding-bottom:.25rem!important}.pl-md-1,.px-md-1{padding-left:.25rem!important}.p-md-2{padding:.5rem!important}.pt-md-2,.py-md-2{padding-top:.5rem!important}.pr-md-2,.px-md-2{padding-right:.5rem!important}.pb-md-2,.py-md-2{padding-bottom:.5rem!important}.pl-md-2,.px-md-2{padding-left:.5rem!important}.p-md-3{padding:1rem!important}.pt-md-3,.py-md-3{padding-top:1rem!important}.pr-md-3,.px-md-3{padding-right:1rem!important}.pb-md-3,.py-md-3{padding-bottom:1rem!important}.pl-md-3,.px-md-3{padding-left:1rem!important}.p-md-4{padding:1.5rem!important}.pt-md-4,.py-md-4{padding-top:1.5rem!important}.pr-md-4,.px-md-4{padding-right:1.5rem!important}.pb-md-4,.py-md-4{padding-bottom:1.5rem!important}.pl-md-4,.px-md-4{padding-left:1.5rem!important}.p-md-5{padding:3rem!important}.pt-md-5,.py-md-5{padding-top:3rem!important}.pr-md-5,.px-md-5{padding-right:3rem!important}.pb-md-5,.py-md-5{padding-bottom:3rem!important}.pl-md-5,.px-md-5{padding-left:3rem!important}.m-md-n1{margin:-.25rem!important}.mt-md-n1,.my-md-n1{margin-top:-.25rem!important}.mr-md-n1,.mx-md-n1{margin-right:-.25rem!important}.mb-md-n1,.my-md-n1{margin-bottom:-.25rem!important}.ml-md-n1,.mx-md-n1{margin-left:-.25rem!important}.m-md-n2{margin:-.5rem!important}.mt-md-n2,.my-md-n2{margin-top:-.5rem!important}.mr-md-n2,.mx-md-n2{margin-right:-.5rem!important}.mb-md-n2,.my-md-n2{margin-bottom:-.5rem!important}.ml-md-n2,.mx-md-n2{margin-left:-.5rem!important}.m-md-n3{margin:-1rem!important}.mt-md-n3,.my-md-n3{margin-top:-1rem!important}.mr-md-n3,.mx-md-n3{margin-right:-1rem!important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem!important}.ml-md-n3,.mx-md-n3{margin-left:-1rem!important}.m-md-n4{margin:-1.5rem!important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem!important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem!important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem!important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem!important}.m-md-n5{margin:-3rem!important}.mt-md-n5,.my-md-n5{margin-top:-3rem!important}.mr-md-n5,.mx-md-n5{margin-right:-3rem!important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem!important}.ml-md-n5,.mx-md-n5{margin-left:-3rem!important}.m-md-auto{margin:auto!important}.mt-md-auto,.my-md-auto{margin-top:auto!important}.mr-md-auto,.mx-md-auto{margin-right:auto!important}.mb-md-auto,.my-md-auto{margin-bottom:auto!important}.ml-md-auto,.mx-md-auto{margin-left:auto!important}}@media (min-width:992px){.m-lg-0{margin:0!important}.mt-lg-0,.my-lg-0{margin-top:0!important}.mr-lg-0,.mx-lg-0{margin-right:0!important}.mb-lg-0,.my-lg-0{margin-bottom:0!important}.ml-lg-0,.mx-lg-0{margin-left:0!important}.m-lg-1{margin:.25rem!important}.mt-lg-1,.my-lg-1{margin-top:.25rem!important}.mr-lg-1,.mx-lg-1{margin-right:.25rem!important}.mb-lg-1,.my-lg-1{margin-bottom:.25rem!important}.ml-lg-1,.mx-lg-1{margin-left:.25rem!important}.m-lg-2{margin:.5rem!important}.mt-lg-2,.my-lg-2{margin-top:.5rem!important}.mr-lg-2,.mx-lg-2{margin-right:.5rem!important}.mb-lg-2,.my-lg-2{margin-bottom:.5rem!important}.ml-lg-2,.mx-lg-2{margin-left:.5rem!important}.m-lg-3{margin:1rem!important}.mt-lg-3,.my-lg-3{margin-top:1rem!important}.mr-lg-3,.mx-lg-3{margin-right:1rem!important}.mb-lg-3,.my-lg-3{margin-bottom:1rem!important}.ml-lg-3,.mx-lg-3{margin-left:1rem!important}.m-lg-4{margin:1.5rem!important}.mt-lg-4,.my-lg-4{margin-top:1.5rem!important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem!important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem!important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem!important}.m-lg-5{margin:3rem!important}.mt-lg-5,.my-lg-5{margin-top:3rem!important}.mr-lg-5,.mx-lg-5{margin-right:3rem!important}.mb-lg-5,.my-lg-5{margin-bottom:3rem!important}.ml-lg-5,.mx-lg-5{margin-left:3rem!important}.p-lg-0{padding:0!important}.pt-lg-0,.py-lg-0{padding-top:0!important}.pr-lg-0,.px-lg-0{padding-right:0!important}.pb-lg-0,.py-lg-0{padding-bottom:0!important}.pl-lg-0,.px-lg-0{padding-left:0!important}.p-lg-1{padding:.25rem!important}.pt-lg-1,.py-lg-1{padding-top:.25rem!important}.pr-lg-1,.px-lg-1{padding-right:.25rem!important}.pb-lg-1,.py-lg-1{padding-bottom:.25rem!important}.pl-lg-1,.px-lg-1{padding-left:.25rem!important}.p-lg-2{padding:.5rem!important}.pt-lg-2,.py-lg-2{padding-top:.5rem!important}.pr-lg-2,.px-lg-2{padding-right:.5rem!important}.pb-lg-2,.py-lg-2{padding-bottom:.5rem!important}.pl-lg-2,.px-lg-2{padding-left:.5rem!important}.p-lg-3{padding:1rem!important}.pt-lg-3,.py-lg-3{padding-top:1rem!important}.pr-lg-3,.px-lg-3{padding-right:1rem!important}.pb-lg-3,.py-lg-3{padding-bottom:1rem!important}.pl-lg-3,.px-lg-3{padding-left:1rem!important}.p-lg-4{padding:1.5rem!important}.pt-lg-4,.py-lg-4{padding-top:1.5rem!important}.pr-lg-4,.px-lg-4{padding-right:1.5rem!important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem!important}.pl-lg-4,.px-lg-4{padding-left:1.5rem!important}.p-lg-5{padding:3rem!important}.pt-lg-5,.py-lg-5{padding-top:3rem!important}.pr-lg-5,.px-lg-5{padding-right:3rem!important}.pb-lg-5,.py-lg-5{padding-bottom:3rem!important}.pl-lg-5,.px-lg-5{padding-left:3rem!important}.m-lg-n1{margin:-.25rem!important}.mt-lg-n1,.my-lg-n1{margin-top:-.25rem!important}.mr-lg-n1,.mx-lg-n1{margin-right:-.25rem!important}.mb-lg-n1,.my-lg-n1{margin-bottom:-.25rem!important}.ml-lg-n1,.mx-lg-n1{margin-left:-.25rem!important}.m-lg-n2{margin:-.5rem!important}.mt-lg-n2,.my-lg-n2{margin-top:-.5rem!important}.mr-lg-n2,.mx-lg-n2{margin-right:-.5rem!important}.mb-lg-n2,.my-lg-n2{margin-bottom:-.5rem!important}.ml-lg-n2,.mx-lg-n2{margin-left:-.5rem!important}.m-lg-n3{margin:-1rem!important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem!important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem!important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem!important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem!important}.m-lg-n4{margin:-1.5rem!important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem!important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem!important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem!important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem!important}.m-lg-n5{margin:-3rem!important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem!important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem!important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem!important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem!important}.m-lg-auto{margin:auto!important}.mt-lg-auto,.my-lg-auto{margin-top:auto!important}.mr-lg-auto,.mx-lg-auto{margin-right:auto!important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto!important}.ml-lg-auto,.mx-lg-auto{margin-left:auto!important}}@media (min-width:1200px){.m-xl-0{margin:0!important}.mt-xl-0,.my-xl-0{margin-top:0!important}.mr-xl-0,.mx-xl-0{margin-right:0!important}.mb-xl-0,.my-xl-0{margin-bottom:0!important}.ml-xl-0,.mx-xl-0{margin-left:0!important}.m-xl-1{margin:.25rem!important}.mt-xl-1,.my-xl-1{margin-top:.25rem!important}.mr-xl-1,.mx-xl-1{margin-right:.25rem!important}.mb-xl-1,.my-xl-1{margin-bottom:.25rem!important}.ml-xl-1,.mx-xl-1{margin-left:.25rem!important}.m-xl-2{margin:.5rem!important}.mt-xl-2,.my-xl-2{margin-top:.5rem!important}.mr-xl-2,.mx-xl-2{margin-right:.5rem!important}.mb-xl-2,.my-xl-2{margin-bottom:.5rem!important}.ml-xl-2,.mx-xl-2{margin-left:.5rem!important}.m-xl-3{margin:1rem!important}.mt-xl-3,.my-xl-3{margin-top:1rem!important}.mr-xl-3,.mx-xl-3{margin-right:1rem!important}.mb-xl-3,.my-xl-3{margin-bottom:1rem!important}.ml-xl-3,.mx-xl-3{margin-left:1rem!important}.m-xl-4{margin:1.5rem!important}.mt-xl-4,.my-xl-4{margin-top:1.5rem!important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem!important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem!important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem!important}.m-xl-5{margin:3rem!important}.mt-xl-5,.my-xl-5{margin-top:3rem!important}.mr-xl-5,.mx-xl-5{margin-right:3rem!important}.mb-xl-5,.my-xl-5{margin-bottom:3rem!important}.ml-xl-5,.mx-xl-5{margin-left:3rem!important}.p-xl-0{padding:0!important}.pt-xl-0,.py-xl-0{padding-top:0!important}.pr-xl-0,.px-xl-0{padding-right:0!important}.pb-xl-0,.py-xl-0{padding-bottom:0!important}.pl-xl-0,.px-xl-0{padding-left:0!important}.p-xl-1{padding:.25rem!important}.pt-xl-1,.py-xl-1{padding-top:.25rem!important}.pr-xl-1,.px-xl-1{padding-right:.25rem!important}.pb-xl-1,.py-xl-1{padding-bottom:.25rem!important}.pl-xl-1,.px-xl-1{padding-left:.25rem!important}.p-xl-2{padding:.5rem!important}.pt-xl-2,.py-xl-2{padding-top:.5rem!important}.pr-xl-2,.px-xl-2{padding-right:.5rem!important}.pb-xl-2,.py-xl-2{padding-bottom:.5rem!important}.pl-xl-2,.px-xl-2{padding-left:.5rem!important}.p-xl-3{padding:1rem!important}.pt-xl-3,.py-xl-3{padding-top:1rem!important}.pr-xl-3,.px-xl-3{padding-right:1rem!important}.pb-xl-3,.py-xl-3{padding-bottom:1rem!important}.pl-xl-3,.px-xl-3{padding-left:1rem!important}.p-xl-4{padding:1.5rem!important}.pt-xl-4,.py-xl-4{padding-top:1.5rem!important}.pr-xl-4,.px-xl-4{padding-right:1.5rem!important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem!important}.pl-xl-4,.px-xl-4{padding-left:1.5rem!important}.p-xl-5{padding:3rem!important}.pt-xl-5,.py-xl-5{padding-top:3rem!important}.pr-xl-5,.px-xl-5{padding-right:3rem!important}.pb-xl-5,.py-xl-5{padding-bottom:3rem!important}.pl-xl-5,.px-xl-5{padding-left:3rem!important}.m-xl-n1{margin:-.25rem!important}.mt-xl-n1,.my-xl-n1{margin-top:-.25rem!important}.mr-xl-n1,.mx-xl-n1{margin-right:-.25rem!important}.mb-xl-n1,.my-xl-n1{margin-bottom:-.25rem!important}.ml-xl-n1,.mx-xl-n1{margin-left:-.25rem!important}.m-xl-n2{margin:-.5rem!important}.mt-xl-n2,.my-xl-n2{margin-top:-.5rem!important}.mr-xl-n2,.mx-xl-n2{margin-right:-.5rem!important}.mb-xl-n2,.my-xl-n2{margin-bottom:-.5rem!important}.ml-xl-n2,.mx-xl-n2{margin-left:-.5rem!important}.m-xl-n3{margin:-1rem!important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem!important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem!important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem!important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem!important}.m-xl-n4{margin:-1.5rem!important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem!important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem!important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem!important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem!important}.m-xl-n5{margin:-3rem!important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem!important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem!important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem!important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem!important}.m-xl-auto{margin:auto!important}.mt-xl-auto,.my-xl-auto{margin-top:auto!important}.mr-xl-auto,.mx-xl-auto{margin-right:auto!important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto!important}.ml-xl-auto,.mx-xl-auto{margin-left:auto!important}}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:transparent}.text-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.text-justify{text-align:justify!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-light{font-weight:300!important}.font-weight-lighter{font-weight:lighter!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:700!important}.font-weight-bolder{font-weight:bolder!important}.font-italic{font-style:italic!important}.text-white{color:#fff!important}.text-primary{color:#007bff!important}a.text-primary:focus,a.text-primary:hover{color:#0056b3!important}.text-secondary{color:#6c757d!important}a.text-secondary:focus,a.text-secondary:hover{color:#494f54!important}.text-success{color:#28a745!important}a.text-success:focus,a.text-success:hover{color:#19692c!important}.text-info{color:#17a2b8!important}a.text-info:focus,a.text-info:hover{color:#0f6674!important}.text-warning{color:#ffc107!important}a.text-warning:focus,a.text-warning:hover{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!important}.text-body{color:#212529!important}.text-muted{color:#6c757d!important}.text-black-50{color:rgba(0,0,0,.5)!important}.text-white-50{color:hsla(0,0%,100%,.5)!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none!important}.text-break{word-break:break-word!important;word-wrap:break-word!important}.text-reset{color:inherit!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important}a:not(.btn){text-decoration:underline}abbr[title]:after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #adb5bd;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}.container,body{min-width:992px!important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #dee2e6!important}.table-dark{color:inherit}.table-dark tbody+tbody,.table-dark td,.table-dark th,.table-dark thead th{border-color:#dee2e6}.table .thead-dark th{color:inherit;border-color:#dee2e6}} \ No newline at end of file diff --git a/dist/apps/user-profile/3rdpartylicenses.txt b/dist/apps/user-profile/3rdpartylicenses.txt new file mode 100644 index 000000000..5fb55f0fe --- /dev/null +++ b/dist/apps/user-profile/3rdpartylicenses.txt @@ -0,0 +1,861 @@ +@angular-devkit/build-angular +MIT +The MIT License + +Copyright (c) 2017 Google, Inc. + +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. + + +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +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. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/flex-layout +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +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. + + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +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. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@ngx-translate/core +MIT + +@ngx-translate/http-loader +MIT + +bootstrap +MIT +The MIT License (MIT) + +Copyright (c) 2011-2020 Twitter, Inc. +Copyright (c) 2011-2020 The Bootstrap Authors + +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. + + +core-js +MIT +Copyright (c) 2014-2020 Denis Pushkarev + +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. + + +css-loader +MIT +Copyright JS Foundation and other contributors + +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. + + +file-saver +MIT +The MIT License + +Copyright © 2016 [Eli Grey][1]. + +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. + + [1]: http://eligrey.com + + +moment +MIT +Copyright (c) JS Foundation and other contributors + +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. + + +moment-timezone +MIT +The MIT License (MIT) + +Copyright (c) JS Foundation and other contributors + +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. + +ngx-mat-select-search +MIT +MIT License + +Copyright (c) 2018 Bithost GmbH + +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. + + +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. + +perun-web-apps +MIT + 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 [yyyy] [name of copyright owner] + + 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. + + +querystring +MIT + +Copyright 2012 Irakli Gozalishvili. All rights reserved. +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. + + +regenerator-runtime +MIT +MIT License + +Copyright (c) 2014-present, Facebook, Inc. + +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. + + +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. + +webpack +MIT +Copyright JS Foundation and other contributors + +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. + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2020 Google LLC. http://angular.io/license + +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. diff --git a/dist/apps/user-profile/assets/config/defaultConfig.json b/dist/apps/user-profile/assets/config/defaultConfig.json new file mode 100644 index 000000000..74b37016a --- /dev/null +++ b/dist/apps/user-profile/assets/config/defaultConfig.json @@ -0,0 +1,191 @@ +{ + "logo": "image/svg+xml\n\n\t.st0{fill:#FFFFFF;}\n\n\n\n\t\n\t\n\n", + "api_url": "http://localhost/krb/rpc", + "auto_auth_redirect": true, + "oidc_client": { + "oauth_authority": "https://login.cesnet.cz/oidc/", + "oauth_callback": "http://gui-dev.org/api-callback", + "oauth_client_id": "411471d9-5e3d-48bd-9717-25f1fa634d20", + "oauth_post_logout_redirect_uri": "", + "oauth_redirect_uri": "http://gui-dev.org/api-callback", + "oauth_scopes": "openid profile perun_api", + "oauth_response_type": "code", + "filters": { + "muni": "urn:cesnet:proxyidp:idpentityid:https://idp2.ics.muni.cz/idp/shibboleth", + "soc_idp": "urn:cesnet:proxyidp:filter:eyJ2ZXIiOiIyIiwiYWxsb3dGZWVkcyI6eyJTb2NpYWxJZFBzIjp7fX19" + } + }, + "password_namespace_attributes": [ + "urn:perun:user:attribute-def:def:login-namespace:einfra", + "urn:perun:user:attribute-def:def:login-namespace:einfra-services", + "urn:perun:user:attribute-def:def:login-namespace:egi-ui", + "urn:perun:user:attribute-def:def:login-namespace:sitola" + ], + "consolidator_base_url": "https://perun-dev.cesnet.cz/", + "registrar_base_url": "https://perun-dev.cesnet.cz/fed/registrar/", + "pwd_reset_base_url": "https://perun-dev.cesnet.cz/fed/pwd-reset/", + "profile_page_attributes": [ + { + "friendly_name": "organization", + "display_name_en": "Organization", + "display_name_cz": "Organizace", + "tooltip_en": "", + "tooltip_cz": "" + }, + { + "friendly_name": "preferredLanguage", + "display_name_en": "Preferred language", + "display_name_cz": "Preferovaný jazyk", + "tooltip_en": "", + "tooltip_cz": "" + }, + { + "friendly_name": "preferredMail", + "display_name_en": "Preferred mail", + "display_name_cz": "Preferovaný mail", + "tooltip_en": "", + "tooltip_cz": "" + }, + { + "friendly_name": "timezone", + "display_name_en": "Timezone", + "display_name_cz": "Časová zóna", + "tooltip_en": "", + "tooltip_cz": "", + "is_virtual": false + } + ], + "mfa": { + "api_url": "https://id.muni.cz/mfaapi/", + "security_image_attribute": "urn:perun:user:attribute-def:def:securityImage:mu", + "enforce_mfa_attribute": "urn:perun:user:attribute-def:def:mfaEnforced:mu", + "tokens_attribute": "urn:perun:user:attribute-def:def:mfaTokens:mu", + "register_totp_url": "https://id.muni.cz/simplesaml/module.php/muni/register-totp.php" + }, + "display_identity_certificates": true, + "external_services": [ + { + "url": "https://google.com", + "label_en": "Google (custom link)", + "label_cz": "Google (vlastni stitek)" + }, + { + "url": "https://github.com", + "label_en": "GitHub (custom link)", + "label_cz": "GitHub (vlastni stitek)" + } + ], + "displayed_tabs": [ + "profile", + "identities", + "services", + "groups", + "vos", + "privacy", + "settings", + "data_quotas", + "ssh_keys", + "opt_out", + "samba", + "alt_passwords", + "pref_shells", + "pref_group_names", + "password_reset", + "external", + "password_reset", + "auth" + ], + "custom_labels": [ + { + "label": "PREFERRED_SHELLS.TITLE", + "en": "Preferred shells (custom label)", + "cz": "Preferované shelly (custom label)" + }, + { + "label": "MENU_ITEMS.PROFILE", + "en": "Profile (custom label)", + "cz": "Profil (vlastní štítek)" + } + ], + "header_label": "Generic user profile", + "preferred_unix_group_names": [ + "einfra", + "ncbr", + "storage" + ], + "footer": { + "columns": [ + { + "title_en": "ABOUT", + "title_cz": "O NÁS", + "elements": [ + { + "link": "https://perun-aai.org/", + "label_en": "Perun web", + "label_cz": "Perun web" + }, + { + "link": "https://perun-aai.org/team", + "label_en": "Perun team", + "label_cz": "Perun tým" + }, + { + "link": "https://perun-aai.org/", + "label_en": "Privacy policy", + "label_cz": "Ochrana osobních údajů" + } + ] + }, + { + "title_en": "HELP", + "title_cz": "POMOC", + "elements": [ + { + "link": "https://perun-aai.org/documentation/users-documentation", + "label_en": "Documentation", + "label_cz": "Dokumentace" + } + ] + }, + { + "title_en": "SUPPORT", + "title_cz": "PODPORA", + "elements": [ + { + "link": "", + "label_en": "perun@cesnet.cz", + "label_cz": "perun@cesnet.cz" + } + ] + } + ], + "copyright_items": [ + { + "name": "CESNET", + "url": "https://www.cesnet.cz/" + }, + { + "name": "CERIT-SC", + "url": "https://www.cerit-sc.cz/" + } + ] + }, + "theme": { + "content_bg_color": "", + "header_bg_color": "#102027", + "header_text_color": "#ffffff", + "header_icon_color": "#ffffff", + "footer_bg_color": "#263238", + "footer_headers_text_color": "#ffffff", + "footer_links_text_color": "#e0e0e0", + "footer_copyright_text_color": "#9e9e9e", + "sidemenu_text_color": "#ffffff", + "sidemenu_bg_color": "#263238", + "sidemenu_border_color": "#071e24", + "sidemenu_item_icon_color": "#ffffff", + "sidemenu_hover_color": "#00796b", + "sidemenu_active_color": "#005048", + "sidemenu_active_text_color": "#ffffff", + "user_color": "#00796b" + } +} diff --git a/dist/apps/user-profile/assets/config/instanceConfig.json b/dist/apps/user-profile/assets/config/instanceConfig.json new file mode 100644 index 000000000..d1b49abfa --- /dev/null +++ b/dist/apps/user-profile/assets/config/instanceConfig.json @@ -0,0 +1,3 @@ +{ + "api_url": "https://perun-dev.cesnet.cz/oauth/rpc" +} diff --git a/dist/apps/user-profile/assets/i18n/cs.json b/dist/apps/user-profile/assets/i18n/cs.json new file mode 100644 index 000000000..4e41b5c96 --- /dev/null +++ b/dist/apps/user-profile/assets/i18n/cs.json @@ -0,0 +1,365 @@ +{ + "MENU_ITEMS": { + "PROFILE": "Profil", + "IDENTITIES": "Spojené identity", + "SERVICES": "Služby", + "GROUPS": "Skupiny", + "VOS": "Organizace", + "PRIVACY": "Soukromí", + "SETTINGS": "Nastavení" + }, + "SETTINGS": { + "ALTERNATIVE_PASSWORDS": "Alternativní hesla", + "DATA_QUOTAS": "Kvóty dat", + "MAILING_LISTS": "Vyřazení ze seznamu adresátů", + "PREFERRED_SHELLS": "Preferované shelly", + "PREFERRED_UNIX_GROUP_NAMES": "Preferovaná jména Unixových skupin", + "SAMBA_PASSWORD": "Heslo pro službu SAMBA", + "SSH_KEYS": "SSH klíče", + "PASSWORD_RESET": "Změna hesla", + "AUTHENTICATION": "Autentizace" + }, + "ORGANIZATIONS": { + "FILTER": "Filtrovat dle jména", + "NO_VOS_ALERT": "Žádné virtuální organizace nebyly nalezeny", + "TITLE": "Uživatelské organizace", + "IS_ADMIN": "Organizace, kde jste administrátorem", + "IS_MEMBER": "Organizace, kde jste členem" + }, + "GROUPS": { + "TITLE": "Moje Skupiny", + "SELECT_VO": "Filtrovat dle organizace", + "ALL": "Všechny organizace", + "FILTER": "Filtrovat dle jména", + "MEMBER_GROUPS": "Skupiny ve kterých jste členem", + "ADMINS_GROUPS": "Skupiny ve kterých jste administrátorem", + "NO_GROUPS": "Nenalezeny žádné skupiny." + }, + "SERVICES": { + "TITLE": "Moje služby", + "FILTER": "Filtrovat služby dle jména organizace" + }, + "PROFILE_PAGE": { + "NAME": "Jméno", + "CHANGE_EMAIL": "Aktualizovat", + "MAIL_CHANGE_SUCCESS": "Preferovaný email byl změněn" + }, + "IDENTITIES": { + "IDP": "Vaše spojené identity", + "CERT": "Vaše certifikáty", + "OTHER": "Ostatní", + "ADD": "Přidat", + "REMOVE": "Odstranit", + "EXT_SOURCE_NAME_CERT": "Poskytovatel certifikátu", + "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" + }, + "PRIVACY": { + "TITLE": "Soukromí", + "FILTER": "Filtrovat osobní data dle jména organizace", + "USER_INFO": "Informace o Vás", + "DATA": "Informace využívané organizací " + }, + "MEMBERSHIP_LIST": { + "NAME": "Jméno", + "DESCRIPTION": "Popis", + "EXPIRATION": "Expirace členství", + "NO_MEMBERSHIPS": "Žádné výsledky nesplňují zadané vyhledávací parametry.", + "EXTEND": "Prodloužit členství" + }, + "SSH_KEYS": { + "SSH_KEYS_TITLE": "SSH klíče", + "SSH_KEYS_DESCRIPTION": "Zde je seznam Vašich SSH klíčů.", + "ADMIN_SSH_KEYS_TITLE": "Seznam vašich administratorských SSH klíčů", + "ADMIN_SSH_KEYS_DESCRIPTION": "Zde je seznam Vašich SSH klíčů, které jsou používány pro přístup na účet root.", + "COPY_TOOLTIP": "Zkopírovat klíč", + "REMOVE_TOOLTIP": "Odstranit", + "NEW_KEY": "Nový klíč", + "REMOVE_KEY": "Odstranit", + "REMOVE_DIALOG_TITLE": "Odstranit SSH klíč", + "REMOVE_DIALOG_DESCRIPTION": "Vámi vybrané SSH klíče budou odstraněny" + }, + "SAMBA_PASSWORD": { + "TITLE": "Heslo pro službu SAMBA", + "INPUT_PLACEHOLDER": "Zadejte nové heslo", + "SET_PASSWORD": "Nastavit heslo", + "SUCCESS_MESSAGE": "Heslo pro službu SAMBA bylo nastaveno", + "PASSWORD_VALIDATION": "Heslo musí obsahovat alespoň 3 ze 4 skupin znaků: malá písmena, velká písmena, číslice, speciální znaky", + "SHOW_PWD_TOOLTIP": "Ukázat heslo", + "HIDE_PWD_TOOLTIP": "Schovat heslo" + }, + "PREFERRED_UNIX_GROUP_NAMES": { + "TITLE": "Preferovaná jména Unixových skupin", + "NEW_BUTTON": "Přidat preferované jméno skupiny", + "REMOVE_BUTTON": "Odstranit", + "REMOVE_DIALOG_TITLE": "Odstranit preferované jméno Unixové skupiny", + "REMOVE_DIALOG_DESCRIPTION": "Vámi vybraná preferovaná jména Unixových skupin budou odstraněna", + "HEADER_COLUMN": "Jméno" + }, + "PREFERRED_SHELLS": { + "TITLE": "Preferované shelly", + "NEW_BUTTON": "Přidat nový preferovaný shell", + "REMOVE_BUTTON": "Odstranit", + "NO_SHELLS": "Nemáte nastaveny žádné preferované shelly", + "REMOVE_DIALOG_TITLE": "Odstranění preferovaného shellu", + "REMOVE_DIALOG_DESCRIPTION": "Vámi vybrané preferované shelly budou odstraněny", + "DESCRIPTION": "Seznam shellů, seřazených od nejvíce preferovaných po nejméně preferované, je použit pro rozhodnutí při výběru shellu na vašich strojích. Pokud žádný z preferovaných shellů není na daném stroji dostupný (nebo není žádný preferovaný shell zvolen), použije se výchozí shell daného stroje." + }, + "ALT_PASSWORDS": { + "TITLE_GENERATE": "Vygenerujte nové alternativní heslo", + "EXAMPLE_DESCRIPTIONS": "Příklady popisů hesel: \"email na mobilním telefonu\" nebo \"telekonference na tabletu\".", + "TITLE_PASSWORDS": "Vaše alternativní hesla", + "INPUT_PLACEHOLDER": "Popis hesla", + "REMOVE": "Odstranit", + "GENERATE": "Vygenerovat", + "HEADER_COLUMN":"Popis" + }, + "DATA_QUOTAS": { + "TITLE": "Kvóty dat", + "FILTER": "Filtrovat kvóty dat dle jména organizace", + "QUOTA": "Datová kvóta: ", + "CHANGE": "Změnit", + "QUOTA_INFO": "Kvóty dat používají \"soft limit : hard limit\" notaci a jsou vázány na specifický objem dat.", + "NO_QUOTAS": "Nebyly nalezeny žádné služby, kde by bylo možné zažádat o změnu kvóty." + }, + "OPT_OUT_MAILING_LISTS": { + "TITLE": "Vyřazení ze seznamu adresátů", + "FILTER": "Filtrovat seznamy adresátů dle jména organizace", + "OPT_OUT_LABEL": "Vyřadit mě z tohoto seznamu adresátů", + "NO_MAILING_LISTS_ALERT": "Nemáte žádné seznamy adresátů v této organizaci" + }, + "AUTHENTICATION": { + "TITLE": "Bezpečnostní obrázek", + "MFA": "Vícefázové ověření", + "NEW_IMG": "Nový obrázek", + "DELETE_IMG": "Vymazat obrázek", + "ANTI_PHISHING_INFO": "Tento bezpečnostní obrázek se vám ukáže před tím, než zadáte heslo, ujistíte se tak, že se nepřihlašujete na podvrženou stránku", + "MFA_TOGGLE": "Zapnout multi-factor authentication pro všechny služby", + "DELETE_IMG_DIALOG_TITLE": "Vymazat proti-phishingový obrázek", + "DELETE_IMG_DIALOG_DESC": "Váš bezpečnostní obrázek bude odstraněn a nebude použit během autentizace.", + "TYPE": "Typ", + "NAME": "Jméno", + "REVOKE": "Zrušit", + "ADDED": "Přidáno", + "USED": "Naposledy použito", + "NO_TOKENS": "Nemáte žádné tokeny pro multi-factor authentication.", + "ADD_WEBAUTHN": "Přidat zařízení Webauthn", + "ADD_TOTP": "Přidat zařízení TOTP" + }, + "DIALOGS": { + "CHANGE_EMAIL": { + "TITLE": "Aktualizovat 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." + }, + "ADD_SSH": { + "TITLE": "Přidat nový SSH klíč", + "INPUT_PLACEHOLDER": "Začíná 'ssh-rsa', 'ssh-ed25519', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384' nebo 'ecdsa-sha2-nistp521'.", + "CANCEL": "Zrušit", + "ADD": "Přidat" + }, + "ADD_UNIX_GROUP": { + "TITLE": "Přidat preferované jméno Unixové skupiny", + "CANCEL": "Zrušit", + "ADD": "Přidat" + }, + "REMOVE_STRING_VALUE": { + "ASK": "Jste si jistí, že chcete pokračovat?", + "CANCEL": "Zrušit", + "REMOVE": "Odstranit" + }, + "REMOVE_ALT_PASSWORD": { + "TITLE": "Odstranění alternativního hesla", + "DESCRIPTION": "Alternativní heslo s nasledujícím popisem bude odstraněno", + "ASK": "Jste si jistí, že chcete pokračovat?", + "CANCEL": "Zrušit", + "REMOVE": "Odstranit" + }, + "SHOW_PASSWORD": { + "TITLE": "Vaše vygenerované heslo", + "LABEL": "Prosím zkopírujte si heslo nyní. Nebude vícekrát zobrazeno.", + "CLOSE": "Close", + "COPY": "Zkopírovat do schránky" + }, + "REQUEST_DATA_QUOTA_CHANGE": { + "TITLE": "Žádost o změnu datové kvóty", + "RESOURCE": "Zdroj", + "CURRENT_QUOTA": "Momentální kvóta", + "REQUESTED_QUOTA": "Požadovaná kvóta", + "REASON": "Důvod", + "SEND": "Poslat", + "CANCEL": "Zrušit", + "SUCCESS": "Žádost o změnu datové kvóty byla odeslána" + }, + "SHOW_SSH": { + "CLOSE": "Zrušit" + }, + "ADD_AUTH_IMG": { + "TITLE": "Změna proti-phishingového obrázku", + "INFO": "Prosím, zvolte obrázek s velikostí maximálně 5kB.", + "GENERATE": "Generovat obrázek", + "UPLOAD_IMG_LABEL": "Nahrát obrázek z vašeho počítače", + "CANCEL": "Zrušit", + "ADD": "Uložit obrázek", + "IMG_TOO_LONG": "Velikost obrázku je větší než 5kB", + "DELAY_INFO": "Změna bezpečnostního obrázku se projeví většinou do 5 minut, v ojedinělých případech může propagace změny trvat několik hodin." + }, + "ADD_TOKEN_INFO": { + "INFO": "Mějte připravenou aplikaci pro TOTP (např. FreeOTP nebo Google Authenticator), po potvrzení dojde ihned k vytvoření TOTP klíče a QR kódu, který je potřeba naskenovat aplikací. Pokud nenaskenujete QR kód do TOTP aplikace, klíč bude ztracen a není možné ho obnovit.", + "CANCEL": "Zrušit", + "ADD": "Pokračovat" + } + }, + "ALERTS": { + "NO_SSH_KEYS": "Nemáte žádné SSH klíče", + "NO_SAMBA": "Dosud nemáte heslo pro službu SAMBA.", + "SAMBA_EXISTS": "Heslo pro službu SAMBA již máte nastaveno. Můžete je změnit zadáním nového hesla.", + "NO_PREFERRED_UNIX_GROUPS": "Nemáte nastaveny žádná preferovaná jména Unixových skupin pro tento jmenný prostor", + "NO_ALT_PASSWORDS": "Nemáte žádná alternativní hesla" + }, + "SHARED_LIB": { + "PERUN": { + "COMPONENTS": { + "GROUPS_LIST": { + "TABLE_GROUP_ID": "Id", + "TABLE_VO_NAME": "Vo", + "TABLE_GROUP_NAME": "Jméno", + "TABLE_SEARCH": "Filtrovat dle jména, popisu nebo ID", + "TABLE_GROUP_DESCRIPTION": "Popis" + }, + "GROUP_MENU": { + "MOVE": "Přesunout skupinu", + "RENAME": "Aktualizovat jméno/skupinu" + }, + "VO_SELECT_TABLE": { + "ID": "Id", + "NAME": "Jméno", + "RECENT": "Nedávno navštívené", + "SHORTNAME": "Skrácené jméno" + }, + "RESOURCES_LIST": { + "TITLE": "Zdroje", + "DELETE": "Odstranit vybrané", + "TABLE_RESOURCE_ID": "id", + "TABLE_RESOURCE_NAME": "Jméno", + "TABLE_VO_NAME": "Organizace", + "TABLE_FACILITY_NAME": "Jméno zdroje z reálného světa", + "TABLE_RESOURCE_TAGS": "Tagy", + "TABLE_SEARCH": "Filtrovat dle jména, popisu nebo ID", + "TABLE_RESOURCE_DESCRIPTION": "Popis", + "NO_RESOURCES_WARNING": "Nemáte přiřazené žádné zdroje." + }, + "ATTRIBUTE_VALUE_LIST": { + "EDIT_DIALOG": { + "TITLE": "Změnit hodnotu atributu", + "SUBMIT_BUTTON": "Potvrdit", + "CANCEL_BUTTON": "Zrušit" + }, + "DELETE_DIALOG": { + "TITLE": "Vymazat hodnotu atributu", + "DESCRIPTION": "Skutečně chcete vymazat hodnotu atributu se seznamu?", + "SUBMIT_BUTTON": "Odstranit", + "CANCEL_BUTTON": "Zrušit" + } + }, + "ATTRIBUTES_LIST": { + "FILTER": "Filtrovat dle id, jména, hodnoty nebo popisu", + "ID": "Id", + "NAME": "Jméno", + "VALUE": "Hodnota", + "DESCRIPTION": "Popis", + "EMPTY": "Žádné nastavení nebyly nalezeny. Použijte tlačidlo 'Přidat' pro přidání nových nastavení." + }, + "USER_DONT_EXIST": { + "TITLE": "Požadovaný uživatel (dle ID nebo externí identity) neexistuje." + }, + "TABLE_OPTIONS": { + "EXPORT_TO_FILE": "Exportovat do souboru" + }, + "NOTIFICATOR": { + "NOTIFICATION": { + "DEFAULT_ACTION": "Zobrazit", + "DIALOG_CLOSE": "Zavřít", + "DIALOG_BUG_REPORT": "Nahlásit chybu", + "DEFAULT_RPC_ERROR_MESSAGE": "Operace se nezdařila.", + "PRIVILEGE_EXCEPTION": "Nemáte práva na tuto operaci." + } + }, + "USER_EXT_SOURCES_LIST": { + "MAIL": "Email", + "EXT_SOURCE_NAME": "Původ připojené identity", + "LOGIN": "Jméno", + "LAST_ACCESS": "Poslední použití", + "NO_IDENTITIES": "Nenalezeny žádné identity", + "ID": "Id", + "LOA": "Úroveň důvěry" + }, + "BUG_REPORT": { + "TITLE": "Nahlásit chybu", + "SUBJECT": "Předmět", + "SUBJECT_VALUE": "Nahlásený problém: ", + "SUBJECT_ERROR": "Předmět musí být vyplněn.", + "MESSAGE": "Zpráva", + "MESSAGE_PLACEHOLDER": "Popište, co jste delali když nastal problém. (Minimální délka je 60 znaků)", + "MESSAGE_ERROR": "Minimální délka je 60 znaků.", + "CANCEL": "Zrušit", + "SEND": "Poslat", + "SUCCESS": "Nahlášená chyba byla odoslána" + }, + "REMOVE_USER_EXT_SOURCE": { + "TITLE": "Odstranit uživateli externi identitu", + "DESCRIPTION": "Následující externí identita bude odstraněna", + "ASK": "Jste si jistí, že chcete pokračovat?", + "CANCEL": "Zrušit", + "REMOVE": "Odstranit", + "SUCCESS": "Uživatelova externí identita byla odstraněna" + }, + "PASSWORD_RESET": { + "TITLE": "Změna hesla", + "CHANGE_PASSWORD": "Změnit heslo", + "NAMESPACE": "Jmenný prostor", + "LOGIN": "Přihlašovací jméno", + "NOT_SUPPORTED": "Zména hesla není podporována ve vašich jmených prostorech" + }, + "SHOW_VALUE": { + "CLOSE": "Zrušit", + "COPY": "Zkopírovat hodnotu" + }, + "MAIL_CHANGE_FAILED_DIALOG": { + "TITLE": "Zmněna preferovaného emailu se nezdařila", + "INFO": "Žádost o změnu preferovaného emailu neexistuje nebo již není platná", + "CLOSE": "Zavřít" + } + }, + "ORGANIZATIONS": { + "TITLE": "Uživatelské organizace", + "FILTER": "Filtrovat dle jména nebo ID", + "YOU_ARE_ADMIN": "Organizace, kde jste administrátorem", + "YOU_ARE_MEMBER": "Organizace, kde jste členem", + "USER_IS_ADMIN": "Organizace, kde je uživatel administrátorem", + "USER_IS_MEMBER": "Organizace, kde je uživatel členem" + }, + "GROUPS": { + "MEMBER_GROUPS": "Členské skupiny", + "ADMINS_GROUPS": "Skupiny, kde je uživatel administrátorem" + }, + "REFRESH_BUTTON": "Obnovit", + "SERVICES_CONFIGURATIONS": { + "ADD": "Přidat", + "SAVE": "Uložit" + } + }, + "UI": { + "ALERTS": { + "NO_GROUPS": "Nebyly nalezeny žádné skupiny.", + "NO_FILTER_RESULTS_ALERT": "Žádné výsledky neodpovídají daným vyhledávacím kritériím." + } + } + } +} diff --git a/dist/apps/user-profile/assets/i18n/en.json b/dist/apps/user-profile/assets/i18n/en.json new file mode 100644 index 000000000..62fe1a541 --- /dev/null +++ b/dist/apps/user-profile/assets/i18n/en.json @@ -0,0 +1,438 @@ +{ + "MENU_ITEMS": { + "PROFILE": "Profile", + "IDENTITIES": "Linked identities", + "SERVICES": "Services", + "GROUPS": "Groups", + "VOS": "Organizations", + "PRIVACY": "Privacy", + "SETTINGS": "Settings" + }, + "SETTINGS": { + "ALTERNATIVE_PASSWORDS": "Alternative passwords", + "DATA_QUOTAS": "Data quotas", + "MAILING_LISTS": "Opt-out from mailing lists", + "PREFERRED_SHELLS": "Preferred shells", + "PREFERRED_UNIX_GROUP_NAMES": "Preferred unix group names", + "SAMBA_PASSWORD": "Samba password", + "SSH_KEYS": "SSH keys", + "PASSWORD_RESET": "Password reset", + "AUTHENTICATION": "Authentication" + }, + "ORGANIZATIONS": { + "FILTER": "Filter by name", + "NO_VOS_ALERT": "No organizations found", + "TITLE": "User organizations", + "IS_ADMIN": "Organizations you are manager of", + "IS_MEMBER": "Organizations you are member of" + }, + "GROUPS": { + "TITLE": "Groups", + "SELECT_VO": "Filter by organization", + "ALL": "All organizations", + "FILTER": "Filter by name", + "MEMBER_GROUPS": "Groups you are member of", + "ADMINS_GROUPS": "Groups you are manager of", + "NO_GROUPS": "No groups found" + }, + "SERVICES": { + "TITLE": "My services", + "FILTER": "Filter services by organization's name" + }, + "PROFILE_PAGE": { + "NAME": "Name", + "CHANGE_EMAIL": "Change", + "MAIL_CHANGE_SUCCESS": "Preferred mail has been changed" + }, + "IDENTITIES": { + "IDP": "Your linked identities", + "CERT": "Your certificates", + "OTHER": "Other", + "ADD": "Add", + "REMOVE": "Remove", + "EXT_SOURCE_NAME_CERT": "Certificate issuer", + "EXT_SOURCE_NAME_OTHER": "External source name", + "LOGIN_CERT": "DN", + "LOGIN_IDP": "Linked identity", + "OTHER_TOOLTIP": "Identities that were not acquired through Identity consolidator" + }, + "PRIVACY": { + "TITLE": "Privacy", + "FILTER": "Filter private data by organization's name", + "USER_INFO": "Information about you", + "DATA": "Information used by " + }, + "MEMBERSHIP_LIST": { + "NAME": "Name", + "DESCRIPTION": "Description", + "EXPIRATION": "Expiration", + "NO_MEMBERSHIPS": "No results match current filter", + "EXTEND": "Extend" + }, + "SSH_KEYS": { + "SSH_KEYS_TITLE": "SSH keys", + "SSH_KEYS_DESCRIPTION": "List of your ssh keys.", + "ADMIN_SSH_KEYS_TITLE": "Admin SSH keys", + "ADMIN_SSH_KEYS_DESCRIPTION": "List of your ssh keys for root access.", + "NEW_KEY": "Add new key", + "COPY_TOOLTIP": "Copy to clipboard", + "REMOVE_TOOLTIP": "Remove", + "REMOVE_KEY": "Remove selected key", + "REMOVE_DIALOG_TITLE": "Remove ssh key", + "REMOVE_DIALOG_DESCRIPTION": "Selected ssh key will be removed." + }, + "SAMBA_PASSWORD": { + "TITLE": "SAMBA password", + "INPUT_PLACEHOLDER": "Enter new password", + "SET_PASSWORD": "Set password", + "SUCCESS_MESSAGE": "SAMBA password has been set", + "PASSWORD_VALIDATION": "The password must consist of at least 3 out of 4 character groups: lower-case letters, upper-case letters, digits, special characters", + "SHOW_PWD_TOOLTIP": "Show password", + "HIDE_PWD_TOOLTIP": "Hide password" + }, + "PREFERRED_UNIX_GROUP_NAMES": { + "TITLE": "Preferred unix group names", + "NEW_BUTTON": "New", + "REMOVE_BUTTON": "Remove", + "REMOVE_DIALOG_TITLE": "Remove preferred unix group name", + "REMOVE_DIALOG_DESCRIPTION": "Selected preferred unix group names will be removed.", + "HEADER_COLUMN": "Name" + }, + "PREFERRED_SHELLS": { + "TITLE": "Preferred shells", + "NEW_BUTTON": "New", + "REMOVE_BUTTON": "Remove", + "NO_SHELLS": "You don't have set any preferred shells", + "REMOVE_DIALOG_TITLE": "Remove preferred shell", + "REMOVE_DIALOG_DESCRIPTION": "Selected preferred shell will be removed.", + "DESCRIPTION": "List of preferred shells (ordered from the most preferred to least) is used to determine your shell on provided resources. If none of preferred shells is available on resource (or no preferred shell is set), resource`s default is used." + }, + "ALT_PASSWORDS": { + "TITLE_GENERATE": "Generate new alternative password", + "EXAMPLE_DESCRIPTIONS": "Examples of password descriptions: “email on mobile phone” or “teleconferences on tablet”.", + "TITLE_PASSWORDS": "Your alternative passwords", + "INPUT_PLACEHOLDER": "Password description", + "REMOVE": "Remove", + "GENERATE": "Generate", + "HEADER_COLUMN":"Description" + }, + "DATA_QUOTAS": { + "TITLE": "Data quotas", + "FILTER": "Filter data quotas by organization's name", + "QUOTA": "Data quota: ", + "CHANGE": "Change", + "QUOTA_INFO": "Quotas are using \"soft limit : hard limit\" notation and are bound to specific volume.", + "NO_QUOTAS": "No assigned data quotas" + }, + "OPT_OUT_MAILING_LISTS": { + "TITLE": "Opt out mailing lists", + "FILTER": "Filter opt out mailing lists by organization's name", + "OPT_OUT_LABEL": "Exclude me from this mailing list", + "NO_MAILING_LISTS_ALERT": "You have no mailing lists assigned under this virtual organization" + }, + "AUTHENTICATION": { + "TITLE": "Security image", + "MFA": "Multi-factor authentication", + "NEW_IMG": "New image", + "DELETE_IMG": "Delete image", + "ANTI_PHISHING_INFO": "You will be shown this security image before you enter your password so you will know that you are visiting the right site", + "MFA_TOGGLE": "Enforce multi-factor authentication for all services", + "DELETE_IMG_DIALOG_TITLE": "Delete anti-phishing image", + "DELETE_IMG_DIALOG_DESC": "Your security image will be deleted and will not be used during authentication process.", + "TYPE": "Type", + "NAME": "Name", + "REVOKE": "Revoke", + "ADDED": "Added", + "USED": "Used", + "NO_TOKENS": "You don't have any tokens for multi-factor authentication", + "ADD_WEBAUTHN": "Add Webauthn device", + "ADD_TOTP": "Add TOTP device" + }, + "DIALOGS": { + "CHANGE_EMAIL": { + "TITLE": "Change 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." + }, + "ADD_SSH": { + "TITLE": "Add new ssh key", + "INPUT_PLACEHOLDER": "Begins with 'ssh-rsa', 'ssh-ed25519', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384' or 'ecdsa-sha2-nistp521'.", + "CANCEL": "Cancel", + "ADD": "Add" + }, + "ADD_UNIX_GROUP": { + "TITLE": "Add new preferred unix group name", + "CANCEL": "Cancel", + "ADD": "Add" + }, + "REMOVE_STRING_VALUE": { + "ASK": "Are you sure you want to continue?", + "CANCEL": "Cancel", + "REMOVE": "Remove" + }, + "REMOVE_ALT_PASSWORD": { + "TITLE": "Remove alternative password", + "DESCRIPTION": "Alternative password with following description will be removed", + "ASK": "Are you sure you want to continue?", + "CANCEL": "Cancel", + "REMOVE": "Remove" + }, + "SHOW_PASSWORD": { + "TITLE": "Your generated alternative password is", + "LABEL": "Please copy the password now. It will not be shown again.", + "CLOSE": "Close", + "COPY": "Copy" + }, + "REQUEST_DATA_QUOTA_CHANGE": { + "TITLE": "Data quota change request", + "RESOURCE": "Resource", + "CURRENT_QUOTA": "Current quota", + "REQUESTED_QUOTA": "Requested quota", + "REASON": "Reason", + "SEND": "Send", + "CANCEL": "Cancel", + "SUCCESS": "Request for changing the data quota has been sent" + }, + "SHOW_SSH": { + "CLOSE": "Cancel" + }, + "ADD_AUTH_IMG": { + "TITLE": "Change anti-phishing image", + "INFO": "Please, choose an image with size max 5kB", + "GENERATE": "Generate image", + "UPLOAD_IMG_LABEL": "Upload an image from your computer", + "CANCEL": "Cancel", + "ADD": "Save image", + "IMG_TOO_LONG": "The image size is more than 5kB.", + "DELAY_INFO": "New security image usually becomes effective in 5 minutes, in rare cases it might take a couple of hours." + }, + "ADD_TOKEN_INFO": { + "INFO": "Get ready with your TOTP application (such as FreeOTP or Google Authenticator). Upon confirmation, a TOTP key and a QR code will be generated, which you have to immediately scan with your application. If you do not scan the QR code with your TOTP app, the key will be lost and cannot be recovered.", + "CANCEL": "Cancel", + "ADD": "Continue" + } + }, + "ALERTS": { + "NO_SSH_KEYS": "No SSH keys found", + "NO_SAMBA": "You don't have password for SAMBA yet.", + "SAMBA_EXISTS": "You already have password for SAMBA. You can change it by setting new password.", + "NO_PREFERRED_UNIX_GROUPS": "No preferred group names for selected namespace found", + "NO_ALT_PASSWORDS": "No alternative passwords found" + }, + "SHARED_LIB": { + "PERUN": { + "LOGIN": { + "SIGN_IN": "Sign in", + "TEXT": "You must sign in to continue." + }, + "COMPONENTS": { + "GROUPS_LIST": { + "TABLE_GROUP_ID": "Id", + "TABLE_VO_NAME": "Organization", + "TABLE_GROUP_NAME": "Name", + "TABLE_SEARCH": "Filter by name, description or ID", + "TABLE_GROUP_DESCRIPTION": "Description", + "TABLE_GROUP_EXPIRATION": "Expiration", + "DISABLED_HINT": "You cannot add members to this group or user is already member.", + "ALREADY_MEMBER_TOOLTIP": "User is already member of group", + "CREATE_RELATION_AUTH_TOOLTIP": "You don't have permission to create relation with this group.", + "SYNCHRONIZED_GROUP": "Group is filled with members from external source" + }, + "GROUP_MENU": { + "MOVE": "Move group", + "RENAME": "Update name/description", + "COPY": "Copy group name to clipboard" + }, + "GROUP_SEARCH_SELECT": { + "SELECT_GROUP": "Select group", + "FIND_GROUP": "Find group...", + "NO_GROUP_FOUND": "No matching found" + }, + "VO_SELECT_TABLE": { + "ID": "Id", + "NAME": "Name", + "RECENT": "Recently viewed", + "SHORTNAME": "Short name" + }, + "VO_SEARCH_SELECT": { + "SELECT_VO": "Select organization", + "FIND_VO": "Find organization...", + "NO_VO_FOUND": "No matching vo found" + }, + "RESOURCES_LIST": { + "TITLE": "Resources", + "DELETE": "Remove selected", + "TABLE_RESOURCE_ID": "id", + "TABLE_RESOURCE_NAME": "Name", + "TABLE_VO_NAME": "Organization", + "TABLE_FACILITY_NAME": "Facility name", + "TABLE_RESOURCE_TAGS": "Tags", + "TABLE_SEARCH": "Filter by name, description or ID", + "TABLE_RESOURCE_DESCRIPTION": "Description", + "NO_RESOURCES_WARNING": "No resources assigned." + }, + "RESOURCE_SEARCH_SELECT": { + "SELECT_RESOURCE": "Select resource", + "FIND_RESOURCE": "Find resource...", + "NO_RESOURCE_FOUND": "No matching resource found" + }, + "MEMBER_SEARCH_SELECT": { + "SELECT_MEMBER": "Select member", + "FIND_MEMBER": "Find member...", + "NO_MEMBER_FOUND": "No matching member found" + }, + "FACILITY_SEARCH_SELECT": { + "SELECT_FACILITY": "Select facility", + "FIND_FACILITY": "Find facility...", + "NO_FACILITY_FOUND": "No matching facility found" + }, + "USER_SEARCH_SELECT": { + "SELECT_USER": "Select user", + "FIND_USER": "Find user...", + "NO_USER_FOUND": "No matching user found" + }, + "ATTRIBUTE_VALUE_LIST": { + "EDIT_DIALOG": { + "TITLE": "Edit attribute value", + "SUBMIT_BUTTON": "Submit", + "CANCEL_BUTTON": "Cancel" + }, + "DELETE_DIALOG": { + "TITLE": "Delete attribute value", + "DESCRIPTION": "Do you really want to delete this attribute list value from list?", + "SUBMIT_BUTTON": "Delete", + "CANCEL_BUTTON": "Cancel" + } + }, + "ATTRIBUTES_LIST": { + "FILTER": "Filter by id, name, value or description", + "ID": "Id", + "NAME": "Name", + "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.", + "CHECKBOX_TOOLTIP": "You don't have privileges to edit this attribute" + }, + "USER_DONT_EXIST": { + "TITLE": "Requested user (by ID or external identity) doesn't exist." + }, + "TABLE_OPTIONS": { + "EXPORT_TO_FILE": "Export to file" + }, + "NOTIFICATOR": { + "NOTIFICATION": { + "DEFAULT_ACTION": "Show", + "DIALOG_CLOSE": "Close", + "DIALOG_BUG_REPORT": "Report a bug", + "DEFAULT_RPC_ERROR_MESSAGE": "An operation failed.", + "PRIVILEGE_EXCEPTION": "You are not authorized to perform this action" + } + }, + "USER_EXT_SOURCES_LIST": { + "MAIL": "Email", + "EXT_SOURCE_NAME": "Source of linked identity", + "LOGIN": "Login", + "LAST_ACCESS": "Last login", + "NO_IDENTITIES": "No external identities found", + "ID": "Id", + "LOA": "Level of assurance" + }, + "BUG_REPORT": { + "TITLE": "Report a bug", + "SUBJECT": "Subject", + "SUBJECT_VALUE": "Reported error: ", + "SUBJECT_ERROR": "Subject cannot be empty.", + "MESSAGE": "Message", + "MESSAGE_PLACEHOLDER": "Please describe your problem and which of your actions lead to this problem.", + "MESSAGE_ERROR": "Please tell us something about the problem.", + "CANCEL": "Cancel", + "SEND": "Send", + "SUCCESS1": "Ticket with ID: ", + "SUCCESS2": " was created." + }, + "REMOVE_USER_EXT_SOURCE": { + "TITLE": "Remove user's external identity", + "DESCRIPTION": "Following external identity will be removed", + "ASK": "Are you sure you want to continue?", + "CANCEL": "Cancel", + "REMOVE": "Remove", + "SUCCESS": "User external source successfully removed" + }, + "PASSWORD_RESET": { + "TITLE": "Password reset", + "CHANGE_PASSWORD": "Change password", + "NAMESPACE": "Namespace", + "LOGIN": "Login", + "NOT_SUPPORTED": "Password reset is not supported for your current namespaces" + }, + "SHOW_VALUE": { + "CLOSE": "Close", + "COPY": "Copy to clipboard" + }, + "SERVICES_STATUS_LIST": { + "TABLE_SEARCH": "Filter by service name, id or state", + "TASK_ID": "Task ID", + "SERVICE_NAME": "Service", + "STATUS": "Status", + "BLOCKED": "Blocked", + "STARTED": "Started", + "ENDED": "Ended", + "NO_SERVICES_STATUS_WARNING": "No service configuration was propagated to this facility.", + "NOT_YET": "NOT YET" + }, + "TASK_RESULTS_LIST": { + "RESULT_ID": "Result id", + "DESTINATION": "Destination", + "TYPE": "Type", + "SERVICE": "Service", + "STATUS": "Status", + "TIME": "Time", + "RETURN_CODE": "Return code", + "STANDARD_MESSAGE": "Standard message", + "ERROR_MESSAGE": "Error message", + "NO_RESULTS_WARNING": "No task results found" + }, + "SESSION_EXPIRATION": { + "TITLE": "Session expiration", + "DESCRIPTION": "Your session has expired. Please sign in to continue.", + "SIGN_IN": "Sign in" + }, + "MAIL_CHANGE_FAILED_DIALOG": { + "TITLE": "Preferred mail change failed", + "INFO": "Preferred email change request does not exist or is not valid anymore", + "CLOSE": "Close" + } + }, + "ORGANIZATIONS": { + "TITLE": "User organizations", + "FILTER": "Filter by name or ID", + "YOU_ARE_ADMIN": "Organizations where you are admin", + "YOU_ARE_MEMBER": "Organizations where you are member", + "USER_IS_ADMIN": "Organizations where user is admin", + "USER_IS_MEMBER": "Organizations where user is member" + }, + "GROUPS": { + "MEMBER_GROUPS": "Member groups", + "ADMINS_GROUPS": "Groups where user is admin" + }, + "REFRESH_BUTTON": "Refresh", + "SERVICES_CONFIGURATIONS": { + "ADD": "Add", + "SAVE": "Save" + } + }, + "UI": { + "ALERTS": { + "NO_GROUPS": "No groups found.", + "NO_ORGANIZATIONS": "No organizations found", + "NO_FILTER_RESULTS_ALERT": "No results match given search criteria.", + "NO_MEMBERS": "No members found" + } + } + } +} diff --git a/dist/apps/user-profile/assets/img/settings1-blue.svg b/dist/apps/user-profile/assets/img/settings1-blue.svg new file mode 100644 index 000000000..5b802c08a --- /dev/null +++ b/dist/apps/user-profile/assets/img/settings1-blue.svg @@ -0,0 +1,34 @@ + + + + + + + + + + +]> + + + + + + + + + + + + diff --git a/dist/apps/user-profile/assets/img/totp.svg b/dist/apps/user-profile/assets/img/totp.svg new file mode 100644 index 000000000..bbed6f820 --- /dev/null +++ b/dist/apps/user-profile/assets/img/totp.svg @@ -0,0 +1,107 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +170831 + diff --git a/dist/apps/user-profile/assets/img/webauthn-logo-black.png b/dist/apps/user-profile/assets/img/webauthn-logo-black.png new file mode 100644 index 0000000000000000000000000000000000000000..db7a146ef9e80d49983d2941cf40bac501e0535d GIT binary patch literal 232769 zcmeFZc{tST`v5%leVJrQmN7a=NMtGd5^YjMC``pDyJX+SK9Z%Q#biq&yD5!*8B0;7 zsO-WNA?p-lU*6}VbK>`X|9jtm&vRW}GiIL8eLv5=Z&S?qbA}wOf~+tYjN{ZveG?cA z&IE(8*Dy1JPlTdh3xXFG_mh^MFqoV;^pD0jTgw{;L%>ey>s<6ro&Iu!2K><^Pplum znq_z`Gi0ue4m|UJ)`Ggx|M?sI@#L)#{r`UUl%(^&A0giTx9$JXLxKOSj-~E3j2&R2#P*myfG&Uj4IoU0)eNWgE#kJ#6?(}U2 zC}rBYIPy2W#s+M)oGdsgoP(X4dcVisB3Dj5o_B*9Bpi zb1~unb1<0p^XC6o0qTkAH^l$$>p1Aa{lA}0+*f7(-_LHJ{(l#*j{n6;`@j3r_At@> z&u9M~5B4AR{*yh}f2#4HVfoK2!~TDHjZM3&JKn|nFf#tk!Fh+eL`${wd4kqj=djl; z?K8n^jl)alPg~ahs@Jj`>)Djqeu5YsLpo~x=V8noH{AI3aX#a9j(NUWf#a`KTkgB0 zv)qxfr5tO3Z*L=?*yTboZ)31mTSqERsHd-ad5uY5rT0-1RPasi>IqK68J{@0{RD zOOK}JOGgSi#pGT7#$R0RL8-VySx_4bh8cwK^01nnS>%?dX$hA{vmQS%Iaf$~d#>*O zOIO>`e1;QIV)wkz#j>E&1y;@BU4EWy#`rPe>csWsO4Fpsw^c62ff~$rWXdym;M=|% z^N42`icJKPZ^m<=x1~_H3l~E(hcZ2FNvO|B7iBzhFPd~^pTahL>`nwi9Mx}DUjC`N zenCsq>jW&V(#7_JGUC_elLr)g_}HM`7(K~dbYhYK2=-}cW>`9rVS_#ATgl6^h`(`% z*f^oR#JXLF!DxtY(on3GW%*tP2ilGGOKqQbB5hZ^a$5q4&c6Tk$l+|E^7(sITHi}c zvVtabNUrSr_8V=Ao;OJlRM>*{E{c1jxM6)!T6{BsjvBD47dJm9Qsogyq3z&?n7m60 z$l=Twn9$L$ze6Siv0b-tI%v^Qa}WaV8uB@QC_WY;ewtp0q#%nTFmch(boDhBO>eLk>rTB1%Y){hNC8aTp3 zLqmpPqqcXPjo3v;CNU&hcKro64GpSs_Ogs!Wn7fq*gJ;po8aqr(WF-meuN#fTott!{?s;=6p%z9)xwMW(mK zkRpcKlOA?nFw|`yV|_gl89Hba(RG)Q$yZ@5)bC(Ytr%bv{Tm3rmwVZ_k0y|?>kgu) zndxDi-6N>hHjE}I}v&9rxfEYyIL9yo#&dAz%NuNgcYNQ+>r!#1oE0P7SlP>*-s1O zxjlSMte#O%!Sg#30tZ{f?NF1Leh2HqY!{&U;vozcg71scojj)a$Y8tkJf$QWp@1z;ztjwT<&c^G^h=NxMTg3yj?Kg<#QI(f|pL()P|> z9Kdk0UqcLxbXLJ&)1+-yvuzX4`_zsKqnMD_x{(OaBit~|Y|L+~suAlcl#0l9qFJ8t7TOh9iLduTF;rJf5Cfx&K%2k&Ri8z%+g^`U+8vOAJWe5T)A6RGXEca$_q2g5teGG-=b zzlPKg)3nQG3%$asx{4*baF4d$p@X?2l$G`K{ z^2U)w(*lsB+IrcFiz)H_jZ-mTfVS>-q`ho#k1MB-xgAOL*L-;k2BSFIGQLP89Dzu! zy~~1OTu(IDyw;XGeek(CK(5(r9T#!mq*&3@z8M19!M}5zCx_r3HUQ*>M4ke0w5Z>!+XT~;Uy*y7kw zpn(86(WXK)LigcAb_m*=UH;`R66wfn_c071nFHKnfJ-Sy>yLKi1i=j0yl`3yAc0}t?t~DSm_5)li+6uNlC;Yy@*tsS zgqSn8y}QJ&kc=}G0T8&8BXps=sNUEik2{852Ox;q!@7Mq@(vq_q1+InW#Ql8IKy_% zHvIx?ao_YC@|*;h*m$guv9Bah@hUsx?(-QS-oJeBe2K!z+1u* ztvCWWwtzK9_aph+9!*8qo^zIv;)F+)e_$d3n zAmg!@P#9;u_6aH0^NIGQ5Jax*jWK_++) zqX_PBjB*<80f1$Yfc#+GD)vX{im*fBF6PlLPJpyyo{v7SM&yY?lM3=F~RGB}}lPZ)aj7z9b_d6vMl`^)LuB!x7lHH?W#6&xZKb%4kW=de;_H zbKFX2#@GG8-#-}s`6VP^a=z5$U5p;mi z^hBQ7(+3mg7V85SrlLuK()5iqu~^I4DE9Yf4z`5b+CDUizrqA#?_A=$MBRv7=7-Lu zw{vs(4&`~9S0l~NFkgegnrghqqnZIwUhLO1Id8+Nyng&#FJ%aoa5ueQav)yt@5lfR*En;^tkSyUp{h^Q&I zW&rkYQzHb$z2}&#*gXa2J3;|&4Dydx>+%_OixoUwrXk`)8~@QO%&8kGmWMA3*pcE! zVW#c_=_C2~e^DMzw49lidPX^>c-SCNU1BV;cuGg#t~4}Y{)oB)H@B=gN9}q z-79v8rfT7mGy~3Ak)%PKQs>|FZ6$Tdp#|a8b1NAJfvwe~)Ozw#L&~%i_pf@~%6#u3 zet4;l`lyHYsPl9Q6B*|0c;MOnTMuwfY}=46c0pF1aiu7yVUy|79x)yh&mixPTaKA=S*fOu}E>5Or;z*U@hdP{)jSRSb9~Xbo&D zneYzRICTe31`It#TzAc3nCSETnEwBeV2-E6rW4xqwLAP<`1**UBWcwJ|C_A#5Lp*@S@?h=7uH(mtK2?`OgR&?7uK^F8BU|+xNh>z zjBnH%2A;gi?d`}EnphPY=q=R~$kyUAB1To;FC-}(7z4XrU6h$fs!{d>FfkiDzKLja z2Mg>*q*@alkB16#h_fDID(?%8CK5e!EP?kFH)AH78gsq4 z_R0K6U5TGIdjL2x_l{KIRr<#$KwS4ZCCLyiB!ppp=k$fjajEeOiH(Tc_TY5wIKLy` z3&=S4)-P+uWLVJ6dx`sFA*0cuvO~Zse)za7>n$_^qfvhIV?viaJ(L}X!h@TfX%&kCnRoJY2!ZbQgN7;qtg-gD4~D^Rw2xqAj`q*D=g0-&MfRi%^0~8 z%^qxFooYQ97Js4Izi@mLo$|LE`-BY6z~+|FZK-@}VhQgcU~}hUg7^J&T93`Rd>F`+ z$!QId7QOhz@5f+AGn}NFod8srw(X86O`NXYA27JS8vcN0k!T$oQrQ23?~$+Q43%sv zt~r`fBwV}y7`I9Iv3b&!YI&OyhB@H2`p7cDObf+z?X}X`U+l)hyMRA~^~&xdLWgp- z%|nxOMa&(USLyBgkO*Z`NFoTaEJfoM61C7{)CuFgHe$$P!@Id%89{6*jamk=i1&;? z6IZZWOE8=KH%}*>+8->{L#M6Y#qtlY-VZA=-?}P(pd$tV?m{9C#VQtKE#d@XR}U(d z`1{RL_J}j-YC4QXM(#7z7vj0jgVK=x_C7(Dyq-2?5rsGHS5W?rXCZq^pAFGsXjf7{m*aB0aKAx_x6duI@SqzV zVn6^J7Zv>%a+2|rsDZDE5<4(cUH8Y@zQ#hTd{|uLV}`=~J9{qyt1Di)+ZgWH`b$pxnGPF#!LkZHe2<_-(ktk|kGMH$8CXn;;{1+Lah|=% zr@>ljag+m2tv6>K7H_MwMs+3_=V%np90I2Zek?tNCaw%eX;3Lf{V8zh}8VPX4~XtlXEh^gJxqZ>>+wAonXE zfVanmP0yM4R#JBR+2DKVZN7POL;^$c3Id(Ji}jZXM!}E|aU~N?mBC3hK-sWdzuE8L z_Y84%$Ip$3Z%5DGnLFbD@tRVsj=a7dx9YqwJ7knR(fpJ_CsTvSW}bYBT5NA1P1LBy<}2YgH$yxbecH)`9~WfVnaMDDKE`q-YvtqqOTVk2P2+;UJ>BQX^sqXAx_MO@Ht zmO&PuIXGqVZa7j06I%6k_AsuJoAGPyD}gTRNjhsR4>81k3`8EEnZ=Lo`?;3N(n^{l zr9Lp(>>tX2L9hGZQ+(XeO_T4oo-N?mh6{=VaQF+U>`soOS{9z|B-%kyW#-;=#{I5S4W5G>$^qxi3`v#rwqv~ zNhu~ACB2}PJmk+Q%*q&A(nb>Lo}XepO+A2&H)0XDA3G7*p*|CO^bW^;ha!R&^4nA0 z2ncSOu3ZieVlT9MX*KpfBY0oYT6%wwqT=0w&PIO26BfN0>gUbSawNIHYOE?apL&H| zc@ZI~UD!NZ7q&W2j(JL#G4WML66aSe1)vZmc>dJ;@L!SFN(kNu_R=rYW+Do&Fqm7H zkSlNFaNZHoYWYqJ`GiGx_n9kMg{g_$WHwhv>)ZL-+aRhOy20!AQa0sch`|nZ{xWo$ z$wqOL-Tb9mvq!)+vD=MYI zJ!PbS#jyDTgFU48&OqEs|0N|}$6xB?OvDDMh9<+qTxQ|_zZBcw zD+JbKEiSfxIjPa=FzgxQ6@v}8($YA>LX=#c|M6_=;tf#EfDt<*!hfF?fM+&xAzlIk zGULd!7|b~&s{XJC=jZ(9Ys-mdGpCuKWD^^}+aK4`3ZG*RbMJu^z?uFl;@`)UJ~uN4 zzP67HyCSuBiVr?sM95&`8qsr_(Vmx(G1Q+XbQha*PtH4`)036Ei@Gm8FCs)s&@Jx| zjRg>huXfIH_Oui;g;!T6`Lss)Pzma+mi^d+zUc2U*sSjUl!m`*fs{H`p!vLp4o5`5 zGQ!G-bfIK{gjI7D5uW4x5CRdF`px0p{XbZv=1IVL^mT&GNpO(CizvRvVOBsLJeXVgH zU?7G7-w`jgt`4T8VkRzMFb`*@zd(#%3Xkq72?zZ2MiN!w9=%opY8A~J{zGk~gq*+o zE}s1G0unTEWw4w)jekHA0j=(=ZH2lO3@OyzA@z-X!CZ!L`O+lbyDnk^^l#co^WFVZ z4fVN9a=yh!vPG;djXvrQyw!}%$uy`s=7 zWgIHO%BQ+-SBSt{3@@COHZZ)@QLfrt27QU+a|pZ0n2VE(@p;ZdbNvPF^ri5SA4X0t z!_@Z@xlT_@zNaV4lNEp8wrSAx+V4ZbFdnNPrryX7l&_;ek#+#GL{xko1D%GasDaL^Fn(yVO^}8!-SS4LLZYJ@BBk za(p*k-IHi7IcaAo6G0u^5n`Ep=eaEk1~{r_T?;Iy?ZRFV(>hCM{VCM$l6$qJ^&8%( zAmq0vgvDSAOipp0c(nAUrsZ1gQ9mMo;Ekd*yRkf4h!I+o>8$@s9?&77uGz`M4B^Cg zUtV?Fly?Ug;lqq5`MO;6;rP6B=9JXS%#5MbHd3trhxi4^da9)4Xgyc({Ad->X{9#s zP`dB$Gegv(BD$Zz?y<$@q3@gJAqpMt9aPy~gbzgjJ>T zF`w$Es@ojKaw3w6A$d7(mckEt;&6{8ukL~Wd_qexsGAxxcYk;up=_=pz83H!>1{%$ zt=l+NE~wXP%`faoLvckRcMY2&W4wQ3T z-IU)9M)S0r#Ss5fI#0_B@*S3F5uCsBAY&0v0D0&_H48ay4z3dL&f90*M;(W7nLm={7 zAVd4mbHVIBMrxh^6|K@}mzrXq?vPryOR(Y0C)^e+VqyRZQDw(NP~sxOi0V#M>sz+edw{G2~CQa;!+x|b1b&Ez^BI{ zNz{akptc&It)nj#xM%M*VfGPb7Kjyfr*}Lqu*ad9o5CQh8@F9O(PiP+Zxx`ha=T_q zt=VCWN`E~xI|loi_o(s~kV-VinAzNGH%2Z>4@uoa5N{-Hcm0Lf+)G1S<{wiH8irxI zD5>AK;Ai>MQdkaiBu~c0By=%9oJ^tB+1vxKz4z<;s3|2=SLdk53$IDPNfqJ=J`T$nB7pAePorhMa) zL+=3}R{EP;H;=2QsXrMndt7!-LV%4O4!;y$(v;HOUx$G8vcq5WSXB!Oxw=2Z8J=S) zyP&T=k$G!Bcd(D8m{`x&f^ELfVmK=sypW}hTC6Lz_47Dn`Mtw;09ZIDB?mcH2YcUDt8oMyf^ zM+aQaq?h#B5H)BHj*JjGClW@R^3BUSVJHj85-OVc52wB3fl0a}$_WHji9h4qkW}u< zoir1pntCqHG28m*4Fbv0++r5RRt1YwlW&`|Yo~QUCbprmbzMgce{^GC-*C3Ex+DZs zWf#mhlGR6+GS<){b!~kLv^xDE#cxGA=dXRsn|Pnlg7bsuWRLuI&Hef>d$dUMg zOufju>xQ%<|2baoQ~E;YpSKFX?knd_UD6Y?1rmC2+vXGFx&OFIXN^n*rD=$&oyf{y zdAjt1zEEfJgrbW2;`zkSEN^HJnQ^>zW7_(V5iv{j29BY33r%TIe@Ak9&R#v5NzP`D=743{VeJPaW-(pSGx zWXV#uSe&)VoB;_O7}qulnOR_;a4%PtRw-+ofyBFMN4%9yX3hqy zdr)AcZ+bJ*!FBm#8IB!lX}*&4J%sBo(Na=y58zxC@FEU4zh^`E4WR!NH6my%sXibZ z^CtTpUp}@e?yvpzqx4X%_&2<+E~g~N*-*lnwNS%qEC>rHotID%8|Vh}L&a zhb4wzte1J~+nkl>OFpN6g)6vhGyf~M_Zj^KpD+hHu2mVugj93NmYI}6$av6^n>TGP zaW}l9Z8}La<^zNM{(k`+({5SNWYzse93Si?_~mN?wDO0)BESo@hzpKOKZh=^_c}L( z`1R=NboVtYuE>3VL^!ho`LQ1tDcvcdBUNun8j4)i*^hsgFxKy12VU)*?6MmnN;B;! z`$*1Edk_3Zg{_!abW*W3YEbUb0lV)#pi>8frkUwgw;TS~9+I~z^N6YQUQsrk zA4WF>H~boZR2JprBmtvgn(wsi@9sHm`aTk$g1iQpc#J|m3<9wq47O!qQxromH1xVE z*pK0v@VTmopYZ_uTh6KeH*QUa+ekfMQ+mfUqwd<8CR8sdL1uFPl-HmjhgY-^m;4R1CDa)8BP}R8UAB7T){({F9%eo z%do1BMYa1ZB2q|S2B^oI%5%@-_x1E|2nXN8NluBJWXKb`WPx?tLwP>HO40ajmZtvt zV=a<(l{n?5JK45wnT8^sD=Kvx*G*Lj$9?5QKDBLYXY8K#LW`vEAdqraPR5LU-~7<& zvw@jk_v<&?)V3$oNYwXKv#zH6#r+~AOZD+9b3CUC@8}2)GO|uP!GJ{pRy9}nqyzhY zjM)?o|2WQ1^YVA`ZxytG=mDLzoX57n|$I;d7*tf2=K1B_0&JH$5p1!8BKO_TN?rJ)Rd0`ROkC%lz+BLhqF149cVU-9!GBp zSlrumB}gVS&&na=o#HeH)V8Ai$1_}OFAgikTRGKwb4d#9Dg5m86$7CYT}#o^js;OF(upuE15bA3+IdCzp5;aZpuxmuR-(QI!gEaVX`h=byYx;k6E zMO=DIO4`($AQ^FKoT>(HJ2>9k2ljh0o9a z%|-OUz^BtpXMELk?$816AuBc9G4|2JgwicPrIGieIo_Q7thB><=`C|i-E#_xTqG{a zF_0*P(Hb%&44T6R40&L~&mXVx^Dxra6%dH8dVB^)I1lCCC?o7GJZ)Pp>M&LbhGk&H zUxTKm+cyMycV9$-8_wT_l>ywG&jhLZg*N8s z_7^^0H5`)kPi~0uq^|?XzSE6*reGuUHyLZk|3WTG3bZ*;1FoRc(P+^T<03*St8AF{ zr}~ZBnPFOoIvYsOO;4a7tN)8U&#~pp(DIV5eczGVm4dm%fR`*+5g~a_Wh%6qDcAM4 zyiL_2*cd`Z_rilD*UIUpe7nOFNjwxKxQB+SD&+#&CWU$V2$->%T3t(e@XHMCs*kWN zDqU6U{TV@X7tgA3V7!915g@~e9{8h<7Wpyzv8ZQUyu}`MH;oPxQs#a{ymx$zMa3K) zp)18=MGh>W$?g%n4Sxd-EaFW+YyP=Sr0T^fr${RwVW8)8e@*{AzMG{UE&+KMMQ4D+st+e@SBipV^cEstWbohXJYz@vjK*0xhCXo_pvJX5NIM5AMLr{PKdD z>6Wz;HO;u}4An)6sZU4Xp$yW$=|@VaSI`3-+dShJP-^kXm!xA`IyrJg##UcOVx5zc zN${@7>j@09J(lk#qgeDA^$ggB$V450V0ov2icu>t7>Uf`^(Gq4#0OPzyw8SzOnD!i zf|AO3=_Jp-7v4jc(WBApV5}!f(U8VZFNMCYCXwip=-MvzxYs=tY1sgP^e-{^Fw; zoyL~~iUHcKS^0A_^i5$GR=w6hS=tW`=~&MRv^3AZ$P@hW+HNq{qT2HZ%Picgj+da9 zidYJAt!vvQ*%nsLSNq!<$@BGE0kNj^*Z-h7{Xv9msIOn2uzm!OeWZaU9cWPP>Ikth z+AN)zifeMQ>@gz`fF$K7xbD3ns;4yusfg8d!#T88d9cRaEnHb%c^vP zz%CKIt>TnQC&Xk72Q1u@FM!~Oov9MUAv|0%dbQ;X0o@xq47H@QG-7yK-gDjx6#q>T zja2u7FviKczHo$LbVI{&sv9%Nc3h#7D%p6c^WW<&UvyK5!HP&zYydka$_R^9gheSu zuJWS-&*r3pj)04DUF+j#r!Bak=91vNmyo1_KMGZY=?(l$8ls6PTwncP3)I%=7{?6- zq@48m>xUNB&|K&EhjzSCkfP41$yC2*WDdu_Y5 z(xCvtn8t!pv@A70WUhD2?KlKgY3U*q_Csqz?WQ4A7*;Vl;EeMDW!50W?;_`46d4_; z%~VGE!&*{eioezcQ0q|K7L_9nOQDem86Fl5eLTm=w|L5SK3UZwjWj*SZhR=$gK=YH zA}I2yYZ?iRb&K%z>FEZi<<8<|G@K`-k(_2=Oc-O$i@W*jAG)FpyEq4HS>|w_7}-xg z5t?%x)3rK|1CnLl*x8mf->|Ri-_4ZhXbi&VLH=Y$_;a9-8u>K0FUp@B?`Mq4lh{ZKt^amPpP4C?cdEx5 zz3A08&w49WhfBKh4tB#uQ&eI8mF~S@$D%YN`2!XYMSSNC^<|_n5NW-kzQ*<_Ah@-# z35SOyPb3R5VN&hQV$So=*7X#1-1ExJT?pC!o<_~sy1r|f)UgzonG*sS(mbac8Eof9w zenE2jbS`k+)Q$2b89h!^9&nA-<|6^5f!e#5635`BLhbJHv-^*=d z2Ir{6sut(is5QO(;aYHY;g!n6nSN(b%b0nkp#USxX};=?SD1JF`zP_k9qd%-QdFBr z^XN3K`D+c1GFt{}s_{bF(-Id>Z&?a{EHmV=ze0mMYM%{t&Y%%W=6Vg5NYeizDiJx* z;q$?{XhT9Ef}_Xh=q7|IUFwno^xcKCT;g*aY@Y0ey{&5> zlCZssnRpvqUyt&JRZXg$v`Be(@u5TyhXub};xmw8mRcY8F6(aV?l;pHdJJWCWkz;6 zr~YZwU}SmVT=|)^k(KsMRD&0vN$P{&WA0*u*V`ooPWylk&^yvRNJ!TG5-LOlIB!{U zWWf$8Ef0Bv8W?)-7&koDaU$b2=oP+R{&*9>NoOtFuUG;V&AH2Z#_Cf>PtlkKx#L+mQdT2;%_lBH za^HRT=B6$5_X1BPEgKAj6*i8kO+zBv4v3QSChfB0Cj ziVb0Fx?_FqKm#HuI2g`OJD(Tux;5>~Ofg5{K^liaQ}8d(b#N8YqF{?cQDU^ z0?JB~``9QdyxfbyDC>0eSY#C)Xryffjh2TtEsN@S$v?Ler+SUFC$Uos3EtD`Kc7F& z7+HnyX_TlcbXt8k4eo+x`4ff_qd>mLt=$^Z8MKNo0UFNbu#f*s z!_=zH_bOnbP>z3+VU!+-LT8fI^5FsoKdKL9^u|!DvCT8FSa&6I?){7PxX%?W(@QTFWnA%0kgdj=NQ6X_}TO; zf_PV2{^$26nbf6BsLS)~YH;`*laE(7-H|lqj7!4=|Dg2us+!ATn>P4X5)T8&r%)0* zG}Pr4>PWG+NfuRZw#`IHK9=6H)L*c^Z!F2OvC^@h;K=WaqSJ5wK^%M6MpAbdfhp!I znQ&!PYu)f|kIZfu%k7An4_%6=u5d0AwqgshWcVT*5rMxdcj#=F3KZhyApRs557s0rUk0z}24tB_5^HvANRl&1; zv}r8YC(E-THf1C!F;Q>0wii(n@fBP{K0E;Zk1oN+I`$txK2;&qbRilTEAj@rmK03G zn^mybk?#JrQ^j+j<H65V%g^j#?#aM=~x9+J`8Mo}K-CKG8IZ>VkaQGg;0O z^=W@e@MNeQX!%rxgL=JBmZ(K(ahf1u@d-JN`l;CF@ zhp|u;ckc~xpC`7eN*JSixSrY{!DRPAo~wHHXxk9sSKUKK?)2@T*Qa}U`A(hrdr}f> zVZcz+ROj88LARpXIBYDdEU@jE2UyZY$WTGcBJ-{H%gDn&G7)UmIUyO?367iNUGgu_ zd6!1Ya>Il8sVd>|qdAY|X_O6=zHJ_HuhBAVh2b-$6RF?nv*yJ3qh}BLT$&>WiHN%P z_x2qur*2F)zXC|)`!#s~jcU3ks$U!EZ|VIU294?$K#Pwmf*xjIh9k;fOGmyny3VN# zT#Pj~l*waqFO9Mh8Z!%FH&dykGU@!p5yEdTo^0PYs}~Eb7^k7Q^2Ccrk{1M9qJ;rj_E6~uNoK#AqQsU0mx7g0zRZlbUW(fkxqV(IcB-={iJ$jqTSEKPiLJ$t^`V{R+{tfaL0A~s3owC3 z(4Ur;R_YZ4Ja|5#s50;QO0J%DRV^=1vpFAWc?_AzeK3&$X60sfJ&k zgE^YBZh@A}^p&Ng(1u*~j3A805)baf;t)& z*WRWJPlUSg!E5{05_F;`G+EW`o>Ea<^tJtY-%2drdvSdXs4!*vP`K(9avwL221z8Q zzWO<2nV?0nhg7K=@P;0YpUu}*7oie=BCj3M5$}z5q~~F$tse0u-%G!7gQ?6Ky+|1N z{-kNTdR6pz3`(W5YVD@dWXYNOxhofa8NwGTXNRqN2~$wv>?{4&fo1ZOST` zZvPe)yeGR&CX^UQhRKHxC4=!|o}?Fo@Q)=M4&YjDjvAe^ZNzVG$?j1_4efO>w|VtegVEbj-6v+$2CJ_n_;5wu*|1{c{{rHz? zUQOER4;tS=$?QB${M15Dn9M%4VNpfTkM*xRRdAQ7=s17v_XEK*(DW7zrY5K0*#os^ zw%3+Ph~40Rm`yITQ|EqTe}UE*gW0aUsjWuW4q}zQK9@v*>O{}h#keAvniw+PUwq@q z^`J+%=nn^aHF!T9(MulvDAye#9C*kMsj)nrtJ?v9_FniC0g~Ib7U!yo>735*BHcW? zQ_d;OTM^7bGC#Fy>i~*Hk;ghmX{v9!^Q?hxx+($u*bFY})Up8=@pFhCJi1&vb2;cn zkudXK>ohQ8l9=cf-9(&P^`2M-dep14bQY@MK&!fN4kiefEFvt0=~!fyI?Ahmva7J- zWxw@e43$_fSWO>JoE5BGTZ@@z?Y$sA7t(T0y4MKT7yegB9;U_X$5c=3rcv9?3c-!b zMqB95^@E)%LKcsJMisDbX9X?#=*OPFF~Ph|B56~LkL|?_diU*TQ=E6~VSB;Zb<#uA z-EhV2YKud!2UYXe+7oG@xkJT00=-7?k8>d*?8lcySn=b+oZgpeo6<^--B`>acu%A> zPIfItoN$_XTP&<*>NnV~Hzy9=W+c7xpU48m55}PdJs86AoRAqui`@8T39??b%{p68 z`BqExtkXA4nvXgj7HfT24qvS>UsdnMA*~$}t$y3TVK$$z9?YOwe1=P+GWW?Ib16mO zo6fMPlE}Qb|FM2NP2ICQe~d7hOrTG^`d-hiW1j|8QQTw zT9_XikK0nqWi2lvXwc{rv3Rul z0iR3cvtSy=0aV^ZjU@KpL?jktv2}`Dktpu&Cn}TbbMM2$bh-~A&jBI#E51r6Wk|>7 zAuT}P>xJ{{vZ@xk7!?ioz)vYfS@#T=E0orMuC=*-5cIKz%(WSuI_jwxQJwRvjPwPI zAgquU03wc&{nG@*6!F6Y;2-sLf(xQpEFKJT|H>yw?6sriWq&z4m>P0R4wj)RVsV!z zl5zRby*V4fpP|4&j<7~qJXfLB?JnqE3!uuLJjquw*ZIjFjPc{Kekl-+}c+E3LY zCSd0st9aQPrE3cq8^jwBQ%_;O z3Wg>VB^wY4J*tm~V7FzY7?&^p4puJS2W?qXcg$AqQsb8J#lHtgfls~=pBEagRIl1p z=5{bzWQ*9zG=q{HitUSH%sQ`Y&?4ev>ABXR*mS=VMAEwH(n13Jd z?)PHo1Q_rQpb!VOhoH5;Bn)=0M~I&2TIm8t5OXA^-v;hszZDWEJ{5Z8xhWsBMKyL= zbwZ>o!ze&E2DW**R(w-4_voW83J0Zft^Fp0?o=`uHTXRX;8oZbEpqXju!kJ4jMvLC zH~#7L9*y&#HUJ)!;-I42HbzjssshD7iNg(u!go`Sb$sj!I1p00GK9mno;`*c4rZNG z@}mi~LEBKd6Lh}&?STiJ<_bKAURA-u4)y1U;4ZF6WDO#D5WWtn1UJeK>$6a#)nT@V_I zPEgN+)fLh{9%7gNXbHScU^h9Sqa2S;yU1{s3hQ^MwqY}$1jBU~z>nlH@5TO2r!jGR z;n6`p>q=2D{N+{7kyuiV{G8|GCvPXg`18pmUW&1!&)6^%?+?%mJqsgh#bOh}yYGQy z?XaTOV_Nc=2&-Sljc=b5RyDDz_@v+<4=1BGA=7;%{~eW^1s1}2{9SwPNR7r{@9W~sh58y+D;}unxA`Rv1?B17+!X>>o(+5EGHs=^^HqJsx z@F!Y2&G?_M=rcmk;%G1>vDo1H_3P*JH0^St0>}lEHn;2ExLw((ZplP+R-Vx3;=jUt z5`E%>|C4ODD*(fMm4oX)hj7MGoJ`8p zw8!)qw1KeG>{`PZ;w+MA8A{?4i zfbi`3H^L@%uF9=}L8l`d@6R6T1xY#Z1!hT{Jh9jz=B-$hyyML7Of7V=Ue}PY zS-a67&(RH$UL@~Pzw=_*Q@;$fTfeOO{f*n``*j0V!MpzbD%V7@whcfc!GpVb?w{Kv zo9GL5pIgrI?u(wyA%MKVw5yk$m;IM>TzJrIAk8ci>Hm3rP3MFfk2$@&58T6=1K;L7 zU^P&X6M}KOmey9DPdLF<>0fw*y*vDVq!bX>v%q})101CcT-Pj5A?9v<$)rHN# z?~_$^J`B=032xj?k$;bFpg(;nsbKK%z8{5zGW`5^w56x~Nw&Vb&m+A(E4jkeXm+AmZq`72uw{ZnzG4?rx43YyK+ z_y+^%QE#?P^M~mOOuQs4zM5-2Bw**cfPRFn;AW=iUHw~Q0*FG*Kkb&GVV92Uq9Nvi%83ly{Cv#lKu61dpd2C5@nK+7F9c1w>5(@9k$CJ0n! z{ffcSSlqd=^m$DK(Y%*tcq$2#n4-jcLAy2T9cj~fN=ytgP*D)Si^&kb%?~J;76DrV zEsH$IRjm>&WR(4sks|0-7Qaln8HP$MJswRT4jV3-weRT?s&f`q@Eo3ot*b6Mp}Z9f z?}0*H%u5{dT74KkFxvip5AK+P0H`ElZW)XHh6=OD#;O*+ITVuk;pJdiH>ez^qY~dM zo%x)E;zqG>GATVScbug|u}s#wb*_H(P_m~BEUz*aULa;Fnf(Nr-{Xe&V8jd8*Pb!X zo6FX=h=eK~#?Y@_-rONwy!HHI~FXOVeL?=;pXf*IGi?b&tg_7|&w$|(X0TW7AZryqn=@*gw^z_vpR z^{UPZrPK=2{=U`t=b*50UcMEb^5pH02RTM4%lx;2og33v^dyM4Ks~J_Sm0u}-e(3G zy$~i6X*1ogEGJC!$JC-#eQD^VkQIaQ6R)sVk3%dj0;NvCPOWC6OiWtrVF^$`T6g3Mor5 zrG|{H>|+~^trFdv%4Aoz5X#OlC{%+AV-J-jyX^b#Ox@=D`~26-^n9Mr*`IUX=RCzS z%8xev`V54$9kL@Aspl>~9=%K$D^gY3H9D{i;Fz_i{3#f6jHB_HfLW%~87D~D6?!6% zGsU{IG2Io485_iLH)Ou%J)Lar16L&t?&wqfg~p0+OJ=QwTML>Te5+@>AwtBR7?=C& z_p6W(A`l_o{982e?-6y%;d=VfO6g7=ELYBbs15e|j=ed-j@4HwiWgWKjGu9PmCpWH zPI=jTFhgbY>`kl2i#Z(PnOf`2o`lY9ZA;U~<$L{_$YEW~eD34_k?R!H^C8%>+eo@T zRC>DnJ)KG~JNIcU2aYG5+)ttO6Xv{ssD~=imd8(v*AK=@WbDha-#k3&b0%oB;43|% zpp(G&v7S@A6Sh3=H|yRr$E+at*0OM&@Xbl8M%2s3ueCbUCrnGM>i62;fxv^GqaKlk zItH9D68zW7CWalpA~o;mlCFzaJ}MsE??&U=>?0=~m^{>Tim2@*Fr4MID~EU0a>`qm z>lB!#1r*CPEnJ}rK@D8Eg{S4(i6#Ezv&-ShzJo@3-I7qGxa2_a4aip)J4h04;>p?g zY`joF_J}qYHjpIvIO{fXSvBU=+v|5Alj$n*Wt0- zq<%~W0)G@3xWh&Ms7(4I&1%1rE_d6_c#goXmx&wMjue~|7_Fy6(5$%mJI{wnm-Thw zVRfeVda$Yi%!xEmyDucz&Dbo@#2%MwX?Si=QNfVAAV$^)m$@H`=-G!<0+0+SuUQam z$bRjOVuJzy?3Vrx#i8|F57hy~@1~t3x8ukGwlbkMVU(s2PKFka2v8#$`nE4FOvN|1n9NHcFV!{)W>?DOAe}fI1{Zt8AMr2db#w3k6;zBNqM zD#=>hEUKf;rFk8{8vCl{wtrvZnz?dd8rZ>={{ce%UPykA2<_-y*U$G%=y>q+fU<}A zLvCf}YEfi^Lho40;0|G$d5rtYGcl`x?Hqw0jk`V4D=U&CtvW4vHFUd=uE10j2J^({ z#A;)q3FzrMNEhu+E;}bDIh0v$xL?_u8W4R4e6;)tUHkl+TFLM;J4mw-7R-sKVEUwK zShgcWS!gkabgvj!S&COpS()QVP54bPsS8%D4_|m0dQd)jB{v1_Kk%)jTxY+s2j>C0 z6=C5JI7|6Domz{{{A@XvR7PK_P%gnfz|dT~&S1G)<0U7|YQG`xbr7hnex zU6Gn zb$xzp^0A4<1W%X78k%!43{!hf%70jBPZtS0Tkt4_nfej)?)2&cdw@r9pZ*2*u35 zvDtTEz9t$&6c*Ydl$-njvWlNsRrB5o=qHW**)A^OMS^)Oog&T7i4Q(t;W$VAn;{Vu z*ln-{5U$jxpHM~7aU;1Cxin`2KbMz;Q2F3q-B<#}>l}Mv>;9goh>}55_9GW+z@nKd z^-2G?{gw8%9{vIUb9|D$ndL(Jm8qQWIvix=R12e`HP&&x`3+lCun4g&BeC7X45z>m zh&5W3&(f(6i!qxjKcM#z%Y^#Mn`<<^OQ zreJhA)^={m3zc_O<2u6$VTu)w5+ZcKsi2@o_rmWt)zgbbt2 z6&cNKjT&W&$@bR=(x)zoR7xYst!l29dor`ikcXeA=ffxRX&ubP#N=ZrZVgnsfNEzc z#Ss_2?F1%0SvK4>jVWM0^2r)1n4%Eq<_3(!N3j#8f|b&=&w6hz$o1=`Ds5AsmLtYZ ze$z3oC7GAm`7_3<#{X7^)cn5z8H?E^g5W_ zZ*@d4c^xr5S70B#-3LTM7%TMIb#d@ne zC_)Qo-&o6CEFfTsx|v~rLxgmZrN<)DGT|rXq)y76y|3yqlOFlA(fwdNCn(#b6_xQk znm*d%%1`??lyA`5GhAB36?Iz$6X+u-_{v@-stCQQHR0=$_>CX4y$!=2FQ9c>`v-`` zA=W7kYdu?E%^a=dWgS!ejJUAofQMNTC#N1mrHQsal)pE2w=ylSCAdGl{%4gA>7Afp zRY`ur*I1EDydJaOP&XKq-OZ%O9TxW}Fq^@%Bv`EsThnEz>00rSa*P}LCb`k5g^18L z2Pc{F%E7%fJm~NvMcJz#wjn9tctTdhrm40R--C8|g6IJkdr6BkSlZAGLO>UQA?1>?!jf+~PbF#K^E6JOptsR=; zcajJDS^#zP)rDG~5azaRQ(-Ddq{ftp9^YI~CH^Q-43q3oo_*a#y0m);u~ zOf_QA%6R>08|hfHSbw8hOY=MqcZ;!2@YY`Gz@PD6o+j+~PsuGS^olxWpws-rLXU2S zDC9uw|EQ71mjN9rxi=npy$Jci)L_CK0vgxDm_AbtEI#nzMruZPc&LI4D(a~UI#6S? zU{$Nq>oxa|VbSKdKC2=^sR|1a@8e`yW-KbeU3=}tfsI?wjweVa^}MHB-gmH12sO=; z6aCHvT-=1uA71jfK8ZSTjBvXAhifG!g$=96b|mVq+7`mcn|vDM3tn^$YF-?WAo}#5 z0GSqiFSO(Ida*=gNM~BefK|)UnXFv)wPyaBY+3n%S1O{Y(?;Nob|guLhpEx@hi9q9 z7ezPI$XSP^zweic+p4$rnJuEw98v0GxbtvL#ex@ZgPPfYbUt9J+g!NW9~<1IqbXm} z!rxf!pO1Smt-`^#x|LTZ4INb!cjoBfho}QhH&ZkG#vSHpk@-Cn-U>eM&j+&-t+ct; zO$M#`v|sAf5uzU2zbsi_+$Y0-AM`xu1dEsU2}G{LGIql2gm1M9E!9)m!&khv^RC3= z1WEB7Bj=Np3DPwDd-~GqVoB3msVEUzBuq9~)vO4{20Ng(`<&uA^2M&Q&e@_u?@hW2 z_|mpb|J(j)!q;rfq?M?;W4h$s9=nk5eg1jX6M#8H$`xb^%!RKC)V}A>`9xf;=}=K1 zrCWGthi<6qY0*p(3%kVrZ!1=@{gR@^(8ut7kWfl7V9^|XCzR^Guv&cco5=9?g^RQ2 z$`EvUGAB9H`V55F_Wx21T8XknJh*SO++IX6A+{r=cNR9<$91_nzD0LTWM+v(@fPNG zvmNnSXM^0r8P>YNp`p)=-iLJjb&XyWL|pJa)wHi?+5}rS*DJFD4dwi7XTkVSi17)ddY%w86o|4OE2;!>o#LMv?bl*IlV!lY1 z^&(xpH!nEJ_TsXBNs@N{(Uc5&nUTETb53%ZjCrdSxB_F&w!bJ|Wi=$h#FH!M@DQDL zA2{Z8{$6}qqs?I+Dd1`f;K_e05$%nxuBP^SWsx(_gpy0km-BpD&HTCRhl@_$)*+o? zWGoJTF5$wer%E^-f2N*ulOZa2YnzZdo>!}BV90>SGB|$mV_YXJmHGczndZbE9@?>M zsUvDq7)BsMZ_T;HqWdDeufjiW2OGF!q$MmXkqd`cnm#4hpV@R7tk8kaPuY&dJvM6K z40IM(aV|zHJ~8@IK(bi)r&Y+X^@+_35b?}=|09PjhCyIoEtu-v`Nd`+oW|*xk)?Qy zu&b@yi`)JMc!c{wnlVpBk=M-xU;p$Co7>JSNPq9{{jk1A`c22XtZVpg)y^9M^hsI8 zVV7-8>?*B<xpqI99c#vO z(pK^&DpX?~Gg}8YYQsbU)02m`Ub=zW-gRO%_5wSlRS;i2;Pr*ErKb^GWFO0{WE$!= zCxk>0Y`bh;H>2-DG@|O*b%8(v1$EY3;Hg7CFxw(V=z_A1gG_} zd_Qwp)Iiq7gLUq@_7rv64hvAvf9_OYhODC8b(51`+0H9(CdLjyNKO-ESt)eJnPmu^ zL@O?M`}Jlo@IZ{0EMh>Dg?e)2J(c}quMgSDws+FITD0lD zdBIQIILM=0vA7*X6)T<EApMU$9Vp# zV#hR;JxGrKTY96=Y_GTG>6J_Mi{Txjx$o(+oL>){W9vpL-$JxQ*IzE5%WGN%=9>n8 zGw>*u5V9B$%=uw1I&Q~@+Fo%iaFu5~v!Pw=`=yg!Ew^L)EQVd;rwg)y;2(on(unG) zoQ{x)KGW_4DzsBsG3@X8PhUvtYQJ5lGL@0{n!&MwM!$~dH}cLqbg{ zdR@ox3|eh0%5FH3!a+n6-R+k<@OB+U|C_bgR!st6)V@H&|8p`DpgAN9^DWLE?`w92VR1MweQWfN?#rDPUv&oT{mtk?5 zwO7)=zu$pGD9RLcB)V5h`D>l}Zuoi*)5r9(UCEa` zN`6?zUqlG-29r)F(PZ>LF$K;xMNiZ`lwXh6Q!nb2KRYa?=Hy)jYYXi7lSklAROKfwl9%%bD21-MuPx{Z+cgfg2Y#6MpU$PJPpqP<2zYN0>{PHG%m1n>xr%Hp&qprcGrE+)kJRKv(pfN7rJCi(8B_sI9-fPf%v9ofteSs`3v zhsWTEfk)4X3lA;}^sKY8by7_xJWNC25yeW$rLewFoU>p2u&EO$LI^9-J;~J}zQf=6 zRC!{#!mVRzY!S&>s*0E`u3E|}MeMIP2{o#{%wQOhu8+(f>dl&_*UjUm*2UB0Wbt{!^2C>_wGN8lL3#}UhxcD0yEm=_)c}%EAof#rcI*LW?0)LxE~vvr z{#@?08;`D~#pLgx2}n3j?NC-(M&y6F^TQr5Xj;nC?^oCcUIaZWm-O+@4t(}AN+t;% zRAzX-JTbTy#?jyV3JfTm)lL47596sSi(F_>!pbia0o)oXjIzU^WN$RkBDlgP1-soG zrbWNS=f#oiMn%$zI(mt~&l{8Z+X^+UJU0R3{QMnsK2PQ^UHVb=6dY{V|8&?}khe;p ztdTC^b&iBtbJT`{LSs_1BM`Il>w^u!2&`zZ8Je+q*y0==Tl(!1J_?#uGE(`!a!i`M|8%q)IH-kx z>P|Be(adKdAk>rbWz(Wj?7~St!#0PI;=WJ$WEl8+VJ?M}9MwdV(beTcFShkrIw?(4 z%s6OPGD!yz|MBw={P6>iuCkx{IHkT4F=~^7_bmwx6`OH8f70tkl~2DBNg48U3TMwl zgw1?vGxO(M9#ad-9A0OO+=T5HGr=!k*dk6AA?_7KIaf-oUa z{!&08l0)(`Ph9(rD}s|x#+EMamMJ(7amT__mZhJtb(*8vV)peZIw`xfS}YGGQ}@jj zR&pL@W=|f#&)^8Nn4@%;_HQ0G$b;;(STwe|`q>A120e3nggX55(bA>ist%AmAHY`q zImWD|NEB%(CTp08KV6!u(L{02G&ABF$@j{7#0ZGUGwR~9b;vUH9o+`M5%F(bEM3#$ zFl9R>Eaay6ZI;$qE|+X?=JX?d^@8TyrQ6wEc{rQpLI6~GCBfEzJ?nd*Yp6P$y=bNX zdHH=aESDzaQF#6q`#~l5(~gX}my8(;bCaBIRP4-F-<;YyC`P+>9p7EOx_@$M*mBBC zmx~<|0+|(Z9_U7gK{R>@L4IQaQnFrZN_DvGff(d}fsN1KGW^3jr&JQto%%bo>(O7h zPoB-n{qE|#>(dFmq^Kz_5#%O^pL&>?%spk&TJa%ZzWnmZLrR@PFl$uF1;UWjk3Pxh zKvRF_x-!a7EP-6ihY1?FDc7HG_p!O=Hg(S3271UEPRS{vFDxo4dxY)I(S=B{qEXXP zQ@Q#%Tdz0K4-FIgwl{AyO%f?0svLBlrP56FLql7{*n%hpVhd$9Veke@oT$g|^>IIj zQMW3kSL#p5U57G=P{)!o^z$`1k$L1zvv)jIe#lLdx>2zYXmsP^RKVYMmB-!Uzu|kw zD(-OAFSxfu!A%%lO#F3ZjDPOVC&v*!#vJZneZJy zf7_qSimlg1%}=EJS_;|__sN`VBqTs3&07Hu6!|k9%KDvWGaL8E?LIW;jY4oM;d| zKYFmAI>#<%AbaGX@X>1nUUJF7asEa(JH%YS9I*ywa|n~LfU}5w!L-3e#cdp>WpoXD9ojSdLSISIq;YGT0Xt_w{w9<8 zsP)iL%PVPM90PUnVi3VHAKbnU)H?zFn7NdJ?l}ftbcc+cZ124Q|DVs%y`ooeKV*{1 zFE3ifzMmA(u|~Qs=r#*RL`ZPEKcqDBa?s)lV|qN}qW!*j$z7VV`O-7SIz#)}l7KJ+ zaiX|i>%(L)u)L2Tp%ac1go4Vq%1UV)Ft=-jLSwlG4l?4rg<=-%>7=%4>;_>YIw7(| z(vm;3I=Wz;xB42MZ~GT9jaJG_0f%+y_>Yq7lm5LZO(u{1pW8ZVU+@DjcUbBZ_++v% zYwaDI66830*JsRy8(Tz4-Ur9d=UHAcMZ}ZGR>$19t(W3DqAILYutu>X6tlr@@1WFi zEgmiu%m=wk-(U9M!kPKx2eRTnDJdOXIh|ipxQ^x*daUo8bYd))|ILBv)dG5)VA5l% z5l*mn2*4cdLThXJ^-3G)3S`uzltSjWY1*x3O^QT?kZH)=YSLi=FFQme8+|N$6b|3C zGL3!A^bb6=OOWRZJ-CJUh+Mxh&q?sD&RN^3trnFP{WXZa32X%qy3I61EHakj4WChPw&B(WCJVO0 zy<30iV($YmlIFC%9oHR#?VL^o=G*c~SMaTL?i~B51@(~74(Zk0qi6Oi8@uo!^9;7k zweIxW>od`!z5e-b9a1j}{C zmwo7@@TL(MUPLDA9ESAF!pm-hRBVpgvxm{-?+qE+~&PYLvf z5VQV)WED*o1XH&{2q{k-6KAOW#GmsW_M5$-tD!8Jc`9}uL~~W0oZ~6Q5eQTs0MYdM zkK+0S%vLSYw|W^Nix=#tmZ zY=fYckjc{|r;!DVKJUZV2i`m9I11(3^ig6D&pc5rC zp+vFa7*56jgC?IZ9XL!An6)ccH*rTKkK!#K8SPcy?9wWY^0B}(CT5&4j|cU1w{7KT zC@919X?2MT|D3H*zqPi8Fe6&;Pn4IF+fk`kDg9xty!>WU^aILmM(@J`Mt zDm%q?L=lNdzi6G}EJ%`qko1X*QjWfpd7Db63E$2S^w`Sj_#a*h(jeUjPF+jc{vR6; z7^vqgbkr#@&dBvkD@$CuzR}#ewk{{>A-(xD+a$Y?p?K_JkF-x`@Q01P5y?}!_TcPV z5)%%;MjW@x>^&*hNwzbYS0S`b1?67h?kLCez4x-y78x<-dn8=N50_!hzYztwVLs9N z*t)Nm3)p9F>qG@IeEjxLnlmM)=#fdPQtWOm*n2s(BJx&uVj9!F<4`NjFPhX=6jVrk z`(*-E_ib>9_x-+(N*RP{_FX0L6-}(dZky;V?yC2_XSfIbYSZ{LDbFRM4ofWH>&3#K z6$|vb6FKETv=Txr;}xk@uMoVfaz)lGt;qMYXnbw~CsSNzSYmkK zi24K1FZ{b+ord#vp#&o&{h$M%glseVk>)xE@!Km?pyubKp~``{I(Ma~RdJ#m6N6-D zxJ6eUZxOnA%|7aG$zT*k0=elp^f=f7wXfPY$xYC7&*wQbXWRO`pXM zTJn~qbu-e~XpLEFEkmb|3nQ9&6HBTRYd;3XG*FH^l?hy5V*O@Jm~Aq0KTsbaZv{4^&^vtGTbro^7KA<6RMwMd#T0 z-90Ceq4d_l)7g!Br1p1oF|@bRWO?}hK4ldLEx(qzL9@72wj-dMPi2((m}qu*uqVc# zZ9zS>?k5a0o-2!uPdBUXaQ&C^MTW;2V1^^OF6Md56#01cx1(G80Rum~Ho)KZDdjAc zM82|?icG%~YLguK4YH=>*T+@Iw%%tpX-0+aME@7RN6A!5-<#j7>>&|qW7iR|&=f#u zf(f{!(i`_%G%rCpCLuNa{*z9j-0PD7zH1TtcFgn3Tr|#Tc+ICfHG6qhAOFv=p!UNiZWm8MEB`ARIIho)&)*~fGjG|fUipDH#JBnZeV!Vq11o;$t=ycR`u^{avu8r z7V-;IfsTm+{Y}Vt%Ejr|04)ytI5M4b(NhGDypRU#$MvpK?{JN%JZzpDyXYVl-!H@* z2`vl=yKR3Kw#D#hiQd;+`im<-j&Ogg6vpzaAB<4igm?%u^H_}%@8RYOi(q!r7Z`Q^ zWhJ9F{v91lLOfd8tb2HOcc0-oSB^b@8pa?JuHc^?iKIN92mIB3s7x)q7k>NuB}fXi zVkNayKi^X+ecFVuUutXflmQgasI$ZmbLrbrxIlW@@T~rt2$72>k*~jSmOMO{H-0o9 zK}W@uL|DyFkCc~xGJCEnbY%k2dkj{tI>-ICjz~s1r%R8;K-4Qn=*=!MW&MMI(0s_& z3zcxqc=3%0dU*56e5FuizMykY*$?po45pNoc;l>_7E34=E}QZQGr^l5zBhqf(PaDGEX`_mgt*>MPU{ zdY96_$b1uHa5`Z7D(5#|~7jOA1l_25HZ1 z*A?A6%C$cHRFi>_Gy&iNysSvVlm~>`r01_fStKBxz~@pSP)64bID`lkbfyQU2BS$T zLz@kf-)-wfK@IJ&r)o~H*aW4lq{nK0b!4sLlX=XOS?>%tZosy&Vp`svuvZA+>Qo6; z)I2hsDmGQ#f0-bU>b*i#QMY)8G6kcj<@bbL;~ZWRvfk*HsUN+*yNe17)+@4a-+TSb z8`MDirrmEU<3wSLuEx<3fl@hga3sD|ChA&jLn$WQLNuV*m_K73qGVZ6D8){522D?x z*BTaIyT6OJ>brSwsb*T(1WZ7Ckh?+VYRm10II$eP;>^mdavL^8TkC8yBpaEJXrkm} zN51*nI*aIg{u#I?S^vUV&Nl>wi)~O_bwC9n0?ki*=FPD`xtz>* z$(**t#})Scc%n}*v@`we#d8+)MU6!X*ZCHUO~+Kal=_^LA;4esS!?TB)_nha!8FrKp*7df21Ngy*Hjc6N+85SsTbur3x<@ruh1qo$ z>P`hG72lu0zvN(&72-02hyIqWv|vv=AHoie^?c3d(UXT zqtSPe1J-8sVhkO@*2#278bK=eTk@9M_g(foXDv00=_8&R83y^AzH`tv%`9mQZ+^*{ zb6!P$k@%5X5zf^|w~w6b>U}b|E#Nu;6d-*ouVj4Yw*w~~`&;zdKf}>s^GefKe+1!P z=jq=SAnz?X5DG=FElnJ~Q@XlOjyhAe25%s_5$Yr3)i2dt$J;e?cE1P75MOwIO)aICm{Y z>_5*Z@R|Q-Y$4f~-UIQNb{i^sw~Sp{eTdEze+q?Po!#|gIoWS~@~oB3z~g=FxZN^e z&E)!fB=!#OP>$bfOR8;UjAsOR4^&(m2ui#r3b@9fs5_fH|1^qAMJ|4nH~ z+48n|a9m6Fyv*i={JM$)?xfN{cfPfr`&)wVfs!Fya<`r4sk$yF(#+`^e7 z5Q<%970br;Aa;ytAs64~Z*#8AGQ1k-k%i(Q@tgNH-Q!=Mxj!pTx&tY(@At_95k%`Hv&#u16^?vT$V|(gZQq-VP}nQfBbh|smu!>q31mfwiXr?tO#{gA zcD#m`&$Pqwq6_Q6vm2RuSICmxA{DU7Mgm;`V`b`bJwt4}e*L$lb$p?U5Aw0qG1Z@X zu}KBd2)5jQfqM8N$`%?GBX42TBpWf~Av&sKi*HV9*Ingeo)F_%=CbQ9C|Wwk;UeWn z{UTk*xBB~B!tz1e`;v(3CLxQg_OVb-U@9m>9G*o{Le zV}*=C<0mi5xPFlo!y>5`mgbAa zgN4M4#k{dq1m<#&^YI>9=w52rmM7h4k~*PtI)Wq!F$zCRpaejmB8fTfEl=;`p5^C{ z*nZS(4(4~d$|-8o@?m?TJG(K%vd;qX@vf(CJ^!RB)DzF!<~m!fhi9ykgvrIf zw<*rrW)E|l2E&!+mC|$_g6BcWJogs;aLsiOB$(LV7twufp!f<0j(ujS3|s;BINq{l z^|_A!xL4;+vRNH{$$v2R(X9sBkTYtM4-kGQi?^MRepWCc@cIEWGiG&C zPF3G^jwztpEDZ316hvmvB%@Z7B@%+nLPN8R-lrY%Z5KO;h-O?ocszRt0U1iXm}ZjQ zXoi$KsqE@X7@wCq_D0#d@)DG9m$h6S&e@!0?(*J67B#Jed0&anCXBw2hzUA$NFvX# z+w<80nx_JXU1_ycc>{gVQEnRg$7VZlO}HHTijs4D`dXaY{u=rT?*_wohs$DZ?ZP1Q zw682JTKh}%+P+~_y9Ds(jP5o!JJI#WnrFU4p)TXfVzV<_&Ixl_uLyM8po2dbDFDh{ zA1cIWw)E%*ezd?R`>MY1M%(DS|N8PA+dm8fi1-Z`x{#?1~@X-6YjiC$fAaPD7{e=-XR_%`rk&c>fyzFf15i~ zENJJ=e<}Q@l+=Z$G9z!P*z%RqPdj}=n?4L(_-svWq+?SM`=gU@8@6HeOJ<1z!4n&o@SaBodK--OoQxRO1p$Oq$%B<@9QXT)*!cfz# zgaMe5b4sqlo!i)2?J!`N5z~#VRkdN&L`hHI7JgdQXr9~Xyw3dWVdc{O-6&@QRZJ5k zB*G!7E|C|DovrH;q&T?59jK`Q?8x zekvp9Tx;$aO4SqGp9p)Vp~d`qcON(08T+A)EhilgKH;kw)&0v7965N0`xT;j5&n-U zr8P0dcI)v5n6aI&CFAa)kQ}bFyimAdKJv#1nHrmUl?YGxwO=72Wd2*N>~Fw ziU|H}&~AMEYsFK4vQqRYSn=QujM)_i+?f;k^D0e~p?^=4?;G+kci441RV*EalW0&| zsZSN#jY`?BoQ+1em){AstfCIs)Iy9Xvuu= z5M#@LN6x?!$gQtm)4NojAt|yl<$3t}L@Z(dI zi(?cj3g-3NR@{*6JSEJDQ!}?-PFu}*B6KA?OwYC_`NG&D&-8TJIA{J~DkKg+{V}7o zm2Df)lq@3F?GYsvvOymN0aE_l3Ee#!r;1@a-SDD`6DWiWFYzhY)6H(QM#d9^M9U=3 zmp%gsfPuWua)rs!lZt!`@(#>|JdU5WZWs(AfqK@y*yM`aI(tEk9w$nC)|7O8J)va$ z>>zDs)V)MThk(!xvwQY~vD~pknV`MUPRbw-&kLXWmvV8eG=lWN>lcq|Sh#=X?V{Hh z!#d4iq2=i}3ED$r#(2r6mym}uN!5Cn3-MA&RJ3KEG_|S(@q}XVuI^5E-8OaWeaxaW z*W$Hin-feYBK|+YB;g*IWmHPlb5dm*lG-D4wRS&FZg@SLp1HhnC))Qhlm9untgjCi24(l>B>R{Vx0{AD zY_Y=*&%JMZAUl{6+;us-vDh;H1EQggXSl7eCWyt^J-4}`MSKXu9lC`}?F3 zXMgJ938L>|_DL>t=gM}H`Qa?o_L{K2m!QL^h9fFgOz>9Gj0~uyFKab2bG22vhB;Bl zG?O?qw@8YHJ4pB!*iQF2M(m-}4Ry{VIR^0a#~FvUiX@%q6=lEDG_3Cc5Ct5E{3;`^ z8f?ZjaK!(WC)*IA+$J%NII-;Zb|=iqD>uQ#KVP$^`Lr zZ(KkCr_H9(z^8@qeE#M#;l(q>hO1I~?T0Rtat@j`3-Wak*`uu3Az1@uaCIq}t8hF- z{$FO6_U4zS<6NQs8>B9oR{(7yX@VOONoFBe<5G4b^|CcP*7tWv=bQ*BNLnN=9X`Dw zVcjXrg#8F{%n${L9zFaENhY&l!{@zaM}lw<+7|&N#5|lAL-yv8@3wQK5u&!baz&IQ z(zHeBVshkQgioR>WsyF~p0i28cFrZFQ}Y9irbWbY&O-}|b0uc406DQ%;SkOB`l}f% z{&4!ugWs>9?a!|c1kf@25R@^B7JyTmEy;mT_H(Q;Wj7(fw>9lGREWaV@g z(Mq9Dj`EWlZnV{G=}bPZ^V5_7KX6xz2tlw-#UP*!FI z3}?jB`Zpk6Swv~qV_2?JTZAylkz3f`JHwSj8v(TLn3@62L$r;vODiLr2ROB*W<417 zq>i-|ueju8kl1TK@}npqvR!dKAY$e$xAfx>#0}~yqSspZgR8DGdql45;%d*-qFs=s zAD`@fWMlXi{71X*8%msbe4tn38}bujusz`XC=!~BTnl)>c|?TEOgbmwA5JzNbJHAL zRlzh^w}py*SBLMB_O2lL>#SArFe}!MsRN%)Tyqp zuyQ0tW&iLP$HnqPhUc*KBRpJQ4h16p+DxZ&R_9ObqLB!#E|uHl-<$23;aFRU$-to8 zcZ%MNptO%b|2BZC3{nNtVeB{UY5wG!4F03ow@w;}S{?nHL1VBK^)A;HqmS1HPRR8q zPnkxN3)Ue`_K<~YI{SQc4L90M1im}gy=}Rk!}^x-$*C{wQQ4N58jw@%)WJmd9_00b z7PSs2T)Je?V5skT?YggJH||S=vDgT<@7L42A&-4}u*MIVLGxFSwLQ&mam*eWU|y>@ z(=_6>3l3E&O4BZK{qVIFW+xB1$J6|Qg3o_tJEBfrOR4-l-G;OQnihyy>*^xKU?8B5 zZgbVTs&E*zvuP-;A=8_Mtkir|%iqxz3ONzN7NN$Ia_iaE*h}~nk|1d-Tuyy9SG{u2 z!r#h4s#PB5QExETuXZ(BENq0k=~?b^M>GGmOTg_-@X=(E+cTXU-{7N}A=ChZi&HzS z>~oBrv_oci``fWv$p|{HH80jm$dG-r*4Z4ZD|`ZeN8s~)6p}}o%AAnuzxDEO3PkDi zpo^J_wh0Nfpm?=dThlp--AELbYM|KLm4!mq2a{^g>FQ<=9z=xe=wjFWG%DjeVumJY znb+`_kNG<=M4pYWTjurt4MV3{fb`S7rML&jCO*G^NW?Gn!IVSKq{fm$wMmrxk?f;y zFZ1iL(@xJ4_X1`vs+g_;Em#JVyDc|7x~)a<4q+R50?475!eUN@bZiUd#(Cg8JPEHu z)4D78!=`0my3E%z3*TNlrbhnks^Vjte?2adt z9|@{7I@6l;yM*-MwMyieJp^0kc?qfMw6B+2q&4FKIHXbFzt!+JHHJ<>hDk#Ajm>3R zuScpdA6Z+H#A%yoq{$zDxkwA?)#^xO%IYgZ6ly?GIeVwMQzzWBTYBBJv_KL{8|}kg zaoN6bDDd?8BVh^8LJtCJo;$y80@|4fjKdQtyYPO|l=yCY9yq5^@Ei>Uj6NrPa!$;sGFe;v9Tm;pytqDGIps{)fx|#a_B$L@|8A?ckhup zGg+0bWb9!`>K}5GX14CE6k5i9keEc9hL@yHx!u0#vfDOVWofVIwQ9Z`F^tg7S972O zy;Cel!4H{zjCHA+iu8AvJ(Gbdhhh^F776MJ2<_I)Lc@9T^YWr&NN=Ok>x-U`p#~mg zTalb%>JMMfh2Tv($`f%9+=wj$0Nj>jH4bUK65&ncX(qN*HSnOeLkH-#M@H^DJ&S88 zi|zM0b9l!}jUw3hQTY$E(>7jm_vABPk>tS1P`oTpE*`A3$_VM_Je|wkqp}I4)AASE zU{aLjgJkVOwz;h(HLN>vubP%HZQqB%>v-LtBQ4BM}VCi|;k>H?tVV>_{r$6aqXmSv9t(LXS&ODU}*hvdKv z=qOEp&>guMt#A+}A}2Gvv?%`igU4QGJUq$5+4lXjuPx&+5%3+~Pl4{uE72Gq< zKn-Oqz*|H9SbNWH`E^d6ra!k>=JVgo;mUG$yZbWk2}SM_26v^SGW$M%_KVg48^rYA z5B%BJ@Ae)?Qak{NtX652@7{3Lr}cDikXgSXGgaC9h4ty|`5!SM(hEB=LWyk=$p^<= z)0VxhI#C?RW1H-zJc{;PE zIAEKsK0i+q%-Bp6sCi(~(ZUy2d@pqMPKl(X%|O058ut&AF-<>a%QiuSu{Om_AlpBt z_Yw6@sKUIU3&d;QZ4P|9fHw>o<@^8Dw7Q_u9quI+CNb{})~=D>h>kdPqw;`Cj`g$Y z>sI&_@^yrVXy;O3k)nrH3VIt_J2g?$eoO2A0zKMM8v8D}QWaXPW=^6(BQ`uEh z5e9aZ`E*_0Gb7AfZmFc-lb1JLHKJD?jDouJyRM1Tb5#lGU|31v9tHZ1+r%>_Wz;*J1&>#79awIEo|*CZue7V(&4wn?@@v+!6t?=(I@e8rlik(k z)xmoOQhabhCaYTJm@OI8cEIx9l#=qD%dD=M;AnLq*+vFuOJzop;Acz>*IPiD`zxnUyF!g!0|t8L6I z`GUnCd)q4_^A(1@C6(DHN>_-ddEP4Ayy~DiEn+&qRAmf>} z(=N{>o^s;a`FEP0%Eo*@+jT7L>Kohxr}Y5RgSYAPZHpanNgpYm6}_!X%h;iY18$m! zX~DU7`tsEGdf|$X<}>r{SH$$8gxrj@CKYX_JwGc8s<&g^W7l8Hh2 z4Y=Mm2%Xg~{Ca`3**4KQTEg;1Hn|?jv2|E|R@(vAi8OmKMmiAZl7v_7~mo%HT$H0y$qQYhQlO(&1>F5ZuH_nDe1v$l;vva1rqne8*fue zg;zB7vXBudfaicv7gb0$e!4HhjiyyyA8?Zcv(}^P(1_k4B-ALA6l}kZ7yESr@UfTI zc-W4J43ZnQ;f79Dl&F=a=RfBBCOFqDP#t(>%znhYvY!jJ9g{DZ-yQwYq_hz(y6iV^ z9@SQ*5t(jyYK9m-M;vFzM$t1zLZ1jj0b?ZF~l7DyyL6@2+-S6)QPj8T7CRFsJ)G z57AzASXa-Ih9OB{)xm;?9nt<1y6+b<vg57 z+S0=5Hc0(OcR$hNSSF_4HJ9BqF?7fcYYP8YBTllhWvpNhO}m@tHZ8|MSsmKc z=&Sq2P_DmKXAa$SmRe{6rsJJ{r+An7GU!<*%i~{2moO-@P2{F`eg}oFcbpzq#n+u80EA$mWv%j|XVn*9YF}CU&HbD>`Pp3_7Mu zwfVxQWUHt={cg?$UZ~$KuCe7k2Fa0RF)@QE>eo5i_~jueb@t`z5gqjOWd&ywt~!O- z(;v4_?N(0Zl1AZ9U#`;WxT1{o-kc%6oa5fWj`MM=Um*-;bcsB!ckpS&_TosWjEQ^x zh0ftSTV7rXob;B&TbOP{XhfJG>G<1LUHBUgRI?ZHzH=}RVi5`tBa7I&ewbu3r#ww0 z5w2)Mcg+por@imvYzA!R5t^Fbn9fjp76A3&$f zvBxJKjCQ8Yk9@I(zc~9n=-niVFY+~p(7C4~Oz!uK37_v8a+2v*eC47qWpN{~VD@r& zXrZBckgp?3a8lXW^1D2A3GQ6IP+aI+D!Ur*BN$zaAuBT`HBRfnaZK|c6hQ@|XD zVrMyH7HR!y42JR>x$!7My8g#|(so1V_0hn4SXXSFDw#7d@&a#~w@d{gKIE8iSWVy1 zgb7kI;wE~fXm2T!gHRdu?p@p9d#VJ#7+?`b#o}dM4LB@2I%DfXW3CTOE}QFV*Zmt) z7`zo~Pt4ApUyn$(2pi)_n$i2<_PBgAm|bt2t*q>U-u+x7jWc&_l~xjKFzL0hPnlB* z_3@i@)uTx{IIcrd6m9*Kktrji220!s(24 z^OF>dN@YO($P^6sW%7U9?Zb^M6^~9TT9A>1(|MK)DXSvagJhDvSXc0U-j(q3p9(tt zA?jtnLC4`P$Ro9PI^I`?3ZZD9^zRRqH-|Js=@z^f!%nDwEk^xKVMC}QrYQ0=w>7lc zd;)70X#S)~?(RPkgD^a|_tT6Tmprg-X|b!%>WlL^aS}8H^*8Jg4Q*->nB&&djhz=D zm;KCE81*ZdPlAx7&0zwOLPJXo zfRQ{euZXGhv^Q-Oe8r1#sMv;(g8ukDnvC9?2JOpLMe%Qei%pgvj=zn}$ITtV^z;*4 zR`9pC5cB48(a=wEki!QCQU;46CE)wD|BtEfj;Ff+-+v!_>r^CrRJcW_PDVI(>5j}o z=FvDpRyy`LD74U>;v_3s+1cZ8P*jdRjy;l*b?iO9FZJQ~dwcX(kH>kR^BT{2UDs1q z@&WqUO6{@4?uHZam95JbBHjGIzWP1zHhq4p_&%j)CqRu-8qYqv0}7B-2O$vJrB`U( zGUQ}*-OoVP$_**OUk_hMY!aMT^Btc(cbBhb_9_3eb{612*{nghGpe8jJ?db?4L(|D zRv2f+E!O9QFsX3ix=tj8bia)BRq^R#5A9N$+*ozt-`jMzqzj#2VLo7KaoLIYnOf5-`C%GrCQK^k*%u&Z} z>aalw|HIqKX3CEhdHBsN!lTWuyxDu+A6C))#Fe? zj%BmiGV$(bAB4jn z-bCR7s%B%1Yu8}5OAk3(PxC&NtTcnwe_{q9pJ7-S{NP+ghT0BScsu+NIZK@6ldvTND1M-4@v8xj2b z`$(1wP)w+9I=Y+f;z_D&Q4vrF=K9wy{ z5sytT^bbgLEKdtePf11~+$@XtaQ2=TfB_x(m^A`} z5XghQi!S6ebw00GkC@A*3!2nh(NrCaGBq(})}}9c@5DCct^I1aq9EIez;0;)O1Wns zzXGzY#(viQsO(WqaS^CHbYMw2vGn6_Y+5QbG%U>055y4vYIbIIjqBdvVOW<(Tf%hgJ;l{=PemMLI z8%YPHv`&}yNocU(@Sg&D02G}u+w$9jwuS~lK#8?r&A8S+t{A~m`5KSSZhG`)8r|RY3Cw<4eDgVt|4W9;9is|y3C^1&AqQwzEnL0I zn2rZZXEwI140lQ*!*4U6{+S=q?kA%i87XP#$SOt+q;E!nr$hH*i62 zahG=Z+zghRi_Z&&_Cm!~#nfDZt>Zy{7eP^AZ%SzyT`15C1XTT(0a9~V){0yiC705#nOn_ifxIC8$ zz#ysP)VQkLc3ZR*iyWk#Of1Som>DJsqvn@izQ*uzv^y^Z@9vy z)TE`#H=o!o9~y`&{=gGsk~o=)&=If7LR`EH(;l8fV*RR8jUqN1XlUEq7yc1elHl?& zon3Ny7I-gK8n&*0l7BIHcf3%a9`}94w5s(LFD~A0gbLhBCS||dAZe_$uK;?r*}eR4 zac$mql#!k4)!Y)oO8}i9MZ=&Mhp-7(17?}x#_k8RfVN#?6kUciSu5PE%!CPn1KVKQ z`C+56DQAbUhJg0a#kG*(SpkF21+`(Fe52OGL(!!>U(-$Vku z+oD&li!TQ}-V9CK9{qC%`%#V?=MQ!i_h^97Esx)rlKfR{nz+Z?dp1S z{+?HEL@u}a0)=$^*?_9IfOmK!Sz)LL2Gt!*zQrX1kE}sI^m~+mj;Oq_^f7X=0nOK4 zG!6R@D#tr)%9+JsvnrKVxvWGt%vr|E^^L?F#184EkX=iR)3~4p7scv#Yp)`vcZEMR zjinm=s8fl;-mD70JH7#tKbtsMjg0lyTh}%D0^;q9!-S^xS*VR9*WHgme4KI?iKUHE zQMg#%&Sa{oKU6FLT62V`-*=w1uu<+nj!E@GLs}x>jj324it34n&@Q<6c(ldmZ0q>w zr%HBdDjFRGfLyoey|p9tAD#@3!_PuoL@~(C@V!88V|5+OBRb#|;9hkG<~blQY6&2h zoM(d&$)?}l;T5uSv8U(@+nqHgnYO=~)_-km@*nrDuSG*=H55*@jN*Ttq=9sEG)c?rzg#bS0qJ#XUem_9!|jWMsOb3KbCYp zFMn${%aRI&|AVbk`M)wpJ~&potUR63Zm2I$T8@XfSM5kAM`QDyAsEG3BB9UE9n zOp2N=D3%LL$@>hIfHoS4gLN~qB)6;BPAn)P`M%H%3l!S4Vkdl)awJvMOcqfE&TmFx zYpXs(T-x5sWbDV;!tk#wJ@j-C7qLnk^i%eqr2Dki`#tw`&d0Oj3_MzrcO7BuPGEyJ z`S*^)MZw|V<E!#AD=QjxXbqlUgdsC@l(&t8*cj+MywZqq{Y4Ea|fcXg> zbM|abY}t*iO*FI}?l+kk&-L0s{z=$7?=7_oA?Pm_V0wVCI89?A2Qzs~(8;-?#{sHX z4X(FL#31*JU(1qJo|=JZlWjgd^7Hxb44tiC8 za4tkHw6}ovHhAXm0!|55fG?|@Yi}l#)08{a)6RmRL+3;B%^LX0%dnfjdTXO9c8_$E zIUI&FdmcK?Hga=6cSk@hr$84W*367*SjV(v89RZU1rs7JApJSv(iNK?MAVa*qSSd$ zoc#zt$k&XWUJT51>{LhwC<5l>X4Jyprtoljfp8OOE9Eb@j=c12AhmZTuG!_DFi>V! zy8Pwetrx@WU}}BsE0DrS_2zHp1*u+RW~YJb9`=mbJr005i_RYLq7=3@avG^@%?iM! zNm~QBEl&Z!VGUFrmqbo)%|4hNMX2*Q#0x+;#)F#vuy`j`lLHc=Agv8JDpUo5Jp|R~ zQdWQ!D}37q1eFGG{fWuT6ZUBV$|r)@X`#{IEALmesX*;h?oqio*Ku6Aohp@VEdAU! z?;V35pzP|7YuIQ7Y%iyP^CWZotMjdjO-+uhTUJ|w07kIiEdTT90n=~_scl)vB*k)I7rRXhUd%)>^%WC? z*4h+^K6e7KJ=UG*$WS?;d)ixf`;;`-xF?3`lu2A|5&QRw3OiL$?bkl6RK9*5YP!5v z{jFJt^@!YYme1ONiq5tkX5z7NMi~5Hdz?M~2D3r$+_tRlg(a`tC^n+vG6Vg_R4EOl zKE*NEDe(Y!K_JXvitX9p;4j$8ya{yoR{I6c5AWS!u`E3-t83PR zaH$8}0o=cxj(3tHU6YjdVJo`TW1kB*vYtfQP*=7Lm`3ozHG%y&)jM&IG8ZCiKZj!^ z2Cax~Rv{!IL>%W}=V-!y`)_XAIq;QPC%`CxC_@P(jUb8_Ab>fUu+@gHardfOtqTG? zK;H;|i5i+b3~vk-1Pan3s=$!ryL@&d_b^=_rlP1ht-5~JxWip4|D&o+T76f(%lfqg z>etkGfc4VZXkvs$rxxCKS@Yt&ZL4oODTEI?YRsJT4HmvFDm>-7+XzK1C2{MlDk7hl z=VL0{;nG*N zJ$5z$^qo1+#u8L(zrBY+%ZF9de+$&NMcjBtDY3uniY&8+i}<&Fm4^i%0M^yZ(4|lh z8RCj!(J13?Fx7R4|ASW4p4&P##ATQ>@hGR|{C?Z0N;|iywDe2uob-DMVJW)7@{H=0 zEr+mMiJZ6hy84@&%0nkVJ2F6r;rN-BGXFU4>7I>fe2BfkVj@GW=n*wZz>5h6%UFw!R_Qf)TJ$Z7TTNV&?nY>jg_q%prh>t7I|naFJ?oPB9jsNDMmv(cw(vOpwZ;g&ZDQqdl$I5NSXo;ueVOn47G?d5f| zR(f3iKe$VW+9ge&xh~)IC~2CSUTJ@8&+tlwrdUd?PNde!d;HSn=x`R1m@FDz1uLN`tsCV4(NZs$Z1&eYEq4dSVlbprKj6V zue)1_g1JEkKgvP)2t_R?WfYy0F3-Cs?=ZCJ+~O;~+siWq+%139K@tKqhP=@8UnZM$ zW`B(9o!Lvn-p;f*s>~*DnllxUe2Igvh|Mkr_yFq(e*qkJ@+jL+Z!w6ZmNS9PnLiI1 z2?LZzcT{g|&$}f*@#L_E=P;=Wn?aygxB|k>0nxxS;}eR)MO{k328JItgu=7kgzN{} zugs{_S$X5}6LledpJID2c|W8`%Es-)1U{H$p32TN69PWp=n#FDz-A?wZh0nEzGLrF&pb%_tvO!tkINB#EuPs z${dER{C0p=`6~8JK1tDHOVC*vtaD;~ltDHfUyX5L{=zUHU%04Po6&t%Vo;$<2LI3s ztqF|iv&^v4M$3<*&j{#p0Q2H!K|GHw0!m(9R#66)EY6pd4XZRCFn%7d?DZQrqn49c zadllsp9YG-hi*RUS!hxKGuuXKIR4TDA&I4yvck?FMG8G(xY6K8s;N&mn>4!!kVM7( zt82qou0WkDMJU_!*4clz9I5r3EL4_MK0d9qY(C zFI)tBYHmO>tLdx$zJc;u_6i30BizR1O8*>(8Xa+y*WK@Hj7U~#(eUncK<(DFWyca} zhQQhMte}qGc-+TG#|*6mL2HM(kY=m=$5@`mTj>EX`GSQ>fKcUpaJ?mVq0(+-73{C) z)LfY4$B*vSt54Sep*5{OaUh0NA@eVU-~qk#D@=G2*<#+3gd8{8*Av(%Q|G-p zL(7ICkD=8Mj|1CkL8^JHM^6_-GKhmP&f{$AED^ON$n`jTitq+sD7Lgh6xsR2f8P$q zrNtn@ynF7MCFmx0&&iHkmj|!KNI#85DSk_;h~QE@}yYkORjBuzO?z)|N%8k`0MN=te-K29p!#&0;==SwRvpt+S3Z0tX~Ev%c$ z{Uub+v3Ynfv3+f&a8?y?f}&J&UeVgAUOd-0oB4iojvaD#KUm(9;!qExYcBIXmO#So z?radT{Tm4|&H$?}Mm06T?bf!ma8uuenQT_5cmC4!Z$2d|;wESc{&p$hf+jPJON?_U zJW!?{bJ`?9r>rk<}REz%4o_N>E~P*DzfPamZr`9-b){@N*AgnCxKk z9$a{D7KqinWY$f`I%UxNDzPcT_Z=*-u%iM_)gl(Vvy}IRd33n?j?vuqH;y$BLW@vC z02RLZG*gqy6ylU4?3CpF&0>QeZaGy841*X9D_tr7I`^%BB6cs^Y@0g@!Zb`Us6XJq zKF%d`h|F;ldP=4qMIW2Xo61Sq~tL6rn;r&2r`qkcS5@X;SFZWs+bgUO| z*DN*{{NS`F-WJ$(=B^yTYjbzrbktCs0(E_m3R&|w@h=Ve-j#kd=7}*4$DG=VtxRpJ z&j6^ABEY{q^alzVv`>Rhh%DMj`;6#mx?KU}*W}2o>hhA#BOjY3kNmDSZMjNmZZ4L; zNHyQxi_Fw4*_Wt|&f#xf;J3aDWtw9wwR72aOzgh_YXPbeARpP_+QW!ard<_~JJ~j3 z4$6=Ghn>B4`)orJ{D9>BVZkQ0p{Bpcr<5$kf$u z>g?hxa|tH(^BsUc?K;s$pu0FNZDvgRng$} zNcN9b?o}~V5`c+#pSdq1(;)z$Mq!7`Jyl^?@4V^JBmc9y1yoS@)A|DewW0r3}dmAkVKbSN3(o5aREgRD;EARSG5DC zG4|JQzF#$qyL6wj5p~91rf7P%Zy&TW9Dk7B4|kc?=Ua%#@Bmas*{Uj9$xaj?MCikZ z*!)@x?MElNzAi|4osb?Zh~NMlSuZpofux0&Iv3EnQWR+Uq4~9q-i4u@YJN@kjdKNr zV(#1XABOIsO!)HsZN@8|?Z!XOzFuXc{kc$4RzJuC5kDQi*9hr@Ew_DZto!Ytqz>BP`>5_e&z{)6 zr0VgV#`^2xmyJ(jB$3KC7!=F0+dNsn{F0yJ0NYDp2pg;-Bg52-nXU0e5PZh}5s29Kx5zXZssR#4=Fha5ZZxpyz`5~LVt zIUZjh%U*E+X^;Rk0u$Fk*Jb@z-=0B`8u0%P+wvY<{;WE{ z27BW@QN$HulI^tK)|E#xgBo83|C}?;S9m&rcK{El*Ye5xBjxk;nPqf27fpv#dnej# znSXNiT%T6DRjyt+?Gw9~1Uip#0KKC(tF#zjk{R++n-?NkX)KFf^^eDEI(Tg@NcW>ZZ8 z$`O?92K3+0nm?gK6GW=JIW12Qrs_!Z{_-r}BTub;aBxRKKzC6m)qgktDK+lv&F;TZ6JGTZ7oc^EeHkyMZ0CzpgKg7*f29SgmF$X72&#d&R_iEEfHCiG6jIgf|0MWmt zrSA>P_dK*9_|#Fox#aKE0Bu~N1Ymx+IWVp@@?lZnt6kG;8}49~8kr@7Tv=baUzYij z(&7U_BZ7a|)<;y>PPMV}@IG)obE8FY3+$I87_~ zzujxI%Wv^3P;1{4&PNhHH0Yy1Sw&?(x;6oDmokHU|pkcLPKW$@P1&_^nxK zD&^Ky3-8AR3+p<5&0^<}e|udsbOM7+{|j zt)4AhYuK$(3w&z_3_=tP$~Xv7(PR6KtZ{kmH^-gnnABiA)%vH-3fw{j2>=H7|iC(rCy2?-jCnFh`NP@{H&8No5-9}V6KRtQ>{q4szPia#lxIu z3iO8y55KmhXmX^(l5$1w>@2A1L*ZF&x(~j_Rz(^(Vi3ea;)1${xyIuNprf&0<|)aL zYTgJ-1czj22~&k?7$n`jVdq>O=Il9%@jtT#M&b$!hwa~*Kkz|l|1n848umcXg%~ST z@^u{vDrBcw{tpinBo$OEW4{ZM!@kFZjs-T424`8uThsZS3*yWoyIKOLHPCV76Za3` zY6~MjUkZAa?X7tZ=?W+Y^d)^>wbxAaor?+&Twg?+ch$5yoEt2>()W#Rhj z`&~+Y=xuU+wOBQ{tv;xlecb(g8u0n6RZ__n@4kN<1hpCP`=!mYktU>V{}XDg%eD};3|Z>uISd1M7lMFRXNS@_?ivLr{U+1olAQq<6R z(CIt|@>k9xMSAJbVgCzD-M?y&OvSYt8=hD6z6%jQ98_LS0*oM6yX+8S<{zu}V%5F$ zR9E!N&v#|NC{!4Iab_$b@*yAmSse^~bchqu5N!EbtDFe}xN~!vbK#u`@RGeE=dnv^ z-k1OGe53q}#Mz-aeAtM?r{`b<-vO_JDBnT-vv1tXLz7LrCfd}!4(vMj1Ue~l@lV*A z*vEuZm~vTnlWNw3hGFvA4i5Me(A2u#D_^1U!;GgO&4b2T+k zcYrgE%SuAU2JDZ?Ex)+q`qd&QhCl5WDfU6BNY+uitx}tm`yQfjAv7?%yoWF1+-E^i ziPpKl!E1usAN}h2NgX59uN`sWCJuF~d3X6g>cSvT_n4!U_(SUo(!8a?r^va#INvFX z0*&;r>84yGP05ZB7l*XhV0jLPh7do;Hm6DSn)-Hb9LG%DuZzzD`O_W`yk1g;3G(Zh z9?se~|Ka@2JFM1G(6+X(Qit9z?y!Ef|0eFs3a?&Akkm1t(lb-+YguM`D6XLcAY9uH+vCN1E zE-KAZ`b4;S;OW+paS>z=AQ+@P@Bo_Z6b7Jfdtma;>Pa}e414?JAeU|f!-O;pQkCJn zV9S#w_Br^m7@BrChQKD`V*3b&M#%>UUh1GHQcNdZP|!o9@5@^{UGJOM zFT!-p?g8VuLPMX2PPz#4;yi!5Ocs%0))3m< zm@k{;WQ2Q@F>+FRrX-mE+#><)d1Zk6;b*Sn8!T!z26DNF-&lM4ZIOdzh!MNy?exB?;aRyT%5Z@D{2!O&Pxj96hfPmQLtOLNiauxSY4bgQ@#BMp5; zG3Mu6T`N8BpzeKIPyjNaIy@go;R;!1+@qVOL4bPm{8He?{g7mKqYL+>PyO;2`FZ0i z19573v!CK3#|3ejg-`5V0Z?}eG_Aizu#0wKmA2GJ>@GlLs9&{jZ9o=NtFYot1w|_y zetav_t)|9_`LGM^BUhv2r8)1C5s}SsmrRqRXz8*?%_I_Y@ewFfCub#xulOi&v9skT zwFt-6O9QdX^i-mU&ZrPehlPvq_ zm5{I1y+Qc@$2nFWuDgl^+Vh@Nh}-`zj`)*q$y29g7E_vpj=awT8)>F z6>RuvpzrhpZMxexQbv^fVr1 zRj7}J%V>!Um|hKSmd4TAR!PVxR0xCh%e6#R(gQDH5*;dMmni6DdiA{j5mQ#c3I(D# zArAi0=R0j0OG{zU_~Dh@j{WB?@1P&X5`;|X6t5HL_%{aNj`foscub8fSc&`;7G4GE z6vUrRRyF(kimqBOurBj7K=&f}2mqZmI>%3cj$Eu*Dx1UbC57!Nwfu|eTFDg|RVWzX z)S-nC5(jq_b5?j2NQ#q2T7Y=pS77VM#e|Ch4?p(YPKn=@yOqI1^4DPL5fxw^O6~SWxT;T6WHJV0^<~I1Z|96dMIxEh0{CSwNicWmKzoIV3 zSeCaFU(=k@OujqCGJZuB9LPVkYtF2OchOtAIG2p(B2%$%eehtVPDF$<(lvu)Z;dT# zZf8?P6n~4yr{a8NP!Tx}sOrB61{P`m!M(EMxyjZzln{$ac^QMSB<%TxUsxKF`ms+| zPoG##f`@fuuYOB>83`qIitzrrfUH`-3UpFdm>8!y?C4a0L|=L^3s|g|h~vLLJ*mzC z@;58~JBwH7>LiA&X&<_qy)eEw9Uv3Se^W}%Wak{#6 zT60Cp_W0g0B?IO(WWM97pE-5#6*&(qNr{mW#+A%}xro3N2*bhe3t6L>Ql5aBp5I>T zMX*cW^>|GxPt%t8+;#dvw`FI|ZYev}i<=6~ zN|fzYCoF$6X_S;nvGM;HJ2oX32Y477ioC=v*sy}#i3y$2hqo(W=vA-GSB%%`xNzcR|X(WNK$rtRR%i*t7!ru8oy(D7- zv>VZLL68X9J84CK`nbD2zLYF4BJk4r{Sm}A|D_e>RD;1qt?yFkbSNoYNpUcP|@3~s3lf9A_g7JKjlh{ft| zitS%`1J~0cp|QdZ?#$lnj!0w`$yX4aIYqZxrA5;26JD`xJ^#=4mEPx(_aOI=qTlE(@^Wc2FGF+@x_ux?!J zJo>@2Z=}=^j#+oiny=3oKW7n0k7+bZ{dOXjDa-5FQ7Qy4szz0ZbPj4+HbM4XD1kEc z$qT|i(Z3P}r5|nBvRYft=f@6?v=hK9&LYF@BP#x^I?3+Osvk6)z|%QS9y3hwqLHAW3>n1w}q8}(?Bc{>~|i2CP0>hf$Ll!ziA`?LLCrj zhtcnvt`|)T%lk3mf&OSuQ|sl_u&P`~c`J%<_Wk-i*`Hyt$uB!qa}XT+6IJ_wx<6m= z*g|0WIci9x^I7zeo5x!C1w+A;DmIcN_u`#phA8vkR$Ke6>4p+TV8~JB@A(p{Jaqa?#uhR%d?^yQR;;JVK#Q?yiwR5zI?;r0^ zJl0lZwvUC!Y$cSSgm|f#ep+x~WtYpO^tf1C^ev(?rd_eI*;(Y5g}9xxClwS)+n1{! zmwIPRnFpz^WIpNNFyqgDxyr`?A;b<$Jzb`QTn|DsXysa~$P26Krqznk0CV?b^LJj3 zKS;fai?*|lGHw4JJxZ0kzrA(bdbH4^7MGm|4L-25gOAlzrwG53xKsL{%}1rXtCj|0 zqj4lfkhz?X3R;mDE~Am4hPI_f1podz>Q0$=6*9^}z^zA_&agjf_ZC^Hz94Vlr#owa z$FFSt0>Z-&IVje!$B%&|;hmtZ&(E{Lw6JNodAc4uI>0V;Q3Jfty{Vl$t|Cw`qN)?y z(^QQ=*jX^%4IWa_Ts_iH4|H4)!Coq>(PmHrGQ}1EROtZ!i^+h@uKZH*_(!F3PyO2e%;f4nt*|8n z|3h4S5We2i*x^txd=|o~9$G6EhoJAlr6)6EfsEXmD(>kd-?A$ra_O?K05Dh2QdjBc z-}*%XOGW!MG)w0WAVov#U6(`Pd45dJ>_d+Oms#}YvN$`cevno;|5Id;O!!qW>V4}u zgX$^*hWAW7|22US7TO4I1%zOEg-`iwrO+z9b^nEr-_2b$b3q{_h(HslPFUDYOWa>_a~6YH2R>7_Q13H4AKjR(L?zwu+e~ID z-FixueU$X^d$t0nH)3so%mRcS+eQ4XQbIw<=xoe(eLDI`bmTx-wP5E$ zMD0IzqGhDa*hzlu9J*GFK)j^Gc%_1osHKyb?TR^wcOzgR@tiV*dvnm^Kpb%p`EI{- z-lR{Y_de5huOsv8$+5Ix#}~Hzb|)HmgoIE`MQ_tNFZqBAGOwj8&+-byA;X$p{h|_0 z)awDj;ekp4B0w*K+ittyN#F~|fkIcYrPuOgU}sG}kQ8~e*0;6)y1dTAck;^o$3l)N z@;nxe3-#y*q+#yax<<~U2Gr7)+GkH`RC5to`I?`D3yc%^omV+-$v(`pe|8w2n5RtZ zMP$8FPW?@=JbM*7b827ImD2cI&_Uy|s}z)b;qcNYI0*J2P6R!Q!xPkLaATkR+u7xJ z>yq-YIook0#R~Y*htd`99-<&oxFh+j(Q?aY4`pQ_9 zBfgT4{q@zKrygNid>Pb~qnwVljV>o`w^6BarKm4aL74~BB5|GhE_X}Zj?32k>LA9` z^RZ9ee>U;5j8Pi7c82TdL;dHXbn||YQ6lgk%~IbW;@tvaSXIM92|S5{ z_96m7F^Ph&eH_6omsvS)PvIjcQ<9&YnvLmF?M)l1b=@zyZ5#winRVQy)36R}k13(=T&Sd+0(9Z6drMjjPW=2tHKJ7cX-%#L|Wpy9y@5 z1XjeUh+Va?>W|+)nwh%P?rm}38GiAlkl}esYpNhaKL9WhpJ{x-^p$*{2e=ovMrLg- zR{zP0Tb02~7Nn6ot|F&C`bF`v4oeP@O{a6cTII8u7-8cH_3l5gh=@BZYsFIE zQ8rO1oc9Hu``AZ`(ZEhbBq=k-K;SyKe5w-JX+lCFGHuj`9B{K(wpmgL9kl+0pUlid z#~1y{3$V6T0ZuDUcNkH{M2r8O&o$jaj4eQK@+HY!m5%(k9S)&w50_M>PjK-|H+x$K z=|%^`F)-|@{g-KdlDu6E(#H0KkWgXwPeW$L9$un1mB~k`i9(X%c`b-|?$IsxX)Zsy z+@q4mKMvmUJ;HQB5}?2>r4;x(TodaNAd*mgHF3_cV4{K0`A{5p?WZbSWPwM z$c1yqe{Ff?h??aD+kR>;YigVw?jUZ|?py0z-h)fwzI8+S7%OA?S1tiNmn)KOTp)%n32$UeB4@OmfTAOejt`35$gE#sB^qdasSWM6 z2U(+*xc#w{o{56W5%`c;b(#2L3{Z(Ka7~{$R=fNqUj#y*JXprF`WiDjAKUwm&vw6O zdY#NX`b_&GIF&XP4qyrIkB&ft$A}gyC8GN^-hQKS-1QMb;$+8saH!nobBG+#p9q3+KD@ zfgGjVn@06IX!bV~Z`R-G)&I!W4uq3TraG3{bas@K-|vGbeGfuZfNx}Un1BDDYoa8= zmatbDt2~DWM}*xJUY}~((Mn|t1@G7Ya_vw|bpm2Ix?m|`I}>%*tDAb)Je3j|k1;K7 zvB_7uSrqrr`a;AXGmqG~ey#zsq{AJ0X!$7K)*1FEijlYHQ5ifrq3ZP>&veo{Q1~_h zJ2W$P5lO4suO5>`c*>z3*_B5DY;78@$k4Qj0rGP{UHnN5V6MLm?FKcY8H9;0a_P${ zNWCraxtrjyhq&F+6)jO%0Y^_eJxU1RbJO;EqC1h4Ysx&(iLGdDW$!ji}B zW}}qbjYthBA?llU&|lPfi+fwi@pUC@vtl}d)-+d8(q#Pu zt>-dYlIKijta{U#<7(2U!6Mz=&kW9X3Dh0?v+@b?MT|g~V!q>gX5aqlDjDP}eY8E5 zKxb2+maTbg+HEa?8w)J#I(b-+6vnJ@a zdu>}c2uX|~k8d>Fy}GJlUhv^n2r%qKZD5mAMSyl2)ZYn$I`7+@xO<4R>w0ztKr2)=CY@Q&?)NXzVme+G;bGSIA*)z>&=kJp1LE(v z?tH;SK?yywszS)AoXcNU(ezMBu~(B+@_U}|)t<8(pd@=0G@XGy3V6`fy=Rug>#)vJ z_NpHnGZ7YrW;WAG+X?NefHrX5N1|D*V3oejrMrPaK0Ru$!cpqCUWN_5B3=!H$iKu z;3sRlM5%rYKsPL3oy z5HQy&nP?Z%PrewOZhqEo{qsV8oaSK6M0L+G26pJ|VT3|!_qDuifu$J$*XYlj6?T(% zYEy2xEO!y}dpP-+Q!?{c^pgc#A0JM+-DwQ=H0p98M zFW~ykx}dw;EGqXdH90a>O*J_ENq@YXk83jxy!Px&0ns}+Nr|#RV21i*4k~3|;HThhO}5=WAa^L@Y6eje&t~<)C*IYQZ;-D+hO0CuqMFv~GdQ z7Lg&*IU7r#6%u9x_y+2#*vZmg^2hH=Aay}VwVpR6lb z@&69LEqj0N_!}6s=G=8>{&+vE_-6d{AK6$#@v$+D+M)1k;=n(>(2Plqn|{}9FWA&k z$GUEc;V-5@!DD*s3XrqFfd}SHa2S?DybW4XLN+p!f*hauBs+e{xy&wk>h3chw0+(W z0F12q7)?atE?EoPY0JXOLE~AeQ-Bc76b`$v!{H!YG{^V9CsMztrrjk0g zdfpalM2A>Ry9ecWjnhKI#fQ<-3qsMWpplZ#rSS1YERA2=0y_Lbf7w4Qr{7X;b~vD&x^L`z z$<}~$p`$sVBpYWV^19X4qAXivuIYiI^;^zc zScvgiG3Ozo)6-DX^=+@}BzHW18bdRl@uZ9_9Y4z%h`2dXSR#jH_w7#=2dt)Si_OZ% zC-YLRBP{QwM1U+zXBT1q_g+_>6Lxd>aPobF(F`j%>2pu-G3GQs>tOqYZNJwC?S1g| z*KReHDA+m>wN%5nVy+V~fd zva~_kmdzU$8U9FD0dzFnpHiDoR*Qu}j)!dwr)Qzq%cDUBhRl`w*($w5t$A}o5C||A ztlw3dYP71U#TEU0mhNSA&C^&RtZS}+)|4(f1Qbm0p5s8nsoyXvHxDq<&LhAG%#-kt zS)WC>p8<24$&vN=(t86BWq?S#F&}%Et4{ROqOfA8O8PO?i6deVI`Clow=07f-D7z& zWM#h8WX`xLvG+yDB3BeXavFCCKR0@C{$}CxRZu+zVB4_JI3WchVwr(jUbYw_`eMx+ zjs-IuGg1!{0SpJb#3cY2TVhnsDYg6BAAZ4A^Xh0t0b)BSjGk~tj~O)O)-r#yHX$dh zp<(TkSOLi(xtewm=dpTtIt<8rf2*rF&8J%ZRjn4GV5qROU^?pAbo@5zFt zy00h!QM;>Grav0X-mAQS`J~}Z<^@2^2dpBOEgtHWJFV4%ZyY;8YkIjPyZfR7f^`M2 zZIKFa@Y(Ao;36ypj<=Vw-F*HSOcZiu@3k3D8&y%X75YwOxjT-xK?mh?!husSdGk$M zK`9~QWe-dyMU6scqi2`ai_(+bFM)8cotpqx(ZRQ zkSbo6Z*Y76sN?~JYX(OR0r=ap;*eL*L$iwLmVC~*-l`Q~8?aeG@lj@T`0l0TqN87h z%HhAehMo8Pb&Ca>m+^3g1=`4zpLW6(7rK zswS#C-@4{`vz8Z(9Nyt5?(iPyU6P4@wK|XltIt(TCu{6yyR`cue`DM?*7k3(poUP4P?Ib~moAy9j`Wm5U)Ge|^z`&qBSFETJDl4(hpmU_B5efYL9ayJu}1Y z{)KPhcEc~5IZ3)2?>iy{4VAf^F1Whyr*PZx$^a<4{}9>vnCMPM8uDyd$JtG^HYGC3 zC+1x!Y`4Mi7vbKeVn=sgV3Kw%_HJI=xFO4{`6W!sBi9*Klk<23f(Y;3JuIvfa#i4Y z{P1$gZ)nb4cf=VTU<40z8r`G@;vDat^~<|4B2*hpXR!bM>=GqEGN z(N$TO_iG%>ZKLw)LVW#(tcwo<;zXr~^J#roSr+-;l_@QK2xjfX#*iNAe$iWIBdnUU zVbXk?89N0yS#N+1I4DxASE`R*5TlpruTdA%IdXC^)Q8I<>}8!Z!(laI2KLr5EuQ#yiBp2dIZ(axa{p8OQ~d2W;DP>jzx z=(<$UvK-R;5i2cSHuf|)Iu`u*QgqB-T-z$|c6=hwgN!9C8Kt?NO@RC|jVG-!!PfMU z*Zo8q0fmZX;1SQ;&il?fIi+UFW;Q;G9wZkA|GlINPeY%F`Im#!?05wY@X<;k>kZ57 zb%1sp3o1p#{+;t{fA2rEUKfClQ0+OvLY3d;9n?42PanOIZZTq4+(gQJq7ZKX?fNvA ztSFCz`XY#o_A3YPsC=?C7n;(~(?MRpOV~#R#0+SH9e09`n3Z3-rO_fFbmZ z#PMYnO+R*z8A}ae4ghE>?J~tEB!3XFKTK=ZgKqNtJGK~0 zk}vLLv8h}XUO^HXzC8QuQmweJ!8K2_Ya6`q`arc|3DAM_ai@X^z$f^wG0Zn3BSK`U zRFw*c8(*FbyDs_A?-ibX8p&Y)_=N@Q(K%lJeuXbQTt%@b=_1*Czyx6k8b4sl5ce)! zb`j$)1gkg~!K;#Xejw|P#G6TK!%{xlQd538Gs-u5{oD)Akw`kC4H|& zh?F87Qj#u>x|ARxEegnzmlOoPv);S!@7sS__SBp?GtbOC6aD}|E)kiVmpZoyB|enl zXl~y3SNSVlGXb!K4w0K*_54sb0d1>eNfbKE@;!a;uy)I5>LC2Wqp01Qkcpp(>{%^@ z$~gx9Ib|k_4Zbpnp8d-U@Q*OY2RZ`)tsRo&^=CV9_XW6a>wEH1_`jqnZb4vSMs%Uq zR$j8n{HK93>ogreSseSqz!f<$PQ#8=BmM(#KxL|{4`xTX+%QogZT(r26sBVxyA zYrZV^RonAX-d}o4#m{3m``o7f6xYk+!K3ajJ=>@CdoVPT_fo$U3~8qp#{sPJ0UD;V z!w;UPGOkjo&fZ%O|LRrkJt_IRKK+-kl0#b3%~-t_WHc7<>w$8Hs)t^#m{0$ z{QSD=n)vVQJ=h)*Ni0`VbpywhriG%)ULSxJ7Q%E%|CtP0p>~8J+EoTWDU`**>*jf! zk(Y5=wjwb!ZL6QS;&Io>=DOqnyqPmK%+xKgaCC23JyO;LmXm}5FkZRZTOD(t1VQhF zOvml<(WSZMBfCS6^t(!1i?H8tn&}yNYI@iPG2SuMkNA%I!?!#9YJoevX~YERHO?Nkai!ak;6a@2fJj>=DLZlAZ$|GD2eq-CM*Q zD@KJ@CJ%%V>qA%1V}|0SB=qR{^;`v`W%El)V(=O_Tkm9wXN|P|R0Pb2hiq%;XVI zgQP|k!nuDJ3bVQ(F%P=R8)06XG8W=pGJn>AD+S73TJLP? z5ofK}!IO~go=US@Mg3TwFU#4~$Db9j(+s?Cu#Y%UaXM!-jt(lsoLAD&NMN)Hsfs%Q z;A)?vG z*{-S5T*IHV-?J!pvlb(BwPRyfm#$AZQo0Dk`j4WH&5np0w^0l05w$sxU}fVQ?0R8& z`bW)!;gb3iA|m-$DfKoTb?DO(;!aF@#as!V0DEoEtut0{<1GNbLenlm3-#w%K+E-* zGo!N>CT=PimrIBP4pb$2>hhbu-WnF_?^46X$5J znX~c&>@Bj5@YqE5pTRh0J3p3*d4FaL=e8v!*rS&^^e@ zXU_?84R@-8!Fv4mN2kplo%up$P=Uo@3g@{&&R$^NHT(0RQ6ZO$G!_`y1+`mMPV0tA%W^1=jig`hR!j@c>;%}z=Di8Ylu9mNcHlyb{3zC?o1^!4Uw9#BcV3@=*&gQteey84^ zLB*zr>5!V>=H%e9XUPsB;_31{MM!>tJtbeXVs&R$9V35M7AfkSxlmq{&>{JvT5mlP zsfLv={6O&u0L z1x3o&(RiAm%5c%x7r3b0q4BevfhXT2*GPXtPyuQ|A^*GH)!t}C zQD;!W{y;!eWlh2dNlTgs&=wgHoj6yDP8(z@h8>e?N06@3QMFsYTQdq@cv*oY+GzpO zHUs?kVeEM>c>OQHq!XCvSm`lE)N8r_G?|(40wFacaq_+wFWdFQFKYK*$dA*&m%Q7e zods~cjLMy+;-(L_-Ak^quk8>Kl5qmex0e8pFK?{D?t7@7^$ zrU5$mKUfHN83MoWwgwBCnr*q`LfxSE8{f7Y9e^u=m&;`++*U+V;`^sd3AQHkK^?oU zRKNtvsn^ePs`oUO<=R3*d{uijlG|QB!Yq_K#of9bfgQ-hz8ZH>{icQ<=#cqou;;&O zP1k<#>MATABYA~TfF{i@;`*}*_2^~%HZ5Jv^L`Gt`-Qo8-w9=PXrad;j{J1N=n^D! zB-(i=!6JSwfzI}^j+uDM2jKm{VCRGv&uQWY-gI$>>j`JFpB&sT+&OYKgib^}=AnVC zfZGC^Ik3P(yLmgg#-%rOl!fj7**`bKx{a@;mrhj0(-%YM53|k|jPWm$ZR{ciq1(aI z>D}R#eVUaPId((C!c*e&kSf?oh$lWD)3uzmu6|Ad+R4d4=p#j=gz#_OYC9NA0yOXO zLqb{J-}eXH%}C;BL$iEEzq7$In3dy};ToMrs~&8{loe8*bpwXR?qWyme_`3-6uF z09W)UrWJKsa}h7zT@~Gg3h(rYb*uwM+ADvPW%5tR) z9(BC!)OX-NN?_>Kq|Y98RMU_d5mtw01@F^gEHX1dIHTHo`Ji`gNYR^*qVY|?xvXW35ZgN=!Y6K)~VjKBMkqIJzkD|U>{{HcRW=;xI&9JkA zqJDdCC{&=MC|enS-K>trq=_$~>E1QU|9^m}clu8*(EgW_@!M29>u}iJ!Lt$x>n8`H zha9gLNiQhzUACfU`VG_BrQ`g7D=cal(vMZnZ~vWa6XB-Kb%}Gund?&BHi{NmsG%_+ zT~wVG>|;51117rIaqhsXdu+uVwcU?G1O>j6Y?x~mtVc+@UYk2R6)Eqwtk6Ty&1Pm$ zqjwl~vJvdj`FN3*z9!r%O@{pw5~%l;mG2y~Nra@M6VDVEw?Nra4#2a(T&e3<7-19E zpG)Rlal2C!qK{ZE7Fx!%KUhhtoEQSXkiy|tU=$cYGlF-}XLe8#6+z%I595NOuF|p^(eE&r1Eru~yZ8Zop%<*5lOb36whwOFQCBKGqxuTIAkoXfYStb&>L_`?Y}xl`j`M z9sh1qfZaF8A6#Tx-SqechaDMa7KL{Luu{?jhASEaQ*VdpgRhYuyshN;DF4G!zY`3% z`*zu$hR=$LA(YNyGjJEPrZ?fJ{AVWF@>b_ z63JM$R*PMtTJH$`&g-aL?m$`jxB>V`BvWC#&27GW?-}q6PyX=IzqBulxfbyc1mc24 zV8+m=+F2SveHw0lV2Jz^VqKK)jxI}Q4i^7f&do-kBYH5jhWJ}zOBCZXtK5!HsKnMM zL^%AQ_DG-vzsV&cST?9xIRc!kOuDsLrrta&b$9FK4MIFC^70yYZF|_Gga7=(Ix@T> z{+swOXyD8+trsht1n5hswb$xq?H?~*8a@8ei?-9QBg44S`%AN`p1D9L=M2Sa0*vqJ ztjIHJD;*XqtRPib|2%Nij;{-uDe$;`mB$o+tfSc0D>4r2Pfs)n;3XHmd0uV9*i7SK zcMQ$aTy2zX0aZldv0_&lR}MF=)-PWAon8)|e@9#LdHd=P{RVjbFT^4d`d|p6zB$Ma z-?fay-Sv`V3SO?KdN6=a#Mn};!nUeBsOM>ePxvY}^VM6Jf490Sm`cdAC5{GMPsa?b zP})+17S?1(^FNcpsX+t_@%?Oh#r0Z0#CtYWWyWmQOhkiYJY} zt!Tn4N)y8)U7_#XWes&%Mhg)ps=-_>=O@qU`P#yL+FXezh6DxRQ}AH#88JUR^hJd# z3-K$chCgc4Le!h_g3tIYa_88dIyD6KhW-GF8f5!T?dHYI3)R`GEKnMTPrt5TlDaOF zi5N4~xC^z~2>PYCyFV|-XQX;?owHw^>F(IHz{@S#^9b;+M6d1Rww0U1&`7Fmu!VC; z`%f={&Y2DPM+lS3`P5udr=;%t zey?X9i@@R4?sZe+LU&p;{#*~B&WgJEK+R@8NHpW{Vd$t znd4#xb&Ve8&8N9JG-7wF0J|dooi_-IQEh+3oP!fA zf&bmZ{~iLn6^zGdAc!^9fTbF2*F$7<=BCn~UtbVjDK}~Lv+0)wrF0|!H81m3>XP}} zgE{HP=X~G5r<}3}5o@6lc>1;CyeC_T9n2h{T@}CTV1h64bEO9qWI_opHePFLwGK|$ zL=d|5Hr+76L5dr?;S#q8AcJ40*S*dgB>BjIRDMHr`-5(jxWbz!_}Fa(0IRS74_9>5 zu=wkG8A0*Q0cjOb2zy=r*&!?%s_g@Rdo7a%l9Ro&6RI#DIMMi#5IIYM{Tdb?J7G*u zcfm1JkW(g-0;qg0-j^Be*^N8=jn9aSM#Cnrj)GS3Ju1tg!WUKSJ)+-c7WYa?zKKx| z24)wg1^$eI$7*Pdcb3^{ndES66%h{@$4p4PurIxiqir++=A^{!^Jhl2f-(gGTK%G` zur?Ph>}{%{bg1%EiVo^T?6NJxn4ZQWWY;@h{M3J;5daf1i8`8A#+{)VZUrgpytfjF5Q2U^X!RJWY%Z0~eqJUntbU;)-2Gy03;;$1O{ zsYn=xr3!~eVmwi3pq%6Q^%(uLl;H?icG@~CD=0uLZV{eYkf(hGRd-hqbQc?8w$(YX zn5QZ>RrPgum4>3~Iz03>C`!PD%&Js+KaHMH!<)K{Q~1fVumKfp7cHpni#B$nj+i%6 zk(`qjeMJ>%QPIn?4J(MSsI}G9)dYXbO?~a<4>k2D>ifbBl(c`DZCp+ruqVzBB_^l7VFP2d{C= zjr8gBTQ6ZU1ki;l3}NN?TtI)O#haJs{+cc>s(24bSk@`m{3?gmt48UFBJ748T7hO6 z5+MPyt%qZ4KFS{n^yPG8CUbMoew$lf8~1dBEn3M;f@Y7Z{1%(Fww``&qk0Eh1yhM$ zlaCuC8I|IIL51e?}Ph%TAWOveEhwL2CQw8%WQJ0j)$ zC=v#>P~J9|Ht`9fEYkgWOO4j#fZV5FVT#T%eid+--cY9!eX{N!>KAiyztaDvLUZ8F zdpjR!aY((z-k=YYV0o)rK}F9&E5Txh#)je_tZO;_eIsSMJl6wL@Q*}Ppv0@g%__uq_UA49 zmWscE@2n}}caJT*Z&}Aom*ZQu^>%37-UZVljw#d79;Lt*X|(E2DFJmwI(Y1T~O}!)e+w} z!P)otkKV@wjx%ycDon=%7bX8|D-qip%Lbq`UKOo8wRM>#YTFYGTDd3gY!ehWBoN9M zAExw;Zx4M$CL%IOZD2^BjMFjag{S8T^~nJ!T*9NMV9bC@%t!CkWQ7PyoUW7w#gY;o zBZ{lpUXhXIXGB-~cxfWqv`8gY9Pv)Zj-^S<_S_DT-6T{ncFH~K(&7HJ z`C7FqD!mVPnrq?&XG`WH^Q2EiiQYU7BP|kv6M>`}#M%(HFFzo!?!?+QfbDI9Fc046 zeRPm2K;UluZwR5RmDLU1Htls47+~)Apiyp$k%WvB|K$P*Sp%*}Jd5!6T?5}v4>cjk zSjUB)Qi=c{BZ>Iu!Q(U`cg00duuvkw3LDDjVq0k5qbTm7$Ju?Q)F7IyAX1{Dg4GVs z<}0O)62_9}%Mh%bD0|DHAW8X;D)zH^a{$!CELzI2QsFcFyt8fe?;GD50GXD1lPlAW z{mxDNbrCP5Gy0`Ly`j5p)O-8czsdlVXr|iYJ?n7pIA<{+N=BL-vV7gS-1ZFZUgoi` z8njL8)oLT~H1qx+sEI0^R!Z^>9fCr#EkhKULi*n?cWTR021rC$t1#{Q?v&@BSwrWn zLuG;ls}RpnVLd3wHG)9VRo1tPwdt63yKfz|z?n>huV3tId%>-aKnU_eK0~2`>>J;+ zv#$i$@g3&^zUfh=!}P%`|MablDIGcX^Ce}RXS3$;ZPc0+K6`uPW$(=4^5H?T2-RL&-7W}zNww^I1kn8nKt@>!=&VEvJi9W z5oNHfuR8Z4xei`7N0I&lL5J@}lXZPmPkWBn7M*?hJ1K3NSTspIoRoZsk9`^#|ADaj z3W?iBp_z1yHC}jIZg+t=*w3&FU^mGC!E4Xk$I>)C@Sh`eoestFr(EE$!_=TYW8v$9 z%{p;)onPkV%IH0&^!xidiI-%<66-5Yf2&j>QvOx3c@f)TTeAP_YDkqKS3Pa&vS8=W zTeSBUtXWI)RrnFWO`HL2TxnX zGm|j`Vo9>!T~9C-6fM67-{P3m$rHEE-Mv4_EmOHt)A;a1UC@c!-%pvIrA*QJqMp>J zePkZzSjTUbP|O#Ov#9rMZLxnE!ug_)-#Wko7CfWe2ffCJvflo_fVuXR$4pCO!{e_I zgZe(R5+o2O!xW;1UuypHDPQB;c@i}*OXJFJ+;Kvek`6%uS?2fM1m;LKO^vo&J5V>?XzHQD#j&9xEr<5A=f|Ga`XGAutuv-{rvpVw z_Fg7OI#GfG@`EPIisF=sip#OazAq;{@W(9=4Xr*bCLUDha&fF9@igp~)VL*-SnEeZ_V_U)Hvp&GNgm#@v_{OrI0#aG7U;Es+<=7qZ#!Dg|=Lf++WJD zEK`rg>g3Xn^MIXFO|=guwW0xL-^W8N6%Y1BG6nbj78$MOy^(m>nv(6n;3)E+=;)5& z(>uwa^k+A`T_&FKK}o+J*|U_!5)_XiFIKVNW9w*J?}kJ?enDYUCwcX+07il34Tf$z}JXuDVfH)X_3{aoOzFD=~-hG{_sjs*(*ZA+CSh?)N%7_CBklC`};Jescm)hp^af*Hw({OOkhnn zCC-0aeW&9K)YKvAjh_ewj|LmRtrM)8dMI&mgCQnSQKMP-o}~ljrZANR!1_G-jk;>o zUd+t=P$^IMS}OwkMW{UMzgjS~J<8q2pba9-l*(|?R8@7FPk%$LbL+xSQC&mgC1u1$jI_o#x~ex>XuFZRfjLmTfcAwk)29ps;+-svSXO}U%q0IH$hnsc8 zEY1h&@~H?g47mBhKPd=I@8MyhrTKcOR z1-`_UAE^TG_1KXk2Tfi>UUlLJ$$LFPt^iDUn#)-S3WV|O#0s{~2k;wZCT7c36;lCa zk@JQ}{$0+~s3`hrf$U!|lQ|3k6sUdb;ShG?HF=D(vr^m+ z(P&jS>+D}C{tGd0b>#3}zy@E-oCSOR3Y{Dk?$kyTFKVrUSnH;_seqmYfm-}JC{zek z_h;!YLxZ)~(lqiG86n`B(=)0uB!+CeHu3HBo2uj1E<|!1RBJ!St zApr|qPgGRfy?qnuvmc4U%j)I>v_P4hsJZHh>T`40)jXx$=fgK%HqEyq5d-%jMd;Rh zXn%0 zM8?hb1iK!;c){l-Wt1Xi^v3)5O66}6h0U8RyY84kuLml=g&~KPYh2)&_gAm+5YDG1 z={<7ir0^n}B_|@63*x?s3Ke?6(KPJxx&I7TT4D3>^I0*u=ths9FR57Z_Kf2Thn7a2 zdjyG*0S4fqKhX5gzowNL234lQv!H;h)f!>}mJB@aZ+oVNnu%N;KAVM@PhmV;Ko8OWBDD zb4ZnmeSfN!b-ORqq&D1B9(p8wX26&baTeFJ(4uyb8Qleo5N3`ag~k}%;C}(BQrG~9 zo#}jv3M8dAu^C?dwUTvfOHE6Lq~)Qnp*HvNyU&gKmEuY+xGV}6;> zKe8Y1N>0sOUhRluS}_u>H4S>1{4_Kll=ekvvA$9=zRP*PI2&YT-+nn!cB>Hin_7V=( zp{c#{Gu`-i00>^$H7M2I{yw=rlaWv-a=2`x!=8zW@%haQrl^8MEi^1RT;5GCQ-}re zQJK7AzJBoLmQ3{*ukk+p5HQ6{wy{2)zo5cbNn?_Co<}1Q1p=E{KANeCXu;Ix=X3=> zWkZ!lD)t9M=s9ilT+=B}!JD~q5Hz(W{4q6nCdZ!Ex%k_K`nk&pknU~H#`KwSom)GC zcBk;*z{n;ERiXfEBnh59$H9c)dBe0nYsE1ilgZuBa>{-OU)LjioTU-b);%RK{Cgbi zzzAr`yjgOxjYU#jl$m1r&j9-!|3$~nOCkn4|4lF(IZ72WQ@MpxHHXdTD|8#hJ_R)0&el+;{iGMfvNMy83%1rW0S^b%e(&9Jm z3_!U^$bmRfiVu+q*q){nXEch6ntPy8%Xv|ouYTiDvA4|IVq2Z7EpL& zuO2d&)(;&Nohh0W5XHgVpdsr3%~ro5FKhab?_f$_vY%ZPlrEKR?bg=;=d$G%YDpTY zo}8XCr5>@Yr=2eoeU-j1l)Zo<;4K#?P%g>ZbNSGIV@f6UlGd;7%`2iGu5xHjtK06) zE3pdlma0X>bwsd%oSzkMf_I7E5g3mo^2U#gyF50a&c23IBk|oCw1C96@-oAFq z&K+xICJ;(P?^Vwimbkp7z&*_!u3u3)E<^Y`^Q24yrS~{7;2K_SLSx{GTU4Sc=3buZ+~_WtgxeE1bM=?8b=+N3(f9K^*(As;+~qZ zJ?ZnJ0;PG&blnBt*0}(|z*u$KM1z(VVe->VTDy!Fb$k}!xyi!D?`|~E_o(^?4q0ga z+qHhaoSCLZQtU@{)apyd!oL%v z-S29L;YEON_<#QTlqGaY9c+)gm9J8oRkk!on|L2m;6|dN_Om=1{*gcenE}lv$0h%_ zklVtjn}1k`sgTfH|D!HC{$jt-|MxQult!^LD=p2eIOBZtlL2SpVsa!gD-0-r-_vZp zSOXKd^yojqHJVjs+bln>YGk9fr@((DC%x347GkO^9yQ6ET@HT>3OG>G)i9~rXtfe9QJI1*Z!yKksTW{h zd((gPvxx#YMjzvQ{xYu+cqij-5u%SA_GbWmNG!zEz1ZK_1utR`%JF`$MQPcS@aE z$2q3VYhX2sJe^Y=VwmX1Ha17_`Mhi<8v_mq{1wS3tdQ?kmi`~l}ODlWHuwFg!;_usL* zEO%+h3!VwKQmjRdDUQ9=N&PV=@xs^9h1z8YR}n^V_J50;Gc(qLyCaG)%ZrlZ;?Oge z!GUd;RT{aRt_LIabf+YY-IZ<2nU90}P`gOFk`lhNy% z082aE#iu32r{ntoTP!A%ZsiMGcw*cQ@1-=4LMLCWrK8J-LR^-T`^He;1hmh)m!SAu zAdAnN-FWVs`Jcx=lqOPUT>K(5JW8lPe+y2BJ@uNU8vq^#D5mSE32NYBdW`87>jnMS z@VXn1&&Jz(H-c3OD6pgt-c9Hhq&x04d0#Vekvc;|gNH3b+4#&DX_F-7d_v)YSr~;q zGzzOm;0qb!Si57KO1V)A9wp~W{ac)$Z}Kj=XopRS06TJ`{i@jy>ibr9)3o|OGgj@> zxh?>+BEgEX=Cn*Cu*(wSx!v=a23#?UNHpzE0GMaVZ-Q94dO~NR0z?Opm(~$xRNj z*-$~~PLn=$T9_y!&z`DR63YpDgR^JmunW4v-Ao>dOnJ%q#Rjfv*2*@ceRcQFxOTu~ zeH8`T^uL|P&PE(rFYzd8p@n)#2pBWbg?QiLQ~^nK(YkMnVKdsAJX)GOT6YQ%YC9h?^w}ljnAZ@OJmTzdV?D1kOPBB)!8+iSjugfHp6Ii zCMTwoOd%IkW*!n-kg}3fJ%pjGK0W! zP+`2Wel3m%Jh{oHh$F%z=VCZ#e9Ey|!=9Mgec;%x^$b%jZx=E~!soU8}! zgoSqX2CQQP47Y1rK-?myvd*1qWiVx0N9FbI`ptjYlJNfdFB0TdUjQ*iLG6??6>lyd z{l8zB?FjP?c+-Mp!8sYnn8RL)x6~N{y0?Y{vPzO>;SZsULWM5duL_aQ9JVLtf+FeKYeg0eEvuj871AHkKEl4cVs!jJK^Ik!r8!bbT(LwF@6j zKBF#YqqwKx%^=mz*ltc-G8r0Kza>=P0PP!QoYT{iH5qo2dr!>y-nhup%m@bL#ee^# zX=ienGW#o4A!Xzj60J@a4J)0nYWpUd-YZ{j4U)8XG|+c_KZQ8M$PLh@;hA0Vdl^=D zXkZziz6eTcDIti~DZ3bjKX=m%!?9$H_3F&lU6I|q<4}kI++=W_pb8%~LRFlX;atl_ zW*kR8M;YvK)&_kR2u^V<)A8Bbdb`!q~j#(`P3evhg$5UL8N#^*5Q zS%%8+JF2Y7e*IqKUVXO7+BD|!21_|rLRtAAs6i|_lzz7=I4j^2m#mjO{OxwrntPRR zA%3@--SEKQ$mIoOG37Q^>qeEW+yJ1Ua^#*;J-e>lcWKLBtt98?MS?HA!}aEwsD8yst9S{*2hmZ}sVM&WeHxVH=m z>rbwVb2H?)54too-ap!L?wdJ6jlflj)ecx4QwO-icM_rx8SOwXv{yHDk4N)C#+qJ2 z@7dj*#3fK4CjLuvD5zk@55+RRKxJi!__E$KkI4fK@l@x(Qp9#)};3 zP0Yc#1g*<6&stP(vd27jixmX;5DWGvHrE^x8F?RT zhCiacac_40h69Wp7w&1z(cvS={zU5KH-A;_hI5N}$lG9#=5rLh6fJQolROQFg4?!^cCZ;H*fG{DEe}`)y%U<#C!87)QW&Z9b0VXIeJ}Jl za9!kxr%b|;rK(0|dRbteZ~n@ES(*`~6wK=s5KjX9;pro~F;TqI)NoPjg{v=Nl5$3+ zExVhOtdJP@Jt&9dX*^_L9T{z}I885u%MrR&vRc{rmdFQI>l+@_TI5N?SN(kXNuF0k zQocg(#ErfaU(rlb(iU$5O*eCx>^+OYT~YWK(x>!Be5}3UBt7RdiuzY?11!H}k&+8> z=f*h{t4ND0apJQT7ZRJZ1}{Cb#B@pCj5{clo)&=Lg8wZTab&Tiy*#h~SeiJR*Eq(o zgo+P=7ZsE5x8k}2NotM8)=Tpk!0}InkBJ`ed<>KQAa3(IU)D>GbO|ZQiml82wnSqrU!?QJA?;Awzk}F>wTQ?P`99@?$@62$HJZP zfW5Y5J@kLsL1{~+!CfbxY!@TzU|oAz@}7+iwW{-8cmk=>aeG;=?|=>DafJFRCqJcR zJT8j2=Qx&fFtg(I5!U~UoffLF4!Wcfe%=nfoVQ>y6v=1FI>`fZYiab6sh!LuCB@--epmwrFh1+71(7dmXHXag2dDXD>?Yd^!a$c0x z3c~Dv#+WW6>%eGxN%FdlAT^#VpX1bKi3>ZoEx@h$y3qh%tG4}d-b!km`|VldA+K#s z=3uN@=wC+E{A&SEb>;uHPe`l5@5-O|)=eYKTZA5g`4Epkxb~qextt;3{`>*W`}40L z8cdRf)Vad>*!+v52&<>b`@ff7i%G9b3UOdAm;xDcG}cVLMQg33y*RmbJ--`(e|Z6j zHV8O7vATX^$rKV>N>WPQgPF2N44~aux(7l}0qq=Ik7lJ^9J?v;U;no|KYQOv-;3^{X4l+PpR}v*JdO^~Boc`rL?SHQYJgf?y21LDKxVO0sD< zNI(lVxQwNs7?80!zNo*4WC7QZUQ@O;w;{mIL62SENn=s`0*K8QV+evOYj%N~(rRyBY<(+%J|EZDvjh_&)g>8kJa`8;)MPmut^WT(3D`H7h?gde57NUX$D zdc6XU4@fXmYZyYB1N#$uZ8!(dH<~o15M_?(iZVD7`GU{D_2F{RM^o+V{qJQL&aWlEek|M>-oj zY4r;OVKNI{VM4y{x8D;>rFbM3_WYW!b*-K+YiLBk)p{7iX1}XBe+Y7Vmw!gELP$H_X9*wpHwur1R~!CGqVNn4%lXN!ZIQTvHx zgcq9p;BmW?tAG!9k$)W%iMenM3?`Db5i`@*thvs+u{5Oyp)k=YJ*G_ z041LYG0{ggHH>@3!Kz*h&&nNxhWa52TZMDTuDhDh5C+0z+gAtH!*aJ)#~ETci~wx6 z-4NVl(07isk&d~vG^qO|{sDsJ7sbvY2wiXuvEVkw(NfuuSixg*4ouE9*=X->n6Pq2 zgkHzw%f;-y{N;B5A1O(9W!9V;3LI2wMyLa75NI)?*x5Tkfz?SFuUMBBvY11l$#@X9 zIpUF>CF~-fh)jBr-}d?e#GK@}=;BFM7k+Pyec(gRIRINJ)I(USYW~tz+&Og4wDj_4 z0jca{I2W>|m(!);p#X8e8AWt{l$obx^-WI(do4~NW8Nlg3Q@mN-^uS2KU)m*w3b^QR6-g zpNAB)+3v7@L&nU`q0V^FkEuXB>0+69*o~N6q)$?!jnIuZnKHXnN8fnJ z8DJ%i8n&$A`Mv=_Cz`4ifEkbX@O&-oOd{TxMl@0chULgDne|ZN=gBWj#Rlt#o9(Y2 zVYp{QkK~zanAfbb12a8M`w?+i4Y4Z7o}RwNfB-t(etn1$0VbVr_yas$KQs_YXQl;6 zQvhhm$oA}GD^aGy0ky@d?z^rA(u{LI7Hz;)QHMw$9N4==VUn{el`rrLxhqWf)Q{Q+dAH)S?C!@?f!}S zcuL{(E_+0WdJbAccgqJbvp44+k3KL2+wf(0rkd_ExUMGO&H?~=r z-3~q7ck)eKQ4|Xc^8e;fsnHr*{Gf}L8X;`!yI(@OdpY(cQ&DH)Fz`vbO#;U?7P;v_ z(u@3Ge~(9*ak*lJAUA@x92>|cJ7xXYZ|``=uj5YVeMR55to%R)cG$SJNW*{4XE2oQ zVb-~5HvzMr#vP>Aq=mfg?!5#$WG&1!(yKe4>hAFEvz;IIRzB1YoV7547}|vHaTK8R z#is|gOOWd?>6uMSVB21>say|5DMQ!&uP7!eyeN6~J33s|wt|%CW9qV*<5@EoFrNYX zGJC2f$(_^D*5u*=tA57o!qD3I&`Amo6~|p-)yBwa17UJ6wAh|7cWzR&LlJ%I4!ss; zz4;Oa{_fZ@CqPQ1DTM9>&M`klb|gM38f}KV`5m=j=6AM*4Stg7+sib{mIacGCONbujv*ph``@|dY6q?UJdq%VKlZW1^7AR@Ph5s z7OF7Pbb?sEy+%1+G=wW5zsob{)W)>l8#Fp)a^m0Sb38KfYM_8|+KG3Ne|;%G%M(?G zhRGvJ>i7k(zEHTqIa;h~GL2fT-8@kHIg(AV6I>iLA%=Ux622g3-nsAG5p^W)Xa4ZX z>u)pJ0hTF(v6+2KF%-ZD{NkWA6yj5uYvEUAXCQKIN0tsb9R^Zs`y@!6zsP4=nad6Z z6U#axK?ByWv%hUrkfKE-9VOoRDwoo78HpyxQL#Lc3lpt=b`yjt#n8>`&~~&OUgH2e z^=S`|TOH#BxNCX;kErher@HMQzmH?@L)jTek*pID*|QQ65t5D)g`&u&LqbL=vR4CT zo-$HKr$~~JS(24eR1`8o|IgR+_WPgfy{_kZpE~!s@6XpFX!vQpNKH9TPdG@M+U0*L)Dbsa1*$dollS*!u_T z)MHmuMD8q{u&RcT3Grp z?W;04Ku|o@?b)6R10u3EZ^;G9kBPWk@e{lo&2{Yj2v! z@Q4k+QtHebAjUE4w;(cbQqszQEE?SYcn0l7jrEvj*`uyADZDnlX>X>@M2=FS^qIZp$5x=i;=( z5I8$5PljO;1*6^+FA~r}OKZ&?p?;_W;!RH59kLYoj$rea2^ZXyM*AvNZ`jzz-o{J0 z0hhyWf~|-M8|r?_^64Pu!GD}W(o${4(KM}9vH)wQZQOD9KO7WJ-;1;O7Xz$t8hsr9 z=Jp$2+CBD9VO6o$FvHVy=*}>6S)2xY^^Vx?}nx#0ea52pN_C8owyhAl=P!J|Wye?#h)+n1Ic)BbRI)4%q(?Uq2B{yUq z!^#Q@m}}UzQLZg)Q98D0o%Lpeg2;u1PaCb}9T@(buSIhMBp$+UYLW$sLc^A%R1B z{BQ7Xwec!ReO+cGixE2ZVTJX4P>AT}@B>u!TgLptLXCk1D#VymsnNEZwq&`BV|=;f zP+}8)Q?do4rz9&p&{0qluHW2x z(<>pGDj|TuhH+W3Ni3Dhd$}tj-x3x7YxlT+GW>CT7Z3=ws!%n|AkWzIwKg&SiZ-7I{iykAC|byg;9I&ynAdF36BVki6c z92X*;+?+8Q(TJn1+)wud>%cV4Mf0q!4kNAQANkW6Fy)@Dl$REuPsL)0x-Tbj@DJ35 z;iwm)lH_YED!Uhr>oY+}{9iv=x7y)8se>+{Skr~V?^Nx$rj3QL;Zxj}Wlu*dwtia^ zoEGF1_O+!|!z>_uNr(_Dm?@1o{{5)XQ|)djlKk{2Or~gx(GQ02lS>ZEt!&=J2pd_C zFf6S8{q||?km&wo#bHg}Ih|q#FL{bP?w77TTVrKzCEq^LeePklZ0S|H&Ebq}LUICB zanCVRx4k93{1%gWO49+vOMH4b`Es%HS0-mor-Nr zD%XD0JT&+U-=s2Qu!0Y@mcQ3Wde3?CN1*zT4-7?{ ztPjgRP)4t|tU^b{|Fbp&Ug-T=GcU1L7NOb`ZdiW_IO6{Hv<(jN!0v-4oxU{?$)iex zyTv|8ApsK`wS6|JnlwwuyG8~oAuOc7aRIsQ#D2XW*(zp!+RF>L&u>_nUhgnvKo?T^ zxZux86w#)@l%I)Gku7*l`;vvHNx$BiV%&+yn8f_57fDB&mi2^z*{*<=G#BWTHKza4gx?sB+9Wo-Waa$ZGpl5TV z0LVq)K$F(N$UeHb3xYvEhNsR5OtVf#vTC{AhedSy(-PMH0H>a;B zTPLuhu@B};(lycuHJ{I#HP@;-f=Jgw`9e~D;`bW%E)y`|jcH6Z7^7jmf7quZ-cbqG zdYt^V4Z}VspoU_;X_*dr95uETK?$k44MAJ~z5I>8(-yxM zNjzjMcR(?HY{L&1&pX9{;B?^v1?e0iWhDBq212gk`Pup*x01f{<6B8p(P|2L-?lk4 z9xJiF%!=YBNh8v}<_IN7N=BIRl2DwqtjJiSD^7r>k&*Nxw{J6|)%_EBdt;*4pl5tK zwao{9*^WcZ?#g|nTZ*4%1Hh54iS~wK4~`fnk$YA;vSn+Me)#;F#*4oml9xk(hm1uf z-Xn_cC4#(0pad5JoXk5v!O@JE0p09-_6iPJRxB!(@vk$@eB6NqI*mFh39fCy6kH~Z zukOEpxTN=6Ph%gGF3*TKtWzDA4HJEJT;$HBrH(Q;x6JeNCuCm6=!%Q1W(clgy~_zU|oi2sXz5+41AL&FXtRY-e(7E5eztR$wZN@LwXtp z_bWp`9HB!)n8>9_^JBvr8rHpo-LjW7>F=!#aZ2?+;5&Tb*R5xN-x@?H>Km5^`tMsV zmKmEP-8jJE4aB9P)kwO#Jz7WOu_fpIu4ps9*8DSCX7`q-{7>+m=01I6?JHLYk}OMg z*f^Jmp1DEHonll+&HQ@Ktpqea!PzWmP64tKV=X2Kjh$ZDb)0?H&QLh>uzOt<6eL{> zJ?@oaFQ$M>apC6@-zlH_H}OJP zxEvC)+fGWisd~lJME>KIxbIK{5A}Ujry?)ceq0&dV9NMtKJH(gHhFtsc4_+33bNfu z$gPjYawnMo{cwA+Dp*kD*V9!EwXx6qwM)`+AOC>T+buDyww-Xh44JRx(LAf3m})5Zds2gK)HsU_X^`oP|#P_svL#?;!-C zPHpeJ-DM7;E1&bgap6^ZC!GUoa+BTLXZbC3D5nNWD$oN3ow7?fq*|8MrD<*(;o9~h zOb@pBg+8=<0CPLbr0TU1ALb>JEeSur#ge%7#5J#YGDJEA^9c}_MG!^8s4+HzMQ`=P zEmuaexLw#Gcr@7|ibdy%xG$nO2s(L$H{r+*DL`xS8od9bo=~jThQealIO3`&{=NN1 z$f=k0?CejzMoE{v8^6m~!70hEju`(3EC0YH)zMnK6RbkcotR~c`q zuD<{&!sg@9^jh6an|DWGIJ*Viuq(!`0v3kBtaQusM-=S^KIr|OYj<9VK7DC<$<8*K zQ2>(pCV-x~4~pEW#x}Ugz0e{&%ocMQhc2Ajg=Rh~BLS--r|%a_4!Fk;|EcUfD#k%Z zuKV@&uO2Nj2y)dzOE;d`Nq{JFcM>Q3+(B%Uyi-TNUYGQ%D(ROci8*o4S4D0eL&NxJ z-|Amd#I1P{i(nVB!i2ZAG6^_>N=*2)! zBi&uKa;vWgrJn)hfBCVoz)pEskbHcp{>!BvucqFtU{?08EZ@Zb+)Iv4ZmC~*2@JBo zmip~$8+?PTVD~a(FbL7AO{17#qQloUL`zW!Mur-5f2gzOm#p2jey4%`;T`NpLiy=v9ZEk41HuT!9r&z>;-;0pO6&Ye1Av|@|4-A&L1{Ch zU8_h4hqmO~3?*JOuwmC-(bwrblh)}1h9B@73ig)g4MptT5aPSpL*MpHW;-&zxlrdd zVuexG?A9N08fbPum-n+4+k{5$K#Eb1ec1sSu@bjJNi8n4iiJ8ThTospM)6eWuU~@E z42vCfy!lRk2Vtig%-S++yl7bKok|DQ-*u4S2Lr*C_qZ4-r}#mcoz)lEnEgZtq4)7| ze-tw+YfSxd6^;BTMzuT!BI}=;tM^t{`XSVSsr-`=8OqIf>Rj)~y(nhWM;VnkvL+)pBz0W>S54SHUqggHNbkX}v;hE5V!o|t@ zKInrlhk5)>DVqnKd{5&Ym?2()cL1gXov+3qI94Wnc z|2eytc^KkX-&d;8p?c!BX3;BFyZ|{-0j9X?44q#Xg@l@Kx;?e9CZH^Ud&sC+( zLQ9>;Jnc2hD%~8RxIQ|%de^dg&#{u8=c=SQ$GExc5jlM`21vl6H$=ZgC0G@qUq*%* zgMXbyF5U3cMx<(0FW4#>^ul_e+ny^#n{ueaDI;V_Dq!6zhYlT|+g$`*$%-ZW6p4-t zE@e6$;epcuk~$o_4RkzeY} z-i)I>?6Ft;reXs!87V9^J*>Vi5^srev7 zhs6X5mLCYsy>>&BLz_6!-Pdj_b+h|nVF>Z=Pe5fE?;tA*KG3UvEuEe$P}vJRS3G^? zu(*6ZHmsMrpKxA;;7WMsXi}?~r@6Qv@p*L^M6RE{Z6F`q3^l5z4Pox3HTFfIg?8B) zrDLihSTNC1ME%w{>gO~Cy^TWf#L4@0m9F%8R5WvIO@Y`eK zwdm7|r!Fbx)p~HXYU6Zo^6ie$~6l^Jg?#cOoy zM~BMftwQ&{{JrK;JYs*fDKZ!o+3l?d1L}TZV39Z#sD;qbm=?tA`L9aM$lRVsue<+@ zS(Y=>j$?`_zdL`=-o~QnYK6RDn3`76MPsdK$XFzt7bd_;m5zL{NS|+tbnpvFXQu6Y zR4@F9)daY>C6)Qo87>_1-65GNFYCpJ-j`e#{9C2U-K9-;`Or+_wD@^17IYcoann4l zC0P0(lXoS&_AFO}uYm3CI?EQAKCeR@B@z#w|Hd;un#m z8VuCB9z7lH4g$McW9-jPP(M=W~j$ zm3!T9V09U1(}=!INH`r89PxPdn;YdPEMzy;(UFK3b)H;f7h@R4if1V!;F7v$dUDLy z-58{IC95ie2q%sz5f6S>07=HfdGkOR1`u6y4gkn?$siU)JK`MCj6)i|4TGLM>m^J= zw6J&cw{`tg6>hDlpmnT-l`K%Ar%hA-W98=QQ_$< z-~>4N!C8K74n*^FHZ5gB!yoCNfD}o*Se9^+lObXMnt5q4P71MODFmup386kJydq*8 zhCK0VFnUw&_P6|v(p=@v{__DsOA=-E&l^Q znz*rfR)+JthxM5QQt6M8St0X^QqZ?bPezQUQ|Ng*49@mR4&&I}V;$D)SR9bknB4IYsB z3v}!&&N^!*zjX{YU@}ABt*v8Dm6!7wD^OpNyacxuk4|ifpl{ zc%pr-Lr}?Iw+WDxlNg<58*(w6VVDtvMO)wLXeT%$A|MIz!pTj60Y|(4C_SV+W-pGS ze$TW7&>U4NM?kY%>_%o@xQ2~%+kXuDHuTM5M?>kxvYBta{I|uWlf}g26F?;~#YFoi zJat|B)s2a$hO5!4Jqz1MChH$mI{q<4v|UP4&)InJ$X`fM;%s^djx1_7<1wI!?pkss zVZIke1Lg=3k?h@yC=6Kal_-Tq+)+t0mieTrR+G8IvQq~pIyv|xHNZ&tAt4) z-Yda@2?9HF40N+6u|p06m~0I8f!Wlqd`cok9|O<`X2ny)UZ>h}A=>o-Pdr-P*Si*u z?8$0i4jWwVeBh3MuLeY>%X(WJ6>ZxJ=>UxtpDTFxB#inCi;1mlIm~F7X;&U#BR(!c zHNGB^Qi{E^i#q}-9#i2LmP66T0kk{zyfC1GjR9w?B_V;(ao4B%r9&%8+!R9IrVksS zp*dvU0DY+S$A$^z-`qU4!-8Gl*4&IkyW|V+ZL~VJ6-CyvUxNwMK2+x~wNuPQXRCXJ}4d=&?*=a(7f!#$k@pCi z%?4@JijoaoedTYB96`cZpxHk`l=WA>7-jv$W?cSxAn&#Ll)rV;YMywu@A;%Ehb$+L408f{=*efx&7 zX_u1=;a`UQ9b-zH=>_a;&i~hqMOonS2fY?oJSRFLPD@ys&6TZ5fttGDy~qQLQ~K45&yIQ~k3Bg!2M~@6T5+TX0j%`eESOIVM}e`6)@LU%78?HQSmo zxuYmrNc`w%($cZJc0DTJn5XO;-TI}lzBQZ)Zrg6UGttJJ)!PE`<^K|27C62OrOk{4)UX}Qb z9t3)I##c!C3;={(#S~P_R!Y!~p zNB6; z1#z<;@J}>%UIAKGOw|AGXD?@Z&v4P;3HwXB_X6-oRJ{$-!TrIW?20J#^8Qmw#9A+C z7c4P1pY_OmWoSh9foNMOjKa#)JdQad9!G4{f_not(-hQ%+w*M1$R|OM(3%Vzi`GYf zKB;38x04NDuVk>SB=3mjfb<26#uL-O$T-E?Bh6Zb6}3+GXMle4a;*haxwMA)hKO?fi&}=G4bez|pJN``>$-d)!5bF8d+Rkbd4*huk{B&t~nj+`> zh+@X$7#5&5W)`A-)z_1Pq8crNC_a_F)Awe#uD|r7r$vIcqp(!EOh=!7o&GG@lJnb6 zB-ozu*HEM%Rw!Bas$29v*-R_FFWKVF zO{kYfs@MQzQz@cjlBIp&gm(}dt)&tbalve!@DdL`G)wPjI}aQ(#YAhijB#}<;n#+~ zx^1{5&}P^m>{M{vz~SJ$`9_d|W{ll!f5m<}kXgx>>y*VO8mrZ_8$AA{+;p1Oz(1vktH!)&=W_k%>_fx z>EHwovsJBBG8}^$GiLP2msSzsV8>vNGzbK{Azr(#QAAOH0zS1Z)8Z-EMC%;!(lw$V z|1CZ6j;3_EqX4>uiFwA}e389|L298NGYX-GQ2xu*9^yTIJo+%;IrgNeGP^zSJk7<~ z?0DBcIyAS(wEEG}94G`h!?Kf!5|Ee4v@P-@{##7o9mA;^TopEkl)X@=;+TmaJy~CV zcB(I0?Rs>GFgx0MXjkH^BrY-|rl0@(FEvKiw42nkn>>OvoZegPS@1%_STQVPSNgr9 zYQt_sNtNSF&2bR@=}0Za7pN?zab?2asN> z8Y(suQd#`pL7f?Q%Yw>xArC$G{xuciU?oLPgA>U$CPg>^U=&Dv0fb~n#(U7gSISe`_D7n`7|A(q$)K;$j8eZUy9+yu^A3QpKv757c;4+VY^8<6+PaAcHZ|P?y`>gqm zWyPDG^yi~BV&|DuTc8_%HE(Y1Q@jEDTAYwSvY4*o-DEcEJV6oe8L2yp2x+Mod`Znw=Qaf5>5^CN-%t} z9XEkxU9$JN+h2?RP5RR-3X5v(`+ruZq=Q>mt<(IOCYowwvh!5Q!V78GgDj1UgC@IQ z??M6caLBOm3iln^>BNbb_xc#9kmLlD8QjN99~K8z@VYVJPDe%ipA5iJe$BZ4#K+z+ z?$RK|CPqwKbkHMBLz_7WN==_Xtq62_bp#VNb^^vpuejwY`$1Mxw!}umKG+$dn}{s! zxVI64cSp~m_nJ)E0g!-6@1=|^h(BP*NMTje8?0Pz_;qrqpu{ghr$uD0r?xL!a$yd6 zV_uC$r)VK@6!y&wrsHV`D=$;0qb)Ky(8mc!ar52^Ny@P|ZcUiVLQsC_9>k0^bz9UA z88QpvBm1HVpFX_aH8qZ;FvG<+*F4iBUP-ZJH`2WN-|J2-tnx(B0l zt`Si>L_W6huQx7o-MCoFKy{zG_UnEMJ{2p(*~dpvTxpoP0j&zsix8QVJTYX0Xuk6u zZCXdOCxSbt>8hmjNcp{msVrzBW#@y1-bqFv0HI2FpxvY)2B`ZQEpsP&+3@d`0JjO- ziGxX&p*<9snf9x8OZ9@36Cw+5>YI2{Sm|bqce(L1)BiJ&dWIJnhEaj_81v?y(IF;W z>kDeUCKKTX;T$K87XuUv@q`YsA3x;|3C1FyZoK|hBA%wY)Yg77kco8V_rcvVW9mi2 zyeKtC+!$mGHoS1)s94nvf>hZD;Z%J{I&(-r$~Y6TA7_eLJaTfxYeCN!uR|!Jh9$ZMv177|f)p8A zUwGZobelv{SbUR@hu~=PDYtdgQAlyBi~eK~1T94hwe)F|>8oUU&o{2{!v+;RNq0VL3Wh>JPE3C!^w zF;2fy`*E#X?+Q$m_7bV;U*Ct2#*hqt??;8s`-m+0*R z>8gm9$zB4=ryem`Rv|imIEYf4u9lddbYmhV-i>g7N1{U?sX1P^=$a5xB@%a?!O_Ot zO5{bx6h?Mj5Amg3y>HO+`3WzXh%sOoakQG>&vg?Na+*({HO%~gM*%fVcs@w2w7C{)vTM);+8-D=q_oywt zTa`}v(DkIfTei@)VnkpL*5!r>KJgZjtvLJNOhnIGZbD7oC)zvJ;+R}+TJExQ@9Abk zA9HbdM0w?45D0_-x&Yfswe85nS;4v`aoZ=?shf8%Ka z^g($mw(f6JuQAUaRuUp<_nV>j?1_UoRMk*(9tsI~490tmk@C*s?bm16DEl$PN-R41 zb9Q%-a|t5PfsUyuQKUocFTz|znSRoC!59}NeTDD+1waV&i##CflCbM}G+4i|c8M6q zYhKkZ-u~HdTi&;Ybv49@RpZp()mf^DOuk;zR!-Ffrd4QW-&lgcQym*b#Kl!#w7{ z5VDlrOGQjvYG_^p$tke$uaD@Qu7^YdEgfh9ZXwfQv?LoyY7TOT-EFT91>xkyp;|~9 zMoCPZM_jE^dA61b@Fqk{dL$HxqnvHtqhl$FGi|U7+5w2)xW@75XyxbPfH^muL?1yS zKn(T1)C1Ve(ma%;$_JOgV7=~h28Tm7SeR^9z-}g3sjUWOcY50BymT~NYC{58Nz#%j z7h}K~Geik`?{4;p4&p4P4Pme)h=Hc&RapYmrq<&L~g{%s+4=CTbk!qQ__tRNRc4SKn!byNVPke!ccg@f| zFq!Y3v{MWAiJtPG!6QxBXcBZ{yEd(DVZ>D zYn+}UeRp`~@F zqW8tw*Mj5)=+VAe&?ItlNRy?D_phsbYxL^0n@B&zXMHP0IBdP(0ny3}!XOn9poC9GG04Xx#;v?zwGB|YoqB{fN z*-T9i&DtJek=@?Nmuez*!sp}>D-5U`hioHeL-GOn7BfUR{BBZ4;whKkXikEkK(({$ z>cSv<{gw&_*#%3u>c^Ysvwg;t=}ntScL5#}hgr!M7(C*l)#USnx!D1JVZO7z5uF4sPW z;U~O2+;nJJ#D1b0kkIDuM9V*A_I&48F;w;P4@@ce{P8Jh|4_5H*_#vg{1EPz+pFY2_9$lpt5Qx zWw);iq*VSp!)@aX>An;Ym$}U z&`A*Bv*ouK*_)L%OtySXB&b1#`)PnHcrqho(t3iC}H#gQHL4?Pye;B(y9((xp$y_CjCyb*6`wqJ=Xz(Kc3M>f*u-_kW z90Z`f&2Z`;xPRNIcV?^qAyf|LHEq|%_j$4JdwZ;PsyV>V|ExRz8F=a=4isNNTJ8IGgPV!zFcA)d?o#3xHNTc-T3oX5X;O5e;t z!8gkh8}Ot)xs}*it>Y-)Usso@&8yS7bm4E+>a=4dOaiP3q=SGW>jO6pi-KS|B^v*O z7WXKB(BV%76zY+#fbVpds4uCAJj{*Nn#0-&B$fM7lcFgE%fG&MxY6>;DtF^^a zo+5?#4I5bQ<=l1{Cxxl^kBJxRots%VzV$o8nl29GYy<3T9u(mICG{Bl3l2T@X2pyy zNtWG~?$*)t=;P;4pyGW$eF#EiT+05~`>%ylZzwNoPR$@jFk>KVWSBvlZ)=12EC#&L z)_W5ooZVq|r-D5PmauETc4NjNvfYo5h_VfHl=p`;-zZ-e`S<!tDlCJLt~>r4D5&bSvdlk7_@sID{E(&Csb{pG z-}TuD*NR1C4KU$h;m8UM@QhR`{>m)Jf}WI7%sA+t1IeCyAs;#60)w~l=)h}cCUvR? z?Ow#?tyh^Z`lHLhAhfB4GuK?<3Wz=e(fCczw2g>wff_DA>Gy#nP=FzE_bNYnpP#g- zmtGqt*kk{3rd2p2ZT=dPvxG-2N^`U1bVX|nGUUgZB)7kN4HLqK0kFU z358+*2Y}WP_1K@^qDWOn)<i^L2}Sey(rMDYw%6sM<@D343sGVmeW zykhA)wSxd5z@|E=z4|!5&V#Bz^U~JtySI#_Z6aeXlx?{mcK7=IKtM+)b(LP3mGs^Y3eAu)JTkr?cU*s(&AqD=(XyrdN9 zml&=Y3?Q)4BDKnwWgg}8;EJE?y=c#!Wk$9)hoRGJr+*5F5t+|}M9E!Z!><=^?-jgl z!kkPe5Dox?Z8L)yKQ76fRT{qnq^a7nc%0Mh2Q7(6ls#;MS47lQN0>26Q~mzY4>Vz% zSAwLNH2K6-#)bQ@@B&zqHtcc3im|@4f)(P9lb9sjwqT~bjgD3wnV?-O@bc$u-Qm6` zozW4!&s}$b#NdHW8W@nbE(|(<5g_ecFjIdNS&FEbSSvQp8CV*;1~Imy?$_$EcCN_n zMN=XOI>>@a{MgH*D-U3Es+njZU9;;%umK1`1wCQ_2!7eEjLBY_Z0Xm9c3iH8^g-t)AkgI zyi#`DL^H*1(A}08^9YRMZ{S?4&?C~_XfKp@uXn0LB-PT;d9${Q*?BzbZ7&BV19-Nm z`6>A`Y#h<1gKV%!y}1;zt=5YU?VEF)+l3N;ttEeUYl@}&^5})0f;D3g zk~Z=8cOH_=7cQCrr)ainZDlhp9<`vt^1TH={@7a@SE4m_GHOt~uZ zp>>m;RW#}qzw0%AH;aK{7F4ysfcCs{fy?|?3xLG0JQqXMLx2|LphbRKYq!R@7b6|@ z1Q5sjH0_7$wdPbNMD{yK)Ylb84YABj*VQ4^@!zSEB4fR68v*?E#VH6zmh!BpP03Nx zj=lf1Nl=9k$zdJGHQnKQoW*L8r}q~m6eNpMo~!$}I>j)OYT{^a&opq9yeH2P5{Siw z(HX&!`9Hoasn%kVKCYMfAM+EY=8+91|1{o7_vF}~g<9N&!8i7ZaWY6QN=ArQK_t2h zrB58gzWP=S1ewvC0u)a-eOPCZ9`(vJf>O+Z@A`tv!?_${3Z1lavi^TmT(l`{3C}0rY4- ze+xq=Ej`3^0O|5$+%!3$|Aeo1%=4L=eS6rXJavM0hW>eZ;McUh zyUm^7Tt+D`KQ@jUV_IJ5!nVOAjRXEAhpI8U&XA{=$ z3&9Y3H5 z7Y=*gHl-P4E;_p=mf>tQUhYsA8K&!+nz2yw52d4U#74XR7DJS+L415jb!N})=WAZm zv8<+L3l6I%GWh%24BDh>q$nd8+Z`%-2vygEg>*wdA3m$DU!5%8K5xB%Rfo+6hdUz3KaT@7H#s#r2@X@|y zj(|(WN!7>XtEp$V`r|t^SM5*&-Duu{NA*o9Ie)c(Jj>C!az$iO$8jE?1CxKt?WZ4D zU;P#W6z164x2T62Y8F+7UL;A-zO2lBI3||b zeBoO0whgq9_fMw3b?Q22BE!FyH-AMuVc~w|;P1NSp_G;5^pU}=96y!VtG=HytQZ<{ zJ$jrO*?dhqyZ`nqQ|hPCriIEE#2gVsc6!XW2~j%T0|QGS4{c_*h?ALgL9(4wx!E5R zPO+rW*@}&bBRL`#+B;Y*<ZAwjh&D0-h6cs-)r&eDxyByvYv}Co_q-S*8>#5Ph`5aAT{=*e+)(0?2Q9LW zNB5^@lM-GpkSM<=k1hAjEH(@p&fWQY(R13JUbti3FLdxl_-ZyxiUuo()Ps9ZiDNmP zeG6ft7(UKV_Y2HUX7Q0~*y_&8bbrVFcXZzFYX=gpsDGO0-#Yn1x9UM};4u^R=}Y}H ztDoCn=pU@A*Csu@y#DMDzp5Zb1?rR|?(nZ~Ml7V7yAjj8fM#be2&9wpue+Uwv}PY* z_eTN8{ut(>DoyxV*}2`qbTrAVMV2|5NPpPErCXNko+S&^-avbIEq-?WyHT|y4(~Me;0mB{~vgl|61TE1oZ+Yq!hVFh?&hJEbu-(;dUq&*$C65;%iOo z{6$O#PoY%KkB$C8<&Qpl^PpyfrdVgyI}9!JwiDg zd@R~idhaZ)#^voLe@V2LB1Pv#|AN50mn;(IMSoe66hpS4#}neBhr^hS4J~HebiM~T zbKG2dU-Rtu#gcKAzs8w6)FyrWdg?ZF+KiuDt*H~x7pb_GtmLhxw|HX7bG21X^lwnf zEOk%N=b^cWy*QHOh&V^JD*c`g=d1cO1q{A9US-Va^z9x$b_r)%uL{eN7ptPQo2y2< zk$90 zI#dGRhbIhM`Ee9JEPJ8LB(icSM@yf=fO&m)o zzrec9wPqcj;i63Gv6ZORpJ z7-%PtC0YJH%*N-$d~iuZc~N;zPFa2%RWL0eE$x-Tm$w3;-UT((?K(z{50eo|f@|}1 zjo%g)pWL3ws6`0GKvD2`C;@et#Ns8t!^zyxH2m-6-SKR>W!9`N7k4vm3*JpH&5mR3 zf1b?oCg$YQ+XTz?27ws7T!T@ARW%NV;h!vR$9v^6l^oQX6JA_D|e? z{uL%9*Myn9X&njuQ>Sobat=?Hz<9`-u#^4J@%ucj6VUJmd!tB<+x&A){US-35}RC^ zUjb)Lxol}YSCB-!$4Z%CzqhN)nZitVf=Gz7ODr!Gfdsc>NadV{-Hs(c_?Js@^Sa`G zAuh{^56i+2UD&BWq3a3+-aqOhdMckHx-|40X8vk!;SUa#%NuyW);d8V9=s(+Y0|Xt zXlU@vWs=u6IJY{15Wy*c4pDkJ4-25?R-5+U*PkjXbl{_;dmbx`>T=RrvD+IF&a29W z7IK?T)F=HqATwUms(HrWir?m}nwBT?+t;ll6P-}o=)UEO-KrK*?kv9JW_y~dgFBtp z>4z25y8x}#HsHxYuwap6U1sF5E?4W`$`L^p8XZRLdY|u19_!I zhlb`s7spc*2`AQ}JSgkY^D%`a5lW<{Y4OaUigd?Sz8r~ze3+Rz?9JDPD9QH0eWY02 zJgw4RSla;cVZPn*6YqHY|7dO6svKpJ5ZmgrvR$)_I-Hs&eR5xOS$t<_*k4~L4w|CV zl@yigoqWE#BQ}e%tgB7~<=%3?#ei(3=NyslNqNq{?|XKUr<)oQzwvgvW^<8o7(k9U zF|^}vg}FrHp3VGaW;o<>-<6$39m*D7g7Z)ytAG`!)v*; z0I99?Qr=E#ER>etn=4qj>Tua*FK4$w<4EZd97+wpB8ze>0-JP1-_ubq`ua|N{MgS% zXA6Q2t-h-62!QoiSr*)>R};8XTfNE`O`qWIf7!PaYg?YreeJq$V~$`9@GpF%<{!S( z85ia6zJu0u$OQ9oNqtNtWjJB=oWt1aewEx9joac>Q?7^zbn%#>VXToR zS~k8ZzP?c!AIio^<&?wlfE9~>m4w;+mn8%WY&E}JYoA@b5;YHU$8P+)>ghQZ}Z&u)Wl2wt||Vrk*Pl}bC^EqDq;cPjStP#p5exKx9uHQ-Q!E! zg2iZY@F(-r4l^U~203CG(!S0x?nz36xn2$?%k@bYCjC(Mm^iU5iJkH)CfaGqdGGT= zAQ`}zTC|=7$j@XcpoAAUz-1f19{WA$%@>@_T$u=`5&j*>Mb zs&y4x&3Y#7ST=6!g;J&w7tO0eH%zdXySRAp{+5o!I>xevyBMZ+z5xwBJ+Tg& z&_4F%?_Fe>UlvmBIZ+Coxl?kL_`1_7{wM7C z;WWwvJ2+gs2eNs4uY_Go%_*EY?XJj7mdB{zb4Ajlf}vUI2A;o*4VKS%pHNa@5z~3K z&qrQHCA0Ig&kT?9z!ocgxoYVNV*X?l?G;b_A$=i zdHv_~Wb4X*KwxSbPk$W9aY;#T=9y5+GOkb{JW|PN~D7&$Y9~SQA9g|B8cIu;fi*{C3gJU5Z9YO4Lr{t zA^EuH24zj+#Nl>M;^<*BMaH3x-E1W;YD`6$#B%RiopX#IY;@D9x1VVNO*v)PPCHDuy zU#?F6U3hYi0cv-+DQ7i6D}LRXRU>-N;o6&JR4x#HHIi}%tXRva5uHK9#v2#V>{Wx8 z_uCB4=1R-|xWXpHh_p{NLxZTy@;VC&E;LeWE@j1UIp1sBgXH`((&WsU^79K#pW#gkk;d+ zr%1G8%6shY2|T=cmbov69_{Kq@gQVx7v);&-9k@kqVMD1cTh4!4{3}>jfY?t@L=bI zMS~S*7sq87?Ix!jr5gc#28%*QlWhY6jJZh{?lJcW8ZriUj-~52^B@wgeHW%j0W~Ay z4L@GX_AmtwFJDpygiApUA~{20{?@^@%(Pc&Uk%O4o0aA+)Jpi?J?Z127Bbwbh;$c! z2Px{}%@{8uzQUK(tE3IH7op@kJ?xarb(HMX4;yH11orVTHOx%5{5^lGjs5b<0hv%l_EgMgt^7HQa6YSs6(W5LTxNtt6BUzD6?KA;3BmS}!?9O5 z;fB&wVU(&LtB#a~bWB%omVrQ&S)zus))QVbh-hX>A@*Ht(5g4 zmU-kjT2t?wn_`#1*Jkow23i&{#DZwU5A9p&z7=YBfI(_r9~Mpe%S4hG5l6zL(5s;( zDL%u2?2He`=zS!V+f8J2*rlIMt8Gz_W#$sWt&D~|)9!n#yPF;QaUmLaC_4uj?$7&N zB2yu|&xCzL(Z`|p(>U8*aN0+&{Odl$eXSzldiDd|^tQ#VwIb$S&$_nlfj#%?Jsyip)|LHxJhXERB5CEdk=L7 zlRlj(STeL2qeiOSlY%IZZW84ZQGkB9U1@GBF>x16# z>blyqr}>M)#G+BV?bOq-|IN{Fjj;0b)tSyR`^fccZ_X{|)S5en@DMLdFB7P`gDHrj zq9IgPg93-^gF~2(2I-*#7=z|DCGKupxE?PQu6IpN8K)_y+%9>-|N5%g)%Vr0=8>kj z_fiFn-IF-gjtst>ZOLGf?)MjEmD_JvD`cRvzBJ=CA?7)mm@{Io^F~1Q!rETj=Ksgk zm&Zf>eGlImd)7&0Uq%t3VeBDWlr7ORsWf&I0mIg(bP=pqt zvZRHgr1d%PnLfYgd;jn!A&Yii}BJ{lK7my3;t@C1im1FG|ogY(s-RM8F zHzzGVQ!Jgo5L|6&U(KRao9*w)C*2cm#wEbJzION1^{x&bz~7!C5s!&P;zLdY+cx*( zi>rDu@|AOQV6@jfcQQx>XX^RR=hW{qE`z1i-ec8w%!EH$?Gux0 z@S4{E9a;9=W1hDSWs~N{*VBMm?^0)z>$P%@%gyi#e^TvW)1JUA{|J#2a9c z{D|G~WGBr>FY5J3ekz-ieXOnN*BjTsY_ZnANk=n&ex^^2&74cw z19+9UJ6xw~x&Sws)lx78_p_uE_f{CN>g?|SkrBgh$Iynawdt03#k9TRvlYW|C+k$R zEm8V;a;Sm%!m~p%K!%RCD(mcu?Cwj@K2JleY-z5snCg!qx0C^2mp>MLL6v#Pm%%?j zj-y?wrUVW5S}@4hMyEg}B>`ce_mSht7V`Q<9bZzY610M!%T(T;jkswY-x5~ViVx|O zp*ilHcQxmWsbw1o@*-#J5o0$OEWZ9h&9ZMVWDYeA{NC!85r^v@du5JDB_J}^h7o({ z>eHoX?(s@x%vNSqaMDnz(O7du00L$<&TOp1VNF&u$G95u&ye;c3RS z6w06S+%M5FY3IG4ia3d^0n4ZqVQaAqE;91a8Z=`%JCB|gidKZw?5n-Bl$VKl%xv*7 z`RHpt%G2*k5@hkV(vI(XdODksFTm8{_k16DnXl(eqM`s&e=R3nI3%%&KxnCaum-MF zqb}CAz{X(lxPj7h$#fIA+bTRdt!TB6z3pjW8V|>VtiOf0YMDYe1=(j6D>pv@LesA%>H(bpz&QrJ;TYjxejWv$9lG^A!N8 zYIhocpXVdu?_!|+8Nl%|W8&Y~jv2>2=ok{QjXY$H%JS$-@iv1pC9&wms5dq7S}o4& z(*-$zZlpX!y0tDpd@lzl#ohx}g@tn&H4=;Q<|D2f!Br zowEU8u~0s=V@^P3Aqf%&mOf}wZMLSps!6-jov2R}06sOu=&Az5{n}E#)Phl5PRUB(4`D@~d6qm=d8SzGe9Ep~}_`Ek9%Jii99=6sh<5 z=nfl-_T;hm=QK7-3pAh^S(tZc;O7&Dk|KDf3V`AGU2m%`wzw^i+}0;5QFwL|3_w>4 zS!<`T_P)fX?=NOV?0mNd3P!}PPD_nRf}fmA9we}myKstikLT)mC-K#ov}yudOYRr@ z913=CEWAu5Rg`dEfEnuWW9wP4MHsvAJL=DN>;qRo(qV7i6+~T#bFEIjC1ktq;Xd1* zPKobN;`L~|8$hUv>nS6*^!eT&3Ul}#@c5$nSIs>19Kv9r3oy7}+&h4_JQBivO&o-S z{&)U!%fY!&+aJGq?frK#YbI`Wgmy{Hed*4q33Jy14xvu)E|H(ij=l2Z+nsNRP(C=n zuxzr$({sM2OVueS9pFnr+Am}zzEm0Ah-jWe{he0p6J2kjxZc-QZ(H{fAVJ|1W{?!2 z&6pXf6_gY0flI1rOOPPH zX@~PWI$C+04$&b8;vO9RC|kix(Gkb3jMNcxJIp5rV!tuoDv;(d)x!;k$PBv*3L?Bw#Y(~abg5Ix3_nyv%DvC}2B!oYSR|P8B9V(am#Ksu# zqT$KsDP9+x0VY4`u5G8(s5-nUsIrhIvE>tq=&8+z?|H}+DY^aB^Z}kBHgAkWG_ITc zb@z_sj_7@bd_Up2`L>h`2q7<>bp3lp1Y@sf zSN73cag|4#=6@9V;O2sM4M2ybnA5Jzr)LdMms!rn3I3Ey5;s2?Plenn)sSp;!9=Pm)G$#<fou$eA-D zUMnhF1i{Oxdn6eSF6wTd(+SbYsG3fIiF2 zM3&L`;_6)$+VvwD7wq}`7WkAA;`#!7NrL{&J0(7mQq942-`%=+GOR`^TX5dR`!{ba z5AxXkdFYLmK(g4*;JB#qTJHR{T~`O{fVh?%!Vi|Q74l1t0b8)Y|S#6$=I*LRzW`pHeuT6u?uD#c}D?@Y8hw!UPuK+odG*NJR{=EOO z#qW!UhKa9tz$u#M5EQX5ScJtp*=j=Gurt66ap0}cEKNx{1Hmb-xH(mFx^=7atus=x zuA5gsCDF!?3X1=ks&eL^t9USRgt;74`1M4e81>INpBH%hzIZ@*{CxrNLn<59uiryp zI2@?+%42BK(l8=q)yT}+ucFlaRK4FSv;`%?`{?c+*PnMC6&&KB7=dDJdKWWcQ+;e> zATn}#%2lmJ;aMI{f@K47ay$d7Rymg?_cmh`g3i@mvjuoR=Pl8@E+J_LK24>!_E) zJaK+oFY9-2L69jKPpbNyD$tp!J(L3^Qg`6_r1j$Jk)MXF2wA`D-TJG0E=X(S$FAW+ zjrW5uv8K~x&t-g9kx3O2#i=T5d%*N}&202WmuHeZ&jqeT*&sCvhi~jZApL28-O#g) z*62ST);n8~8!;TOLpj`%Ve&+awpRbX*E!M#hC|vqUNv+^Llt%1FGM||9l6yg z$$@9mCDY#=BaGb8P4fM=Btc=!#Sg`-%beIgZbnn0-@{W4VPDum=8qCKh*K)$oo=B7 zU2=N*`ZZc2D`(V+-wYQ~!$qzSMBOc2%0nWzSVCV3^Rzq(k>*3-X9|lAq88

k6F2 z8(=z*SNT-8&5(GLimNjJh$=mHBRne_PQh6RqRy%d8mPgpMZ#*{2JmhTL8KWkg!N$g z)QA4t?QpW|P_Q}LgBfwu-=Nt&Ujs{Am+ivO7}8^>F2-%Kl2K+IlA-K-y*uT)(8zW$ zht?_QmWJ>5&&Wx@mltmmxZ;f@W`A ze7JaL;5fYteBJ4$+82~GrG+Qrjad;go33};1~VLVuGvoiQpcfP-Z4@?B2}R`8N7|I z&NhUs?&;57ew=AMjGKF?>hg8L92W!zc9uwMZ|8x&;={81BRPhAwDN~+Z`H4XYkix< z)O>bq>4}4>~4B65~US@gZ9e`72&84 z_YG)kXS{Z7&BQ6w41@H{BT8ox>%NF=3rK>np6>05-lbw{uWe?bUnd+ZNKYa5Dv6QdM46GdOj%K_w^_VSy{4!j{6qXtSq65OF)UM4(tK$4oYI?nBB zy69bLT6s|T&8$;DafsnT(A(i_B9(jfJEXGQFKN`)4!ObxstXmFAa6R%rBNp5kpJeL zh_pB56!S$Hk!O@%roNA5Y!wjox`R_jBYQkkPvJVl{qxha zYqJEc@l2gRWe~;}thah3Nv3DzEG0@Y^xXrbjX8%0pRF(!{^ArM7bn0tJi5C3Y{yNj z^3!;de2UuF+A`SB!ZeoCU`0kv&=M=bNV(=v-6(9mBkgQo95V*n5B=hYDxZ&))^xGS zLx^#h{cFXN?89dL05QtN%iZgxtPaQ(CnUTFdoKF1n9x#HY5cs)UNLLbm^Jq@5Rb~D zpNRC71kKpm=Jjh)jz!XjnJy%HSV-rHSpZOO3C>R+{5GaJlgUCU|Rs z!56Y(7PS<6R-tL~EIhnj*fV1>>D9FDxUKDRR5kNz`@q+HFA_1HKwvc4ArX3z zF}B}Fut`q?*qnSmeXEYwPCLptf886E0Mw7sok5Xn*W#B8J9(+Q-?%&>9}e_R(7+dB z4~Xp!`W)+11DgQ0d86MKhxbG72=nWhi8Mw*Agk}|Zl_iJR3YG&2GWH3(%gY5HonMj z+#wrb*5FV3y|i%)pbu^*Tgvpw+7r0-GI&|3NScY`wVQh&Al#p(G*H@mT`RJlRp69{gut?UO z>Om>ec7Zu??eqWSfa`;6K*m*%ul@n>+Gz<3yJ2@zx3%T< z%j?4*@*!z8^1ejN8!C<0dElz_gTeP;oe;<_EkB*dlMRNihjXXQTFxoh-#>B^o3{DG z-#>qVW%>{rhv-noiEtLHU5)+DfGm2OhiO8O^>VE3mz5rgva1;t=_&5@oBCn_Oc;%X zcRdwS+W$#b7Iyb2gcCca#v6MlNic|`D(GX;WgT+dIeLK{c(0mfA1$4!7wjokjYMAB z#BcJOKc{>GaD4;z`1h~do>A-70dVC&_3$*Gj&Kp3``|T?qiA8hC|uDY*WP)%i1j4< zQpdfZCBh@|l2-9o^K0Y%k0?%VKGl7Sz5k>fjPGnG;(aUd$D&ccS|YLq)Z=cOS9$=(Ck}1JTG;& zF9DR&9)Is9)q~D2jiZiqz-pxgwoe`^p1a$EWdZj-HcJ`sjR#ae4a~ z&@^pL_&sS3xbwiNWz|*o+kq{Y?xCJRiO{I)580C{#3HnajW{`405){=m?PRKu5eoYitm52OVG&h1>O&3KrZ z?iL=Fmj8IH=9v9_;o~E(d6@VEr+GQOVEzP-0b0EF_NHb3#f#AB8pK)|cxpZJz51e5rYpnU*2G-kA zP-;Q##x;n_uPp!Tlz^NN?A*`Y-D2@@m!yMjj!ePMZ+$0)&K}F`h2($W;YJ;Lr%N^= z%?P?>gN3AM9d7P278J>H-toeEIU(H7OW^X0@O9D+g|(p0(7yg;q$6#NcbOIGcIAH3 zpS5{_o1~q3RhXIVfTT6aI`GUfsyw%6bwyj%vY?h>Y50^w(?`-eL{#Ck zp;#ntwN!uhW^TmQ7i^GhR*Ihr`l9Xug)xya<|*;sQ0(Nrew(1zDnu_$9q7d&ASvi` zOPvui>wlYg3riWN1$#DQ^M=`!Y^HzWefUN>6c=9B%Vv@Ekki{_a!-|XvWM#i2+56- zoDCJh zu&3ivhmA+GHFcXd#9txjY1c=$~E60zP>xX)7e>2g(d7?Ht&uuKV*~V;i8)^*qG{X_IPRGeF?FMOMQSa zayreQch%}5#^UZBNb7qh5#Nxpd}&#Pg|___Bc!y2T|Pv%2F&211 zDi9a_Gn6>QYc~Gl+O@6Qn_iQVIaQ>)Zi~G7&7}k-h&h46`X%-i1%yiw>K(J+_2}AZ=@P;Zbh~Y^cfJ;>H%Anyuoq*c8#(qZwP{#P>VTxbFmk1N(--a=+64 zCs?dtOsbyqd)KRlELV612WyOI3ksJl*i%&VO~T)AZ#Tpvqt;sp-4ZOq$Ec2~pbdeV z$MeC{c0x-8<*0AUy!2l)S;3jK2h0Xs4(Qpi+|`y-%aIed$?uLm%}UcH_a0V5=EZJ0 zWj-@-NrO?jJ$8N3@ZMx zqrK3^t_H9j3hmuCn?wF#H&+5R1#cZrKK5)DPu+;&Nw&Y0=gmP8)P0<;oOWF2mM{Jq z2NxlGhQMyIOy*KTJ|1?G7HYy<*O(z;B|L-2_MvtCvg(KedI7wb+#OxA-x>2=!;13? z;>$DX{(5Vmlg{YUHAoxc(P>LD*sptYNx+p@k{6lBN1Nzmt17&86$<{~mdwQycm4<7 z+fq|l<_VAqBr-w~&2?p&p-hNm9Qj;iXXCUKMp`vKn>$|Q#vSR@O%c(~*ZUTa-zfit zSXt3h%9AhmPV-f;;R$7742`qY4Pd@2!wQF#va#{ziBx)-+frY!VkyYSdCRvK3T_wB} zvU2%mfb+smRBygNS--MCOBg-fxk57=wjXO&Y+GY!p8fMP(-}h#L@O3d=B4Uk8-2{1 z$1~;}{SMaP>`G`L4)_WUT96*v&b*Qd6h`?biKc#5lyMKuZ8v^72rs?72z|{S-EQpY zWZTTc8G>Ok|HhmC3p7ubjcLOYnpD_6p%Fe9BEi-UoKBM<{K7*X5Gj`Eg2PCe$5Zv1Jq3JgypFOKzP@bji1tL>J1f*-ZGViQ9sZW(qe z{PD&NO>V&)Lpke6I8(aD(`4&r6r@330}Owqo~RIkvl80vZ%>y>x0@?sZM&rjHsz=o zi`BdnTeyDj0s4aVW*no|X?dCI0Op?on~EidmjS=1wcrbJZSx{V-Rk96I~0sqWPs)O z+qQ=1^)ovVDVg1{qV(kz!|WPOQBFI!zkR8_snd-OBURi;hHOT2<$K#im69$B_-hqU2k|P&cTLBk#3; zZhVn<6wi9An^$CiYzfA5q0qWtt^jeSwi?=UG9EU5a!ah3)Fm%pi)YQHrt};oVfX@O z#kQAXXwTP;6W9mZb8K6!?I?2>j56C12~IMWDbr7j`J;(GTfH%CpgGiSUV&BJGP$mo z)@7<)r+aQCcP5?Ro~Cu^E?I&C)GlUjNnONQXbzl7i|xOI&It41RgS{ZmSd#gpASwo zy5v$jJS*W^U$OnNtsG`&B|ol>)kKIow-wST5}lIz_Fp;;DaJ;tz8mW>lHX*wLEH|6 z?bdfVt2T0K?iHQ)9=@z+wOKh&@?YmaciXPzSHw~6=?i+qR|W1~?|JeRvp9P*v$vQI z>Bxp}0oMV|qMa=+CRsTZW_z8F>V9xzDD5xD=3r4;a`Gp;VUsf|Jo|t%GtN-7^4L-@ zILNITRe{*`H-}DZL-HSeL2&2$uf&{Igbk)GV9XhK(C(WVB1rf+rjM__`(K?ctvi4% zvl`eXJfziFPcODE)v9xMMih~fo!mz*Ouf9S!Pn^w4Y_--q^^+aX)Yo_<7;O- z{pQpjA+Y~pH)3MhO)Mn|E$`N>p0ZgkeH=%Pz4nzuVumLeE8Pg0iRC^ZNJ*spMHO^hpk@SQO}tn8iy?E z>{G9mzMBqv!#5u{in$k96rp%G7+P(O_9f^7N6pVYfT1N&=eg{sNIP#a#tmX#lq8_& za-a@}B#L`xb{itu(rb67&iWZ~>Y~}FL%q21ws{n>22B6#i4@g&1B6|}}ISIE$>%mupN)mYA%hRhik zS?20eGt#PJOH9wG%!_~*c{wxD&@VZ(%7&M=%>&}nu|hg1{j#NDMIGSFS2M$Sr1e}- zl6nB<@kgC_Y|MJOkpd4Z%YXcvX5@wd?rxCwbXZfpDvxkl7{mjM$&Ua{EH}k1Q+^cs zYrM{d#rVhm1nQP0-#Ejt>~cXG9MBTq{m}VLHjes7Tb+;dL!t3nUec;prvOPrlInRj z1zeXwkqiJ@t!=DZ(^6GDi&$gDWj!Qc`lSzw0r%BGrJ;zx(ov5J{O#WR)|yYc46*Q( z8n6REVG1fe!Ow<4;tMF7BGlK>hBN`7KSB)nX=6+p7v-q0%rEkdH^mdMN=W@83~8Dj z**9Wu0;;JyU>6ixY?T-fR;TRNi8Y9%ch3Pi#=?os!yTX(W#K=5*BRu4HkC`9g~s!d zRHcTcuzcFBsz4FidKh)mE>+rNcg+bR(mu);!s!)}^XV^sngTp~JDlI2=X^)C0gy9v z<+E^9>$(RQIp59PB_Cl`u2@bBPK42+{jC#-?PXVVdNC^$pqWs0f=`N)1@D3Ss>*X3 zuo|}I;CjC(@j_CYSc6qadZgz#ioO6U;#6IM2GTy326jX!v{(;k#Hk0c+9yIg0`vSn zzDas+E|>251sGy(F%3LS@vL$vv6 z{$CWi`Yh>ShY(fn+?d$vDlr@idVJ#&$m?osvTtno61Sz|k#L_yFt;u(_NSjENoWrM zfOb_)6A=CXDh@eGAnEsAliXPZxLD(yZS_C}LdbRya=;h^tQ<87;VT5RfDBRRSUgw< zpqG*%N11O0^!Y`@-uuOe;yDdaVIg4Wb=NVgUG#TChKRXC+K;ncqzZOIE@>`W$42I< z21LTMz6`!VB$;#9k+Y+zAnN<9;(#ay7?xpWw!8whmL3Oz3MIhCRFJi`ErL-VkHfRh zFX(c=F05t0eAQb^){uE%8xZ%9OJD3%Z1~)io`Gy$9JN+^Hy2kZS$i%V+L*AI%;}Jw z4g^~9#_Jej#uV#wdm|lOBurH}8iQ4kc~Y_;hi&A@6%W&%Q&5@G=s@P>v@N{DZrJ)m zETz7ay@J-`1K$&6w&ZLSxpJ9TlnDhLU z)j!+dwP$PwDrDs`L6kZ1lLJpgm9@-sFJ>>|$503iHLJhn;5a;I*V&F_C5Q(`ry1>F z9EC!~)vf)04yt~BY|oVhg~|ZCU5XFEu=iCv?BA-7t*km^y(3c!q0?c3!0~#dp;FIq zwg`^8pg-FWS&*=jUs8X^_kv{K*W>hlxIMIzHzxtj%E2rscQZ`9Al?l9$`RPesf)B* z^EO&z(eAhvZY{Ny{w_%~-q587p?`S+ppzG$-g-Q;R{JZ!3IeRQ z+CYz0vqeFzS2uEZTe}0&Jhne%+*wJ$zW9|Ju^FkuycxOKBAl+_4>eYQcH<@7+_xL? zt6;qiV{T@^h7~bDbf^463{B%!j;hEEC3v6W(eA#j@V5OWbzi}GnD496P3!)z^4(wm zx;*Uz^_&ANqxn=>pDY8)4Ba?CkRpLjU|sT=uecTSgSU%)@r!0wIi27Dn)M41Wahr| zkJ=N;sJcb+#=mNsWaaup5+lF=?9W-k`6}PqRM1K@U7!0qP}+kR`6=eIY7L#=?nY>8 zf&SKi;V~W*X$&T7bPI7-@t@e-rkvG2!!^9vJYNihKHtCR+JD=gBOHKwl!QmPy-I75 zuRCgrj|=R3-so`6ju*aVR>_}uDoHrA<H2e=*gO9~0_=)clZ zSFj2c_&egX1uAc4U+g?~ET7z?W(_j?81(gDVFc4-Av1JK?l$@w@@#7lXF=2j*vu=^ z1W%{`)(7ujf&uc&gUW43>e&q>OqkIwD?JcmZGxIW8I8!xr`|&<9}vP-OQarnL!cB<K5}Cp8BX)+szczmj1RwEW~=S=)e6VG+wNXzIF4PMiN( zlKqbEky6e`EFVD4Ejr|V0~n9$UVHx%a9ON;i{9Z_8=}+5Hs31I%xf7C;PF7^Z0Dyc z?gC;oIGaB6vV^D%tzD{(;Z&uCLl&T=Lh>`X5|j+0 z%_^LVGAS_H;JI?jzhXzp>3+6%<7&>=U-}e56lSCP!|U_%Z==?VJmb7ulOrnl^FZS>iv-K>YtA zfyg^syI=hg%^U|JcxBEYrJzMWBqwi}Jlil9yY~L7(%ekh2Ch8esAQ!HTmgp7Lu5*e zc+B&d3HiE{Cit)o!GN>3E$oek^m;2lSq#tp}9M`dX+z zdwZqeLL|T@_Q#-9%FAn1%X4+}mYixFU275(1l57QW!#o2CfON(U&K|@7YgZ1;fl*i za|1bMJ-g)_1#b1b@3gIZPd<|Iw<@vwKkTxS{NFwCHOB2Aqu<9J_ZPuGN(c?oO zwwAp@S^sb2PzA<%r}Yi|(M9Ldn*VOJ9bstKpCESES| zw{QaC5v>WjSTVMRf9`FoC93xI&F9w1dRTWVx{#}5kU+Muru@g>JSQ{m*m4w0tP(Sw zTw?gf?<03*s0Bmt-?38ypvk><;`U-sAoLd*z_j;tbH9*D!%ibgZ>_}Bn?arA6skjq z^>Z$A?~VK|Kx>B?eV_6Yn;W?(hU7*x!PbP8EcWSB-wHM1KdTq!esY{@v_D0C|At4* zm1`G&)bjvw>7P>u2lif=&&<=i3X`LD0L0X6Jq{Nn9rta*uQHKzjI30HFFd37fbo%| z{O-~eC@BEHO<}m5=n>)c3KEN&d@nP@Be`0WXr9ZN2C8rc-08z4Lw+~jnfqPq>sOoV z*<99w{m$BYCxW42{1r|Wxry8flBD;zJRgHcaIoTbmIH<{s|}%3JghH@bX9IYY8%C# z=vHAYm^Odox+GNq=&13F+R4V3ePFiA%*bB&*BKEyi@N=d(`v**e|8I3+hFCan__}B zAphgwKQ<#{YZo%@q9|Culi;nxH8r?l)|iSnkf+*T2xVfrA695LRvZgDC);u~YB^VX z-;5pJ#xu1i+g%b7gf;;5}k^Kt5}qc?c1XZFzy2~ zqNop#a;Ar}h{W6C=S+`B|0Fgif^?)hrauutwA&c6jC)DXy*&ac)10L_SrA}HrRU4~ zTPitIrtQXtzo3x%%KS4Al5U?j=Jx0tzHhe$n{#AC751=caICLr!WOGEJj|)`D~H{1 zf}h054%^y-jR`ijp_CAgMT2pQ{$K54Niuic)MfqomFe5y!_|$Kh2hE~68`~oJXYlM z@ySlC-{ToG|JmMvGSW+Pd4jLETH7gHx8UvpLkvj0I~X2=APd2{e#JKq$|9=vCzq=^ zbZn67wX)ji6b7N92#L5%K@7!A6ZUb(C*@~f+}idVn<(wJ0$l@n{HwS-%tIOFLjW1J z1jy{~xu%i5FJXU<+0*XIdH)m#!s!V-k^)1370aPB`5ar~=ZBvuJA7GaaK z=tx-v;AH84@8Yr(>XM`Hx4s9@p8?F4OgdtFgNJ(#`{few>S4;FV|9FrVCMbrltR@m zKk21Y1)Efx;Caj zm!yM%|LlQ)LUxq}7*|9HT+V$Xd8v+ooJspvNorvW56~tia1HB-q&}wd-XF-uYNe9P zVu~rO2s5^@a=>`lvffU?aWM*T!lVvXE==|xS6Cl^ON`4Yz<$jS=*eL#7v$+~NB-C1 ziDWu2UEJEO$89+Wn(v51j(*AFGske$#x6D&RJ0Q-(pVg_KrvmGu3YnoYrw0HR7Z@y zWseFDKjwCj1xGgSsq+6S#ymT_qhe$kQH)OrRn0bWuo2rJA3+7!eOAy1UnG;&y%nhg zL67*)N5I%QIBJqn00)OygT&XANv5ZU{k=E`qY0o3HFq~blE^=66RR_H%x1ZfGMHNT z3xCpXX98@Jw!EHffwbzEuHaY_8&t@@nHSa1fX&^~ zvXHBR!UP4Ib}0xmmHI{SNGHx*sy=4_X7}X^qh7OuH9Uj)i(UyrmT1`*HT^Dp zU5PW>AX933#^A&3=_0dx7}zM<54hGi*85NXwre49d;rf!TfZ%#UBVJBKK&r`3%om7 zU2<+wD5P;Z{(h{AmvX5bf?`H_EMiZt80OfxvqmW$Accz$7HYyo)eby zl4?}c#nD?CF4unJ3OeumOu zPv9MnY+Z=XgU;QcZJO#T{7r3-i9BvUARV6Dg=i06tUOST#ChSzOwwa~h zr8u_Xm=|{wDjt^kp+b0K$TOzhDwOYE?PbJ}B_nGIH%^E!)8$KWkR~b~Y)Cw^@O%(9 zPSvxV(-;>pNDv?|nc%iz?a57kV;q5g>R+>Z7dg`Bk>zjo9ee+;P0u z!$YutnbA3W#1T~)==Ih3`jNf>tS(1D+(4henBfy&yMJE}?wa}er zUn%LLOaW|=hwQyPLua!pu+wx_=YdtWv6Ef@^g6Eybt$iKBADx`R2X5(2*upnXR(vQs&qX*)6LVtVFJ#UpipBx7wCa%TGA z2}7P*f;Q*(8DNROvV5U2<+Ot&I4%WaG84E;Ul~Z%*3s1ks-_z_HDL+glh1``!3QVb zM+(Sr$cc-}Nkp;*q3AiJpxAL4kxYi~h_pgBC@9Qy-;$=?E0RV66Ev{T+L?QjqM-Xh zI4jZS7l;~KKULh2j4Kd8@7avPld{k^AV`O3e9CxW{a#B>$*11&1XAdtG15Wd6FR6=1|iqL^U;BsB0 z2P&-6=*11@VDO&ZqyjPC1S35jD~rahvZw!@jzW@*vGlQ@g0iGLh!)eURfPSXI|Jm)M*y2`V_!?AAH zf6fg{3zH^1kHs<89NsSSXaSojoPhGP_Ya=HhNcQBIfE=J0|OJ)*oa3z*Qp)P`UCGs zK>j~L*}_?_sy3nnvwKRv59{HpF9)FlMHr_UGaUqFy{%!-L6AwE7|YqjOh-e6+heGma(0 zlDHZO!j_b18Vw_!HiFztG$RaS&z2u1b7uI7=(C*}wakov{GYudCiBtO5B~|=84sY* z=s*t@ThpV0!fPSH?NWVT-Y!nhw8mr01zkL5SdEoS0S(4KJx-UNg+cA6{hUIM1hZW>IOAVFY zwpt~w?u1X;Wfr7qJvDumd`!&27K)Ocw5E4=2bR z8UD*@!rC6vaDEj)7|QI}bCL!gWc+je!ZjPqMMb%;^lm2pm`QE36hbcU! zGB+lJ!P5BzSpV2GK=a?RaVECUL!&JVNT^}T-5~4jDF#=C9@sB_&~&kcg(4U*B$AC| zDj+w3my-J;w{t!NaY~*G4yX+7OsNNrg!HS0g?Lyw#MdwJPWBg<{Nopy*|(&_>~v_*1xkE#i)o2LOPw#y1k(GRX(1ZtHM{!|rLt(@C4}i2jDh zV1cXk*3$q zC}%h5l$y7nAPg=MWobq6ZF4B=&M4ORSZT=mqvXFe?-4c#hL)nYOv_-MmT58QNR$fe zx#D#TKpXJED_vkTV8ZEjhb7puR{eIa2qtf_a$`fbAG;Ge_{P=^RYJ~Bo z_Y4RKw;WT6+O|uu2a{)JAxeJQ1t7qf>O1xNPn3}L?@i+hB_S{vZpM$pNsDH@_P)K1 z$o&A0S?qK!Jx5)bWB-%#D|?iZuXB2ne^jo%cC?FUG4Xxdp#pnB@@`N1Y9J@hE6>GaP zEaaic{TqA<-4-EeJ~MA}d+)8VGD9l+mMv;mOq@|=QEJvl$JeO(;>t!d z@+S4y^X66-^EWFyTH)kFi#BOXF=awq_dZB}dPwR^As)b_C7 zznCzA7htFkq_x|9((kp8ro|;dMrzQI_0QmCPWy`FcmBlGH?L^5rL-grz7xT3vOa1N z#Y)9kPdMpn9;(nYeB{u0h_4w`L{$+13L@;@M(^56cpT4jHt0O-sG__jiUfv(VOiEk zxW!P7Liv>|>*@^b)ZZR3x7vB<3jm6N6HgONSVeR_+$=-12_^w|3AMEdGaz5Z;rg9T z*X{go-P-~}4_-{lU#a%XmVvbYK+QPR6c0)HJN{HoC6uF07*97Tw(MGRJ3F`FqySZ@PPnY`PT^@V zakj*s+-q2D1?z-RX+ro1Pf_2ag8qO=tawqtQf9!lPRxtR8u6c`4;VF(P8oQL*7X|t;-M)G)>GrnT*ktR*qAn2A1Y{C0k(8EpFVC_X~??c+! zRcZI{TLz3@fCpnFjIe>Ln-&zc&&-p2BiZoLSlmE0}oQ7#a*m$Am)3vny1lw((?U}Dq9)L#T07|oHbi>ZHN*dc_I1mQq)6N6{tA!wT+$N{KQ1rxtaxham@yv%jjAB2v7+*pG~?F7yoT(It^CR~eiz)9pNm>L zK8-J!p|64hnoeZQfWZ1u`IuR4t0s2l4LDCTrDr8*H-GKad4Jh6#_;NYz5wOvI0|Gc zr2SAZ@pGB5SEl9L-QR!a`TS8E9`-3TD0c?q*`1OJLciJ)tUJ3P-D!q|BPRWs=6m#! z0X!6Dl_;iovkU^lH$viE2}1n1y}|uJ0;5sbcL(;i5xfpBB!K%ADFcr}d;sX?Y`k#Y z3LN%J2P1JSumBK$(}^p&PaNK`kGf90*n_Bh%QZ_AH#2a`6R~C} zN{_(N+Du4}XzjLBnky!>fif|WbcU@o-Sd0_k|NyBFmcpOye?tT{8ErAYcvZpMU(9( zcHdmg^|Q#oLmo%fSj?lof~DWybV#wX2vw>Qzp>MUvbxn+_+`JB9vFPaX%~`BUwciH?odlSVC6M|JSUL+xTZ`ybp4(_VWpF=1 zkh*R0U*QO>IYU@?KW*=qA^*LWDX^Wk-?GH4HvYMmzdU3SLt+$iqqLiD7*#QDJ(CCO z)FmQfrY`UsT8mV_g@{KU))oLeoZ~D-A23}UrdlCnlNDV!4PS+vyH$8IH3cmp!Xmbb zwLLj>hfosCM_cY3dG73qGS%@n5cPg(Ykry!%z+kVBEot;_k$I!P$7kwhvW*fcW5m` zhhNIAqv=B@+MV8Zp5aOau_ZW2X;gGEx6!cKpfy2(3XgMkL8|9Ie9~6C)4Ph zHGo9bu-O{f2k4YlUMW`Mr@Fu=>DmE9=gcaIG(&EL7t#-8E3UVGV-m#@H1J8 zoUf7?Q!Krr!))rEH&jPP%{nF3&4Gkg|9gDs`)RrK!AI7#6Wh`?JNGTJf}A->IzRHy zarZjCPuRUp0~7D|WSiqVR>qUUGeuPxE<+hH<-Pr6k%c9xqG%O-kqNhk}nU7_;J*{V6D2!0x1}vHgBQ zhZ&gRnASmjou{YUvHU&agKeXvw;ZW{t5UkZj0m|0>=NG0r>4;l@>JTrJ{TT)5t{`C zLVrC+t3Y|we)l|xCuOmid;YK_?GWrprOJf4%kE+Mc)2g&`6$Ipo5;wxYnssHz1eea z*8DF&)#4=J7a4=;xT2P7NLz#W?dyI9K7om_!0+;g{Y7&_xC_rc7S8V=@w;KcDPL>u z7WFrPkvI#@CFyr@bwx z5{ndajObb#+Er?;JidJ&kOT)9twE0~&cwbFWz{YFTTprfEGvj=3QFf`HL2vXZ7l*Q z?))%NzMLAM=+5%ibFCjX;8eja+t==XpU6TN^)ZwD02g%V?cbXQ(oj#kZMBYyLTdka zXV3r+E+%ZY;f?I-Z>4P%3e@Rbo5Ka_z>?;$a()9ypRI6_Z^W8#Be3LHtIO<%$hCNe zZTwMCvY1&#RWCN;fP`8D7q?z$I*?tp1`6)q?RK#^Jv)Qz-l5zp1dJFsrbhm{!;$xRQ2 z_J1=+S0n+xY2+xz#-Ey{!VhpNzYpA)J=;X(ag`EcD4zV=Dft$}ICC#SH4NQuI*_+z zAp}#Wn0&hNyeqK4YMzKLkMGS6w-_4*2;tXEknb7!yfs;tVj<0s%(T&LwDI)1m-LPa#(M6Z|MB^n18jE;IWeWj6 zG*|4NP-F2IX)U%o74ju-OaeOtTO|s#7TSO8j<2zb2iykcb;hvZ=C!yu8Je^pL<-w= z#hQi1Ur;jm(3WAcMTMriGbqVV?bCRyA^KRm<<$9?ZU7Rd!q4v{Mn*;Wd;MI$Y>bQ< z=6iJgYd487NTU$d8-Dym|5~Ld7OzArG8y*zSeIj2P zp!NyoZt%$Z@=XO-Y>O(KcJW@Fl|3A8vJS`)h-Vuz07|j41qe6)tUcXRqp9-N)^1%3 z?<9q@&6oA$zjzmK;OS8xRq>D2z>a?vovO%lf{Yyv++KAR=AVjeoE+PRJXJv?T7<3+ z6c%%Lgv?~<#}dMI569`;f^5^xBwCqJnAUp+%ov&l^^~0NG1-#}h}$Lo%+!HR5QPVU=?n1gPpUn^VyX;^0P_B4m>@;{qmmYE@xsVgI)s} z+m`X)`a#7!E1_Rx@WDMCbztbGey6xfY9G8Q7eRAnXCL!;{?pavnape;Jb3F-eqO3tRluN#G=(jcWX+qhep-#b%x zVu6f4*1KOgzuVwDHsA==_yyL(jc9SCeYG_{`HvWKtRWpmnCcN!z~sB_w@A=*iym$7 zVv*+7vsx;wfR|dEH_Bnhqx?}4Z&n+33ec5X*NGdvj3|%=a(N(?CcQ3;%YSjT5@daQ zDa>!`W@$7TQEbe^6czKx`-<&6c1mYD$#j>TuKIsWy$Lwf-xoiA$6&0(gh;k%LAD}$ zwoobAWeKCQgp!aY%LtLBFIeg zckaDsKlhy1AuR+tbM*cIcU;w-pe*mFJ$Dz8 z0st!bJ{@P$@5FsB$HW^GpLc2xi-DQ_m#k%hv#0(}xXWQX@@b*fNdFU!SmN{SlV_ddTbz=?ZY^yDb|#@P|2Ao3sVg{>l7QryfT9J z!y$@n%~pjELbjIX&ZwnV%_vJfpj8g8_jAD+#@<{mX@#AhGRO;tp;2D9Nd=|+cnQws zj>Bw(&a7Bf6RBD=LFJ$3X-c$(Zy9Atr6sXctgD9#Mm)!%$G%UnUaE7e3V=Qx`(m}U z2zPIIHZf1eZ3hl(G^cW2FmNl@QY~cc+zO{?ToWKyU+8`$X$)Z^LN1d&WKW_MN7|(v z%y&u$4x|`EZwnPiFP+#z@4GK`eMwJ;MQ1x>WasskpfC=aa-~ClNiO&hSOhcR;>=C@ zUGyQb#WWdaWFi3z{q7&zUi`Vuz`PUWxOU)gQ+6M*BDdTsn?cX9Sd117E0O4@Dd&B2 zK!_-%zvb9Rxv4bk<)37r0IR)%a_VT=ZXRTHPG(J;AB917i zC=_MB8EpE9hJIt2{s z^)L0X`@a;X=RZupW6Ngk5szZ#zvH`AnaT7z5c-#oz4}2w5i-3Ehj9_%=p>|vMH}cR zrc>aT3tLtWD!DqI@zIb>=OZq5}STD>QYES z*?U`Y;z-^&rcdt_K$tZc?5*IXJNoJ@$T?}NI=&sJ0E6;Lyyy1px`h_?y-8TQMlHoTtod1P8YQom@EPgFJE8PA-*U%2Px2nI{rP(Eq~tPPJJ*!Xh$uM6zs=$&NJY#)=BKK9=(`+CY(}<4bX$xxa>oJ2U z`wLKY&P_6#606Q4lJ&90?EixhIiG&Ptlr{~`Xz;3`qrmP7$=PMGxC!L9!h7Xja3%J zv3KrL!6*55f)552FO9eh?r|ba!NcVo2#pqAx_zYG)`Xyt6sv0fdjw-{%spuW@XGp z{7?iIj-z?7t8t8e<3C|pZ6CA$cyCX2(uXpVPe~C9-%0{N%iHF`XWS?HGPyM=VU;fV zY@BakgQ#PVX@nz7RfNB7F#+AN9CcX8Wn;iUQMT!EG2y~@iVp*@vP!{ZW}!r8Fh2>7 zHyaascdKXt89;UP#!uuK;{9d}ug8Cw1Mkx`C6d&sLO>JI9s7YGTY?uTB-UV=7H?J^ z7f|c!w|un%3a{O$O^l_-_F0@IpC$Py5h8__#5ya}Gw7+}u$0~P_&@D%PSX@u>xu6E zcxqXl-)Vjl@u`l}&jN5T3k+3r4k!RU%->aEp@ki0FGcrw9DOrzoG`)^g>vI!N0UCt zTPUV*;qVG&OahU{v?u*6n6aMK?6I0i>`*{c+7pA`i>0!3V#>`-DLU;V6*2^ zyQsNQ%8#ROi1{fmV>@3Wj$PvIV8bmlbx*a^?a<2j^VBE(WQ$#h*_&<}>H1n)SQ>0`yEAX%9-%sXuAKJS!*O&L=ow zr5~awpCBx`A0L$Md)ZWoEL7p)V6E@Ig83$a>TvyV#*#OST&PdIR*2?a^M>z^?*cGy zDrlSyh!dx~lW{fIV~fF4>eDg#8x#QW^|n@}@Pk%<6rWaHLDDlfO*muG`&KsLxY&bN zF8R3^q%d2b$rM30`mb6JJ+k5!NLYOFMD7acA1vCPXw9Goz|4h{k<|JkbP!p6Cz! z-$StoXy}|!{{53$Um%BBA-Il9(Nd&Q7Wir+ zqPH2mgb1}D>BEUv0^Kg{%aJ2^jw$QOcy%mG0fZeg)U(M(Ou^sF!A^&kKVqEKBRQ`> zz&xwJXRJ6g@1oO%TXllb1-~P#+v2ZV-0EG7dpXp468HM@ffbarl_W@km7X_g2$js} za87h@_}NB}G>){+0N7^t-GGT7Ph`M~=7fEA2-{TB=(u>7NLB+xflFu-iw=*qP zH8oOKY5V>v(XnM|H2O!wG%J7%Yf=u!#!8IpkN1bMw|r3z)9rzs*Rt!J*Js9z!{7lQI?_Tv4V1&QO)5OIEgT-K-A|tC}2dp=&Vw-C<<2nh9%& z+YiqAbm9-#;UX>$;uEO^cj7LFjj5O*C_c|#a**^az#2u!ia&SIjON%BxSboR+yv-9 zVoD7F6w?T@wvC_m~JoiwW7>h;%_TbB|UHts;!xyQ9BnlvM?bQLcdy3v@hAYswDE zHm|y*$UVEoqPde-St**Bmqg^)9dbKJ5{2LPty7SGrPdGj)-)^MdLka*pU~(Ar9mqe zXR^Yld>J@iryaG02@_i}v!+15m%jLe82&_Ccp{s)U_w~qxZZw6VMz4U8_8!nf^NYA9s+?2wEh!3?ND{DYUp{0sX}&(} zZG1GR9{K@xFleQwF%`__Bz>q>JI)f=2TG$~05{90OlbLxIek}Qw~{72`(*%9I0sjrDzEVF#x5+k3Dr4^n}UUbpV0ArKc6iF$o zP9IN4vj@_Szw4UC@aCB%RYDd>S2xJQdp}9WPAE@ye%4o^^X&*2J@0GzvDCk z$6XOORD7wu!tkLg=O*kEIbC)?CD0miwaHcO0XqtrZjJ@?i@KsGr*^VZv0TCN8x}?Z zh72OVe$6p#C%w7GvBE z!kX3WCzysF_KTU`*?tjD{#@4-C({ye!)zJ+R~^yTUw~&3c#&^q18rU4!V`5?B*ebS zh&yU%GMGHi#!Od!_cxxHd(P?5#6f)bS!zd3^P7zFPBp-;*zF9_rw1{L>4iWTqh!N4 z3;NNg_=qamwwdtGP4ovH9{ul_o{>E|qoMH6$s&i0K@uezxN4|wG{}6Ktfcvsw}kGg zUz5$iEJV9{9#DGKc+Wb$&51qJ#6nXvCfpblthw*V>VW$o+R({=6(lt7#eoEB5b=Vd zG{GrH>z+3@)4QhEj?Q3sI+Xg?D6NX(iL^bwcO%jVhFu08B!$Jt(kJh@o?$&77n>V< zH*9f$l{w-xb}2(lLzPiBNdetoFkp?6)|EY8*<;~`{)K<2M~OdRCQz{tYsmq5D5eG7 z-=cOUfXN2ZPH1E2c*q^|DkbUJ(-udXt@JYtqtbWekbEVZ{p|n9>*?kcwq%swg4;Py zl*yAx|Af)8eEHH%!I(lak9cG74zHV$RWLWjGNVhQn=|3%$`RWEdz>{!O?kDf5330r zHGSPSbC;`d_D5JsrpisZE5vne1L$icaK50jNcVBb!tAikfdj46@ z?Neh62`|6j$E4c^(n)CJbX{q0+l=XrTiiC+O}TAePHKiTQd0h0G4Ig@rx=_BDZ(>n zwL0&F_5k$b0~a&uw*G#VyEdFAneWRK2h@VJB}8RI@t4{mX`7u$7U z*NmW$Q<6ny1kxD{I;_gwKaNggWR3NYbF|Xi%dhCi#y=*tQ>V>U(UVZ3sSj1MRu$StisE3UtV&BtFT%;HD5+ z7?uq*{j2+&3|WiPFSsx70w{DnNiNOC?w9-|H~QF1`+H*4!bQ3!3B|ot^Hi5IVc7+w zro0YcdKrLIez{{W8d8L19A8%*v1O3OSwjKAX1@TnVYvU~cXvdy&_!L^ND-kigD0fW-|TnYMi2I`h! zm}G7QUi{O|F82m$OtcbXi`9f08sx6+JMVrRrzVvr#rw@6@0;(?@36b$(a5yr*=^Yq z77#?~Y}5PKxw_;gO_Z33x4f6ajtWbA?p>a8ph-p%QVKe_$h)u$f0{uDXY@mCg9mZ! zV$_tBOhYNpoCg~%HS(gIxlw%^PVGW_a1rsYWfzDoR{`%p9`g=3A&Eq@sD1vMvG_}yGi$x!%a20$hnU%v zz1eC~uX>O1ehRoCdo{nmjjn?VjYp3LDObQ{!~4$m2yJ>M4#kBMJ~PdYL2!)hO&I?_4c%NWugVQiy>o3#~du7}{!+-Ojms5En?eOW&h+4M!@y;75mC-_L3$ve zI>O9`U8=(yhVOu{GrI-y#{q`iY0u>)qn`D%Gpd(FMk*%2u;&KC6H-1hF~eb9$T zh0~5=%`r(I>c@3%sU$1!rc~V+Ulu_!ZEXzS&n;l#q~Td@p}N)p{O5pshDc{6SH7ZW z&B2>lfi2Vmcw_wxZOYr{8NBpb*2x!5YP@ILV1Ut5!@_t@mc$u$r?a(?y?dV9^Z9ms6U9uZ$j>YVQl+%r z7!6-tYTvVak$Mi&8R;E)S#3~y=I&VZ<6hr?Z$(CTmT9z6kkW|J(ka`n46X5y zk6i$!0)U*+W8q8t2RS8M0@zUDLqqOQiE+5d**fd24Mj@w`b`F8+9)J2`JnM%sdw6Fm)U9gCAUuNB>-x2(UKGim>H`nRFM%l9=Avu$ge(}tov0-ao4At#1$ z?k`^noj9zfTn)!_Jn>?`SIjf+z`nf%hI{80rg47mDHw=w4!lWx3Zbpp zORyhW;@$dZ_c}?zN5%U@I2%XhJ2lUL0D2a37Ji{@3~B8Z?aSQ?sFOQA_WP%w zn3C?ws?y;*aKZXomJlm22E|ylWL8uP-gXTV>+eZa`)IL{F%-SR;lKgS%Y8zx%hQ`8 z>el^Q0`&V^39F3PN`@S{n~N(e$I~lMpzM&0ac|U_Fq!F06jch4g-Qufr0F$fy251% zdo`P9xRNA(a-u?UagR2|Q+*76-dcxsZ5#8DAm&PpjNvsQPc1ZpTNn?YCS2?P%Fdp; zmF1Cd`-KNV5wU^(^5|RF<{dxwkhZzSB^!4hlvuUDK-NR0R^?m9`43nsQlfK>i;FHC zap}~3a1G2o2Oc?b3q(A-`6pu;=S~4(FKSkEYQyc&-sU{Sewn_bep6^JK2}N8ygqHS zGLxU{LP5P0^KWg|p}~Ik%_Y~m(3cTMhbnKZCo<(Y^N&@%3LRwz;iT|C&SLvAoTIGi z75+o_;&u39rC(Ngo2s6tXe=JO71xK-*B3IwiA#?Yzv|w2SG%SWJlYO-kW6wz}+e>iPbWS_E zH^YH8Sw++E`nyGE4!Amo_B>clNu+;BpCtYM!5;rRdvj2WDJ*1Vu=<}(PIPmYu4JNU zij>-2PX{U20t3G zL*1tz;buAL)oJXfTDHhBb;fR*u^^8YHE;-^L}Z#n8PSUJm-~KeYU3%g)Q2`bCvw3+ zBLx&em{qOYJA0|8A0)%0^^?3MhXC!iIDf!LC}#1(z}mJ#;GBimgW`dXsf_Yhw&?lG z8SDR|sjQAG(q2sw>J7O+55LU12Z%_nzogeju;JA4P;equKDf;X zQLI8#I^H1iu}4LZzE!xLaN04l0Buzv` zbtJ%?P(ex|tz2tHKsMd0LGXNIpDUH8nLY?>Bwmj_cp&0*Nhqz01(GZj<&SpqTf*2A zhD?)NF6r*l(ZD|cB7^P&PvH_=h#K1xw84bZ&saQW`}_G{Bv9Gs>b|UcbpFt z^o*X}9~OWpb{?&Y7cAMKc6A>z zZdHsy9RxMpKi~U9`&URn&i%&0FeGNhMyOPNLPK)~$pztDIasBMjd6RB-6?f=okOOt z-fIprP)f@yZL*9n!WMEgNX~6|aDs0nY*%_!$AWH2|C&m7LlT&>197?r;zYKBCl01z zeLe`PRxV_@;dHpx@{`?ogy7?{2QFNVCfU*{2Od;z|itSf-o}GEmgbbFPjt4qx!$N0>g`KYgQ9w2O$W2o;|+Ii{>Wm ztm3hi9`$%*Q|WaiWS&l$o*%L$a=^W0u^>|yZS8R{2lk1~u);rUmyr_Y%$2J7Y*#?E ze~syT8pP0C>+Ul_%1sdiA6I_OF2ZZIATMd`$1DRN9IxeUgZ)zko#$1WZb~aKct(An z{DOB+fNx3zhtOC`7#s8v`1IU>pHfFI$^l$C`;4}WIi7rjw--V#AqtyN^R<-n9-REB z24lyWQWjKr&rmfM?a%Qf?W@feF1%!`<`#MdC4%3o<2%h1)&G!)Xp#BLA3R}W95hbG z@4~I=Bj{jt$*dP~8q$^NjN54~OT-4cY9Od=(=%a@W*8gHY|pej_LqJ z^GRd+gWQaA{cu#JQpVHgCDW0w+F32A8+SDsA%awnagW-Ni%0))U}w#aM~yEkDI61- z@mlZ7MH&8E1(;x$7$X|;7H*^OLITl)wSTgeDx4 zFLK8O;3#ZF4(Xa$9lT^y04q%S=0m1OlY=T-nkiXrGj1CHm!;=04V8{fiWv&Hs*42f zw7r(ToR$*N{?X$S?<1(vJx_8+E=zI^T{cbx3M{D4uY@+H+F6=GKW{YosFD6_xf{`5M4i<8x5Qfqn1>vCpyvsqoPYS3%m0@m z@@r2s40 zQcS<`U3d=CxY-Zi|C|`wflMQt@@6%!a^%PiN(E{T^1~2%yJ4|lS;_^2sQBB`;3)Vl znxag26`{FeLZJ>5_K?<@uE)gmZ#v^eN*XJ0oTgRP6{K@WsP)Zo< z?3`tDYgz_GSaS9N*Yqjjb|9SsIVNcP8+@{ClZBtw>A0}>pnYlj7r4s818-1Pdlhri zcOA}>V@K3c!uhh-UE>+ikpNt+W#gE9%mzsUY%EGw5zX)i8cn?N8~x__k&#mGLVv8u zxv5iesr?zz5>zBIQmm(pKYoORDl8MQdd7+PX+X7{$e3^VGdGS?f|@2&8+d-04NcIL zven+HRr_y28(D2{{`BYI=BD!->E{#}kP-M3CcLDsMOU}}oRZ~grjX3}9dJK_zP~-K z7=jO!Ise>y(PxDYUJ6i5u9e_^lMza4w(o`;5_vOrCP)MJH145vaHX0RohiS;eqKR7 zMx9ZFHu`hh9+X2BB=pbQpo6|U%!2~d-0Fo9Cw!rf%KuyA+(1Z;qT{PiGK663T%Yf> zJ{G|dU_=$cv9Iv3?N<`3^>&;#83EgTGhzs&PQ zGv*v6%j#Tk0!u{_9)?XQZ5|TtVRJr6oME87Sdczgxy;n5=qd2s0b>jpdB~s>@OKk1 z9S&u^*?l&M*o6)j^GO3^BFUpXikg}89ED8*>>_VIb0bsp z`#^A5EI^uZPFnnDZ|@FEwj3Yen~5I3PUUgU+Ml&2U10b*NcfP8mtK!^m(YZHd!@B% zY@|6-kekV))=8^K<2Q#jn5Q}q!E1MsPijp3NlMnFuk?(ew}uWpN1)Ey4EkdVgu6Rt zeA@?YGyzdLJ^ZjYhqI61Mnsl_bs*GEKmV9>cKKG94c)9LVFR8p5@LP=*Y;7mp}@cy=YqX_ztS_je8 zHPA2B3Fg0xJ6KFAQc}NX{@*gr*fQ1_%e;HC%{I%}H^=Qjn95}$B;%QWaqQNFGL6EP z01lBc4F;5CxmW0A-d>#)@kR|>;g#P=8FM=iL3t4>(FcJ@D!86^HTI%}WM{FRu}sO&x&2JQp>J0_mBP=lHkU`|O~ ziqXR<+|Qt&(?1^XFcX3R(!CCn@!QF$(DieYrc#Z8ar(HM@IfxxOup&E*us4R7tCCF zyH>8H-w%{ZoS5ZDAO zw6_gmOfJX>;1Qwxjk*+v$nN@UX_$gi-b=zjHB}(wpqOLj^O}2yjkURpnDbtk5^!-}q%41`=hb$&?rRxry^ZAv#4~McQa)Ht| zZPEAS+jpyD9CM5Kn*rtBJxS|jm8Q4=>&nx=B4qUNiO7Q#(uA4*@o>dOz6#a#fdAH- zhS0uadjLj+H<+fG`m_Diz(!3fu`@ZtxAfZ9a77&X_ywnEe-=W7%W^voYIhEd^|$Mx z+9xN>up%`qtB11Rf=i9tF#~UAvwYee4Pq6{Y{>eI?-OE$2t#ev!`V|Ct_-xhQIRxt zA*iZdZg030bq`Ow>(N?SYLBaZqT&?6z907-E2#)+@S~}WhscOALYXdjq?oToeH7&T z=ft+S@>Jqnk)h(Zz1dq)4mX``sS1CFG5+(-*n@|N@ts!?icB5y}FA-u2_( z9k8d)T2N$&>n>hz<6Hs&L9Z!v@IYkZ?j_aX3Ku3=zim}Z7Gc%nLpYLiEklpl=x*OW z^+9%&6J_TcC+NJ4iqr7PjD(bc_Yi!{VSa9iLHn{y-dv`AEROOiKyBP25{HZ*AGICu zlPElNPUmKk(joN+Ak&x1HDo$;y=-Cv9G8j(RUn-{3b!>I*t6%yMJayTYYMFMP${kna%f_kOdLUeViwl{zK;`=uIT6SU`zc zzClwDS;X2O>_<6J(?inBfYCFIenz4eL87(s3|=>ZUjwgZ(C63mg3k3LvH<96^7g18 zaO#97+WY%1ogA)QYhy%4eJXLYIft6?#i|NFXPro9qulaHAzzRl=b61LM+IK&LhrNH z{zlv385d=_dx&(XnIsO(Bnl(Hnb7v-?GKv~m6iXUWq+9d3qIZnvqWb87`O$^oIA$jC65I<-oaHN(;=Vr;V?qL-?ITDUTQ~aKB)52(Qn>JV%?eW1Y zuuU)P9%o-+SnT4huOap%q!61?zI~o-+o(%+sEai1Jv_<|NA@>+^X%r9&K>K={3j~# zeVA)L%b+$+Px`QV3|>YKqlwpZ)f?ezj6o7ALZT%k&kRimrU7^Bn&YMNnKVhX$j!oXsJ>|rh3T-a+baDIx6C)<@5Y< z?!T&xWhdvtp>=?6#X(&&ZjfY8_g5oC+Wcgs{QB_Ce4x(0IAXxkD{gLa3wkZ_V9Om} z_Y!9-;xIxwwg(oHPhDo4JEC(&c;zQj#{5ZMh>_aV>Q6|mlaIrgnhhwIy{da5nTV9z z@?C_LKf&fyo2Rw{-a*H+v_qjJ=SQ5Ju`E+jrZNyLr| z$y^f)qsYK+vYo_eNh&<JdoL`-Xe&%zffSIW*>)Cgf zU}$M3G)aT58O|)Jp^h~NnkGyrP!~)^v^f2jKJVR`Zr~)$E1rg?xB7J;8%ZFsshDC} zfoM*^7(a3?4!9nco_g{Q3wnJkb+J+X*xwaNlK!SPt*ofz&An&Wv`I%0eaM@%(WK#v zhMpB=l?u->U)w@j4_&@)^;Mno1=@e&p6)}Z&XxnJ)-}@MAtKB4Bq4O;s&b%wlWEHRvLV*YlH(_#+;O&&2yuZ-SH}@ zFFtJZU|Xwa7Z-F9s1LJ@_iGJ{(PBl|UVppAi)QVJ>5Za6udfCDR$(p81T?6jWa+Fu z)3R&||41n;OwpwEt)^jJ+D%3F!&|U^_52o5d!OXlQt#`y&n;wE?gftuEc{^RbOp5J^}Q@{?h+O-wjw+$x_<)Z$h4Oz zu0@D3+~r@CvX&LES;Qg7;vWIiwaGZ<+!GHe7mX<2F#~iZDRnXRlhf?FmoOrGhD|T_ zhGiefgV9l`w*GxretA{lb04mJotPDeH>d_bv`RbGSfd{`SX+W6yM~?_Wfgop#vqY8 zz%F9jU0S`(3;IDYwdyLSC~xnHkr^t5<$Gpwfy~l~($@M*!*q!&;eo<&qq|#BNfhyl zY5NtHyL-aZsSX~@IP5YDJ|0H7Y8Cf){XB;_FzU9#1Z$H_rkV^qWqfL}qiZsZ4Rw0C z-tifN^S)ZO5k8BfoV*@;NRg#}iw>fH^X7S8EKS>r?xx00TscBu%6>;@R1lm$dZ4=t z_uqm?Tmh+aleF3Z5AOelPAqn`)~G<`5WkmePiHC~7WIBBK?sIbFHHz;H0?ll_bf{F zv@VLGz{Da-(6fJ`?2upPR_c#Q#5_B=m4wFjD2B(yPW9MrjyHn?rgHFUk6cY5BdW{O zme7x?{8U%|o|&=4(dzNHhdI*7CehgJ&B-C{13X#9&_o_VMKn)K;mh^Uq-m1kBi$N{ zTU78jSjowlxEyyG`!$!laK`i3U=J(W80zBX_~UK|H6K0_t*2MTM@lKmWU=+&1#PA# z%-@;vnX1^+-Q0RJe=CKrb5a!bj6Oa6U|}YrA;Z3N%QPQ~T#{#J1z>$HO}8-v&tL1^ zK5VGx(ID5L+ZZ&cpdnT-j~*&35UA*1yQ4mPU?S9;JA&x%R9srHWeq)Ob{)q|@40%% z^e{nz1>;5p+*r#|^VkuU*wk}nome!0szvHU+os)`3JFqyPsH!q0u5&c!FNStZ&!WL z(18;Xlbcf^P@AF0{RZA+;ZI!xpr+VZ-(p+6Tn|bF=D}Mou9^z}{B!?ptm?chj$#F|E)YPqlO0W6Jf-w5jyr@B z`jE}sPNQA}$BenPTO}1|6w5a!*2(Kgpf9FXv+a2LN%%-#e~GiAh``a05sq*Xv}4O{ zOwdhl6$6a(+v?YL)<;Z+BVPkK=Y0_#qYYp!Yd`C$^DO;pdl)f)nDHDmUQ|Pr-Y1o| zP1uf#OpRg;umiomboL;Q!Y|EAcpt(kV4y#@KF`CB-BcKnEQa0G@Ctiv>rZ)hZJT4j zfcFM_y=-t`y$_!BIzG`OY@l!DCPB%RUgMNL!isuy&14ZO`|ZAf$b9W=%t52Yc#fAF z!JLb1lm_gYbpKPxYZvk4d($hSURBvRXoiZkJK*&WFHyNyAf9^{8p^u?m_Rgj_bdi9 z8XsE}a4<`Pa=Y+Q(Y*^qvI4dxvCv!v#Z|5mQGWww@{X1DABSACqyuq??bEjsXA8Kb zSKc2Y8&8`cve)4renfT@*W;E!v*uPEq(y5+f#%9rGXHlioz!KY;Ol{BLUDH=hh_h` zC#G$?6Xo1BZWo*}6yl}YSw$oh6A^7mq;wxl{1viuh4z%9g?Od2_-hK$`$TNoO23@V zuTuNp@m$72T^ERT+H<0QJ=-YTCKvNWS3`>i%Vao^DFE88D?cKUsxG5kj16j<=h7jS z>p0S0f}=^-lnOk+57Kmu9{uZH$fSThhAX^it??)ouILGS+=E(a1z}F_T5m$5VBfy< z%mZHS_`j>PzU!7E!E_N-nWddK;jq@jFUYsJ>eOjEN_&d#ITFb_*o^^J^gcy-JI}!@ zB*1x@TkTj(4H}p^wiO4q!t-B82t*a4CM!H%Ra;;Tl~SY{!iH!qLD0shX|F#Qpm~@{ z@g!de7uBN6|4(a43T$5ia~G-Nsmp4LSN_Zrrie7+{A&BTdahJIM82sR->rH*Hcsv^ zS~WG(4^rZT$K5m4<#k}OC}Yw{p{|Is4{W8R((a90g zqPMO^&mRoPC$=JV<=@oB(r1Ldrj5G~D#R5v3OKmn$RT_)G^PX`plRvKA_1q5VO7jh zG|BeTv#g7(6kTk+VsGkpAcdO4$2j2cL-2Qvj)7{k;ixj1k@UXo_TjDNQR-@cw*}5#^BLET zZo4a8cGdeN;1}z|Yhd_OnA5%p(7}_jrhrBXNvn7jKC=sKukRJhpoB8%vm5|Q8FYgY zq+KX@kpq{YS8J9?*kO)FF{g9w(dJT1>&ECx=;l6mR|s6f>H`O7L>Y~ z^CHsVgC@8ojdDl5^V&2T7#I{Tr5Nr}I)CeyQ|lJwG_e@nHK~O|RHa5;j|}~nzhm)u z>+w2wn))W5)+f{qwdA`*+5{0tsYiIBhc-JoMX9eaSBpp{14~otlT&Y|2EDgiee~?| zndiv5bdXRtvl!j_Xv)_Cq5onp<8FSYk38ruI4=P+Oimb(i!HX|Ooe7en9CC`$ ztvFhr(L#*oArz@vackG~iW(L7hKYu~kj?H~-*wt`;gHr~MUP0UAgyR_YGXA_wE6ha zMnq$Ya_XU;d+=6Y2bOm$Zf=ukf3^%Eoi(o*JTjW4ww!dK#)i-8F z30RM`lZBJzXjg0`!_eP2yG%Jc>eSPo0TxyqWR}*$y2{2=gS@waoWFS9yvu67!HEq2PTpXv2H`UkSNpEyd-@Q4cNzPi#DCvFNH()bE2BbFm(<|BE>8|L@$ z2}%-?jSS1r5~Lt3Jk_E9;*C^x&=G)B|SalstZ%OXxTw>MZe|5g~<3jkBWSY zr#B%?$sEMN^|-??*2#*m%>Sm%CA|>2cpL^u1Iv-!fbKt|O}Rl7TrHm7kc*>zu;M!j zGtwwNR#A~Gj_^*BB1i<$d>dwpjZV8W-N<(5_jVrgF6>4%_Q3AAGodlvVOe-)B9_RaSzeNv|Ll4X13I>q^k$)@%cfSxYxpHbkz^pYE|wNxgYzE4pUMw?!V1jMR;lJiPXI9b_OIU{_SG2>koJXXW(| z!j2s%{7LGgn{TlFIl2Yk306ql<@E!9?4*^>=n9lkK>zbD?CPjSdLzPX%y(ok9-fgo z&6@ZaSz~D_1^ZeJJ=cw-)O7AH8LwEAw7ekE9sEwUJHF z^Y_~XsH37j^EbB8PW!5Q{mdXAq717Jv7y9 z-?bWi+7ou6^n8h&g73Qe{IU8A^HV2X9c>i=*zB>bUBLsyM&@UWmvz{VqZD8!nCdhz z3efwK;wu^%kylecsPX_mMFT%sD9TXyu;1X=1Fk*&l62DQy=Rx*k|R5K#~LnF7h=KN7l4j)ympV*<~Sb`DPtQ&cp7Z7$AOAgZA-ttebZK;u*4^&Yx=c zsVB})-3DaXyRzx|{sTAE707%=(_9!Q7GSy@?qC>L*6i7yM`OG;PuPo38uI*aqa{X| zd9iX`;HQFv2QHLI2s=gg%H2ou-uvl(RnwYjXJHan%W+uOj{yfHn=ro!Io~&qU>^dB zB~oaX(T(Zfr*B)Y{L3X{raw0{#S?#Wr2P{kWgfeS66{jlP6bBTQCDmiI#2o7O)o8;?yHuGpoi8Ze@~Nn9xG8xaH5zG$2labi!8fh8t@y zc5u-CId{kGFdpcJSw;o_nD*BAp3n8L@25Q%TG?my1G@Z2oz~Uwf6+v=k)W(%-+drx zR+3V6ycvv0Gon2Xd{*=MX~P&d044nx*5T&FM{a1Bb=)?89__`Pt0DH#(F2NQ`^y0_ z2mDf1;Wfh2hbF(!z<*NJOA}=RD$(W zP-K_IB_Ht9>wy-Ml8mmuF05#TN^k>ar}qnGDHlJmo<&70UH&Arv?mK{Ko)Yvf7-#u z67r-O9S`oMT8>*kN*Izv*s&~|TUT4xRGFgJik~eUGMVfS5?t_5To+!be-l1m-!VC3 z`JM@(LBMahA&$roi{ccD;|wt&56q0i?7GaZdyi5lkt)^l$JHN&Zup$_3MqsN!QCx= zRy>)#l{DTJKeSPQIA7H0;Bol|Ew}s>XUyx-OIL^Hn~N*898`f?7DaJstqVurgXvUR zU;LIjNkBvL?x*o6GB#FZ=VeocG>t(L`Fei&e!gA+Cid;+aR_Jv-(C zg4&1)>hm70XFbYwtW>`2{Q6>*^%<{~D?IQ-Mk_zwz?a=>x6MJ1l2;`8TJvt)VI10s zQ^4#&VW8Wn0zXQ~{gIjIx|?Pml;ZHF7DsWy$kvye)t{OQN=s9b%ia@wYpo+8*W4z< z<+T^K3R98#&()q39H0@o z?Is{{h4{#e5$(chCUnjGcl&GHMe;+rl2h9_A0Z5z2T`KAw>HN0hw?H1asQ3oQb(9~ zGPpJ}?Yu(I&Xo##EtgmK{*?$wbb~}(i!Ede|MQkhgPjjNRzY0JnzX@NzIeRm9RK8K~#9pE-P4Vk- zgU9t7|E98G_}|YqS_MhlhvN@GGnt})1&oOIeShV7MO-i-f%`Ef2(rRz+ zBQ^>kI)j1QZ*lmsc8zKl!=bv3!zaD6Jm@Yg&Ag1KeSv34;hf`bPYv&?x1*I-Aq)kQu2(%Fyi+&kH5qLA1^LuCwyhy~PJ6&8CE zHab#2+0~}^d|sb334iaGox13m%?t6wozz~EbF!z9{>z~3Q4)cW@Q~ldQ2$lLV3@Jy z!Xw}dQ=iz;QgJeHlDgc|&2!K3=u9D7$YKeSc^_@H*S8=HQOYnX52fdSo9uAn-*)0$ z?;DGY%_*CEfB6e>SuDNzWmzN52vuTstB_uB6EVuD=z+U92D5*NAM#Is*gFUn;^4p( zV_SZG(N2l2flAwwY5#1$2LUbd42yvtY2oGe*(~MnB)xaKEP5hFfLM?+7-K-#6_{Bq zwKUp-Zq?N(Z-vnO%cJPXB(t4J#w_90$T;K;FS;YMg;-qFbVv5bGjGNDlD05 z*_m;7Ci;t#%?>lsR4~ermGjB*gN?FUn_c5^vGRER&noKq!kY&CH%EoNhqOcXJ(B+# zKDxQt;-hVZBLKi|AEXn9h)|W2-V%61R$Wn-e>Q={JH7h zg?#sCe&;T-8TaUpz|E?I&xLGCycyjB_YuM7{2)BrEZZjM!%Z4bom9}I?#zyF)IAXm zM;{a`*@DQ2#YgPhVja(WfPW&B4hnAbg#wq0h*B!kP}y2aDyCl%C0v>B*Fb8~{_)5g z>;fmPZo68Uf#m^*&f>4DIsDX}n;3yVmfK!%gC>bK0R0d9Uldri*Vk%HQ=CW;-mZ|- zS^|}J^iUkdWp4Ki7=9ZEF$?<tfr(L@9aI+N{ zU%?NJek!%hyeb|YGq);%J`1#TrwA_zVYS&SUu>ec4K-F(PMxFv?ePv)+CQgkO3fK^ zp<586AN&k$gMnAi7Rc@IKqR-Gk?tvZu}A2*K|a8+9kkPc(T?g*{XqW|UHvM|K)7S* zV3KK)dd?frc(CLI_LDX9IU_lUpTt%cv8z&crNj#R>;+3riKS9T7_VwIa|=-gE zVe3nX2P-t+=G&Vq!bu6oUe5lm(BbMO>tIOP^-%gVFX+gS(jORBZ@A^}{=8L1Al=8h zM6{25w42^-ev_G|jqw8Z(*d!p*wX8oWV7Q)25P%N)Px{;W%CH{NkD76u>g1vAJ6`e z&;=D8oTZ+ww2 z;LQZ$MDfTELnzy|w>` zsV@(NdVBvrV+=yZWG!psrb0{liWEsg+C}giNlA5Tvx5z|@5@VZ^Y+)#A z8A(PZbGFfOjeTf>Q)JcW~#5cI9*gB$=(O) z9vw|OKo$oUh~ke7Cv)9HI~)%p);sg$gF9J5Vu0;s0J8|2HoV~jzt!=~D_u}qZ!kj( zJq&#kzo-S0kr+ENURuJaRr{@9s=j+hifKE$C2ld9BjO;_ZXQC^*w1u-3V{!#LJMmN z11yVVtrZ66uZPr>+o_Hf0-w@6VKkFUKOtS{5$@}GDvO)|M1#4g8 znLJ$znzKE2JPBp=k^UQ7C7GND(E6?ClDd} z!w<0r2{se;@QK6^R3DBz=EcV@;9j`hdrrmivYj!AZ{&y-iGw`x_^g5UzE3aEvK&^#`zfK~Q<({~oKZ9ot7!wk6rc75 zu+Yx12yNrTpAlEE6*Hbd?W*1bdpjkp2yKnS!{t$6zDSdvLa;YmI^*QW>rquUavknm);0`4PDCp7Wg3j63vCn`IITIWO}|rHDk* zJw1^6F{G-p9R`z(Z$&NClT4lg;|I(@jbtI(7F`X&Ljy+VGoURWgzHy?--2IrEY)u+ zm4#z1iUq`62xbalrmX~8pa#94j+xJ650hXhbN+-zvpT!CZ1a7cJ}EakT$FGR-u zk%q?WyXD>CbVGT}x3ir0Xm(oH3FvTu0ZLe=CCjR&<>>kYu*m`>4*yfYGZLN&GBSPK zoQ{;kG~)1Del-Vb&x;mqiS*3TQ$oPgnHqmJ!t6Q;76DF%gh`Hl$il8?!#Fc-V#9&;z-FS-W^Y3aDZP6|F+(5h?IYW5!4Pz~4y)l+^g4JzXP_5k zSGI`Fs%A{I!90WRzLr3cuoF(P>n;yvj7vD>s=f|Ph1k~JG6|2fMtrU3+L=)#6m5bD zt+G)nBtSjV)IB*qK3Yv?hgX(hEPqfTeWXf}pZe_X#hu^M7!JxR);bsp@2DH(GM>QFphs$vuy5{ zhuaGx+=4IXw5fs(43QscEc+U0`=qHhyq1qG&wVuA#oG0cZ{zpbiBa;HQAQT{flo{{ z8+inv?RFGsx#WQcvv$R`Fvfer8AZuxYHhOK%4fU|ehL{ZG>qd3(K!CwYlPTp5J2Ek z)E4zh6|jGNlf}Z{6O2epYNV66hD1IX^|$l?|q`(?}BG zf(LkLZkgM7B{x7fzg#V5cEp$f)S&y2LW2JDh1)q7vmnKW%^So8gN?5A461dwjd?!Ehj3_1mtT*;+H$s;um4F3gpTC-vS=%6Las- zb>-j=G?CpK+mL2d0Bf&A4LfuR(tPdlDg%U({nFQ1yh;k60r@2V?!hoeh7eHs?+O;r zRD5t0S=$9qnz#>&{rj6ZLJtHDQvVp_^(DtFtUc~9?jJx|BHjgLj6+T8e0bo{%cfwW ztcbzd0hnY**+G(neE);>7#d9L!A3~CA|>j>px4N(9vn2Ch0;Ia0exiZjzx~y_A15y zlN@D%ZXb`x&Cy~J7G_7OBA^traATaBR=iXpb}e^BoV1H#6#PtIxZXL4pS+e z9^<{6!wDdvlKE-g!vo8)>^)-0B0Sy|#RCI^f7m!XbekYEaL*zLH)WQtq`->&?D21k z2syG~nGpM+Llr82$@lG6=Q!=@R|Mk-xE~n^@bCg5Cux9>5};X-vuziiS=t5BLRJkX zD@`3xdwuUyHAgal@W4)Ar(O2~8NbdvpzXOqcfFBF-9kpCI8s(Ql-EeeAKy z_+J40!2-bJ8OmhpK4&IKAn#J-JMxBxkc4(l=kbOojqqZX{I%vCR#9#Lk@;3eJNDY% zgwkK$dB5e_M}Ay^pR9V`0cJ%!}3zl_9o3HFi8E=Kw|@L zuk;u8c--O^Eew%|h16g{2Bk8O6ISw}3epH<{)O8Yo7_xu0XuuUDDv>y@{3GY=VitO zIiDg;x7#(tOqvRWaUx^<9wd$^IoclPsJtDiNf5krGUfke4XdO~Ya&$YFHs)?gMK!V zIr_39ocD8=hB?f;7vGw-hJk?pNZyLtGlsXBT!WYRT9f`lOu&|}?2Bj^{r_7R0u}8c zeWiR${cY92pDh^4ACz@O%g!8{%lcgP|Hst(O^CL{IZFBm=20Zsp92Yx{}uTjDF=)4 z2UYO<@__=91gqj5=idcGke_Ov(F2og1=zp2Qf_(d!C%@f51SZhUv?5~bk^_k4|Bj4 z^hpTnzg^0OZ%$KU%5pLn16fFL1Ap0zFYF{DqL#9@J)X?i8wT38_bVdj0SU1YwG*>{ zUj3kgB1<B3wX!}z%Z%fPKB4cC7WI+4Ki!WyO_nAxEd{FZacLxl78am}`c zBUJe04*)9nMmV(xJ*>=eyaXBRs!xs$!@(YpQIvR<>MB`x3%R;WvAIVE=h!-*cXw*4r1K75{$5UEiJkD z{NkyiG(|G)-sq**{M7uW{Z!@@55GXo9%uk*B(amM=<;bXP39fuT3Hq|{u z8a@GNE>PR7Y0C)Q3)^HSNrl{(858E15?{{e1tAQFWygIT2Q+7y)3Lg%KA-H%2vY2u zHgcP?R05#O7m)Q(pJ6T=$z^m?80=*ulF@UNYRgMQv+r=(-meC?w4SeUU6PNPLC=|O z5+LXy)BHQ>0bD&_fCJ&VzOyt)xcBYBJFAB4Ou;bzpm=CyUSHMr_}b))Vg+*75bCMi zst@(}q41JS75Tm1xo8N(hNWEkg5izI=R(w!d9&d=Xua&vA&71I(lpi@GVcJ!5g$G> z5*S(ZL)WV=Mk&#b!$43=$Nq-Xdy3w}?k^IR3o0T-@Vy$qPfQriF~5Z|VNq7a$TO6+M*3Ovq#^$-^Qg64wtbzkrvT92KZs)B^uXX$>S}sxVUU zm~TiCe^KD`KQ-H)+!ms(sjSFEvrX6=UO7kibX(KlPVjqiS9w7}db$Dpm2vrdFwguH zNE7^fVST?M{3ZN1YY37OHYBH9K*V`4hlPrrfPjU{c$}<6NCISKulS z+hhD4&@*2V=Ooa5dLHen%F&TLs;iy{`wA zyg%f_`OH=xN&t5e95<>4;UdfYt2&>80!ui~^l@Ab1cT4o_{9h2L-@x1#w)=WEFrTQ zd^vIlx@pV(`F@;r7nu2ozqQo*KSd~d53PXb+5Q75yZkb z^X%unCcuX$5WRccy*%vRTo(BBExxJV+H~iO(_6ZI3v+E3$}7bh92MHPU)(&|j)nz| z&yCsh`6M!U9s)AbaRnKa^{1#ste;&DaZ7C)(r9Vx_ISxugLRm;!b#MPw72Adq#51ip~<+UYKo&3A$QBM68CH%BF zZ_+eA;3xz`oteBV4{Z05bYWg9MM5?)(uACXVgIlGJ*)|f*QyuPiJmn|QQB8~j^as* zHp`Z*;Q{&9PlNqxWudED1Aq96^%BbtP>9QWd$6YYeVi^H*U`!k#e5D^N2r2fuu>71 z9nPoe*AQ-JK&pLA+M(GEYm!)FL3&wM5bBBuWaqSX*}{kN1^xNScm361u}vXb9M^Tz z^5Mp>O|ScT-w5QeI633ScAq!HI`R&P9sa!KDh&k;@&_(|J64CHY_W-qaFBBPfC{oA zj>AB4mQ6_~N1PACM$*mK&er2EEr>yI<{U41fIPgL6E8=8sp=0S@+9ZkxdJqh$ySjq z*Zd?$!5w7o5?G%I$idueSx&lNU_y34-OOdGHq_EtI6m;kuEC|kT?~c=GTL@X*Tx0% zgPW@OQV;wIQw;>ee1D}PZ%F$UOCD~AtFg40Q3Dcdyy{MrV3+Zl&<&=py_b*;7r^F) zal)=(B@}yvIeDq;bcP~-<1Ui>?A~vZTup_qAQU$z5WJ|kIlz*I*z?N`pxC?ZF-dXzaW}v z?`L0l2to!OOr@%$>hfT@sW1Dh$nc%A>5EGx`tVw-;kDkNM^q2WtokN0ZZCiwOur&r zGSqsmX%=)6f7EoX-zOyrp>X|*CvZ=_s3?k!MB<@H8Hi)a$Iq>YbGs>CY!2B(GbQJ1 z-W=R6yn$B76)-KWStT;BU5FzU>u;t_S^7E8b;U)yLDV-qjuHGiFnyJo+QfNz%oj+L znwM{Xs5r~d?!%wVFZ^Nk^+UJN6&}h1t}?f~*-N@oJM8O=Qd;bK1tnI8dXy6)2qETh zXhZ)sxL&r+T&oFFyS`IR z4@l_MdJKDPF?B6UZQS81+(b*E1uMS1x2v9MBrui-$f{f-Dfbupce2i<=+kqp(<5}P+!i!=L%3j=5*y5V+dp#oPdQX7w@__NL~v<|DW;wMspV8huuZ^U1l(Z zs1$@TjAS3enN zF$XT>Oh*wNv069ox6Tnm9n(qIvn& zdv*YAtLbZ(h6Tx$N#apJKFB>(^r@k<{TV(hhwn*J)JTq_Og$v8s!S#GALIRi#*a@^ zF`h8bMNxuqPwk4sD@H?w*+)c3XGDh?+edJ;Lavn1uFWcueQnae?*eVu#-G_4MQ2W4 zgc3(Z`_8Buq_e$mkL-EnpuJU~wtb7|8(#&O(`;Pk)yB{sc2N44Gk6@qNJ z``SMjeYYZ^-h_M?1@GwL=ZcLOTE80=T0S0#Q=9Efa#$+1fvw}66rvU%j@+m>+fI1C zQvBn1KmWs-4Pfn$kel+1x1QZY|HIK9x?8yiI&^BK147i&m95>{aqth=*Yvi@A`ukf zTBafW(ijtv|I;rcP9eEa9Z4e91Hu&Hxaeb%@(=})CzwnckwTV`q~Msj6WlymIr6uc z*6f?RJo}^Q>Lb6P=WReuYf7154zv-(5;EEhwhsA;>f@~1;{^M>7HbaQGmXo#Hxq)t zBD^@K1zU^e_YzmL&M3yACV<7BV~naZJiP1DtQ(n4eXN^H{%29 zwgKV1w8593G$5|HLp8HDZWEf_r;@0Xbl;qED5UQn|E;fzIh@4p!s4_#uE@}a3{vhj z82|L{ZFO!Z8W-n5YSfX^zO7{BYNw>t8Di!%Z(h7>AS9R8{zHh zeMGZxkZh2_<{Q*fbG)j}xZ# z)J9!GCVk|-_IT!^qPa5R08mD%F(AV;&)QdCy4!*FkR(5d<-mdwqs)PK_>=X!Ac8gv zFZ;#zEQ;dowxFR2gNB6XN)igM%jd0u=Z1bocBZT6=^}^d+nDp2O^M*UUyTBwvNl?5+Rqvrj6P7?+W+fQAHFMbn1^fEg;N18U7uDZoyA$ z(=+y_#WG;}In#1>j5AjvBAlf;POp6CBuKl(HCnZMv-Zft5>=Elr0#L1WIGRtL5R|F zcz>0WGeZMNA0Unwwgf~abISeTY8o61mUG~0CKAs9_5to%WYo3Fj#8aDvx+b9`|e3m z4oR8TH_O%YUIlFLKSW`W_kAV%)*w6fHt7;!s~D_QBgS1phDmLDKbeCP&brV5kpU2; ziP)+K9RaNn2Mbx`@7BuZIRV4$s=o}pavc|LX@mEsM5&?Q#~<_ics&pYiChcb%(&9> z*JlUp$*p*mGCS07J8Dm1%g1OHM8sY5wVN@+Jw3OkaQQcTWvp7xeUA)5?bkatQI+&# zp#eo1^sM3dR{mfHLqy=$Zyy23)faPN`n@ zrHF>m3zW59?P0t(MkUBY(n1CS$7tVizI1nQL>tV$G93mnS%Um$O=Zr&x)$A1O>QTk z`3h*eZ3`JIF9d|NG=kFo0=?yX>yC69_Bf15S7-L?vfw2FdkR;!l=g`CX)2Oi`=`?z?=RB5cz2r~ia37Lna~%@ukY_QX|M~ z4C})m7Psmp-N}NC>Kj*(G%B%9>MAIm3{#1~yt%{BaoqYSP0F&Jfd!d`xfOu@n&dZ9 zk$BMxm1@7H(TeZAMcu?!gc6^x-D<+5i#h}qyLIf>+_!n-n@(&>;zHF34_f%K`_o2q zqK#iW2CR&xrOJ~M&pm}AjioxibSYb3WiON{sUShHUlIN#ymS*r z`#Hr*?S+Vj^?cjzF&tYvI@5-;?5_%exy7loN2G9Z4+3BarroK^!`D#`L_tEHp3fRN z4wte2srf10)B9vm|2LasDOGsbmpE?j#$snOB?~8s#F}fH;CE;$otPMpR~tc7wy>I% z2+!SU`m4zm=3(psQ6X@L>l9N~L4-=tP#8f{3GCP1arrh(l?Gqcg_0?~&rv{(g!8*N z2h>u5s*rD$e?tXXE@PNA-Cz>?`}#;n^K)5_>4#aFmMhH z$QKh=YM*}-27;!~^7T zw(&3TgpcBO8DOtEh&P>dh7hG2%;MX~!re)HadzECsD#swZ@tyE3I^`$fgH7dMPwF0 zaA5?u@?Ry~tj9ggZZUrPesJ;OJ7g&>uWhS7Ac&blNTD9k4oMw~p?VWq^ihO8|Jw=e z&O18_x%4%73_V+g0Vn2U?eC%@z6s^ElB@7*W)9SVXhx-3xd>WsMCt{~hB+EqWL;ds2hP+f!<>e%+e-L4 zoh@KdI2*pZcHKItpVq{2A$R$^2Mz%tVEyK-vIx=5VZo~M3?-t{w zdY|PqXK~WQ3qI<=%%0kFv>f`fj~w$^o`3TNh8tIUzCB61ZWLID$!xl=6=w6LDoHmF zO(1bkXrrUqwSs2MRWnF$XPBjZ6GWovf+OfN$`cx8<-dS$a$Hi_4vMm-EMevRQfD55 zYk3{ZJYyFbX3GE1XZF(?$uK!jawQxL;a8)n#6>$|VdCK3h8c)TT86j7z6hm8&SUz> z6^7CM@~X@4%vwL861X?aHt7DpHB4(3oEX38Joh>-+7Cq;%@cf6X*8e41MU>q5h%z_ zrFvyfXJx(^*8T@wlT)xU{vw)imb;nN_Z&!bxlzJHna<;UmXDb-J&+}MK0^Wf0v8Ni z%L_sGZ3w~H@cnDoy%jZ5eXG=RC`M&xg8KBk1x=ug=%L7%{&XWsIO9ZW=&paB@(gA= z%w0TVj!Jz^s*12r6#-@kTvD@+o&lE7%f-sOT?cEro#vr@hZ|iR*at6KCP{9DgSe-A z;lHCla0;qjFMd7g2oj#@LtZqkzNPhqe)6ztP!*MlU~1_{p1X8<$U{yLxi17d zxQPZgFXLz*pQ;GI*HZ?{Yk*Z`RmpuBi>%v=d1N4=B2_7WeoXtL}?}DswWnFC!IYFaKF$xU{Z9|Uv+>MM^+UFE18%4A$HUAF zi0wy@M0_n7`>wEJgQ*gUNAi*AWg*0iMrksQAVEJk_* z_IJqkKBxHu%Ao0Mrv~Xr_$)4v_+sq3u_)c-%b08a_;FbEfvW>dZ-|z;<}Z%xwBAG@ zB;2Xqs<#VM0-&7wdoKmXrj2b~;hj=gFoVAgvwddds^f7Ymhs#e+U=6lRt z2|I*jX@W?;YT1s9Ki`XlLC&|l0P{{B%t66qTJy`id0reOKn?g@ZpgMxOTkoFLIH)@ z)v~cAYj6+v&2_F*aMdc;=1ZK#`B|Q%?(b0VgVn@xD*iQJgnb4d4O||6!;5Aglaq`u z7&R0ixU8wMBYO$k#_obXq@EcvXi{!Nj7fS#qd#A!w>=qpP#{e59%epgB(Td!~!$zw9u8rttZ7$>#rIUe&(R`zBLnN2BJMiquAri=5 zw7Va`|NTm*s~7t{$xMQ`$Sfs2HCcBG6|bU|FBtPR1%I;hCW?K`#xJudRt~h0aZjChy@;CC1PMti z1*M}MuNi^jmh6kSTpWKaJVVj8a;I`SQv28?obL?{&1|G}kN>#{OX6sSQ8kRa#7vYuAins^-@^J5#rx&dEge~mE|7gaL z<2f(S<~mAA%vlrL{Di>=D;#IUcN1u{>7+^mTWg|Ul_GQ_!e}SU2Itde-)Ysnc19TP z#(D-Gow>8gqCk{~{Gzcs%GQ4sP0K1#kd3G=Am4t!#0TBmk8eO%vld?PkuZjFvM8k)h}t>(&&0MtFI^9_lsd*BQ9&pH&I6mVAh?nz$TEB8k)X5oMso0 z$beJ1>AB}lWR9ff81c|BA?cQDcg~i1Fc*z~A?{6Z4BUj;%szH%=qS+vCew)9%kSlS#GnGfJ0iws8O)-0)1&Kfo z4lUW-hbT50H)E6V#=0uGY`NZg^{8D(&E?Cr5Ro}X#?5?o{&q!jD*30EoyG5>vX#oc zeoACqPrlIh9V&y?tIiPBWw%k}g1bCz%V)*YLABPf`ti$yr!si{EWzuuM)3;sV#H`^ zhRqH?e&vj*(D{Q6nR5A{??I_IyQRbHL!K+OqIgVB+bV2jiJ&gZ_%sgb@lV;=F|Yd|Eo5TyYPm%`WF$&e75atc1iUJ^#eh=j35g z$PJTEJ68=B>h+ZqcR!yeD%M5!cH>v#UA?>cqd5k`;wAT2rwkRyuGm*8@%=r}Yuhuy zVqHC*!B0+etx}B8Pi_lB^>yR5NVv6S1QpOnv^y@7s!YBm^Qaw_(rvO|dYqZ&tXXiO zUjul)q-T=*=F97PZ+`nHHfFiR$Vm8ikeVV&`b~&}yr!1IUl(*%doSk^Ucg!6mY;vQ z=fhwu3H^p1fOWWr2U?-qnDs@DT0({VJs(Q%S&uDsQ^dTjf~DO?qWJe#Bh$EY6Dh-ES5`7j8~?QvTR?- z^UfJ;Y!SoFt_JOu!e3}y{XJ2yec{=uOBl?&JcbrHqSI-IiEz+Q;f)_5@8o|n1g7EZ zS^F~0O;=Jxvlxc9KXA$(s)IFP|-ZpPxFy(7QHaaR!dpr_xGbeCk zOD?O{~3RwFbyKKJOrh@q;wX{yOjB&i-Z`p(dda>&G?-gvV3J6N1k4PR~eg5UU zbh{T-*y-wp=cR+|63(-w6r+2 z7e{*0=hVkti&no~PP!NZda{Ii%SRQ`mO^x-lrP+4*a^N|6x5kpr;nlOT&PEpVKepq z#g0DNSExR@|L-&1Lyz)R^oqUw^)Nlz#nHWP)Jcu$1?WQ-G)fPNA)}UmpEug@yJ7j) ztEMqDYoGekz3&9$FK>pw{lpKX7XBD}=1eE-20;)H{*mz_>hLx;e0|liCdrU9mO*pS zYvESMA3FW;dB@clx<;g9YEYMt$AslM+QLZb=7X=#d7OKa8mmwSw##IIzWK%ak*N0* zKN9b6-+-HasBmeyfWy=1_ZNn&Q84(U_jd2{@LY(3?B|k%)dvhI51o$r0=wy`e4TQr zYCpzKG6nheASrk6vi6Bg2Av$l&>nMrscM~1y<@AO#p;?k8NNl=BX^l>^Y;AC=^KCZ z&~!>P+H4ARih>zBL4W;rU0LAYjY+thdyt11>b@$3{pRqaGV;1wZ$Oo62b4=*cI{1U zYAAgE1FTFJ9*eSivs!Nu^yIDC?mqwlC^5}3SA{1vwHEBgccVO%5f_YewA1`K>f}WW zz#cPwUDI`7&<$4R@pr#$0*$~`nA#f?c^w9I|_Ylcvak#oN0Lzeb#vePrFYeTD&vEq8)$d<# z^IJ#u+`>Q8F>b9gz)5pyoUy!;wVE>;+FjI=x9EH2S4uYLrFFY4?f^3nKC|nQ{`y*5 z*_TXTKc&Q0`S+f+P}Zh`ZCu|0xir-GmlSGq#F*sMaSKll`#UsbR!BCj=>w5ffRzQS z;p}FZmpK|AH|l9$c)YxlqRP_%QmbthHhnLeW*QoNdA3>`ZP+wWulUcT-UN}Fe$q9? z+Zw*4_m_ZnJbG#au5)?$FjREgHh_2~P3!Gz#6x>LR;Cd~YOh+3Wjqm+(P9yo(~6Cv z+%Kju?zGdPrmz9m{pP-NyyGX%&7+J*{3yllsmYW;e-wrm(9M6%^OX0YFp=p?Rr|y4 zF?jYtC{xrFwwF4T_Y3qW;Y+Wn8f_m)oh%!B4w(#PPleUNwc}0QS5$0(uXx^Ks5+fm zTB8O9z0Q~<6?QB3n6NgHfZ3voTJ;=J@bd7xp>B0?&j*rj3yC)amil6TDaK+|r@sRV zsm^e#(Z|XPx{+3O-qP&N?3IO-FsFi}C$?;Ubj1Yp9lb61VQ6LRwEA+PX_ewDeWbGO z2Qfxg(%J%yZwyRY8ceKe&JsgtMN#xuEgc%B7=wBa`VJaIkL@$C_XrceJHEtuNiNKy z(~pnT_Be>Xt;MW7L14v30>a-uN=@4CB&27~Eha(8Uymha1ui0p>H`>dQ(5b zw-!vtbeHs!66q8%$H2sSDcM%fh}CCmOEXjx;}6d|SJl!k^AjoB#NfY2Y+)lmFE9#jKQZo}ayZa&b(x-qH2=;o`rE29g(8Z!5*Lt5w=Y zjh0rw|5Cs;Kiu4jafMJ`G4S#P(NpSrL=t05U+&^mN1nBag_aE1Cd$Zyf#|g*gx+bh zBguE&;}|5hC4_H@q9<0br}nnntOL=}^z%FCEsm(SyHP8cofV>@wr{_79SN2mm?^T1 z;W!))Lgz$;`VRF(+*_OuGFq+g?p>u^*w}V#-+p}B$(_HAv>KI90Wu6$EGUI-XSN1Y zZTVt=Oy1AXtubYFoW~ezG+3RzWxuu%&|Esn#LYY|{Bis#KeTSlJuCQo9(D@Mx>}*i zYN`*yoN7tihN_kRH#4jEJINKT{Iv0PsE2PazpZWVy0q-VuFclD`O0Q~)j1gUU-LHp z=pfp}xg7iUcbJ$;^(D{wVac#Pm5{E_yfszWbYa$pZN2K0+c(PxoSr;8UX@h>dYD*^ z4Z@l)2eZ~ogKHZY5-#ulEG(>9qiKby7IDdct2d1?;JOe(J+G<_)Rgh1vx~j)j(MD$ z^aL!beJbq4uKE*QKV(WeJ@>;MSBRZlmk7Dz{r0g}`#U0xmTvavo?rSD`zxiJIjd9v zvpjqhP-Ifb&zZQX)ChPWOvQsB;iXpwlIa5nMVb*ThI6*}NQt{_sZe%nqlJGfZ;*M| zc!l~XZ@C1HpAk%jsh*p4B;29|x*rF&X_13hOb+-MRP98wDfq^6SVd>;^ED6B zgYJJ+V<(yti&zWy(gc%F4~4g*Xf*=gDL3+#STWi~;bDf;gDP56;<99kW&fJ?`P}2N zZv$3`TUK=vE6CSAaJuaN24pC2#FMXwKs5rYp)`046DxYH@$ZG-cZmOA3X!x8F$vaS zv6)Bsa;XO@zeOW?DV=p;l{F&{B*k#u*AlSrYqZWU-NJVNYW74olUC~kwMi&zQCtD# z`Y+>u+ABK?_S}@Z{EoBVl!tb2e%P^6BJMq(Z(kig?S#zCaSZ=yM?nC~)`tHP1L3gL zp2&`Bg)W%<-%i86v<>WnX~$5{PaE)0S+`Z04@eGN4((81YUni(2Jbl0SyKEI>OZb0 z6|R=Ft`1)Ih8tD7=}~$fxv-$f_r^OG*3)z#@}^2Ly;uS=-+8=N90Ce}DTX#gKiIS? zYq2jBmRP%SYa{szUH44xvc1iRF;3Tsz9|&@5%Kl;%D;p2d!N7Ddder=alu6a8(}o5 zIqN=JgOWbdyS}mxbDa|!n9``POm*%4k@BkBLQ30ri{C~Vroo>$QC>J)U}WvYl;=eZ=gXx~U!O4@ z>H5_d?b4K6^R0Un_^xw!2ls;8Ops~%qe?r~&$m=asJxgG51gU`+>r_FUfL7=WbTD&FuUOEOq2lHM_0>FOY-0aPL(_U$X_`*Sp<9f_T*x* zj0akr)w~YRBe|8l*NR18r@YY!i%QA$b;~?`NAYPM#A%IYnJy?*^4Gq_^@>U#CCWnm zS`!^npobosATzUP!dN}>78$#@NiQL8p9 z9DQeB5-KWjKrzEP){YJp1akc35Z&GI*+6g*>iPPbB zs*}b3$qarfhUSmMUBX^5_FHfcDZ*YcDm5Jo)E?ns{OIJo-1(H9w%GToSKL$l zb~_;O^eZB77z$-NT_&1ya0Xu8R$cg!sF?QN&MqF~$A7kS>FrPT;a5hby?TQ%ALyG- z_ql~(%Ysj_*o?D&ts&&MBn9b{zVg5gKag4YBR{Ry29ez1!3XZ}0;@o^? zTAV1Z`((az-J5L{1v4T+x9GaCPz~8;SM)nTW`-(_tvD#YjTekL+48Mosboy&X-^wl z5RBzwojND$3j>x?Vlw=96&0k$8mhhacZQxbUESX)P+Gj8nZo-rnvufD)D-27@vwEd zRHv$hS67o&sDX5E;oZfSfgHbK*u!Ocz&&U=rLkdG4|`^0>IcBO>Gw4qkfQ4v<=ir(}s#SyDBbFi%+Hz1pHbHLQi zz(Pm8kAxp!dcQ)-o4X$XL4Q|%^D`8F#Jsd4rc4|Qh<8epof?zrAe1tNX>u)|@L6?Zt~wtZ)tf zR~H{=Qd$`$r!_&)HvEsFE5<*rh6@i}ROfxP^f3SihQ&7O0|ITuz)Mo{*|39`Wf8V| zU(zsYS_=2H+gYqlg~yDwe#*G`uHZwDeN2v1mg=uHM>4bd@_53Z{vjB^B z6`G)t=U(bPm}1tRIyqduPyK2nFtZ@~)vjPo(W{%aEXs3frf0OZRO+a(IxN@4X=_gO zd!Sf(pJCN@6RVaJgi4;Y24d5S!o;H5nf6#T$a%g-d1vAeY*FK-?1OP}ujO*@*Q?$N z0A7IKE%N|zPwyf|iT+clIvien^L*{0fNTht#}6Fwm?(I+v1^#F+q^@TObpDS(>v2l zgHGfYMzq{t{~pK?rQg0UV9Nlq|0U`fzwX_M7Rwfaw>99G3gjeiPew!7tQF4ZFX>ae zYQ^MqKu*$Ivw}bV!JH&|+xgt?IiXt{Tl}f^r?6^|oaqbsY3`2Hp$gb3);T1w{g<)m z@WKaQXUqCoj)Al<^rO}{Y`?sNQ@!uwA}cmAONy7`xZb<+$EEc`5H@L~$%I%|mGwZC z8~J2C!>5fIe!sJEQw=0iy(%Acev`%i$UOU~yy)`gbd(lYJ6$BW?s zsypy1l9ge-DW~f`x-Bd!Z2s$mPv`YW2LT}z8Fq(ngKoSL(@swjH8p%`p->9RQ+$=f zDOh(K7Tn@SY$IWGx1r`&VeQT-lG4vEJCfhFJCNxfpMWZ4+phDqX?6=? zjNp@#;rGNtv3+j$7$y1UFxT?Gx09PGqaFQpvjX`LQ5I@rJD4qqJY5HKBD`Y9CD953 z=;Kk5SB&MMOKCYwHRx#X=#U7=Nn?&-^Vb~|lRh?3iWS^*sqPm66fPRKqj%K;FT1y~Ro4bR@|!Lk)QhfR#|lhKYmLru@KPAE7x}9y?lt-|J&jt0e)Y!?S_QJEY8Q3=0 zW1==q${PyK45=Vky8-GgR+&}~)S(sLT6n?Sm@DhM+E3{?i~@UKl=cWmR}v+>4Npzn zRF-1lzN)-1yIFDh%^My5aDy#Sj%p{bI8&3=prHwRAo!r~Q~i;=Q}1?Pr?-WON~Sgb z>g-w=ZYqFeA1RBFxrv3})Ye>TsY25BJO60yo$xL{{c!j6ziCJHv?9*6pc1aE{JtnDaMF5Utn0^SMX34yqQx8gqVXBxN zu}i{l{c0u0V594W#n_7SlGuv9jt$Ne&x|yTWK>eI6v3$cd7&*Br(MR@JjnsQ`Pc>s z{jlZc08q|}YY+#6B}Y*jDwE1VDU41ks_)!lO;Z6O*5dt7m3!D~V_T|~pVfky++|qB zxsm_uZ>#Cj3I(n4iHG#IL?PjJu`dfM-O6tYN?4*Ut-y=GzV_SeoG!o9$#ZWrbJoKO zvs`2%S!TI3$a0r%E-z@~9Z_tlRA6mF{uwC-PlA^#VH|;3HjFds= zd&|X)jUPhI0BwOzpM3eF=n6h>Zg;(*xSOP;rjT$}>EyGsdBa!s*)G16r^Nk_wC?#q zhq|(Cka_cN3(3!z$qB&@m^Abs+g62=KycNw<$z0-{4`$ZI_gbhV8GsyFh7z5$MaQR zO1R>fq$ z5A_|VI+>MA11*w^L-`V?%ht1RkLmET+K{$ZU^DD<1d9r-F?-4cSrqclJf*M7o@uVnDPE5@aheRit9?R(Ym=LN60AhrpPX_d*F4C1Nm)*$5?&oY z>9HMO`tjJR=B4zfG;EM9d>rR@{elv<4tgvX2``UJ({Ej}D4UEh&dU(z`);{r)H-~B zWiJf*Ld$&9zu2Oiuf`-|M3cXziFlUMM-0V`q}IbQb>DG_fD~FK#T}T1 zCXbol`2Xk1hp?mbYWDKCOfRzwqO?`&9ZnA=Zv@)!9JWrqx^jCY5i0Z-8m@^I)z?J0|=3|-*P4=CLPNx$NgM?^Pv%+;~svw zI%wXleUh6<1U!x`Bs45r7ZLlmN6G|JD?V^k#XwHM%H1> z>@s#YKd?1v{$)2JZ5iiOu+$+Nu{zP0Mz4Fx1!vXZzqbXX@r`2((09Qx5YU3W`t*~@fqr^GM z=T^TYu13Bbd9f<*t86JlK8S0GlnvQ-@f#v9y@dOAqIb#k1>bG}Eb4z3n9Dk%9Sz;( zG0lQOX8uK0Egg9fHOd^5(y8Y$x!SQDM~K~m;3+9ar-r_5L&Nf?Vry30J%>ApLu0rI zC;2^XR(;zetkBF}e)3t|(^mVX^6A~Mw~kH^hV8m5Vq@H;T$sD@-xoFTrRzOX>b{&& z8$~CJ4eVPb?D>I(oE;BKx-(@(l2ioni_S} z7X*ZYZKa}uI`|`tZ;QZm>!qCPVuRtGxXAxRu|N^9iyf}Hc1D$*n0XdSxcHw(Ww2PEZJIv!Q1Q%yEYg+N8k$@oUK$2u*j;oNFR z%d4DMVSlKo=Lq@p(B`>rkG5?!a(O|Fx(If96osKjqhBh_j z4ek1_%Nx59KXA}`K*{|d<`rna2ab6`$&vHy^eF9F4#dRfyA^tCiZ)2vb}!n_3S3eGWOR@lRaKXwpTXyB|(?o z(HB6+|C3J*(kXWJ9$v37-(_y)#dAdg8K<^yUof5DjB-y-|6O!p_Q8RQpNE< zPWa^SHc|5*og;bBbB4cKS9T6<#=HA0N9%`b<>f;ZyeTo}+Ys^;h;hSH?PxqF#6ffd%4#JKkVy85=Oc5I$m%0 z8=nvbP2c*9s9yX1{k`b*qHH6a!1uD*{BTA8?>|8Pb$v`G>QT!>%Tu|L>XE6UeMY9lZiP#oK5?NfmqmV)hz@E$7up4Q|Keer zakX7)mIRNpU(&^zh3(JyS2BEOdJ{PY&qs}M0>>Of)}ymlbGLi0=w0(ZI|?CHX{}Q- z{ii>Cs&=cm7CEl&x6$zVrE0OtZ{hi{;?`jBj3ZT^?AZrl0XBz&-K?~S4736z{~uHD z9Z&WD{*OQH6*`e*Q!gV#&dXleC9=w%jbj`$dmmd1y(vz%G9oKPI2@xij!`&7cJ?^- zvHc#WK3?D7^IvY~`FyPFx*qrIy6*SAQL_I!U!kgg!j|OtpEEH@7c}qh412Eq&-2k<0`5Is2V|7kU|UCF#|g(vqzx{aS}NV4YP%EqI_I=` z&dmXQ`DM8G@GSj~sb(K$(FQCbSSgQO0yhNumi}5AK!jw(5TdH^m2*oNt}4EBND-b3 zov$lp`*&0N^gZX8kEvtP5gDgegV?VX-r1K$2hPa>cwnZMadEZta2n*jiEQszd4~@3 zD{Ru_TSl<;U;&%MkrT2r#VPMD+~R^}PC7{>gA2a9W;kbHv#aOdHv3sW7XoNazk_X) z^I-9DV0}efu&wT!&a;K;13MB0fItPvC@IsA*db=V(!_-Kl6N$Z2D^(p<+^OlJ>=6( zD~~UlFmLt=irV6Omx;CuiAJq=gdKe(j~dWkSAZwJXaY31vL{yk=i~Tg0`>+8xMAx;u6*Eit}sjy-7eGMqWY8da_k!|olLnxDem%?6tE zPaHO&0+ddhjCqB*Vph8I`%W%_cjs|@Q4H8dW#1@fxzftmXxFz?Z=l7@ANv~UJI}}r z`OhBONZdihQUK7zL{sTEGx$z zFYZ`nEe20wfu`U zQx-Diw!F`7r|CLS&}=GZO~Gg@mgBVZHf8;t{;d&k%WUEM^*kXv-;D;SWmNGrt9Ef| zuIM7Ns`o$aS%lt-afdtAZ*Nl2V z*HHOcujAaGZ!mviSz)OgI2Z4smnl})+iHo5L27-;Rs@3PxLawbqMV;<1dF#jiZp*y z>HG54t^VDZnos|H)~qk$(j^)QFDP(R@n5OtZ#W8_XIVpG1Gf7H-H3x{eZiws9BGqn zR3Hqf*J&D?kFj~5bP*NQ^wXJt+%+MX2TJ>p&1L`R3+x@3xL2PJNxh-oxdgP7Hm*u^ z?Mf!a4?d0`65g~DnO??4sg=3F+(o7>5cmn@VClC&dKdX)%6ogTg#yC67Pe(Kc%Ggw zUGcv^a|yoaF_(=DaGO0Whbf8YH-g#~>1aNIU#eKXCc61$EjiiM(&znyMWWr>WcEk@ zZNvYe3mJslxkng2wqRw0*yvS!nj$)jlgX{_8ZwFojB&)yEWAruFQAJ2Ro=U+r;pIM zsd(^npGgozyF`V94+cyEi?=8QtPFqKGSCO&BQKUCg7_AQe$6TCR|GB#ObQFUrwOpB zxJQ#&_QsBm911%JlTNua;Nse+dsQC7*=6cYN>copjK@D78L9eSj-6`GbVMZ1XJaY* z5fR2;O$*JA%4FvDt+9L6W0t{g>Ne$sZDAL_YmCsFPFoJf^Xi&?i=)F0VdCiX36f9+ zlla`m-8j{)&jdehkkD8j4fG)EzSL!f!aj_>Z7vZ^z$z3qv$x(y(BG#(QSE$DBhlnQ z&KCc?3u=S?cau>+atF)WTQuW?mmD_Nxo0 z!5DjLCa>e$L)wWjpd0SBvtJT2|S3P(U;9z#w@bE|6d)N#A3! zU$*rtThZ@S1Ohnjsc303thy#b0kCg?2RqqEjhDe7R(h9oh&eGe5CgvJ%Q3qd)xY?lre5{_|!2ztf40pcly#nA1H zY&+|k{iVAt$~`&^Ya`2>-3?{r%}6y(Lg^>%%=JFD|koH&ZIjsjL`lfEU87ke*6EPtu{U-sA3k&Uhn2t`r=(;B^*CRYZy z;LTHcp1Os7gVRY1Uw|{iy&F>2i@?4i2_uy3(@N-yG;6mP##e;X_!q5=`JSSFW14WT zr)(sP=rP*z102W~CmgI5=57mHXalVFGCpq%eBwB>4)?&MZTfrqgB;7>oG==<$+=mX zkHHBnPpBd#&nc_a0)vk7{kgL0uOc6$*BKe9&hx@JOeFsRB*I`I#pzx?8@7KNK~Dkc zGSI)g>$#KCxP6KOdhw4`FF(znp|h3fckL~)R2Z4nd^h|~-=j_wqz`X&eaebu)NG%U z@pbq3q}4R*RzLA@>;hn!c{{|q(%@sO;T>`fLX8UK=|t>%KgEGREQNTNt8|Qa{ZKb_ z!8Y{VtjpzCw`%iKD6?|YB%D_v*Si|*xB9(usOX!i*$$G|7%2lSbOR0Bn50aqVBWn`8wWjw zl+ax16sBQpA4t}OeZ{r0Mei3WPt|4ogpImH#ARQYGyym(mSTLLNwNHyV^D?X^2;Ub zioiHh)EFpGrBfmG=L4`l)sxR3pEqdBe&mP_e7C8E%11g-Vg$25`3xq%{K`Rk{2($p zF1yR;S(jDI`a{0cGi6i1yL4(`fQ<>7%cq7?j7LYeRI||&IamB)mAxyAM1_@dw;#7L zh2>;zD>uf+d`Itsf+m_5yf4HBOvT$Dcgla$(||$t5n&H{{)W`~$lhB)2Hz+56ZDTL zT)e_Nv;sI_!))h|44YYMl4_+H8%eW}nQ>5`vd#zhm-7CHJvwHtUwBr59@+#U^r!q+ zpU(7QpWxoI{9Yu^8Hr5mGxViB=2&gA)7`CExvSZp>qx)qD1NWRQLd-*pSb(T-1bN{ z8G}#;NDQz%|CtEX@!3xNo%e8Lr4f3{`RQP51OJdT2-Ov&*X*Z?oeW`NHEx4vJvSch1bNMsy9dU)yW#>a zt2?7mIi0p=&zf|GAhr;ENH6b< zJ(s|7&<%nhV_n9c09)N%$yfP5FXcC0$_GppENZ{S47)=KB{-$++{o$TiK%6UZwT)9 zY77uoT??VG{de5@4Ec3wM!ie7FmD)}KxktAE?#a~ZhBP;u7CPI-ZIx6^J1lQ)nDJu zTA_?lpQ4eC9fYyoSPB2bJt;VsFO(DK$Gd@y3*Wnr$Wm}x?H=-ehG7%yL8`i&Twdf+ zAJ#d|+U^R%QNq!$wL?r7E-QBwJ8lUDCi1D45yarURuZ5gF#AQ*->-qjTue-(ja^3{ z#~Tikf5TVx1c(X*-871RTGXkuRWy=&GO%WF$7%jC#4xbI zRlx~*U(!J4EWpQ{ppX;f zXPmb$Zvdb66@lq#WPa@TAs;QfU=XJIw-$8I9i6Q>d;ZzCmxOgR%Qr@j}G z*`C9xB@+JkWgogKp&aIzpra=dS*rYLK-9hl%9yrY^f1{KY=GB+u1wl+o za#aR2-_F9~;DOXveB;DH@5Bihj18B2`GvLdjiPB1!?!;Ak)WIZ{3=&tP_flh)8x|B zbaUCaZmUu-ps-10F3ojnkY>-^k!;N*702jZPyE!zkPX#Yp#w9}!TBlRaxZa1WEO5d zS!(>X#Q3WR%uB2~<4sX;?DEF&w@PLTF_Yjhzu&7K){M>%fGFNk_K9r@|Ninv@Xg`L zp!cjiEqPm)1H7{w&1-hv>z9^xx&n}(0WN2mTIw~Y=62DAQA==CO;!1&!>s3Ja)_D* zrkH8_%=7fz>(OpUQoKkclI&vxA-n$2_-jW!F9?BSQsM8S63Um2H59~#*7VfB7It~- zLE{D|;o?D@>82mzsmw~u_0S4Ev_*QrsBg#y{lWR0n3;Z&n*5Y*Hy5|=`Rql{evW9K z`!jw>t{*uxi)(K>?3|M|$eXpKr9=$7Y=j-f)1MMHUlHKzTuK_O2YXE z*1CbVy7JjO4s`?D&MG?X&Lhp|$EDT!H>v{q1MPU&Z!xqfJP46lF}}tEt^PL$Av(x= zp>CNn?l<_)h?%6X2jkZ|Mduvvy5zcLs#q2Fymzj)Vo~L&nV7xr27Se0hED&BMMi%7 zijyeKoh>6_UMoXWOvf`ZuPD<^2s%<5a`45&Heegl&qr@B;SbX}Rybffz%q~5$K!uugJ>5w;Hn!(0KL85X-!Pq zZ0w#Jhn3`(XIWK{#bqA<{;C!;4f<5rqCX-s>1=7BBmH{?AOG5gy4az1E8RekQkk;Y z>Ln+I*y%Sc@>Ua}%(HHfM0|P+zVK8}9@=J4`|cU)%D*u|g}T^V!;CnCY=5mW_>53O zE4MT^g+1i4A<}M=ZRGDJK)V-R&I1tiSU*)$*2A;pg{xhjxNI zr;Ih~ZEGj{lo=%?>6Gce%=XmLfL{Np!@5`nc5_Cke4k!CV3l+rM5bL@JKl~8VV=f= zjC$Y8x4Cg`U7h>N#EA$mZU*Y}t;iNWz{~#-$HV{a&t`-+?%nA!%mPS0_^ucC7+GN5 zQYKev{RIV@ZZ?l(wiGv&d~7MhNGg~9+`b!k?g&6CyVoG77SvbP|VXVpl4bRF%N*VT(-Gm<265r z{rCQi7sG0(Vd1R7!G5D%8^?vo>Xn!^O&S%G77XVg1n7Mk%KFy(usQu3TUeuu+Go!T;z@O8 zq`GT*@|YMSqT~~1^oLpifI&?JA>`kdg;fno<0lhZn!@XGR9|qG2M1+SilZL<%%0*~ z3al_8@#>k6(NSt$e?Zg~j-(6hl!(F(|DcWzN~rFF@=BWlH&-Q$Rowt#Lu0SA4ZT4k?!sWhxj_r|%2+j7J3~%pjBq*hmL1icE zBG^Pl*N+ce@h>8^%wMqe_~6&{dFi<)v-`TWGGCvA)m+d7SLm(J;4?h5WCFOzqcmGDKHpdH-d9mM_0H$ZyV7uZM za$h~lAyCPVx6Oi4#cB_9a15NZJCD=U2z=03l#MQgRf1(f#mrj>`*-hVdT6!#Y4)lA z92>fb31+d*DUs19sv%Um^kSMT#B9`2L(xVMYIty^GDzH<)f~0=wm_yIfl$s?a^B}P zxfRtjhBq8yyD8e3=CQ?;@I8%*!MGeA86GzgcoFiv@PDWsy&$4La=MsGpGyNHt z+|_$kfBrY|VFt`d6$$+6K8ww>4dbsHL!M@Z^N51^pA~vGKypKbbV(duSPRaZ4I`7R z;5c=QsH!WXnrdu&b2G%VJf`=^w9N(Sv<#I$WOT`n$O=v-ES+zC&^ODotk5-rn~YA_v?)V z!uQb%RL(G% zS^MMtUuWrGuKMb`-KDtCV-{`RbNE^v2q4rjfsu2d@W03Rlh0f&U`~BQ(nvHxtL( zNBxlTZj4o1r|wx;UO2YxkPSsJ!`Sjwh(ixP$9eMgaYH*N4bRZZRRoWIb&gMhDa;{K zUQDO^jinXrd)4YovOc7?CRa_tuAQJI`+ix<`s(*lovt))+l{f-jlY&i6QIB8J2-E-`yAzJ9v@%C-z>pJ z;1BtX;|Z>Tu;c(U>H2#P{d3Otg;c-LC`#_qyAns`M70VKlh>IBh+?Yi{gcGQhfQr9 zx_;Ia527QWf$s%3nlX#O6MKTjJl^kKs#`_~dRnrk#q`5mOc&WHjCIZGy?qUMbu5PP zjqL@6*i^{6bKV4?jxQe>E*l2ZzxUsm#c9<}_EUd*(~h8TiNPqqh+E*n&IK z^p4=d+LQP_^sdr(`y_?_Z42>V9=+~olgI~rzu(Qb76Qj`aK17iQVq5E755nTR_&2A z-$Wq8-OT@SaI6)ltXqMy!wQy}sT^;o&S%~9VxKDQlN!AM~qxx_oy^oe8r)4={?#!EZS0U2xZv zz0LVkFSdwqSK^N-@AOs^e>MYiyzy16X- zW!@2G2LO_CfqjEEIiyTV19!`o=kN8(`%83RfS$Ldg6gCv_(B6;bbCTzz0^>rYbRvUP zbIh=5!IyH<71mVYNbINX{FDI}hKI)-XV&v$7lRN|)ua189V~XdxMpLZ&{5F}etDYQ23I_L7$q#b&TOn(F;R!K1i;g4Us z3er-jf(i5TehdgPWkJ1?=D0uwlP|9jJQ0ZRF@$FRsLBZzwjcZd;;B`pR30!e5)U6$cbhH5w|@5*_F4HBT(C(7y*^^|y8odqim&#~WN|T}Oy-ax3yvWJ~!2 z=v}UTeq29h+7=KK?RrzQF9|)8ATb^ldOfXn?^HgO>Xq0%rMbs<$)I2VOz{03Ho#_$ zX0?6G%Go|-nMY?@}gqMld2w#iy*NHnb zPo!8>dNLBzvm*B}q0a7u=*fL89??iT_Q8mA7DehGLT zVpGsU(we}l6~%nL`EejADLJ9#=0Ug7tnb_*fr6727Mw{DTZewN4b*K?7kK-IrFk}5w1p3Qt9qmVc3i4x05eoq#?$%WoGEYG zBV6NW97oD6&U(A|t3O2s#q&uvG`?pi#6L(?QOR;PoeaNXF8Nuq%yQ=(boC_b3E_+M ze;nC&#;vK7iQ+5?d5&8BwVSDiNu>`Pmx8#%jfI-;&j3XXnsJ?wg$kE2GYV*+|H7@M zz6A;slQvGPIafxyz|mHx!mHOlb3csV&*c0fvFy+aG!Tsxh2XKTIG`DG2vYuUV>L(J zOs?O(B2>C_CJk+hB9=`x3>8nXsmRL8em6|ovj_qSNc5ZeQ)%_UW(}*Hg|Nix&^n&v zPU#7AlZc+A0XWY=T1swurK?s zduA4*yx=u+Kl=VnDb)9Q-DfI z_2jV^;&VtHe?SC2wjPEmaj%Wo9RcXgaGV%R26OSW~;!Mp?%VY_n= zm@`Q<92Rf(UrN7y9~0f^uEzX|<;(+koH({A^?9g%T4}##R*l$4B=G{sENLPvUH@)n zM$p$L^ZlLU1n+hb3M?GrkGLgzK%z*50wFH2QY-l|if*|kvj+3Nm(2E?;m}&++|HBL zVk%w+nh5m6c#QGa;0|B*6)nJHxcBA3-&~!mcIF5D50MqLlNfJg4G5kB!i`Y^TUxn+KgG@qw4ND zwN@JG7bg3T=Eu1Fcz7y6SMf$~Y+^v{l^0R@5+Ge|dty3diuC(eepYmKDm|f1?sCWq zin~G=yl3aIFlD(kR)E(RVf|f6SAZqA@d@}g3^?1d{z^*~SCzvCpi?EW!(l9Eq+%TP z#$uyspC4prb^bP!=6XHV%qYa_`aQn^V< zb{8h)1lTw)pNG+8Mm;wGDYlMq-a%Bn+&iL7$_DOVIlw=sIKlU4c_GdhXy14FtyF(tcB&FO)fHcGKs)CW6~*+*v2fIvVq&oLMgK^C{t`T;s^fNHM7qKX z*QNGOYlQ)FDE*{N&Hi+$yaE3gb6c(G8SS)ZI3@R(V9Zjt*Vk#;T)u3p%A?PhVO33x3Zvqu@Z>HEJibr+j9$E5&y|bQUV?oeSIvB?Wj+LI=GgMh{x%=`( z2B;46zS*z5&DbT9dMAPH%!9s_0c~cwHv^B%;EZ&Y5{%YXoc0sJ$}eQmA{nQlLE)3- zpOR0*ZodELjma+%SJO&@N|;}f7lVE##$T7!t~E@0g}*1AZ+LnZiAtY`F}?f8ni<-m zQOsn^?;xB02JFGh_CLG5tcIs-jjJ5%nSSiQ1gQS_ZT#l%qf<>=Hvn*h)Aa^IQ z9v&C&Eb#MhzlumV2e6`LWiD6W;w;Go4=SAugW@aBa@Big@YMaYu$Np8f|hCR_dEQn zcmeO1WvQw4@pWNZ>;u3DT_`)8zk3c!tLE8vnN>Lhsk-0c=eGjeS#Ke$YPrGP_khKb zn?Q(=ejJb4d-A28dHU%FP=q=msf4B!*c(rKJG;C(@Y4Kcx2KMMvdQ!!t-bn_Wd>+T zMtX(L3TzFZp(pRrNh}z;P6gDYk>96?EkbcjRtT(le?Ch z60DT=YnK(ouw6gSorQMNAL1C3FF}q|6P;P)-ho?x1`LeVhDnK~ z@nN?By632_2GuWK@oLuDkboqOq%+?2iVmD&?D-O{uAcS67(m)VjSan6gocs zxpK`!BMeIkJvj;Su{#U5Dn&b-g!0cIB<6I+d~Eg&m=; ze@okxs#{nkxVmz!>FvoO?f;IgCps{9^`0D2SA+xaKn-jn1MR%?tJzh{Q+AIh7b!bU zFRB)o=kg8L%-fF-&`HXk%N!*svX7VWiA@!b zagr3`_M`A;YfB%-z-0dSHgc&dnX+toQ;k4&7>0rhwN*4WU6K&)+oRNEI~H*VzXSe%U5Jw0G!*A7FZVx=9|YhTwy)-k9i}Y|ukf*wEqh>+$VM;aV)VxF zG-%-!_5;kPP)N-MJR1aB?z2jw4EYUVH-_r4CF zrYD!o;_0jbXBicgJ+vqraeWlxG}TD8qS%__=dW2ix~rM-);V!IXJd2;fUjR7A0l(L z%DFlwxWq!qAXMdlZ%e|x?Of#Ls>=N(nx7#S3bS8u;SUCj_{IurBJNWDak=Jm=(vbC z*qxtzzfU|LVacO`s$(cG&zH^xVnR_DjG9ulZj z4mY6%Lf`+MSd(6FNl%AqW97FWUz0py#O>LQ#UmTp>jUIJ{El{iJsQ@z2u@xI=FzA> zS1@GWc)6M8-(|8Vj_UmU5-y)_Y5ofQtgYGS7+~dpNC=zy!6S-mz0P^HMXqaD`V?dj zR6GB=Ucmx3v-haepVmpfV?1R9UjGo%lMVcIy#MjkLIVxf}ze$(1wbwW*HY7|Lmh}My!{ooC9Vu0H zlVxvwka1Q{;62IAdzEyth!Z`6vx+`0)Hq?-%9#}`R*=9sx{*8OiUL^(on*H}ggs<$ z85A9}MK41!&Qz0>)Moq@WQ-cr2K+!OSw-OHg-KIl1puFqFt(RtB-^TMB=gLeraTiA zVub*3B=X;E`u2Q?$V@NM-xI2K##nCejF1C3An+NQCMqs^378h`b~p9$aHlcAGR_?{5yqsfBSnpQjl>tmU|?f9D;L~# zuPFfIMEfaVkR}*1!MXILB%PY`!9D&JcI9xGmrwHk&v>~xuDK92TAd1T7b;NAu1%E< zU1ft%UrvBg61Og>>YHL`n$;4eq!KKOvD#$X-CarPune(%++)?-dz2$;p`pgpmv>|d zisKf^#yhrL-YxgDo`RkbfUg_e)+9?S!X2cbw>Z}B^&}+?H69noL|YRry8Vg49&d=v z%sze8Hes?66?*oO^xV`xc@veG(|rp2g1@>1`{(rLO=&KP}D7grm)bv0V_F^OF8nq{iP7 zMTp@!w355ca5`{!jR4AC{XqCQSENh`^mrP#!4D^rN?Ng-2fx$)!jgJc2vGSXY<=E< zkyXx}i~`$U?Y&sMQF3JU%13iav)x&gmAjI?iLF)jO|mjo6omT`7$=(_cn*3|(m{ZT zc@W%0L)LQV;|53cmGOq*KbOiq+-$bGLJ-Xz`d`rxU1p!$?eLKE{oDbnw#c9~!IPZ@ z@8PJnQ+&}DSQqO_mXm#3^z_pGX8n(Esq%;(^gF*>A`^wk3eccD!%r zdd)+LKn@j%N%fNb#b47N#t%AEtqY!hI%|a3c6v{#;F3IYnJvH;;}TOM+S?1bpagh8 zMD7>RW*}v9K>`xH#?X3@-==u%u7+^U+nvVOp2`LQ;Te zbddG2#7H5z*bQZZBf{-nxS{TDMMW(kkXO%;bEdL-R@cO9ob<~I|4mpjx@K?==f&M+ zDl#1ad7i?rPUdLyC)@QWW;Ubw48|4TKm1 zsr_D{vqW0jtJPpz4Z+=&oL!4JB^y$vsP`mOWS_Oo_T#gPw84ee*RpA8cwyyP5s#X* zqwASii^oeKT7Xu}k$x2d&4>&aZio=L#`rTe z+YdqPrFWgd#cm`ArbNf+A&4om4^YU8l=tO z4YK`^d(Lw3;hoM{pA@vswjyXbIDvApjs0|5sR?VID`+43g(>vOoldQL_A?R;Rtg+e_2k2BAKj2p34+ zt>FWSym5Bsc?V5l?MOQ3*}gYn9!R5uD9ejuqcqULE4iBK zk*J|Px-R}m*5N#gbMAYHD2Y#X$|24_Xkmi_>)SVb=g%58g5+YZmLjry6ZOz3iZAG3 zdwQEGdK#4R{}-K+0e{G$=>ImZ`VsBZ|4G71lRTv(%&Z=dW)BDiP)$PzD4u}?8ya$G zrhH1pEOAu|LWsc=L47IJoB{vpt`lkivNqv_)>?xY=k-DVbSMl$1)h9)1y?YONSO6Y zuwj$q>zX%XP;ZFgsK=rOn%p>nGae}Q#$AHU!& z`1^dpt7R{J{%c_myJE!2{^}Q#_J}<{(BnvXFc-k=T#}OakXJB=dKWa3?T;oDu+@4D z+#%u)CIJhL_@+w}iLH5KU@9oQe_MuZJg)EX2dVNzsaTDRqHOY}W# zC$m_%6lC9Zvcbi!A@I;6=7im(toK+ldqdb-o%D@nj-|8sJKH)nbv7**ApczHFy(g~TZSHf>$5{@`vAo?NXw3!d(#1%4qOX`yHt|6uDXa0lcTJO!IvYl>C zOVE#r@*?#kC-A%(+$cU)PS+T_ zzQydTf$Tc_Doqcr#oo$Jm$xJTvt*PztgxEhxzue8 z*T*uW&OIyRmdJ6WHT!f;tGmZSE@iByg%GnSDw=;w^mn#aA6YA<^#h7 zs*qK0nD5syDZxRh@Cji9R=vjAX*S_F2~-%Hf^c*&nghoI+uA20_b(?*zGEwNoUui? zJR-N}4$_|^h4mZ#(+b&WOjs&}tsO}3#f5;9BbC8orBdP?5LL$_BR)D)a3|0({BM>S zs93iL0h;^&BE_HEx*}#b?4s3{MK`0j9>rtuw1;=F`C}a8(oh8-ce*FZFo$f_b!G21 zLRdmBWwWLxBb}EW<6;emm|m7@pPH}^9%x~lP=iAZFVN@mS;<(Zies`8LFn0ImAS_T z^DQ3SZ_$url_RfkSAOY5ibX<}{Q?{@jKVw80;bC~es&z*%p!Ug49y#J9XSTQNFApIlk%4TnqU9h+cV3 zT3brFI*l4<5rLal4zsL}FwGo+F8@Fqz4_RtyBnbTUmnEsY1P|YGoI=M2M`%w5m3^I zRK!!uW|$8+gnriR{sy76POQV#FF1+(6lKvXZ{x_x#(`KEsQwu+{<=b$y5*qBb!t@s zXbakQ)`6e2539Ex)2E=Zf0`i3cJZ*k*Z6Bp=-oO_ao5>77I)6uIUNXS3Sh-7rP3D z91(H>B*9FhsOGTcRRrK|s|4f`%D#;WZbKm4!){!x%ZeWq&2Ox=Zd2&ii)aH2dRVdgErGZE(`63xF3KsrjW+sx7GKD&vt&`ih^C z?$7L9DQ<024KxKRaIrsy{ z3_?|)xi`vo^W3zCgwSlp&9}?9MW#(OX_umpGigjIl+7jyT`@px=Kx4C{ohb-Bk%|^t(Mbm5ePSHJAISY^PMJ;Ez$kJ?o>P+r$8qKHw)iw=Jh*jXb@B; z@3Bbza#&^uNity6k-+Bl0G_m(q$jpzO^m#6I+xKF#D~14{Ca!!F2b!s#2GOo&c@XN zNBJkylJF502s(&48Fbl{Q_dZ&Bli-sHo+%Fu@jn_hqz`BGWm4S$Qk$o9qfDNx1HS$ z1b!e0zbg%d(sK%JV|FkvACjTA=Dn1g_X_usP#uG~E5<)(W5I6wk?MT}#;?hhOd#Df zTO#yH{PWX6FY-e11~h?9?W)14py!SnXb_$F^Hm$)Jm8b`yIsdCbBf2u!^N|xsIG7dRE!IwzVZqc_zmplR$W&5X{M_NI++?| zWliU1GSDS{jE9n+pM@EfH^bHfPy^%`P^mUN%|V_46ctVi#-IV?LbOQx`Ozj%Xr}n) zgU9h4*tM{vyiQOh^$MrtN~U`(0(u?h8@kHh_(OEiH~g#XBykkIu{I{cc;75JiU)`= zQ8{c@*Ux0FX(8~EOOB=I!+PKAiU8T8+r+6*2>nXNDYt`Qw$e4~+m#D^*nf5q37mrT zzqQ_q9{PTF-39X4uGxW70j5>_LSF}9z35d>cF*$<==h^e1w$=eeXGKX+7|6U z6eySez_WmaUpu%O9r&XaKDHTbA#2=bq7sO2|D~zP9a%}hGA&OtD+L2DN76$3^ZdFc zo}p0dqM`VZ)?^UfsE{cs;Nq~kZ~PTQHrj0={-X=Wdx@_+nQy>wJk+W90+i_^f*Ww9 zgpx@P>5CIF8$(ePF5D;&Zzdtc+xL71_~{z8v90Whu-8ZMjmgE&12kyQqkweHkj{$ z#1?*bv1B9@?;pqmt0kYec;|N`w) zGA&JUh43GN_Ws+WVsK>Amt)cVUrP&P2TWU`y$$iFbvq}kwdu{^fn)83+%-f;kYqne z7Xf|x#V|kTO~mqb&AI50cR-*hk{`>goY^8jaQQx9NVp!y_;7Z4jPS*g7scbQc#ux= z&k>fn)3$MN!W!5LK{Qss?#v4oXc!gXvTkwuX{=x-cfaNATzA$ouY*0 z-7}z`^gr9)q_Z69=Sb_d*f~&R7&wsr;kd6=JIF&Dl&YCR z_NhTioJ316VCBUy^id55;!IdSt@fWN-`QT2z58HO^(69VVEQg@KwE#5v zDgLnU%RvrimJ~4*6beX>VSg?Nvb*+w^)}Gh+p~4qxYu{jXKw?ECGY1j(WjJP&NAY_$ULz|VBK-*oVDM}0oTm*GkM|R)xhPO> z^J~ABjI2*VK0h9n^7`%!oTVkNxPhS{U*Oo-y#>d&7A}tUmKQ3-G5_hlrJcyuE1>GL z_T9_;x?=tQ(*>}{NpabqXGwEWAnb>XhLoLwKx?dMY)QJ*g*gr0ucoy%`5YQ}%amPrSVOypbX`w4`31a8%Dgfqmc;=>A9E+%Mn%+FmH4 zOE4aztbq&|SUjK6wZZY@Gz`<)K2FF;HD&@Gc>P3sA(OaEz)YTq?LdA&2?p_QHz|A@ z$>54|cPV^7^iM^~dO4fnmHhO2c?Ed)tjv^n(Q9HLcda`bTD4JNTfW3Wj+&lZ`_%+L z24BLUGq$LdR>knOoQjCHC_kL#u$5Yy?@NmHk6btp_$=i1DqFHJy?7@|2t_!Jc0Tw! z;e#LI>-uw@w_V~2G&n2ga($^9IV$M(y%$2mWI7C!nEUyj8-LyJ;=crPvV4>%0)D=> zX_gfd)70D?M1`TzRif3@_7;GWDEFxbqh5eYRPURX5h3x5oPHp9By`AX`)(iLX`sPp zyr(YyePbq9Oav6yq~&azk~8Ohvhm<8 z+SK4Xz^)uwvO6)iBFP40s=8YE?qd~J{7V))(H7ksv<!+Y3#ON1LCY>+;2CO4C~joH4loXyUqcK{V`qjSKMAmX*jYuYvjBp2sC8vaEbcZ#ro-sX7p#-u{8FBr-?>ZhZp%uQjqPebSGZ0{X+0fWz~yvD zGok{vaT`!_1-^1%xV>!kKIB% z)eXj94aA=~F$RS*@rqZr{R36?zKSP>Q8@F(AEU2M1Jwt1X!yJ0L1WXDg591IVupaW z(2x(ioUf!8q5yiMefLAj>|RSN%yCn;6B{hPD=I=Li~rWu-?z$vf!5(@R5SX+WR;~^ zvp;;U%TzH@xeM3NdZuP28Pg!kQ|tZ`S}hGy3T9@dBE!DjqF=9af)wjGHNEJZ5vB1iUJTDp24(#-k}Th|Ru=DzoOM?}m;z0YNXnzYJiE8JTkNjqir zMjojRj6BUaXJ)NGhjM0F-~*|u*a!k}9)c>*XJKBPuzi+n8h9@UN8=TV$E$Zb2`d1d zI%)2MUiIsz_-lu5Q%0|bYicex?O2K2_h^0g0i?k*(1liW3NO%(%P)f!h~O1g)dHhD znK7jBEo3X;rd_%R_!5Rwaw|#!9&qoi?&A8@)hB8G~i-72>3n z^?Pl82=Y0BKT)}sYR6yN(;0T9d|76mR}Q`B;DW(?r>4I>q?vSEHf)S}I>{UJ7We%*??(vEmA3`Zk6-!@sFDj;tfC1_#0Co0fOM1(*82m)#rs)C%aqX`6>aJ}}mpglqQchja@yje{1% zx{qB?c#-LsBoujPt}ni)gX}=|GA3${{uG$qsojvmHaTc4Csu^u%Ts64U36TgKQIQB z3n@M2um`+Qmn|hviJHyU%UqW1e!QxSRfVwT&(N_Tngb8&OZC%`S_+^_#Hl)eRBbEH zHJRu3KJ#nl<-6hiO`>D|S?Pf7kg!7l`ZVIVTn93(k+~J9(-0{iSUG*Jc$Jxd!gO5E;G>&RjK!NtFL;Lo>xJ{bzVxy@nt4dnDR$T&Z z`W-W20nqq#{4(IK$FfR*(_MmH4FTBnI6!z))ztynhXyIt`g6;GqJy~jx!armZnn^l zE@t3biAnN0XbQQl`({E+mL=QDR?1gPWNlto@1AO|xboulV`kyo+c1 zZOw!KkE!d9r~3Q<@9T2OzRAeS_?PWGiLA#~#=UDvR&MMW(8M7zHrggv?0_@Cv162^@G zOuK9vHBNdPLxsbA5)ZKdf{yLiTrxm4S2zuc0$?@;9IlH@N{R*Yw?4l%f)J2St}!gt z69(0Hf5Ub>lx*Z1k&txa^WEdxw`=OkTFiCH|6A-!I6C%&&(c0GgyucEN_p`Mqj)Dia!qoh+eG|hnzug$t^6r} z!9zeQ3NAwzVWZE? z?zzUKpK9lW5{92K+Ph&aVVkdTS!q1fNz^lC=^H~%cg#lgYm=5PSOW8b!60Rcd-Iah zg{7~RVjpe&*{MLg+L6#-a8w-)H8l(CkDfPEX;vs@c+m@&)(^h2H@N=_U%j#>m7e<( zx9|!Qvx*TI$qxDiPzUnFS7~RihcOV89YYxFdS9GEaNj9$jCHW%eSSSzcQd&#;?}DS6}=A6W>346WI$TEU&o``{u(lln4Qk&~FvpRXV4{p$rE zY}ZM`$~)Z&__l?j&c7-Q?LL#xtmk?B4-DHrd-IZ09fWPac&eyAkTk5?c@0eB-3ahz ziC(c3`DsCS!(Ko<^=H%O*^i+cE8s$pROz=C;sD7s$~KEjypSp^%J`FlfMZDO3SczN zd4z-En!y{m+}Y$U9r)78x<>)50wDHMtq?h2b_&|fXFKjY=<5MSVGPnobtdmc!XFeI zd``qM>zxZ>qrb0covLWH*x|4A|5A$tfzr0yhAx~xX1S**^r=y)2A(-)s^58DE^QT!jy=K>kU> z__2|Vo}F2enRl=_$G<_Oby85i=&$NPEl|{PR4ydeI)eJqs)Z zuf0S-YVST{?{RdNv0#7BT)VY)N!toa&?tOh+L#WGbG>53bh6Wz!;M}^P;$iHj)BHk zvD2gn0tikV3_JnM^k3!YB8RFz>!cimu=qdoLqI1n^x$=Q$TM5n^2YlcGatWzW=g3~ zEJ_{7NbyzN~C^E(%7!=+a}EJH;G zMOQi=&;;R^l12)puys_XMdp(aRM~#k*9B8U=m`PI*56Qx&|`qR3L16nT&^YCPJAFy zTeE|{B+<<2x@+5pj?jn8bhFl4X5Os>Z5vucS$lm#evlIB(cS$aYcvQ6Sj5;;mGr4Sxb^gvv&! zy?NSp-|oPmh}mne{4wB>VaUes!}`P+G52!hAG9vE*ljxovB`BB> zi##GBQAz!)BCf5Y>9u!xMmG`p1O15)KNff~?tlYUBi^!0?vY4HYX6lT{S^vOi@E(E z6t~$4K9hszU>MvJ!Ae8JqJ3~y;k>J4m%GD9$5986rH;3s4}9++bz-LiCp)x#D`Qrze3F>dpQDD%Rw!E6NhDf2nV?etbTiZX#R_ z1MO=S-WF{*1w+5G9OEN_Vp?T^+W@npcqOYl^;ifK-BUdKd`0t(#r>ds)p=5VgB~3M ze`YY*)%{x&m~d>uJjQo;s*sr3{9mL;qi?1JK34et#rLD7?4F;M{Di&-ZJAS_^-kVf z=6t$|fj0XZdqYJi__cATYoUNGG+OAV;C(9W3B{6(1cLsHuU);&W=m&~BsZhU_#FZf*A&>8;O7)y3#SLsrIV;_} z)r3q^NuDcSguRsm=K|_cb>y;t4phKn^GFppq2hA?_*cP#o158v*1#@m?nPLonfUMV2E~|iFEF%+V#80d&6@1 zx^L5d6=3L3&=;dIcP6*6q8yz=ELhv=Wv=fJflAtTqDodI3FHBb#cIBefGcZZd0p>} zH(h*|VwT$IuqM-4!v?UOfaym{BS#p1{>hmV9Bu5x4H_=Iek{QEL(o$UjM#|#6#&E@ zQHST9k$_~oqc^e5c;)?s1Elmd0r9sS^4Z+lCc zZpdsmZPBn-eWiB(fH1Twwogvq?ydO@)Bd6wRTm_s0aVVqYgQ@5ytK0orBFg=a`%R; z_^918GZY}z;!Q7^m%ysa3;n~0MsK{BL^HT`OV7o+de`<~V{utrzk(98TKaY8Xj`fkvbJJ0kT8>X#pMmD$$XBWgl{gs|o_!D|DOce! z%Jclpz5K1edy*X++%4$iT*xX8hXPk=zaPIuOGx3rA*d!_%hiuv=Pg2b)FzEOI(6*0 zif;y9l>kJd#}KW&%*zby!9QkQky*ZbADv{aYhHpq za(fF_re7=+K9_Y=1uT~rc66HJlCySQS4(PTT}j-`$B{AS*2HJW7_Hv%Gn)G_4!FyW zKGHX5H-O5?Kv!b=F_UwFcJ&i z#;IOH1sD!|wmv|OR{O&QeUIMheR#OKmg#xoRydp2uYz#lsP!|FG0smiJ=^DoRF^-$ zRH}gjN_dAZGm!?P*&(5BQS8-<`%v2z5&tCZF$qa+%2?DL{8oJ((;QFip0{IjKZXux z6~3-_71jJ}u=L|eaFl;WDL~R`R07-#r*ZZh5~L#hd4ZXaKV(?AtA|$rO!_y_&S2Tb7J#$|MJU*@k?>@3rHX^*nN{BN}mM0G2nxf zP8JtjDb_Z!3>MM8*Gv4oCiHIqaT1pXivHqyWu@REXLuuGA5plQ4 zAuMbg%sG98=*z-w)=_EAf7K;}1YmhUBVFPb#S)mbn1CKYWA@?=*&arZ$jPRBB{iNE z^3!+6WURZu?`1nfUfL7Z#r%7M=&WNsl zk!#+l{c8h%ZTk^UM^7=*f_M@Q&hK_T4DBtDZj6mgy@ZW^gagT>Z`fS+*j8o7+0jUG zgTT^pTqQ>JS4r=%(=mi;ru_p|2rBYo;~_HYbGpz5yWOQ_mM898?C+|4O z@8~ex03pMd=px1!%mE{9?XDHJem$IbfLezg(P%Lz^ZiLilUH@+Pw&5g@dKwIcLd=a zuy4YExL68{E$pmzd_wcg_u@utJLJ)o>y!{0(Ka{UQ) zy@?%(dDeb@|Kwc~jQkW_}rEMS5h6cLco;Cq|Kc^QnITO7F>q{=TQx+g>gM3lVhfOna z^q$)T?@%e9aSOVH6b7Kzy<|@B@&K3kPxzIPS=Rd6ko>IHGvr4_e2oW>@}lw|Y;qYj zPh#BU4LFXJ&Y^HNjQKt~Y>@>+vzVzm#N0N3WkLfUN_;k>5|ZtMR=_SQtsiM()$*5& z_qG`hp>#n~Xy9t=&0f?#(3Gyjx#-nnVCQa)giv_9%(LpfpV zbE&6aBVWsn(BT-eHR$~8k0jf?!-5_P+h{To``UPeN?1JZM|IM>OP=E+XYs!EQ}{bZ z{d?UthPQ_t6s9xnA)(IM3bVr7c2M6xme%HEcK5}X(EQ9+LwtpgfDJ1t0NZ?-pBC_@K()%u9FoB_AW$7~2U zl^)^*H&_Unt7lBeQM?fls9)6+cE`3}6wR3Pte=YX;_k~{4_b=%iiut=MdU=&)8J97 z$-v&?I|iW#{-_@UwOM2l*PY@^pI%d_fl6OYGWXEU`2w%i9%Phdf8ClN0kYERL?W?w zOTUlSFjA9i^+xyw*5z66n^!=6v26eD1rS(MXj0PS*_wl7RaKf*>1cchcT|9pvgm2Y zh=~J|WcQDIjct&dxlwy5cnA)_j}gtg(yFLt+o1%<6-jvaLgGdelcBP*^jiw&t1$(c zF86>)DVeX`AifL^oK4+&zfyE zby5yB_C>ppxl3la4v$W@w9PEQ(RVJCJcE7m<3!fcc0vg$mYPk;e?v?2;3$?X1im|~ z^by{ru3g!558N%HDvw#sq6*`l-%bD@QW()ggMdM!%15U*(oEdItfXLLZTo#yF70dt zC7~|>zX*tZ+jl^Ood}XgQ%dxIw1G&4#!uZU3aWt!0JOU>P|XR6vLn|P-^RlWei2K; zpE{~sVsHjhgEwG`llfO6uFsU?3Hiec8@@>~0Yne|qc3AQzhWd)tvO%{9_amqnn{Zx z6F7U`ocAfL#%xqnzFH0qx?TqlWIZ?NUD?5_35KBfA>WSd3k{T6hM*y0JFaZDhNvL3 zp#vtQIAM1vBZF9wBXur7{x8q$;DHYXGOtGzxEo5Wed#cMs%F^&#_u_9qcNz*On=|F zX0!s!nV>P?CMQri?yGTn4$&9E`=QA{zw#usDOb182sBO+3^WOzc2mL1KXZgFC^OJ} z-S2DRp&YdWBDhq2@fg6TOE_YzsPg5-ud?DK8LBXyzH9TDm`#6W7nL+G2>M+Muvxjp zo-aDtihWw;ka7_sA zsl4mrhvdo-wpsk5G6d~EIeH=m-dBLnrgH}I6r|Ko5i{nQigTm7_98-;6+;0C`n%Vvc7n#-mJFZl<*IJ8^X6&G@W)X{ffS_s*)k0XBlXa^u<194+&c& z0FQ^&{}T~_tfoSBgDKQr%(g01g^}Y1HM3)%l5I03a73dTW$l2CZ>zLLL5hzeHUw^u z)WJbe*|-Qyhy;%h_Kr6BRPbRrS%i2!(75lxuoaV1gECx=H+V*w89dBY3Pb=#-H%A$ z7+B4ocSxc4%<~!;Xzm`2)HF8ottoAbNS=M6oaaoy>1I`ev8piI#Lh z2ewN)P1>iZ!)OquwaO#x+Y4}Lv_wEM8q~9pS3u}Piog5v`+Md;UH?)T`f06AOZmlV zftkq+Hvf4~r9FW3$xKmno$P+Pbb+wNVloUHOxiEl@s70iOT=qOoI(cze>?x!!uDci zjPHx0OX6AMegyj;>Qb>kO2g{`wHHuFgTTcmr!t55?`LjG=L_~pzN>I>6{0~@A?cg0 zm+h?E5T;LQyvK7!^@T19BsZ-7%m)BD3O43n{T#o-B_s_|G>>24dqe9tEX$ufhVt|azmHjdXoHG` zfH2v-4Jvlzlj%7C6heTjok@<@0WTvXjrF(WV`LfU^rv?by9lb|-RCmy{gAY@op`8v z`|mb0nf76cK@^lr4kc!G0UZ3)BINHwfUkqmjgv0?FAAvMo$|A9X7?d+8UWF6{Kqta zk_UQ#{Ou9BEO3LL3Nlp(zcnH!WqjpFe}O>n9hu{V znOokKsdc1ppk>~_?m?-aLN6=-4grmvP_b??{B&2&^-OF8N3bgtY#2l1cy82v~)Z2ZPhtYt_t9BK|c~)V(Ph+M|paFn!jtM z#YTP_VbS~)prrag(5cW=D#lS!syxx%KJ*lq=Xr-aE1IGXa5N7f&JUKrs8WVT&-zh0 ztobCvQ6cLUAdevk1|8zY3C<2;MW&whF|{(lST_E1Kje1EYgc^j0%XR)#P#x=p$$Qb zr;G@Ib%+A-tM8T{+MyyFGGV^j)*J7{UXwe=;(U#c=9{bPO5TXNzpIZ^0qB}%9pn4W zLLK1Wd~KtQ7tc$2?%(d}-xzAep7Y^FKB|Y2$d-Ln*Uzm4a=Ee*9{`bFdYw~7JBcB{k)2R{9ve~hDEaU5qjJQt} zzR-)a0zr#QgO%;XzzWbG#4ivema$v&&TY^p(?9|n&Q+P|9gmM0I=eJ7Vs9L(=F72Y zN_T@A!X|Aux&gxkER|q!h3{Vt3ft%!`IZ{auYlrVXF}{8gB&BYXW=c|WGU(b7`{W4 z@cNTGH+H!IK^c03^ffKJu~*!twdUQLFFyw;(y{z=o&?!9Ws=FumaG*V>sg>rnvz60j1sffXr*-9QtjYQGT8OQ5_#TYqivLKYf!oTi8G1#$c( z5ab-rA}Bp@UTbLT%{YGmfS9~0QURBHGTa-R+;7{t2>^CAx{J!ZdGv-|FF+0g-^)Ll z-LQ)|hcGF45*!maCm~6Nc}Ly9(*(eIS;mVwN$H?AVu4zn{`V8cODWdh8FjSDacjR1 zuL?VOj$gbgVh@k7DUAERLS2N;cVAVH6qWU`0yv>``u<_v!yJ~_4_svhnI^nSOR9pf zM!wm5!sO3K9(_JqobN}LA@Z*-W@d_0pNT7~A8zXles2b^+V2_pY~(R6u!0JTvkX3K zancO?^AT=EZ|vGB{~k5|kOMCI^WRrKad@ja!XS<#$*GfyiBLSjTzrN?ZM0Ai5!h}~ zs@nsJ83O2=bTD&a|8?(5QSS;DnNpOvl9@OrffXg0vP9j;m%EyRjwNw`Q>{MI#4KBU zd|_+kcLO$JMjVm~it)%tm|Pg+gE~MwWlY_?mjZ2VCfk@LHOI0+y$ej>Gd<|lL-Q-@ zPmTtJCTK;H@u4@jfC3ztI+hrZpUjA>fPWkV1JYdrYhf?4_Jo3_+-9_0XrOX2@~!#v zM5G!Qu|s=Fo_^8+bI|H*;o9BE|W5ASmKUw6U}h>0tc1?zd$8XlX(Yn4-SU(j*G4Y))j@;^9+Rp7u8(7dy-xN z)IekZr?lxyu^>fy`z9l07~$0Ul?^uLuLH03KKz7MdvlvBjjvsR#K`@N`>*p2t>`(U zk+WEozj)EA5vqCS71_E*p8-63xX?o9S3pDDT_qz;6`Bj6`bU14ks~G)*MUEQ_61}> zSXlF6R5~3&Y4Y!5w!DD>(e`7TuBhg<)OMb61*b(2??NAcir3=(y_+5ILxqO!xEG)C zF5?rH3?A85DZ+@Kp4>}i=u{Tb05LR>8^zV}q+-ZzkWP~ODdm&X?C zetv4Z(2N7rir*U=(>Ya^&JFdww1n|0CijBsNYcMRb1c3icq%7|16o>BBP(?GKQTzi z4mco#_{5ta)>HAw@LM&pHYX{Qn*QBzY7;f&^~U(^+qNFa`C8#55ZqYXD$Wzv-Cp1q zhq##aQieyXR0xjHpSU4}R7NWy-9wmVDEP@q7^8f>GH2p>Lk*4F%gVP4ZeEwNEqMy zi=gHaz!s2KPzTDhHWnDlbEraV@4@q)i~v-5VjEND@2n3rk;_`rOR+8AReGk(eb93t zl_4<>FSR+fhIJ}Tsi5;dNw|G$L$;Ic3KeADIa}5H^CAPmrL1E)SM{CW8ICY<@|Af% z0MwNrI0g=cyio2yiu~(2dPmU_-B?q8??m}bUfg}<(f$;z_t`b{Xrv!&5wL{NSD(mP zo7gJtAHJv19Toffza42pAE(j`F4ZZvO(6P1-RP<F7er4V7LxZ#JszHz>=YI zl{4?JFlzLK+42XA$PxvIMnR~^5!spBvQ;Ke4IXeicyzn>;dkHiE2w5ivayFgf{P?P zprJ7>1EHz%HC1%t`IS6F{>@L0)|*uW^yqaz)>9j2ULdd+r`Kw0&bL4%-klWp{mH=$ zI_H1Tu{}A97Kh;yl=l&#S%b7ywy$|cJm!vwbLZ#O(btna@^|4yT;MlG2Y5U=Yb@LC zA+J;_edUv=7aJKT_FPC5g;xzX2F)VF+w=4uM*_y_@DGFvo;oMG&TndF+4f>|`)ku5bX#7{2VSYJ@H z%(Lgx@flRzP`vJoTj$Ch-k`P%^4zCKR1Iybfa{}IP7pr4NXR6USPQyOB?EIkxRJ(~ zcOuSOcFCYZ4smPoHE3y*rvt5#3QX$)Kye^S}N!^cZDWUVjLdxm-vx_-w{2`s%ro@YrZz=L;zNML3=S=mU;e`J88l;`~qZg)IP5=pne zN*S6rT(WM-3KB&}#gTa$cFBOU#9{o-odC%sh~U}V-iw!~N53eLf7LD6kPRZv@ATq( z#(n7t8#SCKZY@bmwzsmIBav$s1M+~!{wC{w%_HS13Ox57-eWY@SAmAP{-rbZY7j5- z^%E*W{OrxB!CW6sD6@Ok^`&SDEeb%AlPFyM{ZD7SN(d@X2a@I7*zfH={BJu!u-!gA z&0GFN-Dctd7%`yQ>xV?{EQn!Er&$>Vm}#+6GsvK|j(rI@T1X&0XrzJLLt0pzz;09+ zz5x8nvyFTpM6YI(iT^FCu&j@8)t~441`A$9M>%V03^L9{fbKO#+8Jn53%Oh$S6nf> z+(JYNLwTAS3ZUqC*6pIJq+u2taQNTHWW;TVYgAYCg2`?R-zXNljM{fDK#_|_tUdufvwfCgS)1syQSpVKB zphoNZDfSi&g2qv1q$g%>I`tVCf( zzDH-6h%1iYMw`Ltj-FHj9Ox>#qsa_)IW^cG42@}k`jNLH2=ug^lIWtO`v?OCst%VG zTvN;CApq(o21`rqh7&OlHtfLJer3u86h&U7eAbFy#$xYGzp^Jzku~LMtfaYrsk~Rq zK|h?EFifX#@5TJG{5qe&2?cl&A~LC9tbYiGswqLD$&o;(0>@ z0YaD=dOnLUluTFkrXaSy@{zLeCHbwT$Edshv(yK^(hfSsugV)Xn0db2^c+~Cb@J?f z;N~|VnsKZ0F(kB6{_dE9Bb7H)bVEC-ZRZOQ43)&T6nO45$G`Q$vXVo2H#J@Xt3$Do z@BcyCL4AB6#cCk)qyfp?WM(@7$RKNH=dQ+7GA$~9R!@8J<_!i&klRa6t8h{RvYG%^ z9}1o4xU_KD-wMiQK}y+7X5cNP4)=U?Vl4GcO_QWJzTcw;>$b{QNXg}UniKM512qX==mmY_7 z0J^QKFBh|#Kbg{K_VCcZ^Ss~NMErIims_Be&a{EdP3&Eb_d9wc8wV+iUSJBEfFr8e zl}B#}W5-*?4}ElMEcMLa@5F}g)Z0I=UFoNHS_9_*h!c{S|{^wponJdh1?ZY0*DHG zvXEcd?oWgUQlh7+lHtr<|JNmomAR?kW&(_N`Hp7@wUI* z=sy7wkWdFj+y2m4Gg-Cj!Axk|HL#v{RZCqF7Tut9(w*+D(7dF_!VqcZkhNBV`nLbu z6gtRdtv*%W2z)YD1wy>0(wJ=kUH3H;ie4(q_|331|pd#66o4ScOdma75$bigJTh> zs<|kgmP__hAtlgBqwxFN$^JLUt~cY_!gXdrtm27{6i^`EiYGl3mCFqNh7dU1i2trq zD-jh85iQJfeS60)xSlsOVI%MXbNluPz1-j|@q}B;nQnCK`mp1TBE~K<#X_gH8nM5h z0Hu6=G~{I69I9$oH_n;aAx&!Hd_}*zQ2py0jAN$yQ=`E5<_i=>P+hXIvCt`W6x*tY z(v%x8giRhZQOr|?=B1Ejz$V!yJ6zb{zxZqnle?qKkZ&8-LeN_vR6$2`(z-D2{#ZGT zBhz^KSDFYV8s--s>Tzs@V)VcfR$QX3vIkv8rQj{t>uA`ie`qbz@9E0pp#*m34# z|3G;s8yo1EO#3ja+Pic?pl$FRq`rE_(&z#;A+PMgFJ7v*8<=@&?7oCq#~h8YxC%QP z7y(AJTBDjKr*kL{cj04vzh9HUjs$n*89MJd;6?}HoNqAd%QPVN)xiVrFcx*0T^_1u zNA6@YVNcGo+VqI}&|#TCE!G=9IR_mHb2kYwGdi1~J8UwlWDfXWH|6N#GHmQ8INdy6 z4;0~bN$0)$%ELe}UF|qj3!BO{M!FZKJ3)Qnmeyh5xa6EdiW?X?C#!>8E#f~s#y#e2 zb{6_?N7&JO8sAOoXQB#o{#b~CONbfm49lJL*pE3ug3)*8!oB|6kKd>+ITzYRx-E?p z7W+A4{nH7_f9Iy)LAS};C!zZw?+4sW_CHlc0RFCARbQpq3&c}A2i`M2j>DHh<7=tz z$~c_6H?4{?{+lRnI{Pjh{REWf(FqQg$%iLELl&Ofj0f^>KsntN)139hH~X!@=;Qyr zFV)fe%7Amds6P`ii0dOe$+z&na!c~Fz8bG8Eud<@f$>u@IKeIifquTg+E(A7na!aR4;IN#kiwN1yo*|=BA?>k z(TnkFsx;4aM^~|9UQ6U95o;wf=sgce4e?z#p9wwKRJyU`N|PH5_4j;I`ln;t6?osf zMKGg6s*lNxH~Kllaz7`Ru_CoI;#dS_xegc+cz<$+g#U=>V}$r@yc|axFAo&aISETT zNp9_g6!_Z{w3xA`cSH1Lc$8L*oPNNu*(P4qPb^ilHP#a3^QZ6;@c-PBUd!K z8=lJ`+@udLU-0O)jnq_{#p<%Tya(*OO+@j&vZDcO=LHyt_#ul`M@LHz2}tN)Fb*bM z6*2X_lIkPlSfCwkrtN&`foQk=Q^nUZT!;7bR6w!^@I85%;9aFX7|XWs%RSg|O*&ji z84@{=5!V9Kzqh9-DK!GiGtlT}j?w3F1eG3CVG!yVa=EO_zr}UU}*|R-Q4w z%8ABQ2KjbiKjuPrwb(dWN&T;s3NpC}<1g_r)IZ-wY^h>@u=e$B_O8DR7{G=1otK80 z@Gx{i&c#m_#W=sfjEHh9yJi| ziJ1#8dy1E8o|;$bHJ7PPsgZ|_7SatbEA~Pts=E3Zy=V!-jK=$Q!mJXAlAC}|2{4Nn z*uh4Jhe~^-M5{N2_uh7@=U3tSk3YC8s~mng4kiROYiY&?O!Z4Zk0zjpnUOLWpU?i?tB3A@v0>u-m{WUm0dR@ zuPaFz!%@YyZ>)l?(J&)Hfpu!&x(w4-RiE!~jWwRFs} zwE(@-S^Iv3mOAECc+vT~m#;P$kdWXEE854!0LELG@1IO>^2L^}GW_#noUOm{$a%Ap z>!GT8la}D7rjEj@C=Re?X%7YSD~Hc!&1B4*Pay?s*#K79DARcSa$%-3w3*HJ*JiQd z^V&#A;dO8Xwb(jE%L$wf_6NBIC!BQynf50|UpE6Gs*D+&gz3Y_Z8r2Qv zHG%Xg?1-}vy%cJexw~_<*<7Im*)LJ1`PW<;44-Xn0O*N&d5Y1_Hu>jncOA&vE~e0h z9$S(X-$mP}p0_OXJd;pbzF?Iix&CL@kfU9-I`!lf4EDZ(P0zj}w09rAq8p(_;UUgK z20?he>gZ+3!3Jq{h;sjHoWMp9E5-JvH8DB5%?HsHhktgQec20iD~iGM$+iWV8R&)2 z8&>^C2%V*^-NIUEubIqFO*%C8^CKLm&8lPSY;G|70H+efo0)Wdw@~lrPU|i`!N4qZ zKAy1w5L&n=g@VDStu1ZF3qv4%@=4Ns{}UiEL7()g-;_&8=%1K?hoa>5XSKG=?{Nr; zN-|v)F@{@M?bTGe$v_G^bc>sV*#UI#CoE0#fm(L@rtUJdEvUr? zQ=|Z}tN_U89WIU}Y^*7OnMfSOgZhOfg)p9A7AWRx?zHb+6Ntm0(BRA%AH=i-;>uki zGu}NEPS*d-jA#HM_|RBuQ6yajf_~QmICvfME)EDV&;UeU31PTC9-n7YUDx!ttjbvq ztnc^luG$i2!T79C3zXQMhvdoSDLh}i67lWy)KJ})1Uw;`?MJmtM|jW29n9>%IycRQ z^F!{KBkp>+^dHHlmv6e~u3EFFWjv$O==x&t3?C%lqYuH#**9@f+->}rBZ z8`)V_*ge1LKXZ`^8zLsZ_tG6s;}#4MtI()RWz6(VH#FZDQ`Lg9>lBb5DIl{P$5C1k zeVsClXf|XJ00Iu~XDPel@Sif`N?>OfYLhq_35t{LdTYO;C2ozQ|%7w2u(>9}<5X8}B6TOEy#zJ>y5 zvuRUdw;z`xD3(2oQufFi0JVA;iqypQ`sG4B)hXX?xYwj`lB``~54QL9`~L z6aV*Y7l@Ve>(l?P&jXrvKJ5K``Eu-*FDsHAGk#7-Yk<-svCWmbIy0$!ix(^Zg}9=( zvI=lYs9~vZY~Q5pnW_sDh5}h4P&ZJQEa2>M#2*1H{|Iu}BrDO9dGPL$Nv~rx;8w}Z zeBS)*6_I!h{Jf5qou#*P|4wo|^4=UHR2jdb_mlJfJ~cXsElKHK;i4v1*K?S{JklVP zA^zne{w2<&937js&zA6_gm^&)1`*yLF`|$z(D#@ghGyhjxoTTQzpmasEEF2NM&}TC4qf*`9LFXkDDVWJw_Fj?kNzUogJyQ>1gD|;6#wzR zqfV&B`50Zf2ym1xn3b$4NiqQunEAKBOl_%5hi1<+8+N?!v^2C?wLZ65sAs#~`nd|q zGm}p`P>(zn_zXXQpdaluL(P81W{~MMA|iV!nB$NFOBK&4{U&fQgqtA&fLz`2d~Wg9{REK~c?0ys9t_j_}K*%#vLYU|FaR->UTav@>f`D6KG3v1ZkVs@mq)~V4? zWFE$EF!T&h?gK@pTW1A?eR|>2C9UDXz;UWI3Y1WErVeW3AiejwYS%jbP^@ zC2;A#ms2jrqoeu>tBEl3V)iA&q-h0Og49b@*-Wf$%FwJOI{>k+?c&c&&CS6Vy$I^S##7bCDx|BlTw885E;t4&V9Keh?k)Q2)&v(To8#w>Q9u!g) z0JZzFgm~iDmnp5v4SaIq`oRgOFW?L8k~vVnAAlYzQ^9FE{bQf(h$6nh$zIrx%9a`y zr+yVPQy1K+b{X1?Bu#z2qZicwKpPr;`y%Pg<~0-zVWZ4`i~k)G3^gE$pS)?I9ECG% zkF7eC#2cRwn# zRht^Vzn^sdOE!{vv%s>o^XgB;=s7dOh~66k#&4U9MQr`G{{0V(BGZv6*EBT(z3b*S ziH&}n4oVadcI^+KDwr04xib#z<+=G%EVJ;o5H}bY2?y>h-w2gB79*px*E4=bkPoA{MM=^)27qx zv9twGY=ebI&WG4BeaQKV<{SNVth4+JfqXtHIs6z35O0{WA?^&a!$J?1H#nC zu5b+$TB6A%D2EIC%>l;WK7hD9F%PC*RAXL6G}_oH=C3;wtg0lJj#WX1Uc=Mo-Yx?Z zb&G~3O^Ojog1q(X!8$NLW5+qY<|tA_@!7A{6xs+vHv69J<|VI^!j z453*tSx_-v^(;i)EkUS}4``#K8DQ9Nce(!Zrgmww2iD1ZU-@e%s#}PKf?+4>9EBfJ z5G@KL>OKt8(GluaX{oDF^n}4OLKr*z#n>6i{3=uet`9S^<)5P`^79TIVk?IOaQzlA zDI}r8g}N$E|NZu;;a~WI#QxNu9*PmaTDA81^*43}C6k00iAEaE@z?j~R=0w?qTqx= zka9w7b)*@9Wa;Yhgfg5gs82dsgfM>j>*RI114UjR#i!G9EP8<6SAMw??#yjF}oWQtE6Gr?OJ|0y* zzf$QkXT71)g7RqoLpmjBiOgB!_*km?!>M)Hk zJ2rHIpHvsn|D*PPf%*=|sqEh5_gIu-N74eEVTAx)aIV~c=lPkgZmIDhHZM^AN(3(O z@}Gl=EQf6bjJE#N8PLW2D2Bx+*MHkp{_!w%QF5h&K;iy%V&H6&(l1xwqA^erDgrj3 zJTRYr?HM4+GU>^)#EMl=cM>q+Gg_va**XYlWH&|l3a~ZEYw4g2!VQ%#AHPEPXzMsq z?Zi}Ot74rV%fVCQ{ACC&-5=oJHNC>97y~cj^;2{Y?iQmZ>T0}VBeMj$(Eb0^b3QwYILTMtDulI3(FI0016VNV^|>TcS2-&^|5hG+N3fC$!lU*6QA z%0N@aSyWVZa;#SRG=~mas7*dlXN(WP>hx}?6)v8`UcRfEsV>u!QnrRR$@WsVdU4${ zM{Fbuw0E%C0ODD)_`|QzLRwPadhNK#O5U5K>a?09G_7ct9t;2?x*+mq017)hD9xQUE$g-!Y2 zH|S$RC(guXz?eo|1hp6;)6GD9gM``duhpJdX%TaQZq9*>DT6@(azs6G8gp8T<6r4%s~WgT__h)U68M`;8F6nOeNnD$BL->$?pins z2oVI!7+$&dJYDo*M^18vnm#8g@L1P>WAT7H7Xw6)Xe?MdH+0V!OY$lVG5<$(4@9dhQo7_edMPe>h=p4f?jLFP_Pr;1tTO9}gXvB0b znQ|Zo2y$~hq8y`tF;fA<%RhWcy#RXn4bF{|PZR_Rv&L5lJqo~3buO}u#)4b{o(s5< z0=FyTihHI*ozT?M*EP7KndyI7zE;XL7}*1f8tn$B*~X=O;I_NiS>}-G^QhStGRnft z-71YvUeYfV_+BjauJRLR@=^9_fYSkeNdN?#mGS;e5QVfZ$UmLjywg*ZVd*X3s=-HgFge%LWu`kWmhZ9bX;UfL4wpTb?j9 z)zue5T1e#Ma}QMe{b&_TEVuw7>WTd;tXmU3SQAS{cTsgW~IVUa^COPTE;$g?;Cg9nyl@ioJ#wIj`&Lr`a z#9##>V!9{cG|=6aeyuy4Iw8@Wzyay+?=zU$o>S{M&UCZ4Q6PP|Vi8gAZF))ulYCNc z6KKJNkY=6n|1#hx>{IF55=-C&?TAmo7R1RpbYZyhLJr2q`@2NZxLTL;y-UQGN6}oXPOZPa9dXPw4*Z#LO7g#M%)UL zf(^LuOU!G@0Pvb^|8I`4Qx^}T?5lr=RJ&IekNtJPFFO?4nY)>4=@;(z9oer>)}@dIE9 zV~4{+{}VX$c`nSD)*aWL-Iu^>p5e%u?rA4Mf`qJR*N+I6n)O~d-HeS zFo|$enm7p}LV;?1TNAkhJOIFn*T1~@z6`I(hy$wYIv+5%X^w7I>#KAWZz;pSONwRL zbAJi6nZv0DKLHU>*t4DR{WMvU!4K582TWuFcZ^-7LPRHPnoEHa!MRWZ1%k+C(NrSPU@IsmaYvI|Zn z>L?^n(CB8!@Vs+(2<@n|8Jkbu`!5i2>1a$h7ml#E;Z(;`y;2G_L;sVexa z-M?#*a`qAm_U`PYk*dfFB((&F~zd|cH{yjHoACZ`rRu!1dP;*Yy9`+##RQ|_x22&3q><8q$1oG zUz&q!&He*~24=%y-rdDy9ymu;hJuul2sXqDXjY(`X0ox&Xx$|5>bVRq3bZ8PdOFM; zh;}fmumf7>wwVaO_S0Sp)k)P`dCcSbPQ!Po#)ZKD1@B6OiV7ll^h2b$Et}%A5rkCz~N{}G$tRzkw7mJ>W}CKFhpl|zdWv9Ruo{o`6xwp zu5Wc;kU|aX*_A8eV5(pAe@tC?{A2mX1B7%UV7Zg+`qm+^mQ7P$Whz@0xA}Bq2 z2H}fAhe4-w3`Qs@LquR8UDBm=zvqWux#th}xu2`&{7yabeZJ>;++|?dd8?Y0ol{h| zuhNiJ;toYzE+ZEL*7U1Ig%wLN!D*k3jL`>Daqn`U&11%c?*h~`_1~hQFe29{0Ivg9_3Gji zA$a-i))LjsT7JSfnrxxgQJh;5zWdqa-eo(tFiBJ%I}qv762ttz&ms()>Zog3#FXX2 zAwC_lj+Zq!vwNoj7wKs~6AU(Wx~H&fLi-gETWG?Hz2*YDCQZHsKu%*TJ|6j_OzG!G z924|=xK4o^`t}lrOW=3MIH}G$-hpFE^C{9Y3vx8i{OkpecL_QR4kai3VYuj5nD47eL^~+e`FFkXM=G%$Uk|unomO z8+5@ALoGXxlr18#J0ShO&Jqw(ElSYG)|GM!Fz4#L-|KTfHj||%8mu@RHRE!_6?b5F zs{unqGX~9?`ZibOlA5K^-U-eiuXU{AK5-=b?-Lpr_AJN(vE2_Sbn~yJovVOeZ_3ZP zvHea;06gFa5Fu{8K;Lq;lN(JanjjOjIecc_!OkJ+^baH4n6h$j5hRd(^^MX=bhf~B zA^&|^iDQb4>B>pjBR#ywB0de@1S>7M3p}QwP|t*uRqe5-DNOj9!;Pn@z0m(t2LVZT z#=6q!p6hBI$Q)2&{LF`8-T}<`H&Dd^mMu2S56vGm?$=JYTS%V2wz0OK6*@w~AAl$D z$4c14e?7R^v`hB^Jhad>!X&ygYIE6sp&1(XZ0R*Vv&{yAD}hLM@Y2n3rlM0Uuuh?) zd@KT}9>AwWAA}RTkujz^TH6HMCDFL4OZ_H%h|rI(ekGN^O*HXEs+seT-- zP^9~TBjN07w#A&QqQhrz(u)O=cgPoXBDi$>55bP7qchAv$(BMh0z`bDVE49AQ*Z>sV~y@+HV@-Egs%LQk%d zj(7um+<|A9AFKk@P?0f>ZmJHwoQKw~*B^t-o{%3N*rlfLbeEuw(`p@`d)Ee!E~?k& zcn}vus7r&*za#i1g&$$O_m%Q$OorzkFqXBqk>3=WJS#=t%|cQHz(&%~{v`wAVs3Na z0N{>kS)L3aF5pel`@CnDgd1 zkku}huk@_G5RS@gSQc8`954O_t;>OcdU|ubi_~{KqdaM))bQ#C5C$q-T=Pnxx;mF1?~tLw2b7>^LTpO|Jsrj5QD(h4F>&IF70o*EY;F*Cdi20k+f~Z-nwf3Y3KgK&mF?}kLPjI9vaXtgL zBm{7aLU*p8joSYJU57k3moRZFE$bUA%hTyNbYz;4MI#o(Z4DMGA)CZmy<*M8FX`H; zUKKKsN9X?@KcubW=&V!YxRJEAV`Sx1ysE8&5>N;+atq5pO9gM7TN|O&B)uQ~ar-f? zI_e&>$rQuOz2lLAJ&(9+aCPGw`N5FDfZh0Ong`&DlhkjfwgJZwYRN@f-<=HtE~lqS z@m|QeYh`w^@q-4_apQMK!eB)3=nR{t{<-idk(x-Y1`_x=PrLk+gtg5&2mgo!G=|nn zRJ#gDKkkzz!2%4-9TKSg1o+a(J35R2*WGWRh=)t$U@zSKA)aHUqxGm{y=D zkNQ|%^~hM1uQLTo%s>r@qrZi$K#D1er3)x*6w&L&Fk<>ta+2VP!R>l^(BXKxlyE-) z5*6awD9Qp?y}yfPPh~5pQZcF{=~VYE$+ezO8f)BfqizXu@*wyL`|I)z(E{k_EiV91 zI`Nmgv(f@f^i{sQK)VL&#T7iTS51gxKpOyuuVo_SDCht7an#H2o-18DC4MB~a=LPS zE2^+dP6mjfp1jcnP`xiR$;T?wGNcdI_1;1G~CsbvAAk+80Zp)UI7KdPnVa7(ekOv)t}C zTU7=|Kn?_m?D0{q=(4nK`EP(%3uN1AAlnwHp2gUM8wWLFLUC$*P zWhL_Vay@fbUym%#NKTaWJpam*YV;94FCq4<5+)VIRsB0J)@v^ij6sY(>G-Dx zcWU{$b8`?~`B@yUc{E}_%b&k5QU~VCqN`5FA1D>Kbz5uIZE5Xtur1AW#_KLb+meBk zdWZCixINn#o$>X!WpT55hKtS<3BJ3{_-<)WSp6gXt;UNaTUGjHVa^~cdpZY*Fi;H+ z^d)fr_TQNi^ZvRrLj%+5{q6xf*iKs-dt5yzJ28@<0&Qno;dieoVM*q4-=0CG|tBng5vRVX> zD$;kN@H{`i>gQtW-(Fh9$xJ@uviG4-}ZtDrjK>ByTFe5=h zW>D48Ac}p{B5ujy=-}x&$<-%%pTB7E&GMt9FqC3l+BVjMID zPD%x}hP#K%j|Wb4Fm=??19>DOp;PLZu-3N@7D%4N=Jw~|_Pz*^O7N!5 zaR1T|GbI6vw2B*(i!p@h6G#8vdh|PqrT0$DbKRWH@`O|G07Uz3-5E|HK!nT9t+$cP zVLmJIc2f0VIswY7>Y3T-NGAPykC{#LQ$K$6VQa4vT1i}t_j0nqvP7`OWCZ&|C^V~4cJ9&~L^6Sy*w!pi#!Rp5f_Y~WCpLI$nd4s zgv|1;SQQG8oY&+&1N_vPlWaq6U^^LB$Nk{pDF?)W`}#Mh8Vnu<@q{LX zr1uKT!4d(Rsvu-)Md}$Y^4c0}zMw)}t<){bY@=3>m2MM?h)&AuG=Ym~Xi+8rE_j@( zAUcmLygUJ<0S4cW^A$wB;P}1tIOXDxTRr^6X}|94>SV~1G)3;`WzffmSkzxRdM2BC z2(ZbqY3*gs;H)>nEe7}%_Z76w1fepdi`r-i~nuHZEl-KKhjw|m9a01r+ zvtQurm)F$7{s;$7GsiM#EgIT0O%z5M(#`Q|4Y$;8H<+uQdHyE6|GS2ic> z+hvB#o?pjl^Cc9x2WXB`Mu1>VBOVXdRu4&+&kg@pmw1K2j zjQ3;;T$87SNKXb{ZpdfCv)qahjx!QV-+ZX#)x5rJ6zcz!w5QCzsAkdi^&N9@Rg0#L zD>1Mb9omivRJH>3*$@^=XADxq`=3CQP$Ywbe30C!_k2CDKM+7vPNDKpg-#}Z&is>a z;nyrK2kD>g(#3i!aZi25QjsrVGbzeSH{Y1r35d(qT z;Mhe1Puw3JxuQSFBKSJIm!p>d{=MFSz?YDT0So!dW58W$B7yZ>a11<`ZRVKjp|3;Z zEVA%kUHCBTNHqm-rk(ze>gyB_pC>M*r+N-4gCvTd@SRz;{FLF)?29|OwAbzDi<9HH zyvtc3J{~f$N%O}a#e$aTph869b4AnZ;p6UcBPfnIR{{=AN{maa04Z^Q~HUj-W0OCuv_Y7(4l+KMc z+ZtN2oJk(N+3-XGtNah_!MDUa)%P>WjZh{R7ahdi{wd2PX%r1Bp0YJ}UTkm`or|pX++uPH%XE!a z$ZFC`uI<>6b`Pp$Lc7z`REJ6CFzf*b0MP}WC$jm=VU<}pglGd#QwL^;9)0O~hBJtw zs)ZB`u>t=>e=Urva9HV++njY`^4iX<&KEt^mjX+HTQ^*Jc>6JY=X`DjlN$p3>v z!>}nd((&OBV?~#Kf!v;BL8Lp_wDH8J4?*NK=Ccpwww{{zTn7pGVs(#U^T`C`-R~Jj zNi(OmK2of|a1K!Z$lwWb0>QI`CGrcok}+YRTXaPtC&0P(8~GBj*wnL1;b9aYCkeO~ zQ4%7ctW^|gA*bLD<4Vv(Gr5~)Q7kP%bh#+_ABsh6=y7ZZHj!3ZL+vyWQz*pG)8L3i zzd*BkX1Uh!#gvOfL{fAQn83flA~sEGBC$e;4X1HM8Q!zgQ%Q{105q0M4+|33-%i;&d6fm|<6?>M;7K3Oju+#P@n~Lv( z!x~*J@)0OdsNvi?xE8UTL@%l)m_1!fD839&7uLnrF&=d3&=jYtV^8_*Fe}(#Cs!_D z-F7-$(-j)UxoW6A03UHJ4;P!Bu3kKe}qzls~iHS>c`Qy_U zR1W!YK0!x5$`mM)dRh|lt;EG_GUp3zD@s5A7#Jq@5lIsBdnT}K!ahCGd6)_LymTeV zrA4a!+jwA)Ng-+^IN?@mBh7`y@->_V00OjI#vXE+ClU1ox3)V>ISrM?;9 z0ML%|E=ab6oA%sTh&go#`JomlRk2uokg8z{|6%U|5?`AX4(i*={_?5a_Rbc#Lrw)< zk_Xvr|Li+4^%Dss0n_4iW;#pN1L`y4L3wkNliTa|?W!1Zfh_mW8}=G)m#~af>!qZs zd081CvGm?i>|SdfU$=b+ukIvMe`JPxoZ-BALGXr>;Itf(yOy632(EjPG1qGO!C-L$ z679M`9YQU?z)bbyokLDIflmGNEap_QLQn7)SZ2c>vKI^3Uax=Bcj)5A*0CS@X*ax` zhBaW@c3*aS3XW~bFqIOm?djA`{kS<6(1FCYKg;v4N!p0GdP=+_(BCI__%`_;uq)Ed zY@>gk3=@T$NuGK$PL1sw!3He*AHC=fO7GbNt30aGU0oVmu5)vyp>0Z>la$D*qz~|N0UJy?W2=hX6+KGD&8y1 z->+55jc~`gL9fFtH2C}-3#lV-pWl=GMId@xzR+83fwX(v-{>f;5TN0JV|q=fmCnBK z%QH0ouGR^DwRXkDF4s?PjYIDTgY+m|k0OA{o~HfJx`ob<2Z6O!#S`U_4UZ3IWt4dD z&If1{1EdPpr&E9+%>|YV*RtBM{%2#5BE`zmC=kaCB+FB%X0{A2Oi%qdlN^A!36isW zD*och=Rmy5@u!QXnQA}6(nIe@Ad;Kwfeq($K0 z99A;Y=Un=g41I>W&jN?AcmvFjkzn;bQgNCr5iEUV5_3 zV#fkD>|2F^)+K6ToGJ;p^V9M*1DMoEndkzDP4q=%QL+5Czbj*Qa5Whnd8XLz#KMfi zZ4fzyMMsEy{CAY{&!ib}KY8-7uCKWL5gqNpN+3>vJ$>WinMm7GDTAk?n@*|a`?t=<2B2e5P*_1zBcwepKVjD0wINN~3A3*|MA~+n;;=}yV zP@pY_0W=<`n3p!2bx5dZOZdcCjQ?bwv{4Z}tAI+ysxt&N%3Roi;?ba*+I#;%hJ5|F zX(bLD1?!`W6uKA=Lr~nK#?#%tjKdQJDc{na7QFbFs7L)$u8dh z=~_;40>cYPSv~<-*8P5eFKj&kKdCH`*BK&JnGy0+NF*>hx;DsA z_CAK0j-;J>QoMu)Kyq-$Jkam|j5yRRQ7A*XZKk!Ef0jk;?RX|F*@ZCtOi7L+ZObL3HOFdyvd)=rL&SR(G=EItoZb%=t3dJ z>M{S!e+OE-g>gRokj!28{E5_zGCNRfncC+tf-xRso!hw|pSpP(hutBDG?TK(JzI}* zf7wVWP&&Ln)zw(ngFdvJjK|9!Ke0ch`}VnBi_^faf!`f4>t%;rI%1a^MijcKQ0u#% zAnYl7F^bOno~6iRd!u*_g*AnfW1nI}e^qOT?Us$-g#i?w_v*6E>j!0DNXM6G9bV%n zlbro@9^Tn&yuc`Jt~P7L`n6)sS45$s#qNuweMC)qSG`u1I%Xo(x0j6p8c;?-7es0I zTUq5m^s^X($B=2T1hGQFDTnX`pM{V9^>#VOkjd1`Enwz?!h*m*o%wJFP;ECWY9wv3 z`vFaUEwe~f5gXXs@1n_$LAp)59zsX%Q7RlcA-MVAgCTaV7)-Fu58Ly5f*{kF=#f7I zZUAHIjB{h!8fP!~HxZ*vuNrSMsx2qUq zHfhhj|HT+Padm4V+EmedoI@j4J~tX@q7k#2Ko*9$XG&kGdakR4b;NWMbtG1#B5+k^Dt(_N%0mtL4_7dJ6$!;7Jd zotoYuvUc^J!ik|#b@qp0({jVQ{B%^)HOro~>!Y7b>2HD6zIGF5-@rF@*m5R7ats-oad4v-trdH7H0JR5pE)uNHN{5%@9e6bN<#(9Es>>WCC zYo^9_c@QPa4+5fZ%J1atyo>=4Ou+yqsZE+Re~uyUQRk<;yRZxGM^}R)1z_k~47gWeg!^uGGFM z7_k!daPU%tq13x2Dv71nGQGw^-4#0sL}RB34M~?q%2G%2S7@gTJyJwJS4W3Bkmzm5 zKl7cxmVamIrZJirG3C{TmvzWlX&nIwD5uHb8wJ3$+#k^pPcpdu?~qaUmrOD=ev%q*+IvYBj7a7oT7&kPnMd~S2{CfxRGg;H{LVQ$3d5{P^tApS z8H0MB`3*}H@BvlpHPq4#TmfUAV*A$S>W7l90Mp5uz~cB$tHba%y({!0fR-#r`a;;HS;26 zYnT@MU&CV4)KmTTJm#fo3O7NbOA-f3RVpq~Tee%ZloFZApb`82S)Uz0NkfgNi2Mak z4?jOuGfD^FD5+k1idVGr16n|MbK!jr2ruu;G4;Qh`e5)EF`?{&E>7Xmk2q9Rs`F%? z8p6JQg4ItApXCE#QKAX1GUmO<&RwY<%BQzKuY7jH@W#1uTC*@rdwn7IRQ9xH_b$ZT z*;!^PRZ&(n(D;W`+e_}z#%Le=0y(EjCnWSg{Fxrwr8C`2Qe*T`pCL=hc@hc5zV+U- zWROWB9$0`>X_octnF8*a?PRaODx3)Vqyl4dvAfi;@8mldR!(cR<;V}a*^0-|`7$}h zK3n~HSv&JLA~ymmD{=?b<$J*pj1&H#$mo8<{WN@I=G>uh&XS~|gjiQq5|9;K)#}^J zwA(V3dYRL^1le+Z6t;5lF83pRFjQ1#nw*T^x@^*fkAF0pi7HeM5I$>;t*oP}&JGPw zYcQm-0YMk-f#qbiR_NTn`5Q!qp`OL?p_Y;ZsB>GmQQuTmc4u3Z-R>bv4cb3BNk!-M zj*@$<5e3N0$Xp<|UM`66B)7uQoQR*dM_S*#sqT^(MS@y`(_WwHRRet0tOMsdJ)eG4 z$`Tqu3Mv|%Y_cu3QHRd|&GF{~Pr<YPgtbEzX?c(SZgmb4-d(OLSu_a+e)J zpjeGi4sq=_n`v?8pn6KPuBjHURR)(`(7I>OoUKpu!cwc-VSsywMN8tTh~VnXS~#Lk zcynNdAEiUf*~~h#*WN4$g<3M~{#BfB$#TjcI>|&a$odv4&`EUh=0p zzsn7Gr8pc3q*?z{t#FT2zEbjTCh;&@USGOMDU5EIpIC85m=V5y#DJDjSa7p&V**Id zS2@KBwfuY5)_g`6`v(C-Dq~kushLDo%MV5)Y28e{0{QBo;h1#O?AL^cjmM*oc@4%% zqLv(bMGETlJgIu3C_>upog`a{=*;s=Q)+K6L8EY;-RVY;gPm=R@u+HHGu0}%OqI~&-EY?0 zN_s-^k#c*BuxC?eCePMQovo_2Jl@~MR=om}bl$pW!w8H!FLUdg=y#a{JN9)15WeP(HZ-ZBph7r{stw)86@Z*?vwaLSKjRL&lKu3} z9F~@V)FNX3hSg!**<2Sqqgq^-NTmLbQ{OK4dVa%#Pv36$k1ZT9Zto+9ln_q}zLs&W zj&qT1l~^JLQDq%QD2y$x1UauYm*k$ZIRQMjttyc~#+mo4vfv=y`eCnll!~U9=u?$3 z7`crBmz((UFA@nePgbGvtZ%VhYJtmUz$0?7-I>HBFxrIY?dIyQFq0a5S?r=0V63fa zqVgFKKhuFUvElE5W~OP9ho2NU5=s@!x9T%~gFBEKBtutGPGm;%l;tgXzATj(15P@C zR)`P>6>5Mq9kvxyuAhb(h`xu(O}epdtQLQ%!AQz|m2Dp7TFTX>{*`+}v14kN=&7~A zqnML?4rgeh$#WFlPl@fI!U?{n<=s68a$+qgNZvkodt(*``^^Q23sAP_Wfn!x>(uf) z;C8(xntAO{LdY>ri#_Jfy*~mC{X|WTh5kHwy%t{XlyiJ#%dbJX8u)Yuk|kJ9bqse(cKe0@b8F~%O7{_=XY{c*wOR6T^a4hfCtl}%`J}d((fO* z*t+iztIe_?k9He{vRSR^x60&G>dR#5Y@Da}24{9+q5fhmK1ly7k;7)?Ra|qNA#ubB=?O6sfKD3XOzMGaIn_jj^|W zCAYu$cLHaRKF%o*a6`!9clahIB@Zy( z4-+@Tav%!ih$iS>9_@#O2$>xeyGhoEpjv*%k=DyYhXh|Q=%0l%q)z%%);M}1HCW6a zMxd7L^+jX^SIw|# zY%=8CbQyLP>TC_E0PPh^U&wAbY?2DRWidY;la46T5hrS~Z}q3__f~Es$6A+=nI#~@ zMe}vtF^<5_<1gQZa*0cC9D|&qg@c>9{mOo1s^vtUVF;6(o`8T|+(VBQ#w2F<3(Fo- zBaRNpLr+f#GEYBWbuCzG#f|gR}>0QNBr8tlXJNJU&GkOu~q^q(NgU#vg1<3i&FCyHYm# z^KO{=XdU!1`@x@UK_BElk*K0*+MnR-YXj6}+*$64b+4fF`Hz~UmgW@KYcZ{YCByMS zsr7%i^;Bh@o#0y)8D87B+qIuZ;CCuYLa7)hqSgrhTCOabS=y0)GQ)A(i7}T`5oO?t zV_$Hv9sTu6%Y3xUdFw|})r&yA!N5P_<25$g?ihZ6Gm+v&eK3jObRUC}c_cz4_ zY)E^WdgudMfGXc%LF~ksgTAQT?KcB%Qqzu_2{vlbbjplbjCv5uRDGAF%J-yfptNel z6SemRU+-zV$aXu^h_Ii|KR5H7!PlIzBrot*Wv<mecv{KV&VzrGu5W=(tP4!_8s8d&>U%j;mD3Qh2DjUHeDo)KggJ#q7G z2!HhFTfsp*t>tw)%To;U$IkRkXkjk&^S#Wj&KlG*=_-vWM>-QD9^(tiJ?->|)}E-_ zn&jdi8q`o!ab_2Zu%AWt65nS!T9*Rt?jHEe!Z^7##uPdsl?O+?@0wKpa>%Z+=%<%u z8T#)d#`|2j5SOVGOBHaptcAo+zk++CC4mMt+j6b5Nw_)g|0wjwBRrvpHtdMSUHugP zLME5&3SLIeGD`ia);SvtZw3-9*EZ)c|DRPO>ZvtoOEGAD_hx)^eqn9LBCaj-TxrD4 zFpyAcZ&**8N+tM4=jX;Q`h(>)W}{`KI}`BFFG>D44I2QpS7=3 zP_dSqC7nUS)Fl^phtS$yIh%dGdAgAzRE+dSQxz)8n3XNa>VNu|hzdi-*au88UCJ|v zIdk7K&0#G$GV8p>E>R>f$(U{E^fVnvJ+Z&vp=+l>`7D4eX7f7?X<>L{Ve1~i9`Fii z3pjn&tLfv@RijFFy7%IeFV1uXdWU<902xlacd%x{90<8i3&~rm5>ID+f`b_S%$$NZ zmnT+$>L|~V;W&;NZF5UO+wQJ4$@j!8K}MC%jQ@)cuJRAq?~V!a(Wm zOFkXoH|^>K>;d&d#{P!qr&@6fwqQ~w)wK5i0v4J%Nwa|SE3jee%wyzIqRY~=juOlT zNl+GOx93b;B^Q z1SYW}La9Om?k|{Q>q8jT8r~>Yd(uY7NY!*nV=M#mkvJ z>C9?TlIU>+pU_BpfNaSBVmM;T<%SA-0)uz)_(FSW`20!K)}vJsHl?IPOBCLiX=ITq zO(>G+Co{>?8&Qr85=aC<>F(}xvuoTfynzNDXPT�lSTJDowTu6}19h~cTb?-hrv zBW>7oy=;G#bRC<|BvUBpPITff&1|Iv^6JSFO?I!>nDcbZ{N%3>aPu_ZS{$bIh9(-@BJm~nJyepJ&u#!Q4xAS>~l41ogsqDWja~N8-v#con6^3Ws zSn1uGBr2lIGRi)7X7u6v`2z3STh8Onq$k7baH_T<7R@Vkh^L@JnmP7zAl#)o&uy#G zjrp}=o+3@a)3O?WxAI)w$l^W7Zad)U!r(?s7YL80f;|HEzUg!+&b2mHP$30hCtck2 z{5s_UBoozBst|T)p$^q_Xwvnb65PD7+Zn{Mr-)kXw_3baoHRdJ+e&--`e5s6GC@6k z=y{+rmU`yCevM2wsF4XHUObRn^-u5#4D@aJRC_ZOi4pCjDznR=j!_;L%Vqhn?Fwxn zC2sU-WITS7sbE2v$Jh`40JZeyd+6NtnY9{`>LF`#@v47Y=bG1`kUWn|`b4p!b=SbH zQc7iJcn%9F#z5{#S&;*CdphBN9-1T6)VtzBrVSSDIyI=bvuN*aw{g1&jTFgHl1~kb z>DO{scB)CnS|tHuW6^X4k*DL)j=pc{s-4R)2AAV1|C6Q$gcJ6%XqVI)OlkbWIK6)g zqt=XewpV>Fs)4e)uZvfWv2!4_vd*_4_7DrzN`b*X0%OsBe{67OOf&Q&S+a&X*R28U z(LNAuUVB^&l+o>EmA_Hgua%(ZdjXiHoQQ%h)%(IcI)1C}QorimP1@`}hkv}a?hNv& z_*)3&){A40`xbnb$r)tc+#TBx9pu2I($eteZk9rZ@P9QACM#*%TtGm3J2U_o>G-5Q3m^Y%Fk$BIsX zD^QRrljZ3R{6%vLZ_B+Lw17Nh@QnX`q76f0*;Vp6*Mn|ye!3Ox9-k}7`9^zMk!$&T zRYv=>2sr1VY)iG-BJytHL!Q=n4d%ErAo9>SLofad65Z;HtyX19u6gh?jczo*w08Tg zXQD6B1ZW=9rj8q`SgmWs?2q>MnHek}k$EmtW}^oA#zkboOGASu*gHP+W@ma=TzDe$ zg)^_*%-$0zOA=FkhZLvf_HK;m<_}6Nb*L500l$#k{RV!sI%m;8W9=A$Ss`-qlfeQN z_gJd0j9l!m@6e8={!Nq*QulQ7cf=h}j595ZiUTVdCDp6m@LF4Xum`TrX-VT~skI$n z{fVS1L*Py%;3;K3|4fBH^s1em4 z;|UCcoW*w-)R#}4e4BK_yI}TbOL9zs^`0OKU;u}*FVSplpBwgCn{bc;8T643;bvZb z(dz+;TI{kgS5}0NUnQrk!@^tgw`(kXc)X53zxd0Y2lXLx8M>@kXD~$f-(rL?T$oYV zV-U^|!EpIDxzPmkh|8UPTSv=G>*OGx$JQ#PTkt~g_25>7NY&~ZC@?l3&{7c48Wu&8 zcWKTKv)A#G|A}(vlPPvrv>dlK>+;b};eRvFjW$><0>k9{A6#j30bn0KMR$aVa(=%h zbt3U>R{2Rm_vr=i3yW?wQ^P9y@xIJLS(rW+HkO~JpsD}@4cL5n1=czb1r#2ljRR4= z!h*b=o*Ns)SG(1ebT8jqh2#6p{rOkt7e_r$Hl?^hh@FG*FhBT#8qp{tGEzu{rC!I} zUKen;M9b_t?0!`gmzb>v1Ic`&s!~n0)o>4Bbet zyk|54L_Lcx)TtxT?o0p8Mgl|6bkLKYc+%7RCp|E=kxN@Uf2NA-iPsRw4LC7U6`M1E z98c-0+xlaWjm5BDi4@N-04&_@td*50|7%;-dke-Vo0_^9-pr)%hsJm~q=Es^ zO9u+76m>CvOUC{cpm}bF&j>>wiT}&3W8M=B}F`TL~3-wof>> z(b*8V`{BXqI1sWEJ>vX1GGVJCcV+&&uEuHU$VHdB$(QrGuaREVhbF811d^d0}T(0FmlD-=z#!4+Lw7+%h zp$FaNrNh%kA9267G4DTr@&te>O}%AZay;9~zpvKm7yPiH5`0;7*@iWmmHU(+@5;&z zg1S|g6}e({)_hL@d}4VN!(_Q0B)gLjc5J;G-#x>046J~}L}`FZb@#eK%k!OvF^)i; z`h?h1Hco=CmHhIAc~?=b&?_v@^jbbPmS6Ak&q!;j@pL5q`Z@G!RT#xmv$~f}%-`{( zr}n=?M+0f6>Vs_~9tUgjVseC=7c-RZBitdx_U)vWZ06NnJ-0m`0G>Ake zwLW>IMEeEh+IohVnvM*6b8J?iRcvT}WNGiRWxX=c^VRUs^M#@N-r|*ipV`5PEQb$M zinRx-Xp5a3OH%*9aB8x3D62MYBsEq!LSktYHtO&72tUBN?KC0^i8mAtcso+ap6%zi zqbEy2(#kR3y0G|RNVO&d8Stie@BM1k7Ns)!pP&FR57>jh$u?m_BG5!Cfa)35(W-ZQ zym1#h_i0G~u4Ri=BS4ntFUi6jM20WAJV3N9j9$Xd4G-P&8f@G+6$xS@&fwz}-Mgt( zltG_3zW;QZ7!*YO+;5=UbO)0Nq;XL9f4s3@zcDbTzX?a)pSbXWb*sboli!t8R;it=f>LUOKS=2ueW2Ya1i}@tZ z-k~Zz_2YSYzdg6Bav*Wf@~-MC=HEoL=~yYo);?;>f8>O@KfMvRYYJiwK*;x*s>x@59LcDe@I}0)nlYT| zQ4-;80GBexejL0`7dL}0d-l;u?r%+GwpbjG9k2MxCk?RDjcv#MSu~Kay~#Amp4_jCqEF~#Jfgtk3BL9Y&hAFeLt^n~TO5E_Vjr0(AwQH_Oy(97?>m-%;kVa5 zB2z^oS+;-XF~FM-HY-Tm5RJQ=q1zC35R=Kjp`wD5n+&@}8{_fLzQUqH%l?IXrm(AnJQ1*ZuhEv40~h<&@Rfymo-3OyQBoD#bYpYI)$Iu^;>+94}5eYIw%M>*ruv-G{z%a7odTj>BOi< zq07=J4q;wUL-31H{;qdY%vNf|b%T>ludVcHM`24R_9ZCi-_njSoO0*XT&Q*)yn3V} zwj(GA3G&-I=Ij&)6v%_>YlY0sYzUv04bPGPt-53-khX76o5+B#d9b{YUEO-&wg;f~knr-paSr1$QK zySiH$88vS}5u*K5&j?j${qrp(1Gb6RR@#+tMUfLh#lQ+9_k^-P9R@MpI7a|ev~j0c zYgyC{xDeiak97n8+`Hb*M=^dg5z?;ef1g9Z(5ZjsRBUQ9M6|+KMc-M!`}2_K7&D^~T>)<@|qchO%TG#UTHQAn?#>e-2d>AW|M}SyqXk9Hh|^ zIs07;>nMU!isdq@wW3>xdkKJVK(F#ftNdOF5E5zAsc9kk9^Njr_oY~WE937s$u!K~ z1B=QWZ!Q%}|CNRBmWgu#*(b^Z(2?^Ok#t#KRh0!tGK*J1Hm=2(sNF3Mzz^E@Aji*2 zw4Z=h2x<=L3@{S_ipALup|o2u|LprlH%Hbg?&Qp2#$T8Q=VcWShq6DP1Zm;tZ1fb4 zyv@5s9RRa-(epZvRRtZOZ4abeHzlG#Kg?B}B(r!-KtNM;-vr1>{`?B0dzT(=796>b z&5^mH6kn#+#ZF#oGeFXSgJ`^*U-oAA*KtVFIlQLDu!CQyp_f+L@1Y81+IGH~dFgAR zVEyf2_wlk%@CxiU-vNE2+ADSSgkZQPzjx;pLx6GxmDYF76c9F6V<`jhD|OksP`w>M zoC8{MP#N?`Oa(>P%J;hlf0(Cghg&a?YlXQH?L1vAoipW(IA3Pael_51>F{kP=||D- zfq(+JXNLXx7eBPqXrz<*Yfbch($qfXg{hbm-<4wlXi(FpS&~Dt68!6W@I& z$Fhjbt8MW;j@$!sLB%Mqw-%N{=qJs)G7vYqHGcWlM72}!v9m^t1PW5K$DIBb5;y2I zUn?l^-%niRLlhVb2QwicJCWlLTyIQkrtT@pGAJKzlG5weVFx4Tq3B~C|1)wp! zYp)ExS_gGcff@MXuYCpEy#_Ez)WD$^6i(&k?1%5YLvCl|WgT-Atd%Js;9RXB2ilmq zYyi^J{Ijlris*CLKJCRiBsL2z8|-gxGGO^MW%Lte`V8tll!~_iY8{+GASp@l62wU;Y4n-2og!d|&hKFaI^=&b05%Ua+GNy-EX`=WVXbag}bo#CPwUW^72L zT#sF1phnCChzGWKY?vSX>^GpNmm?#C+X?=1Wf{qlI{pH7v5n=x!kg@vVLx)|A%*$7 z0M1>rHmN-z&E}DcfGTD#z+bt_L_D4V#B59e^o`yz2P^1nB9*Wj8Of1JyN#P+VAwcv z^!0{w^QDIGkGUGfQLYbqXIjRy&>_3Wwp?g9wt(<<%9;apT%2h9y&0%XKM-ggLU@M& z-wEWo7ITG=%tgn#{iTIIcl}N$&Qn)efQ!OE>8^(ua!du?mL9ulOPcZg{XxadB!^00S?a{D!ni{!UKX%7O=>^%FQf6Ks(WIN!pi(awJ%;LH86>y5b{op z_?xvB*fE#XoCN`=F){0Oz8a;fw29g>G2B?JqHa*~-TOPhwkjf6wcYXvk;e10qG_~& zA*50Ot)Xw?!6ykL5OO)i1L+lmW?t!^iPVZTAr{5tFQSrTZ&X_K)t1Y>-v`tVE()m%W`sFmL+-y?BZPX^DNRh3KeF{DEe^8ysMg1PSQlkDcMuA;OgZsHMYR0{ z;G&`;3?Tp%U4C%=@+A-j*3k7kZc?zskXV*Uj6|^^69L9G%V#8+-#ma6=MO43yPNz) zi)Nb6oJ*7D=iGqjoC%f+>+%iS>q8$P!g=(;lX93*Zmg-7Mw34q$zQ4>_v5Bco)}Zu z3X(YS zx~w)>XzpzP*{2=@+Zk|~bZv!@kxRTs^zsTBn93!TK}{^eypHj52&GDN0=~?|2H6BT z)~~X)gK@J4tW9ZtR-N8d-a6J|eBd49e!k4?zv)@PvqDzH&hiql`OA+{z*kO5j=i>0 zQ5Du3zRn@W814z4;Q$ZVH?P{H&7~FG`j&HH`0k9M2*ReTU2v@iOlc&w*u5uEA;%9o z5#$543RBGx{uIc-;Bng>cWnI#*EefB71ftQg6>&~S(|4;7Q{s(ka`m^Gg?Ry^G~-j zS_`W`_UCj73Gfp&mlp!wkb4Ripo4&0IZ(62e8G|A02N6ckVI8g)syYVB?3rl5))HZ zxyk#mw64?}6VBQBI4KkeWh)lJYsE0wZ!Q4Fs!U-1EO36Q-`0RX#y(kmWN~TU;$^sD z327xH^Dsa7*>8+_+UC|pWPsGNv~VI_cc@ph7#KGuT1izB1$$zGn|D_7jF#Og5uD$+ z0`5UFv2xh2vtqd|XECDR)AS9cYgbqLPT^j61w?X2%OA*r=rCX>QV4*f(1>B~zW6GM zCUkou3AHpTt>dn?tUr^KJ2^)kgnTYV9SE+)2kAi?L_xb*Z^qY%US)nAI43XheS$GR zUiT#E7w3QA2BTjB?#G=~%y$k9YxiNo-6dO^Q18tpdv0y_JeTw*>~K|38IcarR)1>O zY}f<{Zf9;xjs2Dej4uD(rde93KaXR*83Zk$*$xyvnw)7<6&iHfs9Ta58Qa_%p!#KV zU1G^WACt+ov9%&^(PnOCbg`+Coxr!vv9`U_!S!}3 z`F8^_)mT|ToFqzAa&ig|+3re;@i>Y)@)7!E%(G4Cu@Ajxe4Wcz36wIQ-@RJk_I>xdu!1e8j z4NxAyjNgdyvjJUiOe(U#rt(CZy_G!Oni7u#ZDcRZ-8ZhmuKT5 zcxQj6@Al8<`0av_%$;)!V*;$cfa0kyaN497S6UIl3E z&eWtmTle$%r);!@khi^+x3fm=1Zdj+lo+lEl)38;MIgf~W*A7jLEz_&-tQF!Jaw(2@H8Z|_>;no6$t2;m{1B$&-Yb>$|DJXWa)?)m^Fgn&G( z3bsl?F#=T(RuFzD;_Dhj0`iE8t?o~7QCP|ftAMbG0+FJnh^QzaUE~=bRM3css0(&x zK<@DK+kWYXWV;@VtG~r_4U}6Exff~~cH(PfHi@{}Y4|{2Th|VOyAgf2 zE($mRLxpD7wbZGh)u%3*2RjI7UxKIPTG4lBHtnfc_MOQsH(B=k3R#lKNH42?bOcF+ zO2k%QOXcmIJBQ#vLv^z<^(^&y53&$tw_^hCWr3VR_-B(GJ$TWul@mVy{Mf`THmI+$ z}vG#tGM$aK>slL`@d1u{YDzfY&IxWpSuQTts{Tgj=K(`Z4c2MrPIg zb8Bj|(u?fAfKSo1Sy;^PIXb9KTq@@ZN^{cZTk`~5$aBNJmgU;s9!vCaw-g@|nFhkg z2(GbNyYox@4X_(j&VhR&kC$JIWIjKyaXT<-1Ka3K@jqYqH#-Ir`p<7LYk#B@Fu1jr5zzPaHF zk#yn-=9kfgs1#3(7$tir%0?h`B=Es)#EeaTY^6`=GPEoR#+y{8Bl30Pd_S`wS$uvN z^z@&)9g+?@{B8lFQt}zSw823m+zcSBP@ZuMZo+fLAw^1Mcp)XTH6k7NDz^r36qJNAcw&1VpyLJu0k? zY->d8N)3QQboxEJ)>1dJFa{Bpg%fR}&Aj48?~03ez*(Wkq59In1@Z>GJXGS(fS7hk zl)*pFyd&a|RJ?>^#)z$%D;CIC+|-2Z=-o3It-&oShpden&p7@S=5F8}3%46gl~NX= zsIT-RHbZEfDC2Vnav;dzyufy4h%U6gy(bcnenePdI29qZmaX4<5+>C318oVyca&Sf z>)={Mst__b=}Zv>*eAu$su2MYlK?>);v^3&cpY#O6NWN<0sGgA`z#9OC*Uh5sxO}K zS&addMI82tb`ilZP8JWLInXGg(gG;VWDnuH8{Ch??+wY4>qKdTlO=rZ$S|n4a_kXl z6k~anyPz9tEdZkY&1wTQ+J=B;)DIRl2Jqi|*#!Ls8aX8KAgTw82;|7c$kgcapQAHt zgsaffMTkHtgFvD8IiK2y@IF1zxh>PvD#I8h5+F}uC=?koS-%;tsMsFR9YYHf4{k_C z171+;M)Y=-OHHhi{_cyOfL>p5N!P7KM6C$KN_ienuu2x!Eao+K%zUo}cu(5`r~^7q z(7_WBJ5aWs=$IXk^NW{dcGa$-X`uejJ+?;g3*Tqgk0J5t%LER5PRbT1OZg+MG1`E( zkIXzIT#8Wz9;1wK*;Zu z5l~Id^fky1<;xrH;C6Eepmyd80v-zZJ(AiRN3hiDuP3)2AJduGQAm-2BEqi+*15bB+i)DHKB>45FsA>1iTntaomaU&5k37u#2 zIL`Be{5+OiYMJY&NgM8X-ea1R-ow_+E6GfTK@r9~L!#y9t5EDx-Z{%3d6w}94Ta&d z61LkSJqQoD1Rv5aB51e3{SqP0*wb4d*Z}=kzk0BgNixwAS@MElU0@fv zog)uCLZ624(9%SN^+y;Sfg@bbGw-^}j1owinDQl+%bT*q7w0F1E#YMf@kf4Vo?gE0 zSibX}uG?0uLvYia@iGw3<-F(VwWf9R4Ik?$=Es;+oA%H0V=04VsAX`~mBA8dw-Pj4 z8#kUAeVz5tzF5mA{|WEIum#IIbXn}!Yo)_~B6<|z!dWow@ZhF!Ppg?xI%RwI0VT|} zrB^~Z^5ad|KU7`>`Z`_ByX3Zdvc5hRm6AK;#1diw%BB*!bhAY1`=yCUFj7%uM;pGf zWjUJXo-grFHbKO+9|2R^p36xX%FBHd2mgrXCi_F#$``(&TmOie1`#O%*bT>@q=rx}rUt91x$O~Ul zpFx;O^`j|E9BcT4_SJiy`uhe``)601{tXJCz@$W+16Q5J23_*@tcN`>5@m{k&Iwp`hM%wG{r zKmp{f6bT$-t<5!Fyju9KzvpRmiw2d`9J??O)0UB5+xgt3X7iw9pPxha%5K3wZm;{M zp&pJ0a_?3xoF04H)$t0==TBwM)R7@zOtQ`I5_?Ih3hV5heO(Wygg32I^4Ks zcob$cSbW%o9qA4(=Yp0?X@7FXP-R!e%vV+Rx2-!DMDKmH=iy*QNpnm4mY9~`i z6m|F<8<9;!N}%=%wO6RULhThyM8MzFBdFgvf*RgrziTB_A#GDTnpaS$DTUvK>7RPo zStW%PO?aT!QC_2r3}{*QeuM58}>foYpIHV&eVd)v{x8AHRM)szv*#iLvAV zT5BxRA4dVuKj$uX8k;$QlRIkTk~X5%ErZ$0T*AgU2Lw{9gwTmtUsaT&eb0W0sE>Ex5a^68|KUNdF5+T2#LP literal 0 HcmV?d00001 diff --git a/dist/apps/user-profile/favicon.ico b/dist/apps/user-profile/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..317ebcb2336e0833a22dddf0ab287849f26fda57 GIT binary patch literal 15086 zcmeI332;U^%p|z7g|#(P)qFEA@4f!_@qOK2 z_lJl}!lhL!VT_U|uN7%8B2iKH??xhDa;*`g{yjTFWHvXn;2s{4R7kH|pKGdy(7z!K zgftM+Ku7~24TLlh(!g)gz|foI94G^t2^IO$uvX$3(OR0<_5L2sB)lMAMy|+`xodJ{ z_Uh_1m)~h?a;2W{dmhM;u!YGo=)OdmId_B<%^V^{ovI@y`7^g1_V9G}*f# zNzAtvou}I!W1#{M^@ROc(BZ! z+F!!_aR&Px3_reO(EW+TwlW~tv*2zr?iP7(d~a~yA|@*a89IUke+c472NXM0wiX{- zl`UrZC^1XYyf%1u)-Y)jj9;MZ!SLfd2Hl?o|80Su%Z?To_=^g_Jt0oa#CT*tjx>BI z16wec&AOWNK<#i0Qd=1O$fymLRoUR*%;h@*@v7}wApDl^w*h}!sYq%kw+DKDY)@&A z@9$ULEB3qkR#85`lb8#WZw=@})#kQig9oqy^I$dj&k4jU&^2(M3q{n1AKeGUKPFbr z1^<)aH;VsG@J|B&l>UtU#Ejv3GIqERzYgL@UOAWtW<{p#zy`WyJgpCy8$c_e%wYJL zyGHRRx38)HyjU3y{-4z6)pzb>&Q1pR)B&u01F-|&Gx4EZWK$nkUkOI|(D4UHOXg_- zw{OBf!oWQUn)Pe(=f=nt=zkmdjpO^o8ZZ9o_|4tW1ni+Un9iCW47*-ut$KQOww!;u z`0q)$s6IZO!~9$e_P9X!hqLxu`fpcL|2f^I5d4*a@Dq28;@2271v_N+5HqYZ>x;&O z05*7JT)mUe&%S0@UD)@&8SmQrMtsDfZT;fkdA!r(S=}Oz>iP)w=W508=Rc#nNn7ym z1;42c|8($ALY8#a({%1#IXbWn9-Y|0eDY$_L&j{63?{?AH{);EzcqfydD$@-B`Y3<%IIj7S7rK_N}je^=dEk%JQ4c z!tBdTPE3Tse;oYF>cnrapWq*o)m47X1`~6@(!Y29#>-#8zm&LXrXa(3=7Z)ElaQqj z-#0JJy3Fi(C#Rx(`=VXtJ63E2_bZGCz+QRa{W0e2(m3sI?LOcUBx)~^YCqZ{XEPX)C>G>U4tfqeH8L(3|pQR*zbL1 zT9e~4Tb5p9_G}$y4t`i*4t_Mr9QYvL9C&Ah*}t`q*}S+VYh0M6GxTTSXI)hMpMpIq zD1ImYqJLzbj0}~EpE-aH#VCH_udYEW#`P2zYmi&xSPs_{n6tBj=MY|-XrA;SGA_>y zGtU$?HXm$gYj*!N)_nQ59%lQdXtQZS3*#PC-{iB_sm+ytD*7j`D*k(P&IH2GHT}Eh z5697eQECVIGQAUe#eU2I!yI&%0CP#>%6MWV z@zS!p@+Y1i1b^QuuEF*13CuB zu69dve5k7&Wgb+^s|UB08Dr3u`h@yM0NTj4h7MnHo-4@xmyr7(*4$rpPwsCDZ@2be zRz9V^GnV;;?^Lk%ynzq&K(Aix`mWmW`^152Hoy$CTYVehpD-S1-W^#k#{0^L`V6CN+E z!w+xte;2vu4AmVNEFUOBmrBL>6MK@!O2*N|2=d|Y;oN&A&qv=qKn73lDD zI(+oJAdgv>Yr}8(&@ZuAZE%XUXmX(U!N+Z_sjL<1vjy1R+1IeHt`79fnYdOL{$ci7 z%3f0A*;Zt@ED&Gjm|OFTYBDe%bbo*xXAQsFz+Q`fVBH!N2)kaxN8P$c>sp~QXnv>b zwq=W3&Mtmih7xkR$YA)1Yi?avHNR6C99!u6fh=cL|KQ&PwF!n@ud^n(HNIImHD!h87!i*t?G|p0o+eelJ?B@A64_9%SBhNaJ64EvKgD&%LjLCYnNfc; znj?%*p@*?dq#NqcQFmmX($wms@CSAr9#>hUR^=I+=0B)vvGX%T&#h$kmX*s=^M2E!@N9#m?LhMvz}YB+kd zG~mbP|D(;{s_#;hsKK9lbVK&Lo734x7SIFJ9V_}2$@q?zm^7?*XH94w5Qae{7zOMUF z^?%F%)c1Y)Q?Iy?I>knw*8gYW#ok|2gdS=YYZLiD=CW|Nj;n^x!=S#iJ#`~Ld79+xXpVmUK^B(xO_vO!btA9y7w3L3-0j-y4 z?M-V{%z;JI`bk7yFDcP}OcCd*{Q9S5$iGA7*E1@tfkyjAi!;wP^O71cZ^Ep)qrQ)N z#wqw0_HS;T7x3y|`P==i3hEwK%|>fZ)c&@kgKO1~5<5xBSk?iZV?KI6&i72H6S9A* z=U(*e)EqEs?Oc04)V-~K5AUmh|62H4*`UAtItO$O(q5?6jj+K^oD!04r=6#dsxp?~}{`?&sXn#q2 zGuY~7>O2=!u@@Kfu7q=W*4egu@qPMRM>(eyYyaIE<|j%d=iWNdGsx%c!902v#ngNg z@#U-O_4xN$s_9?(`{>{>7~-6FgWpBpqXb`Ydc3OFL#&I}Irse9F_8R@4zSS*Y*o*B zXL?6*Aw!AfkNCgcr#*yj&p3ZDe2y>v$>FUdKIy_2N~}6AbHc7gA3`6$g@1o|dE>vz z4pl(j9;kyMsjaw}lO?(?Xg%4k!5%^t#@5n=WVc&JRa+XT$~#@rldvN3S1rEpU$;XgxVny7mki3 z-Hh|jUCHrUXuLr!)`w>wgO0N%KTB-1di>cj(x3Bav`7v z3G7EIbU$z>`Nad7Rk_&OT-W{;qg)-GXV-aJT#(ozdmnA~Rq3GQ_3mby(>q6Ocb-RgTUhTN)))x>m&eD;$J5Bg zo&DhY36Yg=J=$Z>t}RJ>o|@hAcwWzN#r(WJ52^g$lh^!63@hh+dR$&_dEGu&^CR*< z!oFqSqO@>xZ*nC2oiOd0eS*F^IL~W-rsrO`J`ej{=ou_q^_(<$&-3f^J z&L^MSYWIe{&pYq&9eGaArA~*kA + + + + UserProfile + + + + + + + + + diff --git a/dist/apps/user-profile/main-es2015.a7d49a965009c407b030.js b/dist/apps/user-profile/main-es2015.a7d49a965009c407b030.js new file mode 100644 index 000000000..032b27552 --- /dev/null +++ b/dist/apps/user-profile/main-es2015.a7d49a965009c407b030.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+h6j":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],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;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: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: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("wgY5"))},"+n5x":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("wgY5"))},"/hi0":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("wgY5"))},0:function(t,e,i){t.exports=i("zUnb")},"0yow":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("wgY5"))},"1KVU":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("wgY5"))},"1ors":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("wgY5"))},"2B8G":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("wgY5"))},"2JSI":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("wgY5"))},"3WqV":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("wgY5"))},"3y2C":function(t){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"]}')},"4MAb":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("wgY5"))},"4VvY":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("wgY5"))},"4bvN":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("wgY5"))},"5Mza":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("wgY5"))},"5j0y":function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r={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?r[i][0]:r[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("wgY5"))},"6Olw":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,r={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?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}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("wgY5"))},"6PD3":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?r(i)[0]:n?r(i)[1]:r(i)[2]}function n(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function s(t,e,s,o){var a=t+" ";return 1===t?a+i(0,e,s[0],o):e?a+(n(t)?r(s)[1]:r(s)[0]):o?a+r(s)[1]:a+(n(t)?r(s)[1]:r(s)[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:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(i("wgY5"))},"6cYq":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("wgY5"))},"8Bez":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 r(t,e,i){var r=t+" ";switch(i){case"ss":return r+(n(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return r+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return r+(n(t)?"godziny":"godzin");case"MM":return r+(n(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(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: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}})}(i("wgY5"))},"8Cju":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("wgY5"))},"8GSH":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("wgY5"))},"8Ygf":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("wgY5"))},"9RND":function(t){t.exports=JSON.parse('{"a":"0.24.0"}')},ACAV: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("wgY5"))},"BAN/":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("wgY5"))},"BKZ+":function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r={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?r[i][0]:r[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("wgY5"))},CPJk: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 r="";if(e)switch(i){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(i){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,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("wgY5"))},CZRU: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("wgY5"))},DDip: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("wgY5"))},EL7g: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("wgY5"))},EQmw: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 r=t;switch(i){case"s":return n||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(n||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return r+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(n||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return r+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" h\xf3nap":" h\xf3napja");case"MM":return r+(n||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||e?" \xe9v":" \xe9ve");case"yy":return r+(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("wgY5"))},EnIJ: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("wgY5"))},EqYs: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("wgY5"))},FyS8:function(t,e,i){var n,r,s;!function(o,a){"use strict";t.exports?t.exports=a(i("wgY5")):(r=[i("wgY5")],void 0===(s="function"==typeof(n=a)?n.apply(e,r):n)||(t.exports=s))}(0,(function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var e,i={},n={},r={},s={},o={};t&&"string"==typeof t.version||L("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],r=i[1]||"",s=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&&E.moveInvalidForward&&(e=n),s3){var e=s[v(t)];if(e)return e;L("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(l){}var i,n,r,o=function(){var t,e,i,n=(new Date).getFullYear()-2,r=new _(new Date(n,0,1)),s=[r];for(i=1;i<48;i++)(e=new _(new Date(n,i,1))).offset!==r.offset&&(t=y(r,e),s.push(t),s.push(new _(new Date(t.at+6e4)))),r=e;for(i=0;i<4;i++)s.push(new _(new Date(n+i,0,1))),s.push(new _(new Date(n+i,6,1)));return s}(),a=o.length,c=A(o),u=[];for(n=0;n0?u[0].zone.name:void 0}()),e},E.names=function(){var t,e=[];for(t in s)s.hasOwnProperty(t)&&(i[t]||i[n[t]])&&s[t]&&e.push(s[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(r)},E.zonesForCountry=function(t,e){var i;if(i=(i=t).toUpperCase(),!(t=r[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 R(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=E,t.defaultZone=null,t.updateOffset=function(e,i){var n,r=t.defaultZone;if(void 0===e._z&&(r&&C(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(r.parse(e),"minutes")),e._z=r),e._z)if(n=e._z.utcOffset(e),Math.abs(n)<16&&(n/=60),void 0!==e.utcOffset){var s=e._z;e.utcOffset(-n,i),e._z=s}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):L("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=R(x.zoneName),x.zoneAbbr=R(x.zoneAbbr),x.utc=O(x.utc),x.local=O(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)&&L("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}))},GJYX: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("wgY5"))},GNPT: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],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;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: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: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("wgY5"))},GzvP: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"]},r=function(t){return function(e,r,s,o){var a=i(e),c=n[t][i(e)];return 2===a&&(c=c[r?0:1]),c.replace(/%d/i,e)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(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(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wgY5"))},HgyJ: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("wgY5"))},"J+SV":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("wgY5"))},JFCg: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("wgY5"))},"JO+T":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("wgY5"))},Jt3X: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("wgY5"))},"K+3W":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],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 s(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,i,n){var r=t+" ";switch(i){case"s":return e||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||n?r+(s(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?r+(s(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?r+(s(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?r+(s(t)?"dny":"dn\xed"):r+"dny";case"M":return e||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||n?r+(s(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?r+(s(t)?"roky":"let"):r+"lety"}}t.defineLocale("cs",{months:e,monthsShort:i,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: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("wgY5"))},"K+Lk":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 r(t,e,i,r){var s=t+" ";switch(i){case"s":return e||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||r?s+(n(t)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return e?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return e||r?s+(n(t)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?s+(n(t)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return e||r?"de\u0148":"d\u0148om";case"dd":return e||r?s+(n(t)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?s+(n(t)?"roky":"rokov"):s+"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: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("wgY5"))},KqOT: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("wgY5"))},LsNb: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("wgY5"))},MNf7: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("wgY5"))},MROq:function(t,e,i){var n={"./af":"8GSH","./af.js":"8GSH","./ar":"NcOb","./ar-dz":"1ors","./ar-dz.js":"1ors","./ar-kw":"Sc1Y","./ar-kw.js":"Sc1Y","./ar-ly":"GzvP","./ar-ly.js":"GzvP","./ar-ma":"hH25","./ar-ma.js":"hH25","./ar-sa":"u2jB","./ar-sa.js":"u2jB","./ar-tn":"5Mza","./ar-tn.js":"5Mza","./ar.js":"NcOb","./az":"ZVVJ","./az.js":"ZVVJ","./be":"kQaN","./be.js":"kQaN","./bg":"+n5x","./bg.js":"+n5x","./bm":"TTiN","./bm.js":"TTiN","./bn":"aIF2","./bn.js":"aIF2","./bo":"QWb5","./bo.js":"QWb5","./br":"iQoZ","./br.js":"iQoZ","./bs":"EL7g","./bs.js":"EL7g","./ca":"vd/2","./ca.js":"vd/2","./cs":"K+3W","./cs.js":"K+3W","./cv":"Jt3X","./cv.js":"Jt3X","./cy":"sWi3","./cy.js":"sWi3","./da":"YcFX","./da.js":"YcFX","./de":"BKZ+","./de-at":"Oq9h","./de-at.js":"Oq9h","./de-ch":"hHY4","./de-ch.js":"hHY4","./de.js":"BKZ+","./dv":"w8Ej","./dv.js":"w8Ej","./el":"tSbB","./el.js":"tSbB","./en-SG":"cGzb","./en-SG.js":"cGzb","./en-au":"HgyJ","./en-au.js":"HgyJ","./en-ca":"ZyTy","./en-ca.js":"ZyTy","./en-gb":"exaB","./en-gb.js":"exaB","./en-ie":"yKzn","./en-ie.js":"yKzn","./en-il":"TB59","./en-il.js":"TB59","./en-nz":"iDxo","./en-nz.js":"iDxo","./eo":"4bvN","./eo.js":"4bvN","./es":"GNPT","./es-do":"R7mU","./es-do.js":"R7mU","./es-us":"Nstw","./es-us.js":"Nstw","./es.js":"GNPT","./et":"ZOjb","./et.js":"ZOjb","./eu":"kFC9","./eu.js":"kFC9","./fa":"8Cju","./fa.js":"8Cju","./fi":"vcN1","./fi.js":"vcN1","./fo":"8Ygf","./fo.js":"8Ygf","./fr":"Y8Ij","./fr-ca":"t+Zl","./fr-ca.js":"t+Zl","./fr-ch":"SPXN","./fr-ch.js":"SPXN","./fr.js":"Y8Ij","./fy":"T3MF","./fy.js":"T3MF","./ga":"NowM","./ga.js":"NowM","./gd":"GJYX","./gd.js":"GJYX","./gl":"MdC8","./gl.js":"MdC8","./gom-latn":"5j0y","./gom-latn.js":"5j0y","./gu":"fY0S","./gu.js":"fY0S","./he":"ACAV","./he.js":"ACAV","./hi":"3WqV","./hi.js":"3WqV","./hr":"OnNk","./hr.js":"OnNk","./hu":"EQmw","./hu.js":"EQmw","./hy-am":"MNf7","./hy-am.js":"MNf7","./id":"0yow","./id.js":"0yow","./is":"TmOJ","./is.js":"TmOJ","./it":"xD/0","./it-ch":"foQf","./it-ch.js":"foQf","./it.js":"xD/0","./ja":"jOnb","./ja.js":"jOnb","./jv":"lOtj","./jv.js":"lOtj","./ka":"BAN/","./ka.js":"BAN/","./kk":"iNiw","./kk.js":"iNiw","./km":"TUxt","./km.js":"TUxt","./kn":"hQzt","./kn.js":"hQzt","./ko":"ZNZT","./ko.js":"ZNZT","./ku":"S0Tg","./ku.js":"S0Tg","./ky":"JO+T","./ky.js":"JO+T","./lb":"vn/h","./lb.js":"vn/h","./lo":"gnIm","./lo.js":"gnIm","./lt":"6PD3","./lt.js":"6PD3","./lv":"YKe2","./lv.js":"YKe2","./me":"d3TR","./me.js":"d3TR","./mi":"hTlv","./mi.js":"hTlv","./mk":"ffVN","./mk.js":"ffVN","./ml":"ejL1","./ml.js":"ejL1","./mn":"RIsM","./mn.js":"RIsM","./mr":"CPJk","./mr.js":"CPJk","./ms":"d5Hy","./ms-my":"t4T9","./ms-my.js":"t4T9","./ms.js":"d5Hy","./mt":"1KVU","./mt.js":"1KVU","./my":"LsNb","./my.js":"LsNb","./nb":"h+U8","./nb.js":"h+U8","./ne":"2JSI","./ne.js":"2JSI","./nl":"jsZ8","./nl-be":"+h6j","./nl-be.js":"+h6j","./nl.js":"jsZ8","./nn":"mh29","./nn.js":"mh29","./pa-in":"O6bP","./pa-in.js":"O6bP","./pl":"8Bez","./pl.js":"8Bez","./pt":"DDip","./pt-br":"uHm5","./pt-br.js":"uHm5","./pt.js":"DDip","./ro":"baBi","./ro.js":"baBi","./ru":"ecsu","./ru.js":"ecsu","./sd":"e9KM","./sd.js":"e9KM","./se":"CZRU","./se.js":"CZRU","./si":"TO58","./si.js":"TO58","./sk":"K+Lk","./sk.js":"K+Lk","./sl":"QK6v","./sl.js":"QK6v","./sq":"v3Qg","./sq.js":"v3Qg","./sr":"Ndyf","./sr-cyrl":"PGvg","./sr-cyrl.js":"PGvg","./sr.js":"Ndyf","./ss":"2B8G","./ss.js":"2B8G","./sv":"WF5B","./sv.js":"WF5B","./sw":"4VvY","./sw.js":"4VvY","./ta":"dw3T","./ta.js":"dw3T","./te":"4MAb","./te.js":"4MAb","./tet":"/hi0","./tet.js":"/hi0","./tg":"PoVJ","./tg.js":"PoVJ","./th":"OY2w","./th.js":"OY2w","./tl-ph":"UC+K","./tl-ph.js":"UC+K","./tlh":"cWLW","./tlh.js":"cWLW","./tr":"EqYs","./tr.js":"EqYs","./tzl":"fN8o","./tzl.js":"fN8o","./tzm":"6cYq","./tzm-latn":"pdAN","./tzm-latn.js":"pdAN","./tzm.js":"6cYq","./ug-cn":"J+SV","./ug-cn.js":"J+SV","./uk":"6Olw","./uk.js":"6Olw","./ur":"QNGR","./ur.js":"QNGR","./uz":"hLzJ","./uz-latn":"KqOT","./uz-latn.js":"KqOT","./uz.js":"hLzJ","./vi":"EnIJ","./vi.js":"EnIJ","./x-pseudo":"W7dU","./x-pseudo.js":"W7dU","./yo":"QDhB","./yo.js":"QDhB","./zh-cn":"bjMe","./zh-cn.js":"bjMe","./zh-hk":"JFCg","./zh-hk.js":"JFCg","./zh-tw":"xBDH","./zh-tw.js":"xBDH"};function r(t){var e=s(t);return i(e)}function s(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=s,t.exports=r,r.id="MROq"},MdC8: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("wgY5"))},NcOb: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},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"]},s=function(t){return function(e,i,s,o){var a=n(e),c=r[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: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(/[\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("wgY5"))},Ndyf: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 r=e.words[n];return 1===n.length?i?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};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("wgY5"))},NowM: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("wgY5"))},Nstw: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],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;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: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: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("wgY5"))},O6bP: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("wgY5"))},OIgT:function(t,e,i){"use strict";e.decode=e.parse=i("wOqL"),e.encode=e.stringify=i("f8+N")},OY2w: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("wgY5"))},OnNk: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("wgY5"))},Oq9h:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r={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?r[i][0]:r[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("wgY5"))},PGvg: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 r=e.words[n];return 1===n.length?i?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};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("wgY5"))},PoVJ: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("wgY5"))},QDhB: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("wgY5"))},QK6v:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r=t+" ";switch(i){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return r+(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 r+(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 r+(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 r+(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 r+(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 r+(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("wgY5"))},QNGR: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("wgY5"))},QWb5: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("wgY5"))},R7mU: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],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;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: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: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("wgY5"))},RIsM: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("wgY5"))},S0Tg: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("wgY5"))},SPXN: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("wgY5"))},Sc1Y: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("wgY5"))},T3MF: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("wgY5"))},TB59: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("wgY5"))},TO58: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("wgY5"))},TTiN: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("wgY5"))},TUxt: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("wgY5"))},TmOJ:function(t,e,i){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function i(t,i,n,r){var s=t+" ";switch(n){case"s":return i||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?s+(i||r?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?s+(i||r?"m\xedn\xfatur":"m\xedn\xfatum"):i?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return e(t)?s+(i||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return i?"dagur":r?"dag":"degi";case"dd":return e(t)?i?s+"dagar":s+(r?"daga":"d\xf6gum"):i?s+"dagur":s+(r?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?i?s+"m\xe1nu\xf0ir":s+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?s+"m\xe1nu\xf0ur":s+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||r?"\xe1r":"\xe1ri";case"yy":return e(t)?s+(i||r?"\xe1r":"\xe1rum"):s+(i||r?"\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("wgY5"))},"UC+K":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("wgY5"))},W7dU: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("wgY5"))},WF5B: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("wgY5"))},Y8Ij: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("wgY5"))},YKe2: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,r){return t+" "+i(e[r],t,n)}function r(t,n,r){return i(e[r],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:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},YcFX: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("wgY5"))},ZNZT: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("wgY5"))},ZOjb:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r={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?r[i][2]?r[i][2]:r[i][1]:n?r[i][0]:r[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("wgY5"))},ZVVJ: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("wgY5"))},ZyTy: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("wgY5"))},aIF2: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("wgY5"))},aYSr:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},baBi: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("wgY5"))},bjMe: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("wgY5"))},cGzb: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("wgY5"))},cWLW: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,r){var s=function(t){var i=Math.floor(t%1e3/100),n=Math.floor(t%100/10),r=t%10,s="";return i>0&&(s+=e[i]+"vatlh"),n>0&&(s+=(""!==s?" ":"")+e[n]+"maH"),r>0&&(s+=(""!==s?" ":"")+e[r]),""===s?"pagh":s}(t);switch(n){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" 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("wgY5"))},d3TR: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 r=e.words[n];return 1===n.length?i?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};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("wgY5"))},d5Hy: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("wgY5"))},dw3T: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("wgY5"))},e9KM: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("wgY5"))},ecsu: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,r={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?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}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("wgY5"))},ejL1: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("wgY5"))},etrl:function(t,e,i){var n,r;void 0===(r="function"==typeof(n=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 r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,s=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&&!s?function(t,s,o){var a=r.URL||r.webkitURL,c=document.createElement("a");c.download=s=s||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,s,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,r,s){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,s),r);else if(i(t))e(t,r,s);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(r.HTMLElement)||r.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&c||s)&&"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=r.URL||r.webkitURL,d=h.createObjectURL(t);o?o.location=d:location.href=d,o=null,setTimeout((function(){h.revokeObjectURL(d)}),4e4)}});r.saveAs=o.saveAs=o,t.exports=o})?n.apply(e,[]):n)||(t.exports=r)},exaB: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("wgY5"))},"f8+N":function(t,e,i){"use strict";var n=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,e,i,r){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(r){var s=encodeURIComponent(n(r))+i;return Array.isArray(t[r])?t[r].map((function(t){return s+encodeURIComponent(n(t))})).join(e):s+encodeURIComponent(n(t[r]))})).join(e):r?encodeURIComponent(n(r))+i+encodeURIComponent(n(t)):""}},fN8o:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r={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?r[i][0]:r[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("wgY5"))},fY0S: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("wgY5"))},ffVN: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("wgY5"))},foQf: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("wgY5"))},gnIm: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("wgY5"))},"h+U8":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("wgY5"))},hH25: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("wgY5"))},hHY4:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var r={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?r[i][0]:r[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("wgY5"))},hLzJ: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("wgY5"))},hQzt: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("wgY5"))},hTlv: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("wgY5"))},iDxo: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("wgY5"))},iNiw: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("wgY5"))},iQoZ: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)}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(function t(e){return e>9?t(e%10):e}(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("wgY5"))},jOnb: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()=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},kFC9: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("wgY5"))},kQaN: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,r={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?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}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("wgY5"))},lOtj:function(t,e,i){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=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("wgY5"))},mSaU:function(t,e,i){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]:s.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 s=t.lastIndexOf(e);s>=0&&(t=t.substr(s+1)),"?"===e&&(s=t.indexOf("#"))>=0&&(t=t.substr(0,s));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),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,s=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,L=void 0===C||C,E=e.loadUserInfo,z=void 0===E||E,x=e.staleStateAge,R=void 0===x?900:x,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=r,this._metadata=s,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=!!L,this._loadUserInfo=!!z,this._staleStateAge=R,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 r(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw s.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 s.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,s=e.store,o=void 0===s?r.Global.localStorage:s;!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]: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,s){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(r,s);if(i)try{return void r(JSON.parse(o.responseText))}catch(r){return n.Log.error("JsonService.getJson: Error parsing JSON response",r.message),void s(r)}}s(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else s(Error(o.statusText+" ("+o.status+")"))},o.onerror=function(){n.Log.error("JsonService.getJson: network error"),s(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(r,s){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 s(new Error(e.error))}catch(r){return n.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void s(r)}s(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 r(JSON.parse(o.responseText))}catch(r){return n.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void s(r)}s(Error("Invalid response Content-Type: "+i+", from URL: "+t))}},o.onerror=function(){n.Log.error("JsonService.postForm: network error"),s(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,r=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,s.default)(),this._data=n,this._created="number"==typeof r&&r>0?r:parseInt(Date.now()/1e3),this._request_type=o}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 s=[],o=function(o){var a=i[o];c=e.get(a).then((function(i){var s=!1;if(i)try{var o=t.fromStorageString(i);r.Log.debug("State.clearStaleState: got item from key: ",a,o.created),o.created<=n&&(s=!0)}catch(t){r.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),s=!0}else r.Log.debug("State.clearStaleState: no item in storage for key: ",a),s=!0;if(s)return r.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)})),s.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 s.OidcClientSettings?e:new s.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,s=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];r.Log.debug("OidcClient.createSigninRequest");var k=this._settings.client_id;n=n||this._settings.scope,s=s||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){r.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var C=new a.SigninRequest({url:e,client_id:k,redirect_uri:s,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}),L=C.state;return(T=T||t._stateStore).set(L.id,L.toStorageString()).then((function(){return C}))}))},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&&a.SigninRequest.isCode(this._settings.response_type)?"?":"#",s=new c.SigninResponse(t,n);return s.state?(e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(s.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:s}}))):(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,s=e.state,o=e.post_logout_redirect_uri,a=e.extraQueryParams,c=e.request_type,l=arguments[1];return r.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 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 u.SignoutRequest({url:e,id_token_hint:i,post_logout_redirect_uri:o,data:n||s,extraQueryParams:a,request_type:c}),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 o.ErrorResponse(n))):Promise.resolve({undefined:void 0,response:n});var s=n.state;return e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(s).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),s=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]:r.MetadataService;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("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 s.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e).then((function(t){return s.Log.debug("TokenClient.exchangeCode: response received"),t}))})):(s.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(s.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(s.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(s.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 s.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e).then((function(t){return s.Log.debug("TokenClient.exchangeRefreshToken: response received"),t}))})):(s.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(s.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,s=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),!r)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,s||r));return u.name="ErrorResponse",u.error=r,u.error_description=s,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),r=i(3),s=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 L=t.isOidc(c),E=t.isCode(c);w||(w=t.isCode(c)?"query":null),this.state=new s.SigninState({nonce:L,data:h,client_id:o,authority:l,redirect_uri:a,code_verifier:E,request_type:T,response_mode:w,client_secret:k,scope:u,extraTokenParams:S,skipUserInfo:C}),i=r.UrlUtility.addQueryParam(i,"client_id",o),i=r.UrlUtility.addQueryParam(i,"redirect_uri",a),i=r.UrlUtility.addQueryParam(i,"response_type",c),i=r.UrlUtility.addQueryParam(i,"scope",u),i=r.UrlUtility.addQueryParam(i,"state",this.state.id),L&&(i=r.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),E&&(i=r.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=r.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 x in z)z[x]&&(i=r.UrlUtility.addQueryParam(i,x,z[x]));for(var R in v)i=r.UrlUtility.addQueryParam(i,R,v[R]);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,s=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=r,g._client_id=s,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 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}(s.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,s=e.accessTokenExpiringTimer,o=void 0===s?new r.Timer("Access token expiring"):s,a=e.accessTokenExpiredTimer,c=void 0===a?new r.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 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]:s.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 r.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){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,s=e._checkSessionInterval,o=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,s,o),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 s=!(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=s;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),r=i(2),s=i(1);e.TokenRevocationClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Global.XMLHttpRequest,o=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 o(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(s){if(s)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+r),i._revoke(s,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,s){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(s),l+="&token="+encodeURIComponent(r),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]:s.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 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=c,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 c.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 c.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 s=e[r];Array.isArray(s)||(s=[s]);for(var o=0;o1)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"));c=a[0]}if(!c)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 u=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,c,o,u,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 s="sha"+n,o=this._joseUtil.hashString(t.access_token,s);if(!o)return r.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",s),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?(r.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",c,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),s=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]:r.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 s.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 s.Log.debug("UserInfoService.getClaims: received userinfo url",i),e._jsonService.getJson(i,t).then((function(t){return s.Log.debug("UserInfoService.getClaims: claims received",t),t}))})):(s.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 s.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var r=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 s.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),i._metadataService.getSigningKeys().then((function(o){if(!o)return s.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));s.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(r)a=o.filter((function(t){return t.kid===r}))[0];else{if((o=i._filterByAlg(o,n.header.alg)).length>1)return s.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 s.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 s.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 s.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload}))}))}))}catch(t){return s.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 s.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];i="EC"}return s.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),t=t.filter((function(t){return t.kty===i})),s.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===s)var s={};s.lang={extend:function(e,i,r){if(!i||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var s=function(){};if(s.prototype=i.prototype,e.prototype=new s,e.prototype.constructor=e,e.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),r){var o;for(o in r)e.prototype[o]=r[o];var a=function(){},c=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(a=function(t,e){for(o=0;o>>2]|=(i[s>>>2]>>>24-s%4*8&255)<<24-(n+s)%4*8;else for(s=0;s>>2]=i[s>>>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=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-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).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=[],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)}},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,r=this.blockSize,s=n/(4*r),a=(s=t?o.ceil(s):o.max((0|s)-this._minBufferSize,0))*r,c=o.min(4*a,n);if(a){for(var u=0;u>>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,o=0;4>o&&r+.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;(r=n.charAt(64))&&-1!=(r=e.indexOf(r))&&(i=r);for(var r=[],s=0,o=0;o>>6-o%4*2;r[s>>>2]|=(a|c)<<24-s%4*8,s++}return t.create(r,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=_,i=(r=e.lib).WordArray,n=r.Hasher,r=e.algo,s=[],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&&(s[u]=a(t.pow(c,.5))),o[u]=a(t.pow(c,1/3)),u++),c++}var p=[];r=r.SHA256=n.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],r=i[1],s=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&r^n&s^r&s),h=l,l=u,u=c,c=a+f|0,a=s,s=r,r=n,n=f+g|0}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+s|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,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=_,i=e.lib.Hasher,n=(s=e.x64).Word,r=s.WordArray,s=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();s=s.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],s=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=r.high,_=r.low,b=s.high,y=s.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,L=d,E=p,z=f,x=g,R=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|(J=G.low)<<13)^(V<<3|J>>>29)^V>>>6,J=(J>>>19|V<<13)^(J<<3|V>>>29)^(J>>>6|V<<26),$=(V=a[W-7]).high,Q=(Z=a[W-16]).high,Z=Z.low;K=(K=(K=K+$+((V=X+V.low)>>>0>>0?1:0))+G+((V+=J)>>>0>>0?1:0))+Q+((V+=Z)>>>0>>0?1:0),U.high=K,U.low=V}U=L&z^L&R^z&R;var tt=E&x^E&O^x&O,et=(X=(L>>>28|E<<4)^(L<<30|E>>>2)^(L<<25|E>>>7),G=(E>>>28|L<<4)^(E<<30|L>>>2)^(E<<25|L>>>7),(J=o[W]).high),it=J.low;Q=(Q=(Q=(Q=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))+($=N&B^~N&H)+((J+=Z=I&F^~I&q)>>>0>>0?1:0))+et+((J+=it)>>>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+Q+((I=P+J|0)>>>0

>>0?1:0)|0,D=R,P=O,R=z,O=x,z=L,x=E,L=Q+(U=X+U+((V=G+tt)>>>0>>0?1:0))+((E=J+V|0)>>>0>>0?1:0)|0}p=i.low=p+E,i.high=d+L+(p>>>0>>0?1:0),g=n.low=g+x,n.high=f+z+(g>>>0>>0?1:0),_=r.low=_+O,r.high=m+R+(_>>>0>>0?1:0),y=s.low=y+P,s.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(s),e.HmacSHA512=i._createHmacHelper(s)}(),function(){var t=_,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 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,r="",s=0;for(e=0;e>2),i=3&n,s=1):1==s?(r+=L(i<<2|n>>4),i=15&n,s=2):2==s?(r+=L(i),r+=L(n>>2),i=3&n,s=3):(r+=L(i<<2|n>>4),r+=L(15&n),s=0));return 1==s&&(r+=L(i<<2)),r}function A(t){var e,i=M(t),n=new Array;for(e=0;2*e>15;--s>=0;){var c=32767&this[t],u=this[t++]>>15,l=a*c+u*o;r=((c=o*c+((32767&l)<<15)+i[n]+(1073741823&r))>>>30)+(l>>>15)+a*u+(r>>>30),i[n++]=1073741823&c}return r},b=30):"Netscape"!=n.appName?(v.prototype.am=function(t,e,i,n,r,s){for(;--s>=0;){var o=e*this[t++]+i[n]+r;r=Math.floor(o/67108864),i[n++]=67108863&o}return r},b=26):(v.prototype.am=function(t,e,i,n,r,s){for(var o=16383&e,a=e>>14;--s>=0;){var c=16383&this[t],u=this[t++]>>14,l=a*c+u*o;r=((c=o*c+((16383&l)<<14)+i[n]+r)>>28)+(l>>14)+a*u,i[n++]=268435455&c}return r},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 R(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}R.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},R.prototype.revert=function(t){return t},R.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},R.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},R.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,r=!1,s=0;--n>=0;){var o=8==i?255&t[n]:E(t,n);o<0?"-"==t.charAt(n)&&(r=!0):(r=!1,0==s?this[this.t++]=o:s+i>this.DB?(this[this.t-1]|=(o&(1<>this.DB-s):this[this.t-1]|=o<=this.DB&&(s-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,s>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]>>r|a,a=(this[i]&s)<=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,r=this.DB-n,s=(1<>n;for(var o=i+1;o>n;n>0&&(e[this.t-i-1]|=(this.s&s)<>=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(),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()},v.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var r=this.abs();if(r.t0?(n.lShiftTo(c,s),r.lShiftTo(c,i)):(n.copyTo(s),r.copyTo(i));var u=s.t,l=s[u-1];if(0!=l){var h=l*(1<1?s[u-2]>>this.F2:0),d=this.FV/h,p=(1<=0&&(i[i.t++]=1,i.subTo(_,i)),v.ONE.dlShiftTo(u,_),_.subTo(s,s);s.t=0;){var b=i[--g]==l?this.DM:Math.floor(i[g]*d+(i[g-1]+f)*p);if((i[g]+=s.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(),r=e.convert(this),s=x(t)-1;for(r.copyTo(i);--s>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,r,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&&(r=!0,s=L(i));o>=0;)a>(a+=this.DB-e)):(i=this[o]>>(a-=e)&n,a<=0&&(a+=this.DB,--o)),i>0&&(r=!0),r&&(s+=L(i));return r?s:"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)+x(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 R(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),r=T(),s=T(),o="";for(this.divRemTo(n,r,s);r.signum()>0;)o=(i+s.intValue()).toString(t).substr(1)+o,r.divRemTo(n,r,s);return s.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),r=!1,s=0,o=0,a=0;a=i&&(this.dMultiply(n),this.dAddOffset(o,0),s=0,o=0))}s>0&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(o,0)),r&&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,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()},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,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},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 r=T(),s=0;s>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,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},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(r=x(t[p])-1;p>=0;){for(r>=c?h=t[p]>>r-c&u:(h=(t[p]&(1<0&&(h|=t[p-1]>>this.DB+r-c)),a=i;0==(1&h);)h>>=1,--a;if((r-=a)<0&&(r+=this.DB,--p),f)o[h].copyTo(s),f=!1;else{for(;a>1;)n.sqrTo(s,g),n.sqrTo(g,s),a-=2;a>0?n.sqrTo(s,g):(d=s,s=g,g=d),n.mulTo(g,o[h],s)}for(;p>=0&&0==(t[p]&1<=0?(i.subTo(n,i),e&&r.subTo(o,r),s.subTo(a,s)):(n.subTo(i,n),e&&o.subTo(r,o),a.subTo(s,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 r=e.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return e;for(r0&&(e.rShiftTo(s,e),i.rShiftTo(s,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 s>0&&i.lShiftTo(s,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&J;U=0,G()}function tt(){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 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 st(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)}},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 s=new et,o=new Array;e>2;){for(o[0]=0;0==o[0];)s.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},rt.prototype.encryptOAEP=function(t,e,i){var n=function(t,e,i,n){var r=ut.crypto.MessageDigest,s=ut.crypto.Util,o=null;if(i||(i="sha1"),"string"==typeof i&&(o=r.getCanonicalAlgName(i),n=r.getHashLength(o),i=function(t){return vt(s.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 r=this.doPublic(n);if(null==r)return null;var s=r.toString(16);return 0==(1&s.length)?s:"0"+s},rt.prototype.type="RSA",st.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},st.prototype.toBigInteger=function(){return this.x},st.prototype.negate=function(){return new st(this.q,this.x.negate().mod(this.q))},st.prototype.add=function(t){return new st(this.q,this.x.add(t.toBigInteger()).mod(this.q))},st.prototype.subtract=function(t){return new st(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},st.prototype.multiply=function(t){return new st(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},st.prototype.square=function(){return new st(this.q,this.x.square().mod(this.q))},st.prototype.divide=function(t){return new st(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"),r=this.x.toBigInteger(),s=this.y.toBigInteger(),o=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),a=o.multiply(i),c=r.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(s.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),r=n.multiply(i).mod(this.curve.q),s=this.curve.a.toBigInteger(),o=e.square().multiply(t);v.ZERO.equals(s)||(o=o.add(this.z.square().multiply(s)));var a=(o=o.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(n).mod(this.curve.q),c=o.multiply(t).multiply(e).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).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")),r=this.negate(),s=this;for(e=n.bitLength()-2;e>0;--e){s=s.twice();var o=n.testBit(e);o!=i.testBit(e)&&(s=s.add(o?this:r))}return s},ot.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(),s=this.add(e);n>=0;)r=r.twice(),t.testBit(n)?r=i.testBit(n)?r.add(s):r.add(this):i.testBit(n)&&(r=r.add(e)),--n;return r},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 st(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}},st.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(),r=e(i,32);return t?n.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(e(n,32))),r},ot.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 s=new v(n),o=new v(r);return new ot(t,t.fromBigInteger(s),t.fromBigInteger(o))},ot.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),s=new v(n,16),o=new v(r,16);return new ot(t,t.fromBigInteger(s),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),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,r)},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)),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,r)},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")),r=this.negate(),s=this;for(e=n.bitLength()-2;e>0;--e){s=s.twice();var o=n.testBit(e);o!=i.testBit(e)&&(s=s.add2D(o?this:r))}return s},ot.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(),s=e.multiply(e).mod(r),o=t.multiply(t).multiply(t).add(i.multiply(t)).add(n).mod(r);return s.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 r(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var s=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 r[s[l]]}return a.call(e,n,r)}({"":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="",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""}},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))},s.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,r=this.localDateToUTC(t),s=String(r.getFullYear());"utc"==e&&(s=s.substr(2,2));var o=s+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 a=r.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,r,s){var o=new Date(Date.UTC(t,e-1,i,n,r,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},s.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)},s.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"},s.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))},s.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||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?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*s)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 r,s,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 r=i.shift(),s=o.getChildIdx(t,e),o.getIdxbyList(t,s[r],i,n)},dt.getTLVbyList=function(t,e,i,n){var r=dt,s=r.getIdxbyList(t,e,i);if(void 0===s)throw"can't find nthList object";if(void 0!==n&&t.substr(s,2)!=n)throw"checking tag doesn't match: "+t.substr(s,2)+"!="+n;return r.getTLV(t,s)},dt.getVbyList=function(t,e,i,n,r){var s,o,a=dt;if(void 0===(s=a.getIdxbyList(t,e,i,n)))throw"can't find nthList object";return o=a.getV(t,s),!0===r&&(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),r=parseInt(n,16);i[0]=new String(Math.floor(r/40)),i[1]=new String(r%40);for(var s=t.substr(2),o=[],a=0;a0&&(l=l+"."+c.join(".")),l},dt.dump=function(t,e,i,n){var r=dt,s=r.getV,o=r.dump,a=r.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=s(c,i))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==c.substr(i,2))return n+"INTEGER "+u(h=s(c,i),l)+"\n";if("03"==c.substr(i,2))return n+"BITSTRING "+u(h=s(c,i),l)+"\n";if("04"==c.substr(i,2)){var h=s(c,i);return r.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=s(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(s(c,i))+"'\n";if("13"==c.substr(i,2))return n+"PrintableString '"+At(s(c,i))+"'\n";if("14"==c.substr(i,2))return n+"TeletexString '"+At(s(c,i))+"'\n";if("16"==c.substr(i,2))return n+"IA5String '"+At(s(c,i))+"'\n";if("17"==c.substr(i,2))return n+"UTCTime "+At(s(c,i))+"\n";if("18"==c.substr(i,2))return n+"GeneralizedTime "+At(s(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=r.oidname(s(c,y[0]));var _=JSON.parse(JSON.stringify(e));_.x509ExtName=f,m=_}for(var b=0;br)throw"key is too short for SigAlg: keylen="+i+","+e;for(var s="0001",o="00"+n,a="",c=r-s.length-o.length,u=0;u=0)return!1;if(i.compareTo(v.ONE)<0||i.compareTo(r)>=0)return!1;var o=i.modInverse(r),a=t.multiply(o).mod(r),c=e.multiply(o).mod(r);return s.multiply(a).add(n.multiply(c)).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: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,r=ut.crypto.ECDSA.getName,s=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=s(t,0,[2,0],"06"),i=s(t,0,[1],"04");try{n=s(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=ut.crypto.ECDSA.getName,s=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{s(t,0,[1,0],"06"),e=s(t,0,[1,1],"06"),i=s(t,0,[2,0,1],"04");try{n=s(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=ut.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=ut.crypto.ECDSA.getName,s=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{i=s(t,0,[0,e,0,1],"06"),n=s(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))},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 r=n[0],s=n[1];if("02"!=t.substr(r,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(s,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:i(t,r),s:i(t,s)}},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}),r=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,r]}).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,r,s,o,a,c,u,l,h,d,p,f){t[n]={};var g=i(s),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=r,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*r[t].keylen),h.ivhex=c.substr(2*r[t].keylen,2*r[t].ivlen),h},a=function(t,e,i,n){var s=_.enc.Base64.parse(t),o=_.enc.Hex.stringify(s);return(0,r[e].proc)(o,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return s(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=s(t),n=i.cipher,r=i.ivsalt,c=i.data,u=o(n,e,r).keyhex;return a(c,n,u,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,i,n,s){var a="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===r[n])throw"KEYUTIL unsupported algorithm: "+n;return void 0!==s&&null!=s||(s=function(t){var e=_.lib.WordArray.random(t);return _.enc.Hex.stringify(e)}(r[n].ivlen).toUpperCase()),a="-----BEGIN "+t+" PRIVATE KEY-----\r\n",a+="Proc-Type: 4,ENCRYPTED\r\n",a+="DEK-Info: "+n+","+s+"\r\n",a+="\r\n",(a+=function(t,e,i,n){return(0,r[e].eproc)(t,i,n)}(e,n,o(n,i,s).keyhex,s).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={},s=i(e,0);if(2!=s.length)throw"malformed format: SEQUENCE(0).items != 2: "+s.length;r.ciphertext=n(e,s[1]);var o=i(e,s[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";r.encryptionSchemeAlg="TripleDES",r.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;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=_.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=Et(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),r=Ft.getPBKDF2KeyHexFromParam(n,e),s={};s.ciphertext=_.enc.Hex.parse(n.ciphertext);var o=_.enc.Hex.parse(r),a=_.enc.Hex.parse(n.encryptionSchemeIV),c=_.TripleDES.decrypt(s,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,r={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var s=i(t,0);if(3!=s.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(s[1],2))throw"malformed PKCS8 private key(code:003)";var o=i(t,s[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(r.algoid=n(t,o[0]),"06"==t.substr(o[1],2)&&(r.algparam=n(t,o[1])),"04"!=t.substr(s[2],2))throw"malformed PKCS8 private key(code:006)";return r.keyidx=e.getVidx(t,s[2]),r},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=Et(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 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 rt;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 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},s=i(t,0);if(2!=s.length)throw"outer DERSequence shall have 2 elements: "+s.length;var o=s[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(r.algoid=n(t,a[0]),"06"==t.substr(a[1],2)?r.algparam=n(t,a[1]):"30"==t.substr(a[1],2)&&(r.algparam={},r.algparam.p=e.getVbyList(t,a[1],[0],"02"),r.algparam.q=e.getVbyList(t,a[1],[1],"02"),r.algparam.g=e.getVbyList(t,a[1],[2],"02")),"03"!=t.substr(s[1],2))throw"malformed PKCS8 public key(code:004)";return r.key=n(t,s[1]).substr(2),r}}}();Ft.getKey=function(t,e,i){var n,r=(_=dt).getChildIdx,s=_.getVbyList,o=ut.crypto,a=o.ECDSA,c=o.DSA,u=rt,l=Et,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(E=new u).setPublic(t.n,t.e),E;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(E=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),E;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(E=new u).setPrivate(t.n,t.e,t.d),E;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(E=new c).setPublic(t.p,t.q,t.g,t.y),E;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(E=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),E;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(E=new u).setPublic(wt(t.n),wt(t.e)),E;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(E=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)),E;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(E=new u).setPrivate(wt(t.n),wt(t.e),wt(t.d)),E;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(L=new a({curve:t.crv})).ecparams.keylen/4,p="04"+("0000000000"+wt(t.x)).slice(-d)+("0000000000"+wt(t.y)).slice(-d);return L.setPublicKeyHex(p),L}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(L=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 L.setPublicKeyHex(p),L.setPrivateKeyHex(f),L}if("pkcs5prv"===i){var g,m=t,_=dt;if(9===(g=r(m,0)).length)(E=new u).readPKCS5PrvKeyHex(m);else if(6===g.length)(E=new c).readPKCS5PrvKeyHex(m);else{if(!(g.length>2&&"04"===m.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(E=new a).readPKCS5PrvKeyHex(m)}return E}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=Et(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=s(n=l(t,"DSA PRIVATE KEY"),0,[1],"02"),M=s(n,0,[2],"02"),A=s(n,0,[3],"02"),T=s(n,0,[4],"02"),k=s(n,0,[5],"02");return(E=new c).setPrivate(new v(w,16),new v(M,16),new v(A,16),new v(T,16),new v(k,16)),E}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 rt;return C.readPKCS5PrvKeyHex(S),C}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var L,E=s(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),z=s(n,0,[2,0],"06"),x=s(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(L=new a({curve:ut.crypto.OID.oidhex2name[z]})).setPublicKeyHex(x),L.setPrivateKeyHex(E),L.isPublic=!1,L}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return w=s(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),M=s(n,0,[2],"02"),A=s(n,0,[3],"02"),T=s(n,0,[4],"02"),k=s(n,0,[5],"02"),(E=new c).setPrivate(new v(w,16),new v(M,16),new v(A,16),new v(T,16),new v(k,16)),E;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 rt).generate(i,"10001"),o.isPrivate=!0,o.isPublic=!0;var n=new rt,r=o.n.toString(16),s=o.e.toString(16);return n.setPublic(r,s),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,r,s){var o=ut.asn1,a=o.DERObjectIdentifier,c=o.DERInteger,u=o.ASN1Util.newObject,l=ut.crypto,h=l.DSA,d=l.ECDSA,p=rt;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 Lt(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 Lt(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+=Lt(b,"EC PARAMETERS"))+Lt(y,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return Lt(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,s)}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,s);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,s);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),r=_.PBKDF2(e,i,{keySize:6,iterations:100}),s=_.enc.Hex.parse(t),o=_.TripleDES.encrypt(s,r,{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?Lt(M,"PRIVATE KEY"):Lt(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?Lt(M,"PRIVATE KEY"):Lt(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?Lt(M,"PRIVATE KEY"):Lt(y=A(M,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Ft.getKeyFromCSRPEM=function(t){var e=Et(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={},r=t;if("30"!=r.substr(0,2))throw"malformed CSR(code:001)";var s=e(r,0);if(s.length<1)throw"malformed CSR(code:002)";if("30"!=r.substr(s[0],2))throw"malformed CSR(code:003)";var o=e(r,s[0]);if(o.length<3)throw"malformed CSR(code:004)";return n.p8pubkeyhex=i(r,o[2]),n},Ft.getJWKFromKey=function(t){var e={};if(t instanceof rt&&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 rt&&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"},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]),s=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,r,s,o,a,c,u,l,h),e},rt.prototype.readPrivateKeyFromPEMString=function(t){var e=Et(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,s,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"),r=u(t,0,[2,0,4],"02"),s=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,r,s,o,a,c)},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]),s=i(t,n[1]);this.setPublic(r,s)},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 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,r=0;r>24,(16711680&r)>>16,(65280&r)>>8,255&r])))),r+=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,r=t.getVbyList,s=t.getTLVbyList,o=t.getIdxbyList,a=t.getVidx,c=t.oidname,u=Wt,l=Et;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"!==s(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 c(r(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return s(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return u.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return s(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return u.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 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(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=s(this.hex,0,[0],"30"),r=new ut.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=o(this.hex,0,[0,7,0],"30"),n=e(this.hex,i);this.aExtInfo=new Array;for(var s=0;s0&&(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"+r+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 r=n[0];return n[1]==function(t){return ut.crypto.Util.hashString(t,r)}(t)},rt.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},rt.prototype.verifyPSS=function(t,e,i,n){var r=function(t){return ut.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 v(e,16);if(r.bitLength()>this.n.bitLength())return!1;var s,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(s=0;s0&&-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 r))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===s.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+m;if("none"==(_=s.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("."),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=ut.jws.JWS.readSafeJSONString(ht(n[0])),r.payloadObj=ut.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},ut.jws.JWS.verifyJWT=function(t,e,n){var r=ut.jws,s=r.JWS,o=s.readSafeJSONString,a=s.inArray,c=s.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=r.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,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=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:_(t,e,i,n,r);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):_(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function _(t,e,i,n,r){var s,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(r){var l=-1;for(s=i;sa&&(i=a-c),s=i;s>=0;s--){for(var h=!0,d=0;dr&&(n=r):n=r;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var o=0;o>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 k(t,e,i){i=Math.min(t.length,i);for(var n=[],r=e;r239?4:u>223?3:u>191?2:1;if(r+h<=i)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(s=t[r+1]))&&(c=(31&u)<<6|63&s)>127&&(l=c);break;case 3:o=t[r+2],128==(192&(s=t[r+1]))&&128==(192&o)&&(c=(15&u)<<12|(63&s)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[r+2],a=t[r+3],128==(192&(s=t[r+1]))&&128==(192&o)&&128==(192&a)&&(c=(15&u)<<18|(63&s)<<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),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 E(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 L(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,r){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===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 s=(r>>>=0)-(n>>>=0),o=(i>>>=0)-(e>>>=0),a=Math.min(s,o),u=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 s=!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(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!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 r=e;rn)&&(i=n);for(var r="",s=e;si)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,i,n,r,s){if(!c.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 O(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,s=Math.min(t.length-i,2);r>>8*(n?r:1-r)}function D(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,s=Math.min(t.length-i,4);r>>8*(n?r:3-r)&255}function P(t,e,i,n,r,s){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,s){return s||P(t,0,i,4),r.write(t,e,i,n,23,4),i+4}function I(t,e,i,n,s){return s||P(t,0,i,8),r.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&&(r*=256);)n+=this[t+--e]*r;return n},c.prototype.readUInt8=function(t,e){return e||x(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||x(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||x(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||x(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||x(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||x(t,e,this.length);for(var n=this[t],r=1,s=0;++s=(r*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||x(t,e,this.length);for(var n=e,r=1,s=this[t+--n];n>0&&(r*=256);)s+=this[t+--n]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*e)),s},c.prototype.readInt8=function(t,e){return e||x(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||x(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||x(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||x(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||x(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||x(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||x(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||x(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||x(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,i,n){t=+t,e|=0,i|=0,n||R(this,t,e,i,Math.pow(2,8*i)-1,0);var r=1,s=0;for(this[e]=255&t;++s=0&&(s*=256);)this[e+r]=t/s&255;return e+i},c.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||R(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||R(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||R(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||R(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||R(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 r=Math.pow(2,8*i-1);R(this,t,e,i,r-1,-r)}var s=0,o=1,a=0;for(this[e]=255&t;++s>0)-a&255;return e+i},c.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);R(this,t,e,i,r-1,-r)}var s=i-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+i},c.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||R(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||R(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||R(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||R(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||R(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;--r)t[r+e]=this[r+i];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(s=e;s55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&s.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&s.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;s.push(i)}else if(i<2048){if((e-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;s.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;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}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 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=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 s(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=r[t.charCodeAt(h)]<<2|r[t.charCodeAt(h+1)]>>4,a[c++]=255&e),1===o&&(e=r[t.charCodeAt(h)]<<10|r[t.charCodeAt(h+1)]<<4|r[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,r=i%3,s=[],o=0,a=i-r;oa?a:o+16383));return 1===r?s.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===r&&s.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),s.join("")};for(var n=[],r=[],s="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 r,s=[],o=e;o>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,n,r){var s,o,a=8*r-n-1,c=(1<>1,l=-7,h=i?r-1:0,d=i?-1:1,p=t[e+h];for(h+=d,s=p&(1<<-l)-1,p>>=-l,l+=a;l>0;s=256*s+t[e+h],h+=d,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=n;l>0;o=256*o+t[e+h],h+=d,l-=8);if(0===s)s=1-u;else{if(s===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),s-=u}return(p?-1:1)*o*Math.pow(2,s-n)},e.write=function(t,e,i,n,r,s){var o,a,c,u=8*s-r-1,l=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:s-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,r),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[i+p]=255&a,p+=f,a/=256,r-=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,r=t.X509,s=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 r=e.JWS.parse(i);return{header:r.headerObj,payload:r.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,s,o,c,u,l,h){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===s.kty)if(s.e&&s.n)s=i.getKey(s);else{if(!s.x5c||!s.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",s),Promise.reject(new Error("RSA key missing key material"));var d=a(s.x5c[0]);s=r.getPublicKeyFromCertHex(d)}else{if("EC"!==s.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",s&&s.kty),Promise.reject(new Error(s.kty));if(!(s.crv&&s.x&&s.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",s),Promise.reject(new Error("EC key missing key material"));s=i.getKey(s)}return t._validateJwt(e,s,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,r,s,o,a){s||(s=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===r||Array.isArray(c.aud)&&c.aud.indexOf(r)>=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!==r)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+s,l=o-s;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 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),s=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=r.UrlUtility.addQueryParam(i,"id_token_hint",o)),a&&(i=r.UrlUtility.addQueryParam(i,"post_logout_redirect_uri",a),c&&(this.state=new s.State({data:c,request_type:l}),i=r.UrlUtility.addQueryParam(i,"state",this.state.id))),u)i=r.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,s=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&&(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 s(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?(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,s=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")):s}))},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 a.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(s){return r.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(s):Promise.resolve()).then((function(){var o=t.id_token_hint||s&&s.id_token;return o&&(r.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=o),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"),a.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}(s.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,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,L=void 0===C||C,E=i.query_status_response_type,z=i.revokeAccessTokenOnSignout,x=void 0!==z&&z,R=i.accessTokenExpiringNotificationTime,O=void 0===R?60:R,D=i.redirectNavigator,P=void 0===D?new s.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=r,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=L,j._query_status_response_type=E||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),j._revokeAccessTokenOnSignout=x,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}(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]:s.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 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=r||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)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;t20?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("wgY5"))},"t+Zl":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("wgY5"))},t4T9: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("wgY5"))},tSbB: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],r=e&&e.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(e)),n.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}})}(i("wgY5"))},u2jB: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("wgY5"))},uHm5: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("wgY5"))},v3Qg: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("wgY5"))},vcN1: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,r,s){var o="";switch(r){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":return s?"sekunnin":"sekuntia";case"m":return s?"minuutin":"minuutti";case"mm":o=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":o=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":o=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":o=s?"vuoden":"vuotta"}return function(t,n){return t<10?n?i[t]:e[t]:t}(t,s)+" "+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("wgY5"))},"vd/2":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("wgY5"))},"vn/h":function(t,e,i){!function(t){"use strict";function e(t,e,i,n){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 e?r[i][0]:r[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("wgY5"))},w8Ej: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("wgY5"))},wOqL:function(t,e,i){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,i,r){i=i||"=";var s={};if("string"!=typeof t||0===t.length)return s;var o=/\+/g;t=t.split(e=e||"&");var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.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),n(s,d)?Array.isArray(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s}},wgY5:function(t,e,i){(function(t){t.exports=function(){"use strict";var e,n;function r(){return e.apply(null,arguments)}function s(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(r=e[n=_[i]])||(t[n]=r);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,r.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,r=Math.min(t.length,e.length),s=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 r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(Y[t]=r),e&&(Y[e[0]]=function(){return F(r.apply(this,arguments),e[1],e[2])}),i&&(Y[i]=function(){return this.localeData().ordinal(r.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,r=t.match(H);for(e=0,i=r.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}/,J=/\d{4}/,$=/[+-]?\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}/,rt=/\d+/,st=/[+-]?\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,r){return e||i||n||r}))))}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),r.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,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,r,s,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,r){var s,o,a=1+7*(e-1)+(7+i-n)%7+Nt(t,n,r);return a<=0?o=_t(s=t-1)+a:a>_t(t)?(s=t+1,o=a-_t(t)):(s=t,o=a),{year:s,dayOfYear:o}}function Bt(t,e,i){var n,r,s=Nt(t.year(),e,i),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?n=o+Ft(r=t.year()-1,e,i):o>Ft(t.year(),e,i)?(n=o-Ft(t.year(),e,i),r=t.year()+1):(r=t.year(),n=o),{week:n,year:r}}function Ft(t,e,i){var n=Nt(t,e,i),r=Nt(t+1,e,i);return(_t(t)-n+r)/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 r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r: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,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=yt.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=yt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._shortWeekdaysParse,o))||-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=yt.call(this._shortWeekdaysParse,o))||-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=yt.call(this._minWeekdaysParse,o))||-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._shortWeekdaysParse,o))?r:null}var Ut=ct,Kt=ct,Vt=ct;function Xt(){function t(t,e){return e.length-t.length}var e,i,n,r,s,o=[],a=[],c=[],u=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),s=this.weekdays(i,""),o.push(n),a.push(r),c.push(s),u.push(n),u.push(r),u.push(s);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){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,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)})),Jt("a",!0),Jt("A",!1),D("hour","h"),B("hour",13),lt("a",$t),lt("A",$t),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,r=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n,2)),e[5]=v(t.substr(r)),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,r=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n,2)),e[5]=v(t.substr(r))}));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 re(e){var n=null;if(!ee[e]&&void 0!==t&&t&&t.exports)try{n=Qt._abbr,i("MROq")("./"+e),se(n)}catch(r){}return ee[e]}function se(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])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=re(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(x(n,e)),ie[t]&&ie[t].forEach((function(t){oe(t.name,t.config)})),se(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(!s(t)){if(e=re(t))return e;t=[t]}return function(t){for(var e,i,n,r,s=0;s0;){if(n=re(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&T(r,i,!0)>=e-1)break;e--}s++}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,s,o,a=[];if(!t._d){for(n=function(t){var e=new Date(r.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,r,s,o,a,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)s=1,o=4,i=ue(e.GG,t._a[0],Bt(Te(),1,4).year),n=ue(e.W,1),((r=ue(e.E,1))<1||r>7)&&(c=!0);else{s=t._locale._week.dow,o=t._locale._week.doy;var u=Bt(Te(),s,o);i=ue(e.gg,t._a[0],u.year),n=ue(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(c=!0):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(c=!0)):r=s}n<1||n>Ft(i,s,o)?f(t)._overflowWeeks=!0:null!=c?f(t)._overflowWeekday=!0:(a=It(i,n,r,s,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),s=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!==s&&(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,r,s,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[s]?(i?f(t).empty=!1:f(t).unusedTokens.push(s),mt(s,i,t)):t._strict&&!i&&f(t).unusedTokens.push(s);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:s(i)?function(t){var e,i,n,r,s;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:m()}));function Ce(t,e){var i,n;if(1===e.length&&s(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,r){var s;return null==t?Bt(this,n,r).year:(e>(s=Ft(t,n,r))&&(e=s),ii.call(this,t,e,i,n,r))}function ii(t,e,i,n,r){var s=It(t,e,i,n,r),o=Pt(s.year,0,s.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",st),lt("g",st),lt("GG",Q,X),lt("gg",Q,X),lt("GGGG",it,J),lt("gggg",it,J),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]=r.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 ri=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 si,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),si="SSSS";si.length<=9;si+="S")lt(si,rt);function ai(t,e){e[6]=v(1e3*("0."+t))}for(si="S";si.length<=9;si+="S")ft(si,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"),s=r.calendarFormat(this,n)||"sameElse",o=e&&(z(e[s])?e[s].call(this,i):e[s]);return this.format(o||this.localeData().calendar(s,this,Te(i)))},ui.clone=function(){return new w(this)},ui.diff=function(t,e,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=Pe(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=P(e)){case"year":s=Ve(this,n)/12;break;case"month":s=Ve(this,n);break;case"quarter":s=Ve(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:A(s)},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-$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),r.updateOffset(this,!0),this},ui.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.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=ri,ui.second=ui.seconds=oi,ui.millisecond=ui.milliseconds=ci,ui.utcOffset=function(t,e,i){var n,s=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"),s!==t&&(!e||this._changeInProgress?We(this,He(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s: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=R.prototype;function di(t,e,i,n){var r=ae(),s=p().set(n,e);return r[i](s,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,r=[];for(n=0;n<12;n++)r[n]=di(t,n,i,"month");return r}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 r,s=ae(),o=t?s._week.dow:0;if(null!=i)return di(e,(i+o)%7,n,"day");var a=[];for(r=0;r<7;r++)a[r]=di(e,(r+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 r=this._relativeTime[i];return z(r)?r(t,e,i,n):r.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?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone},hi.monthsShort=function(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kt.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(t,e,i){var n,r,s;if(this._monthsParseExact)return Lt.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(s.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=Rt),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=xt),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=s(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,r,s;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(r=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(s.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"},se("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")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",se),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ae);var gi=Math.abs;function mi(t,e,i,n){var r=He(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._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"),Li=wi("Q"),Ei=wi("y");function zi(t){return function(){return this.isValid()?this._data[t]:NaN}}var xi=zi("milliseconds"),Ri=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,r){return r.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),r=qi(this._months);t=A(i/60),e=A(t/60),i%=60,t%=60;var s=A(r/12),o=r%=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"+(s?p+s+"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=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=Mi,Wi.asSeconds=Ai,Wi.asMinutes=vi,Wi.asHours=Ti,Wi.asDays=ki,Wi.asWeeks=Si,Wi.asMonths=Ci,Wi.asQuarters=Li,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,r,s=this._milliseconds,o=this._days,a=this._months,c=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*_i(yi(a)+o),o=0,a=0),c.milliseconds=s%1e3,t=A(s/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+=r=A(bi(o)),o-=_i(yi(r)),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=xi,Wi.seconds=Ri,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(),r=Bi(n.as("s")),s=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=r<=Fi.ss&&["s",r]||r0,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=Je,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",st),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))})),r.version="2.24.0",e=Te,r.fn=ui,r.min=function(){return Ce("isBefore",[].slice.call(arguments,0))},r.max=function(){return Ce("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(t){return Te(1e3*t)},r.months=function(t,e){return pi(t,e,"months")},r.isDate=u,r.locale=se,r.invalid=m,r.duration=He,r.isMoment=M,r.weekdays=function(t,e,i){return fi(t,e,i,"weekdays")},r.parseZone=function(){return Te.apply(null,arguments).parseZone()},r.localeData=ae,r.isDuration=ze,r.monthsShort=function(t,e){return pi(t,e,"monthsShort")},r.weekdaysMin=function(t,e,i){return fi(t,e,i,"weekdaysMin")},r.defineLocale=oe,r.updateLocale=function(t,e){if(null!=e){var i,n,r=te;null!=(n=re(t))&&(r=n._config),(i=new R(e=x(r,e))).parentLocale=ee[t],ee[t]=i,se(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?ee[t]=ee[t].parentLocale:null!=ee[t]&&delete ee[t]);return ee[t]},r.locales=function(){return C(ee)},r.weekdaysShort=function(t,e,i){return fi(t,e,i,"weekdaysShort")},r.normalizeUnits=P,r.relativeTimeRounding=function(t){return void 0===t?Bi:"function"==typeof t&&(Bi=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Fi[t]&&(void 0===e?Fi[t]:(Fi[t]=e,"s"===t&&(Fi.ss=e-1),!0))},r.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"},r.prototype=ui,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}()}).call(this,i("aYSr")(t))},xBDH: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("wgY5"))},"xD/0":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("wgY5"))},yKzn: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("wgY5"))},zUnb:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.r(e);let r=!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 r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.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:r,_subscriptions:s}=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,r){let s;super(),this._parentSubscriber=t;let o=this;n(e)?s=e:e&&(s=e.next,i=e.error,r=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=s,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.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}=s;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);s.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(),s.useDeprecatedSynchronousErrorHandling)throw i;o(i)}}__tryOrSetError(t,e,i){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return s.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,r=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(r.add(n?n.call(r,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.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(r){i(r),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=s.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 r=0;rnew 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 x(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const R=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[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(x(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[E])return e=t,t=>{const i=e[E]();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,n};function O(t,e,i,n,r=new S(t,i,n)){if(!r.closed)return e instanceof b?e.subscribe(r):R(e)(r)}class D extends f{notifyNext(t,e,i,n,r){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 r=0;return n.add(e.schedule((function(){r!==t.length?(i.next(t[r++]),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 r=t[m]();n.add(r.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(x(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[E]}(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 r;return n.add(()=>{r&&"function"==typeof r.return&&r.return()}),n.add(e.schedule(()=>{r=t[E](),n.add(e.schedule((function(){if(i.closed)return;let t,e;try{const i=r.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(R(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,r)=>e(i,t,n,r))),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),r=e.subscribe(n);return n.closed||(n.connection=i.connect()),r}}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 $(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return K()(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 $ 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,J);return n.source=t,n.subjectFactory=i,n})(t));var e}}function tt(t){return{toString:t}.toString()}function et(t,e,i){return tt(()=>{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function r(...t){if(this instanceof r)return n.apply(this,t),this;const e=new r(...t);return i.annotation=e,i;function i(t,i,n){const r=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(e),t}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}const it=et("Inject",t=>({token:t})),nt=et("Optional"),rt=et("Self"),st=et("SkipSelf");var ot=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 at(t){for(let e in t)if(t[e]===at)return e;throw Error("Could not find renamed property on target object.")}function ct(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function lt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ht(t){return dt(t,t[ft])||dt(t,t[_t])}function dt(t,e){return e&&e.token===t?e:null}function pt(t){return t&&(t.hasOwnProperty(gt)||t.hasOwnProperty(bt))?t[gt]:null}const ft=at({\u0275prov:at}),gt=at({\u0275inj:at}),mt=at({\u0275provFallback:at}),_t=at({ngInjectableDef:at}),bt=at({ngInjectorDef:at});function yt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(yt).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 wt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Mt=at({__forward_ref__:at});function At(t){return t.__forward_ref__=At,t.toString=function(){return yt(this())},t}function vt(t){return Tt(t)?t():t}function Tt(t){return"function"==typeof t&&t.hasOwnProperty(Mt)&&t.__forward_ref__===At}const kt="undefined"!=typeof globalThis&&globalThis,St="undefined"!=typeof window&&window,Ct="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt="undefined"!=typeof global&&global,Et=kt||Lt||St||Ct,zt=at({\u0275cmp:at}),xt=at({\u0275dir:at}),Rt=at({\u0275pipe:at}),Ot=at({\u0275mod:at}),Dt=at({\u0275loc:at}),Pt=at({\u0275fac:at}),Nt=at({__NG_ELEMENT_ID__:at});class It{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=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Bt=new It("INJECTOR",-1),Ft={},Ht=/\n/gm,qt=at({provide:String,useValue:at});let jt,Yt=void 0;function Wt(t){const e=Yt;return Yt=t,e}function Ut(t){const e=jt;return jt=t,e}function Kt(t,e=ot.Default){if(void 0===Yt)throw new Error("inject() must be called from an injection context");return null===Yt?Gt(t,void 0,e):Yt.get(t,e&ot.Optional?null:void 0,e)}function Vt(t,e=ot.Default){return(jt||Kt)(vt(t),e)}const Xt=Vt;function Gt(t,e,i){const n=ht(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&ot.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${yt(t)}]`)}function Jt(t){const e=[];for(let i=0;iArray.isArray(t)?te(t,e):e(t))}function ee(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function ie(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ne(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let 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,e,i)),n}function se(t,e){const i=oe(t,e);if(i>=0)return t[1|i]}function oe(t,e){return function(t,e,i){let n=0,r=t.length>>1;for(;r!==n;){const i=n+(r-n>>1),s=t[i<<1];if(e===s)return i<<1;s>e?r=i:n=i+1}return~(r<<1)}(t,e)}var ae=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),ce=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const ue={},le=[];let he=0;function de(t){return tt(()=>{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===ae.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||le,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ce.Emulated,id:"c",styles:t.styles||le,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,r=t.features,s=t.pipes;return i.id+=he++,i.inputs=_e(t.inputs,e),i.outputs=_e(t.outputs),r&&r.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(pe):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(fe):null,i})}function pe(t){return we(t)||function(t){return t[xt]||null}(t)}function fe(t){return function(t){return t[Rt]||null}(t)}const ge={};function me(t){const e={type:t.type,bootstrap:t.bootstrap||le,declarations:t.declarations||le,imports:t.imports||le,exports:t.exports||le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&tt(()=>{ge[t.id]=t.type}),e}function _e(t,e){if(null==t)return ue;const i={};for(const n in t)if(t.hasOwnProperty(n)){let r=t[n],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),i[r]=n,e&&(e[r]=s)}return i}const be=de;function ye(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function we(t){return t[zt]||null}function Me(t,e){return t.hasOwnProperty(Pt)?t[Pt]:null}function Ae(t,e){const i=t[Ot]||null;if(!i&&!0===e)throw new Error(`Type ${yt(t)} does not have '\u0275mod' property.`);return i}function ve(t){return Array.isArray(t)&&"object"==typeof t[1]}function Te(t){return Array.isArray(t)&&!0===t[1]}function ke(t){return 0!=(8&t.flags)}function Se(t){return 2==(2&t.flags)}function Ce(t){return 1==(1&t.flags)}function Le(t){return null!==t.template}function Ee(t){return 0!=(512&t[2])}class ze{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function xe(){return Re}function Re(t){return t.type.prototype.ngOnChanges&&(t.setInput=De),Oe}function Oe(){const t=Pe(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===ue)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 r=Pe(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:ue,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[i],c=o[a];s[a]=new ze(c&&c.currentValue,e,o===ue),t[n]=e}function Pe(t){return t.__ngSimpleChanges__||null}xe.ngInherit=!0;let Ne=void 0;function Ie(){return void 0!==Ne?Ne:"undefined"!=typeof document?document:void 0}function Be(t){return!!t.listen}const Fe={createRenderer:(t,e)=>Ie()};function He(t){for(;Array.isArray(t);)t=t[0];return t}function qe(t,e){return He(e[t+20])}function je(t,e){return He(e[t.index])}function Ye(t,e){return t.data[e+20]}function We(t,e){return t[e+20]}function Ue(t,e){const i=e[t];return ve(i)?i:i[0]}function Ke(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ve(t){return 4==(4&t[2])}function Xe(t){return 128==(128&t[2])}function Ge(t,e){return null===t||null==e?null:t[e]}function Je(t){t[18]=0}function $e(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 Qe={lFrame:Mi(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ze(){return Qe.bindingsEnabled}function ti(){return Qe.lFrame.lView}function ei(){return Qe.lFrame.tView}function ii(t){Qe.lFrame.contextLView=t}function ni(){return Qe.lFrame.currentTNode}function ri(t,e){Qe.lFrame.currentTNode=t,Qe.lFrame.isParent=e}function si(){return Qe.lFrame.isParent}function oi(){Qe.lFrame.isParent=!1}function ai(){return Qe.checkNoChangesMode}function ci(t){Qe.checkNoChangesMode=t}function ui(){const t=Qe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function li(){return Qe.lFrame.bindingIndex}function hi(){return Qe.lFrame.bindingIndex++}function di(t){const e=Qe.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function pi(t,e){const i=Qe.lFrame;i.bindingIndex=i.bindingRootIndex=t,fi(e)}function fi(t){Qe.lFrame.currentDirectiveIndex=t}function gi(t){const e=Qe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function mi(){return Qe.lFrame.currentQueryIndex}function _i(t){Qe.lFrame.currentQueryIndex=t}function bi(t,e){const i=wi();Qe.lFrame=i,i.currentTNode=e,i.lView=t}function yi(t){const e=wi(),i=t[1];Qe.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex}function wi(){const t=Qe.lFrame,e=null===t?null:t.child;return null===e?Mi(t):e}function Mi(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Ai(){const t=Qe.lFrame;return Qe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const vi=Ai;function Ti(){const t=Ai();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ki(){return Qe.lFrame.selectedIndex}function Si(t){Qe.lFrame.selectedIndex=t}function Ci(){const t=Qe.lFrame;return Ye(t.tView,t.selectedIndex)}function Li(){Qe.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Ei(){Qe.lFrame.currentNamespace=null}function zi(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[o]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}class Ni{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Ii(t,e,i){const n=Be(t);let r=0;for(;re){o=s-1;break}}}for(;s>16,n=e;for(;i>0;)n=n[15],i--;return n}function Ui(t){return"string"==typeof t?t:null==t?"":""+t}function Ki(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ui(t)}const Vi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Et))();function Xi(t){return{name:"window",target:t.ownerDocument.defaultView}}function Gi(t){return{name:"body",target:t.ownerDocument.body}}function Ji(t){return t instanceof Function?t():t}let $i=!0;function Qi(t){const e=$i;return $i=t,e}let Zi=0;function tn(t,e){const i=nn(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,en(n.data,t),en(e,null),en(n.blueprint,null));const r=rn(t,e),s=t.injectorIndex;if(ji(r)){const t=Yi(r),i=Wi(r,e),n=i[1].data;for(let r=0;r<8;r++)e[s+r]=i[t+r]|n[t+r]}return e[s+8]=r,s}function en(t,e){t.push(0,0,0,0,0,0,0,0,e)}function nn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function rn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(n=2===e?t.declTNode:1===e?r[6]:null,null===n)return-1;if(i++,r=r[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function sn(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(Nt)&&(n=i[Nt]),null==n&&(n=i[Nt]=Zi++);const r=255&n,s=1<0?255&e:e}(i);if("function"==typeof r){bi(e,t);try{const t=r();if(null!=t||n&ot.Optional)return t;throw new Error(`No provider for ${Ki(i)}!`)}finally{vi()}}else if("number"==typeof r){if(-1===r)return new pn(t,e);let s=null,o=nn(t,e),a=-1,c=n&ot.Host?e[16][6]:null;for((-1===o||n&ot.SkipSelf)&&(a=-1===o?rn(t,e):e[o+8],-1!==a&&dn(n,!1)?(s=e[1],o=Yi(a),e=Wi(a,e)):o=-1);-1!==o;){const t=e[1];if(hn(r,o,t.data)){const t=cn(o,e,i,s,n,c);if(t!==an)return t}a=e[o+8],-1!==a&&dn(n,e[1].data[o+8]===c)&&hn(r,o,e)?(s=t,o=Yi(a),e=Wi(a,e)):o=-1}}}if(n&ot.Optional&&void 0===r&&(r=null),0==(n&(ot.Self|ot.Host))){const t=e[9],s=Ut(void 0);try{return t?t.get(i,r,n&ot.Optional):Gt(i,r,n&ot.Optional)}finally{Ut(s)}}if(n&ot.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Ki(i)}]`)}const an={};function cn(t,e,i,n,r,s){const o=e[1],a=o.data[t+8],c=un(a,o,i,null==n?Se(a)&&$i:n!=o&&2===a.type,r&ot.Host&&s===a);return null!==c?ln(e,o,c,a):an}function un(t,e,i,n,r){const s=t.providerIndexes,o=e.data,a=1048575&s,c=t.directiveStart,u=s>>20,l=r?a+u:t.directiveEnd;for(let h=n?a:a+u;h=c&&t.type===i)return h}if(r){const t=o[c];if(t&&Le(t)&&t.type===i)return c}return null}function ln(t,e,i,n){let r=t[i];const s=e.data;if(r instanceof Ni){const o=r;if(o.resolving)throw new Error("Circular dep for "+Ki(s[i]));const a=Qi(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Ut(o.injectImpl):null;bi(t,n);try{r=t[i]=o.factory(void 0,s,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(n){const n=Re(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}r&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,r),s&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,s),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,s))}(i,s[i],e)}finally{null!==c&&Ut(c),Qi(a),o.resolving=!1,vi()}}return r}function hn(t,e,i){const n=64&t,r=32&t;let s;return s=128&t?n?r?i[e+7]:i[e+6]:r?i[e+5]:i[e+4]:n?r?i[e+3]:i[e+2]:r?i[e+1]:i[e],!!(s&1<{const t=fn(vt(e));return t?t():null};let i=Me(e);if(null===i){const t=pt(e);i=t&&t.factory}return i||null}function gn(t){return tt(()=>{const e=t.prototype.constructor,i=e[Pt]||fn(e),n=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){const t=r[Pt]||fn(r);if(t&&t!==i)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function mn(t){return t.ngDebugContext}function _n(t){return t.ngOriginalError}function bn(t,...e){t.error(...e)}class yn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||bn}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?mn(t)?mn(t):this._findContext(_n(t)):null}_findOriginalError(t){let e=_n(t);for(;e&&_n(e);)e=_n(e);return e}}class wn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://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=Ln(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===e}function Ln(t){return t instanceof wn&&t.getTypeName()||null}let En=!0,zn=!1;function xn(){return zn=!0,En}class Rn{getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class On{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=t,e;const i=this.inertDocument.createElement("body");return i.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Nn(t.trim())).join(", ")),this.buf.push(" ",e,'="',$n(o),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Yn.hasOwnProperty(e)&&!Fn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push($n(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 Gn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jn=/([^\#-~ |!])/g;function $n(t){return t.replace(/&/g,"&").replace(Gn,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Jn,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let Qn;function Zn(t,e){let i=null;try{Qn=Qn||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new Rn:new On(t)}(t);let n=e?String(e):"";i=Qn.getInertBodyElement(n);let r=5,s=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=s,s=i.innerHTML,i=Qn.getInertBodyElement(n)}while(n!==s);const o=new Xn,a=o.sanitizeChildren(tr(i)||i);return xn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(i){const t=tr(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function tr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var er=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 ir(t){const e=rr();return e?e.sanitize(er.HTML,t)||"":Cn(t,"HTML")?Sn(t):Zn(Ie(),Ui(t))}function nr(t){const e=rr();return e?e.sanitize(er.URL,t)||"":Cn(t,"URL")?Sn(t):Nn(Ui(t))}function rr(){const t=ti();return t&&t[12]}function sr(t,e){t.__ngContext__=e}function or(t,e,i){let n=t.length;for(;;){const r=t.indexOf(e,i);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const i=e.length;if(r+i===n||t.charCodeAt(r+i)<=32)return r}i=r+1}}function ar(t,e,i){let n=0;for(;ns?"":r[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==or(e,u,0)||2&n&&u!==t){if(hr(n))return!1;o=!0}}}}else{if(!o&&!hr(n)&&!hr(c))return!1;if(o&&hr(c))continue;o=!1,n=c|1&n}}return hr(n)||o}function hr(t){return 0==(1&t)}function dr(t,e,i,n){if(null===e)return-1;let r=0;if(n||!i){let i=!1;for(;r-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?r+="."+o:4&n&&(r+=" "+o);else""===r||hr(o)||(e+=gr(s,r),r=""),n=o,s=s||!hr(n);i++}return""!==r&&(e+=gr(s,r)),e}const _r={};function br(t){const e=t[3];return Te(e)?e[3]:e}function yr(t){return Mr(t[13])}function wr(t){return Mr(t[4])}function Mr(t){for(;null!==t&&!Te(t);)t=t[4];return t}function Ar(t){vr(ei(),ti(),ki()+t,ai())}function vr(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&xi(e,n,i)}else{const n=t.preOrderHooks;null!==n&&Ri(e,n,0,i)}Si(i)}function Tr(t,e){return t<<17|e<<2}function kr(t){return t>>17&32767}function Sr(t){return 2|t}function Cr(t){return(131068&t)>>2}function Lr(t,e){return-131069&t|e<<2}function Er(t){return 1|t}function zr(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n20&&vr(t,e,0,ai()),i(n,r)}finally{Si(s)}}function Br(t,e,i){if(ke(e)){const n=e.directiveEnd;for(let r=e.directiveStart;r0&&function t(e){for(let n=yr(e);null!==n;n=wr(n))for(let e=10;e0&&t(i)}const i=e[1].components;if(null!==i)for(let n=0;n0&&t(r)}}(i)}}function os(t,e){const i=Ue(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function ps(t){return t[7]||(t[7]=[])}function fs(t,e,i){return(null===t||Le(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 gs(t,e){const i=t[9],n=i?i.get(yn,null):null;n&&n.handleError(e)}function ms(t,e,i,n,r){for(let s=0;s0&&(t[i-1][4]=n[4]);const o=ie(t,10+e);xs(n[1],r=n,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),n[3]=null,n[4]=null,n[2]&=-129}var r;return n}function Ms(t,e){if(!(256&e[2])){const i=e[11];Be(i)&&i.destroyNode&&xs(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return As(t[1],t);for(;e;){let i=null;if(ve(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)ve(e)&&As(e[1],e),e=e[3];null===e&&(e=t),ve(e)&&As(e[1],e),i=e&&e[4]}e=i}}(e)}}function As(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?t[a]():t[-a].unsubscribe(),n+=2}else i[n].call(t[i[n+1]]);e[7]=null}}(t,e),1===e[1].type&&Be(e[11])&&e[11].destroy();const i=e[17];if(null!==i&&Te(e[3])){i!==e[3]&&ys(i,e);const n=e[19];null!==n&&n.detachView(t)}}}function vs(t,e,i){let n=e.parent;for(;null!=n&&(3===n.type||4===n.type);)n=(e=n).parent;if(null===n)return i[0];if(e&&4===e.type&&4&e.flags)return je(e,i).parentNode;if(2&n.flags){const e=t.data,i=e[e[n.index].directiveStart].encapsulation;if(i!==ce.ShadowDom&&i!==ce.Native)return null}return je(n,i)}function Ts(t,e,i,n){Be(t)?t.insertBefore(e,i,n):e.insertBefore(i,n,!0)}function ks(t,e,i){Be(t)?t.appendChild(e,i):e.appendChild(i)}function Ss(t,e,i,n){null!==n?Ts(t,e,i,n):ks(t,e,i)}function Cs(t,e){return Be(t)?t.parentNode(e):e.parentNode}function Ls(t,e){return 3===t.type||4===t.type?je(t,e):null}function Es(t,e,i,n){const r=vs(t,n,e);if(null!=r){const t=e[11],s=Ls(n.parent||e[6],e);if(Array.isArray(i))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ms(this._lView[1],this._lView)}onDestroy(t){Yr(this._lView[1],this._lView,null,t)}markForCheck(){cs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){us(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){ci(!0);try{us(t,e,i)}finally{ci(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,xs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ns extends Ps{constructor(t){super(t),this._view=t}detectChanges(){ls(this._view)}checkNoChanges(){!function(t){ci(!0);try{ls(t)}finally{ci(!1)}}(this._view)}get context(){return null}}let Is,Bs,Fs;function Hs(t,e,i){return Is||(Is=class extends t{}),new Is(je(e,i))}function qs(t,e,i,n){return Bs||(Bs=class extends t{constructor(t,e,i){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Rr(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),Dr(e,i,t),new Ps(i)}}),0===i.type?new Bs(n,i,Hs(e,i,n)):null}function js(t,e,i,n){let r;Fs||(Fs=class extends t{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostView=i}get element(){return Hs(e,this._hostTNode,this._hostView)}get injector(){return new pn(this._hostTNode,this._hostView)}get parentInjector(){const t=rn(this._hostTNode,this._hostView);if(ji(t)){const e=Wi(t,this._hostView),i=Yi(t);return new pn(e[1].data[i+8],e)}return new pn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][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,r){const s=i||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(Qt,null);t&&(r=t)}const o=t.create(s,n,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const i=t._lView,n=i[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Te(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new Fs(e,e[6],e[3]);n.detach(n.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,i,n){const r=10+n,s=i.length;n>0&&(i[r-1][4]=e),n{class t{}return t.__NG_ELEMENT_ID__=()=>Us(),t})();const Us=Ys,Ks=Function,Vs=new It("Set Injector scope."),Xs={},Gs={},Js=[];let $s=void 0;function Qs(){return void 0===$s&&($s=new $t),$s}function Zs(t,e=null,i=null,n){return new to(t,i,e||Qs(),n)}class to{constructor(t,e,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&te(e,i=>this.processProvider(i,t,e)),te([t],t=>this.processInjectorType(t,[],r)),this.records.set(Bt,no(void 0,this));const s=this.records.get(Vs);this.scope=null!=s?s.value:null,this.source=n||("object"==typeof t?null:yt(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=Ft,i=ot.Default){this.assertNotDestroyed();const n=Wt(this);try{if(!(i&ot.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(r=t)||"object"==typeof r&&r instanceof It)&&ht(t);e=i&&this.injectableDefInScope(i)?no(eo(t),Xs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&ot.Self?Qs():this.parent).get(t,e=i&ot.Optional&&e===Ft?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(yt(t)),n)throw s;return function(t,e,i,n){const r=t.ngTempTokenPath;throw e.__source&&r.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 r=yt(e);if(Array.isArray(e))r=e.map(yt).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):yt(n)))}r=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(Ht,"\n ")}`}("\n"+t.message,r,i,n),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Wt(n)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(yt(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=vt(t)))return!1;let n=pt(t);const r=null==n&&t.ngModule||void 0,s=void 0===r?t:r,o=-1!==i.indexOf(s);if(void 0!==r&&(n=pt(r)),null==n)return!1;if(null!=n.imports&&!o){let t;i.push(s);try{te(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||Js))}}this.injectorDefTypes.add(s),this.records.set(s,no(n.factory,Xs));const a=n.providers;if(null!=a&&!o){const e=t;te(a,t=>this.processProvider(t,e,a))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,i){let n=so(t=vt(t))?t:vt(t&&t.provide);const r=function(t,e,i){return ro(t)?no(void 0,t.useValue):no(io(t),Xs)}(t);if(so(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=no(void 0,Xs,!0),e.factory=()=>Jt(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,r)}hydrate(t,e){var i;return e.value===Xs&&(e.value=Gs,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){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function eo(t){const e=ht(t),i=null!==e?e.factory:Me(t);if(null!==i)return i;const n=pt(t);if(null!==n)return n.factory;if(t instanceof It)throw new Error(`Token ${yt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=ne(e,"?");throw new Error(`Can't resolve all parameters for ${yt(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[ft]||t[_t]||t[mt]&&t[mt]());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 io(t,e,i){let n=void 0;if(so(t)){const e=vt(t);return Me(e)||eo(e)}if(ro(t))n=()=>vt(t.useValue);else if((r=t)&&r.useFactory)n=()=>t.useFactory(...Jt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>Vt(vt(t.useExisting));else{const e=vt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Me(e)||eo(e);n=()=>new e(...Jt(t.deps))}var r;return n}function no(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function ro(t){return null!==t&&"object"==typeof t&&qt in t}function so(t){return"function"==typeof t}const oo=function(t,e,i){return function(t,e=null,i=null,n){const r=Zs(t,e,i,n);return r._resolveInjectorDefTypes(),r}({name:i},e,t,i)};let ao=(()=>{class t{static create(t,e){return Array.isArray(t)?oo(t,e,""):oo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Ft,t.NULL=new $t,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>Vt(Bt)}),t.__NG_ELEMENT_ID__=-1,t})();const co=new It("AnalyzeForEntryComponents");function uo(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,s=0;if(null!==e)for(let o=0;o=0;n--){const r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Hi(r.hostAttrs,i=Hi(i,r.hostAttrs))}}(n)}function po(t){return t===ue?{}:t===le?[]:t}function fo(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function go(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,r)=>{e(t,n,r),i(t,n,r)}:e}function mo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let _o=null;function bo(){if(!_o){const t=Et.Symbol;if(t&&t.iterator)_o=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(He(t[n.index])).target:n.index;if(Be(i)){let o=null;if(!a&&c&&(o=function(t,e,i,n){const r=t.cleanup;if(null!=r)for(let s=0;si?t[i]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,n.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=Vo(n,e,s,!1);const t=i.listen(p.name||f,r,s);l.push(s,t),u&&u.push(r,m,g,g+1)}}else s=Vo(n,e,s,!0),f.addEventListener(r,s,o),l.push(s),u&&u.push(r,m,g,o)}const d=n.outputs;let p;if(h&&null!==d&&(p=d[r])){const t=p.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,Qe.lFrame.contextLView))[8]}(t)}function Go(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 r=0;r=0}const ra={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sa(t){return t.substring(ra.key,ra.keyEnd)}function oa(t,e){const i=ra.textEnd;return i===e?-1:(e=ra.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,ra.key=e,i),aa(t,e,i))}function aa(t,e,i){for(;e=0;i=oa(e,i))re(t,sa(e),!0)}function da(t,e,i,n){const r=ti(),s=ei(),o=di(2);s.firstUpdatePass&&ga(s,t,o,n),e!==_r&&vo(r,o,e)&&ba(s,s.data[ki()+20],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=yt(Sn(t)))),t}(e,i),n,o)}function pa(t,e,i,n){const r=ei(),s=di(2);r.firstUpdatePass&&ga(r,null,s,n);const o=ti();if(i!==_r&&vo(o,s,i)){const a=r.data[ki()+20];if(Ma(a,n)&&!fa(r,s)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=wt(t,i||"")),Oo(r,a,o,i,n)}else!function(t,e,i,n,r,s,o,a){r===_r&&(r=ea);let c=0,u=0,l=0=t.expandoStartIndex}function ga(t,e,i,n){const r=t.data;if(null===r[i+1]){const s=r[ki()+20],o=fa(t,i);Ma(s,n)&&null===e&&!o&&(e=!1),e=function(t,e,i,n){const r=gi(t);let s=n?e.residualClasses:e.residualStyles;if(null===r)0===(n?e.classBindings:e.styleBindings)&&(i=_a(i=ma(null,t,e,i,n),e.attrs,n),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(i=ma(r,t,e,i,n),null===s){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==Cr(n))return t[kr(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[kr(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else s=function(t,e,i){let n=void 0;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s0)&&(l=!0)}else u=i;if(r)if(0!==c){const e=kr(t[a+1]);t[n+1]=Tr(e,a),0!==e&&(t[e+1]=Lr(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]=Lr(t[a+1],n)),a=n;else t[n+1]=Tr(c,0),0===a?a=n:t[c+1]=Lr(t[c+1],n),c=n;l&&(t[n+1]=Sr(t[n+1])),ia(t,u,n,!0),ia(t,u,n,!1),function(t,e,i,n,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&oe(s,e)>=0&&(i[n+1]=Er(i[n+1]))}(e,u,t,n,s),o=Tr(a,c),s?e.classBindings=o:e.styleBindings=o}(r,s,e,i,o,n)}}function ma(t,e,i,n,r){let s=null;const o=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[r],s=Array.isArray(e),c=s?e[1]:e,u=null===c;let l=i[r+1];l===_r&&(l=u?ea:void 0);let h=u?se(l,n):c===n?l:void 0;if(s&&!wa(h)&&(h=se(e,n)),wa(h)&&(a=h,o))return a;const d=t[r+1];r=o?kr(d):Cr(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=se(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=ti(),n=ei(),r=t+20,s=n.firstCreatePass?Or(n,t,2,null,null):n.data[r],o=i[r]=function(t,e){return Be(e)?e.createText(t):e.createTextNode(t)}(e,i[11]);Es(n,i,o,s),ri(s,!1)}function va(t){return Ta("",t,""),va}function Ta(t,e,i){const n=ti(),r=So(n,t,e,i);return r!==_r&&_s(n,ki(),r),Ta}function ka(t,e,i,n,r){const s=ti(),o=Co(s,t,e,i,n,r);return o!==_r&&_s(s,ki(),o),ka}function Sa(t,e,i){pa(re,ha,So(ti(),t,e,i),!0)}function Ca(t,e,i){const n=ti();return vo(n,hi(),e)&&Ur(ei(),Ci(),n,t,e,n[11],i,!0),Ca}function La(t,e,i){const n=ti();if(vo(n,hi(),e)){const r=ei(),s=Ci();Ur(r,s,n,t,e,fs(gi(r.data),s,n),i,!0)}return La}function Ea(t,e,i,n,r){if(t=vt(t),Array.isArray(t))for(let s=0;s>20;if(so(t)||!t.multi){const n=new Ni(c,r,zo),p=Ra(a,e,r?l:l+d,h);-1===p?(sn(tn(u,o),s,a),za(s,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=1048576),i.push(n),o.push(n)):(i[p]=n,o[p]=n)}else{const p=Ra(a,e,l+d,h),f=Ra(a,e,l,l+d),g=p>=0&&i[p],m=f>=0&&i[f];if(r&&!m||!r&&!g){sn(tn(u,o),s,a);const l=function(t,e,i,n,r){const s=new Ni(t,i,zo);return s.multi=[],s.index=e,s.componentProviders=0,xa(s,r,n&&!i),s}(r?Da:Oa,i.length,r,n,c);!r&&m&&(i[f].providerFactory=l),za(s,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=1048576),i.push(l),o.push(l)}else za(s,t,p>-1?p:f,xa(i[r?f:p],c,!r&&n));!r&&n&&m&&i[f].componentProviders++}}}function za(t,e,i,n){const r=so(e);if(r||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(i);-1===t?o.push(i,[n,s]):o[t+1].push(n,s)}else o.push(i,s)}}}function xa(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Ra(t,e,i,n){for(let r=i;r{i.providersResolver=(i,n)=>function(t,e,i){const n=ei();if(n.firstCreatePass){const r=Le(t);Ea(i,n.data,n.blueprint,r,!0),Ea(e,n.data,n.blueprint,r,!1)}}(i,n?n(t):t,e)}}class Ia{}class Ba{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${yt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Fa=(()=>{class t{}return t.NULL=new Ba,t})(),Ha=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>qa(t),t})();const qa=function(t){return Hs(t,ni(),ti())};class ja{}var Ya=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let Wa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ua(),t})();const Ua=function(){const t=ti(),e=Ue(ni().index,t);return function(t){const e=t[11];if(Be(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(ve(e)?e:t)};let Ka=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class Va{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Xa=new Va("10.1.5");class Ga{constructor(){}supports(t){return wo(t)}create(t){return new $a(t)}}const Ja=(t,e)=>e;class $a{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||Ja}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,r=null;for(;e||i;){const s=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,n)?(s&&(r=this._verifyReinsertion(r,t,n,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,n,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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 r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,n)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,n)):t=this._addAfter(new Qa(e,i),r,n),t}_verifyReinsertion(t,e,i,n){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,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,r=t._nextRemoved;return null===n?this._removalsHead=r:n._nextRemoved=r,null===r?this._removalsTail=n:r._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 tc),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 tc),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 Qa{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 Za{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 tc{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new Za,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 ec(t,e,i){const n=t.previousIndex;if(null===n)return n;let r=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,r=i._next;return n&&(n._next=r),r&&(r._prev=n),i._next=null,i._prev=null,i}const i=new rc(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 rc{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}}let sc=(()=>{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=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,i)},deps:[[t,new st,new nt]]}}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=ut({token:t,providedIn:"root",factory:()=>new t([new Ga])}),t})(),oc=(()=>{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=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,i)},deps:[[t,new st,new nt]]}}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=ut({token:t,providedIn:"root",factory:()=>new t([new ic])}),t})();const ac=[new ic],cc=new sc([new Ga]),uc=new oc(ac);let lc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>hc(t,Ha),t})();const hc=function(t,e){return qs(t,e,ni(),ti())};let dc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>pc(t,Ha),t})();const pc=function(t,e){return js(t,e,ni(),ti())},fc={};class gc extends Fa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=we(t);return new bc(e,this.ngModule)}}function mc(t){const e=[];for(let i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}const _c=new It("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Vi});class bc extends Ia{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(mr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return mc(this.componentDef.inputs)}get outputs(){return mc(this.componentDef.outputs)}create(t,e,i,n){const r=(n=n||this.ngModule)?function(t,e){return{get:(i,n,r)=>{const s=t.get(i,fc,r);return s!==fc||n===fc?s:e.get(i,n,r)}}}(t,n.injector):t,s=r.get(ja,Fe),o=r.get(Ka,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(Be(t))return t.selectRootElement(e,i===ce.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):xr(c,s.createRenderer(null,this.componentDef),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:Vi,clean:ds,playerHandler:null,flags:0},d=jr(0,null,null,1,0,null,null,null,null,null),p=Rr(null,d,h,l,null,null,s,a,o,r);let f,g;yi(p);try{const t=function(t,e,i,n,r,s){const o=i[1];i[20]=t;const a=Or(o,0,2,null,null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(uo(a,c,!0),null!==t&&(Ii(r,t,c),null!==a.classes&&Ds(r,t,a.classes),null!==a.styles&&Os(r,t,a.styles)));const u=n.createRenderer(t,e),l=Rr(i,qr(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return o.firstCreatePass&&(sn(tn(a,i),o,e.type),$r(o,a),Zr(a,i.length,1)),as(i,l),i[20]=l}(u,this.componentDef,p,s,a);if(u)if(i)Ii(a,u,["ng-version",Xa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,r=2;for(;n0&&Ds(a,u,e.join(" "))}if(g=Ye(d,0),void 0!==e){const t=g.projection=[];for(let i=0;it(o,e)),e.contentQueries&&e.contentQueries(1,o,i.length-1);const a=ni();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Si(a.index-20);const t=i[1];Vr(t,e),Xr(t,i,e.hostVars),Gr(e,o)}return o}(t,this.componentDef,p,h,[lo]),Dr(d,p,null)}finally{Ti()}return new yc(this.componentType,f,Hs(Ha,g,p),p,g)}}class yc extends class{}{constructor(t,e,i,n,r){super(),this.location=i,this._rootLView=n,this._tNode=r,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Ns(n),this.componentType=t}get injector(){return new pn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}var wc=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["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"]],void 0,[["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"]],void 0,[["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}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","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 Mc={};function Ac(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=vc(e);if(i)return i;const n=e.split("-")[0];if(i=vc(n),i)return i;if("en"===n)return wc;throw new Error(`Missing locale data for the locale "${t}".`)}function vc(t){return t in Mc||(Mc[t]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[t]),Mc[t]}var Tc=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 kc="en-US";function Sc(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&&(kc=t.toLowerCase().replace(/_/g,"-"))}const Cc=new Map;class Lc extends Qt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gc(this);const i=Ae(t),n=t[Dt]||null;n&&Sc(n),this._bootstrapComponents=Ji(i.bootstrap),this._r3Injector=Zs(t,e,[{provide:Qt,useValue:this},{provide:Fa,useValue:this.componentFactoryResolver}],yt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ao.THROW_IF_NOT_FOUND,i=ot.Default){return t===ao||t===Qt||t===Bt?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 Ec extends Zt{constructor(t){super(),this.moduleType=t,null!==Ae(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${yt(e)} vs ${yt(e.name)}`)})(t,Cc.get(t),e),Cc.set(t,e)}let i=e.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(e=>t(e))}(t)}create(t){return new Lc(this.moduleType,t)}}function zc(t,e,i){const n=ui()+t,r=ti();return r[n]===_r?Ao(r,n,i?e.call(i):e()):function(t,e){return t[e]}(r,n)}function xc(t,e,i,n){return Dc(ti(),ui(),t,e,i,n)}function Rc(t,e,i,n,r){return Pc(ti(),ui(),t,e,i,n,r)}function Oc(t,e){const i=t[e];return i===_r?void 0:i}function Dc(t,e,i,n,r,s){const o=e+i;return vo(t,o,r)?Ao(t,o+1,s?n.call(s,r):n(r)):Oc(t,o+1)}function Pc(t,e,i,n,r,s,o){const a=e+i;return To(t,a,r,s)?Ao(t,a+2,o?n.call(o,r,s):n(r,s)):Oc(t,a+2)}function Nc(t,e){const i=ei();let n;const r=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 Error(`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];const s=n.factory||(n.factory=Me(n.type)),o=Ut(zo);try{const e=Qi(!1),n=s();return Qi(e),function(t,e,i,n){const r=i+20;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}(i,ti(),t,n),n}finally{Ut(o)}}function Ic(t,e,i){const n=ti(),r=We(n,t);return Hc(n,Fc(n,t)?Dc(n,ui(),e,r.transform,i,r):r.transform(i))}function Bc(t,e,i,n){const r=ti(),s=We(r,t);return Hc(r,Fc(r,t)?Pc(r,ui(),e,s.transform,i,n,s):s.transform(i,n))}function Fc(t,e){return t[1].data[e+20].pure}function Hc(t,e){return yo.isWrapped(e)&&(e=yo.unwrap(e),t[li()]=_r),e}const qc=class extends v{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let n,r=t=>null,s=()=>null;t&&"object"==typeof t?(n=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(r=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(n=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),i&&(s=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const o=super.subscribe(n,r,s);return t instanceof h&&t.add(o),o}};function jc(){return this._results[bo()]()}class Yc{constructor(){this.dirty=!0,this._results=[],this.changes=new qc,this.length=0;const t=bo(),e=Yc.prototype;e[t]||(e[t]=jc)}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){this._results=function t(e,i){void 0===i&&(i=e);for(let n=0;n0)r.push(a[e/2]);else{const s=o[e+1],a=i[-n];for(let e=10;e{class t{constructor(t){this.appInits=t,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()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Vt(lu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const du=new It("AppId"),pu={provide:du,useFactory:function(){return`${fu()}${fu()}${fu()}`},deps:[]};function fu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const gu=new It("Platform Initializer"),mu=new It("Platform ID"),_u=new It("appBootstrapListener");let bu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const yu=new It("LocaleId"),wu=new It("DefaultCurrencyCode");class Mu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Au=function(t){return new Ec(t)},vu=Au,Tu=function(t){return Promise.resolve(Au(t))},ku=function(t){const e=Au(t),i=Ji(Ae(t).declarations).reduce((t,e)=>{const i=we(e);return i&&t.push(new bc(i)),t},[]);return new Mu(e,i)},Su=ku,Cu=function(t){return Promise.resolve(ku(t))};let Lu=(()=>{class t{constructor(){this.compileModuleSync=vu,this.compileModuleAsync=Tu,this.compileModuleAndAllComponentsSync=Su,this.compileModuleAndAllComponentsAsync=Cu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Eu=(()=>Promise.resolve(0))();function zu(t){"undefined"==typeof Zone?Eu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class xu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qc(!1),this.onMicrotaskEmpty=new qc(!1),this.onStable=new qc(!1),this.onError=new qc(!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.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Et.requestAnimationFrame,e=Et.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=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Et,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Pu(t),Du(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Pu(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(i,n,r,s,o,a)=>{try{return Nu(t),i.invokeTask(r,s,o,a)}finally{e&&"eventTask"===s.type&&e(),Iu(t)}},onInvoke:(e,i,n,r,s,o,a)=>{try{return Nu(t),e.invoke(n,r,s,o,a)}finally{Iu(t)}},onHasTask:(e,i,n,r)=>{e.hasTask(n,r),i===n&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,Pu(t),Du(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,n,r)=>(e.handleError(n,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xu.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 r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+n,t,Ou,Ru,Ru);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}function Ru(){}const Ou={};function Du(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 Pu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Nu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Iu(t){t._nesting--,Du(t)}class Bu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qc,this.onMicrotaskEmpty=new qc,this.onStable=new qc,this.onError=new qc}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 Fu=(()=>{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:()=>{xu.assertNotInAngularZone(),zu(()=>{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())zu(()=>{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/dist/task-tracking.js" 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)(Vt(xu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Hu=(()=>{class t{constructor(){this._applications=new Map,Yu.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 Yu.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class qu{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let ju,Yu=new qu;const Wu=new It("AllowMultipleToken");class Uu{constructor(t,e){this.name=t,this.token=e}}function Ku(t,e,i=[]){const n="Platform: "+e,r=new It(n);return(e=[])=>{let s=Vu();if(!s||s.injector.get(Wu,!1))if(t)t(i.concat(e).concat({provide:r,useValue:!0}));else{const t=i.concat(e).concat({provide:r,useValue:!0},{provide:Vs,useValue:"platform"});!function(t){if(ju&&!ju.destroyed&&!ju.injector.get(Wu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ju=t.get(Xu);const e=t.get(gu,null);e&&e.forEach(t=>t())}(ao.create({providers:t,name:n}))}return function(t){const e=Vu();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 Vu(){return ju&&!ju.destroyed?ju:null}let Xu=(()=>{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 Bu:("zone.js"===t?void 0:t)||new xu({enableLongStackTrace:xn(),shouldCoalesceEventChangeDetection:e}),i}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),n=[{provide:xu,useValue:i}];return i.run(()=>{const e=ao.create({providers:n,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(yn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>$u(this._modules,r)),i.runOutsideAngular(()=>i.onError.subscribe({next:t=>{s.handleError(t)}})),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}}(s,i,()=>{const t=r.injector.get(hu);return t.runInitializers(),t.donePromise.then(()=>(Sc(r.injector.get(yu,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const i=Gu({},e);return function(t,e,i){const n=new Ec(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 ${yt(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)(Vt(ao))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Gu(t,e){return Array.isArray(e)?e.reduce(Gu,t):Object.assign(Object.assign({},t),e)}let Ju=(()=>{class t{constructor(t,e,i,n,r,s){this._zone=t,this._console=e,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=xn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new b(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new b(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{xu.assertNotInAngularZone(),zu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{xu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=U(o,a.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 Ia?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(Qt),r=i.create(ao.NULL,[],e||i.selector,n);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(Fu,null);return s&&r.injector.get(Hu).registerApplication(r.location.nativeElement,s),this._loadComponent(r),xn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}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;$u(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(_u,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),$u(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Vt(xu),Vt(bu),Vt(ao),Vt(yn),Vt(Fa),Vt(hu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function $u(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class Qu{}class Zu{}const tl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let el=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||tl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i("zn8P")(e).then(t=>t[n]).then(t=>il(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),r="NgFactory";return void 0===n&&(n="default",r=""),i("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+r]).then(t=>il(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(Vt(Lu),Vt(Zu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function il(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const nl=Ku(null,"core",[{provide:mu,useValue:"unknown"},{provide:Xu,deps:[ao]},{provide:Hu,deps:[]},{provide:bu,deps:[]}]),rl=[{provide:Ju,useClass:Ju,deps:[xu,bu,ao,yn,Fa,hu]},{provide:_c,deps:[xu],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 nt,lu]]},{provide:Lu,useClass:Lu,deps:[]},pu,{provide:sc,useFactory:function(){return cc},deps:[]},{provide:oc,useFactory:function(){return uc},deps:[]},{provide:yu,useFactory:function(t){return Sc(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new it(yu),new nt,new st]]},{provide:wu,useValue:"USD"}];let sl=(()=>{class t{constructor(t){}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(Ju))},providers:rl}),t})(),ol=null;function al(){return ol}const cl=new It("DocumentToken");let ul=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:ll,token:t,providedIn:"platform"}),t})();function ll(){return Vt(dl)}const hl=new It("Location Initialized");let dl=(()=>{class t extends ul{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=al().getLocation(),this._history=al().getHistory()}getBaseHrefFromDOM(){return al().getBaseHref(this._doc)}onPopState(t){al().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){al().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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){pl()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){pl()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl))},t.\u0275prov=ut({factory:fl,token:t,providedIn:"platform"}),t})();function pl(){return!!window.history.pushState}function fl(){return new dl(Vt(cl))}function gl(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 ml(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 _l(t){return t&&"?"!==t[0]?"?"+t:t}let bl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:yl,token:t,providedIn:"root"}),t})();function yl(t){const e=Vt(cl).location;return new Ml(Vt(ul),e&&e.origin||"")}const wl=new It("appBaseHref");let Ml=(()=>{class t extends bl{constructor(t,e){if(super(),this._platformLocation=t,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}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return gl(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_l(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const r=this.prepareExternalUrl(i+_l(n));this._platformLocation.pushState(t,e,r)}replaceState(t,e,i,n){const r=this.prepareExternalUrl(i+_l(n));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Vt(ul),Vt(wl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Al=(()=>{class t extends bl{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){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=gl(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let r=this.prepareExternalUrl(i+_l(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,i,n){let r=this.prepareExternalUrl(i+_l(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Vt(ul),Vt(wl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),vl=(()=>{class t{constructor(t,e){this._subject=new qc,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=ml(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+_l(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+_l(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_l(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}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)(Vt(bl),Vt(ul))},t.normalizeQueryParams=_l,t.joinWithSlash=gl,t.stripTrailingSlash=ml,t.\u0275prov=ut({factory:Tl,token:t,providedIn:"root"}),t})();function Tl(){return new vl(Vt(bl),Vt(ul))}function kl(t){return t.replace(/\/index.html$/,"")}var Sl=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}({}),Cl=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),Ll=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),El=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),zl=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 xl(t,e){return Nl(Ac(t)[Tc.DateFormat],e)}function Rl(t,e){return Nl(Ac(t)[Tc.TimeFormat],e)}function Ol(t,e){return Nl(Ac(t)[Tc.DateTimeFormat],e)}function Dl(t,e){const i=Ac(t),n=i[Tc.NumberSymbols][e];if(void 0===n){if(e===zl.CurrencyDecimal)return i[Tc.NumberSymbols][zl.Decimal];if(e===zl.CurrencyGroup)return i[Tc.NumberSymbols][zl.Group]}return n}function Pl(t){if(!t[Tc.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Tc.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Nl(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 Il(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const Bl=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fl={},Hl=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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 ql=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),jl=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}({}),Yl=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 Wl(t,e,i,n){let r=function(t){if(Zl(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,i,n]=t.split("-").map(t=>+t);return new Date(e,i-1,n)}let i;if(i=t.match(Bl))return function(t){const e=new Date(0);let i=0,n=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=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]));const o=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,c,u),e}(i)}const e=new Date(t);if(!Zl(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,i){const n=function(t){return Ac(t)[Tc.LocaleId]}(e);if(Fl[n]=Fl[n]||{},Fl[n][i])return Fl[n][i];let r="";switch(i){case"shortDate":r=xl(e,El.Short);break;case"mediumDate":r=xl(e,El.Medium);break;case"longDate":r=xl(e,El.Long);break;case"fullDate":r=xl(e,El.Full);break;case"shortTime":r=Rl(e,El.Short);break;case"mediumTime":r=Rl(e,El.Medium);break;case"longTime":r=Rl(e,El.Long);break;case"fullTime":r=Rl(e,El.Full);break;case"short":const i=t(e,"shortTime"),n=t(e,"shortDate");r=Ul(Ol(e,El.Short),[i,n]);break;case"medium":const s=t(e,"mediumTime"),o=t(e,"mediumDate");r=Ul(Ol(e,El.Medium),[s,o]);break;case"long":const a=t(e,"longTime"),c=t(e,"longDate");r=Ul(Ol(e,El.Long),[a,c]);break;case"full":const u=t(e,"fullTime"),l=t(e,"fullDate");r=Ul(Ol(e,El.Full),[u,l])}return r&&(Fl[n][i]=r),r}(i,e)||e;let s,o=[];for(;e;){if(s=Hl.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=r.getTimezoneOffset();n&&(a=Ql(n,a),r=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*(Ql(e,n)-n))}(r,n));let c="";return o.forEach(t=>{const e=function(t){if($l[t])return $l[t];let e;switch(t){case"G":case"GG":case"GGG":e=Xl(Yl.Eras,Ll.Abbreviated);break;case"GGGG":e=Xl(Yl.Eras,Ll.Wide);break;case"GGGGG":e=Xl(Yl.Eras,Ll.Narrow);break;case"y":e=Vl(jl.FullYear,1,0,!1,!0);break;case"yy":e=Vl(jl.FullYear,2,0,!0,!0);break;case"yyy":e=Vl(jl.FullYear,3,0,!1,!0);break;case"yyyy":e=Vl(jl.FullYear,4,0,!1,!0);break;case"M":case"L":e=Vl(jl.Month,1,1);break;case"MM":case"LL":e=Vl(jl.Month,2,1);break;case"MMM":e=Xl(Yl.Months,Ll.Abbreviated);break;case"MMMM":e=Xl(Yl.Months,Ll.Wide);break;case"MMMMM":e=Xl(Yl.Months,Ll.Narrow);break;case"LLL":e=Xl(Yl.Months,Ll.Abbreviated,Cl.Standalone);break;case"LLLL":e=Xl(Yl.Months,Ll.Wide,Cl.Standalone);break;case"LLLLL":e=Xl(Yl.Months,Ll.Narrow,Cl.Standalone);break;case"w":e=Jl(1);break;case"ww":e=Jl(2);break;case"W":e=Jl(1,!0);break;case"d":e=Vl(jl.Date,1);break;case"dd":e=Vl(jl.Date,2);break;case"E":case"EE":case"EEE":e=Xl(Yl.Days,Ll.Abbreviated);break;case"EEEE":e=Xl(Yl.Days,Ll.Wide);break;case"EEEEE":e=Xl(Yl.Days,Ll.Narrow);break;case"EEEEEE":e=Xl(Yl.Days,Ll.Short);break;case"a":case"aa":case"aaa":e=Xl(Yl.DayPeriods,Ll.Abbreviated);break;case"aaaa":e=Xl(Yl.DayPeriods,Ll.Wide);break;case"aaaaa":e=Xl(Yl.DayPeriods,Ll.Narrow);break;case"b":case"bb":case"bbb":e=Xl(Yl.DayPeriods,Ll.Abbreviated,Cl.Standalone,!0);break;case"bbbb":e=Xl(Yl.DayPeriods,Ll.Wide,Cl.Standalone,!0);break;case"bbbbb":e=Xl(Yl.DayPeriods,Ll.Narrow,Cl.Standalone,!0);break;case"B":case"BB":case"BBB":e=Xl(Yl.DayPeriods,Ll.Abbreviated,Cl.Format,!0);break;case"BBBB":e=Xl(Yl.DayPeriods,Ll.Wide,Cl.Format,!0);break;case"BBBBB":e=Xl(Yl.DayPeriods,Ll.Narrow,Cl.Format,!0);break;case"h":e=Vl(jl.Hours,1,-12);break;case"hh":e=Vl(jl.Hours,2,-12);break;case"H":e=Vl(jl.Hours,1);break;case"HH":e=Vl(jl.Hours,2);break;case"m":e=Vl(jl.Minutes,1);break;case"mm":e=Vl(jl.Minutes,2);break;case"s":e=Vl(jl.Seconds,1);break;case"ss":e=Vl(jl.Seconds,2);break;case"S":e=Vl(jl.FractionalSeconds,1);break;case"SS":e=Vl(jl.FractionalSeconds,2);break;case"SSS":e=Vl(jl.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Gl(ql.Short);break;case"ZZZZZ":e=Gl(ql.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Gl(ql.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Gl(ql.Long);break;default:return null}return $l[t]=e,e}(t);c+=e?e(r,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ul(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,i){return null!=e&&i in e?e[i]:t}))),t}function Kl(t,e,i="-",n,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=i));let o=String(t);for(;o.length0||a>-i)&&(a+=i),t===jl.Hours)0===a&&-12===i&&(a=12);else if(t===jl.FractionalSeconds)return c=e,Kl(a,3).substr(0,c);var c;const u=Dl(o,zl.MinusSign);return Kl(a,e,u,n,r)}}function Xl(t,e,i=Cl.Format,n=!1){return function(r,s){return function(t,e,i,n,r,s){switch(i){case Yl.Months:return function(t,e,i){const n=Ac(t),r=Nl([n[Tc.MonthsFormat],n[Tc.MonthsStandalone]],e);return Nl(r,i)}(e,r,n)[t.getMonth()];case Yl.Days:return function(t,e,i){const n=Ac(t),r=Nl([n[Tc.DaysFormat],n[Tc.DaysStandalone]],e);return Nl(r,i)}(e,r,n)[t.getDay()];case Yl.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const t=function(t){const e=Ac(t);return Pl(e),(e[Tc.ExtraData][2]||[]).map(t=>"string"==typeof t?Il(t):[Il(t[0]),Il(t[1])])}(e),i=function(t,e,i){const n=Ac(t);Pl(n);const r=Nl([n[Tc.ExtraData][0],n[Tc.ExtraData][1]],e)||[];return Nl(r,i)||[]}(e,r,n),s=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=o>=e.hours&&a>=e.minutes,r=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case ql.Short:return(r>=0?"+":"")+Kl(o,2,s)+Kl(Math.abs(r%60),2,s);case ql.ShortGMT:return"GMT"+(r>=0?"+":"")+Kl(o,1,s);case ql.Long:return"GMT"+(r>=0?"+":"")+Kl(o,2,s)+":"+Kl(Math.abs(r%60),2,s);case ql.Extended:return 0===n?"Z":(r>=0?"+":"")+Kl(o,2,s)+":"+Kl(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function Jl(t,e=!1){return function(i,n){let r;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();r=1+Math.floor((e+t)/7)}else{const t=(s=i,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();r=1+Math.round(n/6048e5)}var s;return Kl(r,t,Dl(n,zl.MinusSign))}}const $l={};function Ql(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function Zl(t){return t instanceof Date&&!isNaN(t.valueOf())}class th{}let eh=(()=>{class t extends th{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return Ac(t)[Tc.PluralCase]}(e||this.locale)(t)){case Sl.Zero:return"zero";case Sl.One:return"one";case Sl.Two:return"two";case Sl.Few:return"few";case Sl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Vt(yu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function ih(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,r]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(r)}return null}let nh=(()=>{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&&(wo(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 "+yt(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)(zo(sc),zo(oc),zo(Ha),zo(Wa))},t.\u0275dir=be({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class rh{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 sh=(()=>{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){xn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),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 rh(null,this._ngForOf,-1,-1),null===n?void 0:n),r=new oh(t,i);e.push(r)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const r=this._viewContainer.get(i);this._viewContainer.move(r,n);const s=new oh(t,r);e.push(s)}});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)(zo(dc),zo(lc),zo(sc))},t.\u0275dir=be({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 ah=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ch,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){uh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){uh("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)(zo(dc),zo(lc))},t.\u0275dir=be({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ch{constructor(){this.$implicit=null,this.ngIf=null}}function uh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${yt(e)}'.`)}class lh{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 hh=(()=>{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 lh(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(zo(dc),zo(lc),zo(hh,1))},t.\u0275dir=be({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),ph=(()=>{class t{constructor(t,e,i){i._addDefault(new lh(t,e))}}return t.\u0275fac=function(e){return new(e||t)(zo(dc),zo(lc),zo(hh,1))},t.\u0275dir=be({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)(zo(Ha),zo(oc),zo(Wa))},t.\u0275dir=be({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})();function gh(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${yt(t)}'`)}class mh{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class _h{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const bh=new _h,yh=new mh;let wh=(()=>{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 bh;if(jo(e))return yh;throw gh(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)(uu())},t.\u0275pipe=ye({name:"async",type:t,pure:!1}),t})(),Mh=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return Wl(e,i,r||this.locale,n)}catch(s){throw gh(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(zo(yu))},t.\u0275pipe=ye({name:"date",type:t,pure:!0}),t})(),Ah=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[{provide:th,useClass:eh}]}),t})();function vh(t){return"browser"===t}function Th(t){return"server"===t}let kh=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new Sh(Vt(cl),window,Vt(yn))}),t})();class Sh{constructor(t,e,i){this.document=t,this.window=e,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(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,r=this.offset();this.window.scrollTo(i-r[0],n-r[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=Ch(this.window.history)||Ch(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function Ch(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Lh extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Lh,ol||(ol=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}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}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=zh||(zh=document.querySelector("base"),zh)?zh.getAttribute("href"):null;return null==e?null:(i=e,Eh||(Eh=document.createElement("a")),Eh.setAttribute("href",i),"/"===Eh.pathname.charAt(0)?Eh.pathname:"/"+Eh.pathname);var i}resetBaseElement(){zh=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return ih(document.cookie,t)}}let Eh,zh=null;const xh=new It("TRANSITION_ID"),Rh=[{provide:lu,useFactory:function(t,e,i){return()=>{i.get(hu).donePromise.then(()=>{const i=al();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[xh,cl,ao],multi:!0}];class Oh{static init(){var t;t=new Oh,Yu=t}addToWindow(t){Et.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},Et.getAllAngularTestabilities=()=>t.getAllTestabilities(),Et.getAllAngularRootElements=()=>t.getAllRootElements(),Et.frameworkStabilizers||(Et.frameworkStabilizers=[]),Et.frameworkStabilizers.push(t=>{const e=Et.getAllAngularTestabilities();let i=e.length,n=!1;const r=function(e){n=n||e,i--,0==i&&t(n)};e.forEach((function(t){t.whenStable(r)}))})}findTestabilityInTree(t,e,i){if(null==e)return null;const n=t.getTestability(e);return null!=n?n:i?al().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Dh=new It("EventManagerPlugins");let Ph=(()=>{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=ut({token:t,factory:t.\u0275fac}),t})(),Bh=(()=>{class t extends Ih{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,this._styleNodes.add(e.appendChild(i))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>al().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Fh={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/"},Hh=/%COMP%/g;function qh(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Yh=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Wh(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ce.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new Uh(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case ce.Native:case ce.ShadowDom:return new Kh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=qh(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)(Vt(Ph),Vt(Bh),Vt(du))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Wh{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Fh[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 r=Fh[n];r?t.setAttributeNS(r,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=Fh[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&Ya.DashCase?t.style.setProperty(e,i,n&Ya.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ya.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,jh(i)):this.eventManager.addEventListener(t,e,jh(i))}}class Uh extends Wh{constructor(t,e,i,n){super(t),this.component=i;const r=qh(n+"-"+i.id,i.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(Hh,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(Hh,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 Kh extends Wh{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.component=n,this.shadowRoot=n.encapsulation===ce.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const r=qh(n.id,n.styles,[]);for(let s=0;s{class t extends Nh{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)(Vt(cl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Xh=["alt","control","meta","shift"],Gh={"\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"},Jh={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"},$h={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Qh=(()=>{class t extends Nh{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,n){const r=t.parseEventName(i),s=t.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>al().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const r=t._normalizeKey(i.pop());let s="";if(Xh.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),s+=t+".")}),s+=r,0!=i.length||0===r.length)return null;const o={};return o.domEventName=n,o.fullKey=s,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&&Jh.hasOwnProperty(e)&&(e=Jh[e]))}return Gh[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Xh.forEach(n=>{n!=i&&(0,$h[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return r=>{t.getEventFullKey(r)===e&&n.runGuarded(()=>i(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Zh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return Vt(td)},token:t,providedIn:"root"}),t})(),td=(()=>{class t extends Zh{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case er.NONE:return e;case er.HTML:return Cn(e,"HTML")?Sn(e):Zn(this._doc,String(e));case er.STYLE:return Cn(e,"Style")?Sn(e):e;case er.SCRIPT:if(Cn(e,"Script"))return Sn(e);throw new Error("unsafe value used in a script context");case er.URL:return Ln(e),Cn(e,"URL")?Sn(e):Nn(String(e));case er.RESOURCE_URL:if(Cn(e,"ResourceURL"))return Sn(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://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)(Vt(cl))},t.\u0275prov=ut({factory:function(){return t=Vt(Bt),new td(t.get(cl));var t},token:t,providedIn:"root"}),t})();const ed=Ku(nl,"browser",[{provide:mu,useValue:"browser"},{provide:gu,useValue:function(){Lh.makeCurrent(),Oh.init()},multi:!0},{provide:cl,useFactory:function(){return function(t){Ne=t}(document),document},deps:[]}]),id=[[],{provide:Vs,useValue:"root"},{provide:yn,useFactory:function(){return new yn},deps:[]},{provide:Dh,useClass:Vh,multi:!0,deps:[cl,xu,mu]},{provide:Dh,useClass:Qh,multi:!0,deps:[cl]},[],{provide:Yh,useClass:Yh,deps:[Ph,Bh,du]},{provide:ja,useExisting:Yh},{provide:Ih,useExisting:Bh},{provide:Bh,useClass:Bh,deps:[cl]},{provide:Fu,useClass:Fu,deps:[xu]},{provide:Ph,useClass:Ph,deps:[Dh,xu]},[]];let nd=(()=>{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:du,useValue:e.appId},{provide:xh,useExisting:du},Rh]}}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(t,12))},providers:id,imports:[Ah,sl]}),t})();"undefined"!=typeof window&&window;var rd=function(t){return t.PERUNADMIN="PERUNADMIN",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}({});function sd(...t){let e=t[t.length-1];return k(e)?(t.pop(),B(t,e)):W(t)}function od(t,e){return H(t,e,1)}function ad(t,e){return function(i){return i.lift(new cd(t,e))}}class cd{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new ud(t,this.predicate,this.thisArg))}}class ud 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 ld{}class hd{}class dd{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(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}})}:()=>{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 dd?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 dd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof dd?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 r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.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 pd{encodeKey(t){return fd(t)}encodeValue(t){return fd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function fd(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,"/")}class gd{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new pd,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.split("&").forEach(t=>{const n=t.indexOf("="),[r,s]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],o=i.get(r)||[];o.push(s),i.set(r,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"})}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 gd({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(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(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)}}function md(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _d(t){return"undefined"!=typeof Blob&&t instanceof Blob}function bd(t){return"undefined"!=typeof FormData&&t instanceof FormData}class yd{constructor(t,e,i,n){let r;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,r=n):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new dd),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]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),c)),new yd(e,i,r,{params:c,headers:a,reportProgress:o,responseType:n,withCredentials:s})}}var wd=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 Md{constructor(t,e=200,i="OK"){this.headers=t.headers||new dd,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 Ad extends Md{constructor(t={}){super(t),this.type=wd.ResponseHeader}clone(t={}){return new Ad({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 vd extends Md{constructor(t={}){super(t),this.type=wd.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new vd({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 Td extends Md{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 kd(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Sd=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof yd)n=t;else{let r=void 0;r=i.headers instanceof dd?i.headers:new dd(i.headers);let s=void 0;i.params&&(s=i.params instanceof gd?i.params:new gd({fromObject:i.params})),n=new yd(t,e,void 0!==i.body?i.body:null,{headers:r,params:s,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const r=sd(n).pipe(od(t=>this.handler.handle(t)));if(t instanceof yd||"events"===i.observe)return r;const s=r.pipe(ad(t=>t instanceof vd));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.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 s.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 s.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 s.pipe(P(t=>t.body))}case"response":return s;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 gd).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,kd(i,e))}post(t,e,i={}){return this.request("POST",t,kd(i,e))}put(t,e,i={}){return this.request("PUT",t,kd(i,e))}}return t.\u0275fac=function(e){return new(e||t)(Vt(ld))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Cd{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Ld=new It("HTTP_INTERCEPTORS");let Ed=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const zd=/^\)\]\}',?\n/;class xd{}let Rd=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Od=(()=>{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 r=null;const s=()=>{if(null!==r)return r;const e=1223===i.status?204:i.status,n=i.statusText||"OK",s=new dd(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 r=new Ad({headers:s,status:e,statusText:n,url:o}),r},o=()=>{let{headers:n,status:r,statusText:o,url:a}=s(),c=null;204!==r&&(c=void 0===i.response?i.responseText:i.response),0===r&&(r=c?200:0);let u=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(zd,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new vd({body:c,headers:n,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new Td({error:c,headers:n,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:n}=s(),r=new Td({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(r)};let c=!1;const u=n=>{c||(e.next(s()),c=!0);let r={type:wd.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(r.total=n.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),e.next(r)},l=t=>{let i={type:wd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",o),i.addEventListener("error",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:wd.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("load",o),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)(Vt(xd))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Dd=new It("XSRF_COOKIE_NAME"),Pd=new It("XSRF_HEADER_NAME");class Nd{}let Id=(()=>{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=ih(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl),Vt(mu),Vt(Dd))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Bd=(()=>{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)(Vt(Nd),Vt(Pd))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Fd=(()=>{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(Ld,[]);this.chain=t.reduceRight((t,e)=>new Cd(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Vt(hd),Vt(ao))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Hd=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Bd,useClass:Ed}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Dd,useValue:e.cookieName}:[],e.headerName?{provide:Pd,useValue:e.headerName}:[]]}}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[Bd,{provide:Ld,useExisting:Bd,multi:!0},{provide:Nd,useClass:Id},{provide:Dd,useValue:"XSRF-TOKEN"},{provide:Pd,useValue:"X-XSRF-TOKEN"}]}),t})(),qd=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[Sd,{provide:ld,useClass:Fd},Od,{provide:hd,useExisting:Od},Rd,{provide:xd,useExisting:Rd}],imports:[[Hd.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class jd{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Yd=new It("basePath");class Wd{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 Ud=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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 gd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/attributesManager/convertAttributeToNonunique",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/attributesManager/convertAttributeToUnique",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 gd({encoder:this.encoder});null!=t&&(n=n.set("attribute",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/attributesManager/deleteAttribute",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/attributesManager/deleteAttributes",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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,r,s,o,a,c,u,l,h="body",d=!1){let p=new gd({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!=s&&(p=p.set("resource",s)),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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributeDefinitionById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("attributeName",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributeDefinition",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("format",t)),null!=e&&(r=r.set("attrName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/for-attribute",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("format",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributeModulesDependenciesGraphText",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("attributeId",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributeRights",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,n,r,s,o,a,c="body",u=!1){let l=new gd({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!=r&&(l=l.set("resource",r)),null!=s&&(l=l.set("facility",s)),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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("key",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-entityless",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("key",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/key",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("attrName",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getEntitylessAttributes",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("attrName",t)),e&&e.forEach(t=>{r=r.append("keys[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getEntitylessAttributesWithKeys",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getEntitylessKeys",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-facility",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-facility",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("facility",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/f",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getFacilityResourceUserMemberAttributes(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-u",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-group",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-group",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/g",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getGroupResourceAttributeById(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getGroupResourceAttributeByName(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/group-resource",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-host",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-host",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("host",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/h",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("host",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getLogins",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("workWithUserAttributes",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-wu",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getMemberAndUserAttributesByNames(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)}),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-member",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-member",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/m",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getMemberGroupAndUserAttributesByNames(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}getMemberGroupAttributeById(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getMemberGroupAttributeByName(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-g",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getMemberGroupAttributesByNames(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e)),i&&i.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 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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}getMemberResourceAttributeById(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getMemberResourceAttributeByName(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-r",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("service",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getRequiredAttributesDefinition",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("facility",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/f",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/s-f",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("services[]",t)}),null!=e&&(r=r.set("facility",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/ss-f",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getRequiredAttributesGroupResourceService(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("host",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/s-h",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("workWithUserAttributes",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/m",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getRequiredAttributesMemberGroup(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(t,e,i,n,r,s="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 gd({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!=r&&(a=a.set("workWithUserAttributes",r));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.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:s,reportProgress:o})}getRequiredAttributesMemberGroupService(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}getRequiredAttributesMemberResource(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getRequiredAttributesMemberResourceService(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/r",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/s-r",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("services[]",t)}),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/ss-r",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getRequiredAttributes/u",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-f",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("vo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/s-v",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-resource",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-resource",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/r",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getResourceGroupAndGroupAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-g",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getResourceGroupMemberAttributesByNames(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-user",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-user",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/u",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-ues",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-ues",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/ues",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getUserFacilityAttributeById(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getUserFacilityAttributeByName(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/user-facility",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attributeId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/id-vo",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attributeName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAttribute/name-vo",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/attributesManager/getAttributes/vo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-names",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,n,r,s,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==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let c=new gd({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)),s&&s.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,r,s="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==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let a=new gd({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)),r&&r.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:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("key",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/e",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/f",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/f",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}removeGroupResourceAttribute(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeGroupResourceAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e)),i&&i.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 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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/h",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("host",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/h",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/m",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/m",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}removeMemberAttributesWorkWithUserAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)}),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeMemberGroupAttribute(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeMemberGroupAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e)),i&&i.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 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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}removeMemberResourceAttribute(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeMemberResourceAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e)),i&&i.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 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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/r",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/r",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/ues",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/ues",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}removeUserFacilityAttribute(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}removeUserFacilityAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e)),i&&i.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 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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attribute",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAttribute/v",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.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/removeAttributes/v",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Kd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("role",t)),null!=e&&(s=s.set("complementaryObjectId",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getAuthzRichAdmins(t,e,i,n,r,s,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 gd({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!=r&&(c=c.set("allUserAttributes",r)),null!=s&&(c=c.set("onlyDirectAdmins",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 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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(t=>{r=r.append("roles[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getFacilitiesWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/authzResolver/getGroupRoleNames",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("groupId",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/urlinjsonout/authzResolver/getGroupRoles",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(t=>{r=r.append("roles[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getGroupsWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(t=>{r=r.append("roles[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getMembersWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(t=>{r=r.append("roles[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getResourcesWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(t=>{r=r.append("roles[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getSecurityTeamsWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/authzResolver/getUserRoleNames",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/authzResolver/getUserRoles",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(t=>{r=r.append("roles[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getVosWhereUserIsInRoles",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}isFacilityAdmin(t,e="body",i=!1){let n=new gd({encoder:this.encoder});null!=t&&(n=n.set("facility",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/urlinjsonout/authzResolver/isFacilityAdmin",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let n=new gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/urlinjsonout/authzResolver/isGroupAdmin",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/urlinjsonout/authzResolver/isVoAdmin",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Vd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("member",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addMember",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.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/groupsManager/addMembers",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resultGroup",t)),null!=e&&(r=r.set("operandGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/createGroupUnion",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}createGroupWithParentGroupNameDescription(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("parentGroup",t)),null!=e&&(s=s.set("name",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}createGroupWithVoNameDescription(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("name",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}deleteGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("force",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/deleteGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("forceDelete",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/deleteGroups",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/groupsManager/forceGroupStructureSynchronization",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/groupsManager/forceGroupSynchronization",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getAllGroups",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getAllMemberGroups",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAllRichGroupsWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAllRichSubGroupsWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getGroupById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getGroupByName",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getGroupMembersCount",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getGroupMembersCountsByGroupStatus",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getGroupMembersCountsByVoStatus",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("reverseDirection",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getGroupUnions",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getGroupsByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getIndirectMembershipPaths",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/groupsManager/getMemberGroups",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getMemberRichGroupsWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("groupId",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getRichGroupByIdWithAttributesByNames",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/isGroupMember",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=e&&(r=r.set("destinationGroup",e)),null!=t&&(r=r.set("movingGroup",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/moveGroup/dg-mg",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resultGroup",t)),null!=e&&(r=r.set("operandGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeGroupUnion",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("member",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeMember",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.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/groupsManager/removeMembers",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Xd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/membersManager/deleteMember",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/membersManager/deleteMembers",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("attrsNames[]",t)}),null!=e&&(s=s.set("searchString",e)),i&&i.forEach(t=>{s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}findCompleteRichMembersForGroup(t,e,i,n,r,s,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 gd({encoder:this.encoder});null!=t&&(c=c.set("group",t)),e&&e.forEach(t=>{c=c.append("attrsNames[]",t)}),r&&r.forEach(t=>{c=c.append("allowedStatuses[]",t)}),s&&s.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,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("searchString",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/findMembersInVo",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}findSponsoredCompleteRichMembersForVo(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getAllSponsoredMembers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAllSponsoredMembersAndTheirSponsors",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getCompleteRichMembersForGroup(t,e,i,n,r,s="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 gd({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)),r&&r.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:s,reportProgress:o})}getCompleteRichMembersForGroupResource(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}getCompleteRichMembersForVo(t,e,i,n="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("allowedStatuses[]",t)}),i&&i.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 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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("extLogin",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getMemberById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getMemberByUser",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("status",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getMembers",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getMembersByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getMembersByUser",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getMembersCount",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("status",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/status",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getRichMember",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getRichMemberWithAttributes",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("ids[]",t)}),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getRichMembersByIds",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/membersManager/getSponsoredMembers/v",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getSponsoredMembersAndTheirSponsors",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getSponsors/member",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getSponsorsByVo(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}moveMembership(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("sourceUser",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeSponsor",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}sendAccountActivationLinkEmail(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}sendPasswordResetLinkEmail(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("sponsoredMember",t)),null!=e&&(s=s.set("sponsor",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("status",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/setStatus",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}sponsorMember(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("sponsor",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}updateSponsorshipValidity(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("sponsor",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/membersManager/validateMemberAsync",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Gd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}sentMessageToRTWithMemberQueue(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}sentMessageToRTWithQueue(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("queue",t)),null!=e&&(s=s.set("subject",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}sentMessageToRTWithVo(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("voId",t)),null!=e&&(s=s.set("subject",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}sentMessageToRTWithVoQueue(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Jd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/addGroupsToAutoRegistration",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/approveApplication",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("token",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/consolidateIdentityUsingToken",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyForm/groupToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyFormFromGroupToVo(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toVo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyForm/groupToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyFormFromVoToGroup(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyForm/voToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyFormFromVoToVo(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toVo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyForm/voToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyMailsFromGroupToGroup(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyMails/groupToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyMailsFromGroupToVo(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toVo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyMails/groupToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyMailsFromVoToGroup(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyMails/voToGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}copyMailsFromVoToVo(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toVo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/copyMails/voToVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/createApplicationForm/group",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/createApplicationForm/vo",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/deleteApplication",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("id",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/deleteApplicationMail/g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("id",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/deleteApplicationMail/v",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getApplicationById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getApplicationDataById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getApplicationMails/g",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getApplicationMails/v",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,n,r="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let o=new gd({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:r,reportProgress:s})}getApplicationsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getApplicationsForMember",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getApplicationsForVo(t,e,i,n,r="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let o=new gd({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:r,reportProgress:s})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getFormItems/group",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("type",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-type",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getFormItems/vo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("type",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-type",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getApplicationForm/group",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getGroupsToAutoRegistration",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/registrarManager/getApplicationForm/vo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("reason",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/rejectApplication",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}sendInvitation(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}sendInvitationForGroup(t,e,i,n,r,s="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 gd({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("groupId",n)),null!=r&&(a=a.set("name",r)),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:s,reportProgress:o})}sendInvitationGroupToExistingUser(t,e,i,n="body",r=!1){let s=new gd({encoder:this.encoder});null!=t&&(s=s.set("userId",t)),null!=e&&(s=s.set("voId",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}sendInvitationToExistingUser(t,e,i="body",n=!1){let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/sendInvitation/u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/registrarManager/verifyApplication",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({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 dd,this.configuration=new Wd,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 jd}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("authorizedGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addAdmin/r-g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addAdmin/r-u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addResourceSelfServiceGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addResourceSelfServiceUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}assignGroupToResource(t,e,i="body",n=!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 gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/assignGroupToResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}assignGroupToResources(t,e,i="body",n=!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 gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("resources[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/assignGroupToResources",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}assignGroupsToResource(t,e,i="body",n=!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 gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/assignGroupsToResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("service",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/assignService",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(t=>{r=r.append("services[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/assignServices",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("servicesPackage",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/assignServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("tagName",t)),null!=e&&(r=r.set("vo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/createResourceTag/tagName",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/resourcesManager/deleteAllResources",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/resourcesManager/deleteResource",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAdminGroups",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("onlyDirectAdmins",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAdmins",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAllResourcesTagsForResource",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAllResourcesTagsForVo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getResourcesWhereUserIsAdmin/all",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAllowedMembers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAllowedResources",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAllowedUsers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("member",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAssignedGroups",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedMembers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedResources/g",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedResources/m",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedRichMembers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("group",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedRichResources/g",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedRichResources/m",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("service",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/s-m",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getAssignedServices",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getBansForMember",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getBansForResource",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("id",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getEnrichedResourceById",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getEnrichedResourcesForFacility",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getEnrichedResourcesForVo",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getFacility",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getBan",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("banId",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getBanById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getResourceById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}getResourceByName(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("facility",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getResources",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getResourcesByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getResourcesCount/vo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/fromVo",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getResourcesWhereGroupIsAdmin(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("vo",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getResourcesWhereUserIsAdmin(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("vo",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getRichAdmins(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getRichResourceById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getRichResources",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getRichResourcesByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/resourcesManager/getVo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("resource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/member-resource-id",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("authorizedGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAdmin/r-g",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeGroupFromResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("resources[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeGroupFromResources",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeGroupsFromResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("banId",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/resourcesManager/removeBan/id",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeResourceSelfServiceGroup",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeResourceSelfServiceUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("service",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeService",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(t=>{r=r.append("services[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeServices",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("servicesPackage",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeServicesPackage",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAdmin/r-u",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),this.httpClient.post(this.configuration.basePath+"/json/resourcesManager/setBan",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Qd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("specificUser",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addSpecificUserOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("token",t)),null!=e&&(s=s.set("password",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,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 gd({encoder:this.encoder});null!=t&&(n=n.set("token",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/checkPasswordResetRequestIsValid/token",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("password",t)),null!=e&&(r=r.set("namespace",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/checkPasswordStrength",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}createAlternativePassword(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("loginNamespace",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}deleteUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("force",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/deleteUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("searchString",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/findRichUsers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("searchString",t)),e&&e.forEach(t=>{r=r.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/findRichUsersWithAttributes",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("searchString",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/findUsers",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getAssignedRichResources",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getGroupsWhereUserIsActive/facility",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("resource",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getGroupsWhereUserIsActive/resource",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("vo",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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-v",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getGroupsWhereUserIsAdmin/u",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getPendingPreferredEmailChanges",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getRichUserExtSources/u",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getRichUserWithAttributes",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getRichUsersByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getRichUsersWithAttributesByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let n=new gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getRichUsersWithoutVoWithAttributes",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getSpecificUsersByUser",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getSponsorsForMember/member",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getSponsorsForMemberByVoAndLogin(t,e,i,n,r="body",s=!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 gd({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:r,reportProgress:s})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("extLogin",t)),null!=e&&(r=r.set("extSourceName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getUserByExtSourceNameAndExtLogin",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getUserById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getUserExtSourceById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getUserExtSources",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getUserExtSourcesByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getUsersByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("specificUser",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getUsersBySpecificUser",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getVosWhereUserIsAdmin",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("user",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/usersManager/getVosWhereUserIsMember",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("specificUser",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeSpecificUserOwner",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}removeUserExtSource(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("userExtSource",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}requestPreferredEmailChange(t,e,i,n,r,s,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 gd({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!=s&&(c=c.set("idpFilter",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 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})}reservePassword(t,e,i,n="body",r=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePassword.");let s=new gd({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e)),null!=i&&(s=s.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",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),this.httpClient.post(this.configuration.basePath+"/json/usersManager/updateUser",t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePreferredEmailChange(t,e,i,n="body",r=!1){if(null==t)throw new Error("Required parameter i was null or undefined when calling validatePreferredEmailChange.");if(null==e)throw new Error("Required parameter m was null or undefined when calling validatePreferredEmailChange.");if(null==i)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChange.");let s=new gd({encoder:this.encoder});null!=t&&(s=s.set("i",t)),null!=e&&(s=s.set("m",e)),null!=i&&(s=s.set("u",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/validatePreferredEmailChange",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("u",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/validatePreferredEmailChange/token",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Zd=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new dd,this.configuration=new Wd,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 jd}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addSponsorRole/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addSponsorRole/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addAdmin/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/addAdmin/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("shortName",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/createVo/withName",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("force",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/deleteVo",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}findCandidates(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("id",t)),null!=e&&(s=s.set("searchString",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("searchString",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/findCandidates/forGroup",{params:r,withCredentials:this.configuration.withCredentials,headers:s,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",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)}),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}getCompleteCandidatesForVo(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)}),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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,r,s="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==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let a=new gd({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!=r&&(a=a.set("onlyDirectAdmins",r));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.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:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+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/getAdminGroups",{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:n})}getVoAdminUsers(t,e,i,n="body",r=!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 s=new gd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("role",e)),null!=i&&(s=s.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:s,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:r})}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 gd({encoder:this.encoder});null!=t&&(n=n.set("banId",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getBanById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getBanForMember",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getBansForVo",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("id",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getVoById",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let n=new gd({encoder:this.encoder});null!=t&&(n=n.set("shortName",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getVoByShortName",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("vo",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getVoMembersCountsByStatus",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.get(this.configuration.basePath+"/json/vosManager/getVosByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeSponsorRole/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeSponsorRole/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAdmin/group",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 r=new gd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;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/removeAdmin/user",null,{params:r,withCredentials:this.configuration.withCredentials,headers:s,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 gd({encoder:this.encoder});null!=t&&(n=n.set("banId",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/vosManager/removeBan",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 gd({encoder:this.encoder});null!=t&&(n=n.set("member",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 s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(r=r.set("Accept",s)),this.httpClient.post(this.configuration.basePath+"/urlinjsonout/vosManager/removeBanForMember",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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 r=this.configuration.selectHeaderAccept(["application/json"]);void 0!==r&&(n=n.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==s&&(n=n.set("Content-Type",s)),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)(Vt(Sd),Vt(Yd,8),Vt(Wd,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var tp,ep,ip,np;!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"}}(tp||(tp={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(ep||(ep={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(ip||(ip={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(np||(np={}));let rp=(()=>{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 s of i)n=n.concat(s.perunRoles);const r=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,r)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const r=i[n];if(null===r)this.principalRoles.has(n)||(t=!1);else if(e[r]){for(const i of e[r])if(!this.principalHasRole(n,r,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 r=this.getPerunPolicy(n);if(!r)return[];e.set(n,r),i=i.concat(r.includePolicies)}const n=[];for(const r of e.values())n.push(r);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.hasAtLeasOne(rd.PERUNADMIN,rd.FACILITYADMIN,rd.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(rd.PERUNADMIN)}isVoAdmin(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.principalRoles.has(rd.PERUNADMIN)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(rd.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeasOne(rd.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(rd.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(rd.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeasOne(rd.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.CABINETADMIN)}isVoObserver(){return this.hasAtLeasOne(rd.PERUNADMIN,rd.VOOBSERVER)}isThisVoObserver(t){return this.principalRoles.has(rd.PERUNADMIN)||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 r of n.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],r=[],s=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),r=r.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))s="User"===t?[t].concat(s):s.concat(t);break}const o=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,o),c=this.resolveAuthorization(r,o);i.set(n,{readAuth:a,manageAuth:c,modes:s})}}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})(),dp=new b(t=>t.complete());function pp(t){return t?function(t){return new b(e=>t.schedule(()=>e.complete()))}(t):dp}function fp(t){return new b(e=>{let i;try{i=t()}catch(n){return void e.error(n)}return(i?F(i):pp()).subscribe(e)})}function gp(){return Y(1)}const mp=(()=>{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 _p(t){return function(e){return 0===t?pp():e.lift(new bp(t))}}class bp{constructor(t){if(this.total=t,this.total<0)throw new mp}call(t,e){return e.subscribe(new yp(t,this.total))}}class yp 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 r=0;re.lift(new Mp(t))}class Mp{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Ap(t,this.errorFactory))}}class Ap 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 vp(){return new hp}function Tp(t=null){return e=>e.lift(new kp(t))}class kp{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Sp(t,this.defaultValue))}}class Sp 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 Cp(t,e){return"function"==typeof e?i=>i.pipe(Cp((i,n)=>F(t(i,n)).pipe(P((t,r)=>e(i,t,n,r))))):e=>e.lift(new Lp(t))}class Lp{constructor(t){this.project=t}call(t,e){return e.subscribe(new Ep(t,this.project))}}class Ep 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 r=new S(this,e,i),s=this.destination;s.add(r),this.innerSubscription=O(this,t,void 0,void 0,r),this.innerSubscription!==r&&s.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,r){this.destination.next(e)}}function zp(t){return e=>0===t?pp():e.lift(new xp(t))}class xp{constructor(t){if(this.total=t,this.total<0)throw new mp}call(t,e){return e.subscribe(new Rp(t,this.total))}}class Rp 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 Op(...t){return gp()(sd(...t))}function Dp(...t){const e=t[t.length-1];return k(e)?(t.pop(),i=>Op(t,i,e)):e=>Op(t,e)}class Pp{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Np(t,this.accumulator,this.seed,this.hasSeed))}}class Np 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 Ip(t){return function(e){const i=new Bp(t),n=e.lift(i);return i.caught=n}}class Bp{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Fp(t,this.selector,this.caught))}}class Fp 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 r=O(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}function Hp(t,e){const i=arguments.length>=2;return n=>n.pipe(t?ad((e,i)=>t(e,i,n)):_,zp(1),i?Tp(e):wp(()=>new hp))}function qp(){}function jp(t,e,i){return function(n){return n.lift(new Yp(t,e,i))}}class Yp{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new Wp(t,this.nextOrObserver,this.error,this.complete))}}class Wp extends f{constructor(t,e,i,r){super(t),this._tapNext=qp,this._tapError=qp,this._tapComplete=qp,this._tapError=i||qp,this._tapComplete=r||qp,n(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||qp,this._tapError=e.error||qp,this._tapComplete=e.complete||qp)}_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 Up(t){return e=>e.lift(new Kp(t))}class Kp{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Vp(t,this.callback))}}class Vp extends f{constructor(t,e){super(t),this.add(new h(e))}}class Xp{constructor(t,e){this.id=t,this.url=e}}class Gp extends Xp{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 Jp extends Xp{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $p extends Xp{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qp extends Xp{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Zp extends Xp{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 tf extends Xp{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 ef extends Xp{constructor(t,e,i,n,r){super(t,e),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nf extends Xp{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 rf extends Xp{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 sf{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class of{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class af{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cf{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uf{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lf{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hf{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 df{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 pf(t){return new df(t)}function ff(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function gf(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 bf(t){return Array.prototype.concat.apply([],t)}function yf(t){return t.length>0?t[t.length-1]:null}function wf(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function Mf(t){return jo(t)?t:qo(t)?F(Promise.resolve(t)):sd(t)}function Af(t,e,i){return i?function(t,e){return mf(t,e)}(t.queryParams,e.queryParams)&&function t(e,i){if(!Sf(e.segments,i.segments))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!e.children[n])return!1;if(!t(e.children[n],i.children[n]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>_f(t[i],e[i]))}(t.queryParams,e.queryParams)&&function t(e,i){return function e(i,n,r){if(i.segments.length>r.length)return!!Sf(i.segments.slice(0,r.length),r)&&!n.hasChildren();if(i.segments.length===r.length){if(!Sf(i.segments,r))return!1;for(const e in n.children){if(!i.children[e])return!1;if(!t(i.children[e],n.children[e]))return!1}return!0}{const t=r.slice(0,i.segments.length),s=r.slice(i.segments.length);return!!Sf(i.segments,t)&&!!i.children.primary&&e(i.children.primary,n,s)}}(e,i,i.segments)}(t.root,e.root)}class vf{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pf(this.queryParams)),this._queryParamMap}toString(){return zf.serialize(this)}}class Tf{constructor(t,e){this.segments=t,this.children=e,this.parent=null,wf(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xf(this)}}class kf{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=pf(this.parameters)),this._parameterMap}toString(){return If(this)}}function Sf(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}function Cf(t,e){let i=[];return wf(t.children,(t,n)=>{"primary"===n&&(i=i.concat(e(t,n)))}),wf(t.children,(t,n)=>{"primary"!==n&&(i=i.concat(e(t,n)))}),i}class Lf{}class Ef{parse(t){const e=new jf(t);return new vf(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,i){if(!e.hasChildren())return xf(e);if(i){const i=e.children.primary?t(e.children.primary,!1):"",n=[];return wf(e.children,(e,i)=>{"primary"!==i&&n.push(`${i}:${t(e,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=Cf(e,(i,n)=>"primary"===n?[t(e.children.primary,!1)]:[`${n}:${t(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${xf(e)}/${i[0]}`:`${xf(e)}/(${i.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Of(e)}=${Of(t)}`).join("&"):`${Of(e)}=${Of(i)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const zf=new Ef;function xf(t){return t.segments.map(t=>If(t)).join("/")}function Rf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Of(t){return Rf(t).replace(/%3B/gi,";")}function Df(t){return Rf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pf(t){return decodeURIComponent(t)}function Nf(t){return Pf(t.replace(/\+/g,"%20"))}function If(t){return`${Df(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Df(t)}=${Df(e[t])}`).join("")}`;var e}const Bf=/^[^\/()?;=#]+/;function Ff(t){const e=t.match(Bf);return e?e[0]:""}const Hf=/^[^=?&#]+/,qf=/^[^?&#]+/;class jf{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Tf([],{}):new Tf([],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 Tf(t,e)),i}parseSegment(){const t=Ff(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new kf(Pf(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ff(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=Ff(this.remaining);t&&(i=t,this.capture(i))}t[Pf(e)]=Pf(i)}parseQueryParam(t){const e=function(t){const e=t.match(Hf);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(qf);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=Nf(e),r=Nf(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(r)}else t[n]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Ff(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;i.indexOf(":")>-1?(r=i.substr(0,i.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new Tf([],s),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 Yf{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=Wf(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Wf(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Uf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Uf(t,this._root).map(t=>t.value)}}function Wf(t,e){if(t===e.value)return e;for(const i of e.children){const e=Wf(t,i);if(e)return e}return null}function Uf(t,e){if(t===e.value)return[e];for(const i of e.children){const n=Uf(t,i);if(n.length)return n.unshift(e),n}return[]}class Kf{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Vf(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Xf extends Yf{constructor(t,e){super(t),this.snapshot=e,tg(this,t)}toString(){return this.snapshot.toString()}}function Gf(t,e){const i=function(t,e){const i=new Qf([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Zf("",new Kf(i,[]))}(t,e),n=new op([new kf("",{})]),r=new op({}),s=new op({}),o=new op({}),a=new op(""),c=new Jf(n,r,o,a,s,"primary",e,i.root);return c.snapshot=i.root,new Xf(new Kf(c,[]),i)}class Jf{constructor(t,e,i,n,r,s,o,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=r,this.outlet=s,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=>pf(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(P(t=>pf(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $f(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 Qf{constructor(t,e,i,n,r,s,o,a,c,u,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=r,this.outlet=s,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=pf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zf extends Yf{constructor(t,e){super(e),this.url=t,tg(this,e)}toString(){return eg(this._root)}}function tg(t,e){e.value._routerState=t,e.children.forEach(e=>tg(t,e))}function eg(t){const e=t.children.length>0?` { ${t.children.map(eg).join(", ")} } `:"";return`${t.value}${e}`}function ig(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,mf(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),mf(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;imf(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||ng(t.parent,e.parent))}function rg(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function sg(t,e,i,n,r){let s={};return n&&wf(n,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new vf(i.root===t?e:function t(e,i,n){const r={};return wf(e.children,(e,s)=>{r[s]=e===i?n:t(e,i,n)}),new Tf(e.segments,r)}(i.root,t,e),s,r)}class og{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&rg(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(n&&n!==yf(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ag{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function cg(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function ug(t,e,i){if(t||(t=new Tf([],{})),0===t.segments.length&&t.hasChildren())return lg(t,e,i);const n=function(t,e,i){let n=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;const e=t.segments[r],o=cg(i[n]),a=n0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!fg(o,a,e))return s;n+=2}else{if(!fg(o,{},e))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex{null!==i&&(r[n]=ug(t.children[n],e,i))}),wf(t.children,(t,e)=>{void 0===n[e]&&(r[e]=t)}),new Tf(t.segments,r)}}function hg(t,e,i){const n=t.segments.slice(0,e);let r=0;for(;r{null!==t&&(e[i]=hg(new Tf([],{}),0,t))}),e}function pg(t){const e={};return wf(t,(t,i)=>e[i]=""+t),e}function fg(t,e,i){return t==i.path&&mf(e,i.parameters)}class gg{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),ig(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=Vf(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),wf(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,r=e?e.value:null;if(n===r)if(n.component){const r=i.getContext(n.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,i);else r&&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);if(i){const n=Vf(t),r=t.value.component?i.children:e;wf(n,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(t,e,i){const n=Vf(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new lf(t.value.snapshot))}),t.children.length&&this.forwardEvent(new cf(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,r=e?e.value:null;if(ig(n),n===r)if(n.component){const r=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,r.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),mg(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),r=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=r,e.outlet&&e.outlet.activateWith(n,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function mg(t){ig(t.value),t.children.forEach(mg)}class _g{constructor(t,e){this.routes=t,this.module=e}}function bg(t){return"function"==typeof t}function yg(t){return t instanceof vf}const wg=Symbol("INITIAL_VALUE");function Mg(){return Cp(t=>cp(...t.map(t=>t.pipe(zp(1),Dp(wg)))).pipe(function(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new Pp(t,e,i))}}((t,e)=>{let i=!1;return e.reduce((t,n,r)=>{if(t!==wg)return t;if(n===wg&&(i=!0),!i){if(!1===n)return n;if(r===e.length-1||yg(n))return n}return t},t)},wg),ad(t=>t!==wg),P(t=>yg(t)?t:!0===t),zp(1)))}class Ag{constructor(t){this.segmentGroup=t||null}}class vg{constructor(t){this.urlTree=t}}function Tg(t){return new b(e=>e.error(new Ag(t)))}function kg(t){return new b(e=>e.error(new vg(t)))}function Sg(t){return new b(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Cg{constructor(t,e,i,n,r){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(Qt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(P(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ip(t=>{if(t instanceof vg)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ag)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(P(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Ip(t=>{if(t instanceof Ag)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 Tf([],{primary:t}):t;return new vf(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(P(t=>new Tf([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){return function(t,e){if(0===Object.keys(t).length)return sd({});const i=[],n=[],r={};return wf(t,(t,s)=>{const o=e(s,t).pipe(P(t=>r[s]=t));"primary"===s?i.push(o):n.push(o)}),sd.apply(null,i.concat(n)).pipe(gp(),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?ad((e,i)=>t(e,i,n)):_,_p(1),i?Tp(e):wp(()=>new hp))}(),P(()=>r))}(i.children,(i,n)=>this.expandSegmentGroup(t,e,n,i))}expandSegment(t,e,i,n,r,s){return sd(...i).pipe(od(o=>this.expandSegmentAgainstRoute(t,e,i,o,n,r,s).pipe(Ip(t=>{if(t instanceof Ag)return sd(null);throw t}))),Hp(t=>!!t),Ip((t,i)=>{if(t instanceof hp||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,n,r))return sd(new Tf([],{}));throw new Ag(e)}throw t}))}noLeftoversInUrl(t,e,i){return 0===e.length&&!t.children[i]}expandSegmentAgainstRoute(t,e,i,n,r,s,o){return xg(n)!==s?Tg(e):void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,r,s):Tg(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,r,s){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const r=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?kg(r):this.lineralizeSegments(i,r).pipe(H(i=>{const r=new Tf(i,{});return this.expandSegment(t,r,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,r,s){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:u}=Lg(e,n,r);if(!o)return Tg(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?kg(l):this.lineralizeSegments(n,l).pipe(H(n=>this.expandSegment(t,e,i,n.concat(r.slice(c)),s,!1)))}matchSegmentAgainstRoute(t,e,i,n){if("**"===i.path)return i.loadChildren?this.configLoader.load(t.injector,i).pipe(P(t=>(i._loadedConfig=t,new Tf(n,{})))):sd(new Tf(n,{}));const{matched:r,consumedSegments:s,lastChild:o}=Lg(e,i,n);if(!r)return Tg(e);const a=n.slice(o);return this.getChildConfig(t,i,n).pipe(H(t=>{const i=t.module,n=t.routes,{segmentGroup:r,slicedSegments:o}=function(t,e,i,n){return i.length>0&&function(t,e,i){return i.some(i=>zg(t,e,i)&&"primary"!==xg(i))}(t,i,n)?{segmentGroup:Eg(new Tf(e,function(t,e){const i={};i.primary=e;for(const n of t)""===n.path&&"primary"!==xg(n)&&(i[xg(n)]=new Tf([],{}));return i}(n,new Tf(i,t.children)))),slicedSegments:[]}:0===i.length&&function(t,e,i){return i.some(i=>zg(t,e,i))}(t,i,n)?{segmentGroup:Eg(new Tf(t.segments,function(t,e,i,n){const r={};for(const s of i)zg(t,e,s)&&!n[xg(s)]&&(r[xg(s)]=new Tf([],{}));return Object.assign(Object.assign({},n),r)}(t,i,n,t.children))),slicedSegments:i}:{segmentGroup:t,slicedSegments:i}}(e,s,a,n);return 0===o.length&&r.hasChildren()?this.expandChildren(i,n,r).pipe(P(t=>new Tf(s,t))):0===n.length&&0===o.length?sd(new Tf(s,{})):this.expandSegment(i,r,n,o,"primary",!0).pipe(P(t=>new Tf(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?sd(new _g(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?sd(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(ff(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):sd(new _g([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;return n&&0!==n.length?sd(n.map(n=>{const r=t.get(n);let s;if(function(t){return t&&bg(t.canLoad)}(r))s=r.canLoad(e,i);else{if(!bg(r))throw new Error("Invalid CanLoad guard");s=r(e,i)}return Mf(s)})).pipe(Mg(),jp(t=>{if(!yg(t))return;const e=ff(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),P(t=>!0===t)):sd(!0)}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return sd(i);if(n.numberOfChildren>1||!n.children.primary)return Sg(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 r=this.createSegmentGroup(t,e.root,i,n);return new vf(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return wf(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);i[n]=e[r]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const r=this.createSegments(t,e.segments,i,n);let s={};return wf(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,i,n)}),new Tf(r,s)}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 Lg(t,e,i){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(e.matcher||gf)(i,t,e);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Eg(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Tf(t.segments.concat(e.segments),e.children)}return t}function zg(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function xg(t){return t.outlet||"primary"}class Rg{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Og{constructor(t,e){this.component=t,this.route=e}}function Dg(t,e,i){const n=t._root;return function t(e,i,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Vf(i);return e.children.forEach(e=>{!function(e,i,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=i?i.value:null,c=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const u=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!Sf(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Sf(t.url,e.url)||!mf(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ng(t,e)||!mf(t.queryParams,e.queryParams);case"paramsChange":default:return!ng(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?s.canActivateChecks.push(new Rg(r)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,i,o.component?c?c.children:null:n,r,s),u&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new Og(c.outlet.component,a))}else a&&Ng(i,c,s),s.canActivateChecks.push(new Rg(r)),t(e,null,o.component?c?c.children:null:n,r,s)}(e,o[e.value.outlet],n,r.concat([e.value]),s),delete o[e.value.outlet]}),wf(o,(t,e)=>Ng(t,n.getContext(e),s)),s}(n,e?e._root:null,i,[n.value])}function Pg(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 Ng(t,e,i){const n=Vf(t),r=t.value;wf(n,(t,n)=>{Ng(t,r.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Og(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Ig(t,e){return null!==t&&e&&e(new uf(t)),sd(!0)}function Bg(t,e){return null!==t&&e&&e(new af(t)),sd(!0)}function Fg(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?sd(n.map(n=>fp(()=>{const r=Pg(n,e,i);let s;if(function(t){return t&&bg(t.canActivate)}(r))s=Mf(r.canActivate(e,t));else{if(!bg(r))throw new Error("Invalid CanActivate guard");s=Mf(r(e,t))}return s.pipe(Hp())}))).pipe(Mg()):sd(!0)}function Hg(t,e,i){const n=e[e.length-1],r=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=>fp(()=>sd(e.guards.map(r=>{const s=Pg(r,e.node,i);let o;if(function(t){return t&&bg(t.canActivateChild)}(s))o=Mf(s.canActivateChild(n,t));else{if(!bg(s))throw new Error("Invalid CanActivateChild guard");o=Mf(s(n,t))}return o.pipe(Hp())})).pipe(Mg())));return sd(r).pipe(Mg())}class qg{}class jg{constructor(t,e,i,n,r,s){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const t=Ug(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),i=new Qf([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Kf(i,e),r=new Zf(this.url,n);return this.inheritParamsAndData(r._root),sd(r)}catch(t){return new b(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,i=$f(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=Cf(e,(e,i)=>this.processSegmentGroup(t,e,i));return function(t){const e={};t.forEach(t=>{const i=e[t.value.outlet];if(i){const e=i.url.map(t=>t.toString()).join("/"),n=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${n}'.`)}e[t.value.outlet]=t.value})}(i),i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,i,n){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,i,n)}catch(r){if(!(r instanceof qg))throw r}if(this.noLeftoversInUrl(e,i,n))return[];throw new qg}noLeftoversInUrl(t,e,i){return 0===e.length&&!t.children[i]}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo)throw new qg;if((t.outlet||"primary")!==n)throw new qg;let r,s=[],o=[];if("**"===t.path){const s=i.length>0?yf(i).parameters:{};r=new Qf(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xg(t),n,t.component,t,Yg(e),Wg(e)+i.length,Gg(t))}else{const a=function(t,e,i){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||i.length>0))throw new qg;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(e.matcher||gf)(i,t,e);if(!n)throw new qg;const r={};wf(n.posParams,(t,e)=>{r[e]=t.path});const s=n.consumed.length>0?Object.assign(Object.assign({},r),n.consumed[n.consumed.length-1].parameters):r;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:s}}(e,t,i);s=a.consumedSegments,o=i.slice(a.lastChild),r=new Qf(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xg(t),n,t.component,t,Yg(e),Wg(e)+s.length,Gg(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=Ug(e,s,o,a,this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new Kf(r,t)]}if(0===a.length&&0===u.length)return[new Kf(r,[])];const l=this.processSegment(a,c,u,"primary");return[new Kf(r,l)]}}function Yg(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Wg(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 Ug(t,e,i,n,r){if(i.length>0&&function(t,e,i){return i.some(i=>Kg(t,e,i)&&"primary"!==Vg(i))}(t,i,n)){const r=new Tf(e,function(t,e,i,n){const r={};r.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const s of i)if(""===s.path&&"primary"!==Vg(s)){const i=new Tf([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,r[Vg(s)]=i}return r}(t,e,n,new Tf(i,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>Kg(t,e,i))}(t,i,n)){const s=new Tf(t.segments,function(t,e,i,n,r,s){const o={};for(const a of n)if(Kg(t,i,a)&&!r[Vg(a)]){const i=new Tf([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[Vg(a)]=i}return Object.assign(Object.assign({},r),o)}(t,e,i,n,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:i}}const s=new Tf(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:i}}function Kg(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function Vg(t){return t.outlet||"primary"}function Xg(t){return t.data||{}}function Gg(t){return t.resolve||{}}function Jg(t){return function(e){return e.pipe(Cp(e=>{const i=t(e);return i?F(i).pipe(P(()=>e)):F([e])}))}}class $g 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}}{}let Qg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&No(0,"router-outlet")},directives:function(){return[gm]},encapsulation:2}),t})();function Zg(t,e=""){for(let i=0;i{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new _g(bf(n.injector.get(nm)).map(im),n)}))}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):Mf(t()).pipe(H(t=>t instanceof Zt?sd(t):F(this.compiler.compileModuleAsync(t))))}}class sm{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new om,this.attachRef=null}}class om{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 sm,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class am{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function cm(t){throw t}function um(t,e,i){return e.parse("/")}function lm(t,e){return sd(null)}let hm=(()=>{class t{constructor(t,e,i,n,r,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new v,this.errorHandler=cm,this.malformedUriErrorHandler=um,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:lm,afterPreactivation:lm},this.urlHandlingStrategy=new am,this.routeReuseStrategy=new $g,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(Qt),this.console=r.get(bu);const c=r.get(xu);this.isNgZoneEnabled=c instanceof xu,this.resetConfig(a),this.currentUrlTree=new vf(new Tf([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rm(s,o,t=>this.triggerEvent(new sf(t)),t=>this.triggerEvent(new of(t))),this.routerState=Gf(this.currentUrlTree,this.rootComponentType),this.transitions=new op({id: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(ad(t=>0!==t.id),P(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Cp(t=>{let i=!1,n=!1;return sd(t).pipe(jp(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}}),Cp(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return sd(t).pipe(Cp(t=>{const i=this.transitions.getValue();return e.next(new Gp(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?dp:[t]}),Cp(t=>Promise.resolve(t)),(n=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,o=this.config,function(t){return t.pipe(Cp(t=>function(t,e,i,n,r){return new Cg(t,e,i,n,r).apply()}(n,r,s,t.extractedUrl,o).pipe(P(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),jp(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,r){return function(s){return s.pipe(H(s=>function(t,e,i,n,r="emptyOnly",s="legacy"){return new jg(t,e,i,n,r,s).recognize()}(t,e,s.urlAfterRedirects,i(s.urlAfterRedirects),n,r).pipe(P(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),jp(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),jp(t=>{const i=new Zp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,r,s,o;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:r,restoredState:s,extras:o}=t,a=new Gp(i,this.serializeUrl(n),r,s);e.next(a);const c=Gf(n,this.rootComponentType).snapshot;return sd(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),dp}),Jg(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),jp(t=>{const e=new tf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),P(t=>Object.assign(Object.assign({},t),{guards:Dg(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(i){return i.pipe(H(i=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return 0===o.length&&0===s.length?sd(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return F(t).pipe(H(t=>function(t,e,i,n,r){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?sd(s.map(s=>{const o=Pg(s,e,r);let a;if(function(t){return t&&bg(t.canDeactivate)}(o))a=Mf(o.canDeactivate(t,e,i,n));else{if(!bg(o))throw new Error("Invalid CanDeactivate guard");a=Mf(o(t,e,i,n))}return a.pipe(Hp())})).pipe(Mg()):sd(!0)}(t.component,t.route,i,e,n)),Hp(t=>!0!==t,!0))}(o,n,r,t).pipe(H(i=>i&&"boolean"==typeof i?function(t,e,i,n){return F(e).pipe(od(e=>F([Bg(e.route.parent,n),Ig(e.route,n),Hg(t,e.path,i),Fg(t,e.route,i)]).pipe(gp(),Hp(t=>!0!==t,!0))),Hp(t=>!0!==t,!0))}(n,s,t,e):sd(i)),P(t=>Object.assign(Object.assign({},i),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),jp(t=>{if(yg(t.guardsResult)){const e=ff(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),jp(t=>{const e=new ef(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),ad(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const i=new $p(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(i),t.resolve(!1),!1}return!0}),Jg(t=>{if(t.guards.canActivateChecks.length)return sd(t).pipe(jp(t=>{const e=new nf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Cp(t=>{let i=!1;return sd(t).pipe((n=this.paramsInheritanceStrategy,r=this.ngModule.injector,function(t){return t.pipe(H(t=>{const{targetSnapshot:e,guards:{canActivateChecks:i}}=t;if(!i.length)return sd(t);let s=0;return F(i).pipe(od(t=>function(t,e,i,n){return function(t,e,i,n){const r=Object.keys(t);if(0===r.length)return sd({});const s={};return F(r).pipe(H(r=>function(t,e,i,n){const r=Pg(t,e,n);return Mf(r.resolve?r.resolve(e,i):r(e,i))}(t[r],e,i,n).pipe(jp(t=>{s[r]=t}))),_p(1),H(()=>Object.keys(s).length===r.length?sd(s):dp))}(t._resolve,t,e,n).pipe(P(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),$f(t,i).resolve),null)))}(t.route,e,n,r)),jp(()=>s++),_p(1),H(e=>s===i.length?sd(t):dp))}))}),jp({next:()=>i=!0,complete:()=>{if(!i){const i=new $p(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(i),t.resolve(!1)}}}));var n,r}),jp(t=>{const e=new rf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Jg(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),P(t=>{const e=function(t,e,i){const n=function t(e,i,n){if(n&&e.shouldReuseRoute(i.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=i.value;const s=function(e,i,n){return i.children.map(i=>{for(const r of n.children)if(e.shouldReuseRoute(r.value.snapshot,i.value))return t(e,i,r);return t(e,i)})}(e,i,n);return new Kf(r,s)}{const n=e.retrieve(i.value);if(n){const t=n.route;return function t(e,i){if(e.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=e.value;for(let n=0;nt(e,i));return new Kf(n,s)}}var r}(t,e._root,i?i._root:void 0);return new Xf(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),jp(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.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,o=t=>this.triggerEvent(t),P(t=>(new gg(s,t.targetRouterState,t.currentRouterState,o).activate(r),t))),jp({next(){i=!0},complete(){i=!0}}),Up(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new $p(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(i),t.resolve(!1)}this.currentNavigation=null}),Ip(i=>{if(n=!0,(r=i)&&r.ngNavigationCancelingError){const n=yg(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new $p(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(r),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);return 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 Qp(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(s){t.reject(s)}}var r;return dp}));var r,s,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,r={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(n,t,i,r)},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){Zg(t),this.config=t.map(im),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:i,queryParams:n,fragment:r,preserveQueryParams:s,queryParamsHandling:o,preserveFragment:a}=e;xn()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=i||this.routerState.root,u=a?this.currentUrlTree.fragment:r;let l=null;if(o)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}else l=s?this.currentUrlTree.queryParams:n||null;return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,i,n,r){if(0===i.length)return sg(e.root,e.root,e,n,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new og(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,r)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return wf(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===r?(n.split("/").forEach((n,r)=>{0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new og(i,e,n)}(i);if(s.toRoot())return sg(e.root,new Tf([],{}),e,n,r);const o=function(t,e,i){if(t.isAbsolute)return new ag(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new ag(t,t===e.root,0)}const n=rg(t.commands[0])?0:1;return function(t,e,i){let n=t,r=e,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new Error("Invalid number of '../'");r=n.segments.length}return new ag(n,!1,r-s)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?lg(o.segmentGroup,o.index,s.commands):ug(o.segmentGroup,o.index,s.commands);return sg(o.segmentGroup,a,e,n,r)}(c,this.currentUrlTree,t,l,u)}navigateByUrl(t,e={skipLocationChange:!1}){xn()&&this.isNgZoneEnabled&&!xu.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=yg(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,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.events.next(new Jp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,r){const s=this.getTransition(),o="imperative"!==e&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let c,u,l;r?(c=r.resolve,u=r.reject,l=r.promise):l=new Promise((t,e)=>{c=t,u=e});const h=++this.navigationId;return this.setTransition({id:h,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,i,n){const r=this.urlSerializer.serialize(t);n=n||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(r,"",Object.assign(Object.assign({},n),{navigationId:i}))}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),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Ks),Vt(Lf),Vt(om),Vt(vl),Vt(ao),Vt(Qu),Vt(Lu),Vt(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),dm=(()=>{class t{constructor(t,e,i,n,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new v,null==i&&n.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){xn()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:fm(this.skipLocationChange),replaceUrl:fm(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fm(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(zo(hm),zo(Jf),xo("tabindex"),zo(Wa),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Yo("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[xe]}),t})(),pm=(()=>{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 Jp&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){xn()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,r){if(0!==t||e||i||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:fm(this.skipLocationChange),replaceUrl:fm(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fm(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(zo(hm),zo(Jf),zo(bl))},t.\u0275dir=be({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Yo("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(Ca("href",e.href,nr),ko("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[xe]}),t})();function fm(t){return""===t||!!t}let gm=(()=>{class t{constructor(t,e,i,n,r){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new qc,this.deactivateEvents=new qc,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,r=new mm(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(zo(om),zo(dc),zo(Fa),xo("name"),zo(Ws))},t.\u0275dir=be({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class mm{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Jf?this.route:t===om?this.childContexts:this.parent.get(t,e)}}class _m{}class bm{preload(t,e){return e().pipe(Ip(()=>sd(null)))}}class ym{preload(t,e){return sd(null)}}let wm=(()=>{class t{constructor(t,e,i,n,r){this.router=t,this.injector=n,this.preloadingStrategy=r,this.loader=new rm(e,i,e=>t.triggerEvent(new sf(e)),e=>t.triggerEvent(new of(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(ad(t=>t instanceof Jp),od(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Qt);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,()=>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)(Vt(hm),Vt(Qu),Vt(Lu),Vt(ao),Vt(_m))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Mm=(()=>{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 Gp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Jp&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof hf&&(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 hf(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)(Vt(hm),Vt(kh),Vt(void 0))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Am=new It("ROUTER_CONFIGURATION"),vm=new It("ROUTER_FORROOT_GUARD"),Tm=[vl,{provide:Lf,useClass:Ef},{provide:hm,useFactory:function(t,e,i,n,r,s,o,a={},c,u){const l=new hm(null,t,e,i,n,r,s,bf(o));if(c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),a.errorHandler&&(l.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(l.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=al();l.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(l.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(l.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(l.relativeLinkResolution=a.relativeLinkResolution),l},deps:[Lf,om,vl,ao,Qu,Lu,nm,Am,[class{},new nt],[class{},new nt]]},om,{provide:Jf,useFactory:function(t){return t.routerState.root},deps:[hm]},{provide:Qu,useClass:el},wm,ym,bm,{provide:Am,useValue:{enableTracing:!1}}];function km(){return new Uu("Router",hm)}let Sm=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[Tm,zm(e),{provide:vm,useFactory:Em,deps:[[hm,new nt,new st]]},{provide:Am,useValue:i||{}},{provide:bl,useFactory:Lm,deps:[ul,[new it(wl),new nt],Am]},{provide:Mm,useFactory:Cm,deps:[hm,kh,Am]},{provide:_m,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:ym},{provide:Uu,multi:!0,useFactory:km},[xm,{provide:lu,multi:!0,useFactory:Rm,deps:[xm]},{provide:Dm,useFactory:Om,deps:[xm]},{provide:_u,multi:!0,useExisting:Dm}]]}}static forChild(e){return{ngModule:t,providers:[zm(e)]}}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(vm,8),Vt(hm,8))}}),t})();function Cm(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new Mm(t,e,i)}function Lm(t,e,i={}){return i.useHash?new Al(t,e):new Ml(t,e)}function Em(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function zm(t){return[{provide:co,multi:!0,useValue:t},{provide:nm,multi:!0,useValue:t}]}let xm=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new v}appInitializer(){return this.injector.get(hl,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(hm),n=this.injector.get(Am);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))t(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?sd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Am),i=this.injector.get(wm),n=this.injector.get(Mm),r=this.injector.get(hm),s=this.injector.get(Ju);t===s.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),r.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(Vt(ao))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Rm(t){return t.appInitializer.bind(t)}function Om(t){return t.bootstrapListener.bind(t)}const Dm=new It("Router Initializer");let Pm=(()=>{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;nc(t)?r(...t):r(t))):new b(n=>{!function t(e,i,n,r,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(i,n,s),o=()=>t.removeEventListener(i,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(i,n),o=()=>t.off(i,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(i,n),o=()=>t.removeListener(i,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o1?Array.prototype.slice.call(arguments):t)}),n,i)})}class Ym extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Wm extends Ym{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=!1,n=void 0;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_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}}class Um extends Wm{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)}}let Km=(()=>{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 Vm extends Km{constructor(t,e=Km.now){super(t,()=>Vm.delegate&&Vm.delegate!==this?Vm.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Vm.delegate&&Vm.delegate!==this?Vm.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}}}class Xm extends Vm{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,r=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),Qm={};function Zm(t){return t in Qm&&(delete Qm[t],!0)}const t_={setImmediate(t){const e=Jm++;return Qm[e]=!0,$m.then(()=>Zm(e)&&t()),e},clearImmediate(t){Zm(t)}};class e_ extends Wm{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=t_.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&&(t_.clearImmediate(e),t.scheduled=void 0)}}class i_ extends Vm{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,r=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++ni.lift(new o_(t,e))}class o_{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new a_(t,this.compare,this.keySelector))}}class a_ 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))}}const c_=new Vm(Wm);class u_{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new l_(t,this.durationSelector))}}class l_ 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 h_(t){return!c(t)&&t-parseFloat(t)+1>=0}function d_(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 p_(t,e=c_){return i=()=>function(t=0,e,i){let n=-1;return h_(e)?n=Number(e)<1?1:Number(e):k(e)&&(i=e),k(i)||(i=c_),new b(e=>{const r=h_(t)?t:+t-i.now();return i.schedule(d_,r,{index:0,period:n,subscriber:e})})}(t,e),function(t){return t.lift(new u_(i))};var i}function f_(t){return e=>e.lift(new g_(t))}class g_{constructor(t){this.notifier=t}call(t,e){const i=new m_(t),n=O(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class m_ extends D{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,r){this.seenValue=!0,this.complete()}notifyComplete(){}}class __ extends Wm{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 b_ extends Vm{}const y_=new b_(__);function w_(t,e){return new b(e?i=>e.schedule(M_,0,{error:t,subscriber:i}):e=>e.error(t))}function M_({error:t,subscriber:e}){e.error(t)}let A_,v_=(()=>{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 sd(this.value);case"E":return w_(this.error);case"C":return pp()}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 T_ 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(T_.dispatch,this.delay,new k_(t,this.destination)))}_next(t){this.scheduleMessage(v_.createNext(t))}_error(t){this.scheduleMessage(v_.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(v_.createComplete()),this.unsubscribe()}}class k_{constructor(t,e){this.notification=t,this.destination=e}}class S_ 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 C_(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,r=i.length;let s;if(this.closed)throw new w;if(this.isStopped||this.hasError?s=h.EMPTY:(this.observers.push(t),s=new M(this,t)),n&&t.add(t=new T_(t,n)),e)for(let o=0;oe&&(s=Math.max(s,r-e)),s>0&&n.splice(0,s),n}}class C_{constructor(t,e){this.time=t,this.value=e}}function L_(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 r,s,o=0,a=!1,c=!1;return function(u){o++,r&&!a||(a=!1,r=new S_(t,e,n),s=u.subscribe({next(t){r.next(t)},error(t){a=!0,r.error(t)},complete(){c=!0,s=void 0,r.complete()}}));const l=r.subscribe(this);this.add(()=>{o--,l.unsubscribe(),s&&!c&&i&&0===o&&(s.unsubscribe(),s=void 0,r=void 0)})}}(n))}try{A_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(xH){A_=!1}let E_,z_=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?vh(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&&!A_)&&"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)(Vt(mu,8))},t.\u0275prov=ut({factory:function(){return new t(Vt(mu,8))},token:t,providedIn:"root"}),t})(),x_=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();const R_=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O_(){if(E_)return E_;if("object"!=typeof document||!document)return E_=new Set(R_),E_;let t=document.createElement("input");return E_=new Set(R_.filter(e=>(t.setAttribute("type",e),t.type===e))),E_}let D_,P_,N_;function I_(t){return function(){if(null==D_&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>D_=!0}))}finally{D_=D_||!1}return D_}()?t:!!t.capture}function B_(){if("object"!=typeof document||!document)return 0;if(null==P_){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",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),P_=0,0===t.scrollLeft&&(t.scrollLeft=1,P_=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return P_}function F_(t){if(function(){if(null==N_){const t="undefined"!=typeof document?document.head:null;N_=!(!t||!t.createShadowRoot&&!t.attachShadow)}return N_}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}const H_=new It("cdk-dir-doc",{providedIn:"root",factory:function(){return Xt(cl)}});let q_=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new qc,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)(Vt(H_,8))},t.\u0275prov=ut({factory:function(){return new t(Vt(H_,8))},token:t,providedIn:"root"}),t})(),j_=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();function Y_(t){return t&&"function"==typeof t.connect}class W_{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){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let U_=(()=>{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=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),K_=(()=>{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(p_(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):sd()}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(ad(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let i=e.nativeElement,n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>jm(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)(Vt(xu),Vt(z_),Vt(cl,8))},t.\u0275prov=ut({factory:function(){return new t(Vt(xu),Vt(z_),Vt(cl,8))},token:t,providedIn:"root"}),t})(),V_=(()=>{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(()=>jm(this.elementRef.nativeElement,"scroll").pipe(f_(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!=B_()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==B_()?t.left=t.right:1==B_()&&(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;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?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==B_()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==B_()?"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)(zo(Ha),zo(K_),zo(xu),zo(q_,8))},t.\u0275dir=be({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),X_=(()=>{class t{constructor(t,e,i){this._platform=t,this._document=i,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?U(jm(e,"resize"),jm(e,"orientationchange")):sd(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}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._getDocument(),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(p_(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().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)(Vt(z_),Vt(xu),Vt(cl,8))},t.\u0275prov=ut({factory:function(){return new t(Vt(z_),Vt(xu),Vt(cl,8))},token:t,providedIn:"root"}),t})(),G_=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})(),J_=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[j_,x_,G_],j_,G_]}),t})();function $_(){throw Error("Host already has a portal attached")}class Q_{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&$_(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Z_ extends Q_{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class tb extends Q_{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 eb extends Q_{constructor(t){super(),this.element=t instanceof Ha?t.nativeElement:t}}class ib{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&$_(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Z_?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof tb?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof eb?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}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 nb extends ib{constructor(t,e,i,n,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=r}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)),i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let rb=(()=>{class t extends ib{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new qc,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),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)(zo(Fa),zo(dc),zo(cl))},t.\u0275dir=be({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ho]}),t})(),sb=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();function ob(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class ab{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=Hm(-this._previousScrollPosition.left),t.style.top=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||"",r=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=r}}_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}}function cb(){return Error("Scroll strategy has already been attached.")}class ub{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){if(this._overlayRef)throw cb();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 lb{enable(){}disable(){}attach(){}}function hb(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function db(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class pb{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw cb();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();hb(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 fb=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new lb,this.close=t=>new ub(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new ab(this._viewportRuler,this._document),this.reposition=t=>new pb(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(Vt(K_),Vt(X_),Vt(xu),Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(K_),Vt(X_),Vt(xu),Vt(cl))},token:t,providedIn:"root"}),t})();class gb{constructor(t){if(this.scrollStrategy=new lb,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 mb{constructor(t,e,i,n,r){this.offsetX=i,this.offsetY=n,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class _b{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function bb(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function yb(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let wb=(()=>{class t{constructor(t){this._attachedOverlays=[],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}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),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()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(cl))},token:t,providedIn:"root"}),t})();const Mb=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Ab=(()=>{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=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||Mb){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,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.asObservable().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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),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(),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._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.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEvents.asObservable()}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=Hm(this._config.width),t.height=Hm(this._config.height),t.minWidth=Hm(this._config.minWidth),t.minHeight=Hm(this._config.minHeight),t.maxWidth=Hm(this._config.maxWidth),t.maxHeight=Hm(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"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;Fm(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(f_(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 Tb=/([A-Za-z%]+)$/;class kb{constructor(t,e,i,n,r){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=r,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.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");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 r;for(let s of this._preferredPositions){let o=this._getOriginPoint(t,s),a=this._getOverlayPoint(o,e,s),c=this._getOverlayFit(a,e,i,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!r||r.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(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Sb(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,r=this._isRtl()?t.left:t.right;i="start"==e.originX?n:r}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,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}}_getOverlayFit(t,e,i,n){let{x:r,y:s}=t,o=this._getOffset(n,"x"),a=this._getOffset(n,"y");o&&(r+=o),a&&(s+=a);let c=0-s,u=s+e.height-i.height,l=this._subtractOverflows(e.width,0-r,r+e.width-i.width),h=this._subtractOverflows(e.height,c,u),d=l*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:l==e.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,r=i.right-e.x,s=Cb(this._overlayRef.getConfig().minHeight),o=Cb(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=s&&s<=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=this._viewportRect,r=Math.max(t.x+e.width-n.right,0),s=Math.max(t.y+e.height-n.bottom,0),o=Math.max(n.top-i.top-t.y,0),a=Math.max(n.left-i.left-t.x,0);let c=0,u=0;return c=e.width<=n.width?a||-r:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(s=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:s,left:c,bottom:o,right:u,width:a,height:r}}_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,r=this._overlayRef.getConfig().maxWidth;n.height=Hm(i.height),n.top=Hm(i.top),n.bottom=Hm(i.bottom),n.width=Hm(i.width),n.left=Hm(i.left),n.right=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=Hm(t)),r&&(n.maxWidth=Hm(r))}this._lastBoundingBoxSize=i,Sb(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Sb(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Sb(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();Sb(i,this._getExactOverlayY(e,t,n)),Sb(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(),s.maxHeight&&(n?i.maxHeight=Hm(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(n?i.maxWidth=Hm(s.maxWidth):r&&(i.maxWidth="")),Sb(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":n.top=Hm(r.y),n}_getExactOverlayX(t,e,i){let n,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=Hm(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:db(t,i),isOriginOutsideView:hb(t,i),isOverlayClipped:db(e,i),isOverlayOutsideView:hb(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(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{yb("originX",t.originX),bb("originY",t.originY),yb("overlayX",t.overlayX),bb("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Fm(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 Ha)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 Sb(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function Cb(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(Tb);return i&&"px"!==i?null:parseFloat(e)}return t||null}class Lb{constructor(t,e,i,n,r,s,o){this._preferredPositions=[],this._positionStrategy=new kb(i,n,r,s,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return 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 r=new mb(t,e,i,n);return this._preferredPositions.push(r),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 Eb{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:r,maxWidth:s,maxHeight:o}=i,a=!("100%"!==n&&"100vw"!==n||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||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 zb=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new Eb}connectedTo(t,e,i){return new Lb(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new kb(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(Vt(X_),Vt(cl),Vt(z_),Vt(Ab))},t.\u0275prov=ut({factory:function(){return new t(Vt(X_),Vt(cl),Vt(z_),Vt(Ab))},token:t,providedIn:"root"}),t})(),xb=0,Rb=(()=>{class t{constructor(t,e,i,n,r,s,o,a,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=a,this._directionality=c,this._location=u}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),r=new gb(t);return r.direction=r.direction||this._directionality.value,new vb(n,e,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+xb++,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(Ju)),new nb(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(Vt(fb),Vt(Ab),Vt(Fa),Vt(zb),Vt(wb),Vt(ao),Vt(xu),Vt(cl),Vt(q_),Vt(vl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Ob=[{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"}],Db=new It("cdk-connected-overlay-scroll-strategy");let Pb=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),Nb=(()=>{class t{constructor(t,e,i,n,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new qc,this.positionChange=new qc,this.attach=new qc,this.detach=new qc,this.overlayKeydown=new qc,this._templatePortal=new tb(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=Nm(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Nm(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Nm(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Nm(t)}get push(){return this._push}set push(t){this._push=Nm(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}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=Ob),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27!==t.keyCode||ob(t)||(t.preventDefault(),this._detachOverlay())})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new gb({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.positionChanges.subscribe(t=>this.positionChange.emit(t)),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(zo(Rb),zo(lc),zo(dc),zo(Db),zo(q_,8))},t.\u0275dir=be({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],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"},exportAs:["cdkConnectedOverlay"],features:[xe]}),t})();const Ib={provide:Db,deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Bb=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[Rb,Ib],imports:[[j_,sb,J_],J_]}),t})();function Fb(t,e=c_){return i=>i.lift(new Hb(t,e))}class Hb{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new qb(t,this.dueTime,this.scheduler))}}class qb 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(jb,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 jb(t){t.debouncedNext()}let Yb=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Wb=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=qm(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)(Vt(Yb))},t.\u0275prov=ut({factory:function(){return new t(Vt(Yb))},token:t,providedIn:"root"}),t})(),Ub=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new qc,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Nm(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Im(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(Fb(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(zo(Wb),zo(Ha),zo(xu))},t.\u0275dir=be({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Kb=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[Yb]}),t})();function Vb(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let Xb=0;const Gb=new Map;let Jb=null,$b=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),Gb.set(e,{messageElement:e,referenceCount:0})):Gb.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=Gb.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}Jb&&0===Jb.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=Gb.get(e);!function(t,e,i){const n=Vb(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=Gb.get(e);i.referenceCount--,function(t,e,i){const n=Vb(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=Vb(t,"aria-describedby"),n=Gb.get(e),r=n&&n.messageElement.id;return!!r&&-1!=i.indexOf(r)}_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)(Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(cl))},token:t,providedIn:"root"}),t})();class Qb{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._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new v,this.change=new v,t instanceof Yc&&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){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(jp(t=>this._pressedLetters.push(t)),Fb(t),ad(()=>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;default:return void((i||ob(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 Yc?this._items.toArray():this._items}}class Zb extends Qb{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class ty extends Qb{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 ey=(()=>{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(xH){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===ny(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),r=ny(t);if(t.hasAttribute("contenteditable"))return-1!==r;if("iframe"===n)return!1;if("audio"===n){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(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))&&t.tabIndex>=0}isFocusable(t){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")||iy(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(Vt(z_))},t.\u0275prov=ut({factory:function(){return new t(Vt(z_))},token:t,providedIn:"root"}),t})();function iy(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 ny(t){if(!iy(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class ry{constructor(t,e,i,n,r=!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,r||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}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(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_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.asObservable().pipe(zp(1)).subscribe(t)}}let sy=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new ry(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(Vt(ey),Vt(xu),Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(ey),Vt(xu),Vt(cl))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&∈const oy=new It("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ay=new It("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let cy=(()=>{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,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[n,r]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==r&&i&&(r=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 r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},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=uy(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=py(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=py(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){if(!this._platform.isBrowser)return sd(null);const i=qm(t),n=F_(i)||this._getDocument(),r=this._elementInfo.get(i);if(r)return e&&(r.checkChildren=!0),r.subject.asObservable();const s={checkChildren:e,subject:new v,rootNode:n};return this._elementInfo.set(i,s),this._registerGlobalListeners(s),s.subject.asObservable()}stopMonitoring(t){const e=qm(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=qm(t);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=py(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);if(!i||!i.checkChildren&&e!==py(t))return;const n=this._getFocusOrigin(t);this._setClasses(e,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_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,hy),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,hy)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,hy),t.addEventListener("mousedown",this._documentMousedownListener,hy),t.addEventListener("touchstart",this._documentTouchstartListener,hy),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,hy),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,hy),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,hy),t.removeEventListener("mousedown",this._documentMousedownListener,hy),t.removeEventListener("touchstart",this._documentTouchstartListener,hy),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(Vt(xu),Vt(z_),Vt(cl,8),Vt(ly,8))},t.\u0275prov=ut({factory:function(){return new t(Vt(xu),Vt(z_),Vt(cl,8),Vt(ly,8))},token:t,providedIn:"root"}),t})();function py(t){return t.composedPath?t.composedPath()[0]:t.target}let fy=(()=>{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._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");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)(Vt(z_),Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(z_),Vt(cl))},token:t,providedIn:"root"}),t})(),gy=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(fy))},imports:[[x_,Kb]]}),t})();const my=new Va("9.2.4");class _y{}function by(t,e){return{type:7,name:t,definitions:e,options:{}}}function yy(t,e=null){return{type:4,styles:e,timings:t}}function wy(t,e=null){return{type:3,steps:t,options:e}}function My(t,e=null){return{type:2,steps:t,options:e}}function Ay(t){return{type:6,styles:t,offset:null}}function vy(t,e,i){return{type:0,name:t,styles:e,options:i}}function Ty(t){return{type:5,steps:t}}function ky(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function Sy(t=null){return{type:9,options:t}}function Cy(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function Ly(t){Promise.resolve(null).then(t)}class Ey{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,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(){Ly(()=>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(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class zy{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 r=this.players.length;0==r?Ly(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++i==r&&this._onDestroy()}),t.onStart(()=>{++n==r&&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(){let t=0;return this.players.forEach(e=>{const i=e.getPosition();t=Math.min(i,t)}),t}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 xy(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ry(t){switch(t.length){case 0:return new Ey;case 1:return t[0];default:return new zy(t)}}function Oy(t,e,i,n,r={},s={}){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=r[i];break;case"*":a=s[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 Dy(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Py(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Py(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Py(i,"destroy",t)))}}function Py(t,e,i){const n=i.totalTime,r=Ny(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),s=t._data;return null!=s&&(r._data=s),r}function Ny(t,e,i,n,r="",s=0,o){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:s,disabled:!!o}}function Iy(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 By(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Fy=(t,e)=>!1,Hy=(t,e)=>!1,qy=(t,e,i)=>[];const jy=xy();(jy||"undefined"!=typeof Element)&&(Fy=(t,e)=>t.contains(e),Hy=(()=>{if(jy||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]):Hy}})(),qy=(t,e,i)=>{let n=[];if(i)n.push(...t.querySelectorAll(e));else{const i=t.querySelector(e);i&&n.push(i)}return n});let Yy=null,Wy=!1;function Uy(t){Yy||(Yy=("undefined"!=typeof document?document.body:null)||{},Wy=!!Yy.style&&"WebkitAppearance"in Yy.style);let e=!0;return Yy.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Yy.style,!e&&Wy)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Yy.style),e}const Ky=Hy,Vy=Fy,Xy=qy;function Gy(t){const e={};return Object.keys(t).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let Jy=(()=>{class t{validateStyleProperty(t){return Uy(t)}matchesElement(t,e){return Ky(t,e)}containsElement(t,e){return Vy(t,e)}query(t,e,i){return Xy(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,r,s=[],o){return new Ey(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),$y=(()=>{class t{}return t.NOOP=new Jy,t})();function Qy(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Zy(parseFloat(e[1]),e[2])}function Zy(t,e){switch(e){case"s":return 1e3*t;default:return t}}function tw(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,r=0,s="";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=Zy(parseFloat(i[1]),i[2]);const o=i[3];null!=o&&(r=Zy(parseFloat(o),i[4]));const a=i[5];a&&(s=a)}else n=t;if(!i){let i=!1,s=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:r,easing:s}}(t,e,i)}function ew(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function iw(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else ew(t,i);return i}function nw(t,e,i){return i?e+":"+i+";":""}function rw(t){let e="";for(let i=0;i{const r=pw(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[r]),t.style[r]=e[n]}),xy()&&rw(t))}function ow(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=pw(e);t.style[i]=""}),xy()&&rw(t))}function aw(t){return Array.isArray(t)?1==t.length?t[0]:My(t):t}const cw=new RegExp("{{\\s*(.+?)\\s*}}","g");function uw(t){let e=[];if("string"==typeof t){let i;for(;i=cw.exec(t);)e.push(i[1]);cw.lastIndex=0}return e}function lw(t,e,i){const n=t.toString(),r=n.replace(cw,(t,n)=>{let r=e[n];return e.hasOwnProperty(n)||(i.push("Please provide a value for the animation param "+n),r=""),r.toString()});return r==n?t:r}function hw(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const dw=/-+([a-z0-9])/g;function pw(t){return t.replace(dw,(...t)=>t[1].toUpperCase())}function fw(t,e){return 0===t||0===e}function gw(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let s=e[0],o=[];if(n.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=i[t]}),o.length)for(var r=1;rfunction(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 r=n[1],s=n[2],o=n[3];e.push(Mw(r,o)),"<"!=s[0]||"*"==r&&"*"==o||e.push(Mw(o,r))}(t,i,e)):i.push(t),i}const yw=new Set(["true","1"]),ww=new Set(["false","0"]);function Mw(t,e){const i=yw.has(t)||ww.has(t),n=yw.has(e)||ww.has(e);return(r,s)=>{let o="*"==t||t==r,a="*"==e||e==s;return!o&&i&&"boolean"==typeof r&&(o=r?yw.has(t):ww.has(t)),!a&&n&&"boolean"==typeof s&&(a=s?yw.has(e):ww.has(e)),o&&a}}const Aw=new RegExp("s*:selfs*,?","g");function vw(t,e,i){return new Tw(t).build(e,i)}class Tw{constructor(t){this._driver=t}build(t,e){const i=new kw(e);return this._resetContextStyleTimingState(i),mw(this,aw(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 r=[],s=[];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,r.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const r=this.visitTransition(t,e);i+=r.queryCount,n+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,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 r=new Set,s=n||{};if(i.styles.forEach(t=>{if(Sw(t)){const e=t;Object.keys(e).forEach(t=>{uw(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const i=hw(r.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=mw(this,aw(t.animation),e);return{type:1,matchers:bw(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Cw(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>mw(this,t,e)),options:Cw(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const r=t.steps.map(t=>{e.currentTime=i;const r=mw(this,t,e);return n=Math.max(n,e.currentTime),r});return e.currentTime=n,{type:3,steps:r,options:Cw(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 Lw(tw(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Lw(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||tw(n,e),Lw(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let r=t.styles?t.styles:Ay({});if(5==r.type)n=this.visitKeyframes(r,e);else{let r=t.styles,s=!1;if(!r){s=!0;const t={};i.easing&&(t.easing=i.easing),r=Ay(t)}e.currentTime+=i.duration+i.delay;const o=this.visitStyle(r,e);o.isEmptyStep=s,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,r=null;return i.forEach(t=>{if(Sw(t)){const e=t,i=e.easing;if(i&&(r=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:r,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,r=e.currentTime;i&&r>0&&(r-=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 s=e.collectedStyles[e.currentQuerySelector],o=s[i];let a=!0;o&&(r!=n&&r>=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 "${r}ms" and "${n}ms"`),a=!1),r=o.startTime),a&&(s[i]={startTime:r,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},r=uw(t);r.length&&r.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 r=[];let s=!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(Sw(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(Sw(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,s=s||u0&&n{const s=l>0?n==h?1:l*n:r[n],o=s*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=s,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:mw(this,aw(t.animation),e),options:Cw(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Cw(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Cw(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Aw,"")),[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+" "+r:r,Iy(e.collectedStyles,e.currentQuerySelector,{});const o=mw(this,aw(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:Cw(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"}:tw(t.timings,e.errors,!0);return{type:12,animation:mw(this,aw(t.animation),e),timings:i,options:null}}}class kw{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 Sw(t){return!Array.isArray(t)&&"object"==typeof t}function Cw(t){var e;return t?(t=ew(t)).params&&(t.params=(e=t.params)?ew(e):null):t={},t}function Lw(t,e,i){return{duration:t,delay:e,easing:i}}function Ew(t,e,i,n,r,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class zw{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 xw=new RegExp(":enter","g"),Rw=new RegExp(":leave","g");function Ow(t,e,i,n,r,s={},o={},a,c,u=[]){return(new Dw).buildKeyframes(t,e,i,n,r,s,o,a,c,u)}class Dw{buildKeyframes(t,e,i,n,r,s,o,a,c,u=[]){c=c||new zw;const l=new Nw(t,e,c,n,r,u,[]);l.options=a,l.currentTimeline.setStyles([s],null,l.errors,a),mw(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()):[Ew(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),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,n,n.options);r!=s&&e.transformIntoNewTimeline(s)}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 r=null!=i.duration?Qy(i.duration):null,s=null!=i.delay?Qy(i.delay):null;return 0!==r&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,r,s);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),mw(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const r=t.options;if(r&&(r.params||r.delay)&&(n=e.createSubContext(r),n.transformIntoNewTimeline(),null!=r.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Pw);const t=Qy(r.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>mw(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 r=t.options&&t.options.delay?Qy(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),mw(this,s,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 tw(e.params?lw(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 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}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const r=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,r=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(n+r),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},r=n.delay?Qy(n.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Pw);let s=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);r&&o.delayNextStep(r),i===e.element&&(a=o.currentTimeline),mw(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;mw(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const Pw={};class Nw{constructor(t,e,i,n,r,s,o,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pw,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Iw(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=Qy(i.duration)),null!=i.delay&&(n.delay=Qy(i.delay));const r=i.params;if(r){let t=n.params;t||(t=this.options.params={}),Object.keys(r).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=lw(r[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,r=new Nw(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=Pw,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:""},r=new Bw(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,r,s){let o=[];if(n&&o.push(this.element),t.length>0){t=(t=t.replace(xw,"."+this._enterClassName)).replace(Rw,"."+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 r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Iw{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 Iw(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 r=n&&n.params||{},s=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]="*"})):iw(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=lw(s[t],r,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((r,s)=>{const o=iw(r,!0);Object.keys(o).forEach(i=>{const n=o[i];"!"==n?t.add(i):"*"==n&&e.add(i)}),i||(o.offset=s/this.duration),n.push(o)});const r=t.size?hw(t.values()):[],s=e.size?hw(e.values()):[];if(i){const t=n[0],e=ew(t);t.offset=0,e.offset=1,n=[t,e]}return Ew(this.element,n,r,s,this.duration,this.startTime,this.easing,!1)}}class Bw extends Iw{constructor(t,e,i,n,r,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.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 r=[],s=i+e,o=e/s,a=iw(t[0],!1);a.offset=0,r.push(a);const c=iw(t[0],!1);c.offset=Fw(o),r.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let o=iw(t[n],!1);o.offset=Fw((e+o.offset*i)/s),r.push(o)}i=s,e=0,n="",t=r}return Ew(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function Fw(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Hw{}class qw extends Hw{normalizePropertyName(t,e){return pw(t)}normalizeStyleValue(t,e,i,n){let r="";const s=i.toString().trim();if(jw[e]&&0!==i&&"0"!==i)if("number"==typeof i)r="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 s+r}}const jw=(()=>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 Yw(t,e,i,n,r,s,o,a,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:s,toState:n,toStyles:o,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}const Ww={};class Uw{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,r){return t.some(t=>t(e,i,n,r))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],r=this._stateStyles[t],s=n?n.buildStyles(e,i):{};return r?r.buildStyles(e,i):s}build(t,e,i,n,r,s,o,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||Ww,d=this.buildStyles(i,o&&o.params||Ww,l),p=a&&a.params||Ww,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?[]:Ow(t,e,this.ast.animation,r,s,d,f,y,c,l);let M=0;if(w.forEach(t=>{M=Math.max(t.duration+t.delay,M)}),l.length)return Yw(e,this._triggerName,i,n,b,d,f,[],[],m,_,M,l);w.forEach(t=>{const i=t.element,n=Iy(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const r=Iy(_,i,{});t.postStyleProps.forEach(t=>r[t]=!0),i!==e&&g.add(i)});const A=hw(g.values());return Yw(e,this._triggerName,i,n,b,d,f,w,A,m,_,M)}}class Kw{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=ew(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 r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=lw(s,n,e)),i[t]=s})}}),i}}class Vw{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Kw(t.style,t.options&&t.options.params||{})}),Xw(this.states,"true","1"),Xw(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Uw(t,e,this.states))}),this.fallbackTransition=new Uw(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(r=>r.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function Xw(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const Gw=new zw;class Jw{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=vw(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,r=Oy(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],r=this._animations[t];let s;const o=new Map;if(r?(s=Ow(this._driver,e,r,"ng-enter","ng-leave",{},{},i,Gw,n),s.forEach(t=>{const e=Iy(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),s=[]),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=Ry(s.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 r=Ny(e,"","","");return Dy(this._getPlayer(t),i,r,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 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)}}}const $w=[],Qw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class tM{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=ew(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 eM=new tM("void");class iM{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,uM(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"!=(r=i)&&"done"!=r)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var r;const s=Iy(this._elementListeners,t,[]),o={name:e,phase:i,callback:n};s.push(o);const a=Iy(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(uM(t,"ng-trigger"),uM(t,"ng-trigger-"+e),a[e]=eM),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.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 r=this._getTrigger(e),s=new rM(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(uM(t,"ng-trigger"),uM(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new tM(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=eM),"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 r=0;r{ow(t,i),sw(t,n)})}return}const u=Iy(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=r.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!n)return;l=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:s,isFallbackTransition:h}),h||(uM(t,"ng-animate-queued"),s.onStart(()=>{lM(t,"ng-animate-queued")})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(s);t>=0&&i.splice(t,1)}}),this.players.push(s),u.push(s),s}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 r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,"void",n);i&&s.push(i)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&Ry(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const i=new Set;e.forEach(e=>{const n=e.name;if(i.has(n))return;i.add(n);const r=this._triggers[n].fallbackTransition,s=this._engine.statesByElement.get(t)[n]||eM,o=new tM("void"),a=new rM(this.id,n,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:r,fromState:s,toState:o,player:a,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!==Qw||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){uM(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==i.triggerName){const n=Ny(r,i.triggerName,i.fromState.value,i.toState.value);n._data=t,Dy(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 nM{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 iM(t,e,this);return e.parentNode?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 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}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),uM(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),lM(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(sM(e)){const r=t?this._fetchNamespace(t):null;if(r?r.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,r){return sM(e)?this._fetchNamespace(t).listen(e,i,n,r):()=>{}}_buildInstruction(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)}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 Ry(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Qw,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?Ry(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 zw,n=[],r=new Map,s=[],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=>uM(t,i))});const g=[],m=new Set,_=new Set;for(let z=0;zm.add(t)):_.add(t))}const b=new Map,y=cM(h,Array.from(m));y.forEach((t,e)=>{const i="ng-leave"+f++;b.set(e,i),t.forEach(t=>uM(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=p.get(e);t.forEach(t=>lM(t,i))}),y.forEach((t,e)=>{const i=b.get(e);t.forEach(t=>lM(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,r=t.element;if(w.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const u=!l||!this.driver.containsElement(l,r),h=b.get(r),d=p.get(r),f=this._buildInstruction(t,i,d,h,u);if(f.errors&&f.errors.length)M.push(f);else{if(u)return e.onStart(()=>ow(r,f.fromStyles)),e.onDestroy(()=>sw(r,f.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>ow(r,f.fromStyles)),e.onDestroy(()=>sw(r,f.toStyles)),void n.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(r,f.timelines),s.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(t=>Iy(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;s.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=>{Iy(A,e,[]).push(t),t.destroy()})});const T=g.filter(t=>dM(t,a,c)),k=new Map;aM(k,this.driver,_,c,"*").forEach(t=>{dM(t,a,c)&&T.push(t)});const S=new Map;d.forEach((t,e)=>{aM(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=[],L=[],E={};s.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(i.has(e)){if(u.has(e))return s.onDestroy(()=>sw(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void n.push(s);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(s.namespaceId,o,A,r,S,k);if(s.setRealPlayer(i),t===E)C.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=Ry(e)),n.push(s)}}else ow(e,o.fromStyles),s.onDestroy(()=>sw(e,o.toStyles)),L.push(s),u.has(e)&&n.push(s)}),L.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const i=Ry(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let z=0;z!t.destroyed);n.length?hM(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,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||"void"==r;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&s.push(e)})}}return(i||n)&&(s=s.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),s}_beforeAnimationBuild(t,e,i){const n=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==n,c=Iy(i,t,[]);this._getPreviousPlayers(t,a,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}ow(n,e.fromStyles)}_buildAnimation(t,e,i,n,r,s){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 Ey(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return function t(e,i){for(let n=0;nt.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=r.get(h),m=s.get(h),_=Oy(0,this._normalizer,0,e.keyframes,g,m),b=this._buildPlayer(e,_,f);if(e.subTimeline&&n&&l.add(h),p){const e=new rM(t,o,h);e.setRealPlayer(b),c.push(e)}return b});c.forEach(t=>{Iy(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=>uM(t,"ng-animating"));const d=Ry(h);return d.onDestroy(()=>{u.forEach(t=>lM(t,"ng-animating")),sw(a,e.toStyles)}),l.forEach(t=>{Iy(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 Ey(t.duration,t.delay)}}class rM{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Ey,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=>Dy(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){Iy(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 sM(t){return t&&1===t.nodeType}function oM(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function aM(t,e,i,n,r){const s=[];i.forEach(t=>s.push(oM(t)));const o=[];n.forEach((i,n)=>{const s={};i.forEach(t=>{const i=s[t]=e.computeStyle(n,t,r);i&&0!=i.length||(n.__ng_removed=Zw,o.push(n))}),t.set(n,s)});let a=0;return i.forEach(t=>oM(t,s[a++])),o}function cM(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),r=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=r.get(e);if(s)return s;const o=e.parentNode;return s=i.has(o)?o:n.has(o)?1:t(o),r.set(e,s),s}(t);1!==e&&i.get(e).push(t)}),i}function uM(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function lM(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function hM(t,e,i){Ry(i).onDone(()=>t.processLeaveNode(e))}function dM(t,e,i){const n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(t=>r.add(t)):e.set(t,n),i.delete(t),!0}class pM{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new nM(t,e,i),this._timelineEngine=new Jw(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,r){const s=t+"-"+n;let o=this._triggerCache[s];if(!o){const t=[],e=vw(this._driver,r,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 Vw(t,e)}(n,e),this._triggerCache[s]=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,r]=By(i);this._timelineEngine.command(t,e,r,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,r){if("@"==i.charAt(0)){const[t,n]=By(i);return this._timelineEngine.listen(t,e,n,r)}return this._transitionEngine.listen(t,e,i,n,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function fM(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=mM(e[0]),e.length>1&&(n=mM(e[e.length-1]))):e&&(i=mM(e)),i||n?new gM(t,i,n):null}let gM=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&sw(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(sw(this._element,this._initialStyles),this._endStyles&&(sw(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ow(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ow(this._element,this._endStyles),this._endStyles=null),sw(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function mM(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=TM(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(),AM(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=TM(t,"").split(","),n=MM(i,e);n>=0&&(i.splice(n,1),vM(t,"",i.join(",")))}(this._element,this._name))}}function yM(t,e,i){vM(t,"PlayState",i,wM(t,e))}function wM(t,e){const i=TM(t,"");return i.indexOf(",")>0?MM(i.split(","),e):MM([i],e)}function MM(t,e){for(let i=0;i=0)return i;return-1}function AM(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function vM(t,e,i,n){const r="animation"+e;if(null!=n){const e=t.style[r];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[r]=i}function TM(t,e){return t.style["animation"+e]}class kM{constructor(t,e,i,n,r,s,o,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=n+r,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._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new bM(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]:_w(this.element,i))})}this.currentSnapshot=t}}class SM extends Ey{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Gy(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 CM{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return Uy(t)}matchesElement(t,e){return Ky(t,e)}containsElement(t,e){return Vy(t,e)}query(t,e,i){return Xy(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>Gy(t));let n=`@keyframes ${e} {\n`,r="";i.forEach(t=>{r=" ";const e=parseFloat(t.offset);n+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${r}animation-timing-function: ${i};\n`));default:return void(n+=`${r}${e}: ${i};\n`)}}),n+=r+"}\n"}),n+="}\n";const s=document.createElement("style");return s.innerHTML=n,s}animate(t,e,i,n,r,s=[],o){o&&this._notifyFaultyScrubber();const a=s.filter(t=>t instanceof kM),c={};fw(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=gw(t,e,c));if(0==i)return new SM(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(h);const d=fM(t,e),p=new kM(t,e,l,i,n,r,u,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class LM{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){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]:_w(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class EM{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(zM().toString()),this._cssKeyframesDriver=new CM}validateStyleProperty(t){return Uy(t)}matchesElement(t,e){return Ky(t,e)}containsElement(t,e){return Vy(t,e)}query(t,e,i){return Xy(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,r,s);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};r&&(a.easing=r);const c={},u=s.filter(t=>t instanceof LM);fw(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=fM(t,e=gw(t,e=e.map(t=>iw(t,!1)),c));return new LM(t,e,a,l)}}function zM(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let xM=(()=>{class t extends _y{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:ce.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?My(t):t;return DM(this._renderer,null,e,"register",[i]),new RM(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Vt(ja),Vt(cl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class RM extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new OM(this._id,t,e||{},this._renderer)}}class OM{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 DM(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")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function DM(t,e,i,n,r){return t.setProperty(e,`@@${i}:${n}`,r)}let PM=(()=>{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 NM("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(n,r,t,e.name,e)};return e.data.animation.forEach(s),new IM(this,r,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)(Vt(ja),Vt(pM),Vt(xu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class NM{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){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,!0)}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 IM extends NM{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 r=e.substr(1),s="";return"@"!=r.charAt(0)&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,n,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let BM=(()=>{class t extends pM{constructor(t,e,i){super(t.body,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl),Vt($y),Vt(Hw))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const FM=new It("AnimationModuleType"),HM=[{provide:$y,useFactory:function(){return"function"==typeof zM()?new EM:new CM}},{provide:FM,useValue:"BrowserAnimations"},{provide:_y,useClass:xM},{provide:Hw,useFactory:function(){return new qw}},{provide:pM,useClass:BM},{provide:ja,useFactory:function(t,e,i){return new PM(t,e,i)},deps:[Yh,pM,xu]}];let qM=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:HM,imports:[nd]}),t})();const jM=["*",[["mat-option"],["ng-container"]]],YM=["*","mat-option, ng-container"];function WM(t,e){if(1&t&&No(0,"mat-pseudo-checkbox",3),2&t){const t=Xo();Ro("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const UM=["*"];let KM=(()=>{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})(),VM=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const XM=new Va("9.2.4"),GM=new It("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let JM=(()=>{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)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return xn()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const i=e.createElement("div");i.classList.add("mat-theme-loaded-marker"),e.body.appendChild(i);const n=getComputedStyle(i);n&&"none"!==n.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"),e.body.removeChild(i)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&XM.full!==my.full&&console.warn("The Angular Material version ("+XM.full+") does not match the Angular CDK version ("+my.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(fy),Vt(GM,8),Vt(cl,8))},imports:[[j_],j_]}),t})();function $M(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Nm(t)}}}function QM(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const i=t||e;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),i&&this._elementRef.nativeElement.classList.add("mat-"+i),this._color=i)}}}function ZM(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Nm(t)}}}function tA(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function eA(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 iA(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(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const nA=new It("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Xt(yu)}});class rA{constructor(){this._localeChanges=new v}get localeChanges(){return this._localeChanges}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 sA=new It("mat-date-formats");let oA;try{oA="undefined"!=typeof Intl}catch(xH){oA=!1}const aA={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"]},cA=hA(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"]},lA=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function hA(t,e){const i=Array(t);for(let n=0;n{class t extends rA{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(oA){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return hA(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return aA[t]}getDateNames(){if(oA){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return hA(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return cA}getDayOfWeekNames(t){if(oA){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return hA(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return uA[t]}getYearName(t){if(oA){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){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);let n=this._createDateWithOverflow(t,e,i);if(n.getMonth()!=e)throw Error(`Invalid date "${i}" for month with index "${e}".`);return 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(oA){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(lA.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(t,e,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(Vt(nA,8),Vt(z_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),pA=(()=>{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=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),fA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function gA(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let mA=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM],JM]}),t})();class _A{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const bA={enterDuration:450,exitDuration:400},yA=I_({passive:!0}),wA=["mousedown","touchstart"],MA=["mouseup","mouseleave","touchend","touchcancel"];class AA{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=qm(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},bA),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const s=i.radius||function(t,e,i){const 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,n),o=t-n.left,a=e-n.top,c=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=o-s+"px",u.style.top=a-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"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 _A(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({},bA),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())}setupTriggerEvents(t){const e=qm(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(wA))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(MA),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=uy(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,yA)})})}_removeTriggerEvents(){this._triggerElement&&(wA.forEach(t=>{this._triggerElement.removeEventListener(t,this,yA)}),this._pointerUpEventsRegistered&&MA.forEach(t=>{this._triggerElement.removeEventListener(t,this,yA)}))}}const vA=new It("mat-ripple-global-options");let TA=(()=>{class t{constructor(t,e,i,n,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new AA(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){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()}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)(zo(Ha),zo(xu),zo(z_),zo(vA,8),zo(FM,8))},t.\u0275dir=be({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})(),kA=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM,x_],JM]}),t})(),SA=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(zo(FM,8))},t.\u0275cmp=de({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})(),CA=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();class LA{}const EA=$M(LA);let zA=0,xA=(()=>{class t extends EA{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+zA++}}return t.\u0275fac=function(e){return RA(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(ko("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),ua("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[ho],ngContentSelectors:YM,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(Jo(jM),Do(0,"label",0),Aa(1),$o(2),Po(),$o(3,1)),2&t&&(Ro("id",e._labelId),Ar(1),Ta("",e.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();const RA=gn(xA);let OA=0;class DA{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const PA=new It("MAT_OPTION_PARENT_COMPONENT");let NA=(()=>{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-"+OA++,this.onSelectionChange=new qc,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=Nm(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||ob(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 DA(this,t))}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(Ws),zo(PA,8),zo(xA,8))},t.\u0275cmp=de({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&Yo("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(Ca("id",e.id),ko("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))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:UM,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(Jo(),Lo(0,WM,1,2,"mat-pseudo-checkbox",0),Do(1,"span",1),$o(2),Po(),No(3,"div",2)),2&t&&(Ro("ngIf",e.multiple),Ar(3),Ro("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[ah,TA,SA],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}.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}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.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 IA(t,e,i){if(i.length){let n=e.toArray(),r=i.toArray(),s=0;for(let e=0;ei+n?Math.max(0,r-n+e):i}let FA=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[kA,Ah,CA]]}),t})();const HA=new It("mat-label-global-options");function qA(t,e){}class jA{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 YA={dialogContainer:by("dialogContainer",[vy("void, exit",Ay({opacity:0,transform:"scale(0.7)"})),vy("enter",Ay({transform:"none"})),ky("* => enter",yy("150ms cubic-bezier(0, 0, 0.2, 1)",Ay({transform:"none",opacity:1}))),ky("* => void, * => exit",yy("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Ay({opacity:0})))])};function WA(){throw Error("Attempting to attach dialog content after content is already attached")}let UA=(()=>{class t extends ib{constructor(t,e,i,n,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=r,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new qc,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&WA(),this._setupFocusTrap(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=n}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&WA(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&WA(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||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=this._document.activeElement,i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(sy),zo(Ws),zo(cl,8),zo(jA))},t.\u0275cmp=de({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var i;1&t&&Zc(rb,!0),2&t&&Qc(i=su())&&(e._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&Wo("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(ko("id",e._id)("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:[ho],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&Lo(0,qA,0,0,"ng-template",0)},directives:[rb],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;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:[YA.dialogContainer]}}),t})(),KA=0;class VA{constructor(t,e,i="mat-dialog-"+KA++){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(ad(t=>"done"===t.phaseName&&"enter"===t.toState),zp(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(ad(t=>"done"===t.phaseName&&"exit"===t.toState),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(ad(t=>27===t.keyCode&&!this.disableClose&&!ob(t))).subscribe(t=>{t.preventDefault(),this.close()}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(ad(t=>"start"===t.phaseName),zp(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}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._getPositionStrategy().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}}const XA=new It("MatDialogData"),GA=new It("mat-dialog-default-options"),JA=new It("mat-dialog-scroll-strategy"),$A={provide:JA,deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.block()}};let QA=(()=>{class t{constructor(t,e,i,n,r,s,o){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=s,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new v,this._afterOpenedAtThisLevel=new v,this._ariaHiddenElements=new Map,this.afterAllClosed=fp(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Dp(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}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new jA)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),r=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),r}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 gb({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=ao.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:jA,useValue:e}]}),n=new Z_(UA,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const r=new VA(i,e,n.id);if(t instanceof lc)e.attachTemplatePortal(new tb(t,null,{$implicit:n.data,dialogRef:r}));else{const i=this._createInjector(n,r,e),s=e.attachComponentPortal(new Z_(t,n.viewContainerRef,i));r.componentInstance=s.instance}return r.updateSize(n.width,n.height).updatePosition(n.position),r}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:UA,useValue:i},{provide:XA,useValue:t.data},{provide:VA,useValue:e}];return!t.direction||n&&n.get(q_,null)||r.push({provide:q_,useValue:{value:t.direction,change:sd()}}),ao.create({parent:n||this._injector,providers:r})}_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._afterAllClosed.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)(Vt(Rb),Vt(ao),Vt(vl,8),Vt(GA,8),Vt(JA),Vt(t,12),Vt(Ab))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),ZA=0,tv=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+ZA++}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)(zo(VA,8),zo(Ha),zo(QA))},t.\u0275dir=be({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&Ca("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),ev=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),iv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),nv=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[QA,$A],imports:[[Bb,sb,JM],JM]}),t})();var rv=i("etrl");const sv=[5,10,25,100,1e3,1e4];function ov(){const t=new jA;return t.disableClose=!0,t.autoFocus=!1,t}function av(t){return"virt"===t.namespace.split(":")[4]}function cv(t,e,i,n){const r=e.active,s=e.direction;return r&&""!==s?t.sort((t,e)=>{const o=i(t,r,n),a=i(e,r,n);return new Intl.Collator("cs",{numeric:!0}).compare(o,a)*("asc"===s?1:-1)}):t}function uv(t,e,i,n,r){e=e.toLowerCase();let s="";return i.forEach(e=>{s+=";"+n(t,e,r)}),-1!==s.toLowerCase().indexOf(e)}function lv(t,e,i,n){const r=[],s=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!s.includes(t)),t.forEach(t=>{const s={};e.forEach(e=>{var r;s[e]=(null!==(r=i(t,e,n))&&void 0!==r?r:"").split('"').join("''").trim()}),r.push(s)}),r}function hv(t,e="csv",i="export"){switch(e){case"csv":const n=(t,e)=>null===e?"":e,r=Object.keys(t[0]),s=t.map(t=>r.map(e=>JSON.stringify(t[e],n)).join(","));s.unshift(r.join(",").split(" ").join("_").split('"').join("''"));const o=s.join("\r\n"),a=new Blob([o],{type:"text/csv"});Object(rv.saveAs)(a,`${i}.${e}`)}}function dv(...t){if(1===t.length){const e=t[0];if(c(e))return pv(e,null);if(u(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return pv(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return pv(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(P(t=>e(...t)))}return pv(t,null)}function pv(t,e){return new b(i=>{const n=t.length;if(0===n)return void i.complete();const r=new Array(n);let s=0,o=0;for(let a=0;a{u||(u=!0,o++),r[a]=t},error:t=>i.error(t),complete:()=>{s++,s!==n&&u||(o===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=r[i],t),{}):r),i.complete())}}))}})}class fv{}let gv=(()=>{class t extends fv{getTranslation(t){return sd({})}}return t.\u0275fac=function(e){return mv(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const mv=gn(gv);class _v{}let bv=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function yv(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,r,s=typeof t;if(s==typeof e&&"object"==s){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in r=Object.create(null),t){if(!yv(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;n{class t extends Av{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(),!wv(t)||!wv(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 wv(n)?n:t}):t}}return t.\u0275fac=function(e){return Tv(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Tv=gn(vv);class kv{}let Sv=(()=>{class t extends kv{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(e){return Cv(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Cv=gn(Sv);class Lv{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new qc,this.onLangChange=new qc,this.onDefaultLangChange=new qc}}const Ev=new It("USE_STORE"),zv=new It("USE_DEFAULT_LANG"),xv=new It("DEFAULT_LANGUAGE"),Rv=new It("USE_EXTEND");let Ov=(()=>{class t{constructor(t,e,i,n,r,s=!0,o=!1,a=!1,c){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=n,this.missingTranslationHandler=r,this.useDefaultLang=s,this.isolate=o,this.extend=a,this.pending=!1,this._onTranslationChange=new qc,this._onLangChange=new qc,this._onDefaultLangChange=new qc,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 sd(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),sd(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(L_(1),zp(1));return this.loadingTranslations=e.pipe(P(e=>this.compiler.compileTranslations(e,t)),L_(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]?function t(e,i){let n=Object.assign({},e);return Mv(e)&&Mv(i)&&Object.keys(i).forEach(r=>{Mv(i[r])?r in e?n[r]=t(e[r],i[r]):Object.assign(n,{[r]:i[r]}):Object.assign(n,{[r]:i[r]})}),n}(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={},r=!1;for(let s of e)n[s]=this.getParsedResult(t,s,i),r_(n[s])&&(r=!0);return r?dv(e.map(t=>r_(n[t])?n[t]:sd(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(!wv(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(od(i=>r_(i=this.getParsedResult(i,t,e))?i:sd(i)));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return r_(i)?i:sd(i)}}getStreamOnTranslationChange(t,e){if(!wv(t)||!t.length)throw new Error('Parameter "key" required');return Op(fp(()=>this.get(t,e)),this.onTranslationChange.pipe(Cp(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:sd(n)})))}stream(t,e){if(!wv(t)||!t.length)throw new Error('Parameter "key" required');return Op(fp(()=>this.get(t,e)),this.onLangChange.pipe(Cp(i=>{const n=this.getParsedResult(i.translations,t,e);return r_(n)?n:sd(n)})))}instant(t,e){if(!wv(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if(r_(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)(Vt(Lv),Vt(fv),Vt(kv),Vt(Av),Vt(_v),Vt(zv),Vt(Ev),Vt(Rv),Vt(xv))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Dv=(()=>{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 r=this.translate.getParsedResult(i,t,e);r_(r.subscribe)?r.subscribe(n):n(r)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(yv(t,this.lastKey)&&yv(e,this.lastParams))return this.value;let i;if(wv(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)(zo(Ov),uu())},t.\u0275pipe=ye({name:"translate",type:t,pure:!1}),t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Pv=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:fv,useClass:gv},e.compiler||{provide:kv,useClass:Sv},e.parser||{provide:Av,useClass:vv},e.missingTranslationHandler||{provide:_v,useClass:bv},Lv,{provide:Ev,useValue:e.isolate},{provide:zv,useValue:e.useDefaultLang},{provide:Rv,useValue:e.extend},{provide:xv,useValue:e.defaultLanguage},Ov]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:fv,useClass:gv},e.compiler||{provide:kv,useClass:Sv},e.parser||{provide:Av,useClass:vv},e.missingTranslationHandler||{provide:_v,useClass:bv},{provide:Ev,useValue:e.isolate},{provide:zv,useValue:e.useDefaultLang},{provide:Rv,useValue:e.extend},{provide:xv,useValue:e.defaultLanguage},Ov]}}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();const Nv=["mat-button",""],Iv=["*"],Bv=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class Fv{constructor(t){this._elementRef=t}}const Hv=QM($M(ZM(Fv)));let qv=(()=>{class t extends Hv{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 Bv)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,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)(zo(Ha),zo(dy),zo(FM,8))},t.\u0275cmp=de({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){var i;1&t&&tu(TA,!0),2&t&&Qc(i=su())&&(e.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(t,e){2&t&&(ko("disabled",e.disabled||null),ua("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ho],attrs:Nv,ngContentSelectors:Iv,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),$o(1),Po(),No(2,"div",1),No(3,"div",2)),2&t&&(Ar(2),ua("mat-button-ripple-round",e.isRoundButton||e.isIconButton),Ro("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[TA],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .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[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-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[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[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[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}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.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:block;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}\n"],encapsulation:2,changeDetection:0}),t})(),jv=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[kA,JM],JM]}),t})(),Yv=(()=>{class t{constructor(t){this.dialogRef=t}ngOnInit(){}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(zo(VA))},t.\u0275cmp=de({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),Nc(2,"translate"),Po(),Do(3,"div",1),Aa(4),Nc(5,"translate"),Po(),Do(6,"div",2),Do(7,"div",3),Do(8,"button",4),Yo("click",(function(){return e.close()})),Aa(9),Nc(10,"translate"),Po(),Po(),Po()),2&t&&(Ar(1),va(Ic(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),Ar(3),Ta(" ",Ic(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),Ar(5),Ta(" ",Ic(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[tv,ev,iv,qv],pipes:[Dv],styles:[""]}),t})(),Wv=(()=>{class t{constructor(t,e,i,n){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.userSet=new qc,this.user=null,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(hm),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}startIdpFilterKeeper(){this.router.events.pipe(ad(t=>t instanceof Jp)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:t,queryParamsHandling:"merge",replaceUrl:!0})})}getUserManager(){return this.manager}getClientSettings(){const t=location.search.substr(1).split("&"),e=this.store.get("oidc_client","filters");let i="";return t.forEach(t=>{const n=t.split("=");if("idpFilter"===n[0]){const t=e[n[1]];t&&(i=t,this.filterShortname=n[1])}}),{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:{acr_values:i}}}loadConfigData(){this.manager=new sp.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded(t=>{this.user=t}),this.manager.events.addAccessTokenExpired(()=>{const t=ov();t.width="450px",this.dialog.open(Yv,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 r={};return n.forEach(t=>{const e=t.split("=");r[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([e],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(Vt(ao),Vt(Pm),Vt(QA),Vt(Jf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Uv=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(zo(VA))},t.\u0275cmp=de({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),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[ev],pipes:[Dv],styles:[""]}),t})(),Kv=(()=>{class t{constructor(t,e,i,n,r,s){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=r,this.router=s,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=ov();this.dialog.open(Uv,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)(Vt(Wv),Vt(Pm),Vt(rp),Vt(Kd),Vt(QA),Vt(hm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Vv=["*"];function Xv(t){return Error(`Unable to find icon with the name "${t}"`)}function Gv(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Jv(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class $v{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let Qv=(()=>{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._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 $v(i,n))}addSvgIconLiteralInNamespace(t,e,i,n){const r=this._sanitizer.sanitize(er.HTML,i);if(!r)throw Jv(i);const s=this._createSvgElementForSingleIcon(r,n);return this._addSvgIconConfig(t,e,new $v(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 $v(e,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(er.HTML,e);if(!n)throw Jv(e);const r=this._svgElementFromString(n);return this._addSvgIconSetConfig(t,new $v(r,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(er.RESOURCE_URL,t);if(!e)throw Gv(t);const i=this._cachedIconsByUrl.get(e);return i?sd(Zv(i)):this._loadSvgIconFromConfig(new $v(t)).pipe(jp(t=>this._cachedIconsByUrl.set(e,t)),P(t=>Zv(t)))}getNamedSvgIcon(t,e=""){const i=tT(e,t),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):w_(Xv(i))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?sd(Zv(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(jp(e=>t.svgElement=e),P(t=>Zv(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?sd(i):dv(e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Ip(e=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(er.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),sd(null)})))).pipe(P(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw Xv(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgElement){const e=this._extractSvgIconFromSet(n.svgElement,t,n.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(P(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?sd(t.svgElement):this._fetchUrl(t.url).pipe(P(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const i=this._svgElementFromString(t);return this._setSvgAttributes(i,e),i}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const 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);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,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(e)),Z());return this._inProgressUrlFetches.set(e,n),n}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(tT(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd,8),Vt(Zh),Vt(cl,8),Vt(yn,8))},t.\u0275prov=ut({factory:function(){return new t(Vt(Sd,8),Vt(Zh),Vt(cl,8),Vt(yn,8))},token:t,providedIn:"root"}),t})();function Zv(t){return t.cloneNode(!0)}function tT(t,e){return t+":"+e}class eT{constructor(t){this._elementRef=t}}const iT=QM(eT),nT=new It("mat-icon-location",{providedIn:"root",factory:function(){const t=Xt(cl),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),rT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],sT=rT.map(t=>`[${t}]`).join(", "),oT=/^url\(['"]?#(.*?)['"]?\)$/;let aT=(()=>{class t extends iT{constructor(t,e,i,n,r){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=r,this._inline=!1,this._currentIconFetch=h.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Nm(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_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}"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this._currentIconFetch.unsubscribe(),this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(e,t).pipe(zp(1)).subscribe(t=>this._setSvgElement(t),i=>{const n=`Error retrieving icon ${t}:${e}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&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 i=0;i{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(sT),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const r=e[n],s=r.getAttribute(t),o=s?s.match(oT):null;if(o){let e=i.get(r);e||(e=[],i.set(r,e)),e.push({name:t,value:o[1]})}})}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(Qv),xo("aria-hidden"),zo(nT,8),zo(yn,8))},t.\u0275cmp=de({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(t,e){2&t&&ua("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[ho,xe],ngContentSelectors:Vv,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),$o(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})(),cT=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM],JM]}),t})(),uT=(()=>{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)(Vt(Qv),Vt(Zh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),lT=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new qc}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,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:`${(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)(Vt(Ov))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),hT=(()=>{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=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),dT=(()=>{class t{constructor(t,e,i,n,r,s){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=r,this.initAuthService=s}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=ov();t.width="450px",this.dialog.open(Yv,t).afterClosed().subscribe(()=>{this.authService.startAuthentication().then(()=>{})})}t=t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),r="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe(jp(t=>{t instanceof vd&&r&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?w_(e):n?void this.notificator.showRPCError(i):w_(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.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(Vt(Wv),Vt(hT),Vt(lT),Vt(Pm),Vt(QA),Vt(Kv))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),pT=(()=>{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=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fT=(()=>{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 r=t.error;return r.call=e,r.payload=i,n&&this.notificator.showRPCError(t.error),w_(r)}getHeaders(){let t=new dd;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new gd,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe(Ip(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,r=JSON.stringify(e);return this.http.put(n,r,{headers:this.getHeaders()}).pipe(Ip(t=>this.formatErrors(t,n,r,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,r=JSON.stringify(e);let s=this.getHeaders();return s=s.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,r,{headers:s}).pipe(Ip(t=>this.formatErrors(t,n,r,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe(Ip(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(lT),Vt(Wv),Vt(Pm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gT=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,r,s,o,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=r*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?s.data.length:s.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),s.sortData(s.filteredData,o).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator closed",[yy(".3s ease-in")])]);const mT=by("flyInOut",[ky(":enter",[Ay({transform:"translateX(100%)"}),yy(".25s")]),ky(":leave",[yy(".5s",Ay({transform:"translateX(100%)"}))])]),_T=(by("rollInOut",[ky(":enter",[Ay({height:"0px"}),yy(".25s")]),ky(":leave",[yy(".25s",Ay({height:"0px"}))])]),by("routeAnimations",[ky("* => *",[Ay({position:"relative"}),Cy(":enter",[Ay({width:"100%",opacity:0})],{optional:!0}),Cy(":leave",[Ay({position:"absolute",width:"100%",opacity:1}),yy("0.15s",Ay({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Cy(":enter",[Ay({position:"absolute",width:"100%",opacity:0}),yy("0.15s",Ay({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),by("tagsOpenClose",[vy("open",Ay({})),vy("closed",Ay({width:"0px",height:"0px"})),ky("open <=> closed",[yy(".3s ease-in")])]),by("switchAnimations",[ky("true => false",[Cy(":enter, :leave",Ay({})),wy([Cy(":enter",[Ay({transform:"translateX(-100%)"}),yy("1s ease-in-out",Ay({transform:"translateX(0%)"}))],{optional:!0}),Cy(":leave",[Ay({transform:"translateX(0%)",position:"absolute"}),yy("1s ease-in-out",Ay({transform:"translateX(100%)"}))],{optional:!0})])]),ky("false => true",[Cy(":enter, :leave",Ay({})),wy([Cy(":enter",[Ay({transform:"translateX(100%)"}),yy("1s ease-in-out",Ay({transform:"translateX(0%)"}))],{optional:!0}),Cy(":leave",[Ay({transform:"translateX(0%)",position:"absolute"}),yy("1s ease-in-out",Ay({transform:"translateX(-100%)"}))],{optional:!0})])])]),by("slideInOutLeft",[ky(":enter",[Ay({transform:"translateX(-100%)",position:"relative"}),yy("0.5s ease-in",Ay({transform:"translateX(0%)"}))]),ky(":leave",[yy("0.5s ease-in",Ay({transform:"translateX(-100%)"}))])]),by("slideInOutRight",[ky(":enter",[Ay({transform:"translateX(100%)",position:"fixed"}),yy("0.5s ease-in",Ay({transform:"translateX(0%)"}))]),ky(":leave",[Ay({transform:"translateX(-100%)",position:"relative"}),yy("0.5s ease-in",Ay({transform:"translateX(100%)"}))])]),[[["caption"]]]),bT=["caption"];function yT(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=Nm(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const wT=new It("CDK_TABLE");let MT=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["","cdkCellDef",""]]}),t})(),AT=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),vT=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class TT{}const kT=yT(TT);let ST=(()=>{class t extends kT{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Nm(t),this._hasStickyChanged=e!==this._stickyEnd}}return t.\u0275fac=function(e){return new(e||t)(zo(wT,8))},t.\u0275dir=be({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,MT,!0),iu(i,AT,!0),iu(i,vT,!0)),2&t&&(Qc(n=su())&&(e.cell=n.first),Qc(n=su())&&(e.headerCell=n.first),Qc(n=su())&&(e.footerCell=n.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Na([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ho]}),t})();class CT{constructor(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}}let LT=(()=>{class t extends CT{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(zo(ST),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ho]}),t})(),ET=(()=>{class t extends CT{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(zo(ST),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[ho]}),t})(),zT=(()=>{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 OT?t.headerCell.template:this instanceof NT?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(zo(lc),zo(sc))},t.\u0275dir=be({type:t,features:[xe]}),t})();class xT extends zT{}const RT=yT(xT);let OT=(()=>{class t extends RT{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(lc),zo(sc),zo(wT,8))},t.\u0275dir=be({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[ho,xe]}),t})();class DT extends zT{}const PT=yT(DT);let NT=(()=>{class t extends PT{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(lc),zo(sc),zo(wT,8))},t.\u0275dir=be({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[ho,xe]}),t})(),IT=(()=>{class t extends zT{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(zo(lc),zo(sc),zo(wT,8))},t.\u0275dir=be({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[ho]}),t})(),BT=(()=>{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)(zo(dc))},t.\u0275dir=be({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),FT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({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:[BT],encapsulation:2}),t})(),HT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({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:[BT],encapsulation:2}),t})();const qT=["top","bottom","left","right"];class jT{constructor(t,e,i,n=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._isBrowser=n}clearStickyPositioning(t,e){for(const i of t)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,e);for(let t=0;tt)||i.some(t=>t);if(!t.length||!n||!this._isBrowser)return;const r=t[0],s=r.children.length,o=this._getCellWidths(r),a=this._getStickyStartColumnPositions(o,e),c=this._getStickyEndColumnPositions(o,i),u="rtl"===this.direction;for(const l of t)for(let t=0;t!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(t,e){for(const i of e)t.style[i]="";t.style.zIndex=this._getCalculatedZIndex(t),qT.some(e=>!!t.style[e])||(t.style.position="",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i){t.classList.add(this._stickCellCss),t.style[e]=i+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of qT)t.style[n]&&(i+=e[n]);return i?""+i:""}_getCellWidths(t){const e=[],i=t.children;for(let n=0;n0;r--)e[r]&&(i[r]=n,n+=t[r]);return i}}function YT(t){return Error(`Could not find column with id "${t}".`)}let WT=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(zo(dc),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","rowOutlet",""]]}),t})(),UT=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(zo(dc),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),KT=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(zo(dc),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),VT=(()=>{class t{constructor(t,e,i,n,r,s,o){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=r,this._platform=o,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._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new op({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){xn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(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=Nm(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),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._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Y_(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,i,n)=>{if(null==t.previousIndex)this._insertRow(t.item,n);else if(null==n)e.remove(i);else{const t=e.get(i);e.move(t,n)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}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}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._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),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 r=i&&i.has(n)?i.get(n):[];if(r.length){const t=r.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),XT(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: "${t.name}".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=XT(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=XT(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=XT(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Y_(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;if(Y_(this.dataSource)?t=this.dataSource.connect(this):r_(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=sd(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(f_(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(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw YT(t);return e}),n=i.map(t=>t.sticky),r=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,r)}_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)}if(!i.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return i}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,i,n={}){t.viewContainer.createEmbeddedView(e.template,n,i);for(let r of this._getCellTemplates(e))BT.mostRecentCellOutlet&&BT.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);if(!i)throw YT(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup"),e.appendChild(i.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_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.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new jT(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:sd()).pipe(f_(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}}return t.\u0275fac=function(e){return new(e||t)(zo(sc),zo(Ws),zo(Ha),xo("role"),zo(q_,8),zo(cl),zo(z_))},t.\u0275cmp=de({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,ST,!0),iu(i,IT,!0),iu(i,OT,!0),iu(i,NT,!0)),2&t&&(Qc(n=su())&&(e._contentColumnDefs=n),Qc(n=su())&&(e._contentRowDefs=n),Qc(n=su())&&(e._contentHeaderRowDefs=n),Qc(n=su())&&(e._contentFooterRowDefs=n))},viewQuery:function(t,e){var i;1&t&&(Zc(WT,!0),Zc(UT,!0),Zc(KT,!0)),2&t&&(Qc(i=su())&&(e._rowOutlet=i.first),Qc(i=su())&&(e._headerRowOutlet=i.first),Qc(i=su())&&(e._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[Na([{provide:wT,useExisting:t}])],ngContentSelectors:bT,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(Jo(_T),$o(0),Fo(1,0),Fo(2,1),Fo(3,2))},directives:[UT,WT,KT],encapsulation:2}),t})();function XT(t,e){return t.concat(Array.from(e))}let GT=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();const JT=[[["caption"]]],$T=["caption"];let QT=(()=>{class t extends VT{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return t.\u0275fac=function(e){return ZT(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[Na([{provide:VT,useExisting:t},{provide:wT,useExisting:t}]),ho],ngContentSelectors:$T,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(Jo(JT),$o(0),Fo(1,0),Fo(2,1),Fo(3,2))},directives:[UT,WT,KT],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,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-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,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-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,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-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,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),t})();const ZT=gn(QT);let tk=(()=>{class t extends MT{}return t.\u0275fac=function(e){return ek(e||t)},t.\u0275dir=be({type:t,selectors:[["","matCellDef",""]],features:[Na([{provide:MT,useExisting:t}]),ho]}),t})();const ek=gn(tk);let ik=(()=>{class t extends AT{}return t.\u0275fac=function(e){return nk(e||t)},t.\u0275dir=be({type:t,selectors:[["","matHeaderCellDef",""]],features:[Na([{provide:AT,useExisting:t}]),ho]}),t})();const nk=gn(ik);let rk=(()=>{class t extends ST{}return t.\u0275fac=function(e){return sk(e||t)},t.\u0275dir=be({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Na([{provide:ST,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ho]}),t})();const sk=gn(rk);let ok=(()=>{class t extends LT{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(zo(ST),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[ho]}),t})(),ak=(()=>{class t extends ET{constructor(t,e){super(t,e),e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName)}}return t.\u0275fac=function(e){return new(e||t)(zo(ST),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[ho]}),t})(),ck=(()=>{class t extends OT{}return t.\u0275fac=function(e){return uk(e||t)},t.\u0275dir=be({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Na([{provide:OT,useExisting:t}]),ho]}),t})();const uk=gn(ck);let lk=(()=>{class t extends IT{}return t.\u0275fac=function(e){return hk(e||t)},t.\u0275dir=be({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Na([{provide:IT,useExisting:t}]),ho]}),t})();const hk=gn(lk);let dk=(()=>{class t extends FT{}return t.\u0275fac=function(e){return pk(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Na([{provide:FT,useExisting:t}]),ho],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Fo(0,0)},directives:[BT],encapsulation:2}),t})();const pk=gn(dk);let fk=(()=>{class t extends HT{}return t.\u0275fac=function(e){return gk(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Na([{provide:HT,useExisting:t}]),ho],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Fo(0,0)},directives:[BT],encapsulation:2}),t})();const gk=gn(fk);let mk=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[GT,JM],JM]}),t})();class _k extends class{}{constructor(t=[]){super(),this._renderData=new op([]),this._filter=new op(""),this._internalPageChanges=new v,this._renderChangesSubscription=h.EMPTY,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(Bm(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 r=this.sortingDataAccessor(t,i),s=this.sortingDataAccessor(e,i),o=0;return null!=r&&null!=s?r>s?o=1:r{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 op(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}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(){const t=this._sort?U(this._sort.sortChange,this._sort.initialized):sd(null),e=this._paginator?U(this._paginator.page,this._internalPageChanges,this._paginator.initialized):sd(null),i=cp([this._data,this._filter]).pipe(P(([t])=>this._filterData(t))),n=cp([i,t]).pipe(P(([t])=>this._orderData(t))),r=cp([n,e]).pipe(P(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=r.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=this.filter?t.filter(t=>this.filterPredicate(t,this.filter)):t,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._renderData}disconnect(){}}const bk=["underline"],yk=["connectionContainer"],wk=["inputContainer"],Mk=["label"];function Ak(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 vk(t,e){1&t&&(Do(0,"div",19),$o(1,1),Po())}function Tk(t,e){if(1&t&&(Io(0),$o(1,2),Do(2,"span"),Aa(3),Po(),Bo()),2&t){const t=Xo(2);Ar(3),va(t._control.placeholder)}}function kk(t,e){1&t&&$o(0,3,["*ngSwitchCase","true"])}function Sk(t,e){1&t&&(Do(0,"span",23),Aa(1," *"),Po())}function Ck(t,e){if(1&t){const t=Ho();Do(0,"label",20,21),Yo("cdkObserveContent",(function(){return ii(t),Xo().updateOutlineGap()})),Lo(2,Tk,4,1,"ng-container",12),Lo(3,kk,1,0,"ng-content",12),Lo(4,Sk,2,0,"span",22),Po()}if(2&t){const t=Xo();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),Ro("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),ko("for",t._control.id)("aria-owns",t._control.id),Ar(2),Ro("ngSwitchCase",!1),Ar(1),Ro("ngSwitchCase",!0),Ar(1),Ro("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function Lk(t,e){1&t&&(Do(0,"div",24),$o(1,4),Po())}function Ek(t,e){if(1&t&&(Do(0,"div",25,26),No(2,"span",27),Po()),2&t){const t=Xo();Ar(2),ua("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function zk(t,e){1&t&&(Do(0,"div"),$o(1,5),Po()),2&t&&Ro("@transitionMessages",Xo()._subscriptAnimationState)}function xk(t,e){if(1&t&&(Do(0,"div",31),Aa(1),Po()),2&t){const t=Xo(2);Ro("id",t._hintLabelId),Ar(1),va(t.hintLabel)}}function Rk(t,e){if(1&t&&(Do(0,"div",28),Lo(1,xk,2,2,"div",29),$o(2,6),No(3,"div",30),$o(4,7),Po()),2&t){const t=Xo();Ro("@transitionMessages",t._subscriptAnimationState),Ar(1),Ro("ngIf",t.hintLabel)}}const Ok=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Dk=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Pk=0,Nk=(()=>{class t{constructor(){this.id="mat-error-"+Pk++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&ko("id",e.id)},inputs:{id:"id"}}),t})();const Ik={transitionMessages:by("transitionMessages",[vy("enter",Ay({opacity:1,transform:"translateY(0%)"})),ky("void => enter",[Ay({opacity:0,transform:"translateY(-100%)"}),yy("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Bk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t}),t})();function Fk(t){return Error(`A hint was already declared for 'align="${t}"'.`)}let Hk=0,qk=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+Hk++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(ko("id",e.id)("align",null),ua("mat-right","end"==e.align))},inputs:{align:"align",id:"id"}}),t})(),jk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-label"]]}),t})(),Yk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-placeholder"]]}),t})(),Wk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","matPrefix",""]]}),t})(),Uk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","matSuffix",""]]}),t})(),Kk=0;class Vk{constructor(t){this._elementRef=t}}const Xk=QM(Vk,"primary"),Gk=new It("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Jk=new It("MatFormField");let $k=(()=>{class t extends Xk{constructor(t,e,i,n,r,s,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new v,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Kk++,this._labelId="mat-form-field-label-"+Kk++,this._labelOptions=i||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.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=Nm(t)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _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}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}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(Dp(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(f_(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(f_(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(Dp(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Dp(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(f_(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._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(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,jm(this._label.nativeElement,"transitionend").pipe(zp(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let t,e;this._hintChildren.forEach(i=>{if("start"===i.align){if(t||this.hintLabel)throw Fk("start");t=i}else if("end"===i.align){if(e)throw Fk("end");e=i}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if("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=this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}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,r=n.querySelectorAll(".mat-form-field-outline-start"),s=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=n.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),o=this._getStartEnd(t.children[0].getBoundingClientRect());let a=0;for(const e of t.children)a+=e.offsetWidth;e=Math.abs(o-s)-5,i=a>0?.75*a+10:0}for(let o=0;o{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Ah,JM,Kb],JM]}),t})();const Zk=new It("NgValueAccessor"),tS={provide:Zk,useExisting:At(()=>eS),multi:!0};let eS=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(zo(Wa),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&Yo("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Na([tS])]}),t})();const iS={provide:Zk,useExisting:At(()=>rS),multi:!0},nS=new It("CompositionEventMode");let rS=(()=>{class t{constructor(t,e,i){this._renderer=t,this._elementRef=e,this._compositionMode=i,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=al()?al().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)(zo(Wa),zo(Ha),zo(nS,8))},t.\u0275dir=be({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&&Yo("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:[Na([iS])]}),t})(),sS=(()=>{class t{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}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=be({type:t}),t})(),oS=(()=>{class t extends sS{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return aS(e||t)},t.\u0275dir=be({type:t,features:[ho]}),t})();const aS=gn(oS);class cS extends sS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class uS{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let lS=(()=>{class t extends uS{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(cS,2))},t.\u0275dir=be({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&ua("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[ho]}),t})(),hS=(()=>{class t extends uS{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(oS,2))},t.\u0275dir=be({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&ua("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[ho]}),t})();function dS(t){return null==t||0===t.length}function pS(t){return null!=t&&"number"==typeof t.length}const fS=new It("NgValidators"),gS=new It("NgAsyncValidators"),mS=/^(?=.{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 _S{static min(t){return e=>{if(dS(e.value)||dS(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(dS(e.value)||dS(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}static required(t){return dS(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return dS(t.value)||mS.test(t.value)?null:{email:!0}}static minLength(t){return e=>dS(e.value)||!pS(e.value)?null:e.value.lengthpS(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return _S.nullValidator;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(dS(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(bS);return 0==e.length?null:function(t){return wS(MS(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(bS);return 0==e.length?null:function(t){return dv(MS(t,e).map(yS)).pipe(P(wS))}}}function bS(t){return null!=t}function yS(t){const e=qo(t)?F(t):t;return jo(e),e}function wS(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 MS(t,e){return e.map(e=>e(t))}function AS(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}const vS={provide:Zk,useExisting:At(()=>TS),multi:!0};let TS=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(zo(Wa),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&Yo("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Na([vS])]}),t})();const kS={provide:Zk,useExisting:At(()=>CS),multi:!0};let SS=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),CS=(()=>{class t{constructor(t,e,i,n){this._renderer=t,this._elementRef=e,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(cS),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(zo(Wa),zo(Ha),zo(SS),zo(ao))},t.\u0275dir=be({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&Yo("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Na([kS])]}),t})();const LS={provide:Zk,useExisting:At(()=>ES),multi:!0};let ES=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(zo(Wa),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&Yo("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Na([LS])]}),t})();const zS={provide:Zk,useExisting:At(()=>xS),multi:!0};let xS=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const i=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_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(e){return new(e||t)(zo(Wa),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&Yo("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Na([zS])]}),t})();const RS={provide:Zk,useExisting:At(()=>OS),multi:!0};let OS=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},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{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&PS(t,e)})}(t,e),function(t,e){t.registerOnChange((t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&PS(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function PS(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function NS(t,e){t.validator=_S.compose([t.validator,e.validator]),t.asyncValidator=_S.composeAsync([t.asyncValidator,e.asyncValidator])}function IS(t){return null!=t?_S.compose(AS(t)):null}function BS(t){return null!=t?_S.composeAsync(AS(t)):null}function FS(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}const HS=[eS,ES,TS,xS,OS,CS];function qS(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function jS(t,e){if(!e)return null;Array.isArray(e);let i=void 0,n=void 0,r=void 0;return e.forEach(t=>{var e;t.constructor===rS?i=t:(e=t,HS.some(t=>e.constructor===t)?n=t:r=t)}),r||n||i||null}function YS(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function WS(t){return(XS(t)?t.validators:t)||null}function US(t){return Array.isArray(t)?IS(t):t||null}function KS(t,e){return(XS(e)?e.asyncValidators:t)||null}function VS(t){return Array.isArray(t)?BS(t):t||null}function XS(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class GS{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=US(this._rawValidators),this._composedAsyncValidatorFn=VS(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=US(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=VS(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=yS(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 $S?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof QS&&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 qc,this.statusChanges=new qc}_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){XS(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class JS extends GS{constructor(t=null,e,i){super(WS(e),KS(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}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)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(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 $S extends GS{constructor(t,e,i){super(WS(e),KS(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}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){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),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={}){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 JS?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=>t(this.controls[e],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 QS extends GS{constructor(t,e,i){super(WS(e),KS(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),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={}){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 JS?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_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 ZS={provide:oS,useExisting:At(()=>eC)},tC=(()=>Promise.resolve(null))();let eC=(()=>{class t extends oS{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new qc,this.form=new $S({},IS(t),BS(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){tC.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){tC.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),YS(this._directives,t)})}addFormGroup(t){tC.then(()=>{const e=this._findContainer(t.path),i=new $S({});NS(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){tC.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){tC.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,qS(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)(zo(fS,10),zo(gS,10))},t.\u0275dir=be({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&Yo("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Na([ZS]),ho]}),t})();const iC={provide:cS,useExisting:At(()=>rC)},nC=(()=>Promise.resolve(null))();let rC=(()=>{class t extends cS{constructor(t,e,i,n){super(),this.control=new JS,this._registered=!1,this.update=new qc,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=i||[],this.valueAccessor=jS(0,n)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),FS(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}get validator(){return IS(this._rawValidators)}get asyncValidator(){return BS(this._rawAsyncValidators)}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){nC.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;nC.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(zo(oS,9),zo(fS,10),zo(gS,10),zo(Zk,10))},t.\u0275dir=be({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:[Na([iC]),ho,xe]}),t})(),sC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const oC=new It("NgModelWithFormControlWarning"),aC={provide:cS,useExisting:At(()=>cC)};let cC=(()=>{class t extends cS{constructor(t,e,i,n){super(),this._ngModelWarningConfig=n,this.update=new qc,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=jS(0,i)}set isDisabled(t){}ngOnChanges(e){var i,n;this._isControlChanged(e)&&(DS(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),FS(e,this.viewModel)&&(i=t,this,n=this._ngModelWarningConfig,xn()&&"never"!==n&&((null!==n&&"once"!==n||i._ngModelWarningSentOnce)&&("always"!==n||this._ngModelWarningSent)||(i._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return IS(this._rawValidators)}get asyncValidator(){return BS(this._rawAsyncValidators)}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)(zo(fS,10),zo(gS,10),zo(Zk,10),zo(oC,8))},t.\u0275dir=be({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Na([aC]),ho,xe]}),t._ngModelWarningSentOnce=!1,t})();const uC={provide:oS,useExisting:At(()=>lC)};let lC=(()=>{class t extends oS{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new qc}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}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){YS(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);NS(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);NS(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(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,qS(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=this.form.get(t.path);t.control!==e&&(function(t,e){const i=()=>{};e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&DS(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=IS(this._validators);this.form.validator=_S.compose([this.form.validator,t]);const e=BS(this._asyncValidators);this.form.asyncValidator=_S.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(zo(fS,10),zo(gS,10))},t.\u0275dir=be({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Yo("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Na([uC]),ho,xe]}),t})();const hC={provide:fS,useExisting:At(()=>dC),multi:!0};let dC=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?_S.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({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&&ko("required",e.required?"":null)},inputs:{required:"required"},features:[Na([hC])]}),t})(),pC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})(),fC=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n=null,r=null,s=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(n=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(n=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new $S(i,{asyncValidators:r,updateOn:s,validators:n})}control(t,e,i){return new JS(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new QS(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 JS||t instanceof $S||t instanceof QS?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=ut({token:t,factory:t.\u0275fac}),t})(),gC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[SS],imports:[pC]}),t})(),mC=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:oC,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[fC,SS],imports:[pC]}),t})();const _C=I_({passive:!0});let bC=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return dp;const e=qm(t),i=this._monitoredElements.get(e);if(i)return i.subject.asObservable();const n=new v,r="cdk-text-field-autofilled",s=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",s,_C),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",s,_C)}}),n.asObservable()}stopMonitoring(t){const e=qm(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)(Vt(z_),Vt(xu))},t.\u0275prov=ut({factory:function(){return new t(Vt(z_),Vt(xu))},token:t,providedIn:"root"}),t})(),yC=(()=>{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._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=Im(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Im(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Nm(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_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(()=>{jm(this._getWindow(),"resize").pipe(p_(16),f_(this._destroyed)).subscribe(()=>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()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=e.placeholder;e.classList.add(this._measuringClass),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove(this._measuringClass),e.placeholder=n,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)(zo(Ha),zo(z_),zo(xu),zo(cl,8))},t.\u0275dir=be({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&Yo("input",(function(){return e._noopInputHandler()}))},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t})(),wC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[x_]]}),t})();const MC=new It("MAT_INPUT_VALUE_ACCESSOR"),AC=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let vC=0;class TC{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const kC=eA(TC);let SC=(()=>{class t extends kC{constructor(t,e,i,n,r,s,o,a,c){super(s,n,r,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=a,this._uid="mat-input-"+vC++,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=>O_().has(t));const u=this._elementRef.nativeElement,l=u.nodeName.toLowerCase();this._inputValueAccessor=o||u,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&c.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===l,this._isTextarea="textarea"===l,this._isNativeSelect&&(this.controlType=u.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=Nm(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=Nm(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&O_().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=Nm(t)}ngOnInit(){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()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){if(AC.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_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){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(z_),zo(cS,10),zo(eC,8),zo(lC,8),zo(pA),zo(MC,10),zo(bC),zo(xu))},t.\u0275dir=be({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&Yo("focus",(function(){return e._focusChanged(!0)}))("blur",(function(){return e._focusChanged(!1)}))("input",(function(){return e._onInput()})),2&t&&(Ca("disabled",e.disabled)("required",e.required),ko("id",e.id)("placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),ua("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Na([{provide:Bk,useExisting:t}]),ho,xe]}),t})(),CC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[pA],imports:[[wC,Qk],wC,Qk]}),t})();function LC(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=Xo();ca("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),ko("r",t._circleRadius)}}function EC(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=Xo();ca("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),ko("r",t._circleRadius)}}function zC(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=Xo();ca("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),ko("r",t._circleRadius)}}function xC(t,e){if(1&t&&(Li(),No(0,"circle",3)),2&t){const t=Xo();ca("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),ko("r",t._circleRadius)}}const RC=".mat-progress-spinner{display:block;position:relative}.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}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{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]{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]{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 OC{constructor(t){this._elementRef=t}}const DC=QM(OC,"primary"),PC=new It("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let NC=(()=>{class t extends DC{constructor(e,i,n,r,s){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;o.has(n.head)||o.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Im(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Im(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Im(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=F_(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let r=n.get(e);if(!r||!r.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",i+""),t.textContent=this._getAnimationText(),e.appendChild(t),r||(r=new Set,n.set(e,r)),r.add(i)}}_getAnimationText(){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*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(z_),zo(cl,8),zo(FM,8),zo(PC))},t.\u0275cmp=de({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(ko("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:[ho],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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&&(Li(),Do(0,"svg",0),Lo(1,LC,1,9,"circle",1),Lo(2,EC,1,7,"circle",2),Po()),2&t&&(ca("width",e.diameter,"px")("height",e.diameter,"px"),Ro("ngSwitch","indeterminate"===e.mode),ko("viewBox",e._viewBox),Ar(1),Ro("ngSwitchCase",!0),Ar(1),Ro("ngSwitchCase",!1))},directives:[hh,dh],styles:[RC],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),IC=(()=>{class t extends NC{constructor(t,e,i,n,r){super(t,e,i,n,r),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(z_),zo(cl,8),zo(FM,8),zo(PC))},t.\u0275cmp=de({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:[ho],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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&&(Li(),Do(0,"svg",0),Lo(1,zC,1,9,"circle",1),Lo(2,xC,1,7,"circle",2),Po()),2&t&&(ca("width",e.diameter,"px")("height",e.diameter,"px"),Ro("ngSwitch","indeterminate"===e.mode),ko("viewBox",e._viewBox),Ar(1),Ro("ngSwitchCase",!0),Ar(1),Ro("ngSwitchCase",!1))},directives:[hh,dh],styles:[RC],encapsulation:2,changeDetection:0}),t})(),BC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM,Ah],JM]}),t})(),FC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[kA,JM],JM]}),t})(),HC=(()=>{class t{constructor(){this.changes=new v,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 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=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const qC={provide:new It("mat-datepicker-scroll-strategy"),deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let jC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[HC,qC],imports:[[Ah,jv,nv,Bb,gy,sb],G_]}),t})();class YC{constructor(t,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),n=i.style;n.opacity="0",n.position="absolute",n.left=n.top="-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(xH){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let WC=(()=>{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 YC(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(cl))},token:t,providedIn:"root"}),t})();const UC=new It("CKD_COPY_TO_CLIPBOARD_CONFIG");let KC=(()=>{class t{constructor(t,e,i){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new qc,this._deprecatedCopied=this.copied,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?this._ngZone.runOutsideAngular(()=>setTimeout(n,1)):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)(zo(WC),zo(xu),zo(UC,8))},t.\u0275dir=be({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&Yo("click",(function(){return e.copy()}))},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied",_deprecatedCopied:"copied"}}),t})(),VC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})(),XC=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),GC=(()=>{class t{transform(t,e){return"virt"===t.namespace.split(":")[4]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"isVirtualAttribute",type:t,pure:!0}),t})(),JC=(()=>{class t{transform(t,e){let i="";return null!==t.titleBefore&&(i+=t.titleBefore+" "),null!==t.firstName&&(i+=t.firstName+" "),null!==t.middleName&&(i+=t.middleName+" "),null!==t.lastName&&(i+=t.lastName+" "),null!==t.titleAfter&&(i+=t.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"userFullName",type:t,pure:!0}),t})(),$C=(()=>{class t{constructor(t,e){this.translate=t,this.storage=e}transform(t,e){const i=this.storage.get("custom_labels");if(i){const e=Object.keys(i);for(const i of e){const e=this.storage.get("custom_labels",i);if(e.label===t)return"en"===this.translate.currentLang?e.en:e.cz}}return t}}return t.\u0275fac=function(e){return new(e||t)(zo(Ov),zo(Pm))},t.\u0275pipe=ye({name:"customTranslate",type:t,pure:!0}),t})(),QC=(()=>{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=ye({name:"getResourceRoute",type:t,pure:!0}),t})(),ZC=(()=>{class t{transform(t,e){return t&&"never"!==t.toLowerCase()?Wl(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"parseDate",type:t,pure:!0}),t})(),tL=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[cT,Ah]]}),t})(),eL=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),iL=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[dy,eL]}),t})(),nL=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[iL,JM],JM]}),t})();var rL=i("9RND");function sL(t,e){1&t&&No(0,"mat-spinner",7)}function oL(t,e){1&t&&(Do(0,"mat-error"),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function aL(t,e){1&t&&(Do(0,"mat-error"),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function cL(t,e){if(1&t){const t=Ho();Do(0,"div",8),Do(1,"mat-form-field"),Do(2,"mat-label"),Aa(3),Nc(4,"translate"),Po(),Do(5,"input",9,10),Yo("ngModelChange",(function(e){return ii(t),Xo().subject=e})),Po(),Lo(7,oL,3,3,"mat-error",11),Po(),Do(8,"mat-form-field"),Do(9,"mat-label"),Aa(10),Nc(11,"translate"),Po(),Do(12,"textarea",12,13),Yo("ngModelChange",(function(e){return ii(t),Xo().message=e})),Nc(14,"translate"),Aa(15," "),Po(),Lo(16,aL,3,3,"mat-error",11),Po(),Po()}if(2&t){const t=Eo(6),e=Eo(13),i=Xo();Ar(3),va(Ic(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),Ar(2),Ro("ngModel",i.subject),Ar(2),Ro("ngIf",t.invalid),Ar(3),va(Ic(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),Ar(2),Qo("placeholder",Ic(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),Ro("ngModel",i.message),Ar(4),Ro("ngIf",e.invalid)}}let uL=(()=>{class t{constructor(t,e,i,n,r,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=r,this.storeService=s,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()},t=>{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;return 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.call+"\n\n"),this.data.error.payload&&(e=e.concat("Payload:\n"+this.data.error.payload+"\n\n")),e=e.concat("Sended from new Perun Gui, version: "+rL.a),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(zo(VA),zo(Ov),zo(lT),zo(Gd),zo(XA),zo(Pm))},t.\u0275cmp=de({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),Nc(2,"translate"),Po(),Lo(3,sL,1,0,"mat-spinner",1),Lo(4,cL,17,13,"div",2),Do(5,"div",3),Do(6,"div",4),Do(7,"button",5),Yo("click",(function(){return e.dialogRef.close()})),Aa(8),Nc(9,"translate"),Po(),Do(10,"button",6),Yo("click",(function(){return e.sendBugReport()})),Aa(11),Nc(12,"translate"),Po(),Po(),Po()),2&t&&(Ar(1),va(Ic(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),Ar(2),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading),Ar(4),Ta(" ",Ic(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),Ar(2),Ro("disabled",""===e.message||""===e.subject||e.loading),Ar(1),Ta(" ",Ic(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[tv,ah,iv,qv,IC,ev,$k,jk,SC,rS,dC,lS,rC,Nk],pipes:[Dv],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),lL=(()=>{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=ov();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(uL,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(zo(VA),zo(QA),zo(XA))},t.\u0275cmp=de({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),Yo("click",(function(){return e.onBugReportClick()})),Aa(7),Nc(8,"translate"),Po(),Do(9,"button",5),Yo("click",(function(){return e.onCloseClick()})),Aa(10),Nc(11,"translate"),Po(),Po(),Po()),2&t&&(Ar(1),va(e.data.title),Ar(2),Ta("\n",e.data.description,"\n"),Ar(3),Ro("hidden","error"!==e.data.type),Ar(1),Ta(" ",Ic(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),Ar(3),Ta(" ",Ic(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[tv,ev,iv,qv],pipes:[Dv],styles:[""]}),t})();function hL(t,e){1&t&&No(0,"mat-spinner",3)}function dL(t,e){1&t&&No(0,"th",15)}function pL(t,e){if(1&t&&(Do(0,"td",16),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),Ta(" ",t.userExtSource.extSource.name," ")}}function fL(t,e){1&t&&No(0,"tr",17)}function gL(t,e){1&t&&No(0,"tr",18)}function mL(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"div",4),Do(2,"p"),Aa(3),Nc(4,"translate"),Nc(5,"customTranslate"),Po(),Do(6,"div",5),Aa(7),Nc(8,"translate"),Nc(9,"customTranslate"),Po(),Do(10,"table",6),Io(11,7),Lo(12,dL,1,0,"th",8),Lo(13,pL,2,1,"td",9),Bo(),Lo(14,fL,1,0,"tr",10),Lo(15,gL,1,0,"tr",11),Po(),Po(),Do(16,"div",12),Do(17,"button",13),Yo("click",(function(){return ii(t),Xo().onCancel()})),Aa(18),Nc(19,"translate"),Nc(20,"customTranslate"),Po(),Do(21,"button",14),Yo("click",(function(){return ii(t),Xo().onSubmit()})),Aa(22),Nc(23,"translate"),Nc(24,"customTranslate"),Po(),Po(),Po()}if(2&t){const t=Xo();Ar(3),Ta(" ",Ic(4,7,Ic(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),Ar(4),Ta(" ",Ic(8,11,Ic(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),Ar(3),Ro("dataSource",t.dataSource),Ar(4),Ro("matHeaderRowDef",t.displayedColumns),Ar(1),Ro("matRowDefColumns",t.displayedColumns),Ar(3),Ta(" ",Ic(19,15,Ic(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),Ar(4),Ta(" ",Ic(23,19,Ic(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let _L=(()=>{class t{constructor(t,e,i,n,r){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.translate=n,this.notificator=r,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 _k(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)(zo(VA),zo(XA),zo(Qd),zo(Ov),zo(lT))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div"),Lo(5,hL,1,0,"mat-spinner",1),Lo(6,mL,25,23,"div",2),Po()),2&t&&(Ar(1),va(Ic(2,6,Ic(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),Ar(3),la(e.theme),Ar(1),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading))},directives:[tv,ah,IC,ev,QT,rk,ik,tk,ck,lk,iv,qv,ok,ak,dk,fk],pipes:[Dv,$C],styles:[""]}),t})(),bL=(()=>{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)(zo(VA),zo(XA))},t.\u0275cmp=de({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),Yo("click",(function(){return e.onCancel()})),Aa(7),Nc(8,"translate"),Po(),Do(9,"button",5),Aa(10),Nc(11,"translate"),Po(),Po()),2&t&&(Ar(1),va(e.title),Ar(3),va(e.value),Ar(3),Ta(" ",Ic(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),Ar(2),Ro("cdkCopyToClipboard",e.value),Ar(1),Ta(" ",Ic(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[tv,ev,yC,SC,iv,qv,KC],pipes:[Dv],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t})(),yL=(()=>{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)(zo(VA),zo(XA))},t.\u0275cmp=de({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),Nc(2,"translate"),Po(),Do(3,"div",1),Do(4,"mat-form-field"),Do(5,"textarea",2),Yo("ngModelChange",(function(t){return e.attributeValue=t})),Po(),Po(),Po(),Do(6,"div",3),Do(7,"button",4),Yo("click",(function(){return e.cancel()})),Aa(8),Nc(9,"translate"),Po(),Do(10,"button",5),Yo("click",(function(){return e.submit()})),Aa(11),Nc(12,"translate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),Ar(4),Ro("ngModel",e.attributeValue),Ar(3),Ta(" ",Ic(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),Ar(3),Ta(" ",Ic(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[tv,ev,$k,yC,SC,rS,lS,rC,iv,qv],pipes:[Dv],styles:[""]}),t})(),wL=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(zo(VA),zo(XA))},t.\u0275cmp=de({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),Nc(2,"translate"),Po(),Do(3,"div",1),Do(4,"div"),Aa(5),Nc(6,"translate"),Po(),Do(7,"div",2),Aa(8),Po(),Po(),Do(9,"div",3),Do(10,"button",4),Yo("click",(function(){return e.cancel()})),Aa(11),Nc(12,"translate"),Po(),Do(13,"button",5),Yo("click",(function(){return e.submit()})),Aa(14),Nc(15,"translate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),Ar(4),Ta(" ",Ic(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),Ar(3),Ta(" ",e.data.name," "),Ar(3),Ta(" ",Ic(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),Ar(3),Ta(" ",Ic(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[tv,ev,iv,qv],pipes:[Dv],styles:[""]}),t})();function ML(t,e){1&t&&(Do(0,"mat-icon",2),Aa(1," error "),Po())}const AL=["*"];let vL=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:AL,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,ML,2,0,"mat-icon",1),$o(2),Po()),2&t&&(ua("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),Ar(1),Ro("ngIf","error"!==e.alert_type))},directives:[ah,aT],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 TL(t,e){if(1&t&&(Do(0,"app-alert",9),Aa(1),Po()),2&t){const t=Xo();Ar(1),va(t.pendingEmailsMessage)}}function kL(t,e){1&t&&(Do(0,"mat-error"),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let SL=(()=>{class t{constructor(t,e,i,n,r,s){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.usersManagerService=r,this.authService=s,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 JS(null,[_S.required,_S.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)(zo(VA),zo(XA),zo(Ov),zo(lT),zo(Qd),zo(Wv))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,TL,2,1,"app-alert",2),Do(6,"mat-form-field",3),Do(7,"label",3),No(8,"input",4),Nc(9,"translate"),Nc(10,"customTranslate"),Po(),Lo(11,kL,4,5,"mat-error",5),Po(),Po(),Do(12,"div",6),Do(13,"button",7),Yo("click",(function(){return e.onCancel()})),Aa(14),Nc(15,"translate"),Nc(16,"customTranslate"),Po(),Do(17,"button",8),Yo("click",(function(){return e.onSubmit()})),Aa(18),Nc(19,"translate"),Nc(20,"customTranslate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,8,Ic(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),Ar(4),Ro("ngIf",e.pendingMails.length),Ar(3),Qo("placeholder",Ic(9,12,Ic(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),Ro("formControl",e.emailControl),Ar(3),Ro("ngIf",e.emailControl.invalid),Ar(3),Ta(" ",Ic(15,16,Ic(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),Ar(3),Ro("disabled",!e.emailControl.valid),Ar(1),Ta(" ",Ic(19,20,Ic(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[tv,ev,ah,$k,SC,rS,dC,lS,cC,iv,qv,vL,Nk],pipes:[Dv,$C],styles:[""]}),t})(),CL=(()=>{class t{constructor(t,e){this.dialogRef=t,this.router=e}ngOnInit(){}onClose(){this.router.navigate([]),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(zo(VA),zo(hm))},t.\u0275cmp=de({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),Nc(2,"translate"),Po(),Do(3,"div",1),Do(4,"app-alert",2),Aa(5),Nc(6,"translate"),Po(),Po(),Do(7,"div",3),Do(8,"button",4),Yo("click",(function(){return e.onClose()})),Aa(9),Nc(10,"translate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),Ar(4),va(Ic(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),Ar(4),Ta(" ",Ic(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[tv,ev,vL,iv,qv],pipes:[Dv],styles:[""]}),t})();function LL(t,e){if(1&t&&(Do(0,"div",5),Do(1,"mat-icon"),Aa(2),Po(),Po()),2&t){const t=Xo();Ar(2),va(t.data.icon)}}function EL(t,e){if(1&t&&(Do(0,"div",6),Aa(1),Po()),2&t){const t=Xo();Ar(1),Ta(" ",t.showTimestamp()," ")}}let zL=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new qc,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=ov();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(lL,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,r=function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()},new((n=void 0)||(n=Promise))((function(t,e){function s(t){try{a(r.next(t))}catch(i){e(i)}}function o(t){try{a(r.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(s,o)}a((r=r.apply(i,[])).next())}));var i,n,r}(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)(zo(QA),zo(pT))},t.\u0275cmp=de({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),Yo("click",(function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()})),Lo(2,LL,3,1,"div",1),Do(3,"div",2),Aa(4),Nc(5,"translate"),Po(),Lo(6,EL,2,1,"div",3),Do(7,"div",4),Yo("click",(function(){return e.waiting=!0,e.doAction()})),Aa(8),Po(),Po(),Po()),2&t&&(Sa("notification ",e.inDialog?"":"mat-elevation-z7",""),ua("error","error"===e.data.type)("success","success"===e.data.type),Ar(2),Ro("ngIf",null!==e.data.icon),Ar(2),Ta(" ",Ic(5,12,e.data.title)," "),Ar(2),Ro("ngIf",e.inDialog),Ar(1),Ro("hidden",e.alreadyPressed),Ar(1),Ta(" ",e.data.actionText," "))},directives:[ah,aT],pipes:[Dv],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 xL(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"perun-web-apps-notification",2),Yo("closeNotification",(function(){ii(t);const i=e.index;return Xo().removeNotification(i)})),Po(),Po()}if(2&t){const t=e.$implicit;Ro("@flyInOut",void 0),Ar(1),Ro("data",t)("newNotification",!0)}}const RL=function(t){return{top:t}};let OL=(()=>{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)(zo(lT),zo(pT))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&Yo("resize",(function(t){return e.getScreenSize(t)}),!1,Xi)},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,xL,2,3,"div",1),Po()),2&t&&(Ro("ngStyle",xc(2,RL,e.getNotificatorTop())),Ar(1),Ro("ngForOf",e.notifications))},directives:[fh,sh,zL],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:[mT]}}),t})();const DL=["*",[["mat-toolbar-row"]]],PL=["*","mat-toolbar-row"];class NL{constructor(t){this._elementRef=t}}const IL=QM(NL);let BL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),FL=(()=>{class t extends IL{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){xn()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(z_),zo(cl))},t.\u0275cmp=de({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){var n;1&t&&iu(i,BL,!0),2&t&&Qc(n=su())&&(e._toolbarRows=n)},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:[ho],ngContentSelectors:PL,decls:2,vars:0,template:function(t,e){1&t&&(Jo(DL),$o(0),$o(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%}.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}}\n"],encapsulation:2,changeDetection:0}),t})(),HL=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM],JM]}),t})();const qL={provide:_u,useFactory:function(t,e){return()=>{if(vh(e)){const e=Array.from(t.querySelectorAll(`[class*=${jL}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(jL+"ssr")&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(i,"")})}}},deps:[cl,mu],multi:!0},jL="flex-layout-";let YL=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[qL]}),t})();class WL{constructor(t=!1,e="all",i="",n="",r=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=n,this.priority=r,this.property=""}clone(){return new WL(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let UL=(()=>{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=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const KL={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},VL=new It("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>KL}),XL=new It("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),GL=new It("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function JL(t,e){return t=t?t.clone():new WL,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const $L=["row","column","row-reverse","column-reverse"];function QL(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 ZL=(()=>{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 r=this.styleCache.get(t);r&&n||(r=i.buildStyles(t,e),n&&this.styleCache.set(t,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),i.sideEffect(t,r,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 $L.find(t=>t===e)||(e=$L[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[e,QL(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=be({type:t,features:[xe]}),t})();const tE=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{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}],eE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",iE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",nE="(orientation: portrait) and (min-width: 840px)",rE="(orientation: landscape) and (min-width: 1280px)",sE={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:`${eE} , ${iE}`,WEB:`${nE}, ${rE} `,HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:eE+" ",WEB_PORTRAIT:""+nE,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)",TABLET_LANDSCAPE:""+iE,WEB_LANDSCAPE:""+rE},oE=[{alias:"handset",priority:2e3,mediaQuery:sE.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:sE.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:sE.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:sE.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:sE.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:sE.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:sE.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:sE.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:sE.WEB_PORTRAIT,overlapping:!0}],aE=/(\.|-|_)/g;function cE(t){let e=t.length>0?t.charAt(0):"",i=t.length>1?t.slice(1):"";return e.toUpperCase()+i}const uE=new It("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Xt(GL),e=Xt(VL),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(aE,"|").split("|").map(cE).join(""),t.overlapping=!!t.overlapping)}),n;var n}((e.disableDefaultBps?[]:tE).concat(e.addOrientationBps?oE:[]),i)}});function lE(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function hE(t,e){return(t.priority||0)-(e.priority||0)}let dE=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(hE)}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)(Vt(uE))},t.\u0275prov=ut({factory:function(){return new t(Vt(uE))},token:t,providedIn:"root"}),t})(),pE=(()=>{class t{constructor(t,e,i){this._zone=t,this._platformId=e,this._document=i,this.source=new op(new WL(!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(ad(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=>!fE[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=>fE[t]=n)}catch(n){console.error(n)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new WL(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 WL(!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,vh(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(Vt(xu),Vt(mu),Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(xu),Vt(mu),Vt(cl))},token:t,providedIn:"root"}),t})();const fE={},gE={alias:"print",mediaQuery:"print",priority:1e3};let mE=(()=>{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 _E,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(lE)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),JL(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 WL(!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(lE))}}ngOnDestroy(){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)(Vt(dE),Vt(VL),Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(dE),Vt(VL),Vt(cl))},token:t,providedIn:"root"}),t})();class _E{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(gE),t.sort(lE),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 bE(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 yE=(()=>{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:bE(e),this._applyMultiValueStyleToElement(n,t)}applyStyleToElements(t,e=[]){const i=this.layoutConfig.disableVendorPrefixes?t:bE(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")||Th(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 vh(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,i=!1){let n="";return t&&((n=this.lookupInlineStyle(t,e))||(vh(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],r=Array.isArray(n)?n:[n];r.sort();for(let t of r)t=t?t+"":"",vh(this._platformId)||!this._serverModuleLoaded?vh(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)(Vt(UL),Vt(XL),Vt(mu),Vt(VL))},t.\u0275prov=ut({factory:function(){return new t(Vt(UL),Vt(XL),Vt(mu),Vt(VL))},token:t,providedIn:"root"}),t})();class wE{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let ME=(()=>{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=JL(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(lE),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(lE),this.updateStyles()))}init(t,e,i,n,r=[]){AE(this.updateMap,t,e,i),AE(this.clearMap,t,e,n),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,r)}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 r=this.elementMap.get(t);if(r){const s=(r.get(n)||new Map).set(e,i);r.set(n,s),this.elementMap.set(t,r)}else r=(new Map).set(n,(new Map).set(e,i)),this.elementMap.set(t,r);const s=this.getValue(t,e);void 0!==s&&this.updateElement(t,e,s)}trackValue(t,e){return this.subject.asObservable().pipe(ad(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 r=n.get(e);r&&(r(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 r=U(...i).subscribe(()=>{const i=this.getValue(t,e);this.updateElement(t,e,i)});n.set(e,r)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let n=0;nt.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(jp(this.hook.interceptEvents(this)),ad(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(Vt(pE),Vt(dE),Vt(mE))},t.\u0275prov=ut({factory:function(){return new t(Vt(pE),Vt(dE),Vt(mE))},token:t,providedIn:"root"}),t})();function AE(t,e,i,n){if(void 0!==n){let r=t.get(e);r||(r=new Map,t.set(e,r)),r.set(i,n)}}class vE{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 TE(t){let e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function kE(t){const[e,...i]=t.split(":");return new vE(e,i.join(":"))}function SE(t,e){return e.key&&(t[e.key]=e.value),t}let CE=(()=>{class t extends ZL{constructor(t,e,i,n,r,s,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,r,s)),this.init();const u=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(u),this.isServer=a&&Th(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(er.STYLE,t)||"";if(t)switch(TE(t)){case"string":return xE(function(t,e=";"){return String(t).trim().split(e).map(t=>t.trim()).filter(t=>""!==t)}(t),e);case"array":return xE(t,e);case"set":default:return function(t,e){let i=[];return"set"===TE(t)?t.forEach(t=>i.push(t)):Object.keys(t).forEach(e=>{i.push(`${e}:${t[e]}`)}),function(t,e){return t.map(kE).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(SE,{})}(i,e)}(t,e)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(yE),zo(ME),zo(Zh),zo(oc),zo(Wa),zo(fh,10),zo(XL),zo(mu))},t.\u0275dir=be({type:t,features:[ho]}),t})();const LE=["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 EE=(()=>{class t extends CE{constructor(){super(...arguments),this.inputs=LE}}return t.\u0275fac=function(e){return zE(e||t)},t.\u0275dir=be({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:[ho]}),t})();const zE=gn(EE);function xE(t,e){return t.map(kE).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(SE,{})}let RE=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[YL]]}),t})();const OE=function(t){return{color:t}};function DE(t,e){if(1&t){const t=Ho();Do(0,"button",4),Yo("click",(function(){return ii(t),Xo().onToggleSidenav()})),Do(1,"mat-icon"),Aa(2,"menu"),Po(),Po()}if(2&t){const t=Xo();Ro("ngStyle",xc(1,OE,t.iconColor))}}const PE=function(t){return{background:t}},NE=function(){return[]},IE=function(){return["/"]};let BE=(()=>{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.sidenavToggle=new qc,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","header_bg_color"),this.textColor=this.storeService.get("theme","header_text_color"),this.iconColor=this.storeService.get("theme","header_icon_color"),this.label=this.storeService.get("header_label"),this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Zh))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:5,vars:12,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",3,"ngStyle"],["mat-icon-button","",3,"ngStyle","click"]],template:function(t,e){1&t&&(Do(0,"mat-toolbar",0),Lo(1,DE,3,3,"button",1),No(2,"a",2),Do(3,"p",3),Aa(4),Po(),Po()),2&t&&(Ro("ngStyle",xc(6,PE,e.bgColor)),Ar(1),Ro("ngIf",!e.hideToggle),Ar(1),Ro("innerHTML",e.logo,ir)("routerLink",e.disableLogo?zc(8,NE):zc(9,IE)),Ar(1),Ro("ngStyle",xc(10,OE,e.textColor)),Ar(1),va(e.label))},directives:[FL,fh,EE,ah,pm,qv,aT],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important}"]}),t})();const FE=["*"];function HE(t,e){if(1&t){const t=Ho();Do(0,"div",2),Yo("click",(function(){return ii(t),Xo()._onBackdropClicked()})),Po()}2&t&&ua("mat-drawer-shown",Xo()._isShowingBackdrop())}function qE(t,e){1&t&&(Do(0,"mat-drawer-content"),$o(1,2),Po())}const jE=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],YE=["mat-drawer","mat-drawer-content","*"];function WE(t,e){if(1&t){const t=Ho();Do(0,"div",2),Yo("click",(function(){return ii(t),Xo()._onBackdropClicked()})),Po()}2&t&&ua("mat-drawer-shown",Xo()._isShowingBackdrop())}function UE(t,e){1&t&&(Do(0,"mat-sidenav-content",3),$o(1,2),Po())}const KE=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],VE=["mat-sidenav","mat-sidenav-content","*"],XE=".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",GE={transformDrawer:by("transform",[vy("open, open-instant",Ay({transform:"none",visibility:"visible"})),vy("void",Ay({"box-shadow":"none",visibility:"hidden"})),ky("void => open-instant",yy("0ms")),ky("void <=> open, open-instant => void",yy("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function JE(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const $E=new It("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),QE=new It("MAT_DRAWER_CONTAINER");let ZE=(()=>{class t extends V_{constructor(t,e,i,n,r){super(i,n,r),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(zo(Ws),zo(At(()=>ez)),zo(Ha),zo(K_),zo(xu))},t.\u0275cmp=de({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:[ho],ngContentSelectors:FE,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),$o(0))},encapsulation:2,changeDetection:0}),t})(),tz=(()=>{class t{constructor(t,e,i,n,r,s,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=r,this._doc=s,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 qc(!0),this._destroyed=new v,this.onPositionChanged=new qc,this._modeChanged=new v,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{jm(this._elementRef.nativeElement,"keydown").pipe(ad(t=>27===t.keyCode&&!this.disableClose&&!ob(t)),f_(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(s_((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=Nm(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Nm(t)}get opened(){return this._opened}set opened(t){this.toggle(Nm(t))}get _openedStream(){return this.openedChange.pipe(ad(t=>t),P(()=>{}))}get openedStart(){return this._animationStarted.pipe(ad(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),P(()=>{}))}get _closedStream(){return this.openedChange.pipe(ad(t=>!t),P(()=>{}))}get closedStart(){return this._animationStarted.pipe(ad(t=>t.fromState!==t.toState&&"void"===t.toState),P(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}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)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(zp(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){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)(zo(Ha),zo(sy),zo(dy),zo(z_),zo(xu),zo(cl,8),zo(QE,8))},t.\u0275cmp=de({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&Wo("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(ko("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",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:FE,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),$o(1),Po())},encapsulation:2,data:{animation:[GE.transformDrawer]},changeDetection:0}),t})(),ez=(()=>{class t{constructor(t,e,i,n,r,s=!1,o){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=o,this._drawers=new Yc,this.backdropClick=new qc,this._destroyed=new v,this._doCheckSubject=new v,this._contentMargins={left:null,right:null},this._contentMarginChanges=new v,t&&t.change.pipe(f_(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(f_(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Nm(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:Nm(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Dp(this._allDrawers),f_(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Dp(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._doCheckSubject.pipe(Fb(10),f_(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._width;else if("push"==this._left.mode){const i=this._left._width;t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;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(ad(t=>t.fromState!==t.toState),f_(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(f_(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(f_(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(zp(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(f_(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?(null!=this._end&&JE("end"),this._end=t):(null!=this._start&&JE("start"),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._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_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)(zo(q_,8),zo(Ha),zo(xu),zo(Ws),zo(X_),zo($E),zo(FM,8))},t.\u0275cmp=de({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,ZE,!0),iu(i,tz,!0)),2&t&&(Qc(n=su())&&(e._content=n.first),Qc(n=su())&&(e._allDrawers=n))},viewQuery:function(t,e){var i;1&t&&tu(ZE,!0),2&t&&Qc(i=su())&&(e._userContent=i.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:[Na([{provide:QE,useExisting:t}])],ngContentSelectors:YE,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(jE),Lo(0,HE,1,2,"div",0),$o(1),$o(2,1),Lo(3,qE,2,0,"mat-drawer-content",1)),2&t&&(Ro("ngIf",e.hasBackdrop),Ar(3),Ro("ngIf",!e._content))},directives:[ah,ZE],styles:[XE],encapsulation:2,changeDetection:0}),t})(),iz=(()=>{class t extends ZE{constructor(t,e,i,n,r){super(t,e,i,n,r)}}return t.\u0275fac=function(e){return new(e||t)(zo(Ws),zo(At(()=>sz)),zo(Ha),zo(K_),zo(xu))},t.\u0275cmp=de({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:[ho],ngContentSelectors:FE,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),$o(0))},encapsulation:2,changeDetection:0}),t})(),nz=(()=>{class t extends tz{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Nm(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Im(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Im(t)}}return t.\u0275fac=function(e){return rz(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(ko("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:[ho],ngContentSelectors:FE,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),$o(1),Po())},encapsulation:2,data:{animation:[GE.transformDrawer]},changeDetection:0}),t})();const rz=gn(nz);let sz=(()=>{class t extends ez{}return t.\u0275fac=function(e){return oz(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,iz,!0),iu(i,nz,!0)),2&t&&(Qc(n=su())&&(e._content=n.first),Qc(n=su())&&(e._allDrawers=n))},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:[Na([{provide:QE,useExisting:t}]),ho],ngContentSelectors:VE,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(KE),Lo(0,WE,1,2,"div",0),$o(1),$o(2,1),Lo(3,UE,2,0,"mat-sidenav-content",1)),2&t&&(Ro("ngIf",e.hasBackdrop),Ar(3),Ro("ngIf",!e._content))},directives:[ah,iz,V_],styles:[XE],encapsulation:2,changeDetection:0}),t})();const oz=gn(sz);let az=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Ah,JM,x_,G_],G_,JM]}),t})(),cz=(()=>{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=>{e.push({label:t.label_en,label_cz:t.label_cz,icon:"insert_link",link:t.url,activatedRegex:"^/profile/external",tabName:"external",external:!0})}),e}}return t.\u0275fac=function(e){return new(e||t)(Vt(Pm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uz=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM],JM]}),t})();const lz=["*"],hz='.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;position:relative}.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;width:100%;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;position:relative}.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;width:100%;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-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',dz=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],pz=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class fz{}const gz=$M(ZM(fz));class mz{}const _z=ZM(mz);let bz=(()=>{class t extends gz{constructor(){super(...arguments),this._stateChanges=new v}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return yz(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[ho,xe],ngContentSelectors:lz,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),$o(0))},styles:[hz],encapsulation:2,changeDetection:0}),t})();const yz=gn(bz);let wz=(()=>{class t extends gz{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)(zo(Ha))},t.\u0275cmp=de({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[ho,xe],ngContentSelectors:lz,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),$o(0))},styles:[hz],encapsulation:2,changeDetection:0}),t})(),Mz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),Az=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),vz=(()=>{class t extends _z{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 r=this._getHostElement();"button"!==r.nodeName.toLowerCase()||r.hasAttribute("type")||r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(f_(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Nm(t)}ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe(Dp(t)).subscribe(({length:t})=>{gA(e,i+"-2-line",!1),gA(e,i+"-3-line",!1),gA(e,i+"-multi-line",!1),2===t||3===t?gA(e,`${i}-${t}-line`,!0):t>3&&gA(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)(zo(Ha),zo(Ws),zo(bz,8),zo(wz,8))},t.\u0275cmp=de({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,Mz,!0),iu(i,Az,!0),iu(i,fA,!0)),2&t&&(Qc(n=su())&&(e._avatar=n.first),Qc(n=su())&&(e._icon=n.first),Qc(n=su())&&(e._lines=n))},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:[ho],ngContentSelectors:pz,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(dz),Do(0,"div",0),No(1,"div",1),$o(2),Do(3,"div",2),$o(4,1),Po(),$o(5,2),Po()),2&t&&(Ar(1),Ro("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[TA],encapsulation:2,changeDetection:0}),t})(),Tz=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[mA,kA,JM,CA,Ah],mA,JM,CA,uz]}),t})(),kz=(()=>{class t{transform(t,e){return"en"===t?e.label:e.label_cz}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"localizationLabel",type:t,pure:!0}),t})();const Sz=function(t){return{color:t}};function Cz(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item",1),Yo("click",(function(){ii(t);const i=e.$implicit,n=Xo();return i.external?n.goToURL(i.link):n.shouldHideMenu()})),Do(1,"mat-icon",2),Aa(2),Po(),Do(3,"span",3),Aa(4),Nc(5,"localizationLabel"),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();ua("activated",i.isActive(t.activatedRegex)),Qo("routerLink",t.external?null:t.link),Ro("ngStyle",xc(15,Sz,i.textColor)),Ar(1),Ro("ngStyle",xc(17,Sz,i.iconColor)),Ar(1),va(t.icon),Ar(2),va(t.external?Bc(5,7,i.lang,t):Ic(6,10,Bc(7,12,t.label,i.lang)))}}let Lz=(()=>{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 Jp&&(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)(zo(cz),zo(Pm),zo(hm),zo(Ov))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[["disableRipple","",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",3,"ngStyle","routerLink","click"],[3,"ngStyle"],[1,"nav-caption"]],template:function(t,e){1&t&&(Do(0,"mat-nav-list"),Lo(1,Cz,8,19,"mat-list-item",0),Po()),2&t&&(Ar(1),Ro("ngForOf",e.items))},directives:[bz,sh,vz,fh,EE,dm,aT],pipes:[kz,Dv,$C],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}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 Ez(t,e){if(1&t&&(Do(0,"span",1),Do(1,"a",2),Aa(2),Po(),Po()),2&t){const t=e.$implicit;Ar(1),Ro("routerLink",t.routerLink),Ar(1),va(t.label)}}let zz=(()=>{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(ad(t=>t instanceof Jp)).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 r=this.translate.instant(e.snapshot.data[t.ROUTE_DATA_BREADCRUMB]);return!r||this.menuItems[this.menuItems.length-1]&&r===this.menuItems[this.menuItems.length-1].label||this.menuItems.push({label:r,routerLink:i}),this.createBreadcrumbs(e,i)})}}return t.ROUTE_DATA_BREADCRUMB="breadcrumb",t.\u0275fac=function(e){return new(e||t)(zo(hm),zo(Jf),zo(Ov))},t.\u0275cmp=de({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,Ez,3,2,"span",0),2&t&&Ro("ngForOf",e.menuItems)},directives:[sh,pm],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})();const xz=["row","column","row-reverse","column-reverse"];function Rz(t){t=t?t.toLowerCase():"";let[e,i,n]=t.split(" ");return xz.find(t=>t===e)||(e=xz[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[e,Dz(i),!!n]}function Oz(t){let[e]=Rz(t);return e.indexOf("row")>-1}function Dz(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 Pz=(()=>{class t extends wE{buildStyles(t){return function(t){let[e,i,n]=Rz(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(e){return Nz(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Nz=gn(Pz),Iz=["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 Bz=(()=>{class t extends ZL{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="layout",this.styleCache=qz,this.init()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(yE),zo(Pz),zo(ME))},t.\u0275dir=be({type:t,features:[ho]}),t})(),Fz=(()=>{class t extends Bz{constructor(){super(...arguments),this.inputs=Iz}}return t.\u0275fac=function(e){return Hz(e||t)},t.\u0275dir=be({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:[ho]}),t})();const Hz=gn(Fz),qz=new Map;let jz=(()=>{class t extends wE{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(e){return Yz(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Yz=gn(jz),Wz=["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 Uz=(()=>{class t extends ZL{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="flex-align",this.styleCache=Kz,this.init()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(yE),zo(jz),zo(ME))},t.\u0275dir=be({type:t,features:[ho]}),t})();const Kz=new Map;let Vz=(()=>{class t extends Uz{constructor(){super(...arguments),this.inputs=Wz}}return t.\u0275fac=function(e){return Xz(e||t)},t.\u0275dir=be({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:[ho]}),t})();const Xz=gn(Vz);let Gz=(()=>{class t extends wE{buildStyles(t,e){const i={},[n,r]=t.split(" ");switch(n){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;case"start":case"flex-start":default:i["justify-content"]="flex-start"}switch(r){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;case"stretch":default:i["align-items"]=i["align-content"]="stretch"}return 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]);return t}(i,{display:e.inline?"inline-flex":"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===r?Oz(e.layout)?null:"100%":null,"max-height":"stretch"===r&&Oz(e.layout)?"100%":null})}}return t.\u0275fac=function(e){return Jz(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Jz=gn(Gz),$z=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let Qz=(()=>{class t extends ZL{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(f_(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||"row",i=this.inline;"row"===e&&i?this.styleCache=sx:"row"!==e||i?"row-reverse"===e&&i?this.styleCache=ax:"row-reverse"!==e||i?"column"===e&&i?this.styleCache=ox:"column"!==e||i?"column-reverse"===e&&i?this.styleCache=cx:"column-reverse"!==e||i||(this.styleCache=rx):this.styleCache=ix:this.styleCache=nx:this.styleCache=ex,this.addStyles(t,{layout:e,inline:i})}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],this.inline=t.value.includes("inline"),xz.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(yE),zo(Gz),zo(ME))},t.\u0275dir=be({type:t,features:[ho]}),t})(),Zz=(()=>{class t extends Qz{constructor(){super(...arguments),this.inputs=$z}}return t.\u0275fac=function(e){return tx(e||t)},t.\u0275dir=be({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[ho]}),t})();const tx=gn(Zz),ex=new Map,ix=new Map,nx=new Map,rx=new Map,sx=new Map,ox=new Map,ax=new Map,cx=new Map;let ux=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[YL,j_]]}),t})();const lx=function(t){return{color:t}};function hx(t,e){if(1&t&&(Do(0,"a",12),Aa(1),Po()),2&t){const t=Xo().$implicit,e=Xo(3);Ro("href",t.link,nr)("ngStyle",xc(3,lx,e.linksTextColor)),Ar(1),va("en"===e.getLanguage()?t.label_en:t.label_cz)}}function dx(t,e){if(1&t&&(Do(0,"p",13),Aa(1),Po()),2&t){const t=Xo().$implicit,e=Xo(3);Ro("ngStyle",xc(2,lx,e.linksTextColor)),Ar(1),va("en"===e.getLanguage()?t.label_en:t.label_cz)}}function px(t,e){if(1&t&&(Do(0,"div",9),Lo(1,hx,2,5,"a",10),Lo(2,dx,2,4,"p",11),Po()),2&t){const t=e.$implicit;Ar(1),Ro("ngIf",t.link),Ar(1),Ro("ngIf",!t.link)}}function fx(t,e){if(1&t&&(Do(0,"div"),Lo(1,px,3,2,"div",8),Po()),2&t){const t=Xo().$implicit;Ar(1),Ro("ngForOf",t.elements)}}function gx(t,e){if(1&t&&(Do(0,"div",5),Do(1,"h5",6),Aa(2),Po(),Lo(3,fx,2,1,"div",7),Po()),2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("ngStyle",xc(3,lx,i.headersTextColor)),Ar(1),Ta(" ","en"===i.getLanguage()?t.title_en:t.title_cz," "),Ar(1),Ro("ngIf",t.elements)}}function mx(t,e){if(1&t&&(Do(0,"span"),Aa(1),Do(2,"a",14),Aa(3),Po(),Po()),2&t){const t=e.$implicit,i=e.index,n=Xo();Ar(1),Ta(" ",i?",":"\xa0",""),Ar(1),Ro("href",t.url,nr)("ngStyle",xc(4,lx,n.linksTextColor)),Ar(1),va(t.name)}}const _x=function(t){return{background:t}};let bx=(()=>{class t{constructor(t,e){this.storeService=t,this.translateService=e,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.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color")}ngOnInit(){this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items")}getLanguage(){return this.translateService.currentLang}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Ov))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-footer-user-profile"]],decls:6,vars:9,consts:[[1,"wrap-content",3,"ngStyle"],["fxLayout","row","fxLayoutAlign","space-evenly none"],["fxLayout","column","fxLayoutAlign","none left",4,"ngFor","ngForOf"],["fxLayoutAlign","center",3,"ngStyle"],[4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","none left"],[1,"ml-1",3,"ngStyle"],[4,"ngIf"],["class","ml-1",4,"ngFor","ngForOf"],[1,"ml-1"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[3,"ngStyle",4,"ngIf"],["target","_blank",3,"href","ngStyle"],[3,"ngStyle"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"]],template:function(t,e){1&t&&(Do(0,"footer",0),Do(1,"div",1),Lo(2,gx,4,5,"div",2),Po(),Do(3,"div",3),Aa(4),Lo(5,mx,4,6,"span",4),Po(),Po()),2&t&&(Ro("ngStyle",xc(5,_x,e.bgColor)),Ar(2),Ro("ngForOf",e.items),Ar(1),Ro("ngStyle",xc(7,lx,e.linksTextColor)),Ar(1),Ta(" \xa9 ",e.currentYear," Copyright: "),Ar(1),Ro("ngForOf",e.copyrightItems))},directives:[fh,EE,Fz,Zz,sh,ah],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.wrap-content[_ngcontent-%COMP%]{padding-top:15px;padding-bottom:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),t})();const yx=function(t){return{"min-height":t}};let wx=(()=>{class t{constructor(t){this.store=t,this.contentBackgroundColor=this.store.get("theme","content_bg_color")}ngOnInit(){}getContentHeight(){return"calc(100vh - 64px - 180px)"}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-profile-login-screen-base"]],decls:5,vars:5,consts:[[1,"app-min-width"],[3,"hideToggle","disableLogo"],["id","content-wrap",3,"ngStyle"]],template:function(t,e){1&t&&(Do(0,"div",0),No(1,"perun-web-apps-header",1),Do(2,"div",2),No(3,"router-outlet"),Po(),No(4,"perun-web-apps-footer-user-profile"),Po()),2&t&&(Ar(1),Ro("hideToggle",!0)("disableLogo",!0),Ar(1),Ro("ngStyle",xc(3,yx,e.getContentHeight())))},directives:[BE,fh,EE,gm,bx],styles:[""]}),t})();const Mx=function(t){return{background:t}},Ax=function(t){return{"min-height":t}};function vx(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),Yo("sidenavToggle",(function(){return ii(t),Eo(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(),No(11,"perun-web-apps-footer-user-profile"),Po(),Po(),Po()}if(2&t){const t=Eo(5),e=Xo();Ar(4),Ro("mode",e.sidebarMode)("ngStyle",xc(6,Mx,e.sideMenuBgColor))("opened",!e.isMobile()),Ar(2),Ro("sideNav",t),Ar(1),Ro("ngStyle",xc(8,Mx,e.contentBackgroundColor)),Ar(1),Ro("ngStyle",xc(10,Ax,e.getContentHeight()))}}function Tx(t,e){1&t&&No(0,"perun-web-apps-profile-login-screen-base")}let kx=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.translateService=i,this.initAuth=n,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.footerHeight=180,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}getContentHeight(){return"calc(100vh - 64px - "+this.footerHeight+"px)"}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Ud),zo(Ov),zo(Kv))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-root"]],hostBindings:function(t,e){1&t&&Yo("resize",(function(t){return e.getScreenSize(t)}),!1,Xi)},decls:2,vars:2,consts:[[3,"ngIf"],[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"]],template:function(t,e){1&t&&(Lo(0,vx,12,12,"ng-template",0),Lo(1,Tx,1,0,"perun-web-apps-profile-login-screen-base",1)),2&t&&(Ro("ngIf",!e.isLoginScreenShown),Ar(1),Ro("ngIf",e.isLoginScreenShown))},directives:[ah,OL,BE,sz,nz,fh,EE,Lz,iz,zz,gm,bx,wx],styles:["#content-inner[_ngcontent-%COMP%]{position:relative;overflow-x:hidden;min-height:calc(100vh - 64px)}a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.side-menu-size[_ngcontent-%COMP%]{width:200px;height:auto}"]}),t})();var Sx=i("nVrk");class Cx{constructor(t){this.total=t}call(t,e){return e.subscribe(new Lx(t,this.total))}}class Lx extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const Ex=new Set;let zx,xx=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Rx}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!Ex.has(t))try{zx||(zx=document.createElement("style"),zx.setAttribute("type","text/css"),document.head.appendChild(zx)),zx.sheet&&(zx.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),Ex.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(Vt(z_))},t.\u0275prov=ut({factory:function(){return new t(Vt(z_))},token:t,providedIn:"root"}),t})();function Rx(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Ox=(()=>{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 Dx(Fm(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=cp(Dx(Fm(t)).map(t=>this._registerQuery(t).observable));return e=Op(e.pipe(zp(1)),e.pipe(t=>t.lift(new Cx(1)),Fb(0))),e.pipe(P(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),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(Dp(e),P(e=>({query:t,matches:e.matches})),f_(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(Vt(xx),Vt(xu))},t.\u0275prov=ut({factory:function(){return new t(Vt(xx),Vt(xu))},token:t,providedIn:"root"}),t})();function Dx(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Px={tooltipState:by("state",[vy("initial, void, hidden",Ay({opacity:0,transform:"scale(0)"})),vy("visible",Ay({transform:"scale(1)"})),ky("* => visible",yy("200ms cubic-bezier(0, 0, 0.2, 1)",Ty([Ay({opacity:0,transform:"scale(0)",offset:0}),Ay({opacity:.5,transform:"scale(0.99)",offset:.5}),Ay({opacity:1,transform:"scale(1)",offset:1})]))),ky("* => hidden",yy("100ms cubic-bezier(0, 0, 0.2, 1)",Ay({opacity:0})))])},Nx=I_({passive:!0});function Ix(t){return Error(`Tooltip position "${t}" is invalid.`)}const Bx=new It("mat-tooltip-scroll-strategy"),Fx={provide:Bx,deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},Hx=new It("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let qx=(()=>{class t{constructor(t,e,i,n,r,s,o,a,c,u,l,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=r,this._platform=s,this._ariaDescriber=o,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new v,this._handleKeydown=t=>{this._isTooltipVisible()&&27===t.keyCode&&!ob(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),a.monitor(e).pipe(f_(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&r.run(()=>this.show()):r.run(()=>this.hide(0))}),r.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Nm(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}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(i,e,Nx)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),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 Z_(jx,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(f_(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(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(f_(this._destroyed)).subscribe(t=>{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:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(f_(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),i.main),Object.assign(Object.assign({},e.fallback),i.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e||"below"==e)i={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Ix(e);i={originX:"end",originY:"center"}}const{x:n,y:r}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:r}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e)i={overlayX:"center",overlayY:"bottom"};else if("below"==e)i={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Ix(e);i={overlayX:"start",overlayY:"center"}}const{x:n,y:r}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(zp(1),f_(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}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,Nx)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==i&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}}return t.\u0275fac=function(e){return new(e||t)(zo(Rb),zo(Ha),zo(K_),zo(dc),zo(xu),zo(z_),zo($b),zo(dy),zo(Bx),zo(q_,8),zo(Hx,8),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),jx=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new v,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){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)(zo(Ws),zo(Ox))},t.\u0275cmp=de({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&Yo("click",(function(){return e._handleBodyInteraction()}),!1,Gi),2&t&&ca("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var i;1&t&&(Do(0,"div",0),Yo("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),Nc(1,"async"),Aa(2),Po()),2&t&&(ua("mat-tooltip-handset",null==(i=Ic(1,5,e._isHandset))?null:i.matches),Ro("ngClass",e.tooltipClass)("@state",e._visibility),Ar(2),va(e.message))},directives:[nh],pipes:[wh],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:[Px.tooltipState]},changeDetection:0}),t})(),Yx=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[Fx],imports:[[gy,Ah,Bb,JM],JM,G_]}),t})();const Wx=["trigger"],Ux=["panel"];function Kx(t,e){if(1&t&&(Do(0,"span",8),Aa(1),Po()),2&t){const t=Xo();Ar(1),va(t.placeholder||"\xa0")}}function Vx(t,e){if(1&t&&(Do(0,"span"),Aa(1),Po()),2&t){const t=Xo(2);Ar(1),va(t.triggerValue||"\xa0")}}function Xx(t,e){1&t&&$o(0,0,["*ngSwitchCase","true"])}function Gx(t,e){1&t&&(Do(0,"span",9),Lo(1,Vx,2,1,"span",10),Lo(2,Xx,1,0,"ng-content",11),Po()),2&t&&(Ro("ngSwitch",!!Xo().customTrigger),Ar(2),Ro("ngSwitchCase",!0))}function Jx(t,e){if(1&t){const t=Ho();Do(0,"div",12),Do(1,"div",13,14),Yo("@transformPanel.done",(function(e){return ii(t),Xo()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return ii(t),Xo()._handleKeydown(e)})),$o(3,1),Po(),Po()}if(2&t){const t=Xo();Ro("@transformPanelWrap",void 0),Ar(1),Sa("mat-select-panel ",t._getPanelTheme(),""),ca("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),Ro("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),ko("id",t.id+"-panel")}}const $x=[[["mat-select-trigger"]],"*"],Qx=["mat-select-trigger","*"],Zx={transformPanelWrap:by("transformPanelWrap",[ky("* => void",Cy("@transformPanel",[Sy()],{optional:!0}))]),transformPanel:by("transformPanel",[vy("void",Ay({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),vy("showing",Ay({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),vy("showing-multiple",Ay({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ky("void => *",yy("120ms cubic-bezier(0, 0, 0.2, 1)")),ky("* => void",yy("100ms 25ms linear",Ay({opacity:0})))])};let tR=0;const eR=new It("mat-select-scroll-strategy"),iR=new It("MAT_SELECT_CONFIG"),nR={provide:eR,deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class rR{constructor(t,e){this.source=t,this.value=e}}class sR{constructor(t,e,i,n,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r}}const oR=ZM(tA($M(eA(sR))));let aR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-select-trigger"]]}),t})(),cR=(()=>{class t extends oR{constructor(t,e,i,n,r,s,o,a,c,u,l,h,d,p){super(r,n,o,a,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=s,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=d,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+tR++,this._destroy=new v,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new v,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=fp(()=>{const t=this.options;return t?t.changes.pipe(Dp(t),Cp(()=>U(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(zp(1),Cp(()=>this.optionSelectionChanges))}),this.openedChange=new qc,this._openedStream=this.openedChange.pipe(ad(t=>t),P(()=>{})),this._closedStream=this.openedChange.pipe(ad(t=>!t),P(()=>{})),this.selectionChange=new qc,this.valueChange=new qc,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(l)||0,this.id=this.id,p&&(null!=p.disableOptionCentering&&(this.disableOptionCentering=p.disableOptionCentering),null!=p.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=p.typeaheadDebounceInterval))}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=Nm(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Nm(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Nm(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Im(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new W_(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(s_(),f_(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(f_(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(f_(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Dp(null),f_(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){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.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(zp(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(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,r=this._keyManager;if(!r.isTyping()&&n&&!ob(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;36===e||35===e?(36===e?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);const n=this.selected;n&&i!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=40===i||38===i,r=e.isTyping();if(36===i||35===i)t.preventDefault(),36===i?e.setFirstItemActive():e.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(r||13!==i&&32!==i||!e.activeItem||ob(t))if(!r&&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._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_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.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return xn()&&console.warn(i),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new Zb(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(f_(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(f_(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=U(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(f_(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(f_(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_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(),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(new rR(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=IA(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=BA(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,i,n)=>void 0!==e?e:t===i?n:void 0,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,256),n=e*t-i;let r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=IA(r,this.options,this.optionGroups);const s=i/2;this._scrollTop=this._calculateOverlayScroll(r,s,n),this._offsetY=this._calculateOverlayOffsetY(r,s,n),this._checkOverlayWithinViewport(n)}_calculateOverlayScroll(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let r;if(this.multiple)r=40;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}i||(r*=-1);const s=0-(t.left+r-(i?n:0)),o=t.right+r-e.width+(i?0:n);s>0?r+=s+8:o>0&&(r-=o+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),r=(n-this._triggerRect.height)/2,s=Math.floor(256/n);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-s))*n+(n-(this._getItemCount()*n-256)%n):e-n/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,r=i.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):s>n?this._adjustPanelDown(s,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")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(zo(X_),zo(Ws),zo(xu),zo(pA),zo(Ha),zo(q_,8),zo(eC,8),zo(lC,8),zo(Jk,8),zo(cS,10),xo("tabindex"),zo(eR),zo(cy),zo(iR,8))},t.\u0275cmp=de({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,aR,!0),iu(i,NA,!0),iu(i,xA,!0)),2&t&&(Qc(n=su())&&(e.customTrigger=n.first),Qc(n=su())&&(e.options=n),Qc(n=su())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(tu(Wx,!0),tu(Ux,!0),tu(Nb,!0)),2&t&&(Qc(i=su())&&(e.trigger=i.first),Qc(i=su())&&(e.panel=i.first),Qc(i=su())&&(e.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&Yo("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(ko("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("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))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Na([{provide:Bk,useExisting:t},{provide:PA,useExisting:t}]),ho,xe],ngContentSelectors:Qx,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",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,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(Jo($x),Do(0,"div",0,1),Yo("click",(function(){return e.toggle()})),Do(3,"div",2),Lo(4,Kx,2,1,"span",3),Lo(5,Gx,3,2,"span",4),Po(),Do(6,"div",5),No(7,"div",6),Po(),Po(),Lo(8,Jx,4,11,"ng-template",7),Yo("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){const t=Eo(1);Ar(3),Ro("ngSwitch",e.empty),Ar(1),Ro("ngSwitchCase",!0),Ar(1),Ro("ngSwitchCase",!1),Ar(3),Ro("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[Pb,hh,dh,Nb,ph,nh],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}.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}\n"],encapsulation:2,data:{animation:[Zx.transformPanelWrap,Zx.transformPanel]},changeDetection:0}),t})(),uR=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[nR],imports:[[Ah,Bb,FA,JM],G_,Qk,FA,JM]}),t})();function lR(t,e){if(1&t){const t=Ho();Do(0,"button",15),Yo("click",(function(){ii(t);const e=Xo().index;return Xo().removeValue(e)})),Do(1,"mat-icon"),Aa(2," indeterminate_check_box "),Po(),Po()}}function hR(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),Yo("click",(function(){ii(t);const i=e.index,n=Xo();return n.readonly&&n.attribute.displayName&&n.showValue(n.keys[i],n.attribute.displayName)}))("ngModelChange",(function(i){ii(t);const n=e.index;return Xo().keys[n]=i})),Po(),Po(),Do(4,"mat-form-field",10),No(5,"label",11),Do(6,"input",13),Yo("click",(function(){ii(t);const i=e.$implicit,n=Xo();return n.readonly&&void 0!==n.attribute.displayName&&n.showValue(i,n.attribute.displayName)}))("ngModelChange",(function(i){ii(t);const n=e.index;return Xo().values[n]=i})),Po(),Po(),Lo(7,lR,3,0,"button",14),Po()}if(2&t){const t=e.index,i=Xo();Ar(1),Qo("appearance",i.readonly?"none":"standard"),Ar(1),ta("for","",i.attribute.id,"-key-",t,""),Ar(1),ua("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),ta("id","",i.attribute.id,"-key-",t,""),Zo("name","key-",t,""),Ro("ngModel",i.keys[t])("readonly",i.readonly),Ar(1),Qo("appearance",i.readonly?"none":"standard"),Ar(1),ta("for","",i.attribute.id,"-value-",t,""),Ar(1),ua("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),Zo("name","value-",t,""),ta("id","",i.attribute.id,"-value-",t,""),Ro("readonly",i.readonly)("ngModel",i.values[t]),Ar(1),Ro("ngIf",!i.readonly)}}function dR(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"more_horiz"),Po())}function pR(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"keyboard_arrow_up"),Po())}function fR(t,e){if(1&t){const t=Ho();Do(0,"button",16),Yo("click",(function(){return ii(t),Xo().onShowChange()})),Lo(1,dR,2,0,"mat-icon",17),Lo(2,pR,2,0,"mat-icon",17),Po()}if(2&t){const t=Xo();Ar(1),Ro("ngIf",!t.showMore),Ar(1),Ro("ngIf",t.showMore)}}function gR(t,e){if(1&t){const t=Ho();Do(0,"button",18),Yo("click",(function(){return ii(t),Xo().addValue()})),Do(1,"mat-icon"),Aa(2," add_box "),Po(),Po()}}let mR=(()=>{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=av(this.attribute))}customTrackBy(t,e){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),Ar(1),Ro("ngIf",!e.readonly))},directives:[sC,hS,eC,sh,qx,ah,$k,SC,rS,dC,lS,rC,qv,aT],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 _R=["input"],bR=function(){return{enterDuration:150}},yR=["*"],wR=new It("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),MR=new It("mat-checkbox-click-action");let AR=0;const vR={provide:Zk,useExisting:At(()=>CR),multi:!0};class TR{}class kR{constructor(t){this._elementRef=t}}const SR=tA(QM(ZM($M(kR))));let CR=(()=>{class t extends SR{constructor(t,e,i,n,r,s,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._clickAction=s,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++AR,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new qc,this.indeterminateChange=new qc,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(r)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Nm(t)}ngAfterViewInit(){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=Nm(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=Nm(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 TR;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,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)(zo(Ha),zo(Ws),zo(dy),zo(xu),xo("tabindex"),zo(MR,8),zo(FM,8),zo(wR,8))},t.\u0275cmp=de({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var i;1&t&&(tu(_R,!0),tu(TA,!0)),2&t&&(Qc(i=su())&&(e._inputElement=i.first),Qc(i=su())&&(e.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(Ca("id",e.id),ko("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",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Na([vR]),ho],ngContentSelectors:yR,decls:17,vars:19,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,"div",2),Do(3,"input",3,4),Yo("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),Po(),Do(5,"div",5),No(6,"div",6),Po(),No(7,"div",7),Do(8,"div",8),Li(),Do(9,"svg",9),No(10,"path",10),Po(),Ei(),No(11,"div",11),Po(),Po(),Do(12,"span",12,13),Yo("cdkObserveContent",(function(){return e._onLabelTextChange()})),Do(14,"span",14),Aa(15,"\xa0"),Po(),$o(16),Po(),Po()),2&t){const t=Eo(1),i=Eo(13);ko("for",e.inputId),Ar(2),ua("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),Ar(1),Ro("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),ko("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),Ar(2),Ro("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",zc(18,bR))}},directives:[TA,Ub],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{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-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.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.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)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{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%}.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}\n"],encapsulation:2,changeDetection:0}),t})(),LR=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})(),ER=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[kA,JM,Kb,LR],JM,LR]}),t})();function zR(t,e){if(1&t){const t=Ho();Do(0,"mat-checkbox",2),Yo("change",(function(){return ii(t),Xo()._sendEventToParent()}))("ngModelChange",(function(e){return ii(t),Xo().attribute.value=e})),Po()}2&t&&Ro("ngModel",Xo().attribute.value)}function xR(t,e){if(1&t&&(Do(0,"mat-label"),Aa(1),Po()),2&t){const t=Xo();Ar(1),va(t.attribute.value)}}let RR=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent=new qc}ngOnInit(){this.readonly||(this.readonly=av(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({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,zR,1,1,"mat-checkbox",0),Lo(2,xR,2,1,"mat-label",1),Po()),2&t&&(Ar(1),Ro("ngIf",!e.readonly),Ar(1),Ro("ngIf",e.readonly))},directives:[ah,CR,lS,rC,jk],styles:[""]}),t})();function OR(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}function DR(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function PR(t,e){const i=e?"":"none";DR(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function NR(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function IR(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function BR(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 FR(t,e,i){const{top:n,bottom:r,left:s,right:o}=t;return i>=n&&i<=r&&e>=s&&e<=o}function HR(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function qR(t,e,i,n){const{top:r,right:s,bottom:o,left:a,width:c,height:u}=t,l=c*e,h=u*e;return n>r-h&&na-l&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:BR(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,r=i.scrollPosition;let s,o;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();s=t.top,o=t.left}else s=e.scrollTop,o=e.scrollLeft;const a=r.top-s,c=r.left-o;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&HR(t.clientRect,a,c)}),r.top=s,r.left=o,{top:a,left:c}}}const YR=I_({passive:!0}),WR=I_({passive:!1});class UR{constructor(t,e,i,n,r,s){this._config=e,this._document=i,this._ngZone=n,this._viewportRuler=r,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new v,this._pointerMoveSubscription=h.EMPTY,this._pointerUpSubscription=h.EMPTY,this._scrollSubscription=h.EMPTY,this._resizeSubscription=h.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new v,this.started=new v,this.released=new v,this.ended=new v,this.entered=new v,this.exited=new v,this.dropped=new v,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{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=>{t.preventDefault();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){if(!(Date.now()>=this._dragStartTime+this._getDragStartDelay(t)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(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()));const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i);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),this._parentPositions=new jR(i,r),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Nm(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){return this._handles=t.map(t=>qm(t)),this._handles.forEach(t=>PR(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=qm(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,WR),e.addEventListener("touchstart",this._pointerDown,YR)}),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?qm(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&GR(this._rootElement),GR(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._placeholderTemplate=this._previewTemplate=this._anchor=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._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}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}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t))}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&GR(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&GR(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){this.started.next({source:this}),JR(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,n=t.parentNode,r=this._preview=this._createPreviewElement(),s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(o,t),t.style.display="none",this._document.body.appendChild(n.replaceChild(s,t)),(i=this._document,i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body).appendChild(r),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;var i;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const i=this.isDragging(),n=JR(e),r=!n&&0!==e.button,s=this._rootElement,o=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||r||o)return;this._handles.length&&(this._rootElementTapHighlight=s.style.webkitTapHighlightColor,s.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=BR(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._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){this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),r=this._getDragDistance(this._getPointerPositionOnPage(t)),s=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:r}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:r}),e.drop(this,i,this._initialContainer,s,r,this._initialIndex),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,t,e,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=KR(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,r=t.viewContainer.createEmbeddedView(i,t.context);r.detectChanges(),n=$R(r,this._document),this._previewRef=r,t.matchSize?QR(n,e):n.style.transform=KR(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=VR(t),QR(n,t.getBoundingClientRect())}return DR(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),PR(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._preview.style.transform=KR(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=IR(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const r=i.indexOf(n),s=IR(e,"transition-duration"),o=IR(e,"transition-delay");return NR(s[r])+NR(o[r])}(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=$R(this._placeholderRef,this._document)):i=VR(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,r=n?n.getBoundingClientRect():i,s=JR(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:r.left-i.left+(s.pageX-r.left-o.left),y:r.top-i.top+(s.pageY-r.top-o.top)}}_getPointerPositionOnPage(t){const e=JR(t)?t.touches[0]||t.changedTouches[0]:t,i=this._getViewportScrollPosition();return{x:e.pageX-i.left,y:e.pageY-i.top}}_getConstrainedPointerPosition(t){const e=this.constrainPosition?this.constrainPosition(t,this):t,i=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===i?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==i||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:i}=this._pickupPositionInElement,n=this._boundaryRect,r=this._previewRect,s=n.top+i,o=n.bottom-(r.height-i);e.x=XR(e.x,n.left+t,n.right-(r.width-t)),e.y=XR(e.y,s,o)}return e}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-r.x),o=Math.abs(i-r.y);return s>this._config.pointerDirectionChangeThreshold&&(n.x=e>r.x?1:-1,r.x=e),o>this._config.pointerDirectionChangeThreshold&&(n.y=i>r.y?1:-1,r.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,PR(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,WR),t.removeEventListener("touchstart",this._pointerDown,YR)}_applyRootElementTransform(t,e){const i=KR(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform:i}_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 r=i.left-n.left,s=n.right-i.right,o=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(r>0&&(t+=r),s>0&&(t-=s)):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:JR(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);this._boundaryRect&&e&&HR(this._boundaryRect,e.top,e.left)}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}}function KR(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function VR(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.querySelectorAll("canvas");e.removeAttribute("id");for(let r=0;rn.appendChild(t)),n}function QR(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=KR(e.left,e.top)}function ZR(t,e,i){const n=tO(e,t.length-1),r=tO(i,t.length-1);if(n===r)return;const s=t[n],o=r!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},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=c_){return(!h_(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=c_),new b(i=>(i.add(e.schedule(OR,t,{subscriber:i,counter:0,period:t})),i))}(0,Gm).pipe(f_(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?nO(t,-2):2===this._verticalScrollDirection&&nO(t,2),1===this._horizontalScrollDirection?rO(t,-2):2===this._horizontalScrollDirection&&rO(t,2)})},this.element=qm(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new jR(i,r)}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(){const t=qm(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,i,n){let r;this.start(),null==n?(r=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===r&&(r=this._getItemIndexFromPointerPosition(t,e,i))):r=n;const s=this._activeDraggables,o=s.indexOf(t),a=t.getPlaceholderElement();let c=s[r];if(c===t&&(c=s[r+1]),o>-1&&s.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(a,e),s.splice(r,0,t)}else{const n=qm(this.element);this._shouldEnterAsFirstChild(e,i)?(n.insertBefore(a,s[0].getRootElement()),s.unshift(t)):(n.appendChild(a),s.push(t))}a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),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,r,s){this._reset(),null==s&&(s=i.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:s,container:this,previousContainer:i,isPointerOverContainer:n,distance: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=qm(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?iO("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||!qR(this._clientRect,.05,e,i))return;const r=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===s&&r.length>0)return;const o="horizontal"===this._orientation,a=iO(r,e=>e.drag===t),c=r[s],u=r[a].clientRect,l=c.clientRect,h=a>s?1:-1;this._previousSwap.drag=c.drag,this._previousSwap.delta=o?n.x:n.y;const d=this._getItemOffsetPx(u,l,h),p=this._getSiblingOffsetPx(a,r,h),f=r.slice();ZR(r,a,s),this.sorted.next({previousIndex:a,currentIndex:s,container:this,item:t}),r.forEach((e,i)=>{if(f[i]===e)return;const n=e.drag===t,r=n?d:p,s=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=r,o?(s.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,HR(e.clientRect,0,r)):(s.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,HR(e.clientRect,r,0))})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,r=0;if(this._parentPositions.positions.forEach((s,o)=>{o!==this._document&&s.clientRect&&!i&&qR(s.clientRect,.05,t,e)&&([n,r]=function(t,e,i,n){const r=sO(e,n),s=oO(e,i);let o=0,a=0;if(r){const e=t.scrollTop;1===r?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(s){const e=t.scrollLeft;1===s?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,s.clientRect,t,e),(n||r)&&(i=o))}),!n&&!r){const{width:s,height:o}=this._viewportRuler.getViewportSize(),a={width:s,height:o,top:0,right:s,bottom:o,left:0};n=sO(a,e),r=oO(a,t),i=window}!i||n===this._verticalScrollDirection&&r===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=r,this._scrollNode=i,(n||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const t=qm(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,clientRect:BR(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=qm(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,i){const n="horizontal"===this._orientation,r=e[t].clientRect,s=e[t+-1*i];let o=r[n?"width":"height"]*i;if(s){const t=n?"left":"top",e=n?"right":"bottom";-1===i?o-=s.clientRect[t]-r[e]:o+=r[t]-s.clientRect[e]}return o}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let r=n?e.left-t.left:e.top-t.top;return-1===i&&(r+=n?e.width-t.width:e.height-t.height),r}_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 r=i[i.length-1].clientRect;return n?t>=r.right:e>=r.bottom}{const r=i[0].clientRect;return n?t<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(t,e,i,n){const r="horizontal"===this._orientation;return iO(this._itemPositions,({drag:s,clientRect:o},a,c)=>{if(s===t)return c.length<2;if(n){const t=r?n.x:n.y;if(s===this._previousSwap.drag&&t===this._previousSwap.delta)return!1}return r?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!FR(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const r=qm(this.element);return n===r||r.contains(n)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.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})=>{HR(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=F_(qm(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function iO(t,e){for(let i=0;i=i-s&&e<=i+s?1:e>=n-s&&e<=n+s?2:0}function oO(t,e){const{left:i,right:n,width:r}=t,s=.05*r;return e>=i-s&&e<=i+s?1:e>=n-s&&e<=n+s?2:0}const aO=I_({passive:!1,capture:!0});let cO=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new v,this.pointerUp=new v,this.scroll=new v,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},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._preventDefaultWhileDragging,aO)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,aO)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),i=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:aO}).set(i,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:aO}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}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)(Vt(xu),Vt(cl))},t.\u0275prov=ut({factory:function(){return new t(Vt(xu),Vt(cl))},token:t,providedIn:"root"}),t})();const uO={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let lO=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=uO){return new UR(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new eO(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(Vt(cl),Vt(xu),Vt(X_),Vt(cO))},t.\u0275prov=ut({factory:function(){return new t(Vt(cl),Vt(xu),Vt(X_),Vt(cO))},token:t,providedIn:"root"}),t})();const hO=new It("CDK_DRAG_PARENT");let dO=(()=>{class t{constructor(t,e){this.element=t,this._stateChanges=new v,this._disabled=!1,this._parentDrag=e,PR(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=Nm(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(hO,8))},t.\u0275dir=be({type:t,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),t})(),pO=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),t})(),fO=(()=>{class t{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=Nm(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),t})();const gO=new It("CDK_DRAG_CONFIG"),mO=new It("CDK_DROP_LIST");let _O=(()=>{class t{constructor(t,e,i,n,r,s,o,a,c){this.element=t,this.dropContainer=e,this._document=i,this._ngZone=n,this._viewContainerRef=r,this._dir=o,this._changeDetectorRef=c,this._destroyed=new v,this.started=new qc,this.released=new qc,this.ended=new qc,this.entered=new qc,this.exited=new qc,this.dropped=new qc,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=a.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,s&&this._assignDefaults(s),e&&(this._dragRef._withDropContainer(e._dropListRef),e.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=Nm(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.asObservable().pipe(zp(1),f_(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Dp(this._handles),jp(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Cp(t=>U(...t.map(t=>t._stateChanges.pipe(Dp(t))))),f_(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),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?bO(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return bO(this.element.nativeElement,t);const e=qm(t);if(xn()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,i=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:Im(i),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(r),e&&t.withDirection(e.value)}})}_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}),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})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:n,previewClass:r,boundaryElement:s,draggingDisabled:o,rootElementSelector:a}=t;this.disabled=null!=o&&o,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),r&&(this.previewClass=r),s&&(this.boundaryElement=s),a&&(this.rootElementSelector=a)}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(mO,12),zo(cl),zo(xu),zo(dc),zo(gO,8),zo(q_,8),zo(lO),zo(Ws))},t.\u0275dir=be({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,fO,!0),iu(i,pO,!0),iu(i,dO,!0)),2&t&&(Qc(n=su())&&(e._previewTemplate=n.first),Qc(n=su())&&(e._placeholderTemplate=n.first),Qc(n=su())&&(e._handles=n))},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"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Na([{provide:hO,useExisting:t}]),xe]}),t})();function bO(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 yO=(()=>{class t{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Nm(t)}ngOnDestroy(){this._items.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),t})(),wO=0,MO=(()=>{class t{constructor(e,i,n,r,s,o,a){this.element=e,this._changeDetectorRef=n,this._dir=r,this._group=s,this._scrollDispatcher=o,this._destroyed=new v,this.connectedTo=[],this.id="cdk-drop-list-"+wO++,this.enterPredicate=()=>!0,this.dropped=new qc,this.entered=new qc,this.exited=new qc,this.sorted=new qc,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._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),s&&s._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Nm(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()}start(){this._dropListRef.start()}drop(t,e,i,n){this._dropListRef.drop(t._dragRef,e,i._dropListRef,n,{x:0,y:0})}enter(t,e,i){this._dropListRef.enter(t._dragRef,e,i)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Dp(this._dir.value),f_(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=Fm(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&&this._scrollDispatcher){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=Nm(this.sortingDisabled),e.autoScrollDisabled=Nm(this.autoScrollDisabled),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}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:e,draggingDisabled:i,sortingDisabled:n,listAutoScrollDisabled:r,listOrientation:s}=t;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=r&&r,this.orientation=s||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(lO),zo(Ws),zo(q_,8),zo(yO,12),zo(K_),zo(gO,8))},t.\u0275dir=be({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(Ca("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"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Na([{provide:yO,useValue:void 0},{provide:mO,useExisting:t}])]}),t._dropLists=[],t})(),AO=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[lO],imports:[G_]}),t})();const vO=["*"];class TO{constructor(t){this._elementRef=t}}const kO=tA(QM(ZM(TO),"primary"),-1);let SO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"]}),t})(),CO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"]}),t})(),LO=(()=>{class t extends kO{constructor(t,e,i,n,r,s,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 qc,this.destroyed=new qc,this.removed=new qc,this._addHostClassName(),this._chipRippleTarget=(a||document).createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new AA(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===r,this.tabIndex=null!=o&&parseInt(o)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=Nm(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=Nm(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=Nm(t)}get removable(){return this._removable}set removable(t){this._removable=Nm(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._markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())}toggleSelected(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),this._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.asObservable().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})}_markForCheck(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(xu),zo(z_),zo(vA,8),zo(FM,8),zo(Ws),xo("tabindex"),zo(cl,8))},t.\u0275dir=be({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,SO,!0),iu(i,CO,!0),iu(i,EO,!0)),2&t&&(Qc(n=su())&&(e.avatar=n.first),Qc(n=su())&&(e.trailingIcon=n.first),Qc(n=su())&&(e.removeIcon=n.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&Yo("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&&(ko("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:[ho]}),t})(),EO=(()=>{class t{constructor(t,e){this._parentChip=t,e&&"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}_handleClick(t){const e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(zo(LO),zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&Yo("click",(function(t){return e._handleClick(t)}))}}),t})();const zO=new It("mat-chips-default-options");class xO{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const RO=eA(xO);let OO=0;class DO{constructor(t,e){this.source=t,this.value=e}}let PO=(()=>{class t extends RO{constructor(t,e,i,n,r,s,o){super(s,n,r,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-"+OO++,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 qc,this.valueChange=new qc,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=Nm(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=Nm(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)&&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=Nm(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=Nm(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 ty(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(f_(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe(f_(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(Dp(null),f_(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 W_(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}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;8===t.keyCode&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(36===t.keyCode?(this._keyManager.setFirstItemActive(),t.preventDefault()):35===t.keyCode?(this._keyManager.setLastItemActive(),t.preventDefault()):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 DO(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.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)(zo(Ha),zo(Ws),zo(q_,8),zo(eC,8),zo(lC,8),zo(pA),zo(cS,10))},t.\u0275cmp=de({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){var n;1&t&&iu(i,LO,!0),2&t&&Qc(n=su())&&(e.chips=n)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&Yo("focus",(function(){return e.focus()}))("blur",(function(){return e._blur()}))("keydown",(function(t){return e._keydown(t)})),2&t&&(Ca("id",e._uid),ko("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:[Na([{provide:Bk,useExisting:t}]),ho],ngContentSelectors:vO,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),$o(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})(),NO=0,IO=(()=>{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 qc,this.placeholder="",this.id="mat-chip-list-input-"+NO++,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=Nm(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=Nm(t)}get empty(){return!this._inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}_keydown(t){t&&9===t.keyCode&&!ob(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)}_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}),t&&t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this._inputElement.focus(t)}_isSeparatorKey(t){if(ob(t))return!1;const e=this.separatorKeyCodes,i=t.keyCode;return Array.isArray(e)?e.indexOf(i)>-1:e.has(i)}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(zO))},t.\u0275dir=be({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&Yo("keydown",(function(t){return e._keydown(t)}))("blur",(function(){return e._blur()}))("focus",(function(){return e._focus()}))("input",(function(){return e._onInput()})),2&t&&(Ca("id",e.id),ko("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:[xe]}),t})();const BO={separatorKeyCodes:[13]};let FO=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[pA,{provide:zO,useValue:BO}]}),t})();function HO(t,e){if(1&t){const t=Ho();Do(0,"mat-icon",9),Yo("mousedown",(function(){return ii(t),Xo(2).dragDisabled=!1})),Aa(1,"drag_indicator"),Po()}}function qO(t,e){if(1&t){const t=Ho();Do(0,"mat-icon",10),Yo("click",(function(){ii(t);const e=Xo().$implicit;return Xo().edit(e)})),Aa(1,"edit"),Po()}}function jO(t,e){if(1&t){const t=Ho();Do(0,"mat-icon",11),Yo("click",(function(){ii(t);const e=Xo().$implicit;return Xo().remove(e)})),Aa(1,"cancel"),Po()}}function YO(t,e){if(1&t){const t=Ho();Do(0,"mat-chip",4),Yo("removed",(function(){ii(t);const i=e.$implicit,n=Xo();return n.remove(i),n._sendEventToParent()})),Lo(1,HO,2,0,"mat-icon",5),Do(2,"div",6),Yo("click",(function(){ii(t);const i=e.$implicit,n=Xo();return n.readonly&&void 0!==n.attribute.displayName&&n.showValue(i,n.attribute.displayName)})),Aa(3),Po(),Lo(4,qO,2,0,"mat-icon",7),Lo(5,jO,2,0,"mat-icon",8),Po()}if(2&t){const t=e.$implicit,i=Xo();Ro("selectable",i.selectable)("cdkDragData",t)("removable",i.removable),Ar(1),Ro("ngIf",i.removable),Ar(1),ua("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),Ar(1),va(t),Ar(1),Ro("ngIf",i.removable),Ar(1),Ro("ngIf",i.removable)}}function WO(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"more_horiz"),Po())}function UO(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"keyboard_arrow_up"),Po())}function KO(t,e){if(1&t){const t=Ho();Do(0,"div",12),Do(1,"span",13),Do(2,"button",14),Yo("click",(function(){return ii(t),Xo().onShowChange()})),Lo(3,WO,2,0,"mat-icon",15),Lo(4,UO,2,0,"mat-icon",15),Po(),Po(),Po()}if(2&t){const t=Xo();Ar(1),Ro("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),Ar(2),Ro("ngIf",!t.showMore),Ar(1),Ro("ngIf",t.showMore)}}function VO(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",12),Do(1,"input",16),Yo("matChipInputTokenEnd",(function(e){return ii(t),Xo().add(e)}))("change",(function(){return ii(t),Xo()._sendEventToParent()})),Po(),Po()}if(2&t){const t=Xo(),e=Eo(2);Ar(1),Ro("matChipInputFor",e)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}}let XO=(()=>{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 qc,this.readonly=!1}ngOnInit(){this.removable=!av(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=av(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=ov();e.width="400px",e.data={name:t},this.dialog.open(wL,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,ZR(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}edit(t){const e=this.attribute.value.indexOf(t),i=ov();i.width="600px",i.data={attribute:this.attribute,index:e},this.dialog.open(yL,i).afterClosed().subscribe(t=>{t&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(t,e){const i=ov();i.width="350px",i.data={value:t,title:e},this.dialog.open(bL,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)(zo(QA))},t.\u0275cmp=de({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),Yo("cdkDropListDropped",(function(t){return e.drop(t),e._sendEventToParent()})),Lo(3,YO,6,9,"mat-chip",2),Lo(4,KO,5,4,"div",3),Lo(5,VO,2,3,"mat-form-field",3),Po(),Po()),2&t&&(Ar(1),Ro("cdkDropListDisabled",e.dragDisabled),Ar(2),Ro("ngForOf",e.values.slice(0,e.itemsShown)),Ar(1),Ro("ngIf",e.values.length>e.defaultItemsShown),Ar(1),Ro("ngIf",!e.readonly))},directives:[PO,MO,sh,ah,LO,_O,aT,qx,qv,$k,SC,IO],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})(),GO=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new qc}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=av(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t,e){const i=ov();i.width="350px",i.data={value:t,title:e},this.dialog.open(bL,i)}}return t.\u0275fac=function(e){return new(e||t)(zo(QA))},t.\u0275cmp=de({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),Yo("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&&(Qo("appearance",e.readonly?"none":"standard"),Ar(1),ua("cursor-pointer",e.readonly&&void 0!==e.value),Ro("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[$k,SC,rS,lS,rC],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})(),JO=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new qc}ngOnInit(){this.readonly||(this.readonly=av(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t){const e=ov();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(bL,e)}}return t.\u0275fac=function(e){return new(e||t)(zo(QA))},t.\u0275cmp=de({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),Yo("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&&(Qo("appearance",e.readonly?"none":"standard"),Ar(1),ua("cursor-pointer",e.readonly&&void 0!==e.attribute.value),Ro("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[$k,SC,TS,rS,lS,rC],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const $O=["map"];function QO(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-boolean",3),Yo("sendEventToParent",(function(){return ii(t),Xo()._sendEventToParent2()})),Po()}if(2&t){const t=Xo();Ro("attribute",t.attribute)("readonly",t.readonly)}}function ZO(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-list",3),Yo("sendEventToParent",(function(){return ii(t),Xo()._sendEventToParent2()})),Po()}if(2&t){const t=Xo();Ro("attribute",t.attribute)("readonly",t.readonly)}}function tD(t,e){if(1&t&&No(0,"perun-web-apps-attribute-value-map",4,5),2&t){const t=Xo();Ro("attribute",t.attribute)("readonly",t.readonly)}}function eD(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-string",3),Yo("sendEventToParent",(function(){return ii(t),Xo()._sendEventToParent2()})),Po()}if(2&t){const t=Xo();Ro("attribute",t.attribute)("readonly",t.readonly)}}function iD(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-integer",3),Yo("sendEventToParent",(function(){return ii(t),Xo()._sendEventToParent2()})),Po()}if(2&t){const t=Xo();Ro("attribute",t.attribute)("readonly",t.readonly)}}let nD=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent2=new qc}ngOnInit(){}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=de({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){var i;1&t&&tu($O,!0),2&t&&Qc(i=su())&&(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&&(Do(0,"div"),Lo(1,QO,1,2,"perun-web-apps-attribute-value-boolean",0),Lo(2,ZO,1,2,"perun-web-apps-attribute-value-list",0),Do(3,"div",1),Yo("click",(function(){return e._sendEventToParent2()})),Lo(4,tD,2,2,"perun-web-apps-attribute-value-map",2),Po(),Lo(5,eD,1,2,"perun-web-apps-attribute-value-string",0),Lo(6,iD,1,2,"perun-web-apps-attribute-value-integer",0),Po()),2&t&&(Ar(1),Ro("ngIf","java.lang.Boolean"===e.attribute.type),Ar(1),Ro("ngIf","java.util.ArrayList"===e.attribute.type),Ar(2),Ro("ngIf","java.util.LinkedHashMap"===e.attribute.type),Ar(1),Ro("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),Ar(1),Ro("ngIf","java.lang.Integer"===e.attribute.type))},directives:[ah,RR,XO,mR,GO,JO],styles:[""]}),t})();function rD(t,e){1&t&&No(0,"mat-spinner",3)}function sD(t,e){if(1&t){const t=Ho();Do(0,"mat-option",17),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo(4).changeLanguage(i)})),Aa(1),Po()}if(2&t){const t=e.$implicit;Ro("value",t),Ar(1),Ta(" ",t," ")}}function oD(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",14),Do(1,"mat-select",15),Yo("valueChange",(function(e){return ii(t),Xo(3).currentLang=e})),Lo(2,sD,2,2,"mat-option",16),Po(),Po()}if(2&t){const t=Xo(3);Ar(1),Ro("value",t.currentLang),Ar(1),Ro("ngForOf",t.languages)}}function aD(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"a",18),Aa(2),Po(),Do(3,"button",19),Yo("click",(function(){return ii(t),Xo(3).changeEmail()})),Aa(4),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Po()}if(2&t){const t=Xo(3);Ar(1),Zo("href","mailto:",t.email,"",nr),Ar(1),va(t.email),Ar(2),va(Ic(5,3,Ic(6,5,"PROFILE_PAGE.CHANGE_EMAIL")))}}function cD(t,e){if(1&t){const t=Ho();Do(0,"mat-option",17),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo(4).changeTimeZone(i)})),Aa(1),Po()}if(2&t){const t=e.$implicit;Ro("value",t),Ar(1),Ta(" ",t," ")}}function uD(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",20),Do(1,"mat-select",21),Yo("valueChange",(function(e){return ii(t),Xo(3).currentTimezone=e})),Lo(2,cD,2,2,"mat-option",16),Po(),Po()}if(2&t){const t=Xo(3);Ar(1),Ro("value",t.currentTimezone),Ar(1),Ro("ngForOf",t.timeZones)}}function lD(t,e){1&t&&(Do(0,"p"),Aa(1,"-"),Po())}function hD(t,e){1&t&&No(0,"perun-web-apps-attribute-value",24),2&t&&Ro("attribute",Xo(2).$implicit.attribute)("readonly",!0)}function dD(t,e){if(1&t&&(Do(0,"div"),Lo(1,lD,2,0,"p",22),Lo(2,hD,1,2,"perun-web-apps-attribute-value",23),Po()),2&t){const t=Xo().$implicit;Ar(1),Ro("ngIf",!t.attribute.value),Ar(1),Ro("ngIf",t.attribute.value)}}function pD(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,oD,3,2,"mat-form-field",10),Lo(6,aD,7,7,"div",11),Lo(7,uD,3,2,"mat-form-field",12),Lo(8,dD,3,2,"div",13),Po(),Po()),2&t){const t=e.$implicit,i=Xo(2);Ar(2),Ro("matTooltip","en"===i.translateService.currentLang?t.tooltip_en:t.tooltip_cz),Ar(1),va("en"===i.translateService.currentLang?t.displayName_en:t.displayName_cz),Ar(1),Ro("ngSwitch",t.attribute.friendlyName),Ar(1),Ro("ngSwitchCase","preferredLanguage"),Ar(1),Ro("ngSwitchCase","preferredMail"),Ar(1),Ro("ngSwitchCase","timezone")}}function fD(t,e){if(1&t&&(Do(0,"table",4),Do(1,"tbody"),Do(2,"tr"),Do(3,"td",5),Aa(4),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Do(7,"td"),Aa(8),Po(),Po(),Lo(9,pD,9,6,"tr",6),Po(),Po()),2&t){const t=Xo();Ar(4),va(Ic(5,3,Ic(6,5,"PROFILE_PAGE.NAME"))),Ar(4),va(t.fullName),Ar(1),Ro("ngForOf",t.additionalAttributes)}}let gD=(()=>{class t{constructor(t,e,i,n,r,s,o,a,c,u){this.translateService=t,this.dialog=e,this.authzResolverService=i,this.attributesManagerService=n,this.usersManagerService=r,this.route=s,this.router=o,this.notificator=a,this.storeService=c,this.apiRequestConfiguration=u,this.currentLang="en",this.languages=["en","cs"],this.timeZones=Sx.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("i"),n=t.get("m"),r=t.get("u");this.loading=!0,i&&n&&r?this.usersManagerService.validatePreferredEmailChange(i,n,Number.parseInt(r,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()}):e&&r?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(e,Number.parseInt(r,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const t=ov();t.width="600px",this.dialog.open(CL,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 JC).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");let n=0;i.forEach(e=>{var r,s;const o=t.userAttributes.find(t=>t.friendlyName===e.friendly_name);o?(n++,this.additionalAttributes.push({attribute:o,displayName_en:e.display_name_en&&e.display_name_en.length?e.display_name_en:o.displayName,displayName_cz:e.display_name_cz&&e.display_name_cz.length?e.display_name_cz:o.displayName,tooltip_en:null!==(r=e.tooltip_en)&&void 0!==r?r:"",tooltip_cz:null!==(s=e.tooltip_cz)&&void 0!==s?s:""})):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${e.is_virtual?"virt":"def"}:${e.friendly_name}`).subscribe(t=>{var r,s;this.additionalAttributes.push({attribute:t,displayName_en:e.display_name_en&&e.display_name_en.length?e.display_name_en:t.displayName,displayName_cz:e.display_name_cz&&e.display_name_cz.length?e.display_name_cz:t.displayName,tooltip_en:null!==(r=e.tooltip_en)&&void 0!==r?r:"",tooltip_cz:null!==(s=e.tooltip_cz)&&void 0!==s?s:""}),n++,this.loading=n!==i.length}),this.loading=n!==i.length})})})}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=ov();t.width="350px",t.data={userId:this.userId},this.dialog.open(SL,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)(zo(Ov),zo(QA),zo(Kd),zo(Ud),zo(Qd),zo(Jf),zo(hm),zo(lT),zo(Pm),zo(hT))},t.\u0275cmp=de({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","lang-field-width center-self",4,"ngSwitchCase"],[4,"ngSwitchCase"],["class","center-self",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"lang-field-width","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"],[1,"center-self"],[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,rD,1,0,"mat-spinner",1),Lo(2,fD,10,7,"table",2),Po()),2&t&&(Ar(1),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading))},directives:[ah,IC,sh,qx,hh,dh,ph,$k,cR,NA,qv,nD],pipes:[Dv,$C],styles:[".lang-field-width[_ngcontent-%COMP%]{width:50px}.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})();function mD(t,e){if(1&t&&(Do(0,"mat-option",19),Aa(1),Po()),2&t){const t=e.$implicit;Ro("value",t),Ar(1),Ta(" ",t," ")}}function _D(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",16),Do(1,"mat-select",17),Yo("selectionChange",(function(e){return ii(t),Xo(2)._changePageSize(e.value)})),Lo(2,mD,2,2,"mat-option",18),Po(),Po()}if(2&t){const t=Xo(2);Ro("color",t.color),Ar(1),Ro("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),Ar(1),Ro("ngForOf",t._displayedPageSizeOptions)}}function bD(t,e){if(1&t&&(Do(0,"div",20),Aa(1),Po()),2&t){const t=Xo(2);Ar(1),va(t.pageSize)}}function yD(t,e){if(1&t&&(Do(0,"div",12),Do(1,"div",13),Aa(2),Po(),Lo(3,_D,3,5,"mat-form-field",14),Lo(4,bD,2,1,"div",15),Po()),2&t){const t=Xo();Ar(2),Ta(" ",t._intl.itemsPerPageLabel," "),Ar(1),Ro("ngIf",t._displayedPageSizeOptions.length>1),Ar(1),Ro("ngIf",t._displayedPageSizeOptions.length<=1)}}function wD(t,e){if(1&t){const t=Ho();Do(0,"button",21),Yo("click",(function(){return ii(t),Xo().firstPage()})),Li(),Do(1,"svg",7),No(2,"path",22),Po(),Po()}if(2&t){const t=Xo();Ro("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),ko("aria-label",t._intl.firstPageLabel)}}function MD(t,e){if(1&t){const t=Ho();Li(),Ei(),Do(0,"button",23),Yo("click",(function(){return ii(t),Xo().lastPage()})),Li(),Do(1,"svg",7),No(2,"path",24),Po(),Po()}if(2&t){const t=Xo();Ro("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),ko("aria-label",t._intl.lastPageLabel)}}let AD=(()=>{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=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const vD={provide:AD,deps:[[new nt,new st,AD]],useFactory:function(t){return t||new AD}},TD=new It("MAT_PAGINATOR_DEFAULT_OPTIONS");class kD{}const SD=$M(iA(kD));let CD=(()=>{class t extends SD{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 qc,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:r}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Im(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Im(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Im(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Im(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Nm(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Nm(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)(zo(AD),zo(Ws),zo(TD,8))},t.\u0275cmp=de({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[ho],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,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"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,yD,5,3,"div",2),Do(3,"div",3),Do(4,"div",4),Aa(5),Po(),Lo(6,wD,3,5,"button",5),Do(7,"button",6),Yo("click",(function(){return e.previousPage()})),Li(),Do(8,"svg",7),No(9,"path",8),Po(),Po(),Ei(),Do(10,"button",9),Yo("click",(function(){return e.nextPage()})),Li(),Do(11,"svg",7),No(12,"path",10),Po(),Po(),Lo(13,MD,3,5,"button",11),Po(),Po(),Po()),2&t&&(Ar(2),Ro("ngIf",!e.hidePageSize),Ar(3),Ta(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),Ar(1),Ro("ngIf",e.showFirstLastButtons),Ar(1),Ro("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ko("aria-label",e._intl.previousPageLabel),Ar(3),Ro("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ko("aria-label",e._intl.nextPageLabel),Ar(3),Ro("ngIf",e.showFirstLastButtons))},directives:[ah,qv,qx,$k,cR,sh,NA],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;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})(),LD=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[vD],imports:[[Ah,jv,uR,Yx]]}),t})();const ED=["mat-sort-header",""];function zD(t,e){if(1&t){const t=Ho();Do(0,"div",3),Yo("@arrowPosition.start",(function(){return ii(t),Xo()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return ii(t),Xo()._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=Xo();Ro("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),Ar(2),Ro("@indicator",t._getArrowDirectionState()),Ar(1),Ro("@leftPointer",t._getArrowDirectionState()),Ar(1),Ro("@rightPointer",t._getArrowDirectionState())}}const xD=["*"];class RD{}const OD=iA($M(RD));let DD=(()=>{class t extends OD{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new v,this.start="asc",this._direction="",this.sortChange=new qc}get direction(){return this._direction}set direction(t){if(xn()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Nm(t)}register(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error(`Cannot have two MatSortables with the same id (${t.id}).`);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){if(!t)return"";let e=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),i=e.indexOf(this.direction)+1;return i>=e.length&&(i=0),e[i]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return PD(e||t)},t.\u0275dir=be({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:[ho,xe]}),t})();const PD=gn(DD),ND=VM.ENTERING+" "+KM.STANDARD_CURVE,ID={indicator:by("indicator",[vy("active-asc, asc",Ay({transform:"translateY(0px)"})),vy("active-desc, desc",Ay({transform:"translateY(10px)"})),ky("active-asc <=> active-desc",yy(ND))]),leftPointer:by("leftPointer",[vy("active-asc, asc",Ay({transform:"rotate(-45deg)"})),vy("active-desc, desc",Ay({transform:"rotate(45deg)"})),ky("active-asc <=> active-desc",yy(ND))]),rightPointer:by("rightPointer",[vy("active-asc, asc",Ay({transform:"rotate(45deg)"})),vy("active-desc, desc",Ay({transform:"rotate(-45deg)"})),ky("active-asc <=> active-desc",yy(ND))]),arrowOpacity:by("arrowOpacity",[vy("desc-to-active, asc-to-active, active",Ay({opacity:1})),vy("desc-to-hint, asc-to-hint, hint",Ay({opacity:.54})),vy("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Ay({opacity:0})),ky("* => asc, * => desc, * => active, * => hint, * => void",yy("0ms")),ky("* <=> *",yy(ND))]),arrowPosition:by("arrowPosition",[ky("* => desc-to-hint, * => desc-to-active",yy(ND,Ty([Ay({transform:"translateY(-25%)"}),Ay({transform:"translateY(0)"})]))),ky("* => hint-to-desc, * => active-to-desc",yy(ND,Ty([Ay({transform:"translateY(0)"}),Ay({transform:"translateY(25%)"})]))),ky("* => asc-to-hint, * => asc-to-active",yy(ND,Ty([Ay({transform:"translateY(25%)"}),Ay({transform:"translateY(0)"})]))),ky("* => hint-to-asc, * => active-to-asc",yy(ND,Ty([Ay({transform:"translateY(0)"}),Ay({transform:"translateY(-25%)"})]))),vy("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Ay({transform:"translateY(0)"})),vy("hint-to-desc, active-to-desc, desc",Ay({transform:"translateY(-25%)"})),vy("hint-to-asc, active-to-asc, asc",Ay({transform:"translateY(25%)"}))]),allowChildren:by("allowChildren",[ky("* <=> *",[Cy("@*",Sy(),{optional:!0})])])};let BD=(()=>{class t{constructor(){this.changes=new v,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const FD={provide:BD,deps:[[new nt,new st,BD]],useFactory:function(t){return t||new BD}};class HD{}const qD=$M(HD);let jD=(()=>{class t extends qD{constructor(t,e,i,n,r,s){if(super(),this._intl=t,this._sort=i,this._columnDef=n,this._focusMonitor=r,this._elementRef=s,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",!i)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");this._rerenderSubscription=U(i.sortChange,i._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()}),r&&s&&r.monitor(s,!0).subscribe(t=>this._setIndicatorHintVisible(!!t))}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Nm(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)}ngOnDestroy(){this._focusMonitor&&this._elementRef&&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})}_handleClick(){if(this._isDisabled())return;this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_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":null}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(zo(BD),zo(Ws),zo(DD,8),zo("MAT_SORT_HEADER_COLUMN_DEF",8),zo(dy),zo(Ha))},t.\u0275cmp=de({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&Yo("click",(function(){return e._handleClick()}))("mouseenter",(function(){return e._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return e._setIndicatorHintVisible(!1)})),2&t&&(ko("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:[ho],attrs:ED,ngContentSelectors:xD,decls:4,vars:7,consts:[[1,"mat-sort-header-container"],["type","button",1,"mat-sort-header-button","mat-focus-indicator"],["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,"button",1),$o(2),Po(),Lo(3,zD,6,6,"div",2),Po()),2&t&&(ua("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),Ar(1),ko("disabled",e._isDisabled()||null)("aria-label",e._intl.sortButtonLabel(e.id)),Ar(2),Ro("ngIf",e._renderArrow()))},directives:[ah],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor;position:relative}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-button,[mat-sort-header].cdk-program-focused .mat-sort-header-button{border-bottom:solid 1px currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.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:[ID.indicator,ID.leftPointer,ID.rightPointer,ID.arrowOpacity,ID.arrowPosition,ID.allowChildren]},changeDetection:0}),t})(),YD=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[FD],imports:[[Ah]]}),t})();function WD(t,e=c_){var i;const n=(i=t)instanceof Date&&!isNaN(+i)?+t-e.now():Math.abs(t);return t=>t.lift(new UD(n,e))}class UD{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new KD(t,this.delay,this.scheduler))}}class KD 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,r=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(r);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(KD.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new VD(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(v_.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(v_.createComplete()),this.unsubscribe()}}class VD{constructor(t,e){this.time=t,this.notification=e}}const XD=["mat-menu-item",""],GD=["*"];function JD(t,e){if(1&t){const t=Ho();Do(0,"div",0),Yo("keydown",(function(e){return ii(t),Xo()._handleKeydown(e)}))("click",(function(){return ii(t),Xo().closed.emit("click")}))("@transformMenu.start",(function(e){return ii(t),Xo()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return ii(t),Xo()._onAnimationDone(e)})),Do(1,"div",1),$o(2),Po(),Po()}if(2&t){const t=Xo();Ro("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),ko("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const $D={transformMenu:by("transformMenu",[vy("void",Ay({opacity:0,transform:"scale(0.8)"})),ky("void => enter",wy([Cy(".mat-menu-content, .mat-mdc-menu-content",yy("100ms linear",Ay({opacity:1}))),yy("120ms cubic-bezier(0, 0, 0.2, 1)",Ay({transform:"scale(1)"}))])),ky("* => void",yy("100ms 25ms linear",Ay({opacity:0})))]),fadeInItems:by("fadeInItems",[vy("showing",Ay({opacity:1})),ky("void => *",[Ay({opacity:0}),yy("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let QD=(()=>{class t{constructor(t,e,i,n,r,s,o){this._template=t,this._componentFactoryResolver=e,this._appRef=i,this._injector=n,this._viewContainerRef=r,this._document=s,this._changeDetectorRef=o,this._attached=new v}attach(t={}){this._portal||(this._portal=new tb(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new nb(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\u0275fac=function(e){return new(e||t)(zo(lc),zo(Fa),zo(Ju),zo(ao),zo(dc),zo(cl),zo(Ws))},t.\u0275dir=be({type:t,selectors:[["ng-template","matMenuContent",""]]}),t})();const ZD=new It("MAT_MENU_PANEL");class tP{}const eP=ZM($M(tP));let iP=(()=>{class t extends eP{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,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}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(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let i="";if(t.childNodes){const n=t.childNodes.length;for(let r=0;r{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 Yc,this._tabSubscription=h.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new v,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new qc,this.close=this.closed,this.panelId="mat-menu-panel-"+rP++}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Nm(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Nm(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 ty(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Dp(this._directDescendantItems),Cp(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(Dp(this._directDescendantItems),Cp(t=>U(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case 27:ob(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;case 36:case 35:ob(t)||(36===e?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault());break;default:38!==e&&40!==e||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.asObservable().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(Dp(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)(zo(Ha),zo(xu),zo(nP))},t.\u0275dir=be({type:t,contentQueries:function(t,e,i){var n;1&t&&(iu(i,QD,!0),iu(i,iP,!0),iu(i,iP,!1)),2&t&&(Qc(n=su())&&(e.lazyContent=n.first),Qc(n=su())&&(e._allItems=n),Qc(n=su())&&(e.items=n))},viewQuery:function(t,e){var i;1&t&&tu(lc,!0),2&t&&Qc(i=su())&&(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})(),oP=(()=>{class t extends sP{}return t.\u0275fac=function(e){return aP(e||t)},t.\u0275dir=be({type:t,features:[ho]}),t})();const aP=gn(oP);let cP=(()=>{class t extends oP{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(xu),zo(nP))},t.\u0275cmp=de({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Na([{provide:ZD,useExisting:oP},{provide:oP,useExisting:t}]),ho],ngContentSelectors:GD,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,JD,3,6,"ng-template"))},directives:[nh],styles:['.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.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:[$D.transformMenu,$D.fadeInItems]},changeDetection:0}),t})();const uP=new It("mat-menu-scroll-strategy"),lP={provide:uP,deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},hP=I_({passive:!0});let dP=(()=>{class t{constructor(t,e,i,n,r,s,o,a){this._overlay=t,this._element=e,this._viewContainerRef=i,this._parentMenu=r,this._menuItemInstance=s,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=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new qc,this.onMenuOpen=this.menuOpened,this.menuClosed=new qc,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,hP),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=n}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.asObservable().subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMenu||this._parentMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hP),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._parentMenu)}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 oP&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof oP?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ad(t=>"void"===t.toState),zp(1),f_(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}_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 gb({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",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,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[n,r],[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||(s="top"===n?"bottom":"top",o="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:s,overlayX:a,overlayY:n,offsetY:u},{originX:i,originY:s,overlayX:c,overlayY:n,offsetY:u},{originX:e,originY:o,overlayX:a,overlayY:r,offsetY:-u},{originX:i,originY:o,overlayX:c,overlayY:r,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments();return U(t,this._parentMenu?this._parentMenu.closed:sd(),this._parentMenu?this._parentMenu._hovered().pipe(ad(t=>t!==this._menuItemInstance),ad(()=>this._menuOpen)):sd(),e)}_handleMousedown(t){uy(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(ad(t=>t===this._menuItemInstance&&!t.disabled),WD(0,n_)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof oP&&this.menu._isAnimating?this.menu._animationDone.pipe(zp(1),WD(0,n_),f_(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new tb(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(zo(Rb),zo(Ha),zo(dc),zo(uP),zo(oP,8),zo(iP,10),zo(q_,8),zo(dy))},t.\u0275dir=be({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&Yo("mousedown",(function(t){return e._handleMousedown(t)}))("keydown",(function(t){return e._handleKeydown(t)}))("click",(function(t){return e._handleClick(t)})),2&t&&ko("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})(),pP=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[lP],imports:[JM]}),t})(),fP=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[lP],imports:[[Ah,JM,kA,Bb,pP],G_,JM,pP]}),t})(),gP=(()=>{class t{constructor(){this.exportData=new qc}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({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),Nc(8,"translate"),Po(),Po(),Do(9,"mat-menu",null,4),Do(11,"button",5),Yo("click",(function(){return e.exportData.emit("csv")})),Aa(12,"Csv"),Po(),Po(),Po()),2&t){const t=Eo(5),e=Eo(10);Ar(1),Ro("matMenuTriggerFor",t),Ar(5),Ro("matMenuTriggerFor",e),Ar(1),Ta(" ",Ic(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[qv,dP,aT,cP,iP],pipes:[Dv],styles:[".position-right[_ngcontent-%COMP%]{position:absolute;right:20px;margin:-1.25rem}"]}),t})(),mP=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha))},t.\u0275dir=be({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})(),_P=(()=>{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=be({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&Yo("mouseup",(function(t){return e.onClick(t)}))},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})(),bP=(()=>{class t{transform(t,...e){const i=t.find(t=>"mail"===t.friendlyName);return i?i.value.toString():"N/A"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"getMailFromAttributes",type:t,pure:!0}),t})();function yP(t,e){1&t&&No(0,"th",20)}function wP(t,e){if(1&t){const t=Ho();Do(0,"td",21),Do(1,"mat-checkbox",22),Yo("change",(function(i){ii(t);const n=e.$implicit,r=Xo();return i?r.selection.toggle(n):null}))("click",(function(e){return ii(t),e.stopPropagation()})),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function MP(t,e){1&t&&(Do(0,"th",23),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function AP(t,e){if(1&t&&(Do(0,"td",24),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.userExtSource.id)}}function vP(t,e){1&t&&(Do(0,"th",20),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function TP(t,e){if(1&t&&(Do(0,"td",24),Aa(1),Nc(2,"getMailFromAttributes"),Po()),2&t){const t=e.$implicit;Ar(1),va(Ic(2,1,t.attributes))}}function kP(t,e){if(1&t&&(Do(0,"th",23),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t){const t=Xo();Ar(1),va(Ic(2,1,Ic(3,3,t.extSourceNameHeader?t.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function SP(t,e){if(1&t&&(Do(0,"td",24),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.userExtSource.extSource.name)}}function CP(t,e){if(1&t&&(Do(0,"th",23),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t){const t=Xo();Ar(1),va(Ic(2,1,Ic(3,3,t.loginHeader?t.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function LP(t,e){if(1&t&&(Do(0,"td",24),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.userExtSource.login)}}function EP(t,e){1&t&&(Do(0,"th",23),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function zP(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Nc(2,"date"),Po()),2&t){const t=e.$implicit;Ar(1),va(Bc(2,1,t.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function xP(t,e){1&t&&No(0,"tr",26)}const RP=function(t,e){return["/admin","users",t,"identities",e]};function OP(t,e){if(1&t&&No(0,"tr",27),2&t){const t=e.$implicit,i=Xo();ua("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),Ro("routerLink",i.disableRouting?null:Rc(6,RP,i.userId,t.userExtSource.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:Rc(9,RP,i.userId,t.userExtSource.id))}}function DP(t,e){1&t&&(Do(0,"app-alert",28),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let PP=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e,this.selection=new W_,this.filterValue="",this.hideColumns=[],this.pageSize=5,this.page=new qc,this.pageSizeOptions=sv,this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"]}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.disableRouting||this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.setDataSource()}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new _k(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){hv(lv(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>uv(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>cv(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t.userExtSource)?"deselect":"select"} row ${t.userExtSource.id+1}`}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(Jf),zo(rp))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){var i;1&t&&(tu(CD,!0),Zc(DD,!0)),2&t&&(Qc(i=su())&&(e.paginator=i.first),Qc(i=su())&&(e.matSort=i.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",hideColumns:"hideColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[xe],decls:27,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(Do(0,"div",0),Do(1,"div",1),Do(2,"perun-web-apps-table-options",2),Yo("exportData",(function(t){return e.exportData(t)})),Po(),Do(3,"div",3),Do(4,"table",4),Io(5,5),Lo(6,yP,1,0,"th",6),Lo(7,wP,2,2,"td",7),Bo(),Io(8,8),Lo(9,MP,4,5,"th",9),Lo(10,AP,2,1,"td",10),Bo(),Io(11,11),Lo(12,vP,4,5,"th",6),Lo(13,TP,3,3,"td",10),Bo(),Io(14,12),Lo(15,kP,4,5,"th",9),Lo(16,SP,2,1,"td",10),Bo(),Io(17,13),Lo(18,CP,4,5,"th",9),Lo(19,LP,2,1,"td",10),Bo(),Io(20,14),Lo(21,EP,4,5,"th",9),Lo(22,zP,3,4,"td",15),Bo(),Lo(23,xP,1,0,"tr",16),Lo(24,OP,1,12,"tr",17),Po(),Po(),Do(25,"mat-paginator",18),Yo("page",(function(t){return e.pageChanged(t)})),Po(),Po(),Po(),Lo(26,DP,4,5,"app-alert",19)),2&t&&(Ro("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),Ar(4),Ro("dataSource",e.dataSource),Ar(19),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns),Ar(1),Ro("length",e.userExtSources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ar(1),Ro("ngIf",0===e.userExtSources.length))},directives:[gP,QT,DD,rk,ik,tk,ck,lk,CD,ah,ok,ak,CR,jD,dk,fk,dm,_P,vL],pipes:[Dv,$C,bP,Mh],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 NP(t,e){1&t&&No(0,"mat-spinner",3)}function IP(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"h1",8),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Do(5,"button",5),Yo("click",(function(){return ii(t),Xo(2).addIdentity()})),Aa(6),Nc(7,"translate"),Nc(8,"customTranslate"),Po(),Do(9,"button",6),Yo("click",(function(){ii(t);const e=Xo(2);return e.removeIdentity(e.certSelection)})),Aa(10),Nc(11,"translate"),Nc(12,"customTranslate"),Po(),No(13,"perun-web-apps-user-ext-sources-list",11),Po()}if(2&t){const t=Xo(2);Ar(2),va(Ic(3,10,Ic(4,12,"IDENTITIES.CERT"))),Ar(4),va(Ic(7,14,Ic(8,16,"IDENTITIES.ADD"))),Ar(3),Ro("disabled",0===t.certSelection.selected.length),Ar(1),va(Ic(11,18,Ic(12,20,"IDENTITIES.REMOVE"))),Ar(3),Ro("userExtSources",t.certExtSources)("selection",t.certSelection)("extSourceNameHeader",t.extSourceNameCert)("loginHeader",t.loginCert)("hideColumns",t.hiddenColumnsCert)("disableRouting",!0)}}function BP(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"h1",4),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Do(5,"button",5),Yo("click",(function(){return ii(t),Xo().addIdentity()})),Aa(6),Nc(7,"translate"),Nc(8,"customTranslate"),Po(),Do(9,"button",6),Yo("click",(function(){ii(t);const e=Xo();return e.removeIdentity(e.idpSelection)})),Aa(10),Nc(11,"translate"),Nc(12,"customTranslate"),Po(),No(13,"perun-web-apps-user-ext-sources-list",7),Lo(14,IP,14,22,"div",2),Do(15,"h1",8),Aa(16),Nc(17,"translate"),Nc(18,"customTranslate"),Do(19,"mat-icon",9),Nc(20,"translate"),Nc(21,"customTranslate"),Aa(22," info_outline "),Po(),Po(),Do(23,"button",6),Yo("click",(function(){ii(t);const e=Xo();return e.removeIdentity(e.otherSelection)})),Aa(24),Nc(25,"translate"),Nc(26,"customTranslate"),Po(),No(27,"perun-web-apps-user-ext-sources-list",10),Po()}if(2&t){const t=Xo();Ar(2),va(Ic(3,19,Ic(4,21,"IDENTITIES.IDP"))),Ar(4),va(Ic(7,23,Ic(8,25,"IDENTITIES.ADD"))),Ar(3),Ro("disabled",0===t.idpSelection.selected.length),Ar(1),va(Ic(11,27,Ic(12,29,"IDENTITIES.REMOVE"))),Ar(3),Ro("userExtSources",t.idpExtSources)("selection",t.idpSelection)("hideColumns",t.hiddenColumnsIdp)("loginHeader",t.loginIdp)("disableRouting",!0),Ar(1),Ro("ngIf",t.displayCertificates),Ar(2),Ta(" ",Ic(17,31,Ic(18,33,"IDENTITIES.OTHER"))," "),Ar(3),Ro("matTooltip",Ic(20,35,Ic(21,37,"IDENTITIES.OTHER_TOOLTIP"))),Ar(4),Ro("disabled",0===t.otherSelection.selected.length),Ar(1),va(Ic(25,39,Ic(26,41,"IDENTITIES.REMOVE"))),Ar(3),Ro("userExtSources",t.otherExtSources)("selection",t.otherSelection)("extSourceNameHeader",t.extSourceNameOther)("hideColumns",t.hiddenColumnsOther)("disableRouting",!0)}}let FP=(()=>{class t{constructor(t,e,i,n,r){this.usersManagerService=t,this.storage=e,this.registrarManagerService=i,this.dialog=n,this.attributesManagerService=r,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new W_(!0,[]),this.certSelection=new W_(!0,[]),this.otherSelection=new W_(!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.hiddenColumnsIdp=["id","mail"],this.hiddenColumnsCert=["id","mail"],this.hiddenColumnsOther=["mail","id"]}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=ov();e.width="600px",e.data={theme:"user-theme",userId:this.userId,extSources:t.selected},this.dialog.open(_L,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)(zo(Qd),zo(Pm),zo(Jd),zo(QA),zo(Ud))},t.\u0275cmp=de({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","hideColumns","loginHeader","disableRouting"],[1,"page-title","mt-5"],["matTooltipPosition","above",1,"center-icon",3,"matTooltip"],[3,"userExtSources","selection","extSourceNameHeader","hideColumns","disableRouting"],[3,"userExtSources","selection","extSourceNameHeader","loginHeader","hideColumns","disableRouting"]],template:function(t,e){1&t&&(Do(0,"div",0),Lo(1,NP,1,0,"mat-spinner",1),Lo(2,BP,28,43,"div",2),Po()),2&t&&(Ar(1),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading))},directives:[ah,IC,qv,PP,aT,qx],pipes:[Dv,$C],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),t})();const HP=["panel"];function qP(t,e){if(1&t&&(Do(0,"div",0,1),$o(2),Po()),2&t){const t=Xo();Ro("id",t.id)("ngClass",t._classList)}}const jP=["*"];let YP=0;class WP{constructor(t,e){this.source=t,this.option=e}}class UP{}const KP=ZM(UP),VP=new It("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let XP=(()=>{class t extends KP{constructor(t,e,i){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=h.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new qc,this.opened=new qc,this.closed=new qc,this.optionActivated=new qc,this._classList={},this.id="mat-autocomplete-"+YP++,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Nm(t)}set classList(t){this._classList=t&&t.length?t.split(" ").reduce((t,e)=>(t[e.trim()]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Zb(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 WP(this,t);this.optionSelected.emit(e)}_setVisibilityClasses(t){t["mat-autocomplete-visible"]=this.showPanel,t["mat-autocomplete-hidden"]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(zo(Ws),zo(Ha),zo(VP))},t.\u0275cmp=de({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){var n;1&t&&(iu(i,NA,!0),iu(i,xA,!0)),2&t&&(Qc(n=su())&&(e.options=n),Qc(n=su())&&(e.optionGroups=n))},viewQuery:function(t,e){var i;1&t&&(Zc(lc,!0),tu(HP,!0)),2&t&&(Qc(i=su())&&(e.template=i.first),Qc(i=su())&&(e.panel=i.first))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple",displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[Na([{provide:PA,useExisting:t}]),ho],ngContentSelectors:jP,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(Jo(),Lo(0,qP,3,2,"ng-template"))},directives:[nh],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}\n"],encapsulation:2,changeDetection:0}),t})();const GP=new It("mat-autocomplete-scroll-strategy"),JP={provide:GP,deps:[Rb],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},$P={provide:Zk,useExisting:At(()=>QP),multi:!0};let QP=(()=>{class t{constructor(t,e,i,n,r,s,o,a,c,u){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=n,this._changeDetectorRef=r,this._dir=o,this._formField=a,this._document=c,this._viewportRuler=u,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=fp(()=>this.autocomplete&&this.autocomplete.options?U(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.asObservable().pipe(zp(1),Cp(()=>this.optionSelections))),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Nm(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(ad(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ad(()=>this._overlayAttached)):sd()).pipe(P(t=>t instanceof DA?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return U(jm(this._document,"click"),jm(this._document,"touchend")).pipe(ad(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.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&&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()}}_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)}_scrollToOption(){const t=this.autocomplete._keyManager.activeItemIndex||0,e=IA(t,this.autocomplete.options,this.autocomplete.optionGroups);if(0===t&&1===e)this.autocomplete._setScrollTop(0);else{const i=BA(t+e,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(i)}}_subscribeToClosingActions(){return U(this._zone.onStable.asObservable().pipe(zp(1)),this.autocomplete.options.changes.pipe(jp(()=>this._positionStrategy.reapplyLastPosition()),WD(0))).pipe(Cp(()=>{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(){if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!F_(this._element.nativeElement));let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new tb(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(t=>{(27===t.keyCode||38===t.keyCode&&t.altKey)&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new gb({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}_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=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"}];let n;n="above"===this.position?i:"below"===this.position?e:[...e,...i],t.withPositions(n)}_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(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-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}}return t.\u0275fac=function(e){return new(e||t)(zo(Ha),zo(Rb),zo(dc),zo(xu),zo(Ws),zo(GP),zo(q_,8),zo(Jk,9),zo(cl,8),zo(X_))},t.\u0275dir=be({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&Yo("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&&ko("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)},inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},exportAs:["matAutocompleteTrigger"],features:[Na([$P]),xe]}),t})(),ZP=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[JP],imports:[[FA,Bb,JM,Ah],G_,FA,JM]}),t})(),tN=(()=>{class t{transform(t,e){return t&&t.value?t.value:"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"validateExpiration",type:t,pure:!0}),t})();function eN(t,e){1&t&&No(0,"th",18)}function iN(t,e){if(1&t){const t=Ho();Do(0,"td",19),Do(1,"mat-checkbox",20),Yo("click",(function(e){return ii(t),e.stopPropagation()}))("change",(function(i){ii(t);const n=e.$implicit,r=Xo();return i?r.selection.toggle(n):null})),Nc(2,"validateExpiration"),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("disabled","never"===Ic(2,3,t.expirationAttribute))("checked",i.selection.isSelected(t))("aria-label",i.checkboxLabel(t))}}function nN(t,e){1&t&&(Do(0,"th",18),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"MEMBERSHIP_LIST.NAME"))))}function rN(t,e){if(1&t&&(Do(0,"td",19),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.entity.name)}}function sN(t,e){1&t&&(Do(0,"th",18),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))))}function oN(t,e){if(1&t&&(Do(0,"td",21),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.entity.description)}}function aN(t,e){1&t&&(Do(0,"th",22),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"MEMBERSHIP_LIST.EXPIRATION"))))}function cN(t,e){if(1&t&&(Do(0,"td",21),Aa(1),Nc(2,"validateExpiration"),Po()),2&t){const t=e.$implicit;Ar(1),Ta(" ",Ic(2,1,t.expirationAttribute)," ")}}function uN(t,e){1&t&&No(0,"th",18)}function lN(t,e){if(1&t){const t=Ho();Do(0,"td",21),Do(1,"button",23),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().extend(i)})),Nc(2,"validateExpiration"),Aa(3),Nc(4,"translate"),Nc(5,"customTranslate"),Po(),Po()}if(2&t){const t=e.$implicit;Ar(1),Ro("disabled","never"===Ic(2,2,t.expirationAttribute)),Ar(2),va(Ic(4,4,Ic(5,6,"MEMBERSHIP_LIST.EXTEND")))}}function hN(t,e){1&t&&No(0,"tr",24)}function dN(t,e){1&t&&No(0,"tr",25)}function pN(t,e){1&t&&(Do(0,"app-alert",26),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let fN=(()=>{class t{constructor(){this.members=[],this.searchString="",this.selection=new W_(!1,[]),this.hideColumns=[],this.pageSize=10,this.filterValue="",this.extendMembership=new qc,this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.pageSizeOptions=sv}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.paginator}ngOnChanges(t){this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource=new _k(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){hv(lv(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hideColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>uv(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>cv(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.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=de({type:t,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(t,e){var i;1&t&&(Zc(DD,!0),tu(CD,!0)),2&t&&(Qc(i=su())&&(e.matSort=i.first),Qc(i=su())&&(e.paginator=i.first))},inputs:{members:"members",searchString:"searchString",selection:"selection",hideColumns:"hideColumns",pageSize:"pageSize",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[xe],decls:24,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",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"],["mat-row","","class","dark-hover-list-item",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"disabled","checked","aria-label","click","change"],["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,"div",1),Do(2,"perun-web-apps-table-options",2),Yo("exportData",(function(t){return e.exportData(t)})),Po(),Do(3,"div",3),Do(4,"table",4),Io(5,5),Lo(6,eN,1,0,"th",6),Lo(7,iN,3,5,"td",7),Bo(),Io(8,8),Lo(9,nN,4,5,"th",6),Lo(10,rN,2,1,"td",7),Bo(),Io(11,9),Lo(12,sN,4,5,"th",6),Lo(13,oN,2,1,"td",10),Bo(),Io(14,11),Lo(15,aN,4,5,"th",12),Lo(16,cN,3,3,"td",10),Bo(),Io(17,13),Lo(18,uN,1,0,"th",6),Lo(19,lN,6,8,"td",10),Bo(),Lo(20,hN,1,0,"tr",14),Lo(21,dN,1,0,"tr",15),Po(),Po(),No(22,"mat-paginator",16),Po(),Po(),Lo(23,pN,4,5,"app-alert",17)),2&t&&(Ro("hidden",!e.dataSource.filteredData.length),Ar(4),Ro("dataSource",e.dataSource),Ar(16),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns),Ar(1),Ro("length",e.members.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ar(1),Ro("ngIf",!e.dataSource.filteredData.length))},directives:[gP,QT,DD,rk,ik,tk,ck,lk,CD,ah,ok,ak,CR,jD,qv,dk,fk,vL],pipes:[tN,Dv,$C],styles:[""]}),t})();function gN(t,e){if(1&t&&(Do(0,"mat-option",13),Aa(1),Po()),2&t){const t=e.$implicit;Ro("value",t),Ar(1),Ta(" ",t.name," ")}}function mN(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",7),Do(1,"mat-label"),Aa(2),Nc(3,"translate"),Po(),No(4,"input",8),Nc(5,"translate"),Nc(6,"customTranslate"),Do(7,"mat-autocomplete",9,10),Yo("optionSelected",(function(e){return ii(t),Xo().filterByVo(e)})),Do(9,"mat-option",11),Aa(10),Nc(11,"translate"),Nc(12,"customTranslate"),Po(),Lo(13,gN,2,2,"mat-option",12),Nc(14,"async"),Po(),Po()}if(2&t){const t=Eo(8),e=Xo();Ar(2),va(Ic(3,7,"GROUPS.SELECT_VO")),Ar(2),Qo("placeholder",Ic(5,9,Ic(6,11,"GROUPS.SELECT_VO"))),Ro("formControl",e.myControl)("matAutocomplete",t),Ar(3),Ro("displayWith",e.displayFn),Ar(3),va(Ic(11,13,Ic(12,15,"GROUPS.ALL"))),Ar(3),Ro("ngForOf",Ic(14,17,e.filteredVos))}}function _N(t,e){1&t&&No(0,"mat-spinner",14)}function bN(t,e){1&t&&(Do(0,"app-alert",15),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"GROUPS.NO_GROUPS"))))}const yN=function(){return["checkbox"]};function wN(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"h4",16),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Do(5,"perun-web-apps-membership-list",17),Yo("extendMembership",(function(e){return ii(t),Xo().extendMembership(e)})),Po(),Po()}if(2&t){const t=Xo();Ar(2),va(Ic(3,4,Ic(4,6,"GROUPS.MEMBER_GROUPS"))),Ar(3),Ro("members",t.userMemberships)("selection",t.selection)("hideColumns",zc(8,yN))}}const MN=function(){return["checkbox","expirationAttribute","extend"]};function AN(t,e){if(1&t&&(Do(0,"div",18),Do(1,"h4",16),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),No(5,"perun-web-apps-membership-list",19),Po()),2&t){const t=Xo();Ar(2),va(Ic(3,3,Ic(4,5,"GROUPS.ADMINS_GROUPS"))),Ar(3),Ro("members",t.adminMemberships)("hideColumns",zc(7,MN))}}let vN=(()=>{class t{constructor(t,e,i,n,r,s){this.usersService=t,this.memberService=e,this.groupService=i,this.store=n,this.vosManagerService=r,this.attributesManagerService=s,this.loading=!1,this.vos=[],this.myControl=new JS,this.selection=new W_(!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(Dp(""),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)(zo(Qd),zo(Xd),zo(Vd),zo(Pm),zo(Zd),zo(Ud))},t.\u0275cmp=de({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","hideColumns","extendMembership"],[1,"mt-5"],[3,"members","hideColumns"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,mN,15,19,"mat-form-field",2),Lo(6,_N,1,0,"mat-spinner",3),Lo(7,bN,4,5,"app-alert",4),Lo(8,wN,6,9,"div",5),Lo(9,AN,6,8,"div",6),Po()),2&t&&(Ar(1),va(Ic(2,6,Ic(3,8,"GROUPS.TITLE"))),Ar(4),Ro("ngIf",!e.loading),Ar(1),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.userMemberships.length&&!e.adminMemberships.length&&!e.loading),Ar(1),Ro("ngIf",!e.loading&&0!==e.userMemberships.length),Ar(1),Ro("ngIf",!e.loading&&0!==e.adminMemberships.length))},directives:[ah,$k,jk,SC,rS,QP,lS,cC,XP,NA,sh,IC,vL,fN],pipes:[Dv,$C,wh],styles:[""]}),t})();function TN(t,e){if(1&t&&(No(0,"input",3),Nc(1,"translate")),2&t){const t=Xo();Qo("placeholder",Ic(1,2,t.placeholder)),Ro("formControl",t.formControl)}}function kN(t,e){if(1&t&&(No(0,"input",4),Nc(1,"translate")),2&t){const t=Xo();Qo("placeholder",Ic(1,2,t.placeholder)),Ro("formControl",t.formControl)}}let SN=(()=>{class t{constructor(){this.filter=new qc,this.autoFocus=!1,this.formControl=new JS}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=de({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,TN,2,4,"input",1),Lo(2,kN,2,4,"input",2),Po()),2&t&&(Ar(1),Ro("ngIf",e.autoFocus),Ar(1),Ro("ngIf",!e.autoFocus))},directives:[$k,ah,SC,rS,mP,lS,cC],pipes:[Dv],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important}"]}),t})(),CN=0,LN=(()=>{class t{constructor(){this._stateChanges=new v,this._openCloseAllActions=new v,this.id="cdk-accordion-"+CN++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Nm(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[xe]}),t})(),EN=0,zN=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=h.EMPTY,this.closed=new qc,this.opened=new qc,this.destroyed=new qc,this.expandedChange=new qc,this.id="cdk-accordion-child-"+EN++,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=Nm(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=Nm(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)(zo(LN,12),zo(Ws),zo(U_))},t.\u0275dir=be({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Na([{provide:LN,useValue:void 0}])]}),t})(),xN=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})();const RN=["body"];function ON(t,e){}const DN=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],PN=["mat-expansion-panel-header","*","mat-action-row"],NN=function(t,e){return{collapsedHeight:t,expandedHeight:e}},IN=function(t,e){return{value:t,params:e}};function BN(t,e){1&t&&No(0,"span",2),2&t&&Ro("@indicatorRotate",Xo()._getExpandedState())}const FN=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],HN=["mat-panel-title","mat-panel-description","*"],qN=new It("MAT_ACCORDION"),jN={indicatorRotate:by("indicatorRotate",[vy("collapsed, void",Ay({transform:"rotate(0deg)"})),vy("expanded",Ay({transform:"rotate(180deg)"})),ky("expanded <=> collapsed, void => collapsed",yy("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:by("expansionHeight",[vy("collapsed, void",Ay({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),vy("expanded",Ay({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),ky("expanded <=> collapsed, void => collapsed",wy([Cy("@indicatorRotate",Sy(),{optional:!0}),yy("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:by("bodyExpansion",[vy("collapsed, void",Ay({height:"0px",visibility:"hidden"})),vy("expanded",Ay({height:"*",visibility:"visible"})),ky("expanded <=> collapsed, void => collapsed",yy("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let YN=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(zo(lc))},t.\u0275dir=be({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),WN=0;const UN=new It("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let KN=(()=>{class t extends zN{constructor(t,e,i,n,r,s,o){super(t,e,i),this._viewContainerRef=n,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new qc,this.afterCollapse=new qc,this._inputChanges=new v,this._headerId="mat-expansion-panel-header-"+WN++,this._bodyAnimationDone=new v,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe(s_((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=Nm(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(Dp(null),ad(()=>this.expanded&&!this._portal),zp(1)).subscribe(()=>{this._portal=new tb(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)(zo(qN,12),zo(Ws),zo(U_),zo(dc),zo(cl),zo(FM,8),zo(UN,8))},t.\u0275cmp=de({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){var n;1&t&&iu(i,YN,!0),2&t&&Qc(n=su())&&(e._lazyContent=n.first)},viewQuery:function(t,e){var i;1&t&&tu(RN,!0),2&t&&Qc(i=su())&&(e._body=i.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:[Na([{provide:qN,useValue:void 0}]),ho,xe],ngContentSelectors:PN,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(DN),$o(0),Do(1,"div",0,1),Yo("@bodyExpansion.done",(function(t){return e._bodyAnimationDone.next(t)})),Do(3,"div",2),$o(4,1),Lo(5,ON,0,0,"ng-template",3),Po(),$o(6,2),Po()),2&t&&(Ar(1),Ro("@bodyExpansion",e._getExpandedState())("id",e.id),ko("aria-labelledby",e._headerId),Ar(4),Ro("cdkPortalOutlet",e._portal))},directives:[rb],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:[jN.bodyExpansion]},changeDetection:0}),t})(),VN=(()=>{class t{constructor(t,e,i,n,r){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._parentChangeSubscription=h.EMPTY,this._animationsDisabled=!0;const s=t.accordion?t.accordion._stateChanges.pipe(ad(t=>!(!t.hideToggle&&!t.togglePosition))):dp;this._parentChangeSubscription=U(t.opened,t.closed,s,t._inputChanges.pipe(ad(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(ad(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),i.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}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}_keydown(t){switch(t.keyCode){case 32:case 13:ob(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(zo(KN,1),zo(Ha),zo(dy),zo(Ws),zo(UN,8))},t.\u0275cmp=de({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(t,e){1&t&&(Wo("@expansionHeight.start",(function(){return e._animationStarted()})),Yo("click",(function(){return e._toggle()}))("keydown",(function(t){return e._keydown(t)}))),2&t&&(ko("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),La("@.disabled",e._animationsDisabled)("@expansionHeight",Rc(16,IN,e._getExpandedState(),Rc(13,NN,e.collapsedHeight,e.expandedHeight))),ua("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:HN,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(FN),Do(0,"span",0),$o(1),$o(2,1),$o(3,2),Po(),Lo(4,BN,1,1,"span",1)),2&t&&(Ar(4),Ro("ngIf",e._showToggle()))},directives:[ah],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.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}\n'],encapsulation:2,data:{animation:[jN.indicatorRotate,jN.expansionHeaderHeight]},changeDetection:0}),t})(),XN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),GN=(()=>{class t extends LN{constructor(){super(...arguments),this._ownHeaders=new Yc,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Nm(t)}ngAfterContentInit(){this._headers.changes.pipe(Dp(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ty(this._ownHeaders).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,i=this._keyManager;36===e?ob(t)||(i.setFirstItemActive(),t.preventDefault()):35===e?ob(t)||(i.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}return t.\u0275fac=function(e){return JN(e||t)},t.\u0275dir=be({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){var n;1&t&&iu(i,VN,!0),2&t&&Qc(n=su())&&(e._headers=n)},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:[Na([{provide:qN,useExisting:t}]),ho]}),t})();const JN=gn(GN);let $N=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Ah,xN,sb]]}),t})();function QN(t,e){1&t&&(Do(0,"mat-icon",1),Nc(1,"translate"),Aa(2," visibility\n"),Po()),2&t&&Qo("matTooltip",Ic(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let ZN=(()=>{class t{constructor(){this.recentIds=[]}ngOnChanges(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},features:[xe],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,QN,3,3,"mat-icon",0),2&t&&Ro("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[ah,aT,qx],pipes:[Dv],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t})(),tI=(()=>{class t{transform(t,e){if(null==t)return null;let i="";return t.forEach((function(t){i=i.concat(t.tagName)})),i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ye({name:"resourceTagsToString",type:t,pure:!0}),t})();function eI(t,e){if(1&t){const t=Ho();Do(0,"th",22),Do(1,"mat-checkbox",23),Yo("change",(function(e){ii(t);const i=Xo();return e?i.masterToggle():null})),Po(),Po()}if(2&t){const t=Xo();Ar(1),Ro("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=Ho();Do(0,"td",24),Do(1,"mat-checkbox",25),Yo("change",(function(i){ii(t);const n=e.$implicit,r=Xo();return i?r.itemSelectionToggle(n):null}))("click",(function(e){return ii(t),e.stopPropagation()})),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function nI(t,e){1&t&&(Do(0,"th",26),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function rI(t,e){if(1&t&&(Do(0,"td",24),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.id)}}function sI(t,e){1&t&&No(0,"th",22)}function oI(t,e){if(1&t&&(Do(0,"td",27),No(1,"perun-web-apps-recently-viewed-icon",28),Po()),2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("recentIds",i.recentIds)("id",t.id)}}function aI(t,e){1&t&&(Do(0,"th",26),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function cI(t,e){if(1&t&&(Do(0,"td",27),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.name)}}function uI(t,e){1&t&&(Do(0,"th",26),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function lI(t,e){if(1&t&&(Do(0,"td",27),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.vo.name)}}function hI(t,e){1&t&&(Do(0,"th",26),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function dI(t,e){if(1&t&&(Do(0,"td",27),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.facility.name)}}function pI(t,e){1&t&&(Do(0,"th",26),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function fI(t,e){if(1&t&&(Do(0,"td",27),Aa(1),Nc(2,"resourceTagsToString"),Po()),2&t){const t=e.$implicit;Ar(1),va(Ic(2,1,t.resourceTags))}}function gI(t,e){1&t&&(Do(0,"th",26),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function mI(t,e){if(1&t&&(Do(0,"td",27),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.description)}}function _I(t,e){1&t&&No(0,"tr",29)}const bI=function(t){return[t]};function yI(t,e){if(1&t&&(No(0,"tr",30),Nc(1,"getResourceRoute"),Nc(2,"getResourceRoute")),2&t){const t=e.$implicit,i=Xo();ua("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),Ro("routerLink",i.disableRouting?null:Bc(1,6,t,i.routingVo))("perunWebAppsMiddleClickRouterLink",xc(12,bI,i.disableRouting?null:Bc(2,9,t,i.routingVo)))}}function wI(t,e){1&t&&(Do(0,"app-alert",31),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function MI(t,e){1&t&&(Do(0,"app-alert",31),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let AI=(()=>{class t{constructor(t,e){this.guiAuthResolver=t,this.tableCheckbox=e,this.resources=[],this.selection=new W_(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","facility","tags","description"],this.pageSizeOptions=sv,this.page=new qc,this.allSelected=new qc,this.removeAuth=!1,this.addAuth=!1}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.guiAuthResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new _k(this.resources),this.setDataSource(),this.dataSource.filter=this.filterValue,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 n="";return t.resourceTags.forEach((function(t){n=n.concat(t.tagName)})),n;default:return t[e]}}exportData(t){hv(lv(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>uv(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>cv(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}isAllSelected(){const t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.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.paginator.pageIndex,!1),this.setAuth()}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.paginator}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)(zo(rp),zo(gT))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){var i;1&t&&(Zc(DD,!0),Zc(CD,!0)),2&t&&(Qc(i=su())&&(e.matSort=i.first),Qc(i=su())&&(e.matPaginator=i.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds"},outputs:{page:"page",allSelected:"allSelected"},features:[xe],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(Do(0,"div",0),Do(1,"div",1),Do(2,"perun-web-apps-table-options",2),Yo("exportData",(function(t){return e.exportData(t)})),Po(),Do(3,"div",3),Do(4,"table",4),Io(5,5),Lo(6,eI,2,3,"th",6),Lo(7,iI,2,2,"td",7),Bo(),Io(8,8),Lo(9,nI,3,3,"th",9),Lo(10,rI,2,1,"td",10),Bo(),Io(11,11),Lo(12,sI,1,0,"th",6),Lo(13,oI,2,2,"td",12),Bo(),Io(14,13),Lo(15,aI,3,3,"th",9),Lo(16,cI,2,1,"td",12),Bo(),Io(17,14),Lo(18,uI,3,3,"th",9),Lo(19,lI,2,1,"td",12),Bo(),Io(20,15),Lo(21,hI,3,3,"th",9),Lo(22,dI,2,1,"td",12),Bo(),Io(23,16),Lo(24,pI,3,3,"th",9),Lo(25,fI,3,3,"td",12),Bo(),Io(26,17),Lo(27,gI,3,3,"th",9),Lo(28,mI,2,1,"td",12),Bo(),Lo(29,_I,1,0,"tr",18),Lo(30,yI,3,14,"tr",19),Po(),Po(),Do(31,"mat-paginator",20),Yo("page",(function(t){return e.page.emit(t)})),Po(),Po(),Po(),Lo(32,wI,3,3,"app-alert",21),Lo(33,MI,3,3,"app-alert",21)),2&t&&(Ro("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),Ar(4),Ro("dataSource",e.dataSource),Ar(25),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns),Ar(1),Ro("length",e.resources.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ar(1),Ro("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),Ar(1),Ro("ngIf",0===e.resources.length))},directives:[gP,QT,DD,rk,ik,tk,ck,lk,CD,ah,ok,CR,ak,jD,ZN,dk,fk,dm,_P,vL],pipes:[Dv,tI,QC],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 vI(t,e){1&t&&No(0,"mat-spinner",8)}const TI=function(){return["name","description"]};function kI(t,e){1&t&&No(0,"perun-web-apps-resources-list",9),2&t&&Ro("resources",Xo(3).resources)("displayedColumns",zc(3,TI))("disableRouting",!0)}function SI(t,e){if(1&t&&(Lo(0,vI,1,0,"mat-spinner",6),Lo(1,kI,1,4,"perun-web-apps-resources-list",7)),2&t){const t=Xo(2);Ro("ngIf",t.loading),Ar(1),Ro("ngIf",!t.loading)}}function CI(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",4),Yo("opened",(function(){ii(t);const i=e.$implicit;return Xo().getMemberData(i)})),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,SI,2,2,"ng-template",5),Po()}if(2&t){const t=e.$implicit;Ar(3),Ta(" ",t.name," ")}}let LI=(()=>{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)(zo(Qd),zo(Xd),zo($d),zo(Pm))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"perun-web-apps-immediate-filter",2),Yo("filter",(function(t){return e.applyFilter(t)})),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Do(8,"mat-accordion"),Lo(9,CI,5,1,"mat-expansion-panel",3),Po(),Po()),2&t&&(Ar(1),va(Ic(2,3,Ic(3,5,"SERVICES.TITLE"))),Ar(4),Ro("placeholder",Ic(6,7,Ic(7,9,"SERVICES.FILTER"))),Ar(4),Ro("ngForOf",e.filteredVos))},directives:[SN,GN,sh,KN,VN,XN,YN,ah,IC,AI],pipes:[Dv,$C],styles:[""]}),t})();function EI(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-immediate-filter",5),Yo("filter",(function(e){return ii(t),Xo().applyFilter(e)})),Po()}2&t&&Ro("placeholder","ORGANIZATIONS.FILTER")}function zI(t,e){1&t&&No(0,"mat-spinner",6)}const xI=function(){return["checkbox","description"]};function RI(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"perun-web-apps-membership-list",11),Yo("extendMembership",(function(e){return ii(t),Xo(2).extendMembership(e)})),Po(),Po()}if(2&t){const t=Xo(2);Ar(1),Ro("members",t.userMemberships)("selection",t.selection)("filterValue",t.filterValue)("hideColumns",zc(4,xI))}}function OI(t,e){1&t&&(Do(0,"app-alert",12),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function DI(t,e){if(1&t&&(Do(0,"div",7),Do(1,"h1",8),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Lo(5,RI,2,5,"div",9),Lo(6,OI,4,5,"app-alert",10),Po()),2&t){const t=Xo();Ar(2),va(Ic(3,3,Ic(4,5,"ORGANIZATIONS.IS_MEMBER"))),Ar(3),Ro("ngIf",0!==t.userMemberships.length),Ar(1),Ro("ngIf",0===t.userMemberships.length)}}function PI(t,e){1&t&&(Do(0,"app-alert",12),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const NI=function(){return["checkbox","description","expirationAttribute","extend"]};function II(t,e){if(1&t&&No(0,"perun-web-apps-membership-list",14),2&t){const t=Xo(2);Ro("members",t.adminMemberships)("filterValue",t.filterValue)("hideColumns",zc(3,NI))}}function BI(t,e){if(1&t&&(Do(0,"div",7),Do(1,"h1",8),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Lo(5,PI,4,5,"app-alert",10),Lo(6,II,1,4,"perun-web-apps-membership-list",13),Po()),2&t){const t=Xo();Ar(2),va(Ic(3,3,Ic(4,5,"ORGANIZATIONS.IS_ADMIN"))),Ar(3),Ro("ngIf",!t.adminMemberships.length),Ar(1),Ro("ngIf",t.adminMemberships.length)}}let FI=(()=>{class t{constructor(t,e,i){this.usersService=t,this.store=e,this.membersService=i,this.filterValue="",this.selection=new W_(!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)(zo(Qd),zo(Pm),zo(Xd))},t.\u0275cmp=de({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","hideColumns","extendMembership"],["alert_type","warn"],[3,"members","filterValue","hideColumns",4,"ngIf"],[3,"members","filterValue","hideColumns"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,EI,1,1,"perun-web-apps-immediate-filter",2),Lo(6,zI,1,0,"mat-spinner",3),Lo(7,DI,7,7,"div",4),Lo(8,BI,7,7,"div",4),Po()),2&t&&(Ar(1),va(Ic(2,5,Ic(3,7,"ORGANIZATIONS.TITLE"))),Ar(4),Ro("ngIf",!e.loading),Ar(1),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading),Ar(1),Ro("ngIf",!e.loading))},directives:[ah,SN,IC,fN,vL],pipes:[Dv,$C],styles:[""]}),t})(),HI=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({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:[gm],styles:[""]}),t})(),qI=(()=>{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)(zo(VA),zo(XA))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"p"),Aa(6),Nc(7,"translate"),Nc(8,"customTranslate"),Po(),Do(9,"label"),No(10,"input",2),Po(),Po(),Do(11,"div",3),Do(12,"button",4),Yo("click",(function(){return e.onClose()})),Aa(13),Nc(14,"translate"),Nc(15,"customTranslate"),Po(),Do(16,"button",5),Aa(17),Nc(18,"translate"),Nc(19,"customTranslate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,6,Ic(3,8,"DIALOGS.SHOW_PASSWORD.TITLE"))),Ar(5),va(Ic(7,10,Ic(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),Ar(4),Ro("value",e.password),Ar(3),Ta(" ",Ic(14,14,Ic(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),Ar(3),Ro("cdkCopyToClipboard",e.password),Ar(1),Ta(" ",Ic(18,18,Ic(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[tv,ev,iv,qv,KC],pipes:[Dv,$C],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),t})();function jI(t,e){1&t&&No(0,"mat-spinner",7)}function YI(t,e){1&t&&No(0,"th",16)}function WI(t,e){if(1&t&&(Do(0,"td",17),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),Ta(" ",t," ")}}function UI(t,e){1&t&&No(0,"tr",18)}function KI(t,e){1&t&&No(0,"tr",19)}function VI(t,e){if(1&t&&(Do(0,"div",8),Do(1,"p"),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Do(5,"div",9),Aa(6),Nc(7,"translate"),Nc(8,"customTranslate"),Po(),Do(9,"table",10),Io(10,11),Lo(11,YI,1,0,"th",12),Lo(12,WI,2,1,"td",13),Bo(),Lo(13,UI,1,0,"tr",14),Lo(14,KI,1,0,"tr",15),Po(),Po()),2&t){const t=Xo();Ar(2),Ta(" ",Ic(3,5,Ic(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),Ar(4),Ta(" ",Ic(7,9,Ic(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),Ar(3),Ro("dataSource",t.dataSource),Ar(4),Ro("matHeaderRowDef",t.displayedColumns),Ar(1),Ro("matRowDefColumns",t.displayedColumns)}}let XI=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new _k(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)(zo(VA),zo(XA),zo(Qd))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,jI,1,0,"mat-spinner",2),Po(),Lo(6,VI,15,13,"div",3),Do(7,"div",4),Do(8,"button",5),Yo("click",(function(){return e.onCancel()})),Aa(9),Nc(10,"translate"),Nc(11,"customTranslate"),Po(),Do(12,"button",6),Yo("click",(function(){return e.onSubmit()})),Aa(13),Nc(14,"translate"),Nc(15,"customTranslate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,5,Ic(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),Ar(4),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading),Ar(3),Ta(" ",Ic(10,9,Ic(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),Ar(4),Ta(" ",Ic(14,13,Ic(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[tv,ah,iv,qv,IC,ev,QT,rk,ik,tk,ck,lk,ok,ak,dk,fk],pipes:[Dv,$C],styles:[""]}),t})();function GI(t,e){1&t&&No(0,"th",15)}function JI(t,e){if(1&t){const t=Ho();Do(0,"td",16),Do(1,"mat-checkbox",17),Yo("change",(function(i){ii(t);const n=e.$implicit,r=Xo();return i?r.selection.toggle(n):null}))("click",(function(e){return ii(t),e.stopPropagation()})),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function $I(t,e){if(1&t&&(Do(0,"th",18),Aa(1),Po()),2&t){const t=Xo();Ar(1),va(t.headerColumnText)}}function QI(t,e){if(1&t&&(Do(0,"td",19),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t)}}function ZI(t,e){1&t&&No(0,"tr",20)}function tB(t,e){1&t&&No(0,"tr",21)}function eB(t,e){if(1&t&&(Do(0,"app-alert",22),Aa(1),Po()),2&t){const t=Xo();Ar(1),Ta(" ",t.alertText,"\n")}}const iB=function(){return[5,10,25]};let nB=(()=>{class t{constructor(){this.values=[],this.selection=new W_(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"],this.pageSize=5}ngOnChanges(t){this.values=this.values?this.values:[],this.dataSource=new _k(this.values),this.setDataSource()}getExportDataForColumn(t,e){return t}exportData(t){hv(lv(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.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=de({type:t,selectors:[["perun-web-apps-string-list"]],viewQuery:function(t,e){var i;1&t&&tu(CD,!0),2&t&&Qc(i=su())&&(e.paginator=i.first)},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[xe],decls:15,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions"],["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,"div",1),Do(2,"perun-web-apps-table-options",2),Yo("exportData",(function(t){return e.exportData(t)})),Po(),Do(3,"div",3),Do(4,"table",4),Io(5,5),Lo(6,GI,1,0,"th",6),Lo(7,JI,2,2,"td",7),Bo(),Io(8,8),Lo(9,$I,2,1,"th",9),Lo(10,QI,2,1,"td",10),Bo(),Lo(11,ZI,1,0,"tr",11),Lo(12,tB,1,0,"tr",12),Po(),Po(),No(13,"mat-paginator",13),Po(),Po(),Lo(14,eB,2,1,"app-alert",14)),2&t&&(Ro("hidden",!e.values.length),Ar(4),Ro("dataSource",e.dataSource),Ar(7),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns),Ar(1),Ro("length",e.values.length)("pageSize",e.pageSize)("pageSizeOptions",zc(8,iB)),Ar(1),Ro("ngIf",0===e.values.length))},directives:[gP,QT,rk,ik,tk,ck,lk,CD,ah,ok,ak,CR,dk,fk,vL],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),t})();function rB(t,e){if(1&t&&No(0,"perun-web-apps-string-list",10),2&t){const t=Xo();Ro("values",t.displayedValues)("selection",t.selection)("alertText",t.alertText)("headerColumnText",t.headerColumnText)}}function sB(t,e){1&t&&No(0,"mat-spinner",11)}let oB=(()=>{class t{constructor(t,e,i,n,r){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.usersManagerService=r,this.altPasswordCtrl=new JS(null,[_S.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new W_(!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=ov();e.width="600px",e.data={password:t},this.dialog.open(qI,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=ov();t.width="600px",t.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(XI,t).afterClosed().subscribe(t=>{t&&(this.getAltPasswords(),this.selection.clear())})}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Ud),zo(QA),zo(Ov),zo(Qd))},t.\u0275cmp=de({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),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Do(5,"mat-form-field",2),Do(6,"label",2),No(7,"input",3),Nc(8,"translate"),Nc(9,"customTranslate"),Po(),Po(),Do(10,"button",4),Yo("click",(function(){return e.createPassword()})),Aa(11),Nc(12,"translate"),Nc(13,"customTranslate"),Po(),Do(14,"app-alert",5),Aa(15),Nc(16,"translate"),Nc(17,"customTranslate"),Po(),Do(18,"h1",6),Aa(19),Nc(20,"translate"),Nc(21,"customTranslate"),Po(),Do(22,"button",7),Yo("click",(function(){return e.removeAltPasswords()})),Aa(23),Nc(24,"translate"),Nc(25,"customTranslate"),Po(),Lo(26,rB,1,4,"perun-web-apps-string-list",8),Lo(27,sB,1,0,"mat-spinner",9),Po()),2&t&&(Ar(2),va(Ic(3,11,Ic(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),Ar(5),Qo("placeholder",Ic(8,15,Ic(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),Ro("formControl",e.altPasswordCtrl),Ar(3),Ro("disabled",!e.altPasswordCtrl.valid||e.alreadyContainsValue(e.altPasswordCtrl.value)),Ar(1),va(Ic(12,19,Ic(13,21,"ALT_PASSWORDS.GENERATE"))),Ar(4),va(Ic(16,23,Ic(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),Ar(4),va(Ic(20,27,Ic(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),Ar(3),Ro("disabled",e.selection.isEmpty()),Ar(1),va(Ic(24,31,Ic(25,33,"ALT_PASSWORDS.REMOVE"))),Ar(3),Ro("ngIf",!e.loading),Ar(1),Ro("ngIf",e.loading))},directives:[$k,SC,rS,lS,cC,qv,vL,ah,nB,IC],pipes:[Dv,$C],styles:[""]}),t})();function aB(t,e){if(1&t&&(Do(0,"mat-list-item",1),Do(1,"mat-icon"),Aa(2),Po(),Do(3,"p",2),Aa(4),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Po()),2&t){const t=e.$implicit;Ro("routerLink",t.url),Ar(2),va(t.icon),Ar(2),va(Ic(5,3,Ic(6,5,t.label)))}}let cB=(()=>{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)(zo(Pm))},t.\u0275cmp=de({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,aB,7,7,"mat-list-item",0),Po()),2&t&&(Ar(1),Ro("ngForOf",e.items))},directives:[wz,sh,vz,TA,dm,aT],pipes:[Dv,$C],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),t})();function uB(t,e){if(1&t&&(Do(0,"mat-option",13),Aa(1),Po()),2&t){const t=e.$implicit;Ro("value",Xo().selectedUnit),Ar(1),Ta(" ",t," ")}}let lB=(()=>{class t{constructor(t,e,i,n,r){this.dialogRef=t,this.data=e,this.rtMessagesService=i,this.notificator=n,this.translate=r,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",r.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 JS(null,[_S.required]),this.newValueControl=new JS(null,[_S.required,_S.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const t=(new JC).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)(zo(VA),zo(XA),zo(Gd),zo(lT),zo(Ov))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"div"),Do(6,"p",2),Aa(7),Nc(8,"translate"),Nc(9,"customTranslate"),Po(),Do(10,"p"),Aa(11),Po(),Po(),Do(12,"div"),Do(13,"p",2),Aa(14),Nc(15,"translate"),Nc(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),Nc(23,"translate"),Nc(24,"customTranslate"),Po(),Po(),Do(25,"mat-select",6),Yo("valueChange",(function(t){return e.selectedUnit=t})),Lo(26,uB,2,2,"mat-option",7),Po(),Po(),Do(27,"div"),Do(28,"mat-form-field",8),Do(29,"label",4),No(30,"textarea",9),Nc(31,"translate"),Nc(32,"customTranslate"),Po(),Po(),Po(),Do(33,"div",10),Do(34,"button",11),Yo("click",(function(){return e.onCancel()})),Aa(35),Nc(36,"translate"),Nc(37,"customTranslate"),Po(),Do(38,"button",12),Yo("click",(function(){return e.onSubmit()})),Aa(39),Nc(40,"translate"),Nc(41,"customTranslate"),Po(),Po(),Po()),2&t&&(Ar(1),va(Ic(2,14,Ic(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE"))),Ar(6),va(Ic(8,18,Ic(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))),Ar(4),va(e.resource),Ar(3),va(Ic(15,22,Ic(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))),Ar(4),va(e.currentQuota),Ar(4),Qo("placeholder",Ic(23,26,Ic(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),Ro("formControl",e.newValueControl),Ar(3),Ro("value",e.selectedUnit),Ar(1),Ro("ngForOf",e.units),Ar(4),Qo("placeholder",Ic(31,30,Ic(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),Ro("formControl",e.reasonControl),Ar(5),Ta(" ",Ic(36,34,Ic(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),Ar(3),Ro("disabled",e.reasonControl.invalid),Ar(1),Ta(" ",Ic(40,38,Ic(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[tv,Fz,Vz,$k,SC,TS,rS,dC,lS,cC,cR,sh,iv,qv,NA],pipes:[Dv,$C],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 hB(t,e){1&t&&No(0,"mat-spinner",8)}function dB(t,e){1&t&&(Do(0,"app-alert",9),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function pB(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"p"),Do(2,"strong"),Aa(3),Nc(4,"translate"),Nc(5,"customTranslate"),Po(),Aa(6),Po(),Do(7,"p",10),Aa(8),Nc(9,"translate"),Nc(10,"customTranslate"),Po(),Do(11,"button",11),Yo("click",(function(){ii(t);const e=Xo().$implicit,i=Xo(3).$implicit;return Xo().requestChangeQuota(i,e)})),Aa(12),Nc(13,"translate"),Nc(14,"customTranslate"),Po(),Po()}if(2&t){const t=Xo(5);Ar(3),va(Ic(4,4,Ic(5,6,"DATA_QUOTAS.QUOTA"))),Ar(3),Ta(" ",t.quotasMarkup,""),Ar(2),va(Ic(9,8,Ic(10,10,"DATA_QUOTAS.QUOTA_INFO"))),Ar(4),va(Ic(13,12,Ic(14,14,"DATA_QUOTAS.CHANGE")))}}function fB(t,e){1&t&&(Do(0,"p"),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function gB(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Yo("opened",(function(){ii(t);const i=e.$implicit;return Xo(4).getResAttributes(i.id)})),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,pB,15,16,"div",7),Lo(5,fB,4,5,"p",7),Po()}if(2&t){const t=e.$implicit,i=Xo(4);Ar(3),Ta(" ",t.name," "),Ar(1),Ro("ngIf",i.defaultQuota),Ar(1),Ro("ngIf",!i.defaultQuota)}}function mB(t,e){if(1&t&&(Do(0,"mat-accordion"),Lo(1,gB,6,3,"mat-expansion-panel",2),Po()),2&t){const t=Xo(3);Ar(1),Ro("ngForOf",t.resources)}}function _B(t,e){if(1&t&&(Lo(0,hB,1,0,"mat-spinner",5),Lo(1,dB,4,5,"app-alert",6),Lo(2,mB,2,1,"mat-accordion",7)),2&t){const t=Xo(2);Ro("ngIf",t.loading),Ar(1),Ro("ngIf",0===t.resources.length&&!t.loading),Ar(1),Ro("ngIf",t.resources.length&&!t.loading)}}function bB(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Yo("opened",(function(){ii(t);const i=e.$implicit;return Xo().getMembersResources(i)})),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,_B,3,3,"ng-template",4),Po()}if(2&t){const t=e.$implicit;Ar(3),Ta(" ",t.name," ")}}let yB=(()=>{class t{constructor(t,e,i,n,r,s){this.store=t,this.usersManagerService=e,this.membersService=i,this.resourcesManagerService=n,this.attributesManagerService=r,this.dialog=s,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(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=ov();i.width="400px",i.data={vo:t,resource:e,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(lB,i)}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Qd),zo(Xd),zo($d),zo(Ud),zo(QA))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"perun-web-apps-immediate-filter",1),Yo("filter",(function(t){return e.applyFilter(t)})),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Do(7,"mat-accordion"),Lo(8,bB,5,1,"mat-expansion-panel",2),Po()),2&t&&(Ar(1),va(Ic(2,3,Ic(3,5,"DATA_QUOTAS.TITLE"))),Ar(3),Ro("placeholder",Ic(5,7,Ic(6,9,"DATA_QUOTAS.FILTER"))),Ar(4),Ro("ngForOf",e.filteredVos))},directives:[SN,GN,sh,KN,VN,XN,YN,ah,IC,vL,qv],pipes:[Dv,$C],styles:[""]}),t})();function wB(t,e){1&t&&No(0,"mat-spinner",8)}function MB(t,e){1&t&&(Do(0,"app-alert",9),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function AB(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Yo("opened",(function(){ii(t);const i=e.$implicit;return Xo(4).getOptOutAttribute(i)})),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Do(4,"div",10),Do(5,"p"),Aa(6),Nc(7,"translate"),Nc(8,"customTranslate"),Po(),Do(9,"mat-checkbox",11),Yo("change",(function(){return ii(t),Xo(4).setOptOut()})),Po(),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo(4);Ar(3),Ta(" ",t.name," "),Ar(3),va(Ic(7,3,Ic(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),Ar(3),Ro("checked",i.optOutAttribute&&null!==i.optOutAttribute.value)}}function vB(t,e){if(1&t&&(Do(0,"mat-accordion"),Lo(1,AB,10,7,"mat-expansion-panel",2),Po()),2&t){const t=Xo(3);Ar(1),Ro("ngForOf",t.resources)}}function TB(t,e){if(1&t&&(Lo(0,wB,1,0,"mat-spinner",5),Lo(1,MB,4,5,"app-alert",6),Lo(2,vB,2,1,"mat-accordion",7)),2&t){const t=Xo(2);Ro("ngIf",t.loading),Ar(1),Ro("ngIf",0===t.resources.length&&!t.loading),Ar(1),Ro("ngIf",t.resources.length&&!t.loading)}}function kB(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Yo("opened",(function(){ii(t);const i=e.$implicit;return Xo().getMailingLists(i)})),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,TB,3,3,"ng-template",4),Po()}if(2&t){const t=e.$implicit;Ar(3),Ta(" ",t.name," ")}}let SB=(()=>{class t{constructor(t,e,i,n,r){this.store=t,this.usersManagerService=e,this.membersService=i,this.resourcesManagerService=n,this.attributesManagerService=r,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(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(r=>{i--;const s=n.find(t=>"optOutMailingList"===t.friendlyName);!s||r&&"true"===r.value||(this.optOuts.push({resource:e.id,member:t.id,attribute:s}),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)(zo(Pm),zo(Qd),zo(Xd),zo($d),zo(Ud))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"perun-web-apps-immediate-filter",1),Yo("filter",(function(t){return e.applyFilter(t)})),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Do(7,"mat-accordion"),Lo(8,kB,5,1,"mat-expansion-panel",2),Po()),2&t&&(Ar(1),va(Ic(2,3,Ic(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),Ar(3),Ro("placeholder",Ic(5,7,Ic(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),Ar(4),Ro("ngForOf",e.filteredVos))},directives:[SN,GN,sh,KN,VN,XN,YN,ah,IC,vL,CR],pipes:[Dv,$C],styles:[""]}),t})();function CB(t,e){1&t&&No(0,"mat-spinner",4)}function LB(t,e){1&t&&No(0,"th",17)}function EB(t,e){if(1&t&&(Do(0,"td",18),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),Ta(" ",t," ")}}function zB(t,e){1&t&&No(0,"tr",19)}function xB(t,e){1&t&&No(0,"tr",20)}function RB(t,e){if(1&t&&(Do(0,"table",11),Io(1,12),Lo(2,LB,1,0,"th",13),Lo(3,EB,2,1,"td",14),Bo(),Lo(4,zB,1,0,"tr",15),Lo(5,xB,1,0,"tr",16),Po()),2&t){const t=Xo(2);Ro("dataSource",t.dataSource),Ar(4),Ro("matHeaderRowDef",t.displayedColumns),Ar(1),Ro("matRowDefColumns",t.displayedColumns)}}function OB(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),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Lo(8,RB,6,3,"table",7),Po(),Do(9,"div",8),Do(10,"button",9),Yo("click",(function(){return ii(t),Xo().onCancel()})),Aa(11),Nc(12,"translate"),Nc(13,"customTranslate"),Po(),Do(14,"button",10),Yo("click",(function(){return ii(t),Xo().onSubmit()})),Aa(15),Nc(16,"translate"),Nc(17,"customTranslate"),Po(),Po(),Po()}if(2&t){const t=Xo();Ar(3),Ta(" ",t.description," "),Ar(2),Ta(" ",Ic(6,5,Ic(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),Ar(3),Ro("ngIf",t.dataSource.data.length),Ar(3),Ta(" ",Ic(12,9,Ic(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),Ar(4),Ta(" ",Ic(16,13,Ic(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let DB=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new _k(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)(zo(VA),zo(XA),zo(Ud))},t.\u0275cmp=de({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,CB,1,0,"mat-spinner",2),Po(),Lo(4,OB,18,17,"div",3)),2&t&&(Ar(1),va(e.title),Ar(2),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading))},directives:[tv,ah,IC,ev,iv,qv,QT,rk,ik,tk,ck,lk,ok,ak,dk,fk],pipes:[Dv,$C],styles:[""]}),t})();function PB(t,e){1&t&&(Do(0,"app-alert",5),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function NB(t,e){if(1&t){const t=Ho();Do(0,"mat-option",11),Yo("click",(function(){return ii(t),Xo(3).changeValue()})),Aa(1),Po()}if(2&t){const t=e.$implicit;Ro("value",t),Ar(1),va(t)}}function IB(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item"),Do(1,"mat-form-field",7),Do(2,"mat-select",8),Yo("valueChange",(function(i){ii(t);const n=e.index;return Xo(2).shells[n]=i})),Lo(3,NB,2,2,"mat-option",9),Po(),Po(),Do(4,"button",10),Yo("click",(function(){ii(t);const i=e.index;return Xo(2).removeShell(i)})),Aa(5),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Po()}if(2&t){const t=e.index,i=Xo(2);Ar(2),Ro("value",i.shells[t]),Ar(1),Ro("ngForOf",i.defaultShells),Ar(2),va(Ic(6,3,Ic(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON")))}}function BB(t,e){if(1&t&&(Do(0,"mat-list"),Lo(1,IB,8,7,"mat-list-item",6),Po()),2&t){const t=Xo();Ar(1),Ro("ngForOf",t.shells)}}let FB=(()=>{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=ov();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(DB,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)(zo(Pm),zo(Ud),zo(QA),zo(Ov))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"app-alert",1),Aa(5),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Do(8,"button",2),Yo("click",(function(){return e.addShell()})),Aa(9),Nc(10,"translate"),Nc(11,"customTranslate"),Po(),Lo(12,PB,4,5,"app-alert",3),Lo(13,BB,2,1,"mat-list",4)),2&t&&(Ar(1),va(Ic(2,5,Ic(3,7,"PREFERRED_SHELLS.TITLE"))),Ar(4),Ta(" ",Ic(6,9,Ic(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),Ar(4),va(Ic(10,13,Ic(11,15,"PREFERRED_SHELLS.NEW_BUTTON"))),Ar(3),Ro("ngIf",!e.loading&&0===e.shells.length),Ar(1),Ro("ngIf",!e.loading))},directives:[vL,qv,ah,wz,sh,vz,$k,cR,NA],pipes:[Dv,$C],styles:[""]}),t})();function HB(t,e){1&t&&No(0,"mat-spinner",4)}function qB(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),Yo("click",(function(){return ii(t),Xo().onCancel()})),Aa(7),Nc(8,"translate"),Nc(9,"customTranslate"),Po(),Do(10,"button",10),Yo("click",(function(){return ii(t),Xo().onSubmit()})),Aa(11),Nc(12,"translate"),Nc(13,"customTranslate"),Po(),Po(),Po()}if(2&t){const t=Xo();Ar(4),Ro("formControl",t.inputControl),Ar(3),Ta(" ",Ic(8,4,Ic(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),Ar(3),Ro("disabled",!t.inputControl.valid||t.groups.includes(t.inputControl.value)),Ar(1),Ta(" ",Ic(12,8,Ic(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let jB=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.groups=[]}ngOnInit(){this.inputControl=new JS(null,_S.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)(zo(VA),zo(XA),zo(Ud))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,HB,1,0,"mat-spinner",2),Lo(6,qB,14,12,"div",3),Po()),2&t&&(Ar(1),va(Ic(2,3,Ic(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),Ar(4),Ro("ngIf",e.loading),Ar(1),Ro("ngIf",!e.loading))},directives:[tv,ah,IC,ev,$k,SC,rS,dC,lS,cC,iv,qv],pipes:[Dv,$C],styles:[""]}),t})();function YB(t,e){if(1&t){const t=Ho();Do(0,"div",2),Do(1,"h4"),Aa(2),Po(),Do(3,"button",3),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().addGroupName(i)})),Aa(4),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Do(7,"button",4),Yo("click",(function(){ii(t);const i=e.$implicit,n=e.index;return Xo().removeGroupName(i,n)})),Aa(8),Nc(9,"translate"),Po(),No(10,"perun-web-apps-string-list",5),Po()}if(2&t){const t=e.$implicit,i=e.index,n=Xo();Ar(2),va(t),Ar(2),va(Ic(5,8,Ic(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))),Ar(3),Ro("disabled",0===n.selectionList[i].selected.length),Ar(1),va(Ic(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")),Ar(2),Ro("values",n.groupNames.get(t))("selection",n.selectionList[i])("alertText",n.alertText)("headerColumnText",n.headerColumnText)}}let WB=(()=>{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=ov();i.width="400px",i.data={groups:e,namespace:t,userId:this.userId},this.dialog.open(jB,i).afterClosed().subscribe(e=>{e&&this.getAttribute(t)})}removeGroupName(t,e){const i=ov();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(DB,i).afterClosed().subscribe(i=>{i&&(this.selectionList[e].clear(),this.getAttribute(t))})}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Ud),zo(QA),zo(Ov))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Lo(4,YB,11,14,"div",1)),2&t&&(Ar(1),va(Ic(2,2,Ic(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),Ar(3),Ro("ngForOf",e.namespaces))},directives:[sh,qv,nB],pipes:[Dv,$C],styles:[""]}),t})();function UB(t,e){1&t&&(Do(0,"app-alert",7),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,Ic(3,3,"ALERTS.NO_SAMBA")),"\n"))}function KB(t,e){1&t&&(Do(0,"app-alert",7),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,Ic(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function VB(t,e){1&t&&(Do(0,"app-alert",8),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let XB=(()=>{class t{constructor(t,e,i,n,r){this.attributesManagerService=t,this.store=e,this.usersManagerService=i,this.notificator=n,this.translate=r,r.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),r.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(t=>this.showPwdTooltip=t),r.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(t=>this.hidePwdTooltip=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new JS("",[_S.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)(zo(Ud),zo(Pm),zo(Qd),zo(lT),zo(Ov))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Lo(4,UB,4,5,"app-alert",1),Lo(5,KB,4,5,"app-alert",1),Do(6,"mat-form-field",2),Do(7,"label",2),No(8,"input",3),Nc(9,"translate"),Nc(10,"customTranslate"),Po(),Po(),Do(11,"button",4),Yo("click",(function(){return e.showPassword=!e.showPassword})),Do(12,"mat-icon"),Aa(13),Po(),Po(),Do(14,"button",5),Yo("click",(function(){return e.setSambaPassword()})),Aa(15),Nc(16,"translate"),Nc(17,"customTranslate"),Po(),Lo(18,VB,4,5,"app-alert",6)),2&t&&(Ar(1),va(Ic(2,11,Ic(3,13,"SAMBA_PASSWORD.TITLE"))),Ar(3),Ro("ngIf",!e.sambaExists),Ar(1),Ro("ngIf",e.sambaExists),Ar(3),Qo("placeholder",Ic(9,15,Ic(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),Ro("formControl",e.sambaControl)("type",e.showPassword?"text":"password"),Ar(3),Ro("matTooltip",e.showPassword?e.hidePwdTooltip:e.showPwdTooltip),Ar(2),va(e.showPassword?"visibility_off":"visibility"),Ar(1),Ro("disabled",0===e.sambaControl.value.length||e.sambaControl.invalid),Ar(1),va(Ic(16,19,Ic(17,21,"SAMBA_PASSWORD.SET_PASSWORD"))),Ar(3),Ro("ngIf",e.sambaControl.invalid))},directives:[ah,$k,SC,rS,lS,cC,qv,qx,aT,vL],pipes:[Dv,$C],styles:[""]}),t})(),GB=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i}ngOnInit(){this.sshControl=new JS(null,[_S.required,_S.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)(zo(VA),zo(XA),zo(Ud))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"mat-form-field",2),Do(6,"label",2),No(7,"textarea",3),Nc(8,"translate"),Nc(9,"customTranslate"),Po(),Po(),Po(),Do(10,"div",4),Do(11,"button",5),Yo("click",(function(){return e.onCancel()})),Aa(12),Nc(13,"translate"),Nc(14,"customTranslate"),Po(),Do(15,"button",6),Yo("click",(function(){return e.onSubmit()})),Aa(16),Nc(17,"translate"),Nc(18,"customTranslate"),Po(),Po()),2&t&&(Ar(1),va(Ic(2,6,Ic(3,8,"DIALOGS.ADD_SSH.TITLE"))),Ar(6),Qo("placeholder",Ic(8,10,Ic(9,12,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),Ro("formControl",e.sshControl),Ar(5),Ta(" ",Ic(13,14,Ic(14,16,"DIALOGS.ADD_SSH.CANCEL"))," "),Ar(3),Ro("disabled",!e.sshControl.valid),Ar(1),Ta(" ",Ic(17,18,Ic(18,20,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[tv,ev,$k,SC,yC,rS,dC,lS,cC,iv,qv],pipes:[Dv,$C],styles:[".input-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}"]}),t})(),JB=(()=>{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)(zo(VA),zo(XA))},t.\u0275cmp=de({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),Yo("click",(function(){return e.onClose()})),Aa(5),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Po()),2&t&&(Ar(2),va(e.sshKey),Ar(3),va(Ic(6,2,Ic(7,4,"DIALOGS.SHOW_SSH.CLOSE"))))},directives:[SC,yC,iv,qv],pipes:[Dv,$C],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}[_ngcontent-%COMP%]:focus{outline:none}"]}),t})();function $B(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item",4),Do(1,"p",5),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().showWholeKey(i)})),Aa(2),Po(),Do(3,"button",6),Nc(4,"translate"),Nc(5,"customTranslate"),Do(6,"mat-icon"),Aa(7," file_copy "),Po(),Po(),Do(8,"button",7),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().removeKey(i,!1)})),Nc(9,"translate"),Nc(10,"customTranslate"),Do(11,"mat-icon"),Aa(12," delete "),Po(),Po(),Po()}if(2&t){const t=e.$implicit;Ar(2),va(t),Ar(1),Qo("matTooltip",Ic(4,4,Ic(5,6,"SSH_KEYS.COPY_TOOLTIP"))),Ro("cdkCopyToClipboard",t),Ar(5),Qo("matTooltip",Ic(9,8,Ic(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function QB(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item",4),Do(1,"label",8),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().showWholeKey(i)})),Aa(2),Po(),Do(3,"button",9),Do(4,"mat-icon"),Aa(5," file_copy "),Po(),Po(),Do(6,"button",10),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().removeKey(i,!0)})),Do(7,"mat-icon"),Aa(8," delete "),Po(),Po(),Po()}if(2&t){const t=e.$implicit;Ar(2),va(t),Ar(1),Ro("cdkCopyToClipboard",t)}}let ZB=(()=>{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 W_(!1,[]),this.selectionAdmin=new W_(!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=ov();e.width="800px",e.data={attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(GB,e).afterClosed().subscribe(e=>{e&&(t?this.getAdminSSH():this.getUserSSH())})}removeKey(t,e){const i=ov();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(DB,i).afterClosed().subscribe(t=>{t&&(this.loading=!0,e?this.getAdminSSH():this.getUserSSH(),e?this.selectionAdmin.clear():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=ov();e.width="600px",e.data={value:t},this.dialog.open(JB,e)}}return t.\u0275fac=function(e){return new(e||t)(zo(Pm),zo(Ud),zo(QA),zo(Ov))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"p"),Aa(5),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Do(8,"button",1),Yo("click",(function(){return e.addKey(!1)})),Aa(9),Nc(10,"translate"),Nc(11,"customTranslate"),Po(),Do(12,"mat-list"),Lo(13,$B,13,12,"mat-list-item",2),Po(),Do(14,"h1",3),Aa(15),Nc(16,"translate"),Nc(17,"customTranslate"),Po(),Do(18,"p"),Aa(19),Nc(20,"translate"),Nc(21,"customTranslate"),Po(),Do(22,"button",1),Yo("click",(function(){return e.addKey(!0)})),Aa(23),Nc(24,"translate"),Nc(25,"customTranslate"),Po(),Do(26,"mat-list"),Lo(27,QB,9,2,"mat-list-item",2),Po()),2&t&&(Ar(1),va(Ic(2,8,Ic(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),Ar(4),va(Ic(6,12,Ic(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),Ar(4),va(Ic(10,16,Ic(11,18,"SSH_KEYS.NEW_KEY"))),Ar(4),Ro("ngForOf",e.userKeys),Ar(2),va(Ic(16,20,Ic(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),Ar(4),va(Ic(20,24,Ic(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),Ar(4),va(Ic(24,28,Ic(25,30,"SSH_KEYS.NEW_KEY"))),Ar(4),Ro("ngForOf",e.adminKeys))},directives:[qv,wz,sh,vz,TA,KC,qx,aT],pipes:[Dv,$C],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})();function tF(t,e){if(1&t){const t=Ho();Do(0,"th",18),Do(1,"mat-checkbox",19),Yo("change",(function(e){ii(t);const i=Xo();return e?i.masterToggle():null})),Po(),Po()}if(2&t){const t=Xo();Ar(1),Ro("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function eF(t,e){if(1&t){const t=Ho();Do(0,"td",20),Do(1,"mat-checkbox",21),Yo("click",(function(e){return ii(t),e.stopPropagation()}))("change",(function(i){ii(t);const n=e.$implicit,r=Xo();return i?r.selection.toggle(n):null})),Nc(2,"isVirtualAttribute"),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("checked",i.selection.isSelected(t))("disabled",Ic(2,3,t)||!t.writable)("aria-label",i.checkboxLabel(t))}}function iF(t,e){1&t&&(Do(0,"th",22),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function nF(t,e){if(1&t&&(Do(0,"td",20),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.id)}}function rF(t,e){1&t&&(Do(0,"th",22),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function sF(t,e){if(1&t&&(Do(0,"td",23),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.displayName)}}function oF(t,e){1&t&&(Do(0,"th",18),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function aF(t,e){if(1&t){const t=Ho();Do(0,"td",23),Do(1,"perun-web-apps-attribute-value",24),Yo("sendEventToParent2",(function(){ii(t);const i=e.$implicit;return Xo().onValueChange(i)})),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("attribute",t)("readonly",i.readonly||!t.writable)}}function cF(t,e){1&t&&(Do(0,"th",22),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),va(Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function uF(t,e){if(1&t&&(Do(0,"td",23),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.description)}}function lF(t,e){1&t&&No(0,"tr",25)}function hF(t,e){if(1&t&&(No(0,"tr",26),Nc(1,"translate")),2&t){const t=e.$implicit,i=Xo();Qo("matTooltip",Ic(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),Ro("matTooltipPosition","before")("matTooltipDisabled",t.writable||i.readonly)}}function dF(t,e){1&t&&(Do(0,"app-alert",27),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function pF(t,e){1&t&&(Do(0,"app-alert",27),Aa(1),Nc(2,"translate"),Po()),2&t&&(Ar(1),Ta(" ",Ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY"),"\n"))}let fF=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.attributes=[],this.selection=new W_(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new qc,this.readonly=!1,this.hiddenColumns=[],this.pageSizeOptions=sv}set matSort(t){this.sort=t,this.setDataSource()}set matPaginator(t){this.paginator=t}ngOnChanges(t){this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new _k(this.attributes.filter(t=>!t.namespace.includes("def:core"))),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.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){hv(lv(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)=>uv(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>cv(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.paginator.hasNextPage(),this.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.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!av(t)&&t.writable}pageChanged(t){this.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(zo(rp),zo(gT))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){var i;1&t&&(Zc(DD,!0),Zc(CD,!0),tu(nD,!0)),2&t&&(Qc(i=su())&&(e.matSort=i.first),Qc(i=su())&&(e.matPaginator=i.first),Qc(i=su())&&(e.items=i))},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns"},outputs:{page:"page"},features:[xe],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions","page"],["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",""],[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,"div",1),Do(2,"perun-web-apps-table-options",2),Yo("exportData",(function(t){return e.exportData(t)})),Po(),Do(3,"div",3),Do(4,"table",4),Io(5,5),Lo(6,tF,2,3,"th",6),Lo(7,eF,3,5,"td",7),Bo(),Io(8,8),Lo(9,iF,3,3,"th",9),Lo(10,nF,2,1,"td",7),Bo(),Io(11,10),Lo(12,rF,3,3,"th",9),Lo(13,sF,2,1,"td",11),Bo(),Io(14,12),Lo(15,oF,3,3,"th",6),Lo(16,aF,2,2,"td",11),Bo(),Io(17,13),Lo(18,cF,3,3,"th",9),Lo(19,uF,2,1,"td",11),Bo(),Lo(20,lF,1,0,"tr",14),Lo(21,hF,2,5,"tr",15),Po(),Po(),Do(22,"mat-paginator",16),Yo("page",(function(t){return e.pageChanged(t)})),Po(),Po(),Po(),Lo(23,dF,3,3,"app-alert",17),Lo(24,pF,3,3,"app-alert",17)),2&t&&(Ro("hidden",0===e.dataSource.filteredData.length),Ar(4),Ro("dataSource",e.dataSource),Ar(16),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns),Ar(1),Ro("length",e.attributes.length)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions),Ar(1),Ro("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),Ar(1),Ro("ngIf",0===e.dataSource.data.length))},directives:[gP,QT,DD,rk,ik,tk,ck,lk,CD,ah,ok,CR,ak,jD,nD,dk,fk,qx,vL],pipes:[GC,Dv],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}"]}),t})();function gF(t,e){1&t&&No(0,"mat-spinner",5)}function mF(t,e){1&t&&No(0,"mat-spinner",5)}function _F(t,e){if(1&t&&No(0,"perun-web-apps-attributes-list",10),2&t){const t=Xo(3);Ro("attributes",t.attributes)("readonly",!0)("hiddenColumns",t.hiddenColumns)}}function bF(t,e){if(1&t&&(Lo(0,mF,1,0,"mat-spinner",3),Lo(1,_F,1,3,"perun-web-apps-attributes-list",9)),2&t){const t=Xo(2);Ro("ngIf",t.innerLoading),Ar(1),Ro("ngIf",!t.innerLoading)}}function yF(t,e){1&t&&No(0,"mat-spinner",5)}function wF(t,e){if(1&t&&No(0,"perun-web-apps-attributes-list",10),2&t){const t=Xo(4);Ro("attributes",t.attributes)("readonly",!0)("hiddenColumns",t.hiddenColumns)}}function MF(t,e){if(1&t&&(Lo(0,yF,1,0,"mat-spinner",3),Lo(1,wF,1,3,"perun-web-apps-attributes-list",9)),2&t){const t=Xo(3);Ro("ngIf",t.innerLoading),Ar(1),Ro("ngIf",!t.innerLoading)}}function AF(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",6),Yo("opened",(function(){ii(t);const i=e.$implicit;return Xo(2).getMemberData(i)})),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Nc(4,"translate"),Nc(5,"customTranslate"),Po(),Po(),Lo(6,MF,2,2,"ng-template",7),Po()}if(2&t){const t=e.$implicit;Ar(3),ka(" ",Ic(4,2,Ic(5,4,"PRIVACY.DATA")),"",t.name," ")}}function vF(t,e){if(1&t){const t=Ho();Do(0,"mat-accordion"),Do(1,"mat-expansion-panel",6),Yo("opened",(function(){return ii(t),Xo().getUserData()})),Do(2,"mat-expansion-panel-header"),Do(3,"mat-panel-title"),Aa(4),Nc(5,"translate"),Nc(6,"customTranslate"),Po(),Po(),Lo(7,bF,2,2,"ng-template",7),Po(),Lo(8,AF,7,6,"mat-expansion-panel",8),Po()}if(2&t){const t=Xo();Ar(4),Ta(" ",Ic(5,2,Ic(6,4,"PRIVACY.USER_INFO"))," "),Ar(4),Ro("ngForOf",t.filteredVos)}}let TF=(()=>{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 JC).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)(zo(Qd),zo(Xd),zo(Ud),zo(Pm))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"perun-web-apps-immediate-filter",2),Yo("filter",(function(t){return e.applyFilter(t)})),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Lo(8,gF,1,0,"mat-spinner",3),Lo(9,vF,9,6,"mat-accordion",4),Po()),2&t&&(Ar(1),va(Ic(2,4,Ic(3,6,"PRIVACY.TITLE"))),Ar(4),Ro("placeholder",Ic(6,8,Ic(7,10,"SERVICES.FILTER"))),Ar(3),Ro("ngIf",e.outerLoading),Ar(1),Ro("ngIf",!e.outerLoading))},directives:[SN,ah,IC,GN,KN,VN,XN,YN,sh,fF],pipes:[Dv,$C],styles:[""]}),t})(),kF=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(t,e){1&t&&No(0,"router-outlet")},directives:[gm],styles:[""]}),t})(),SF=(()=>{let t=class{};return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Ah,mC,jv,ER,cT,BC,Yx]]}),t})(),CF=(()=>{class t extends dA{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(e){return LF(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const LF=gn(CF),EF={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 zF=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},providers:[{provide:rA,useClass:CF},{provide:sA,useValue:EF}],imports:[[Ah,ER,mk,gC,FO,AO,Pv,Sm,YD,LD,BC,tL,cT,fP,jv,Yx,Qk,mC,CC,kA,XC,VC,nL,jC,FC,FA,uR,SF,J_,nv]]}),t})();function xF(t,e){1&t&&(Do(0,"app-alert"),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function RF(t,e){1&t&&(Do(0,"th",15),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function OF(t,e){if(1&t&&(Do(0,"td",16),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.friendlyNameParameter)}}function DF(t,e){1&t&&(Do(0,"th",15),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function PF(t,e){if(1&t&&(Do(0,"td",17),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.value)}}function NF(t,e){1&t&&No(0,"th",15)}function IF(t,e){if(1&t){const t=Ho();Do(0,"td",18),Do(1,"button",19),Yo("click",(function(){ii(t);const i=e.$implicit;return Xo().changePassword(i.friendlyNameParameter)})),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Po()}if(2&t){const t=e.$implicit,i=Xo();Ar(1),Ro("disabled",!i.logins.includes(t)),Ar(1),va(Ic(3,2,Ic(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function BF(t,e){1&t&&No(0,"tr",20)}function FF(t,e){1&t&&No(0,"tr",21)}let HF=(()=>{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 _k(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)(zo(Ud),zo(Pm))},t.\u0275cmp=de({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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Lo(4,xF,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,RF,4,5,"th",7),Lo(11,OF,2,1,"td",8),Bo(),Io(12,9),Lo(13,DF,4,5,"th",7),Lo(14,PF,2,1,"td",10),Bo(),Io(15,11),Lo(16,NF,1,0,"th",7),Lo(17,IF,5,6,"td",12),Bo(),Lo(18,BF,1,0,"tr",13),Lo(19,FF,1,0,"tr",14),Po(),Po(),Po(),Po()),2&t&&(Ar(1),va(Ic(2,5,Ic(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),Ar(3),Ro("ngIf",!e.logins.length),Ar(4),Ro("dataSource",e.dataSource),Ar(10),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns))},directives:[ah,QT,DD,rk,ik,tk,ck,lk,vL,ok,ak,qv,dk,fk],pipes:[Dv,$C],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t})();function qF(t,e){1&t&&(Do(0,"app-alert",11),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function jF(t,e){1&t&&(Do(0,"app-alert",12),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function YF(t,e){if(1&t&&(Do(0,"div",13),No(1,"img",14),Po()),2&t){const t=Xo();Ar(1),Ro("src",t.newImage,nr)}}function WF(t,e){1&t&&(Do(0,"app-alert",11),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}i("OIgT");let UF=(()=>{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 r=0;r{class t{constructor(t,e){this.http=t,this.storeService=e}getHeaders(){let t=new dd;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,r=new dd;return r.set("Authorization","Bearer "+e),this.http.put(i,n,{headers:r}).pipe(Ip(t=>this.formatErrors(t)))}formatErrors(t){return w_(t.error)}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(Pm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),VF=(()=>{class t{constructor(t,e){this.dialogRef=t,this.store=e}ngOnInit(){}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)(zo(VA),zo(Pm))},t.\u0275cmp=de({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),Nc(4,"translate"),Nc(5,"customTranslate"),Po(),Po(),Do(6,"div",2),Do(7,"button",3),Yo("click",(function(){return e.onCancel()})),Aa(8),Nc(9,"translate"),Nc(10,"customTranslate"),Po(),Do(11,"button",4),Yo("click",(function(){return e.onAdd()})),Aa(12),Nc(13,"translate"),Nc(14,"customTranslate"),Po(),Po(),Po()),2&t&&(Ar(3),va(Ic(4,3,Ic(5,5,"DIALOGS.ADD_TOKEN_INFO.INFO"))),Ar(5),Ta(" ",Ic(9,7,Ic(10,9,"DIALOGS.ADD_TOKEN_INFO.CANCEL"))," "),Ar(4),Ta(" ",Ic(13,11,Ic(14,13,"DIALOGS.ADD_TOKEN_INFO.ADD"))," "))},directives:[ev,vL,iv,qv],pipes:[Dv,$C],styles:[""]}),t})();const XF=["toggle"];function GF(t,e){if(1&t&&(Do(0,"div"),No(1,"img",22),Po()),2&t){const t=Xo();Ar(1),Ro("src",t.imageSrc,nr)}}function JF(t,e){1&t&&(Do(0,"app-alert",23),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"AUTHENTICATION.NO_TOKENS"))))}function $F(t,e){1&t&&(Do(0,"th",24),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"AUTHENTICATION.TYPE"))))}function QF(t,e){1&t&&No(0,"img",28)}function ZF(t,e){1&t&&No(0,"img",29)}function tH(t,e){if(1&t&&(Do(0,"td",25),Lo(1,QF,1,0,"img",26),Lo(2,ZF,1,0,"img",27),Po()),2&t){const t=e.$implicit;Ar(1),Ro("ngIf","WEBAUTHN"===t.type),Ar(1),Ro("ngIf","TOTP"===t.type)}}function eH(t,e){1&t&&(Do(0,"th",24),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"AUTHENTICATION.NAME"))))}function iH(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.nickname)}}function nH(t,e){1&t&&(Do(0,"th",24),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"AUTHENTICATION.ADDED"))))}function rH(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Nc(2,"parseDate"),Po()),2&t){const t=e.$implicit;Ar(1),va(Bc(2,1,t.added,!0))}}function sH(t,e){1&t&&(Do(0,"th",24),Aa(1),Nc(2,"translate"),Nc(3,"customTranslate"),Po()),2&t&&(Ar(1),va(Ic(2,1,Ic(3,3,"AUTHENTICATION.USED"))))}function oH(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Po()),2&t){const t=e.$implicit;Ar(1),va(t.used)}}function aH(t,e){1&t&&No(0,"th",24)}function cH(t,e){1&t&&(Do(0,"td",25),Do(1,"button",30),Aa(2),Nc(3,"translate"),Nc(4,"customTranslate"),Po(),Po()),2&t&&(Ar(2),va(Ic(3,1,Ic(4,3,"AUTHENTICATION.REVOKE"))))}function uH(t,e){1&t&&No(0,"tr",31)}function lH(t,e){1&t&&No(0,"tr",32)}const hH=function(){return[5,10,25]};let dH=(()=>{class t{constructor(t,e,i,n,r,s){this.dialog=t,this.attributesManagerService=e,this.store=i,this.translate=n,this.authService=r,this.mfaService=s,this.imageSrc="",this.tokens=[],this.displayedColumns=["type","nickname","added"],this.pageSize=5,this.exporting=!1,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=ov();t.width="500px",t.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(UF,t).afterClosed().subscribe(t=>{t&&this.loadImage()})}reAuthenticate(){sessionStorage.setItem("mfa_route","/profile/settings/auth"),this.authService.manager=new sp.UserManager(this.getClientSettings()),this.authService.manager.signinRedirect()}onDeleteImg(){const t=ov();t.width="600px",t.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(DB,t).afterClosed().subscribe(t=>{t&&this.loadImage()})}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})})}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"}}}addTOTP(){const t=ov();t.width="600px",this.dialog.open(VF,t)}addWebAuthn(){window.open("https://id.muni.cz/simplesaml/module.php/muni/register-webauthn.php","_blank")}loadMFA(){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 _k(this.tokens)})):this.attributesManagerService.getAttributeDefinitionByName(t).subscribe(t=>{this.mfaAtt=t})})}}return t.\u0275fac=function(e){return new(e||t)(zo(QA),zo(Ud),zo(Pm),zo(Ov),zo(Wv),zo(KF))},t.\u0275cmp=de({type:t,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(t,e){var i;1&t&&(tu(XF,!0),tu(CD,!0)),2&t&&(Qc(i=su())&&(e.toggle=i.first),Qc(i=su())&&(e.paginator=i.first))},decls:49,vars:43,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"],["alert_type","info",4,"ngIf"],[3,"hidden"],[1,"card","mt-2"],[1,"card-body"],[1,"overflow-auto"],["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"],[3,"length","pageSizeOptions","pageSize"],["alt","",1,"img-size",3,"src"],["alert_type","info"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["alt","","src","assets/img/webauthn-logo-black.png","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.png",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),Nc(2,"translate"),Nc(3,"customTranslate"),Po(),Do(4,"p"),Aa(5),Nc(6,"translate"),Nc(7,"customTranslate"),Po(),Lo(8,GF,2,1,"div",1),Do(9,"button",2),Yo("click",(function(){return e.onAddImg()})),Aa(10),Nc(11,"translate"),Nc(12,"customTranslate"),Po(),Do(13,"button",3),Yo("click",(function(){return e.onDeleteImg()})),Aa(14),Nc(15,"translate"),Nc(16,"customTranslate"),Po(),Do(17,"h1",4),Aa(18),Nc(19,"translate"),Nc(20,"customTranslate"),Po(),Do(21,"button",5),Yo("click",(function(){return e.addTOTP()})),Aa(22),Nc(23,"translate"),Nc(24,"customTranslate"),Po(),Lo(25,JF,4,5,"app-alert",6),Do(26,"div",7),Do(27,"div",8),Do(28,"div",9),Do(29,"div",10),Do(30,"table",11),Io(31,12),Lo(32,$F,4,5,"th",13),Lo(33,tH,3,2,"td",14),Bo(),Io(34,15),Lo(35,eH,4,5,"th",13),Lo(36,iH,2,1,"td",14),Bo(),Io(37,16),Lo(38,nH,4,5,"th",13),Lo(39,rH,3,4,"td",14),Bo(),Io(40,17),Lo(41,sH,4,5,"th",13),Lo(42,oH,2,1,"td",14),Bo(),Io(43,18),Lo(44,aH,1,0,"th",13),Lo(45,cH,5,5,"td",14),Bo(),Lo(46,uH,1,0,"tr",19),Lo(47,lH,1,0,"tr",20),Po(),Po(),No(48,"mat-paginator",21),Po(),Po(),Po()),2&t&&(Ar(1),va(Ic(2,18,Ic(3,20,"AUTHENTICATION.TITLE"))),Ar(4),va(Ic(6,22,Ic(7,24,"AUTHENTICATION.ANTI_PHISHING_INFO"))),Ar(3),Ro("ngIf",e.imageSrc&&e.imageSrc.length),Ar(2),va(Ic(11,26,Ic(12,28,"AUTHENTICATION.NEW_IMG"))),Ar(3),Ro("disabled",!e.imgAtt||!e.imgAtt.value),Ar(1),va(Ic(15,30,Ic(16,32,"AUTHENTICATION.DELETE_IMG"))),Ar(4),va(Ic(19,34,Ic(20,36,"AUTHENTICATION.MFA"))),Ar(4),va(Ic(23,38,Ic(24,40,"AUTHENTICATION.ADD_TOTP"))),Ar(3),Ro("ngIf",!e.tokens.length),Ar(1),Ro("hidden",!e.tokens.length),Ar(1),ua("hide-table",e.exporting),Ar(3),Ro("dataSource",e.dataSource),Ar(16),Ro("matHeaderRowDef",e.displayedColumns),Ar(1),Ro("matRowDefColumns",e.displayedColumns),Ar(1),Ro("length",e.tokens.length)("pageSizeOptions",zc(42,hH))("pageSize",e.pageSize))},directives:[ah,qv,QT,rk,ik,tk,ck,lk,CD,vL,ok,ak,dk,fk],pipes:[Dv,$C,ZC],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),t})(),pH=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Ah,jv,cT,Sm,zF,Pv]]}),t})();const fH=[{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)(zo(Wv))},t.\u0275cmp=de({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),Nc(5,"translate"),Po(),Do(6,"button",4),Yo("click",(function(){return e.startAuth()})),Aa(7),Nc(8,"translate"),Do(9,"mat-icon"),Aa(10," login "),Po(),Po(),Po(),Po(),Po()),2&t&&(Ar(4),Ta(" ",Ic(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),Ar(3),Ta(" ",Ic(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[qv,aT],pipes:[Dv],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})()},{path:"profile",component:kF,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:gD,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:FP,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:vN,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:LI,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:FI,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:TF,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"settings",component:HI,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:cB,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:oB,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:dH,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:yB,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:SB,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:FB,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:WB,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:XB,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:ZB,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:HF,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let gH=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[Sm.forRoot(fH,{preloadingStrategy:bm,scrollPositionRestoration:"enabled"})]]}),t})();class mH{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 _H=(()=>{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,[bH(tinycolor(n).lighten(52),"50"),bH(tinycolor(n).lighten(37),"100"),bH(tinycolor(n).lighten(26),"200"),bH(tinycolor(n).lighten(12),"300"),bH(tinycolor(n).lighten(6),"400"),bH(tinycolor(n),"500"),bH(tinycolor(n).darken(6),"600"),bH(tinycolor(n).darken(12),"700"),bH(tinycolor(n).darken(18),"800"),bH(tinycolor(n).darken(24),"900"),bH(tinycolor(n).lighten(50).saturate(30),"A100"),bH(tinycolor(n).lighten(30).saturate(30),"A200"),bH(tinycolor(n).lighten(10).saturate(15),"A400"),bH(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const r of i){const e=`--${t}-theme-primary-contrast-${r.name}`,i=r.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${r.name}`,`${r.red},${r.green},${r.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,e)=>{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 dd({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Sd),Vt(Pm))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function bH(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 yH=(()=>{class t{constructor(t,e,i,n,r){this.initAuthService=t,this.appConfigService=e,this.store=i,this.location=n,this.authzSevice=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_active_color",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.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"),t()})}}return t.\u0275fac=function(e){return new(e||t)(Vt(Kv),Vt(_H),Vt(Pm),Vt(vl),Vt(Kd))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wH=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[YL]]}),t})(),MH=(()=>{class t{constructor(t,e){Th(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:VL,useValue:Object.assign(Object.assign({},KL),e)},{provide:GL,useValue:i,multi:!0},{provide:XL,useValue:!0}]:[{provide:VL,useValue:Object.assign(Object.assign({},KL),e)},{provide:GL,useValue:i,multi:!0}]}}}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(XL),Vt(mu))},imports:[[ux,RE,wH],ux,RE,wH]}),t})(),AH=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[JM],JM]}),t})();const vH=new It("perun-api-service");let TH=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)}}),t})(),kH=(()=>{class t{}return t.\u0275mod=me({type:t}),t.\u0275inj=lt({factory:function(e){return new(e||t)},imports:[[TH,kA,JM,Kb],TH,JM]}),t})();const SH={provide:Ld,useExisting:At(()=>dT),multi:!0};function CH(t){return new mH(t,"./assets/i18n/",".json")}function LH(t){const e={basePath:t.get("api_url")};return new Wd(e)}const EH=t=>()=>t.initialize();let zH=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275mod=me({type:t,bootstrap:[kx]}),t.\u0275inj=lt({factory:function(e){return new(e||t)(Vt(uT),Vt(Ov))},providers:[uT,{provide:lu,useFactory:EH,multi:!0,deps:[yH]},{provide:Wd,useFactory:LH,deps:[Pm]},JC,dT,SH,{provide:vH,useClass:fT}],imports:[[nd,qM,qd,Pv.forRoot({loader:{provide:fv,useFactory:CH,deps:[Sd]}}),gH,cT,az,Tz,Sm,jv,MH,HL,zF,tL,$N,Qk,uR,nv,mk,CC,mC,ER,LD,BC,YD,AH,VC,XC,ZP,kA,Yx,kH,FC,gC,pH]]}),t})();(function(){if(zn)throw new Error("Cannot enable prod mode after platform setup.");En=!1})(),ed().bootstrapModule(zH).catch(t=>console.error(t))},zn8P:function(t,e){function i(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}i.keys=function(){return[]},i.resolve=i,t.exports=i,i.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/dist/apps/user-profile/main-es5.a7d49a965009c407b030.js b/dist/apps/user-profile/main-es5.a7d49a965009c407b030.js new file mode 100644 index 000000000..ebfcc8ffc --- /dev/null +++ b/dist/apps/user-profile/main-es5.a7d49a965009c407b030.js @@ -0,0 +1 @@ +!function(){function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function t(e,t){return n(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!t||i.length!==t);n=!0);}catch(u){r=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return i}(e,t)||s(e,t)||i()}function i(){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 n(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&&Symbol.iterator in Object(e))return Array.from(e)}function a(e,t){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=s(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,u=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(u)throw o}}}}function s(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},"+n5x":function(e,t,i){!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,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<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}})}(i("wgY5"))},"/hi0":function(e,t,i){!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}})}(i("wgY5"))},0:function(e,t,i){e.exports=i("zUnb")},"0yow":function(e,t,i){!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,i){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}})}(i("wgY5"))},"1KVU":function(e,t,i){!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}})}(i("wgY5"))},"1ors":function(e,t,i){!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}})}(i("wgY5"))},"2B8G":function(e,t,i){!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,i){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}})}(i("wgY5"))},"2JSI":function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},"3WqV":function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},"3y2C":function(e){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"]}')},"4MAb":function(e,t,i){!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,i){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}})}(i("wgY5"))},"4VvY":function(e,t,i){!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}})}(i("wgY5"))},"4bvN":function(e,t,i){!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,i){return e>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("wgY5"))},"5Mza":function(e,t,i){!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}})}(i("wgY5"))},"5j0y":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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[i][0]:r[i][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,i){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(i("wgY5"))},"6Olw":function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(n=+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"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}function i(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 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===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[\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()]: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: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,i){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}})}(i("wgY5"))},"6PD3":function(e,t,i){!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 i(e,t,i,n){return t?r(i)[0]:n?r(i)[1]:r(i)[2]}function n(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+i(0,t,o[0],a):t?s+(n(e)?r(o)[1]:r(o)[0]):a?s+r(o)[1]:s+(n(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,i,n){return t?"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(e){return e+"-oji"},week:{dow:1,doy:4}})}(i("wgY5"))},"6cYq":function(e,t,i){!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}})}(i("wgY5"))},"8Bez":function(e,t,i){!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("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,i){var r=e+" ";switch(i){case"ss":return r+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(n(e)?"godziny":"godzin");case"MM":return r+(n(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+i[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?i[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}})}(i("wgY5"))},"8Cju":function(e,t,i){!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"},i={"\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,i){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 i[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}})}(i("wgY5"))},"8GSH":function(e,t,i){!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,i){return e<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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},"8Ygf":function(e,t,i){!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}})}(i("wgY5"))},"9RND":function(e){e.exports=JSON.parse('{"a":"0.24.0"}')},ACAV:function(e,t,i){!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,i){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i("wgY5"))},"BAN/":function(e,t,i){!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}})}(i("wgY5"))},"BKZ+":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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[i][0]:r[i][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}})}(i("wgY5"))},CPJk:function(e,t,i){!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"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,i,n){var r="";if(t)switch(i){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(i){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: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(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[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,i){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}})}(i("wgY5"))},CZRU:function(e,t,i){!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}})}(i("wgY5"))},DDip:function(e,t,i){!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}})}(i("wgY5"))},EL7g:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(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}})}(i("wgY5"))},EQmw:function(e,t,i){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(e,t,i,n){var r=e;switch(i){case"s":return n||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(n||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return r+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(n||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return r+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(n||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||t?" \xe9v":" \xe9ve");case"yy":return r+(n||t?" \xe9v":" \xe9ve")}return""}function n(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,i){return e<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("wgY5"))},EnIJ:function(e,t,i){!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,i){return e<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(e){return e},week:{dow:1,doy:4}})}(i("wgY5"))},EqYs:function(e,t,i){!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,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default: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}})}(i("wgY5"))},FyS8:function(e,t,i){var n,r,o;!function(a,s){"use strict";e.exports?e.exports=s(i("wgY5")):(r=[i("wgY5")],void 0===(o="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=o))}(0,(function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,i={},n={},r={},o={},a={};e&&"string"==typeof e.version||L("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,i=e.split("."),n=i[0],r=i[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,i=+e,n=this.untils;for(t=0;tn&&E.moveInvalidForward&&(t=n),o3){var t=o[A(e)];if(t)return t;L("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(l){}var i,n,r,a=function(){var e,t,i,n=(new Date).getFullYear()-2,r=new v(new Date(n,0,1)),o=[r];for(i=1;i<48;i++)(t=new v(new Date(n,i,1))).offset!==r.offset&&(e=_(r,t),o.push(e),o.push(new v(new Date(e.at+6e4)))),r=t;for(i=0;i<4;i++)o.push(new v(new Date(n+i,0,1))),o.push(new v(new Date(n+i,6,1)));return o}(),s=a.length,u=M(a),c=[];for(n=0;n0?c[0].zone.name:void 0}()),t},E.names=function(){var e,t=[];for(e in o)o.hasOwnProperty(e)&&(i[e]||i[n[e]])&&o[e]&&t.push(o[e]);return t.sort()},E.Zone=g,E.unpack=p,E.unpackBase60=h,E.needsOffset=C,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(r)},E.zonesForCountry=function(e,t){var i;if(i=(i=e).toUpperCase(),!(e=r[i]||null))return null;var n=e.zones.sort();return t?n.map((function(e){return{name:e,offset:T(e).utcOffset(new Date)}})):n};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=E,e.defaultZone=null,e.updateOffset=function(t,i){var n,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(n=t._z.utcOffset(t),Math.abs(n)<16&&(n/=60),void 0!==t.utcOffset){var o=t._z;t.utcOffset(-n,i),t._z=o}else t.zone(n,i)},R.tz=function(t,i){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,i):L("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)&&L("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}))},GJYX:function(e,t,i){!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}})}(i("wgY5"))},GNPT:function(e,t,i){!function(e){"use strict";var t="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],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,n){return e?/-MMM-/.test(n)?i[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: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("wgY5"))},GzvP:function(e,t,i){!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"},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},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"]},r=function(e){return function(t,r,o,a){var s=i(t),u=n[e][i(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,i){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}})}(i("wgY5"))},HgyJ:function(e,t,i){!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}})}(i("wgY5"))},"J+SV":function(e,t,i){!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,i){var n=100*e+t;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(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}})}(i("wgY5"))},JFCg:function(e,t,i){!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,i){var n=100*e+t;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(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"}})}(i("wgY5"))},"JO+T":function(e,t,i){!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}})}(i("wgY5"))},Jt3X:function(e,t,i){!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}})}(i("wgY5"))},"K+3W":function(e,t,i){!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("_"),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],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,i,n){var r=e+" ";switch(i){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?r+(o(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?r+(o(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?r+(o(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?r+(o(e)?"dny":"dn\xed"):r+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?r+(o(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?r+(o(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,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: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: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}})}(i("wgY5"))},"K+Lk":function(e,t,i){!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("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function r(e,t,i,r){var o=e+" ";switch(i){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?o+(n(e)?"sekundy":"sek\xfand"):o+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?o+(n(e)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?o+(n(e)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?o+(n(e)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?o+(n(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?o+(n(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,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: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("wgY5"))},KqOT:function(e,t,i){!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}})}(i("wgY5"))},LsNb:function(e,t,i){!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"},i={"\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 i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wgY5"))},MNf7:function(e,t,i){!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}})}(i("wgY5"))},MROq:function(e,t,i){var n={"./af":"8GSH","./af.js":"8GSH","./ar":"NcOb","./ar-dz":"1ors","./ar-dz.js":"1ors","./ar-kw":"Sc1Y","./ar-kw.js":"Sc1Y","./ar-ly":"GzvP","./ar-ly.js":"GzvP","./ar-ma":"hH25","./ar-ma.js":"hH25","./ar-sa":"u2jB","./ar-sa.js":"u2jB","./ar-tn":"5Mza","./ar-tn.js":"5Mza","./ar.js":"NcOb","./az":"ZVVJ","./az.js":"ZVVJ","./be":"kQaN","./be.js":"kQaN","./bg":"+n5x","./bg.js":"+n5x","./bm":"TTiN","./bm.js":"TTiN","./bn":"aIF2","./bn.js":"aIF2","./bo":"QWb5","./bo.js":"QWb5","./br":"iQoZ","./br.js":"iQoZ","./bs":"EL7g","./bs.js":"EL7g","./ca":"vd/2","./ca.js":"vd/2","./cs":"K+3W","./cs.js":"K+3W","./cv":"Jt3X","./cv.js":"Jt3X","./cy":"sWi3","./cy.js":"sWi3","./da":"YcFX","./da.js":"YcFX","./de":"BKZ+","./de-at":"Oq9h","./de-at.js":"Oq9h","./de-ch":"hHY4","./de-ch.js":"hHY4","./de.js":"BKZ+","./dv":"w8Ej","./dv.js":"w8Ej","./el":"tSbB","./el.js":"tSbB","./en-SG":"cGzb","./en-SG.js":"cGzb","./en-au":"HgyJ","./en-au.js":"HgyJ","./en-ca":"ZyTy","./en-ca.js":"ZyTy","./en-gb":"exaB","./en-gb.js":"exaB","./en-ie":"yKzn","./en-ie.js":"yKzn","./en-il":"TB59","./en-il.js":"TB59","./en-nz":"iDxo","./en-nz.js":"iDxo","./eo":"4bvN","./eo.js":"4bvN","./es":"GNPT","./es-do":"R7mU","./es-do.js":"R7mU","./es-us":"Nstw","./es-us.js":"Nstw","./es.js":"GNPT","./et":"ZOjb","./et.js":"ZOjb","./eu":"kFC9","./eu.js":"kFC9","./fa":"8Cju","./fa.js":"8Cju","./fi":"vcN1","./fi.js":"vcN1","./fo":"8Ygf","./fo.js":"8Ygf","./fr":"Y8Ij","./fr-ca":"t+Zl","./fr-ca.js":"t+Zl","./fr-ch":"SPXN","./fr-ch.js":"SPXN","./fr.js":"Y8Ij","./fy":"T3MF","./fy.js":"T3MF","./ga":"NowM","./ga.js":"NowM","./gd":"GJYX","./gd.js":"GJYX","./gl":"MdC8","./gl.js":"MdC8","./gom-latn":"5j0y","./gom-latn.js":"5j0y","./gu":"fY0S","./gu.js":"fY0S","./he":"ACAV","./he.js":"ACAV","./hi":"3WqV","./hi.js":"3WqV","./hr":"OnNk","./hr.js":"OnNk","./hu":"EQmw","./hu.js":"EQmw","./hy-am":"MNf7","./hy-am.js":"MNf7","./id":"0yow","./id.js":"0yow","./is":"TmOJ","./is.js":"TmOJ","./it":"xD/0","./it-ch":"foQf","./it-ch.js":"foQf","./it.js":"xD/0","./ja":"jOnb","./ja.js":"jOnb","./jv":"lOtj","./jv.js":"lOtj","./ka":"BAN/","./ka.js":"BAN/","./kk":"iNiw","./kk.js":"iNiw","./km":"TUxt","./km.js":"TUxt","./kn":"hQzt","./kn.js":"hQzt","./ko":"ZNZT","./ko.js":"ZNZT","./ku":"S0Tg","./ku.js":"S0Tg","./ky":"JO+T","./ky.js":"JO+T","./lb":"vn/h","./lb.js":"vn/h","./lo":"gnIm","./lo.js":"gnIm","./lt":"6PD3","./lt.js":"6PD3","./lv":"YKe2","./lv.js":"YKe2","./me":"d3TR","./me.js":"d3TR","./mi":"hTlv","./mi.js":"hTlv","./mk":"ffVN","./mk.js":"ffVN","./ml":"ejL1","./ml.js":"ejL1","./mn":"RIsM","./mn.js":"RIsM","./mr":"CPJk","./mr.js":"CPJk","./ms":"d5Hy","./ms-my":"t4T9","./ms-my.js":"t4T9","./ms.js":"d5Hy","./mt":"1KVU","./mt.js":"1KVU","./my":"LsNb","./my.js":"LsNb","./nb":"h+U8","./nb.js":"h+U8","./ne":"2JSI","./ne.js":"2JSI","./nl":"jsZ8","./nl-be":"+h6j","./nl-be.js":"+h6j","./nl.js":"jsZ8","./nn":"mh29","./nn.js":"mh29","./pa-in":"O6bP","./pa-in.js":"O6bP","./pl":"8Bez","./pl.js":"8Bez","./pt":"DDip","./pt-br":"uHm5","./pt-br.js":"uHm5","./pt.js":"DDip","./ro":"baBi","./ro.js":"baBi","./ru":"ecsu","./ru.js":"ecsu","./sd":"e9KM","./sd.js":"e9KM","./se":"CZRU","./se.js":"CZRU","./si":"TO58","./si.js":"TO58","./sk":"K+Lk","./sk.js":"K+Lk","./sl":"QK6v","./sl.js":"QK6v","./sq":"v3Qg","./sq.js":"v3Qg","./sr":"Ndyf","./sr-cyrl":"PGvg","./sr-cyrl.js":"PGvg","./sr.js":"Ndyf","./ss":"2B8G","./ss.js":"2B8G","./sv":"WF5B","./sv.js":"WF5B","./sw":"4VvY","./sw.js":"4VvY","./ta":"dw3T","./ta.js":"dw3T","./te":"4MAb","./te.js":"4MAb","./tet":"/hi0","./tet.js":"/hi0","./tg":"PoVJ","./tg.js":"PoVJ","./th":"OY2w","./th.js":"OY2w","./tl-ph":"UC+K","./tl-ph.js":"UC+K","./tlh":"cWLW","./tlh.js":"cWLW","./tr":"EqYs","./tr.js":"EqYs","./tzl":"fN8o","./tzl.js":"fN8o","./tzm":"6cYq","./tzm-latn":"pdAN","./tzm-latn.js":"pdAN","./tzm.js":"6cYq","./ug-cn":"J+SV","./ug-cn.js":"J+SV","./uk":"6Olw","./uk.js":"6Olw","./ur":"QNGR","./ur.js":"QNGR","./uz":"hLzJ","./uz-latn":"KqOT","./uz-latn.js":"KqOT","./uz.js":"hLzJ","./vi":"EnIJ","./vi.js":"EnIJ","./x-pseudo":"W7dU","./x-pseudo.js":"W7dU","./yo":"QDhB","./yo.js":"QDhB","./zh-cn":"bjMe","./zh-cn.js":"bjMe","./zh-hk":"JFCg","./zh-hk.js":"JFCg","./zh-tw":"xBDH","./zh-tw.js":"xBDH"};function r(e){var t=o(e);return i(t)}function o(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=o,e.exports=r,r.id="MROq"},MdC8:function(e,t,i){!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}})}(i("wgY5"))},NcOb:function(e,t,i){!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"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"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},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,i,o,a){var s=n(t),u=r[e][n(t)];return 2===s&&(u=u[i?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,i){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 i[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}})}(i("wgY5"))},Ndyf:function(e,t,i){!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,i,n){var r=t.words[n];return 1===n.length?i?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}})}(i("wgY5"))},NowM:function(e,t,i){!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}})}(i("wgY5"))},Nstw:function(e,t,i){!function(e){"use strict";var t="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],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,n){return e?/-MMM-/.test(n)?i[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: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("wgY5"))},O6bP:function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},OIgT:function(e,t,i){"use strict";t.decode=t.parse=i("wOqL"),t.encode=t.stringify=i("f8+N")},OY2w:function(e,t,i){!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,i){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"}})}(i("wgY5"))},OnNk:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(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}})}(i("wgY5"))},Oq9h:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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[i][0]:r[i][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}})}(i("wgY5"))},PGvg:function(e,t,i){!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,i,n){var r=t.words[n];return 1===n.length?i?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}})}(i("wgY5"))},PoVJ:function(e,t,i){!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,i){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}})}(i("wgY5"))},QDhB:function(e,t,i){!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}})}(i("wgY5"))},QK6v:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return r+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return r+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"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}})}(i("wgY5"))},QNGR:function(e,t,i){!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"],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"];e.defineLocale("ur",{months:t,monthsShort:t,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(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){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}})}(i("wgY5"))},QWb5:function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},R7mU:function(e,t,i){!function(e){"use strict";var t="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],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,n){return e?/-MMM-/.test(n)?i[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: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("wgY5"))},RIsM:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){switch(i){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,i){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}}})}(i("wgY5"))},S0Tg:function(e,t,i){!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"},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"];e.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(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,i){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 i[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}})}(i("wgY5"))},SPXN:function(e,t,i){!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}})}(i("wgY5"))},Sc1Y:function(e,t,i){!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}})}(i("wgY5"))},T3MF:function(e,t,i){!function(e){"use strict";var t="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("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[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}})}(i("wgY5"))},TB59:function(e,t,i){!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")}})}(i("wgY5"))},TO58:function(e,t,i){!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,i){return e>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i("wgY5"))},TTiN:function(e,t,i){!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}})}(i("wgY5"))},TUxt:function(e,t,i){!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"},i={"\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,i){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 i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wgY5"))},TmOJ:function(e,t,i){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function i(e,i,n,r){var o=e+" ";switch(n){case"s":return i||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?o+(i||r?"sek\xfandur":"sek\xfandum"):o+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?o+(i||r?"m\xedn\xfatur":"m\xedn\xfatum"):i?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return t(e)?o+(i||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return i?"dagur":r?"dag":"degi";case"dd":return t(e)?i?o+"dagar":o+(r?"daga":"d\xf6gum"):i?o+"dagur":o+(r?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?i?o+"m\xe1nu\xf0ir":o+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?o+"m\xe1nu\xf0ur":o+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||r?"\xe1r":"\xe1ri";case"yy":return t(e)?o+(i||r?"\xe1r":"\xe1rum"):o+(i||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: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("wgY5"))},"UC+K":function(e,t,i){!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}})}(i("wgY5"))},W7dU:function(e,t,i){!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}})}(i("wgY5"))},WF5B:function(e,t,i){!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}})}(i("wgY5"))},Y8Ij:function(e,t,i){!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}})}(i("wgY5"))},YKe2:function(e,t,i){!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 i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,r){return e+" "+i(t[r],e,n)}function r(e,n,r){return i(t[r],e,n)}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:n,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},YcFX:function(e,t,i){!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}})}(i("wgY5"))},ZNZT:function(e,t,i){!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,i){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i("wgY5"))},ZOjb:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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[i][2]?r[i][2]:r[i][1]:n?r[i][0]:r[i][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}})}(i("wgY5"))},ZVVJ:function(e,t,i){!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,i){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 i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wgY5"))},ZyTy:function(e,t,i){!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")}})}(i("wgY5"))},aIF2:function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},aYSr:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},baBi:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}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}})}(i("wgY5"))},bjMe:function(e,t,i){!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,i){var n=100*e+t;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(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}})}(i("wgY5"))},cGzb:function(e,t,i){!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}})}(i("wgY5"))},cWLW:function(e,t,i){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,r){var o=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,o="";return i>0&&(o+=t[i]+"vatlh"),n>0&&(o+=(""!==o?" ":"")+t[n]+"maH"),r>0&&(o+=(""!==o?" ":"")+t[r]),""===o?"pagh":o}(e);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"}}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: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("wgY5"))},d3TR:function(e,t,i){!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,i,n){var r=t.words[n];return 1===n.length?i?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}})}(i("wgY5"))},d5Hy:function(e,t,i){!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,i){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}})}(i("wgY5"))},dw3T:function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},e9KM:function(e,t,i){!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"],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"];e.defineLocale("sd",{months:t,monthsShort:t,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(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){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}})}(i("wgY5"))},ecsu:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+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"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}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];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: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(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,i){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}})}(i("wgY5"))},ejL1:function(e,t,i){!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,i){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"}})}(i("wgY5"))},etrl:function(e,t,i){var n,r;void 0===(r="function"==typeof(n=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,u=document.createElement("a");u.download=o=o||e.name||"download",u.rel="noopener","string"==typeof e?(u.href=e,u.origin===location.origin?n(u):i(u.href)?t(e,o,a):n(u,u.target="_blank")):(u.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(u.href)}),4e4),setTimeout((function(){n(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(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,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=r)},exaB:function(e,t,i){!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}})}(i("wgY5"))},"f8+N":function(e,t,i){"use strict";var n=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,t,i,r){return t=t||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var o=encodeURIComponent(n(r))+i;return Array.isArray(e[r])?e[r].map((function(e){return o+encodeURIComponent(n(e))})).join(t):o+encodeURIComponent(n(e[r]))})).join(t):r?encodeURIComponent(n(r))+i+encodeURIComponent(n(e)):""}},fN8o:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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 n||t?r[i][0]:r[i][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,i){return e>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: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}})}(i("wgY5"))},fY0S:function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},ffVN:function(e,t,i){!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,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<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}})}(i("wgY5"))},foQf:function(e,t,i){!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}})}(i("wgY5"))},gnIm:function(e,t,i){!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,i){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}})}(i("wgY5"))},"h+U8":function(e,t,i){!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}})}(i("wgY5"))},hH25:function(e,t,i){!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}})}(i("wgY5"))},hHY4:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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[i][0]:r[i][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}})}(i("wgY5"))},hLzJ:function(e,t,i){!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}})}(i("wgY5"))},hQzt:function(e,t,i){!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"},i={"\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 i[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,i){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}})}(i("wgY5"))},hTlv:function(e,t,i){!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}})}(i("wgY5"))},iDxo:function(e,t,i){!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}})}(i("wgY5"))},iNiw:function(e,t,i){!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}})}(i("wgY5"))},iQoZ:function(e,t,i){!function(e){"use strict";function t(e,t,i){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"}[i],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(function e(t){return t>9?e(t%10):t}(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}})}(i("wgY5"))},jOnb:function(e,t,i){!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,i){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},kFC9:function(e,t,i){!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}})}(i("wgY5"))},kQaN:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+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"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,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,i){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}})}(i("wgY5"))},lOtj:function(e,t,i){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){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}})}(i("wgY5"))},mSaU:function(e,t,i){e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,(function(t){return e[t]}).bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=22)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;i=4){for(var e=arguments.length,t=Array(e),i=0;i=3){for(var e=arguments.length,t=Array(e),i=0;i=2){for(var e=arguments.length,t=Array(e),i=0;i=1){for(var e=arguments.length,t=Array(e),i=0;i1&&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 i(["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(i){if(r.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===i[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 i[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}))}))},n(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlUtility=void 0;var n=i(0),r=i(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,i){return e.indexOf("?")<0&&(e+="?"),"?"!==e[e.length-1]&&(e+="&"),e+=encodeURIComponent(t),(e+="=")+encodeURIComponent(i)},e.parseUrlFragment=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.Global;"string"!=typeof e&&(e=i.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 n.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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JoseUtil=void 0;var n=i(25),r=function(e){return e&&e.__esModule?e:{default:e}}(i(32));t.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(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OidcClientSettings=void 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},r=function(){function e(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=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,L=void 0===C||C,E=t.loadUserInfo,z=void 0===E||E,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=i,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=!!L,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":n(W))?W:{},this._extraTokenParams="object"===(void 0===K?"undefined":n(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":n(e))?e:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(e){this._extraTokenParams="object"===(void 0===e?"undefined":n(e))?e:{}}}]),e}()},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebStorageStateStore=void 0;var n=i(0),r=i(1);t.WebStorageStateStore=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.prefix,n=void 0===i?"oidc.":i,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=n}return e.prototype.set=function(e,t){return n.Log.debug("WebStorageStateStore.set",e),this._store.setItem(e=this._prefix+e,t),Promise.resolve()},e.prototype.get=function(e){n.Log.debug("WebStorageStateStore.get",e);var t=this._store.getItem(e=this._prefix+e);return Promise.resolve(t)},e.prototype.remove=function(e){n.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(){n.Log.debug("WebStorageStateStore.getAllKeys");for(var e=[],t=0;t0&&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(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"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=i,this._jwtHandler=n}return e.prototype.getJson=function(e,t){var i=this;if(!e)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",e),new Promise((function(r,o){var a=new i._XMLHttpRequest;a.open("GET",e);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 t=a.getResponseHeader("Content-Type");if(t){var i=s.find((function(e){if(t.startsWith(e))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: "+t+", from URL: "+e))}else o(Error(a.statusText+" ("+a.status+")"))},a.onerror=function(){n.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},t&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),a.setRequestHeader("Authorization","Bearer "+t)),a.send()}))},e.prototype.postForm=function(e,t){var i=this;if(!e)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",e),new Promise((function(r,o){var a=new i._XMLHttpRequest;a.open("POST",e);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(e){if(i.startsWith(e))return!0})))try{var t=JSON.parse(a.responseText);if(t&&t.error)return n.Log.error("JsonService.postForm: Error from server: ",t.error),void o(new Error(t.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(e){if(i.startsWith(e))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: "+e))}},a.onerror=function(){n.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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0;var n=function(){function e(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=t.id,n=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=i||(0,o.default)(),this._data=n,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,i){var n=Date.now()/1e3-i;return t.getAllKeys().then((function(i){r.Log.debug("State.clearStaleState: got keys",i);for(var o=[],a=function(a){var s=i[a];u=t.get(s).then((function(i){var o=!1;if(i)try{var a=e.fromStorageString(i);r.Log.debug("State.clearStaleState: got item from key: ",s,a.created),a.created<=n&&(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]:{},i=t.response_type,n=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;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,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(i=i||this._settings.response_type)&&"code"!==i?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: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:m,request:v,request_uri:y,extraQueryParams:b,extraTokenParams:w,request_type:M,response_mode:_,client_secret:e._settings.client_secret,skipUserInfo:A}),L=C.state;return(k=k||e._stateStore).set(L.id,L.toStorageString()).then((function(){return C}))}))},e.prototype.readSigninResponseState=function(e,t){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(e,n);return o.state?(t=t||this._stateStore,(i?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 i=this;return r.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(e,t,!0).then((function(e){var t=e.state,n=e.response;return r.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),i._validator.validateSigninResponse(t,n)}))},e.prototype.createSignoutRequest=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.id_token_hint,n=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: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||e._stateStore).set(d.id,d.toStorageString())),h}))},e.prototype.readSignoutResponseState=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.Log.debug("OidcClient.readSignoutResponseState");var n=new l.SignoutResponse(e);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 t=t||this._stateStore,(i?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:n}}))},e.prototype.processSignoutResponse=function(e,t){var i=this;return r.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(e,t,!0).then((function(e){var t=e.state,n=e.response;return t?(r.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),i._validator.validateSignoutResponse(t,n)):(r.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)}))},e.prototype.clearStaleState=function(e){return r.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(e=e||this._stateStore,this.settings.staleStateAge)},n(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenClient=void 0;var n=i(7),r=i(2),o=i(0);t.TokenClient=function(){function e(t){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(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 i,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(i){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),e._jsonService.postForm(i,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(i){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),e._jsonService.postForm(i,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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorResponse=void 0;var n=i(0);t.ErrorResponse=function(e){function t(){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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),!r)throw n.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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninRequest=void 0;var n=i(0),r=i(3),o=i(13);t.SigninRequest=function(){function e(t){var i=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),!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 L=e.isOidc(u),E=e.isCode(u);b||(b=e.isCode(u)?"query":null),this.state=new o.SigninState({nonce:L,data:h,client_id:a,authority:l,redirect_uri:s,code_verifier:E,request_type:k,response_mode:b,client_secret:T,scope:c,extraTokenParams:S,skipUserInfo:C}),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),L&&(i=r.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),E&&(i=r.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=r.UrlUtility.addQueryParam(i,"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]&&(i=r.UrlUtility.addQueryParam(i,R,z[R]));for(var O in A)i=r.UrlUtility.addQueryParam(i,O,A[O]);this.url=i}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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninState=void 0;var n=function(){function e(e,t){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(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===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 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))},n(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,n.default)().replace(/-/g,"")};var n=function(e){return e&&e.__esModule?e:{default:e}}(i(33));e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.User=void 0;var n=function(){function e(e,t){for(var i=0;i0){var i=parseInt(Date.now()/1e3);this.expires_at=i+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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccessTokenEvents=void 0;var n=i(0),r=i(48);t.AccessTokenEvents=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.accessTokenExpiringNotificationTime,n=void 0===i?60:i,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=n,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(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",t),t>0){var i=t-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=t+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",r),this._accessTokenExpired.init(r)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},e.prototype.unload=function(){n.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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0;var n=i(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(){n.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=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(e){e?i._start(e):i._settings.monitorAnonymousSession&&i._userManager.querySessionStatus().then((function(e){var t={session_state:e.session_state};e.sub&&e.sid&&(t.profile={sub:e.sub,sid:e.sid}),i._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,i=e.session_state;i&&(e.profile?(this._sub=e.profile.sub,this._sid=e.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(e){if(e){r.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=t._client_id,o=t._checkSessionInterval,a=t._stopCheckSessionOnError;t._checkSessionIFrame=new t._CheckSessionIFrameCtor(t._callback.bind(t),n,e,o,a),t._checkSessionIFrame.load().then((function(){t._checkSessionIFrame.start(i)}))}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 i={session_state:t.session_state};t.sub&&t.sid&&(i.profile={sub:t.sub,sid:t.sid}),e._start(i)})).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 i=!0;t?t.sub===e._sub?(i=!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"),i&&(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())}))},n(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckSessionIFrame=void 0;var n=i(0);t.CheckSessionIFrame=function(){function e(t,i,n,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=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 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?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===e.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+e.data+" message from check session op iframe"))},e.prototype.start=function(e){var t=this;if(this._session_state!==e){n.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=e;var i=function(){t._frame.contentWindow.postMessage(t._client_id+" "+t._session_state,t._frame_origin)};i(),this._timer=window.setInterval(i,this._interval)}},e.prototype.stop=function(){this._session_state=null,this._timer&&(n.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},e}()},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenRevocationClient=void 0;var n=i(0),r=i(2),o=i(1);t.TokenRevocationClient=function(){function e(t){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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw n.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=t,this._XMLHttpRequestCtor=i,this._metadataService=new a(this._settings)}return e.prototype.revoke=function(e,t){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!e)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,e,r);if(t)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")}))},e.prototype._revoke=function(e,t,i,r,o){var a=this;return new Promise((function(s,u){var c=new a._XMLHttpRequestCtor;c.open("POST",e),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(t);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)}))},e}()},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CordovaPopupWindow=void 0;var n=function(){function e(e,t){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(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 i(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=u,this._tokenClient=new l(this._settings)}return e.prototype.validateSigninResponse=function(e,t){var i=this;return r.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(e,t).then((function(t){return r.Log.debug("ResponseValidator.validateSigninResponse: state processed"),i._validateTokens(e,t).then((function(t){return r.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),i._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 i=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=i._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 i=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=i._settings.clockSkew;return r.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",l),i._joseUtil.validateJwt(t.id_token,u,a,c,l).then((function(){return r.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(t.profile=n.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 i=null;if(t.startsWith("RS"))i="RSA";else if(t.startsWith("PS"))i="PS";else{if(!t.startsWith("ES"))return r.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",t),[];i="EC"}return r.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",i),e=e.filter((function(e){return e.kty===i})),r.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",i,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 i=t.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(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserInfoService=void 0;var n=i(7),r=i(2),o=i(0),a=i(4);t.UserInfoService=function(){function e(t){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(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 i(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(i){return o.Log.debug("UserInfoService.getClaims: received userinfo url",i),t._jsonService.getJson(i,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 i=this;try{var n=this._joseUtil.parseJwt(t.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(e){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+e),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(e){return e.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(t.responseText,s,e,u,c,void 0,!0).then((function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.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 i=null;if(t.startsWith("RS"))i="RSA";else if(t.startsWith("PS"))i="PS";else{if(!t.startsWith("ES"))return o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",t),[];i="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),e=e.filter((function(e){return e.kty===i})),o.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",i,e.length),e},e}()},function(e,t,i){"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 n=i(26);t.jws=n.jws,t.KeyUtil=n.KEYUTIL,t.X509=n.X509,t.crypto=n.crypto,t.hextob64u=n.hextob64u,t.b64tohex=n.b64tohex,t.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(e,t,i){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!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},n={userAgent:!1},r={};if(void 0===o)var o={};o.lang={extend:function(t,i,r){if(!i||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var o=function(){};if(o.prototype=i.prototype,t.prototype=new o,t.prototype.constructor=t,t.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),r){var a;for(a in r)t.prototype[a]=r[a];var s=function(){},u=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(s=function(e,t){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 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=[],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(e){for(var t=e.length,i=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(i,t/2)}},f=h.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(i,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,i=t.words,n=t.sigBytes,r=this.blockSize,o=n/(4*r),s=(o=e?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|(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=n.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(t){var i=t.length,n=this._map;(r=n.charAt(64))&&-1!=(r=t.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 e.create(r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(e){for(var t=v,i=(r=t.lib).WordArray,n=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=n.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(e,t){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|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=((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 t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return i[r>>>5]|=128<<24-r%32,i[14+(r+64>>>9<<4)]=e.floor(n/4294967296),i[15+(r+64>>>9<<4)]=n,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA256=n._createHelper(r),t.HmacSHA256=n._createHmacHelper(r)}(Math),function(){function e(){return n.create.apply(n,arguments)}for(var t=v,i=t.lib.Hasher,n=(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=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(e,t){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,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,L=d,E=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=L&z^L&O^z&O;var ee=E&R^E&x^R&x,te=(X=(L>>>28|E<<4)^(L<<30|E>>>2)^(L<<25|E>>>7),G=(E>>>28|L<<4)^(E<<30|L>>>2)^(E<<25|L>>>7),(J=a[W]).high),ie=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+=ie)>>>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=L,R=E,L=Z+(U=X+U+((V=G+ee)>>>0>>0?1:0))+((E=J+V|0)>>>0>>0?1:0)|0}f=i.low=f+E,i.high=d+L+(f>>>0>>0?1:0),g=n.low=g+R,n.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,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),t[31+(n+128>>>10<<5)]=i,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),t.SHA512=i._createHelper(o),t.HmacSHA512=i._createHmacHelper(o)}(),function(){var e=v,t=(r=e.x64).Word,i=r.WordArray,n=(r=e.algo).SHA512,r=r.SHA384=n.extend({_doReset:function(){this._hash=new i.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=n._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=n._createHelper(r),e.HmacSHA384=n._createHmacHelper(r)}();var y,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function b(e){var t,i,n="";for(t=0;t+3<=e.length;t+=3)i=parseInt(e.substring(t,t+3),16),n+=_.charAt(i>>6)+_.charAt(63&i);for(t+1==e.length?(i=parseInt(e.substring(t,t+1),16),n+=_.charAt(i<<2)):t+2==e.length&&(i=parseInt(e.substring(t,t+2),16),n+=_.charAt(i>>2)+_.charAt((3&i)<<4));(3&n.length)>0;)n+="=";return n}function w(e){var t,i,n,r="",o=0;for(t=0;t>2),i=3&n,o=1):1==o?(r+=L(i<<2|n>>4),i=15&n,o=2):2==o?(r+=L(i),r+=L(n>>2),i=3&n,o=3):(r+=L(i<<2|n>>4),r+=L(15&n),o=0));return 1==o&&(r+=L(i<<2)),r}function M(e){var t,i=w(e),n=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)+i[n]+(1073741823&r))>>>30)+(l>>>15)+s*c+(r>>>30),i[n++]=1073741823&u}return r},y=30):"Netscape"!=n.appName?(A.prototype.am=function(e,t,i,n,r,o){for(;--o>=0;){var a=t*this[e++]+i[n]+r;r=Math.floor(a/67108864),i[n++]=67108863&a}return r},y=26):(A.prototype.am=function(e,t,i,n,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)+i[n]+r)>>28)+(l>>14)+s*c,i[n++]=268435455&u}return r},y=28),A.prototype.DB=y,A.prototype.DM=(1<>>16)&&(e=t,i+=16),0!=(t=e>>8)&&(e=t,i+=8),0!=(t=e>>4)&&(e=t,i+=4),0!=(t=e>>2)&&(e=t,i+=2),0!=(t=e>>1)&&(e=t,i+=1),i}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,i){e.multiplyTo(t,i),this.reduce(i)},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[i=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[i]>=e.DV;)e[i]-=e.DV,e[++i]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},x.prototype.mulTo=function(e,t,i){e.multiplyTo(t,i),this.reduce(i)},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 i;if(16==t)i=4;else if(8==t)i=3;else if(256==t)i=8;else if(2==t)i=1;else if(32==t)i=5;else{if(4!=t)return void this.fromRadix(e,t);i=2}this.t=0,this.s=0;for(var n=e.length,r=!1,o=0;--n>=0;){var a=8==i?255&e[n]:E(e,n);a<0?"-"==e.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&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 i;for(i=this.t-1;i>=0;--i)t[i+e]=this[i];for(i=e-1;i>=0;--i)t[i]=0;t.t=this.t+e,t.s=this.s},A.prototype.drShiftTo=function(e,t){for(var i=e;i=0;--i)t[i+a+1]=this[i]>>r|s,s=(this[i]&o)<=0;--i)t[i]=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 i=Math.floor(e/this.DB);if(i>=this.t)t.t=0;else{var n=e%this.DB,r=this.DB-n,o=(1<>n;for(var a=i+1;a>n;n>0&&(t[this.t-i-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[i++]=this.DV+n:n>0&&(t[i++]=n),t.t=i,t.clamp()},A.prototype.multiplyTo=function(e,t){var i=this.abs(),n=e.abs(),r=i.t;for(t.t=r+n.t;--r>=0;)t[r]=0;for(r=0;r=0;)e[i]=0;for(i=0;i=t.DV&&(e[i+t.t]-=t.DV,e[i+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(i,t[i],e,2*i,0,1)),e.s=0,e.clamp()},A.prototype.divRemTo=function(e,t,i){var n=e.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(v,i)),A.ONE.dlShiftTo(c,v),v.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,m,0,c))0&&i.rShiftTo(u,i),a<0&&A.ZERO.subTo(i,i)}}},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 i=k(),n=k(),r=t.convert(this),o=R(e)-1;for(r.copyTo(i);--o>=0;)if(t.sqrTo(i,n),(e&1<0)t.mulTo(n,r,i);else{var a=i;i=n,n=a}return t.revert(i)},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 i,n=(1<0)for(s>s)>0&&(r=!0,o=L(i));a>=0;)s>(s+=this.DB-t)):(i=this[a]>>(s-=t)&n,s<=0&&(s+=this.DB,--a)),i>0&&(r=!0),r&&(o+=L(i));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 i=this.t;if(0!=(t=i-e.t))return this.s<0?-t:t;for(;--i>=0;)if(0!=(t=this[i]-e[i]))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 i;return i=e<256||t.isEven()?new O(t):new x(t),this.exp(e,i)},A.ZERO=z(0),A.ONE=z(1),H.prototype.convert=q,H.prototype.revert=q,H.prototype.mulTo=function(e,t,i){e.multiplyTo(t,i)},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,i){e.multiplyTo(t,i),this.reduce(i)},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),i=Math.pow(e,t),n=z(i),r=k(),o=k(),a="";for(this.divRemTo(n,r,o);r.signum()>0;)a=(i+o.intValue()).toString(e).substr(1)+a,r.divRemTo(n,r,o);return o.intValue().toString(e)+a},A.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var i=this.chunkSize(t),n=Math.pow(t,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(t,o)),this.dAddOffset(a,0)),r&&A.ZERO.subTo(this,this)},A.prototype.fromNumber=function(e,t,i){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,i),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 n=new Array,r=7&e;n.length=1+(e>>3),t.nextBytes(n),r>0?n[0]&=(1<>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[i++]=n:n<-1&&(t[i++]=this.DV+n),t.t=i,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,i){var n,r=Math.min(this.t+e.t,t);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(t-this.t,0);n0)if(0==t)i=this[0]%e;else for(var n=this.t-1;n>=0;--n)i=(t*i+this[n])%e;return i},A.prototype.millerRabin=function(e){var t=this.subtract(A.ONE),i=t.getLowestSetBit();if(i<=0)return!1;var n=t.shiftRight(i);(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 i,n=this.DB-e*this.DB%8,r=0;if(e-- >0)for(n>n)!=(this.s&this.DM)>>n&&(t[r++]=i|this.s<=0;)n<8?(i=(this[e]&(1<>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&i)&&(i|=-256),0==r&&(128&this.s)!=(128&i)&&++r,(r>0||i!=this.s)&&(t[r++]=i);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(n.sqrTo(a[1],l);s<=c;)a[s]=k(),n.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=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==(e[f]&1<=0?(i.subTo(n,i),t&&r.subTo(a,r),o.subTo(s,o)):(n.subTo(i,n),t&&a.subTo(r,a),s.subTo(o,s))}return 0!=n.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(),i=e.s<0?e.negate():e.clone();if(t.compareTo(i)<0){var n=t;t=i,i=n}var r=t.getLowestSetBit(),o=i.getLowestSetBit();if(o<0)return t;for(r0&&(t.rShiftTo(o,t),i.rShiftTo(o,i));t.signum()>0;)(r=t.getLowestSetBit())>0&&t.rShiftTo(r,t),(r=i.getLowestSetBit())>0&&i.rShiftTo(r,i),t.compareTo(i)>=0?(t.subTo(i,t),t.rShiftTo(1,t)):(i.subTo(t,i),i.rShiftTo(1,i));return o>0&&i.lShiftTo(o,i),i},A.prototype.isProbablePrime=function(e){var t,i=this.abs();if(1==i.t&&i[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 n}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,i,n){this.curve=e,this.x=t,this.y=i,this.z=null==n?A.ONE:n,this.zinv=null}function se(e,t,i){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(i),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=ie(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(n--);r<128?i[--t]=r:r>127&&r<2048?(i[--t]=63&r|128,i[--t]=r>>6|192):(i[--t]=63&r|128,i[--t]=r>>6&63|128,i[--t]=r>>12|224)}i[--t]=0;for(var o=new te,a=new Array;t>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);i[--t]=a[0]}return i[--t]=2,i[--t]=0,new A(i)}(e,this.n.bitLength()+7>>3);if(null==t)return null;var i=this.doPublic(t);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n},re.prototype.encryptOAEP=function(e,t,i){var n=function(e,t,i,n){var r=ce.crypto.MessageDigest,o=ce.crypto.Util,a=null;if(i||(i="sha1"),"string"==typeof i&&(a=r.getCanonicalAlgName(i),n=r.getHashLength(a),i=function(e){return Ae(o.hashHex(ke(e),a))}),e.length+2*n+2>t)throw"Message too long for RSA";var s,u="";for(s=0;s>3,t,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},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),i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(A.ZERO.equals(i))return A.ZERO.equals(t)?this.twice():this.curve.getInfinity();var n=new A("3"),r=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),i.square()),s=a.multiply(i),u=r.multiply(a),c=t.square().multiply(this.z),l=c.subtract(u.shiftLeft(1)).multiply(e.z).subtract(s).multiply(i).mod(this.curve.q),h=u.multiply(n).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(),i=this.y.toBigInteger(),n=i.multiply(this.z),r=n.multiply(i).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(n).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=n.square().multiply(n).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,i=e,n=i.multiply(new A("3")),r=this.negate(),o=this;for(t=n.bitLength()-2;t>0;--t){o=o.twice();var a=n.testBit(t);a!=i.testBit(t)&&(o=o.add(a?this:r))}return o},ae.prototype.multiplyTwo=function(e,t,i){var n;n=e.bitLength()>i.bitLength()?e.bitLength()-1:i.bitLength()-1;for(var r=this.curve.getInfinity(),o=this.add(t);n>=0;)r=r.twice(),e.testBit(n)?r=i.testBit(n)?r.add(o):r.add(this):i.testBit(n)&&(r=r.add(t)),--n;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,i=e.substr(2,t),n=e.substr(t+2,t);return new ae(this,this.fromBigInteger(new A(i,16)),this.fromBigInteger(new A(n,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 i=e.toByteArrayUnsigned();if(ti.length;)i.unshift(0);return i},i=this.getX().toBigInteger(),n=this.getY().toBigInteger(),r=t(i,32);return e?n.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(t(n,32))),r},ae.decodeFrom=function(e,t){var i=t.length-1,n=t.slice(1,1+i/2),r=t.slice(1+i/2,1+i);n.unshift(0),r.unshift(0);var o=new A(n),a=new A(r);return new ae(e,e.fromBigInteger(o),e.fromBigInteger(a))},ae.decodeFromHex=function(e,t){t.substr(0,2);var i=t.length-2,n=t.substr(2,i/2),r=t.substr(2+i/2,i/2),o=new A(n,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),i=e.y.subtract(this.y).divide(t),n=i.square().subtract(this.x).subtract(e.x),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new ae(this.curve,n,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)),i=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),n=i.square().subtract(this.x.multiply(e)),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new ae(this.curve,n,r)},ae.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,i=e,n=i.multiply(new A("3")),r=this.negate(),o=this;for(t=n.bitLength()-2;t>0;--t){o=o.twice();var a=n.testBit(t);a!=i.testBit(t)&&(o=o.add2D(a?this:r))}return o},ae.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),i=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),r=this.curve.getQ(),o=t.multiply(t).mod(r),a=e.multiply(e).multiply(e).add(i.multiply(e)).add(n).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(),i=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(i.compareTo(A.ONE)<0||i.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"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function r(e,t,i){return t?n[t]:String.fromCharCode(parseInt(i,16))}var o=new String(""),a=Object.hasOwnProperty;return function(n,s){var u,c,l=n.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,n,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 i=t.substr(1).length;i%2==1?i+=1:t.match(/^[0-7]/)||(i+=2);for(var n="",r=0;r15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+i).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,i){var n=this.zeroPadding,r=this.localDateToUTC(e),o=String(r.getFullYear());"utc"==t&&(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(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,i,n,r,o){var a=new Date(Date.UTC(e,t-1,i,n,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=n[i]);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),i="",n=0;n"7"?"00"+e:e}de.getLblen=function(e,t){if("8"!=e.substr(t+2,1))return 1;var i=parseInt(e.substr(t+3,1));return 0==i?-1:0=2*o)break;if(s>=200)break;n.push(u),a=u,s++}return n},de.getNthChildIdx=function(e,t,i){return de.getChildIdx(e,t)[i]},de.getIdxbyList=function(e,t,i,n){var r,o,a=de;if(0==i.length){if(void 0!==n&&e.substr(t,2)!==n)throw"checking tag doesn't match: "+e.substr(t,2)+"!="+n;return t}return r=i.shift(),o=a.getChildIdx(e,t),a.getIdxbyList(e,o[r],i,n)},de.getTLVbyList=function(e,t,i,n){var r=de,o=r.getIdxbyList(e,t,i);if(void 0===o)throw"can't find nthList object";if(void 0!==n&&e.substr(o,2)!=n)throw"checking tag doesn't match: "+e.substr(o,2)+"!="+n;return r.getTLV(e,o)},de.getVbyList=function(e,t,i,n,r){var o,a,s=de;if(void 0===(o=s.getIdxbyList(e,t,i,n)))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},i=[],n=e.substr(0,2),r=parseInt(n,16);i[0]=new String(Math.floor(r/40)),i[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,i,n){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===i&&(i=0),void 0===n&&(n="");var l=t.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)?(M=n+"OCTETSTRING, encapsulates\n")+a(h,t,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=ce.asn1.ASN1Util.oidHexToInt(d),p=ce.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 '"+Me(o(u,i))+"'\n";if("13"==u.substr(i,2))return n+"PrintableString '"+Me(o(u,i))+"'\n";if("14"==u.substr(i,2))return n+"TeletexString '"+Me(o(u,i))+"'\n";if("16"==u.substr(i,2))return n+"IA5String '"+Me(o(u,i))+"'\n";if("17"==u.substr(i,2))return n+"UTCTime "+Me(o(u,i))+"\n";if("18"==u.substr(i,2))return n+"GeneralizedTime "+Me(o(u,i))+"\n";if("30"==u.substr(i,2)){if("3000"==u.substr(i,4))return n+"SEQUENCE {}\n";M=n+"SEQUENCE\n";var m=t;if((2==(_=s(u,i)).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],n+" ");return M}if("31"==u.substr(i,2)){M=n+"SET\n";var _=s(u,i);for(y=0;y<_.length;y++)M+=a(u,t,_[y],n+" ");return M}var b=parseInt(u.substr(i,2),16);if(0!=(128&b)){var w=31&b;if(0!=(32&b)){var M=n+"["+w+"]\n";for(_=s(u,i),y=0;y<_.length;y++)M+=a(u,t,_[y],n+" ");return M}return"68747470"==(h=o(u,i)).substr(0,8)&&(h=Me(h)),"subjectAltName"===t.x509ExtName&&2==w&&(h=Me(h)),n+"["+w+"] "+h+"\n"}return n+"UNKNOWN("+u.substr(i,2)+") "+o(u,i)+"\n"},de.isASN1HEX=function(e){var t=de;if(e.length%2==1)return!1;var i=t.getVblen(e,0),n=e.substr(0,2),r=t.getL(e,0);return e.length-n.length-r.length==2*i},de.oidname=function(e){var t=ce.asn1;ce.lang.String.isHex(e)&&(e=t.ASN1Util.oidHexToInt(e));var i=t.x509.OID.oid2name(e);return""===i&&(i=e),i},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,i){var n=this.getDigestInfoHex(e,t),r=i/4;if(n.length+22>r)throw"key is too short for SigAlg: keylen="+i+","+t;for(var o="0001",a="00"+n,s="",u=r-o.length-a.length,c=0;c=0)return!1;if(i.compareTo(A.ONE)<0||i.compareTo(r)>=0)return!1;var a=i.modInverse(r),s=e.multiply(a).mod(r),u=t.multiply(a).mod(r);return o.multiply(s).add(n.multiply(u)).getX().toBigInteger().mod(r).equals(t)},this.serializeSig=function(e,t){var i=e.toByteArraySigned(),n=t.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(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 i=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 n=e.slice(t+2,t+2+e[t+1]);return t+=2+e[t+1],{r:A.fromByteArrayUnsigned(i),s:A.fromByteArrayUnsigned(n)}},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 i=this.ecparams.n;return{r:A.fromByteArrayUnsigned(e.slice(1,33)).mod(i),s:A.fromByteArrayUnsigned(e.slice(33,65)).mod(i),i:t}},this.readPKCS5PrvKeyHex=function(e){var t,i,n,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"),i=o(e,0,[1],"04");try{n=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(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){var t,i,n,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"),i=o(e,0,[2,0,1],"04");try{n=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(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){var t,i,n=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"),i=r(e,0,[1],"03").substr(2)}catch(e){throw"malformed PKCS#8 ECC public key"}if(this.curveName=n(t),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(e,t){5!==t&&(t=6);var i,n,r=ce.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{i=o(e,0,[0,t,0,1],"06"),n=o(e,0,[0,t,1],"03").substr(2)}catch(e){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!==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,i=de.getV;if("30"!=e.substr(0,2))throw"signature is not a ASN.1 sequence";var n=t(e,0);if(2!=n.length)throw"number of signature ASN.1 sequence elements seem wrong";var r=n[0],o=n[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:i(e,r),s:i(e,o)}},ce.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=ce.crypto.ECDSA.parseSigHexInHexRS(e),i=t.r,n=t.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},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),i=e.substr(e.length/2);return ce.crypto.ECDSA.hexRSSigToASN1Sig(t,i)},ce.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var i=new A(e,16),n=new A(t,16);return ce.crypto.ECDSA.biRSSigToASN1Sig(i,n)},ce.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var i=ce.asn1,n=new i.DERInteger({bigint:e}),r=new i.DERInteger({bigint:t});return new i.DERSequence({array:[n,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 i(e){return new A(e,16)}this.getByName=function(i){var n=i;if(void 0!==t[n]&&(n=t[i]),void 0!==e[n])return e[n];throw"unregistered EC curve name: "+n},this.regist=function(n,r,o,a,s,u,c,l,h,d,f,p){e[n]={};var g=i(o),m=i(a),v=i(s),y=i(u),_=i(c),b=new se(g,m,v),w=b.decodePointHex("04"+l+h);e[n].name=n,e[n].keylen=r,e[n].curve=b,e[n].G=w,e[n].n=y,e[n].h=_,e[n].oid=f,e[n].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,i,n){var o=v.enc.Base64.parse(e),a=v.enc.Hex.stringify(o);return(0,r[t].proc)(a,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(e){return o(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,t,i){return a(e,t,i)},decryptKeyB64:function(e,t,i,n){return s(e,t,i,n)},getDecryptedKeyHex:function(e,t){var i=o(e),n=i.cipher,r=i.ivsalt,u=i.data,c=a(n,t,r).keyhex;return s(u,n,c,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,t,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(e){var t=v.lib.WordArray.random(e);return v.enc.Hex.stringify(t)}(r[n].ivlen).toUpperCase()),s="-----BEGIN "+e+" PRIVATE KEY-----\r\n",s+="Proc-Type: 4,ENCRYPTED\r\n",s+="DEK-Info: "+n+","+o+"\r\n",s+="\r\n",(s+=function(e,t,i,n){return(0,r[t].eproc)(e,i,n)}(t,n,a(n,i,o).keyhex,o).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+e+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(t){var i=de.getChildIdx,n=de.getV,r={},o=i(t,0);if(2!=o.length)throw"malformed format: SEQUENCE(0).items != 2: "+o.length;r.ciphertext=n(t,o[1]);var a=i(t,o[0]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+a.length;if("2a864886f70d01050d"!=n(t,a[0]))throw"this only supports pkcs5PBES2";var s=i(t,a[1]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+s.length;var u=i(t,s[1]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+u.length;if("2a864886f70d0307"!=n(t,u[0]))throw"this only supports TripleDES";r.encryptionSchemeAlg="TripleDES",r.encryptionSchemeIV=n(t,u[1]);var c=i(t,s[0]);if(2!=c.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+c.length;if("2a864886f70d01050c"!=n(t,c[0]))throw"this only supports pkcs5PBKDF2";var l=i(t,c[1]);if(l.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length;r.pbkdf2Salt=n(t,l[0]);var h=n(t,l[1]);try{r.pbkdf2Iter=parseInt(h,16)}catch(e){throw"malformed format pbkdf2Iter: "+h}return r},getPBKDF2KeyHexFromParam:function(e,t){var i=v.enc.Hex.parse(e.pbkdf2Salt),n=v.PBKDF2(t,i,{keySize:6,iterations:e.pbkdf2Iter});return v.enc.Hex.stringify(n)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,t){var i=Ee(e,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),r=Fe.getPBKDF2KeyHexFromParam(n,t),o={};o.ciphertext=v.enc.Hex.parse(n.ciphertext);var a=v.enc.Hex.parse(r),s=v.enc.Hex.parse(n.encryptionSchemeIV),u=v.TripleDES.decrypt(o,a,{iv:s});return v.enc.Hex.stringify(u)},getKeyFromEncryptedPKCS8PEM:function(e,t){var i=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,t);return this.getKeyFromPlainPrivatePKCS8Hex(i)},parsePlainPrivatePKCS8Hex:function(e){var t=de,i=t.getChildIdx,n=t.getV,r={algparam:null};if("30"!=e.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var o=i(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=i(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=n(e,a[0]),"06"==e.substr(a[1],2)&&(r.algparam=n(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=Ee(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(t)},getKeyFromPlainPrivatePKCS8Hex:function(e){var t,i=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==i.algoid)t=new re;else if("2a8648ce380401"==i.algoid)t=new ce.crypto.DSA;else{if("2a8648ce3d0201"!=i.algoid)throw"unsupported private key algorithm";t=new ce.crypto.ECDSA}return t.readPKCS8PrvKeyHex(e),t},_getKeyFromPublicPKCS8Hex:function(e){var t,i=de.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===i)t=new re;else if("2a8648ce380401"===i)t=new ce.crypto.DSA;else{if("2a8648ce3d0201"!==i)throw"unsupported PKCS#8 public key hex";t=new ce.crypto.ECDSA}return t.readPKCS8PubKeyHex(e),t},parsePublicRawRSAKeyHex:function(e){var t=de.getChildIdx,i=de.getV,n={};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(n.n=i(e,r[0]),"02"!=e.substr(r[1],2))throw"malformed RSA key(code:004)";return n.e=i(e,r[1]),n},parsePublicPKCS8Hex:function(e){var t=de,i=t.getChildIdx,n=t.getV,r={algparam:null},o=i(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=i(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=n(e,s[0]),"06"==e.substr(s[1],2)?r.algparam=n(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=n(e,o[1]).substr(2),r}}}();Fe.getKey=function(e,t,i){var n,r=(v=de).getChildIdx,o=v.getVbyList,a=ce.crypto,s=a.ECDSA,u=a.DSA,c=re,l=Ee,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(E=new c).setPublic(e.n,e.e),E;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(E=new c).setPrivateEx(e.n,e.e,e.d,e.p,e.q,e.dp,e.dq,e.co),E;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0===e.p)return(E=new c).setPrivate(e.n,e.e,e.d),E;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0===e.x)return(E=new u).setPublic(e.p,e.q,e.g,e.y),E;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0!==e.x)return(E=new u).setPrivate(e.p,e.q,e.g,e.y,e.x),E;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(E=new c).setPublic(be(e.n),be(e.e)),E;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(E=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)),E;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d)return(E=new c).setPrivate(be(e.n),be(e.e),be(e.d)),E;if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0===e.d){var d=(L=new s({curve:e.crv})).ecparams.keylen/4,f="04"+("0000000000"+be(e.x)).slice(-d)+("0000000000"+be(e.y)).slice(-d);return L.setPublicKeyHex(f),L}if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0!==e.d){d=(L=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 L.setPublicKeyHex(f),L.setPrivateKeyHex(p),L}if("pkcs5prv"===i){var g,m=e,v=de;if(9===(g=r(m,0)).length)(E=new c).readPKCS5PrvKeyHex(m);else if(6===g.length)(E=new u).readPKCS5PrvKeyHex(m);else{if(!(g.length>2&&"04"===m.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(E=new s).readPKCS5PrvKeyHex(m)}return E}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(e);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(e);if("x509pub"===i)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=Ee(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(n=l(e,"DSA PRIVATE KEY"),0,[1],"02"),w=o(n,0,[2],"02"),M=o(n,0,[3],"02"),k=o(n,0,[4],"02"),T=o(n,0,[5],"02");return(E=new u).setPrivate(new A(b,16),new A(w,16),new A(M,16),new A(k,16),new A(T,16)),E}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 L,E=o(n=h.getDecryptedKeyHex(e,t),0,[1],"04"),z=o(n,0,[2,0],"06"),R=o(n,0,[3,0],"03").substr(2);if(void 0===ce.crypto.OID.oidhex2name[z])throw"undefined OID(hex) in KJUR.crypto.OID: "+z;return(L=new s({curve:ce.crypto.OID.oidhex2name[z]})).setPublicKeyHex(R),L.setPrivateKeyHex(E),L.isPublic=!1,L}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED"))return b=o(n=h.getDecryptedKeyHex(e,t),0,[1],"02"),w=o(n,0,[2],"02"),M=o(n,0,[3],"02"),k=o(n,0,[4],"02"),T=o(n,0,[5],"02"),(E=new u).setPrivate(new A(b,16),new A(w,16),new A(M,16),new A(k,16),new A(T,16)),E;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 i=t;(a=new re).generate(i,"10001"),a.isPrivate=!0,a.isPublic=!0;var n=new re,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"==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,(n=new ce.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=n,s}throw"unknown algorithm: "+e},Fe.getPEM=function(e,t,i,n,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 Le(w=new(0,a.x509.SubjectPublicKeyInfo)(e).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==t&&void 0!==f&&e instanceof f&&(void 0===i||null==i)&&1==e.isPrivate)return Le(w=p(e).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==t&&void 0!==d&&e instanceof d&&(void 0===i||null==i)&&1==e.isPrivate){var y=new s({name:e.curveName}).getEncodedHex(),_=g(e).getEncodedHex(),b="";return(b+=Le(y,"EC PARAMETERS"))+Le(_,"EC PRIVATE KEY")}if("PKCS1PRV"==t&&void 0!==h&&e instanceof h&&(void 0===i||null==i)&&1==e.isPrivate)return Le(w=m(e).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==t&&void 0!==f&&e instanceof f&&void 0!==i&&null!=i&&1==e.isPrivate){var w=p(e).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",w,i,n,o)}if("PKCS5PRV"==t&&void 0!==d&&e instanceof d&&void 0!==i&&null!=i&&1==e.isPrivate)return w=g(e).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",w,i,n,o);if("PKCS5PRV"==t&&void 0!==h&&e instanceof h&&void 0!==i&&null!=i&&1==e.isPrivate)return w=m(e).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",w,i,n,o);var M=function(e,t){var i=A(e,t);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()},A=function(e,t){var i=v.lib.WordArray.random(8),n=v.lib.WordArray.random(8),r=v.PBKDF2(t,i,{keySize:6,iterations:100}),o=v.enc.Hex.parse(e),a=v.TripleDES.encrypt(o,r,{iv:n})+"",s={};return s.ciphertext=a,s.pbkdf2Salt=v.enc.Hex.stringify(i),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=v.enc.Hex.stringify(n),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===i||null==i?Le(w,"PRIVATE KEY"):Le(_=M(w,i),"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===i||null==i?Le(w,"PRIVATE KEY"):Le(_=M(w,i),"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===i||null==i?Le(w,"PRIVATE KEY"):Le(_=M(w,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Fe.getKeyFromCSRPEM=function(e){var t=Ee(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,i=de.getTLV,n={},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 n.p8pubkeyhex=i(r,a[2]),n},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"!==(n=e.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;var i=e.getPublicKeyXYHex();return t.kty="EC",t.crv=n,t.x=_e(i.x),t.y=_e(i.y),t.d=_e(e.prvKeyHex),t}if(e instanceof ce.crypto.ECDSA&&e.isPublic){var n;if("P-256"!==(n=e.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;return i=e.getPublicKeyXYHex(),t.kty="EC",t.crv=n,t.x=_e(i.x),t.y=_e(i.y),t}throw"not supported key object"},re.getPosArrayOfChildrenFromHex=function(e){return de.getChildIdx(e,0)},re.getHexValueArrayOfChildrenFromHex=function(e){var t,i=de.getV,n=i(e,(t=re.getPosArrayOfChildrenFromHex(e))[0]),r=i(e,t[1]),o=i(e,t[2]),a=i(e,t[3]),s=i(e,t[4]),u=i(e,t[5]),c=i(e,t[6]),l=i(e,t[7]),h=i(e,t[8]);return(t=new Array).push(n,r,o,a,s,u,c,l,h),t},re.prototype.readPrivateKeyFromPEMString=function(e){var t=Ee(e),i=re.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[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,i,n,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"),i=c(e,0,[2,0,2],"02"),n=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,i,n,r,o,a,s,u)},re.prototype.readPKCS5PubKeyHex=function(e){var t=de,i=t.getV;if(!1===t.isASN1HEX(e))throw"keyHex is not ASN.1 hex string";var n=t.getChildIdx(e,0);if(2!==n.length||"02"!==e.substr(n[0],2)||"02"!==e.substr(n[1],2))throw"wrong hex for PKCS#5 public key";var r=i(e,n[0]),o=i(e,n[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 i=t.getTLVbyList(e,0,[1,0]);this.readPKCS5PubKeyHex(i)},re.prototype.readCertPubKeyHex=function(e,t){var i,n;(i=new We).readCertHex(e),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var He=new RegExp("");function qe(e,t){for(var i="",n=t/4-e.length,r=0;r>24,(16711680&r)>>16,(65280&r)>>8,255&r])))),r+=1;return n}function Ye(e){for(var t in ce.crypto.Util.DIGESTINFOHEAD){var i=ce.crypto.Util.DIGESTINFOHEAD[t],n=i.length;if(e.substring(0,n)==i)return[t,e.substring(n)]}return[]}function We(){var e=de,t=e.getChildIdx,i=e.getV,n=e.getTLV,r=e.getVbyList,o=e.getTLVbyList,a=e.getIdxbyList,s=e.getVidx,u=e.oidname,c=We,l=Ee;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(),i=this.getSignatureValueHex(),n=o(this.hex,0,[0],"30"),r=new ce.crypto.Signature({alg:t});return r.init(e),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=t(this.hex,i);this.aExtInfo=new Array;for(var o=0;o0&&(c=new Array(i),(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(n=0;n>8*s-a&255),n=0;nthis.n.bitLength())return 0;var n=Ye(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var r=n[0];return n[1]==function(e){return ce.crypto.Util.hashString(e,r)}(e)},re.prototype.verifyWithMessageHash=function(e,t){var i=ie(t=(t=t.replace(He,"")).replace(/[ \n]+/g,""),16);if(i.bitLength()>this.n.bitLength())return 0;var n=Ye(this.doPublic(i).toString(16).replace(/^1f+00/,""));return 0!=n.length&&n[1]==e},re.prototype.verifyPSS=function(e,t,i,n){var r=function(e){return ce.crypto.Util.hashHex(e,i)}(ke(e));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(r,t,i,n)},re.prototype.verifyWithMessageHashPSS=function(e,t,i,n){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,i)},s=Ae(e),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=je(f,d.length,a),m=[];for(o=0;o0&&-1==(":"+n.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,i,n=e.split("."),r={};if(2!=n.length&&3!=n.length)throw"malformed sJWS: wrong number of '.' splitted elements";return t=n[1],3==n.length&&(i=n[2]),r.headerObj=ce.jws.JWS.readSafeJSONString(he(n[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!==i&&(r.sigHex=be(i)),r},ce.jws.JWS.verifyJWT=function(e,t,n){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===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.gracePeriodt.length&&(i=t.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|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 i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(e).length;default:if(n)return H(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function m(e,t,i,n,r){if(0===e.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:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:v(e,t,i,n,r);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):v(e,[t],i,n,r);throw new TypeError("val must be string, number or Buffer")}function v(e,t,i,n,r){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,i/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*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=t.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}(t,e.length-i),e,i,n)}function k(e,t,i){return n.fromByteArray(0===t&&i===e.length?e:e.slice(t,i))}function T(e,t,i){i=Math.min(e.length,i);for(var n=[],r=t;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=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&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),r+=h}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);for(var i="",n=0;nthis.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,i);case"utf8":case"utf-8":return T(this,t,i);case"ascii":return C(this,t,i);case"latin1":case"binary":return L(this,t,i);case"base64":return k(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!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="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),""},u.prototype.compare=function(e,t,i,n,r){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return-1;if(t>=i)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(n>>>=0),a=(i>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,r),l=e.slice(t,i),h=0;hr)&&(i=r),e.length>0&&(i<0||t<0)||t>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,e,t,i);case"utf8":case"utf-8":return _(this,e,t,i);case"ascii":return b(this,e,t,i);case"latin1":case"binary":return w(this,e,t,i);case"base64":return M(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,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 C(e,t,i){var n="";i=Math.min(e.length,i);for(var r=t;rn)&&(i=n);for(var r="",o=t;oi)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,i,n,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,i,n){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-i,2);r>>8*(n?r:1-r)}function D(e,t,i,n){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-i,4);r>>8*(n?r:3-r)&255}function P(e,t,i,n,r,o){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(e,t,i,n,o){return o||P(e,0,i,4),r.write(e,t,i,n,23,4),i+4}function I(e,t,i,n,o){return o||P(e,0,i,8),r.write(e,t,i,n,52,8),i+8}u.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(r*=256);)n+=this[e+--t]*r;return n},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,i){e|=0,t|=0,i||R(e,t,this.length);for(var n=this[e],r=1,o=0;++o=(r*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||R(e,t,this.length);for(var n=t,r=1,o=this[e+--n];n>0&&(r*=256);)o+=this[e+--n]*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 i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},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,i,n){e=+e,t|=0,i|=0,n||O(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+r]=e/o&255;return t+i},u.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);O(this,e,t,i,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+i},u.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);O(this,e,t,i,r-1,-r)}var o=i-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+i},u.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return e=+e,t|=0,i||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,i){return N(this,e,t,!0,i)},u.prototype.writeFloatBE=function(e,t,i){return N(this,e,t,!1,i)},u.prototype.writeDoubleLE=function(e,t,i){return I(this,e,t,!0,i)},u.prototype.writeDoubleBE=function(e,t,i){return I(this,e,t,!1,i)},u.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=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),e.length-t=0;--r)e[r+t]=this[r+i];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&o.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;o.push(i)}else if(i<2048){if((t-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=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((t-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function q(e){return n.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,i,n){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}}).call(this,i(28))},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";t.byteLength=function(e){var t=c(e),i=t[1];return 3*(t[0]+i)/4-i},t.toByteArray=function(e){for(var t,i=c(e),n=i[0],a=i[1],s=new o(function(e,t,i){return 3*(t+i)/4-i}(0,n,a)),u=0,l=a>0?n-4:n,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,i=e.length,r=i%3,o=[],a=0,s=i-r;as?s:a+16383));return 1===r?o.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===r&&o.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<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=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function l(e,t,i){for(var r,o=[],a=t;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(e,t){t.read=function(e,t,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=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+=n;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,n),o-=c}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,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=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[i+f]=255&s,f+=p,s/=256,r-=8);for(a=a<0;e[i+f]=255&a,f+=p,a/=256,c-=8);e[i+f-p]|=128*g}},function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.jws,i=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(i){n.Log.debug("JoseUtil.parseJwt");try{var r=t.JWS.parse(i);return{header:r.headerObj,payload:r.payloadObj}}catch(e){n.Log.error(e)}},e.validateJwt=function(t,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 e._validateJwt(t,o,a,u,c,l,h)}catch(e){return n.Log.error(e&&e.message||e),Promise.reject("JWT validation failed")}},e.validateJwtAttributes=function(t,i,r,o,a,s){o||(o=0),a||(a=parseInt(Date.now()/1e3));var u=e.parseJwt(t).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&t)<<3)&255;return r}}},function(e,t){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninResponse=void 0;var n=function(){function e(e,t){for(var i=0;i1&&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 n=r.UrlUtility.parseUrlFragment(t,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(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 i=parseInt(Date.now()/1e3);this.expires_at=i+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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignoutRequest=void 0;var n=i(0),r=i(3),o=i(8);t.SignoutRequest=function e(t){var i=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),!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(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignoutResponse=void 0;var n=i(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 i=n.UrlUtility.parseUrlFragment(t,"?");this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.state=i.state}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryWebStorage=void 0;var n=function(){function e(e,t){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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i instanceof a.UserManagerSettings||(i=new a.UserManagerSettings(i));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,i));return m._events=new u.UserManagerEvents(i),m._silentRenewService=new n(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(i){return i&&i.refresh_token?(t.refresh_token=i.refresh_token,e._useRefreshToken(t)):(t.id_token_hint=t.id_token_hint||e.settings.includeIdTokenInSilentRenew&&i&&i.id_token,i&&e._settings.validateSubOnSilentRenew&&(r.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",i.profile.sub),t.current_sub=i.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(i){if(i){var n=Promise.resolve();return t.id_token&&(n=e._validateIdTokenFromTokenRefreshToken(i.profile,t.id_token)),n.then((function(){return r.Log.debug("UserManager._useRefreshToken: refresh token response success"),i.id_token=t.id_token,i.access_token=t.access_token,i.refresh_token=t.refresh_token||i.refresh_token,i.expires_in=t.expires_in,e.storeUser(i).then((function(){return e._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"))}))},t.prototype._validateIdTokenFromTokenRefreshToken=function(e,t){var i=this;return this._metadataService.getIssuer().then((function(n){return i._joseUtil.validateJwtAttributes(t,n,i._settings.client_id,i._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(i){var n=i.state;return"si:r"===n.request_type?t.signinRedirectCallback(e):"si:p"===n.request_type?t.signinPopupCallback(e):"si:s"===n.request_type?t.signinSilentCallback(e):Promise.reject(new Error("invalid response_type in state"))}))},t.prototype.signoutCallback=function(e,t){var i=this;return this.readSignoutResponseState(e).then((function(n){var r=n.state,o=n.response;return r?"so:r"===r.request_type?i.signoutRedirectCallback(e):"so:p"===r.request_type?i.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 i=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return i?(t.redirect_uri=i,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:i,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 i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(e,t,n).then((function(t){return i._signinEnd(t.url,e)}))},t.prototype._signinStart=function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.prepare(n).then((function(t){return r.Log.debug("UserManager._signinStart: got navigator window handle"),i.createSigninRequest(e).then((function(e){return r.Log.debug("UserManager._signinStart: got signin request"),n.url=e.url,n.id=e.state.id,t.navigate(n)})).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,i=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 n=new s.User(e);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 t.storeUser(n).then((function(){return r.Log.debug("UserManager._signinEnd: user stored"),t._events.load(n),n}))}))},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 i={useReplaceToNavigate:e.useReplaceToNavigate};return this._signoutStart(e,this._redirectNavigator,i).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 i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(e,t,n).then((function(e){return i._signoutEnd(e.url)}))},t.prototype._signoutStart=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=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"),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"),n.url=e.url,e.state&&(n.id=e.state.id),i.navigate(n)}))}))}))})).catch((function(e){throw i.close&&(r.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),i.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(i){if(i)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 i=this;if(e){var n=e.refresh_token;return this._revokeAccessTokenInternal(e.access_token,t).then((function(e){return i._revokeRefreshTokenInternal(n,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)},n(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerSettings=void 0;var n=function(){function e(e,t){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,m=void 0!==g&&g,v=i.validateSubOnSilentRenew,y=void 0!==v&&v,_=i.includeIdTokenInSilentRenew,b=void 0===_||_,w=i.monitorSession,M=void 0===w||w,A=i.monitorAnonymousSession,k=void 0!==A&&A,T=i.checkSessionInterval,S=void 0===T?2e3:T,C=i.stopCheckSessionOnError,L=void 0===C||C,E=i.query_status_response_type,z=i.revokeAccessTokenOnSignout,R=void 0!==z&&z,O=i.accessTokenExpiringNotificationTime,x=void 0===O?60:O,D=i.redirectNavigator,P=void 0===D?new o.RedirectNavigator:D,N=i.popupNavigator,I=void 0===N?new a.PopupNavigator:N,B=i.iframeNavigator,F=void 0===B?new s.IFrameNavigator:B,H=i.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=n,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=L,j._query_status_response_type=E||(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),n(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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectNavigator=void 0;var n=function(){function e(e,t){for(var i=0;i1&&void 0!==arguments[1])||arguments[1];n.Log.debug("UserManagerEvents.load"),e.prototype.load.call(this,t),i&&this._userLoaded.raise(t)},t.prototype.unload=function(){n.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){n.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(){n.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(){n.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(){n.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},t}(r.AccessTokenEvents)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0;var n=function(){function e(e,t){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(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,i));return a._timer=n,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 i=5;e20?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}})}(i("wgY5"))},"t+Zl":function(e,t,i){!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")}}})}(i("wgY5"))},t4T9:function(e,t,i){!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,i){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}})}(i("wgY5"))},tSbB:function(e,t,i){!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,i){return e>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\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 i,n=this._calendarEl[e],r=t&&t.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.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}})}(i("wgY5"))},u2jB:function(e,t,i){!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"},i={"\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,i){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 i[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}})}(i("wgY5"))},uHm5:function(e,t,i){!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"})}(i("wgY5"))},v3Qg:function(e,t,i){!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,i){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}})}(i("wgY5"))},vcN1:function(e,t,i){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,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,n){return e<10?n?i[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: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("wgY5"))},"vd/2":function(e,t,i){!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 i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i("wgY5"))},"vn/h":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){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[i][0]:r[i][1]}function i(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 i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(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 i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(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}})}(i("wgY5"))},w8Ej:function(e,t,i){!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"],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"];e.defineLocale("dv",{months:t,monthsShort:t,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(e){return"\u0789\u078a"===e},meridiem:function(e,t,i){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}})}(i("wgY5"))},wOqL:function(e,t,i){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,i,r){i=i||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t=t||"&");var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var u=e.length;s>0&&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),n(o,d)?Array.isArray(o[d])?o[d].push(f):o[d]=[o[d],f]:o[d]=f}return o}},wgY5:function(e,t,i){(function(e){e.exports=function(){"use strict";var t,n;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 i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-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(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return F(r.apply(this,arguments),t[1],t[2])}),i&&(Y[i]=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,i,n,r=e.match(H);for(t=0,i=r.length;t=0&&q.test(e);)e=e.replace(q,n),q.lastIndex=0,i-=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}/,ie=/\d{1,4}/,ne=/[+-]?\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,i){ce[e]=z(t)?t:function(e,n){return e&&i?i: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,i,n,r){return t||i||n||r}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var i,n=t;for("string"==typeof e&&(e=[e]),u(t)&&(n=function(e,i){i[t]=A(e)}),i=0;i68?1900:2e3)};var _e,be=we("FullYear",!0);function we(e,t){return function(i){return null!=i?(Ae(this,e,i),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,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ye(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),ke(i,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=(t%12+12)%12;return e+=(t-i)/12,1===i?ye(e)?29:28:31-i%7%2}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,n,r,o,a),s}function Pe(e){var t;if(e<100&&e>=0){var i=Array.prototype.slice.call(arguments);i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ne(e,t,i){var n=7+t-i;return-(7+Pe(e,0,n).getUTCDay()-t)%7+n-1}function Ie(e,t,i,n,r){var o,a,s=1+7*(t-1)+(7+i-n)%7+Ne(e,n,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,i){var n,r,o=Ne(e.year(),t,i),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?n=a+Fe(r=e.year()-1,t,i):a>Fe(e.year(),t,i)?(n=a-Fe(e.year(),t,i),r=e.year()+1):(r=e.year(),n=a),{week:n,year:r}}function Fe(e,t,i){var n=Ne(e,t,i),r=Ne(e+1,t,i);return(ve(e)-n+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,i,n){t[n.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,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);null!=r?t.d=r:p(i).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,i,n){t[n]=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,i){var n,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=f([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"===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,i,n,r,o,a=[],s=[],u=[],c=[];for(t=0;t<7;t++)i=f([2e3,1]).day(t),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),o=this.weekdays(i,""),a.push(n),s.push(r),u.push(o),c.push(n),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,i){var n=A(e);t[3]=24===n?0:n})),pe(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),pe(["h","hh"],(function(e,t,i){t[3]=A(e),p(i).bigHour=!0})),pe("hmm",(function(e,t,i){var n=e.length-2;t[3]=A(e.substr(0,n)),t[4]=A(e.substr(n)),p(i).bigHour=!0})),pe("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[3]=A(e.substr(0,n)),t[4]=A(e.substr(n,2)),t[5]=A(e.substr(r)),p(i).bigHour=!0})),pe("Hmm",(function(e,t,i){var n=e.length-2;t[3]=A(e.substr(0,n)),t[4]=A(e.substr(n))})),pe("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[3]=A(e.substr(0,n)),t[4]=A(e.substr(n,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={},it={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{n=Ze._abbr,i("MROq")("./"+t),ot(n)}catch(r){}return tt[t]}function ot(e,t){var i;return e&&((i=s(t)?st(e):at(e,t))?Ze=i:"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 i,n=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."),n=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])n=tt[t.parentLocale]._config;else{if(null==(i=rt(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;n=i._config}return tt[e]=new O(R(n,t)),it[e]&&it[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,i,n,r,o=0;o0;){if(n=rt(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&k(r,i,!0)>=t-1)break;t--}o++}return Ze}(e)}function ut(e){var t,i=e._a;return i&&-2===p(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>ke(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(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,i){return null!=e?e:null!=t?t:i}function lt(e){var t,i,n,o,a,s=[];if(!e._d){for(n=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,i,n,r,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,i=ct(t.GG,e._a[0],Be(kt(),1,4).year),n=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);i=ct(t.gg,e._a[0],c.year),n=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}n<1||n>Fe(i,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ie(i,n,r,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ct(e._a[0],n[0]),(e._dayOfYear>ve(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Pe(a,0,e._dayOfYear),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=n[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,i,n,r,o,a,s=e._i,u=ht.exec(s)||dt.exec(s);if(u){for(p(e).iso=!0,t=0,i=pt.length;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),Y[o]?(i?p(e).empty=!1:p(e).unusedTokens.push(o),me(o,i,e)):e._strict&&!i&&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,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||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,i=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===i&&""===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(i)?function(e){var t,i,n,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 i,n;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return kt();for(i=t[0],n=1;n=0?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function $t(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function ei(e,t){W(0,[e,e.length],0,t)}function ti(e,t,i,n,r){var o;return null==e?Be(this,n,r).year:(t>(o=Fe(e,n,r))&&(t=o),ii.call(this,e,t,i,n,r))}function ii(e,t,i,n,r){var o=Ie(e,t,i,n,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})),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("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",ie,J),le("gggg",ie,J),le("GGGGG",ne,Q),le("ggggg",ne,Q),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=A(e)})),ge(["gg","GG"],(function(e,t,i,n){t[n]=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 ni=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,i){i._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 ri=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 oi,ai=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),oi="SSSS";oi.length<=9;oi+="S")le(oi,re);function si(e,t){t[6]=A(1e3*("0."+e))}for(oi="S";oi.length<=9;oi+="S")pe(oi,si);var ui=we("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ci=b.prototype;function li(e){return e}ci.add=Ut,ci.calendar=function(e,t){var i=e||kt(),n=Pt(i,this).startOf("day"),o=r.calendarFormat(this,n)||"sameElse",a=t&&(z(t[o])?t[o].call(this,i):t[o]);return this.format(a||this.localeData().calendar(o,this,kt(i)))},ci.clone=function(){return new b(this)},ci.diff=function(e,t,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=Pt(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=P(t)){case"year":o=Vt(this,n)/12;break;case"month":o=Vt(this,n);break;case"quarter":o=Vt(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-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:M(o)},ci.endOf=function(e){var t;if(void 0===(e=P(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?$t:Zt;switch(e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(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},ci.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},ci.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()},ci.fromNow=function(e){return this.from(kt(),e)},ci.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()},ci.toNow=function(e){return this.to(kt(),e)},ci.get=function(e){return z(this[e=P(e)])?this[e]():this},ci.invalidAt=function(){return p(this).overflow},ci.isAfter=function(e,t){var i=w(e)?e:kt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=P(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,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(i,"Z")):U(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ci.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 i="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},ci.toJSON=function(){return this.isValid()?this.toISOString():null},ci.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ci.unix=function(){return Math.floor(this.valueOf()/1e3)},ci.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ci.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ci.year=be,ci.isLeapYear=function(){return ye(this.year())},ci.weekYear=function(e){return ti.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ci.isoWeekYear=function(e){return ti.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ci.quarter=ci.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ci.month=ze,ci.daysInMonth=function(){return ke(this.year(),this.month())},ci.week=ci.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ci.isoWeek=ci.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ci.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},ci.isoWeeksInYear=function(){return Fe(this.year(),1,4)},ci.date=ni,ci.day=ci.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},ci.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")},ci.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},ci.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")},ci.hour=ci.hours=$e,ci.minute=ci.minutes=ri,ci.second=ci.seconds=ai,ci.millisecond=ci.milliseconds=ui,ci.utcOffset=function(e,t,i){var n,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&&!i&&(e*=60);return!this._isUTC&&t&&(n=Nt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"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)},ci.utc=function(e){return this.utcOffset(0,e)},ci.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},ci.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},ci.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ci.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ci.isLocal=function(){return!!this.isValid()&&!this._isUTC},ci.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ci.isUtc=It,ci.isUTC=It,ci.zoneAbbr=function(){return this._isUTC?"UTC":""},ci.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ci.dates=S("dates accessor is deprecated. Use date instead.",ni),ci.months=S("months accessor is deprecated. Use month instead",ze),ci.years=S("years accessor is deprecated. Use year instead",be),ci.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()})),ci.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 hi=O.prototype;function di(e,t,i,n){var r=st(),o=f().set(n,t);return r[i](o,e)}function fi(e,t,i){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=di(e,n,i,"month");return r}function pi(e,t,i,n){"boolean"==typeof e?(u(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,u(t)&&(i=t,t=void 0),t=t||"");var r,o=st(),a=e?o._week.dow:0;if(null!=i)return di(t,(i+a)%7,n,"day");var s=[];for(r=0;r<7;r++)s[r]=di(t,(r+a)%7,n,"day");return s}hi.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return z(n)?n.call(t,i):n},hi.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(e){return this._ordinal.replace("%d",e)},hi.preparse=li,hi.postformat=li,hi.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return z(r)?r(e,t,i,n):r.replace(/%d/i,e)},hi.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return z(i)?i(t):i.replace(/%s/i,t)},hi.set=function(e){var t,i;for(i in e)z(t=e[i])?this[i]=t:this["_"+i]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.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},hi.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},hi.monthsParse=function(e,t,i){var n,r,o;if(this._monthsParseExact)return Le.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=f([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},hi.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)},hi.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)},hi.week=function(e){return Be(e,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(e,t){var i=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(i,this._week.dow):e?i[e.day()]:i},hi.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},hi.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},hi.weekdaysParse=function(e,t,i){var n,r,o;if(this._weekdaysParseExact)return We.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},hi.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)},hi.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)},hi.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)},hi.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hi.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"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 gi=Math.abs;function mi(e,t,i,n){var r=Ht(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function vi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function _i(e){return 146097*e/4800}function bi(e){return function(){return this.as(e)}}var wi=bi("ms"),Mi=bi("s"),Ai=bi("m"),ki=bi("h"),Ti=bi("d"),Si=bi("w"),Ci=bi("M"),Li=bi("Q"),Ei=bi("y");function zi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ri=zi("milliseconds"),Oi=zi("seconds"),xi=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(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}var qi=Math.abs;function ji(e){return(e>0)-(e<0)||+e}function Yi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i=qi(this._milliseconds)/1e3,n=qi(this._days),r=qi(this._months);e=M(i/60),t=M(e/60),i%=60,e%=60;var o=M(r/12),a=r%=12,s=n,u=t,c=e,l=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=ji(this._months)!==ji(h)?"-":"",p=ji(this._days)!==ji(h)?"-":"",g=ji(this._milliseconds)!==ji(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 Wi=Et.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var e=this._data;return this._milliseconds=gi(this._milliseconds),this._days=gi(this._days),this._months=gi(this._months),e.milliseconds=gi(e.milliseconds),e.seconds=gi(e.seconds),e.minutes=gi(e.minutes),e.hours=gi(e.hours),e.months=gi(e.months),e.years=gi(e.years),this},Wi.add=function(e,t){return mi(this,e,t,1)},Wi.subtract=function(e,t){return mi(this,e,t,-1)},Wi.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=P(e))||"quarter"===e||"year"===e)switch(i=this._months+yi(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(_i(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Wi.asMilliseconds=wi,Wi.asSeconds=Mi,Wi.asMinutes=Ai,Wi.asHours=ki,Wi.asDays=Ti,Wi.asWeeks=Si,Wi.asMonths=Ci,Wi.asQuarters=Li,Wi.asYears=Ei,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*A(this._months/12):NaN},Wi._bubble=function(){var e,t,i,n,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*vi(_i(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,i=M(t/60),u.hours=i%24,a+=M(i/24),s+=r=M(yi(a)),a-=vi(_i(r)),n=M(s/12),s%=12,u.days=a,u.months=s,u.years=n,this},Wi.clone=function(){return Ht(this)},Wi.get=function(e){return e=P(e),this.isValid()?this[e+"s"]():NaN},Wi.milliseconds=Ri,Wi.seconds=Oi,Wi.minutes=xi,Wi.hours=Di,Wi.days=Pi,Wi.weeks=function(){return M(this.days()/7)},Wi.months=Ni,Wi.years=Ii,Wi.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=function(e,t,i){var n=Ht(e).abs(),r=Bi(n.as("s")),o=Bi(n.as("m")),a=Bi(n.as("h")),s=Bi(n.as("d")),u=Bi(n.as("M")),c=Bi(n.as("y")),l=r<=Fi.ss&&["s",r]||r0,l[4]=i,Hi.apply(null,l)}(this,!e,t);return e&&(i=t.pastFuture(+this,i)),t.postformat(i)},Wi.toISOString=Yi,Wi.toString=Yi,Wi.toJSON=Yi,Wi.locale=Xt,Wi.localeData=Jt,Wi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yi),Wi.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,i){i._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,i){i._d=new Date(A(e))})),r.version="2.24.0",t=kt,r.fn=ci,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 fi(e,t,"months")},r.isDate=c,r.locale=ot,r.invalid=m,r.duration=Ht,r.isMoment=w,r.weekdays=function(e,t,i){return pi(e,t,i,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=zt,r.monthsShort=function(e,t){return fi(e,t,"monthsShort")},r.weekdaysMin=function(e,t,i){return pi(e,t,i,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var i,n,r=et;null!=(n=rt(e))&&(r=n._config),(i=new O(t=R(r,t))).parentLocale=tt[e],tt[e]=i,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,i){return pi(e,t,i,"weekdaysShort")},r.normalizeUnits=P,r.relativeTimeRounding=function(e){return void 0===e?Bi:"function"==typeof e&&(Bi=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Fi[e]&&(void 0===t?Fi[e]:(Fi[e]=t,"s"===e&&(Fi.ss=t-1),!0))},r.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},r.prototype=ci,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}()}).call(this,i("aYSr")(e))},xBDH:function(e,t,i){!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,i){var n=100*e+t;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(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"}})}(i("wgY5"))},"xD/0":function(e,t,i){!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}})}(i("wgY5"))},yKzn:function(e,t,i){!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}})}(i("wgY5"))},zUnb:function(u,d,m){"use strict";function _(e){return"function"==typeof e}m.r(d);var w=!1,M={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=e},get useDeprecatedSynchronousErrorHandling(){return w}};function A(e){setTimeout((function(){throw e}),0)}var k={closed:!0,next:function(e){},error:function(e){if(M.useDeprecatedSynchronousErrorHandling)throw e;A(e)},complete:function(){}},T=Array.isArray||function(e){return e&&"number"==typeof e.length};function S(e){return null!==e&&"object"==typeof e}var C,L=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),E=((C=function(){function e(t){y(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return b(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var i=this._parentOrParents,n=this._unsubscribe,r=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(var o=0;o4&&void 0!==arguments[4]?arguments[4]:new K(e,i,n);if(!r.closed)return t instanceof I?t.subscribe(r):Q(t)(r)}var $=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(i,[{key:"notifyNext",value:function(e,t,i,n,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),i}(O);function ee(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 te(e,t))}}var te=function(){function e(t,i){y(this,e),this.project=t,this.thisArg=i}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new ie(e,this.project,this.thisArg))}}]),e}(),ie=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e)).project=n,o.count=0,o.thisArg=r||g(o),o}return b(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}(O);function ne(e,t){return new I((function(i){var n=new E,r=0;return n.add(t.schedule((function(){r!==e.length?(i.next(e[r++]),i.closed||n.add(this.schedule())):i.complete()}))),n}))}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(i){var n=new E;return n.add(t.schedule((function(){var r=e[D]();n.add(r.subscribe({next:function(e){n.add(t.schedule((function(){return i.next(e)})))},error:function(e){n.add(t.schedule((function(){return i.error(e)})))},complete:function(){n.add(t.schedule((function(){return i.complete()})))}}))}))),n}))}(e,t);if(J(e))return function(e,t){return new I((function(i){var n=new E;return n.add(t.schedule((function(){return e.then((function(e){n.add(t.schedule((function(){i.next(e),n.add(t.schedule((function(){return i.complete()})))})))}),(function(e){n.add(t.schedule((function(){return i.error(e)})))}))}))),n}))}(e,t);if(G(e))return ne(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(i){var n,r=new E;return r.add((function(){n&&"function"==typeof n.return&&n.return()})),r.add(t.schedule((function(){n=e[X](),r.add(t.schedule((function(){if(!i.closed){var e,t;try{var r=n.next();e=r.value,t=r.done}catch(o){return void i.error(o)}t?i.complete():(i.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 i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(n){return n.pipe(oe((function(i,n){return re(e(i,n)).pipe(ee((function(e,r){return t(i,e,n,r)})))}),i))}:("number"==typeof t&&(i=t),function(t){return t.lift(new ae(e,i))})}var ae=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;y(this,e),this.project=t,this.concurrent=i}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new se(e,this.project,this.concurrent))}}]),e}(),se=function(e){h(i,e);var t=f(i);function i(e,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return y(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 b(i,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),i}($);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?ne(e,t):new I(V(e))}function le(){for(var e=arguments.length,t=new Array(e),i=0;i1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof I?t[0]:ue(n)(ce(t,r))}function he(){return function(e){return e.lift(new fe(e))}}var de,fe=function(){function e(t){y(this,e),this.connectable=t}return b(e,[{key:"call",value:function(e,t){var i=this.connectable;i._refCount++;var n=new pe(e,i),r=t.subscribe(n);return n.closed||(n.connection=i.connect()),r}}]),e}(),pe=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).connectable=n,r}return b(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}(O),ge={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(de=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this)).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return b(i,[{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 E).add(this.source.subscribe(new me(this.getSubject(),this))),e.closed&&(this._connection=null,e=E.EMPTY)),e}},{key:"refCount",value:function(){return he()(this)}}]),i}(I).prototype)._subscribe},_isComplete:{value:de._isComplete,writable:!0},getSubject:{value:de.getSubject},connect:{value:de.connect},refCount:{value:de.refCount}},me=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).connectable=n,r}return b(i,[{key:"_error",value:function(e){this._unsubscribe(),l(v(i.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),l(v(i.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()}}}]),i}(j);function ve(){return new Y}function ye(){return function(e){return he()((t=ve,function(e){var i;i="function"==typeof t?t:function(){return t};var n=Object.create(e,ge);return n.source=e,n.subjectFactory=i,n})(e));var t}}function _e(e){return{toString:e}.toString()}function be(e,t,i){return _e((function(){var n=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var i in t)this[i]=t[i]}}}(t);function r(){for(var e=arguments.length,t=new Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:Te.Default;if(void 0===ut)throw new Error("inject() must be called from an injection context");return null===ut?pt(e,void 0,t):ut.get(e,t&Te.Optional?null:void 0,t)}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Te.Default;return(We||ht)(je(e),t)}var ft=dt;function pt(e,t,i){var n=ze(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&Te.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(Be(e),"]"))}function gt(e){for(var t=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:ot;if(t===ot){var i=new Error("NullInjectorError: No provider for ".concat(Be(e),"!"));throw i.name="NullInjectorError",i}return t}}]),e}(),vt=function e(){y(this,e)},yt=function e(){y(this,e)};function _t(e,t){e.forEach((function(e){return Array.isArray(e)?_t(e,t):t(e)}))}function bt(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function wt(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Mt(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 kt(e,t){var i=Tt(e,t);if(i>=0)return e[1|i]}function Tt(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 St,Ct=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Lt=((St={})[St.Emulated=0]="Emulated",St[St.Native=1]="Native",St[St.None=2]="None",St[St.ShadowDom=3]="ShadowDom",St),Et={},zt=[],Rt=0;function Ot(e){return _e((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===Ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||zt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Lt.Emulated,id:"c",styles:e.styles||zt,_:null,setInput:null,schemas:e.schemas||null,tView:null},n=e.directives,r=e.features,o=e.pipes;return i.id+=Rt++,i.inputs=It(e.inputs,t),i.outputs=It(e.outputs),r&&r.forEach((function(e){return e(i)})),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(xt)}:null,i.pipeDefs=o?function(){return("function"==typeof o?o():o).map(Dt)}:null,i}))}function xt(e){return Ht(e)||function(e){return e[Qe]||null}(e)}function Dt(e){return function(e){return e[Ze]||null}(e)}var Pt={};function Nt(e){var t={type:e.type,bootstrap:e.bootstrap||zt,declarations:e.declarations||zt,imports:e.imports||zt,exports:e.exports||zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&_e((function(){Pt[e.id]=e.type})),t}function It(e,t){if(null==e)return Et;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 Bt=Ot;function Ft(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ht(e){return e[Je]||null}function qt(e,t){return e.hasOwnProperty(tt)?e[tt]:null}function jt(e,t){var i=e[$e]||null;if(!i&&!0===t)throw new Error("Type ".concat(Be(e)," does not have '\u0275mod' property."));return i}function Yt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Wt(e){return Array.isArray(e)&&!0===e[1]}function Ut(e){return 0!=(8&e.flags)}function Kt(e){return 2==(2&e.flags)}function Vt(e){return 1==(1&e.flags)}function Xt(e){return null!==e.template}function Gt(e){return 0!=(512&e[2])}var Jt=function(){function e(t,i,n){y(this,e),this.previousValue=t,this.currentValue=i,this.firstChange=n}return b(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Qt(){return Zt}function Zt(e){return e.type.prototype.ngOnChanges&&(e.setInput=ei),$t}function $t(){var e=ti(this),t=null==e?void 0:e.current;if(t){var i=e.previous;if(i===Et)e.previous=t;else for(var n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function ei(e,t,i,n){var r=ti(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Et,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[i],u=a[s];o[s]=new Jt(u&&u.currentValue,t,a===Et),e[n]=t}function ti(e){return e.__ngSimpleChanges__||null}Qt.ngInherit=!0;var ii=void 0;function ni(){return void 0!==ii?ii:"undefined"!=typeof document?document:void 0}function ri(e){return!!e.listen}var oi={createRenderer:function(e,t){return ni()}};function ai(e){for(;Array.isArray(e);)e=e[0];return e}function si(e,t){return ai(t[e+20])}function ui(e,t){return ai(t[e.index])}function ci(e,t){return e.data[t+20]}function li(e,t){return e[t+20]}function hi(e,t){var i=t[e];return Yt(i)?i:i[0]}function di(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function fi(e){return 4==(4&e[2])}function pi(e){return 128==(128&e[2])}function gi(e,t){return null===e||null==t?null:e[t]}function mi(e){e[18]=0}function vi(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 yi={lFrame:qi(null),bindingsEnabled:!0,checkNoChangesMode:!1};function _i(){return yi.bindingsEnabled}function bi(){return yi.lFrame.lView}function wi(){return yi.lFrame.tView}function Mi(e){yi.lFrame.contextLView=e}function Ai(){return yi.lFrame.currentTNode}function ki(e,t){yi.lFrame.currentTNode=e,yi.lFrame.isParent=t}function Ti(){return yi.lFrame.isParent}function Si(){yi.lFrame.isParent=!1}function Ci(){return yi.checkNoChangesMode}function Li(e){yi.checkNoChangesMode=e}function Ei(){var e=yi.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function zi(){return yi.lFrame.bindingIndex}function Ri(){return yi.lFrame.bindingIndex++}function Oi(e){var t=yi.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function xi(e,t){var i=yi.lFrame;i.bindingIndex=i.bindingRootIndex=e,Di(t)}function Di(e){yi.lFrame.currentDirectiveIndex=e}function Pi(e){var t=yi.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ni(){return yi.lFrame.currentQueryIndex}function Ii(e){yi.lFrame.currentQueryIndex=e}function Bi(e,t){var i=Hi();yi.lFrame=i,i.currentTNode=t,i.lView=e}function Fi(e){var t=Hi(),i=e[1];yi.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex}function Hi(){var e=yi.lFrame,t=null===e?null:e.child;return null===t?qi(e):t}function qi(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function ji(){var e=yi.lFrame;return yi.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Yi=ji;function Wi(){var e=ji();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ui(){return yi.lFrame.selectedIndex}function Ki(e){yi.lFrame.selectedIndex=e}function Vi(){var e=yi.lFrame;return ci(e.tView,e.selectedIndex)}function Xi(){yi.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Gi(){yi.lFrame.currentNamespace=null}function Ji(e,t){for(var i=t.directiveStart,n=t.directiveEnd;i=n)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var nn=function e(t,i,n){y(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n};function rn(e,t,i){for(var n=ri(e),r=0;rt){a=o-1;break}}}for(;o>16,n=t;i>0;)n=n[15],i--;return n}function dn(e){return"string"==typeof e?e:null==e?"":""+e}function fn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():dn(e)}var pn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ge);function gn(e){return{name:"window",target:e.ownerDocument.defaultView}}function mn(e){return{name:"body",target:e.ownerDocument.body}}function vn(e){return e instanceof Function?e():e}var yn=!0;function _n(e){var t=yn;return yn=e,t}var bn=0;function wn(e,t){var i=An(e,t);if(-1!==i)return i;var n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,Mn(n.data,e),Mn(t,null),Mn(n.blueprint,null));var r=kn(e,t),o=e.injectorIndex;if(cn(r))for(var a=ln(r),s=hn(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 Mn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function An(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function kn(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 Tn(e,t,i){!function(e,t,i){var n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(it)&&(n=i[it]),null==n&&(n=i[it]=bn++);var r=255&n,o=1<3&&void 0!==arguments[3]?arguments[3]:Te.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(it)?e[it]:void 0;return"number"==typeof t&&t>0?255&t:t}(i);if("function"==typeof o){Bi(t,e);try{var a=o();if(null!=a||n&Te.Optional)return a;throw new Error("No provider for ".concat(fn(i),"!"))}finally{Yi()}}else if("number"==typeof o){if(-1===o)return new xn(e,t);var s=null,u=An(e,t),c=-1,l=n&Te.Host?t[16][6]:null;for((-1===u||n&Te.SkipSelf)&&(-1!==(c=-1===u?kn(e,t):t[u+8])&&On(n,!1)?(s=t[1],u=ln(c),t=hn(c,t)):u=-1);-1!==u;){var h=t[1];if(Rn(o,u,h.data)){var d=Ln(u,t,i,s,n,l);if(d!==Cn)return d}-1!==(c=t[u+8])&&On(n,t[1].data[u+8]===l)&&Rn(o,u,t)?(s=h,u=ln(c),t=hn(c,t)):u=-1}}}if(n&Te.Optional&&void 0===r&&(r=null),0==(n&(Te.Self|Te.Host))){var f=t[9],p=lt(void 0);try{return f?f.get(i,r,n&Te.Optional):pt(i,r,n&Te.Optional)}finally{lt(p)}}if(n&Te.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(fn(i),"]"))}var Cn={};function Ln(e,t,i,n,r,o){var a=t[1],s=a.data[e+8],u=En(s,a,i,null==n?Kt(s)&&yn:n!=a&&2===s.type,r&Te.Host&&o===s);return null!==u?zn(t,a,u,s):Cn}function En(e,t,i,n,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=n?s:s+c;h=u&&d.type===i)return h}if(r){var f=a[u];if(f&&Xt(f)&&f.type===i)return u}return null}function zn(e,t,i,n){var r=e[i],o=t.data;if(r instanceof nn){var a=r;if(a.resolving)throw new Error("Circular dep for "+fn(o[i]));var s=_n(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?lt(a.injectImpl):null;Bi(e,n);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=Zt(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!==u&<(u),_n(s),a.resolving=!1,Yi()}}return r}function Rn(e,t,i){var n=64&e,r=32&e;return!!((128&e?n?r?i[t+7]:i[t+6]:r?i[t+5]:i[t+4]:n?r?i[t+3]:i[t+2]:r?i[t+1]:i[t])&1<1?t-1:0),n=1;n"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();lr.hasOwnProperty(t)&&!ar.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(yr(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: "+e.outerHTML);return t}}]),e}(),mr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vr=/([^\#-~ |!])/g;function yr(e){return e.replace(/&/g,"&").replace(mr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(vr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function _r(e,t){var i=null;try{or=or||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new Zn:new $n(e)}(e);var n=t?String(t):"";i=or.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=or.getInertBodyElement(n)}while(n!==o);var a=new gr,s=a.sanitizeChildren(br(i)||i);return Qn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(i)for(var u=br(i)||i;u.firstChild;)u.removeChild(u.firstChild)}}function br(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wr=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 Mr(e){var t=kr();return t?t.sanitize(wr.HTML,e)||"":Vn(e,"HTML")?Kn(e):_r(ni(),dn(e))}function Ar(e){var t=kr();return t?t.sanitize(wr.URL,e)||"":Vn(e,"URL")?Kn(e):ir(dn(e))}function kr(){var e=bi();return e&&e[12]}function Tr(e,t){e.__ngContext__=t}function Sr(e,t,i){for(var n=e.length;;){var r=e.indexOf(t,i);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){var o=t.length;if(r+o===n||e.charCodeAt(r+o)<=32)return r}i=r+1}}function Cr(e,t,i){for(var n=0;no?"":r[l+1].toLowerCase();var d=8&n?h:null;if(d&&-1!==Sr(d,c,0)||2&n&&c!==h){if(Rr(n))return!1;a=!0}}}}else{if(!a&&!Rr(n)&&!Rr(u))return!1;if(a&&Rr(u))continue;a=!1,n=u|1&n}}return Rr(n)||a}function Rr(e){return 0==(1&e)}function Or(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||Rr(a)||(t+=Pr(o,r),r=""),n=a,o=o||!Rr(n);i++}return""!==r&&(t+=Pr(o,r)),t}var Ir={};function Br(e){var t=e[3];return Wt(t)?t[3]:t}function Fr(e){return qr(e[13])}function Hr(e){return qr(e[4])}function qr(e){for(;null!==e&&!Wt(e);)e=e[4];return e}function jr(e){Yr(wi(),bi(),Ui()+e,Ci())}function Yr(e,t,i,n){if(!n)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&Qi(t,r,i)}else{var o=e.preOrderHooks;null!==o&&Zi(t,o,0,i)}Ki(i)}function Wr(e,t){return e<<17|t<<2}function Ur(e){return e>>17&32767}function Kr(e){return 2|e}function Vr(e){return(131068&e)>>2}function Xr(e,t){return-131069&e|t<<2}function Gr(e){return 1|e}function Jr(e,t){var i=e.contentQueries;if(null!==i)for(var n=0;n20&&Yr(e,t,0,Ci()),i(n,r)}finally{Ki(o)}}function ro(e,t,i){if(Ut(t))for(var n=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:ui,n=t.localNames;if(null!==n)for(var r=t.index+1,o=0;o0&&function e(t){for(var i=Fr(t);null!==i;i=Hr(i))for(var n=10;n0&&e(r)}var a=t[1].components;if(null!==a)for(var s=0;s0&&e(u)}}(i)}}function Co(e,t){var i=hi(t,e),n=i[1];!function(e,t){for(var i=t.length;i0&&(e[n-1][4]=r[4]);var a=wt(e,10+t);Zo(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 jo(e,t){if(!(256&t[2])){var i=t[11];ri(i)&&i.destroyNode&&Zo(e,t,i,3,null,null),function(e){var t=e[13];if(!t)return Yo(e[1],e);for(;t;){var i=null;if(Yt(t))i=t[13];else{var n=t[10];n&&(i=n)}if(!i){for(;t&&!t[4]&&t!==e;)Yt(t)&&Yo(t[1],t),t=t[3];null===t&&(t=e),Yt(t)&&Yo(t[1],t),i=t&&t[4]}t=i}}(t)}}function Yo(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[u]():n[-u].unsubscribe(),r+=2}else i[r].call(n[i[r+1]]);t[7]=null}}(e,t),1===t[1].type&&ri(t[11])&&t[11].destroy();var i=t[17];if(null!==i&&Wt(t[3])){i!==t[3]&&Ho(i,t);var n=t[19];null!==n&&n.detachView(e)}}}function Wo(e,t,i){for(var n=t.parent;null!=n&&(3===n.type||4===n.type);)n=(t=n).parent;if(null===n)return i[0];if(t&&4===t.type&&4&t.flags)return ui(t,i).parentNode;if(2&n.flags){var r=e.data,o=r[r[n.index].directiveStart].encapsulation;if(o!==Lt.ShadowDom&&o!==Lt.Native)return null}return ui(n,i)}function Uo(e,t,i,n){ri(e)?e.insertBefore(t,i,n):t.insertBefore(i,n,!0)}function Ko(e,t,i){ri(e)?e.appendChild(t,i):t.appendChild(i)}function Vo(e,t,i,n){null!==n?Uo(e,t,i,n):Ko(e,t,i)}function Xo(e,t){return ri(e)?e.parentNode(t):t.parentNode}function Go(e,t){return 3===e.type||4===e.type?ui(e,t):null}function Jo(e,t,i,n){var r=Wo(e,n,t);if(null!=r){var o=t[11],a=Go(n.parent||t[6],t);if(Array.isArray(i))for(var s=0;s-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}jo(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){co(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Eo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){zo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,i){Li(!0);try{zo(e,t,i)}finally{Li(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Zo(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return function e(t,i,n,o){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var s=i[n.index];if(null!==s&&o.push(ai(s)),Wt(s))for(var u=10;u0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{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(vt,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 i=e._lView,n=i[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Wt(i[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var o=i[3],a=new ra(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=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}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return sa(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new xn(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=kn(this._hostTNode,this._hostView);if(cn(e)){var t=hn(e,this._hostView),i=ln(e);return new xn(t[1].data[i+8],t)}return new xn(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),n}(e));var o=n[i.index];if(Wt(o))r=o;else{var a;if(3===i.type)a=ai(o);else if(a=n[11].createComment(""),Gt(n)){var s=n[11],u=ui(i,n);Uo(s,Xo(s,u),a,function(e,t){return ri(e)?e.nextSibling(t):t.nextSibling}(s,u))}else Jo(n[1],n,a,i);n[i.index]=r=To(o,n,a,i),Lo(n,r)}return new ra(r,i,n)}function la(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,i){if(!i&&Kt(e)){var n=hi(e.index,t);return new oa(n,n)}return 2===e.type||0===e.type||3===e.type||4===e.type?new oa(t[16],t):null}(Ai(),bi(),e)}var ha=function(){var e=function e(){y(this,e)};return e.__NG_ELEMENT_ID__=function(){return da()},e}(),da=la,fa=Function,pa=new nt("Set Injector scope."),ga={},ma={},va=[],ya=void 0;function _a(){return void 0===ya&&(ya=new mt),ya}function ba(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 wa(e,i,t||_a(),n)}var wa=function(){function e(t,i,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;y(this,e),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];i&&_t(i,(function(e){return r.processProvider(e,t,i)})),_t([t],(function(e){return r.processInjectorType(e,[],a)})),this.records.set(rt,ka(void 0,this));var s=this.records.get(pa);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:Be(t))}return b(e,[{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]:ot,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Te.Default;this.assertNotDestroyed();var n,r=ct(this);try{if(!(i&Te.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(n=e)||"object"==typeof n&&n instanceof nt)&&ze(e);o=a&&this.injectableDefInScope(a)?ka(Ma(e),ga):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(i&Te.Self?_a():this.parent).get(e,t=i&Te.Optional&&t===ot?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(Be(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=Be(t);if(Array.isArray(t))r=t.map(Be).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):Be(s)))}r="{".concat(o.join(", "),"}")}return"".concat(i).concat(n?"("+n+")":"","[").concat(r,"]: ").concat(e.replace(at,"\n "))}("\n"+e.message,r,"R3InjectorError",n),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{ct(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(Be(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=je(e)))return!1;var r=Oe(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==i.indexOf(a);if(void 0!==o&&(r=Oe(o)),null==r)return!1;if(null!=r.imports&&!s){var u;i.push(a);try{_t(r.imports,(function(e){n.processInjectorType(e,t,i)&&(void 0===u&&(u=[]),u.push(e))}))}finally{}if(void 0!==u)for(var c=function(e){var t=u[e],i=t.ngModule,r=t.providers;_t(r,(function(e){return n.processProvider(e,i,r||va)}))},l=0;l0){var i=Mt(t,"?");throw new Error("Can't resolve all parameters for ".concat(Be(e),": (").concat(i.join(", "),")."))}var n=function(e){var t=e&&(e[xe]||e[Ne]||e[Pe]&&e[Pe]());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 Aa(e,t,i){var n,o=void 0;if(Sa(e)){var a=je(e);return qt(a)||Ma(a)}if(Ta(e))o=function(){return je(e.useValue)};else if((n=e)&&n.useFactory)o=function(){return e.useFactory.apply(e,r(gt(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))o=function(){return dt(je(e.useExisting))};else{var s=je(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return qt(s)||Ma(s);o=function(){return c(s,r(gt(e.deps)))}}return o}function ka(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:i?[]:void 0}}function Ta(e){return null!==e&&"object"==typeof e&&st in e}function Sa(e){return"function"==typeof e}var Ca=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=ba(e,t,i,n);return r._resolveInjectorDefTypes(),r}({name:i},t,e,i)},La=function(){var e=function(){function e(){y(this,e)}return b(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Ca(e,t,""):Ca(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=ot,e.NULL=new mt,e.\u0275prov=Le({token:e,providedIn:"any",factory:function(){return dt(rt)}}),e.__NG_ELEMENT_ID__=-1,e}(),Ea=new nt("AnalyzeForEntryComponents");function za(e,t,i){var n=i?e.styles:null,r=i?e.classes:null,o=0;if(null!==t)for(var a=0;a=0;n--){var r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=sn(r.hostAttrs,i=sn(i,r.hostAttrs))}}(n)}function xa(e){return e===Et?{}:e===zt?[]:e}function Da(e,t){var i=e.viewQuery;e.viewQuery=i?function(e,n){t(e,n),i(e,n)}:t}function Pa(e,t){var i=e.contentQueries;e.contentQueries=i?function(e,n,r){t(e,n,r),i(e,n,r)}:t}function Na(e,t){var i=e.hostBindings;e.hostBindings=i?function(e,n){t(e,n),i(e,n)}:t}var Ia=null;function Ba(){if(!Ia){var e=Ge.Symbol;if(e&&e.iterator)Ia=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),i=0;i1&&void 0!==arguments[1]?arguments[1]:Te.Default,i=bi();return null===i?dt(e,t):Sn(Ai(),i,je(e),t)}function Qa(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var i=e.attrs;if(i)for(var n=i.length,r=0;r2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0,r=bi(),o=wi(),a=Ai();return hs(o,r,r[11],a,e,t,i,n),cs}function ls(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0,r=Ai(),o=bi(),a=wi();return hs(a,o,Po(Pi(a.data),r,o),r,e,t,i,n),ls}function hs(e,t,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,u=Vt(n),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),l=Do(t),h=!0;if(2===n.type){var d=ui(n,t),f=s?s(d):Et,p=f.target||d,g=l.length,m=s?function(e){return s(ai(e[n.index])).target}:n.index;if(ri(i)){var v=null;if(!s&&u&&(v=function(e,t,i,n){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,n.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=o,v.__ngLastListenerFn__=o,h=!1;else{o=fs(n,t,o,!1);var y=i.listen(f.name||p,r,o);l.push(o,y),c&&c.push(r,m,g,g+1)}}else o=fs(n,t,o,!0),p.addEventListener(r,o,a),l.push(o),c&&c.push(r,m,g,a)}var _,b=n.outputs;if(h&&null!==b&&(_=b[r])){var w=_.length;if(w)for(var M=0;M0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(yi.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,yi.lFrame.contextLView))[8]}(e)}function gs(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=bi(),r=wi(),o=$r(r,e,1,null,i||null);null===o.projection&&(o.projection=t),Si(),function(e,t,i){$o(t[11],0,t,i,Wo(e,i,t),Go(i.parent||t[6],t))}(r,n,o)}function ys(e,t,i){return _s(e,"",t,"",i),ys}function _s(e,t,i,n,r){var o=bi(),a=Ka(o,t,i,n);return a!==Ir&&ho(wi(),Vi(),o,e,a,o[11],r,!1),_s}function bs(e,t,i,n,r,o,a){var s=bi(),u=Va(s,t,i,n,r,o);return u!==Ir&&ho(wi(),Vi(),s,e,u,s[11],a,!1),bs}var ws=[];function Ms(e,t,i,n,r){for(var o=e[i+1],a=null===t,s=n?Ur(o):Vr(o),u=!1;0!==s&&(!1===u||a);){var c=e[s+1];As(e[s],t)&&(u=!0,e[s+1]=n?Gr(c):Kr(c)),s=n?Ur(c):Vr(c)}u&&(e[i+1]=n?Kr(o):Gr(o))}function As(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Tt(e,t)>=0}var ks={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ts(e){return e.substring(ks.key,ks.keyEnd)}function Ss(e,t){var i=ks.textEnd;return i===t?-1:(t=ks.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,ks.key=t,i),Cs(e,t,i))}function Cs(e,t,i){for(;t=0;i=Ss(t,i))At(e,Ts(t),!0)}function Os(e,t,i,n){var r=bi(),o=wi(),a=Oi(2);o.firstUpdatePass&&Ps(o,e,a,n),t!==Ir&&Ya(r,a,t)&&Bs(o,o.data[Ui()+20],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Be(Kn(e)))),e}(t,i),n,a)}function xs(e,t,i,n){var r=wi(),o=Oi(2);r.firstUpdatePass&&Ps(r,null,o,n);var a=bi();if(i!==Ir&&Ya(a,o,i)){var s=r.data[Ui()+20];if(qs(s,n)&&!Ds(r,o)){var u=n?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(i=Fe(u,i||"")),$a(r,s,a,i,n)}else!function(e,t,i,n,r,o,a,s){r===Ir&&(r=ws);for(var u=0,c=0,l=0=e.expandoStartIndex}function Ps(e,t,i,n){var r=e.data;if(null===r[i+1]){var o=r[Ui()+20],a=Ds(e,i);qs(o,n)&&null===t&&!a&&(t=!1),t=function(e,t,i,n){var r=Pi(e),o=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(i=Is(i=Ns(null,e,t,i,n),t.attrs,n),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(i=Ns(r,e,t,i,n),null===o){var s=function(e,t,i){var n=i?t.classBindings:t.styleBindings;if(0!==Vr(n))return e[Ur(n)]}(e,t,n);void 0!==s&&Array.isArray(s)&&function(e,t,i,n){e[Ur(i?t.classBindings:t.styleBindings)]=n}(e,t,n,s=Is(s=Ns(null,e,t,s[1],n),t.attrs,n))}else o=function(e,t,i){for(var n=void 0,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(l=!0)}else c=i;if(r)if(0!==u){var d=Ur(e[s+1]);e[n+1]=Wr(d,s),0!==d&&(e[d+1]=Xr(e[d+1],n)),e[s+1]=131071&e[s+1]|n<<17}else e[n+1]=Wr(s,0),0!==s&&(e[s+1]=Xr(e[s+1],n)),s=n;else e[n+1]=Wr(u,0),0===s?s=n:e[u+1]=Xr(e[u+1],n),u=n;l&&(e[n+1]=Kr(e[n+1])),Ms(e,c,n,!0),Ms(e,c,n,!1),function(e,t,i,n,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Tt(o,t)>=0&&(i[n+1]=Gr(i[n+1]))}(t,c,e,n,o),a=Wr(s,u),o?t.classBindings=a:t.styleBindings=a}(r,o,t,i,a,n)}}function Ns(e,t,i,n,r){var o=null,a=i.directiveEnd,s=i.directiveStylingLast;for(-1===s?s=i.directiveStart:s++;s0;){var u=e[r],c=Array.isArray(u),l=c?u[1]:u,h=null===l,d=i[r+1];d===Ir&&(d=h?ws:void 0);var f=h?kt(d,n):l===n?d:void 0;if(c&&!Hs(f)&&(f=kt(u,n)),Hs(f)&&(s=f,a))return s;var p=e[r+1];r=a?Ur(p):Vr(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(s=kt(g,n))}return s}function Hs(e){return void 0!==e}function qs(e,t){return 0!=(e.flags&(t?16:32))}function js(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=bi(),n=wi(),r=e+20,o=n.firstCreatePass?$r(n,e,2,null,null):n.data[r],a=i[r]=function(e,t){return ri(t)?t.createText(e):t.createTextNode(e)}(t,i[11]);Jo(n,i,a,o),ki(o,!1)}function Ys(e){return Ws("",e,""),Ys}function Ws(e,t,i){var n=bi(),r=Ka(n,e,t,i);return r!==Ir&&Bo(n,Ui(),r),Ws}function Us(e,t,i,n,r){var o=bi(),a=Va(o,e,t,i,n,r);return a!==Ir&&Bo(o,Ui(),a),Us}function Ks(e,t,i){xs(At,Rs,Ka(bi(),e,t,i),!0)}function Vs(e,t,i){var n=bi();return Ya(n,Ri(),t)&&ho(wi(),Vi(),n,e,t,n[11],i,!0),Vs}function Xs(e,t,i){var n=bi();if(Ya(n,Ri(),t)){var r=wi(),o=Vi();ho(r,o,n,e,t,Po(Pi(r.data),o,n),i,!0)}return Xs}function Gs(e,t,i,n,r){if(e=je(e),Array.isArray(e))for(var o=0;o>20;if(Sa(e)||!e.multi){var p=new nn(c,r,Ja),g=Zs(u,t,r?h:h+f,d);-1===g?(Tn(wn(l,s),a,u),Js(a,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(p),s.push(p)):(i[g]=p,s[g]=p)}else{var m=Zs(u,t,h+f,d),v=Zs(u,t,h,h+f),y=m>=0&&i[m],_=v>=0&&i[v];if(r&&!_||!r&&!y){Tn(wn(l,s),a,u);var b=function(e,t,i,n,r){var o=new nn(e,i,Ja);return o.multi=[],o.index=t,o.componentProviders=0,Qs(o,r,n&&!i),o}(r?eu:$s,i.length,r,n,c);!r&&_&&(i[v].providerFactory=b),Js(a,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(b),s.push(b)}else Js(a,e,m>-1?m:v,Qs(i[r?v:m],c,!r&&n));!r&&n&&_&&i[v].componentProviders++}}}function Js(e,t,i,n){var r=Sa(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 Qs(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Zs(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=wi();if(n.firstCreatePass){var r=Xt(e);Gs(i,n.data,n.blueprint,r,!0),Gs(t,n.data,n.blueprint,r,!1)}}(i,n?n(e):e,t)}}}var nu=function e(){y(this,e)},ru=function(){function e(){y(this,e)}return b(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(Be(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),ou=function(){var e=function e(){y(this,e)};return e.NULL=new ru,e}(),au=function(){var e=function e(t){y(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return su(e)},e}(),su=function(e){return sa(e,Ai(),bi())},uu=function e(){y(this,e)},cu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),lu=function(){var e=function e(){y(this,e)};return e.__NG_ELEMENT_ID__=function(){return hu()},e}(),hu=function(){var e=bi(),t=hi(Ai().index,e);return function(e){var t=e[11];if(ri(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Yt(t)?t:e)},du=function(){var e=function e(){y(this,e)};return e.\u0275prov=Le({token:e,providedIn:"root",factory:function(){return null}}),e}(),fu=function e(t){y(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},pu=new fu("10.1.5"),gu=function(){function e(){y(this,e)}return b(e,[{key:"supports",value:function(e){return Ha(e)}},{key:"create",value:function(e){return new vu(e)}}]),e}(),mu=function(e,t){return t},vu=function(){function e(t){y(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||mu}return b(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.currentIndex0&&ta(c,h,_.join(" "))}if(o=ci(p,0),void 0!==t)for(var b=o.projection=[],w=0;w null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var Ku=new Map,Vu=function(e){h(i,e);var t=f(i);function i(e,n){var r;y(this,i),(r=t.call(this))._parent=n,r._bootstrapComponents=[],r.injector=g(r),r.destroyCbs=[],r.componentFactoryResolver=new Pu(g(r));var o=jt(e),a=e[et]||null;return a&&Uu(a),r._bootstrapComponents=vn(o.bootstrap),r._r3Injector=ba(e,n,[{provide:vt,useValue:g(r)},{provide:ou,useValue:r.componentFactoryResolver}],Be(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return b(i,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:La.THROW_IF_NOT_FOUND,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Te.Default;return e===La||e===vt||e===rt?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}(vt),Xu=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this)).moduleType=e,null!==jt(e)&&function e(t){if(null!==t.\u0275mod.id){var i=t.\u0275mod.id;(function(e,t,i){if(t&&t!==i)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Be(t)," vs ").concat(Be(t.name)))})(i,Ku.get(i),t),Ku.set(i,t)}var n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach((function(t){return e(t)}))}(e),n}return b(i,[{key:"create",value:function(e){return new Vu(this.moduleType,e)}}]),i}(yt);function Gu(e,t,i){var n=Ei()+e,r=bi();return r[n]===Ir?ja(r,n,i?t.call(i):t()):function(e,t){return e[t]}(r,n)}function Ju(e,t,i,n){return $u(bi(),Ei(),e,t,i,n)}function Qu(e,t,i,n,r){return ec(bi(),Ei(),e,t,i,n,r)}function Zu(e,t){var i=e[t];return i===Ir?void 0:i}function $u(e,t,i,n,r,o){var a=t+i;return Ya(e,a,r)?ja(e,a+1,o?n.call(o,r):n(r)):Zu(e,a+1)}function ec(e,t,i,n,r,o,a){var s=t+i;return Wa(e,s,r,o)?ja(e,s+2,a?n.call(a,r,o):n(r,o)):Zu(e,s+2)}function tc(e,t){var i,n=wi(),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 Error("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=qt(i.type)),a=lt(Ja);try{var s=_n(!1),u=o();return _n(s),function(e,t,i,n){var r=i+20;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}(n,bi(),e,u),u}finally{lt(a)}}function ic(e,t,i){var n=bi(),r=li(n,e);return oc(n,rc(n,e)?$u(n,Ei(),t,r.transform,i,r):r.transform(i))}function nc(e,t,i,n){var r=bi(),o=li(r,e);return oc(r,rc(r,e)?ec(r,Ei(),t,o.transform,i,n,o):o.transform(i,n))}function rc(e,t){return e[1].data[t+20].pure}function oc(e,t){return Fa.isWrapped(t)&&(t=Fa.unwrap(t),e[zi()]=Ir),t}var ac=function(e){h(i,e);var t=f(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return y(this,i),(e=t.call(this)).__isAsync=n,e}return b(i,[{key:"emit",value:function(e){l(v(i.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,n){var r,o=function(e){return null},a=function(){return null};e&&"object"==typeof e?(r=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(r=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),n&&(a=this.__isAsync?function(){setTimeout((function(){return n()}))}:function(){n()}));var s=l(v(i.prototype),"subscribe",this).call(this,r,o,a);return e instanceof E&&e.add(s),s}}]),i}(Y);function sc(){return this._results[Ba()]()}var uc=function(){function e(){y(this,e),this.dirty=!0,this._results=[],this.changes=new ac,this.length=0;var t=Ba(),i=e.prototype;i[t]||(i[t]=sc)}return b(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){this._results=function e(t,i){void 0===i&&(i=t);for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];y(this,e),this.queries=t}return b(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;o3&&void 0!==arguments[3]?arguments[3]:null;y(this,e),this.predicate=t,this.descendants=i,this.isStatic=n,this.read=r},dc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];y(this,e),this.queries=t}return b(e,[{key:"elementStart",value:function(e,t){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:-1;y(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}return b(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===this.metadata.descendants){for(var t=this._declarationNodeIndex,i=e.parent;null!==i&&3===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)r.push(s[u/2]);else{for(var l=a[u+1],h=i[-c],d=10;d0&&void 0!==arguments[0]?arguments[0]:Te.Default,t=la(!0);if(null!=t||e&Te.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var Ec=new nt("Application Initializer"),zc=function(){var e=function(){function e(t){var i=this;y(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){i.resolve=e,i.reject=t}))}return b(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],i=function(){e.done=!0,e.resolve()};if(this.appInits)for(var n=0;n0&&(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/dist/task-tracking.js" 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)(dt(Jc))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),al=function(){var e=function(){function e(){y(this,e),this._applications=new Map,sl.addToWindow(this)}return b(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 sl.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),sl=new(function(){function e(){y(this,e)}return b(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,i){return null}}]),e}()),ul=new nt("AllowMultipleToken"),cl=function e(t,i){y(this,e),this.name=t,this.token=i};function ll(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: "+t,r=new nt(n);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=hl();if(!o||o.injector.get(ul,!1))if(e)e(i.concat(t).concat({provide:r,useValue:!0}));else{var a=i.concat(t).concat({provide:r,useValue:!0},{provide:pa,useValue:"platform"});!function(e){if(nl&&!nl.destroyed&&!nl.injector.get(ul,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");nl=e.get(dl);var t=e.get(Dc,null);t&&t.forEach((function(e){return e()}))}(La.create({providers:a,name:n}))}return function(e){var t=hl();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 hl(){return nl&&!nl.destroyed?nl:null}var dl=function(){var e=function(){function e(t){y(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return b(e,[{key:"bootstrapModuleFactory",value:function(e,t){var i,n,r=this,o=(i=t?t.ngZone:void 0,n=t&&t.ngZoneEventCoalescing||!1,"noop"===i?new rl:("zone.js"===i?void 0:i)||new Jc({enableLongStackTrace:Qn(),shouldCoalesceEventChangeDetection:n})),a=[{provide:Jc,useValue:o}];return o.run((function(){var t=La.create({providers:a,parent:r.injector,name:e.moduleType.name}),i=e.create(t),n=i.injector.get(Fn,null);if(!n)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy((function(){return ml(r._modules,i)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){n.handleError(e)}})})),function(e,t,n){try{var o=((a=i.injector.get(zc)).runInitializers(),a.donePromise.then((function(){return Uu(i.injector.get(Bc,"en-US")||"en-US"),r._moduleDoBootstrap(i),i})));return ss(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=fl({},i);return function(e,t,i){var n=new Xu(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(gl);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(Be(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:"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:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(dt(La))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}();function fl(e,t){return Array.isArray(t)?t.reduce(fl,e):Object.assign(Object.assign({},e),t)}var pl,gl=((pl=function(){function e(t,i,n,r,o,a){var s=this;y(this,e),this._zone=t,this._console=i,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Qn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var u=new I((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),c=new I((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){Jc.assertNotInAngularZone(),Gc((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var i=s._zone.onUnstable.subscribe((function(){Jc.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),i.unsubscribe()}}));this.isStable=le(u,c.pipe(ye()))}return b(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 nu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);var r=i.isBoundToModule?void 0:this._injector.get(vt),o=i.create(La.NULL,[],t||i.selector,r);o.onDestroy((function(){n._unloadComponent(o)}));var a=o.injector.get(ol,null);return a&&o.injector.get(al).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Qn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),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=a(this._views);try{for(i.s();!(t=i.n()).done;)t.value.detectChanges()}catch(o){i.e(o)}finally{i.f()}if(this._enforceNoNewChanges){var n,r=a(this._views);try{for(r.s();!(n=r.n()).done;)n.value.checkNoChanges()}catch(o){r.e(o)}finally{r.f()}}}catch(s){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(s)}))}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;ml(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Nc,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),ml(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||pl)(dt(Jc),dt(Ic),dt(La),dt(Fn),dt(ou),dt(zc))},pl.\u0275prov=Le({token:pl,factory:pl.\u0275fac}),pl);function ml(e,t){var i=e.indexOf(t);i>-1&&e.splice(i,1)}var vl=function e(){y(this,e)},yl=function e(){y(this,e)},_l={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},bl=function(){var e=function(){function e(t,i){y(this,e),this._compiler=t,this._config=i||_l}return b(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var i=this,n=t(e.split("#"),2),r=n[0],o=n[1];return void 0===o&&(o="default"),m("zn8P")(r).then((function(e){return e[o]})).then((function(e){return wl(e,r,o)})).then((function(e){return i._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var i=t(e.split("#"),2),n=i[0],r=i[1],o="NgFactory";return void 0===r&&(r="default",o=""),m("zn8P")(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then((function(e){return e[r+o]})).then((function(e){return wl(e,n,r)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(dt(Vc),dt(yl,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}();function wl(e,t,i){if(!e)throw new Error("Cannot find '".concat(i,"' in '").concat(t,"'"));return e}var Ml=ll(null,"core",[{provide:Pc,useValue:"unknown"},{provide:dl,deps:[La]},{provide:al,deps:[]},{provide:Ic,deps:[]}]),Al=[{provide:gl,useClass:gl,deps:[Jc,Ic,La,Fn,ou,zc]},{provide:Iu,deps:[Jc],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:zc,useClass:zc,deps:[[new Me,Ec]]},{provide:Vc,useClass:Vc,deps:[]},Oc,{provide:Tu,useFactory:function(){return Lu},deps:[]},{provide:Su,useFactory:function(){return Eu},deps:[]},{provide:Bc,useFactory:function(e){return Uu(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new we(Bc),new Me,new ke]]},{provide:Fc,useValue:"USD"}],kl=function(){var e=function e(t){y(this,e)};return e.\u0275mod=Nt({type:e}),e.\u0275inj=Ee({factory:function(t){return new(t||e)(dt(gl))},providers:Al}),e}(),Tl=null;function Sl(){return Tl}var Cl,Ll=new nt("DocumentToken"),El=((Cl=function e(){y(this,e)}).\u0275fac=function(e){return new(e||Cl)},Cl.\u0275prov=Le({factory:zl,token:Cl,providedIn:"platform"}),Cl);function zl(){return dt(xl)}var Rl,Ol=new nt("Location Initialized"),xl=((Rl=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this))._doc=e,n._init(),n}return b(i,[{key:"_init",value:function(){this.location=Sl().getLocation(),this._history=Sl().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return Sl().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){Sl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){Sl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,i){Dl()?this._history.pushState(e,t,i):this.location.hash=i}},{key:"replaceState",value:function(e,t,i){Dl()?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:"getState",value:function(){return this._history.state}},{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}}]),i}(El)).\u0275fac=function(e){return new(e||Rl)(dt(Ll))},Rl.\u0275prov=Le({factory:Pl,token:Rl,providedIn:"platform"}),Rl);function Dl(){return!!window.history.pushState}function Pl(){return new xl(dt(Ll))}function Nl(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 Il(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 Bl(e){return e&&"?"!==e[0]?"?"+e:e}var Fl,Hl=((Fl=function e(){y(this,e)}).\u0275fac=function(e){return new(e||Fl)},Fl.\u0275prov=Le({factory:ql,token:Fl,providedIn:"root"}),Fl);function ql(e){var t=dt(Ll).location;return new Kl(dt(El),t&&t.origin||"")}var jl,Yl,Wl,Ul=new nt("appBaseHref"),Kl=((Wl=function(e){h(i,e);var t=f(i);function i(e,n){var r;if(y(this,i),(r=t.call(this))._platformLocation=e,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,p(r)}return b(i,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return Nl(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+Bl(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+Bl(n));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,i,n){var r=this.prepareExternalUrl(i+Bl(n));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),i}(Hl)).\u0275fac=function(e){return new(e||Wl)(dt(El),dt(Ul,8))},Wl.\u0275prov=Le({token:Wl,factory:Wl.\u0275fac}),Wl),Vl=((Yl=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this))._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return b(i,[{key:"onPopState",value:function(e){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=Nl(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,i,n){var r=this.prepareExternalUrl(i+Bl(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+Bl(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()}}]),i}(Hl)).\u0275fac=function(e){return new(e||Yl)(dt(El),dt(Ul,8))},Yl.\u0275prov=Le({token:Yl,factory:Yl.\u0275fac}),Yl),Xl=((jl=function(){function e(t,i){var n=this;y(this,e),this._subject=new ac,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=Il(Jl(r)),this._platformStrategy.onPopState((function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})}))}return b(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+Bl(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Jl(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+Bl(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+Bl(t)),i)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{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}()).\u0275fac=function(e){return new(e||jl)(dt(Hl),dt(El))},jl.normalizeQueryParams=Bl,jl.joinWithSlash=Nl,jl.stripTrailingSlash=Il,jl.\u0275prov=Le({factory:Gl,token:jl,providedIn:"root"}),jl);function Gl(){return new Xl(dt(Hl),dt(El))}function Jl(e){return e.replace(/\/index.html$/,"")}var Ql=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}({}),Zl=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),$l=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),eh=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),th=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 ih(e,t){return sh(ju(e)[Wu.DateFormat],t)}function nh(e,t){return sh(ju(e)[Wu.TimeFormat],t)}function rh(e,t){return sh(ju(e)[Wu.DateTimeFormat],t)}function oh(e,t){var i=ju(e),n=i[Wu.NumberSymbols][t];if(void 0===n){if(t===th.CurrencyDecimal)return i[Wu.NumberSymbols][th.Decimal];if(t===th.CurrencyGroup)return i[Wu.NumberSymbols][th.Group]}return n}function ah(e){if(!e[Wu.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[Wu.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function sh(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 uh(e){var i=t(e.split(":"),2);return{hours:+i[0],minutes:+i[1]}}var ch=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,lh={},hh=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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]*)/,dh=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),fh=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}({}),ph=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 gh(e,i,n,r){var o=function(e){if(kh(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var i,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=t(e.split("-").map((function(e){return+e})),3),o=r[0],a=r[1],s=r[2];return new Date(o,a-1,s)}if(i=e.match(ch))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,u=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,u,c),t}(i)}var u=new Date(e);if(!kh(u))throw new Error('Unable to convert "'.concat(e,'" into a date'));return u}(e);i=function e(t,i){var n=function(e){return ju(e)[Wu.LocaleId]}(t);if(lh[n]=lh[n]||{},lh[n][i])return lh[n][i];var r="";switch(i){case"shortDate":r=ih(t,eh.Short);break;case"mediumDate":r=ih(t,eh.Medium);break;case"longDate":r=ih(t,eh.Long);break;case"fullDate":r=ih(t,eh.Full);break;case"shortTime":r=nh(t,eh.Short);break;case"mediumTime":r=nh(t,eh.Medium);break;case"longTime":r=nh(t,eh.Long);break;case"fullTime":r=nh(t,eh.Full);break;case"short":var o=e(t,"shortTime"),a=e(t,"shortDate");r=mh(rh(t,eh.Short),[o,a]);break;case"medium":var s=e(t,"mediumTime"),u=e(t,"mediumDate");r=mh(rh(t,eh.Medium),[s,u]);break;case"long":var c=e(t,"longTime"),l=e(t,"longDate");r=mh(rh(t,eh.Long),[c,l]);break;case"full":var h=e(t,"fullTime"),d=e(t,"fullDate");r=mh(rh(t,eh.Full),[h,d])}return r&&(lh[n][i]=r),r}(n,i)||i;for(var a,s=[];i;){if(!(a=hh.exec(i))){s.push(i);break}var u=(s=s.concat(a.slice(1))).pop();if(!u)break;i=u}var c=o.getTimezoneOffset();r&&(c=Ah(r,c),o=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*(Ah(t,n)-n))}(o,r));var l="";return s.forEach((function(e){var t=function(e){if(Mh[e])return Mh[e];var t;switch(e){case"G":case"GG":case"GGG":t=_h(ph.Eras,$l.Abbreviated);break;case"GGGG":t=_h(ph.Eras,$l.Wide);break;case"GGGGG":t=_h(ph.Eras,$l.Narrow);break;case"y":t=yh(fh.FullYear,1,0,!1,!0);break;case"yy":t=yh(fh.FullYear,2,0,!0,!0);break;case"yyy":t=yh(fh.FullYear,3,0,!1,!0);break;case"yyyy":t=yh(fh.FullYear,4,0,!1,!0);break;case"M":case"L":t=yh(fh.Month,1,1);break;case"MM":case"LL":t=yh(fh.Month,2,1);break;case"MMM":t=_h(ph.Months,$l.Abbreviated);break;case"MMMM":t=_h(ph.Months,$l.Wide);break;case"MMMMM":t=_h(ph.Months,$l.Narrow);break;case"LLL":t=_h(ph.Months,$l.Abbreviated,Zl.Standalone);break;case"LLLL":t=_h(ph.Months,$l.Wide,Zl.Standalone);break;case"LLLLL":t=_h(ph.Months,$l.Narrow,Zl.Standalone);break;case"w":t=wh(1);break;case"ww":t=wh(2);break;case"W":t=wh(1,!0);break;case"d":t=yh(fh.Date,1);break;case"dd":t=yh(fh.Date,2);break;case"E":case"EE":case"EEE":t=_h(ph.Days,$l.Abbreviated);break;case"EEEE":t=_h(ph.Days,$l.Wide);break;case"EEEEE":t=_h(ph.Days,$l.Narrow);break;case"EEEEEE":t=_h(ph.Days,$l.Short);break;case"a":case"aa":case"aaa":t=_h(ph.DayPeriods,$l.Abbreviated);break;case"aaaa":t=_h(ph.DayPeriods,$l.Wide);break;case"aaaaa":t=_h(ph.DayPeriods,$l.Narrow);break;case"b":case"bb":case"bbb":t=_h(ph.DayPeriods,$l.Abbreviated,Zl.Standalone,!0);break;case"bbbb":t=_h(ph.DayPeriods,$l.Wide,Zl.Standalone,!0);break;case"bbbbb":t=_h(ph.DayPeriods,$l.Narrow,Zl.Standalone,!0);break;case"B":case"BB":case"BBB":t=_h(ph.DayPeriods,$l.Abbreviated,Zl.Format,!0);break;case"BBBB":t=_h(ph.DayPeriods,$l.Wide,Zl.Format,!0);break;case"BBBBB":t=_h(ph.DayPeriods,$l.Narrow,Zl.Format,!0);break;case"h":t=yh(fh.Hours,1,-12);break;case"hh":t=yh(fh.Hours,2,-12);break;case"H":t=yh(fh.Hours,1);break;case"HH":t=yh(fh.Hours,2);break;case"m":t=yh(fh.Minutes,1);break;case"mm":t=yh(fh.Minutes,2);break;case"s":t=yh(fh.Seconds,1);break;case"ss":t=yh(fh.Seconds,2);break;case"S":t=yh(fh.FractionalSeconds,1);break;case"SS":t=yh(fh.FractionalSeconds,2);break;case"SSS":t=yh(fh.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=bh(dh.Short);break;case"ZZZZZ":t=bh(dh.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=bh(dh.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=bh(dh.Long);break;default:return null}return Mh[e]=t,t}(e);l+=t?t(o,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),l}function mh(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,i){return null!=t&&i in t?t[i]:e}))),e}function vh(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,u=function(e,t){switch(e){case fh.FullYear:return t.getFullYear();case fh.Month:return t.getMonth();case fh.Date:return t.getDate();case fh.Hours:return t.getHours();case fh.Minutes:return t.getMinutes();case fh.Seconds:return t.getSeconds();case fh.FractionalSeconds:return t.getMilliseconds();case fh.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((i>0||u>-i)&&(u+=i),e===fh.Hours)0===u&&-12===i&&(u=12);else if(e===fh.FractionalSeconds)return s=t,vh(u,3).substr(0,s);var c=oh(a,th.MinusSign);return vh(u,t,c,n,r)}}function _h(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Zl.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){return function(e,i,n,r,o,a){switch(n){case ph.Months:return function(e,t,i){var n=ju(e),r=sh([n[Wu.MonthsFormat],n[Wu.MonthsStandalone]],t);return sh(r,i)}(i,o,r)[e.getMonth()];case ph.Days:return function(e,t,i){var n=ju(e),r=sh([n[Wu.DaysFormat],n[Wu.DaysStandalone]],t);return sh(r,i)}(i,o,r)[e.getDay()];case ph.DayPeriods:var s=e.getHours(),u=e.getMinutes();if(a){var c=function(e){var t=ju(e);return ah(t),(t[Wu.ExtraData][2]||[]).map((function(e){return"string"==typeof e?uh(e):[uh(e[0]),uh(e[1])]}))}(i),l=function(e,t,i){var n=ju(e);ah(n);var r=sh([n[Wu.ExtraData][0],n[Wu.ExtraData][1]],t)||[];return sh(r,i)||[]}(i,o,r),h=c.findIndex((function(e){if(Array.isArray(e)){var i=t(e,2),n=i[0],r=i[1],o=s>=n.hours&&u>=n.minutes,a=s0?Math.floor(r/60):Math.ceil(r/60);switch(e){case dh.Short:return(r>=0?"+":"")+vh(a,2,o)+vh(Math.abs(r%60),2,o);case dh.ShortGMT:return"GMT"+(r>=0?"+":"")+vh(a,1,o);case dh.Long:return"GMT"+(r>=0?"+":"")+vh(a,2,o)+":"+vh(Math.abs(r%60),2,o);case dh.Extended:return 0===n?"Z":(r>=0?"+":"")+vh(a,2,o)+":"+vh(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function wh(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,n){var r,o,a,s;if(t){var u=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,c=i.getDate();r=1+Math.floor((c+u)/7)}else{var l=(s=i,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),h=(o=l.getFullYear(),a=new Date(o,0,1).getDay(),new Date(o,0,1+(a<=4?4:11)-a)),d=l.getTime()-h.getTime();r=1+Math.round(d/6048e5)}return vh(r,e,oh(n,th.MinusSign))}}var Mh={};function Ah(e,t){e=e.replace(/:/g,"");var i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function kh(e){return e instanceof Date&&!isNaN(e.valueOf())}var Th,Sh=function e(){y(this,e)},Ch=((Th=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this)).locale=e,n}return b(i,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return ju(e)[Wu.PluralCase]}(t||this.locale)(e)){case Ql.Zero:return"zero";case Ql.One:return"one";case Ql.Two:return"two";case Ql.Few:return"few";case Ql.Many:return"many";default:return"other"}}}]),i}(Sh)).\u0275fac=function(e){return new(e||Th)(dt(Bc))},Th.\u0275prov=Le({token:Th,factory:Th.\u0275fac}),Th);function Lh(e,i){i=encodeURIComponent(i);var n,r=a(e.split(";"));try{for(r.s();!(n=r.n()).done;){var o=n.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()===i)return decodeURIComponent(l)}}catch(h){r.e(h)}finally{r.f()}return null}var Eh,zh,Rh,Oh=((Eh=function(){function e(t,i,n,r){y(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 b(e,[{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 "+Be(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)}))}},{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())}}]),e}()).\u0275fac=function(e){return new(e||Eh)(Ja(Tu),Ja(Su),Ja(au),Ja(lu))},Eh.\u0275dir=Bt({type:Eh,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),Eh),xh=function(){function e(t,i,n,r){y(this,e),this.$implicit=t,this.ngForOf=i,this.index=n,this.count=r}return b(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}(),Dh=((zh=function(){function e(t,i,n){y(this,e),this._viewContainer=t,this._template=i,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return b(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 xh(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new Ph(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 u=new Ph(e,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==t||""===t||t!=t)return null;try{return gh(t,i,r||this.locale,n)}catch(o){throw Xh(e,o.message)}}}]),e}()).\u0275fac=function(e){return new(e||Jh)(Ja(Bc))},Jh.\u0275pipe=Ft({name:"date",type:Jh,pure:!0}),Jh),nd=((Gh=function e(){y(this,e)}).\u0275mod=Nt({type:Gh}),Gh.\u0275inj=Ee({factory:function(e){return new(e||Gh)},providers:[{provide:Sh,useClass:Ch}]}),Gh);function rd(e){return"browser"===e}function od(e){return"server"===e}var ad,sd=((ad=function e(){y(this,e)}).\u0275prov=Le({token:ad,providedIn:"root",factory:function(){return new ud(dt(Ll),window,dt(Fn))}}),ad),ud=function(){function e(t,i,n){y(this,e),this.document=t,this.window=i,this.errorHandler=n,this.offset=function(){return[0,0]}}return b(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[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=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(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:"supportScrollRestoration",value:function(){try{if(!this.window||!this.window.scrollTo)return!1;var e=cd(this.window.history)||cd(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window.scrollTo}catch(e){return!1}}}]),e}();function cd(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var ld,hd,dd,fd,pd=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(i,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{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){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{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:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,i=gd||(gd=document.querySelector("base"))?gd.getAttribute("href"):null;return null==i?null:(t=i,ld||(ld=document.createElement("a")),ld.setAttribute("href",t),"/"===ld.pathname.charAt(0)?ld.pathname:"/"+ld.pathname)}},{key:"resetBaseElement",value:function(){gd=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Lh(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new i,Tl||(Tl=e)}}]),i}(function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.call(this)}return b(i,[{key:"supportsDOMEvents",value:function(){return!0}}]),i}(function(){return function e(){y(this,e)}}())),gd=null,md=new nt("TRANSITION_ID"),vd=[{provide:Ec,useFactory:function(e,t,i){return function(){i.get(zc).donePromise.then((function(){var i=Sl();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:[md,Ll,La],multi:!0}],yd=function(){function e(){y(this,e)}return b(e,[{key:"addToWindow",value:function(e){Ge.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},Ge.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ge.getAllAngularRootElements=function(){return e.getAllRootElements()},Ge.frameworkStabilizers||(Ge.frameworkStabilizers=[]),Ge.frameworkStabilizers.push((function(e){var t=Ge.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?Sl().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,sl=t}}]),e}(),_d=new nt("EventManagerPlugins"),bd=((hd=function(){function e(t,i){var n=this;y(this,e),this._zone=i,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=n})),this._plugins=t.slice().reverse()}return b(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&&qd.hasOwnProperty(t)&&(t=qd[t]))}return Hd[t]||t}(e);return" "===(i=i.toLowerCase())?i="space":"."===i&&(i="dot"),Fd.forEach((function(n){n!=i&&(0,jd[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}(wd)).\u0275fac=function(e){return new(e||Od)(dt(Ll))},Od.\u0275prov=Le({token:Od,factory:Od.\u0275fac}),Od),Wd=((Rd=function e(){y(this,e)}).\u0275fac=function(e){return new(e||Rd)},Rd.\u0275prov=Le({factory:function(){return dt(Ud)},token:Rd,providedIn:"root"}),Rd),Ud=((zd=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this))._doc=e,n}return b(i,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case wr.NONE:return t;case wr.HTML:return Vn(t,"HTML")?Kn(t):_r(this._doc,String(t));case wr.STYLE:return Vn(t,"Style")?Kn(t):t;case wr.SCRIPT:if(Vn(t,"Script"))return Kn(t);throw new Error("unsafe value used in a script context");case wr.URL:return Xn(t),Vn(t,"URL")?Kn(t):ir(String(t));case wr.RESOURCE_URL:if(Vn(t,"ResourceURL"))return Kn(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new qn(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new jn(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new Yn(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new Wn(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new Un(e)}}]),i}(Wd)).\u0275fac=function(e){return new(e||zd)(dt(Ll))},zd.\u0275prov=Le({factory:function(){return e=dt(rt),new Ud(e.get(Ll));var e},token:zd,providedIn:"root"}),zd),Kd=ll(Ml,"browser",[{provide:Pc,useValue:"browser"},{provide:Dc,useValue:function(){pd.makeCurrent(),yd.init()},multi:!0},{provide:Ll,useFactory:function(){return function(e){ii=e}(document),document},deps:[]}]),Vd=[[],{provide:pa,useValue:"root"},{provide:Fn,useFactory:function(){return new Fn},deps:[]},{provide:_d,useClass:Bd,multi:!0,deps:[Ll,Jc,Pc]},{provide:_d,useClass:Yd,multi:!0,deps:[Ll]},[],{provide:Dd,useClass:Dd,deps:[bd,Ad,Rc]},{provide:uu,useExisting:Dd},{provide:Md,useExisting:Ad},{provide:Ad,useClass:Ad,deps:[Ll]},{provide:ol,useClass:ol,deps:[Jc]},{provide:bd,useClass:bd,deps:[_d,Jc]},[]],Xd=((xd=function(){function e(t){if(y(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 b(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:Rc,useValue:t.appId},{provide:md,useExisting:Rc},vd]}}}]),e}()).\u0275mod=Nt({type:xd}),xd.\u0275inj=Ee({factory:function(e){return new(e||xd)(dt(xd,12))},providers:Vd,imports:[nd,kl]}),xd);"undefined"!=typeof window&&window;var Gd=function(e){return e.PERUNADMIN="PERUNADMIN",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}({});function Jd(){for(var e=arguments.length,t=new Array(e),i=0;i0){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 b(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,r(i)),this.headers.set(t,n);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(i){return e(t.normalizedNames.get(i),t.headers.get(i))}))}}]),e}(),of=function(){function e(){y(this,e)}return b(e,[{key:"encodeKey",value:function(e){return af(e)}},{key:"encodeValue",value:function(e){return af(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function af(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,"/")}var sf=function(){function e(){var i=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(y(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new of,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,i){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var r=e.indexOf("="),o=t(-1==r?[i.decodeKey(e),""]:[i.decodeKey(e.slice(0,r)),i.decodeValue(e.slice(r+1))],2),a=o[0],s=o[1],u=n.get(a)||[];u.push(s),n.set(a,u)})),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var t=n.fromObject[e];i.map.set(e,Array.isArray(t)?t:[t])}))):this.map=null}return b(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:"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(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(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}();function uf(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function cf(e){return"undefined"!=typeof Blob&&e instanceof Blob}function lf(e){return"undefined"!=typeof FormData&&e instanceof FormData}var hf=function(){function e(t,i,n,r){var o;if(y(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.params&&(this.params=o.params)),this.headers||(this.headers=new rf),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]:{},i=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((function(e,i){return e.set(i,t.setHeaders[i])}),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((function(e,i){return e.set(i,t.setParams[i])}),c)),new e(i,n,o,{params:c,headers:u,reportProgress:s,responseType:r,withCredentials:a})}}]),e}(),df=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}({}),ff=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";y(this,e),this.headers=t.headers||new rf,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},pf=function(e){h(i,e);var t=f(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,i),(e=t.call(this,n)).type=df.ResponseHeader,e}return b(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}(ff),gf=function(e){h(i,e);var t=f(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,i),(e=t.call(this,n)).type=df.Response,e.body=void 0!==n.body?n.body:null,e}return b(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}(ff),mf=function(e){h(i,e);var t=f(i);function i(e){var n;return y(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 "+(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}(ff);function vf(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var yf,_f,bf,wf,Mf,Af,kf,Tf,Sf,Cf,Lf,Ef,zf,Rf,Of,xf,Df,Pf,Nf,If,Bf,Ff,Hf=((yf=function(){function e(t){y(this,e),this.handler=t}return b(e,[{key:"request",value:function(e,t){var i,n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof hf)i=e;else{var o=void 0;o=r.headers instanceof rf?r.headers:new rf(r.headers);var a=void 0;r.params&&(a=r.params instanceof sf?r.params:new sf({fromObject:r.params})),i=new hf(e,t,void 0!==r.body?r.body:null,{headers:o,params:a,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=Jd(i).pipe(Qd((function(e){return n.handler.handle(e)})));if(e instanceof hf||"events"===r.observe)return s;var u=s.pipe(Zd((function(e){return e instanceof gf})));switch(r.observe||"body"){case"body":switch(i.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(r.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 sf).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,vf(i,t))}},{key:"post",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,vf(i,t))}},{key:"put",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,vf(i,t))}}]),e}()).\u0275fac=function(e){return new(e||yf)(dt(tf))},yf.\u0275prov=Le({token:yf,factory:yf.\u0275fac}),yf),qf=function(){function e(t,i){y(this,e),this.next=t,this.interceptor=i}return b(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),jf=new nt("HTTP_INTERCEPTORS"),Yf=((_f=function(){function e(){y(this,e)}return b(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||_f)},_f.\u0275prov=Le({token:_f,factory:_f.\u0275fac}),_f),Wf=/^\)\]\}',?\n/,Uf=function e(){y(this,e)},Kf=((wf=function(){function e(){y(this,e)}return b(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||wf)},wf.\u0275prov=Le({token:wf,factory:wf.\u0275fac}),wf),Vf=((bf=function(){function e(t){y(this,e),this.xhrFactory=t}return b(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(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,u=function(){if(null!==s)return s;var t=1223===n.status?204:n.status,i=n.statusText||"OK",r=new rf(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 pf({headers:r,status:t,statusText:i,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===n.response?n.responseText:n.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(Wf,"");try{c=""!==c?JSON.parse(c):null}catch(d){c=h,l&&(l=!1,c={error:d,text:c})}}l?(i.next(new gf({body:c,headers:r,status:o,statusText:a,url:s||void 0})),i.complete()):i.error(new mf({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(e){var t=u().url,r=new mf({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:t||void 0});i.error(r)},h=!1,d=function(t){h||(i.next(u()),h=!0);var r={type:df.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),i.next(r)},f=function(e){var t={type:df.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),i.next(t)};return n.addEventListener("load",c),n.addEventListener("error",l),e.reportProgress&&(n.addEventListener("progress",d),null!==a&&n.upload&&n.upload.addEventListener("progress",f)),n.send(a),i.next({type:df.Sent}),function(){n.removeEventListener("error",l),n.removeEventListener("load",c),e.reportProgress&&(n.removeEventListener("progress",d),null!==a&&n.upload&&n.upload.removeEventListener("progress",f)),n.readyState!==n.DONE&&n.abort()}}))}}]),e}()).\u0275fac=function(e){return new(e||bf)(dt(Uf))},bf.\u0275prov=Le({token:bf,factory:bf.\u0275fac}),bf),Xf=new nt("XSRF_COOKIE_NAME"),Gf=new nt("XSRF_HEADER_NAME"),Jf=function e(){y(this,e)},Qf=((Sf=function(){function e(t,i,n){y(this,e),this.doc=t,this.platform=i,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return b(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Lh(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||Sf)(dt(Ll),dt(Pc),dt(Xf))},Sf.\u0275prov=Le({token:Sf,factory:Sf.\u0275fac}),Sf),Zf=((Tf=function(){function e(t,i){y(this,e),this.tokenService=t,this.headerName=i}return b(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}()).\u0275fac=function(e){return new(e||Tf)(dt(Jf),dt(Gf))},Tf.\u0275prov=Le({token:Tf,factory:Tf.\u0275fac}),Tf),$f=((kf=function(){function e(t,i){y(this,e),this.backend=t,this.injector=i,this.chain=null}return b(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(jf,[]);this.chain=t.reduceRight((function(e,t){return new qf(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||kf)(dt(nf),dt(La))},kf.\u0275prov=Le({token:kf,factory:kf.\u0275fac}),kf),ep=((Af=function(){function e(){y(this,e)}return b(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:Zf,useClass:Yf}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:Xf,useValue:t.cookieName}:[],t.headerName?{provide:Gf,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=Nt({type:Af}),Af.\u0275inj=Ee({factory:function(e){return new(e||Af)},providers:[Zf,{provide:jf,useExisting:Zf,multi:!0},{provide:Jf,useClass:Qf},{provide:Xf,useValue:"XSRF-TOKEN"},{provide:Gf,useValue:"X-XSRF-TOKEN"}]}),Af),tp=((Mf=function e(){y(this,e)}).\u0275mod=Nt({type:Mf}),Mf.\u0275inj=Ee({factory:function(e){return new(e||Mf)},providers:[Hf,{provide:tf,useClass:$f},Vf,{provide:nf,useExisting:Vf},Kf,{provide:Uf,useExisting:Kf}],imports:[[ep.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Mf),ip=function(){function e(){y(this,e)}return b(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}(),np=new nt("basePath"),rp=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};y(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 b(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}(),op=((Pf=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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(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,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 sf({encoder:this.encoder});null!=e&&(f=f.set("attributeName",e)),null!=t&&(f=f.set("attributeId",t)),null!=i&&(f=f.set("facility",i)),null!=n&&(f=f.set("user",n)),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(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",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 sf({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(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 sf({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(this.configuration.basePath+"/json/attributesManager/getAttributeDefinition",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{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],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.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(this.configuration.basePath+"/json/attributesManager/getAttributesDefinitionByNamespace",{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{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 sf({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(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 sf({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(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 sf({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(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,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 sf({encoder:this.encoder});null!=e&&(l=l.set("member",e)),null!=t&&(l=l.set("user",t)),null!=i&&(l=l.set("vo",i)),null!=n&&(l=l.set("group",n)),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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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 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(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 s=new sf({encoder:this.encoder});null!=e&&(s=s.set("service",e)),null!=t&&(s=s.set("resource",t)),null!=i&&(s=s.set("group",i)),null!=n&&(s=s.set("member",n)),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(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,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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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",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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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",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==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 sf({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 c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.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(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,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 s=new sf({encoder:this.encoder});null!=e&&(s=s.set("facility",e)),null!=t&&(s=s.set("resource",t)),null!=i&&(s=s.set("user",i)),null!=n&&(s=s.set("member",n)),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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(this.configuration.basePath+"/json/attributesManager/updateAttributeDefinition",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||Pf)(dt(Hf),dt(np,8),dt(rp,8))},Pf.\u0275prov=Le({token:Pf,factory:Pf.\u0275fac,providedIn:"root"}),Pf),ap=((Df=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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(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(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 sf({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 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(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",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==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 sf({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 c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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(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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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(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(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(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(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(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(this.configuration.basePath+"/json/authzResolver/unsetRole/u-co",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||Df)(dt(Hf),dt(np,8),dt(rp,8))},Df.\u0275prov=Le({token:Df,factory:Df.\u0275fac,providedIn:"root"}),Df),sp=((xf=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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 sf({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(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 sf({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(this.configuration.basePath+"/urlinjsonout/groupsManager/addMembers",null,{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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(this.configuration.basePath+"/urlinjsonout/groupsManager/deleteGroups",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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/groupsManager/getGroupByName",{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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/groupsManager/getGroupMembersCountsByVoStatus",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getRichGroupByIdWithAttributesByNames.");var r=new sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/urlinjsonout/groupsManager/removeMembers",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{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(this.configuration.basePath+"/json/groupsManager/updateGroup",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||xf)(dt(Hf),dt(np,8),dt(rp,8))},xf.\u0275prov=Le({token:xf,factory:xf.\u0275fac,providedIn:"root"}),xf),up=((Of=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(e,[{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(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(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(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(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(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(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(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 sf({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(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 sf({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(this.configuration.basePath+"/urlinjsonout/membersManager/deleteMembers",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 sf({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 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(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",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==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 sf({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 c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.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(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,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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.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(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 sf({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(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 sf({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(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 s=new sf({encoder:this.encoder});null!=e&&(s=s.set("group",e)),i&&i.forEach((function(e){s=s.append("allowedStatuses[]",e)})),n&&n.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(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,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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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",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(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 sf({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 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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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(this.configuration.basePath+"/urlinjsonout/membersManager/validateMemberAsync",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||Of)(dt(Hf),dt(np,8),dt(rp,8))},Of.\u0275prov=Le({token:Of,factory:Of.\u0275fac,providedIn:"root"}),Of),cp=((Rf=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 sf({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 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(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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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||Rf)(dt(Hf),dt(np,8),dt(rp,8))},Rf.\u0275prov=Le({token:Rf,factory:Rf.\u0275fac,providedIn:"root"}),Rf),lp=((zf=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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(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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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,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 s=new sf({encoder:this.encoder});null!=i&&(s=s.set("voId",i)),null!=n&&(s=s.set("groupId",n)),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(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,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 sf({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 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(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 sf({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(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(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(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(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(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(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(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(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(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(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 sf({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(this.configuration.basePath+"/urlinjsonout/registrarManager/verifyApplication",null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||zf)(dt(Hf),dt(np,8),dt(rp,8))},zf.\u0275prov=Le({token:zf,factory:zf.\u0275fac,providedIn:"root"}),zf),hp=((Ef=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(e,[{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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/urlinjsonout/resourcesManager/addResourceSelfServiceUser",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignGroupToResource",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 assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");var r=new sf({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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignGroupToResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignGroupToResources",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 assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");var r=new sf({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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignGroupToResources",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignGroupsToResource",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 assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");var r=new sf({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(this.configuration.basePath+"/urlinjsonout/resourcesManager/assignGroupsToResource",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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",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(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 sf({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(this.configuration.basePath+"/urlinjsonout/resourcesManager/createResourceTag/tagName",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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/resourcesManager/getAssignedMembers",{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 sf({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(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 sf({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(this.configuration.basePath+"/json/resourcesManager/getAssignedResources/m",{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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/resourcesManager/getFacility",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{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 sf({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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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 sf({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 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(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 sf({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 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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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",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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(this.configuration.basePath+"/json/resourcesManager/setBan",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{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(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(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(this.configuration.basePath+"/json/resourcesManager/updateResourceTag",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||Ef)(dt(Hf),dt(np,8),dt(rp,8))},Ef.\u0275prov=Le({token:Ef,factory:Ef.\u0275fac,providedIn:"root"}),Ef),dp=((Lf=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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 sf({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(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(this.configuration.basePath+"/json/usersManager/addUserExtSource",e,{withCredentials:this.configuration.withCredentials,headers:n,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 sf({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 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(this.configuration.basePath+"/urlinjsonout/usersManager/changeNonAuthzPassword/token",null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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",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(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 sf({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 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(this.configuration.basePath+"/urlinjsonout/usersManager/deleteAlternativePassword",null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/usersManager/findUsers",{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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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 s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.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(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 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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/usersManager/getUserExtSourcesByIds",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{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 sf({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(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 sf({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(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 sf({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(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 sf({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(this.configuration.basePath+"/json/usersManager/getVosWhereUserIsMember",{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{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 sf({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(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 sf({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 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(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",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 sf({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 c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.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(this.configuration.basePath+"/urlinjsonout/usersManager/requestPreferredEmailChange",null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:s})}},{key:"reservePassword",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 reservePassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePassword.");var o=new sf({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 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(this.configuration.basePath+"/urlinjsonout/usersManager/reservePassword",null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{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(this.configuration.basePath+"/json/usersManager/updateUser",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"validatePreferredEmailChange",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 i was null or undefined when calling validatePreferredEmailChange.");if(null==t)throw new Error("Required parameter m was null or undefined when calling validatePreferredEmailChange.");if(null==i)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChange.");var o=new sf({encoder:this.encoder});null!=e&&(o=o.set("i",e)),null!=t&&(o=o.set("m",t)),null!=i&&(o=o.set("u",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 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(this.configuration.basePath+"/urlinjsonout/usersManager/validatePreferredEmailChange",null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{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 sf({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(this.configuration.basePath+"/urlinjsonout/usersManager/validatePreferredEmailChange/token",null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Lf)(dt(Hf),dt(np,8),dt(rp,8))},Lf.\u0275prov=Le({token:Lf,factory:Lf.\u0275fac,providedIn:"root"}),Lf),fp=((Cf=function(){function e(t,i,n){y(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new rf,this.configuration=new rp,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 ip}return b(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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 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(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 sf({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(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(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 sf({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 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(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 sf({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 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(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(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 s=new sf({encoder:this.encoder});null!=e&&(s=s.set("vo",e)),null!=t&&(s=s.set("role",t)),i&&i.forEach((function(e){s=s.append("specificAttributes",e)})),null!=n&&(s=s.set("allUserAttributes",n)),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(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 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 sf({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(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 sf({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 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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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 sf({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(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(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(this.configuration.basePath+"/json/vosManager/updateVo",e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||Cf)(dt(Hf),dt(np,8),dt(rp,8))},Cf.\u0275prov=Le({token:Cf,factory:Cf.\u0275fac,providedIn:"root"}),Cf);!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"}}(Nf||(Nf={})),function(e){e.FormatEnum={DOT:"DOT",TGF:"TGF"}}(If||(If={})),function(e){e.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(Bf||(Bf={})),function(e){e.TypeEnum={Technical:"technical",Administrative:"administrative"}}(Ff||(Ff={}));var pp,gp=((pp=function(){function e(t){y(this,e),this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}return b(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=a(this.fetchPolicyWithAllIncludedPolicies(e));try{for(r.s();!(i=r.n()).done;){var o=i.value;n=n.concat(o.perunRoles)}}catch(u){r.e(u)}finally{r.f()}var s=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(n,s)}},{key:"resolveAuthorization",value:function(e,t){var i,n=a(e);try{for(n.s();!(i=n.n()).done;){for(var r=i.value,o=!0,s=0,u=Object.keys(r);s0)for(var i=this.count>=this.total?this.total:this.count,n=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:Dp;return function(t){return t.lift(new Op(e))}}var Op=function(){function e(t){y(this,e),this.errorFactory=t}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new xp(e,this.errorFactory))}}]),e}(),xp=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).errorFactory=n,r.hasValue=!1,r}return b(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}(O);function Dp(){return new Mp}function Pp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new Np(e))}}var Np=function(){function e(t){y(this,e),this.defaultValue=t}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new Ip(e,this.defaultValue))}}]),e}(),Ip=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).defaultValue=n,r.isEmpty=!0,r}return b(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}(O);function Bp(e,t){return"function"==typeof t?function(i){return i.pipe(Bp((function(i,n){return re(e(i,n)).pipe(ee((function(e,r){return t(i,e,n,r)})))})))}:function(t){return t.lift(new Fp(e))}}var Fp=function(){function e(t){y(this,e),this.project=t}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new Hp(e,this.project))}}]),e}(),Hp=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).project=n,r.index=0,r}return b(i,[{key:"_next",value:function(e){var t,i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this._innerSub(t,e,i)}},{key:"_innerSub",value:function(e,t,i){var n=this.innerSubscription;n&&n.unsubscribe();var r=new K(this,t,i),o=this.destination;o.add(r),this.innerSubscription=Z(this,e,void 0,void 0,r),this.innerSubscription!==r&&o.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||l(v(i.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&&l(v(i.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,i,n,r){this.destination.next(t)}}]),i}($);function qp(e){return function(t){return 0===e?kp():t.lift(new jp(e))}}var jp=function(){function e(t){if(y(this,e),this.total=t,this.total<0)throw new Cp}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new Yp(e,this.total))}}]),e}(),Yp=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).total=n,r.count=0,r}return b(i,[{key:"_next",value:function(e){var t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}]),i}(O);function Wp(){return Sp()(Jd.apply(void 0,arguments))}function Up(){for(var e=arguments.length,t=new Array(e),i=0;i2&&void 0!==arguments[2]&&arguments[2];y(this,e),this.accumulator=t,this.seed=i,this.hasSeed=n}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new Vp(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Vp=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e)).accumulator=n,a._seed=r,a.hasSeed=o,a.index=0,a}return b(i,[{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)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),i}(O);function Xp(e){return function(t){var i=new Gp(e),n=t.lift(i);return i.caught=n}}var Gp=function(){function e(t){y(this,e),this.selector=t}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new Jp(e,this.selector,this.caught))}}]),e}(),Jp=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e)).selector=n,o.caught=r,o}return b(i,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void l(v(i.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var n=new K(this,void 0,void 0);this.add(n);var r=Z(this,t,void 0,void 0,n);r!==n&&this.add(r)}}}]),i}($);function Qp(e,t){var i=arguments.length>=2;return function(n){return n.pipe(e?Zd((function(t,i){return e(t,i,n)})):P,qp(1),i?Pp(t):Rp((function(){return new Mp})))}}function Zp(){}function $p(e,t,i){return function(n){return n.lift(new eg(e,t,i))}}var eg=function(){function e(t,i,n){y(this,e),this.nextOrObserver=t,this.error=i,this.complete=n}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new tg(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),tg=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e))._tapNext=Zp,a._tapError=Zp,a._tapComplete=Zp,a._tapError=r||Zp,a._tapComplete=o||Zp,_(n)?(a._context=g(a),a._tapNext=n):n&&(a._context=n,a._tapNext=n.next||Zp,a._tapError=n.error||Zp,a._tapComplete=n.complete||Zp),a}return b(i,[{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()}}]),i}(O);function ig(e){return function(t){return t.lift(new ng(e))}}var ng=function(){function e(t){y(this,e),this.callback=t}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new rg(e,this.callback))}}]),e}(),rg=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).add(new E(n)),r}return i}(O),og=function e(t,i){y(this,e),this.id=t,this.url=i},ag=function(e){h(i,e);var t=f(i);function i(e,n){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 y(this,i),(r=t.call(this,e,n)).navigationTrigger=o,r.restoredState=a,r}return b(i,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(og),sg=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e,n)).urlAfterRedirects=r,o}return b(i,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),i}(og),ug=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e,n)).reason=r,o}return b(i,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(og),cg=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e,n)).error=r,o}return b(i,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),i}(og),lg=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return b(i,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(og),hg=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return b(i,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(og),dg=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){var s;return y(this,i),(s=t.call(this,e,n)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return b(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}(og),fg=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return b(i,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(og),pg=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return b(i,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(og),gg=function(){function e(t){y(this,e),this.route=t}return b(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),mg=function(){function e(t){y(this,e),this.route=t}return b(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),vg=function(){function e(t){y(this,e),this.snapshot=t}return b(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),yg=function(){function e(t){y(this,e),this.snapshot=t}return b(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),_g=function(){function e(t){y(this,e),this.snapshot=t}return b(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),bg=function(){function e(t){y(this,e),this.snapshot=t}return b(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),wg=function(){function e(t,i,n){y(this,e),this.routerEvent=t,this.position=i,this.anchor=n}return b(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}(),Mg=function(){function e(t){y(this,e),this.params=t||{}}return b(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 Ag(e){return new Mg(e)}function kg(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Tg(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 zg(e,t){for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)}function Rg(e){return us(e)?e:ss(e)?re(Promise.resolve(e)):Jd(e)}function Og(e,t,i){return i?function(e,t){return Sg(e,t)}(e.queryParams,t.queryParams)&&function e(t,i){if(!Ng(t.segments,i.segments))return!1;if(t.numberOfChildren!==i.numberOfChildren)return!1;for(var n in i.children){if(!t.children[n])return!1;if(!e(t.children[n],i.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(i){return Cg(e[i],t[i])}))}(e.queryParams,t.queryParams)&&function e(t,i){return function t(i,n,r){if(i.segments.length>r.length)return!!Ng(i.segments.slice(0,r.length),r)&&!n.hasChildren();if(i.segments.length===r.length){if(!Ng(i.segments,r))return!1;for(var o in n.children){if(!i.children[o])return!1;if(!e(i.children[o],n.children[o]))return!1}return!0}var a=r.slice(0,i.segments.length),s=r.slice(i.segments.length);return!!Ng(i.segments,a)&&!!i.children.primary&&t(i.children.primary,n,s)}(t,i,i.segments)}(e.root,t.root)}var xg=function(){function e(t,i,n){y(this,e),this.root=t,this.queryParams=i,this.fragment=n}return b(e,[{key:"toString",value:function(){return Hg.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Ag(this.queryParams)),this._queryParamMap}}]),e}(),Dg=function(){function e(t,i){var n=this;y(this,e),this.segments=t,this.children=i,this.parent=null,zg(i,(function(e,t){return e.parent=n}))}return b(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return qg(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),Pg=function(){function e(t,i){y(this,e),this.path=t,this.parameters=i}return b(e,[{key:"toString",value:function(){return Vg(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Ag(this.parameters)),this._parameterMap}}]),e}();function Ng(e,t){return e.length===t.length&&e.every((function(e,i){return e.path===t[i].path}))}function Ig(e,t){var i=[];return zg(e.children,(function(e,n){"primary"===n&&(i=i.concat(t(e,n)))})),zg(e.children,(function(e,n){"primary"!==n&&(i=i.concat(t(e,n)))})),i}var Bg=function e(){y(this,e)},Fg=function(){function e(){y(this,e)}return b(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){return"".concat("/"+function e(t,i){if(!t.hasChildren())return qg(t);if(i){var n=t.children.primary?e(t.children.primary,!1):"",r=[];return zg(t.children,(function(t,i){"primary"!==i&&r.push("".concat(i,":").concat(e(t,!1)))})),r.length>0?"".concat(n,"(").concat(r.join("//"),")"):n}var o=Ig(t,(function(i,n){return"primary"===n?[e(t.children.primary,!1)]:["".concat(n,":").concat(e(i,!1))]}));return 1===Object.keys(t.children).length&&null!=t.children.primary?"".concat(qg(t),"/").concat(o[0]):"".concat(qg(t),"/(").concat(o.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,i=Object.keys(t).map((function(e){var i=t[e];return Array.isArray(i)?i.map((function(t){return"".concat(Yg(e),"=").concat(Yg(t))})).join("&"):"".concat(Yg(e),"=").concat(Yg(i))})),i.length?"?"+i.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,i}}]),e}(),Hg=new Fg;function qg(e){return e.segments.map((function(e){return Vg(e)})).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){y(this,e),this.url=t,this.remaining=t}return b(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 i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i.primary=new Dg(e,t)),i}},{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 i="";if(this.consumeOptional("=")){var n=Gg(this.remaining);n&&(i=n,this.capture(i))}e[Ug(t)]=Ug(i)}}},{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 i="";if(this.consumeOptional("=")){var n=function(e){var t=e.match(Qg);return t?t[0]:""}(this.remaining);n&&(i=n,this.capture(i))}var r=Kg(t),o=Kg(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=Gg(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 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){y(this,e),this._root=t}return b(e,[{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}))}},{key:"root",get:function(){return this._root.value}}]),e}();function em(e,t){if(e===t.value)return t;var i,n=a(t.children);try{for(n.s();!(i=n.n()).done;){var r=em(e,i.value);if(r)return r}}catch(o){n.e(o)}finally{n.f()}return null}function tm(e,t){if(e===t.value)return[t];var i,n=a(t.children);try{for(n.s();!(i=n.n()).done;){var r=tm(e,i.value);if(r.length)return r.unshift(t),r}}catch(o){n.e(o)}finally{n.f()}return[]}var im=function(){function e(t,i){y(this,e),this.value=t,this.children=i}return b(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function nm(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var rm=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e)).snapshot=n,lm(g(r),e),r}return b(i,[{key:"toString",value:function(){return this.snapshot.toString()}}]),i}($g);function om(e,t){var i=function(e,t){var i=new um([],{},{},"",{},"primary",t,null,e.root,-1,{});return new cm("",new im(i,[]))}(e,t),n=new vp([new Pg("",{})]),r=new vp({}),o=new vp({}),a=new vp({}),s=new vp(""),u=new am(n,r,a,s,o,"primary",t,i.root);return u.snapshot=i.root,new rm(new im(u,[]),i)}var am=function(){function e(t,i,n,r,o,a,s,u){y(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=u}return b(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{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 Ag(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee((function(e){return Ag(e)})))),this._queryParamMap}}]),e}();function sm(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 um=function(){function e(t,i,n,r,o,a,s,u,c,l,h){y(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=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}return b(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{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=Ag(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Ag(this.queryParams)),this._queryParamMap}}]),e}(),cm=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,n)).url=e,lm(g(r),n),r}return b(i,[{key:"toString",value:function(){return hm(this._root)}}]),i}($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,i=e._futureSnapshot;e.snapshot=i,Sg(t.queryParams,i.queryParams)||e.queryParams.next(i.queryParams),t.fragment!==i.fragment&&e.fragment.next(i.fragment),Sg(t.params,i.params)||e.params.next(i.params),function(e,t){if(e.length!==t.length)return!1;for(var i=0;i0&&pm(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==Eg(n))throw new Error("{outlets:{}} has to be the last command")}return b(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),vm=function e(t,i,n){y(this,e),this.segmentGroup=t,this.processChildren=i,this.index=n};function ym(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function _m(e,t,i){if(e||(e=new Dg([],{})),0===e.segments.length&&e.hasChildren())return bm(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=ym(i[n]),u=n0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!km(s,u,a))return o;n+=2}else{if(!km(s,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex=2&&(i=!0),function(n){return n.lift(new Kp(e,t,i))}}((function(e,t){var i=!1;return t.reduce((function(e,n,r){if(e!==zm)return e;if(n===zm&&(i=!0),!i){if(!1===n)return n;if(r===t.length-1||Em(n))return n}return e}),e)}),zm),Zd((function(e){return e!==zm})),ee((function(e){return Em(e)?e:!0===e})),qp(1))}))}var Om=function e(t){y(this,e),this.segmentGroup=t||null},xm=function e(t){y(this,e),this.urlTree=t};function Dm(e){return new I((function(t){return t.error(new Om(e))}))}function Pm(e){return new I((function(t){return t.error(new xm(e))}))}function Nm(e){return new I((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var Im=function(){function e(t,i,n,r,o){y(this,e),this.configLoader=i,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(vt)}return b(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(ee((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(Xp((function(t){if(t instanceof xm)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Om)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(i){return t.createUrlTree(i,e.queryParams,e.fragment)}))).pipe(Xp((function(e){if(e instanceof Om)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 Dg([],{primary:e}):e;return new xg(n,t,i)}},{key:"expandSegmentGroup",value:function(e,t,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(ee((function(e){return new Dg([],e)}))):this.expandSegment(e,i,t,i.segments,n,!0)}},{key:"expandChildren",value:function(e,t,i){var n=this;return function(i,r){if(0===Object.keys(i).length)return Jd({});var o=[],a=[],s={};return zg(i,(function(i,r){var u,c,l=(u=r,c=i,n.expandSegmentGroup(e,t,c,u)).pipe(ee((function(e){return s[r]=e})));"primary"===r?o.push(l):a.push(l)})),Jd.apply(null,o.concat(a)).pipe(Sp(),function(e,t){var i=arguments.length>=2;return function(n){return n.pipe(e?Zd((function(t,i){return e(t,i,n)})):P,Lp(1),i?Pp(t):Rp((function(){return new Mp})))}}(),ee((function(){return s})))}(i.children)}},{key:"expandSegment",value:function(e,t,i,n,o,a){var s=this;return Jd.apply(void 0,r(i)).pipe(Qd((function(r){return s.expandSegmentAgainstRoute(e,t,i,r,n,o,a).pipe(Xp((function(e){if(e instanceof Om)return Jd(null);throw e})))})),Qp((function(e){return!!e})),Xp((function(e,i){if(e instanceof Mp||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,n,o))return Jd(new Dg([],{}));throw new Om(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,i){return 0===t.length&&!e.children[i]}},{key:"expandSegmentAgainstRoute",value:function(e,t,i,n,r,o,a){return qm(n)!==o?Dm(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,n,r,o):Dm(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("/")?Pm(o):this.lineralizeSegments(i,o).pipe(oe((function(i){var o=new Dg(i,{});return r.expandSegment(e,o,t,i,n,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,i,n,r,o){var a=this,s=Bm(t,n,r),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return Dm(t);var d=this.applyRedirectCommands(c,n.redirectTo,h);return n.redirectTo.startsWith("/")?Pm(d):this.lineralizeSegments(n,d).pipe(oe((function(n){return a.expandSegment(e,t,i,n.concat(r.slice(l)),o,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,i,n){var r=this;if("**"===i.path)return i.loadChildren?this.configLoader.load(e.injector,i).pipe(ee((function(e){return i._loadedConfig=e,new Dg(n,{})}))):Jd(new Dg(n,{}));var o=Bm(t,i,n),s=o.matched,u=o.consumedSegments,c=o.lastChild;if(!s)return Dm(t);var l=n.slice(c);return this.getChildConfig(e,i,n).pipe(oe((function(e){var i=e.module,n=e.routes,o=function(e,t,i,n){return i.length>0&&function(e,t,i){return i.some((function(i){return Hm(e,t,i)&&"primary"!==qm(i)}))}(e,i,n)?{segmentGroup:Fm(new Dg(t,function(e,t){var i={};i.primary=t;var n,r=a(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;""===o.path&&"primary"!==qm(o)&&(i[qm(o)]=new Dg([],{}))}}catch(s){r.e(s)}finally{r.f()}return i}(n,new Dg(i,e.children)))),slicedSegments:[]}:0===i.length&&function(e,t,i){return i.some((function(i){return Hm(e,t,i)}))}(e,i,n)?{segmentGroup:Fm(new Dg(e.segments,function(e,t,i,n){var r,o={},s=a(i);try{for(s.s();!(r=s.n()).done;){var u=r.value;Hm(e,t,u)&&!n[qm(u)]&&(o[qm(u)]=new Dg([],{}))}}catch(c){s.e(c)}finally{s.f()}return Object.assign(Object.assign({},n),o)}(e,i,n,e.children))),slicedSegments:i}:{segmentGroup:e,slicedSegments:i}}(t,u,l,n),s=o.segmentGroup,c=o.slicedSegments;return 0===c.length&&s.hasChildren()?r.expandChildren(i,n,s).pipe(ee((function(e){return new Dg(u,e)}))):0===n.length&&0===c.length?Jd(new Dg(u,{})):r.expandSegment(i,s,n,c,"primary",!0).pipe(ee((function(e){return new Dg(u.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,i){var n=this;return t.children?Jd(new Cm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Jd(t._loadedConfig):this.runCanLoadGuards(e.injector,t,i).pipe(oe((function(i){return i?n.configLoader.load(e.injector,t).pipe(ee((function(e){return t._loadedConfig=e,e}))):function(e){return new I((function(t){return t.error(kg("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):Jd(new Cm([],e))}},{key:"runCanLoadGuards",value:function(e,t,i){var n=this,r=t.canLoad;return r&&0!==r.length?Jd(r.map((function(n){var r,o=e.get(n);if(function(e){return e&&Lm(e.canLoad)}(o))r=o.canLoad(t,i);else{if(!Lm(o))throw new Error("Invalid CanLoad guard");r=o(t,i)}return Rg(r)}))).pipe(Rm(),$p((function(e){if(Em(e)){var t=kg('Redirecting to "'.concat(n.urlSerializer.serialize(e),'"'));throw t.url=e,t}})),ee((function(e){return!0===e}))):Jd(!0)}},{key:"lineralizeSegments",value:function(e,t){for(var i=[],n=t.root;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return Jd(i);if(n.numberOfChildren>1||!n.children.primary)return Nm(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 xg(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var i={};return zg(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 zg(t.children,(function(t,o){a[o]=r.createSegmentGroup(e,t,i,n)})),new Dg(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=a(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(s){r.e(s)}finally{r.f()}return e}}]),e}();function Bm(e,t,i){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var n=(t.matcher||Tg)(i,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Fm(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}function Hm(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function qm(e){return e.outlet||"primary"}var jm=function e(t){y(this,e),this.path=t,this.route=this.path[this.path.length-1]},Ym=function e(t,i){y(this,e),this.component=t,this.route=i};function Wm(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 Um(e,t,i){var n=nm(e),r=e.value;zg(n,(function(e,n){Um(e,r.component?t?t.children.getContext(n):null:t,i)})),i.canDeactivateChecks.push(new Ym(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Km(e,t){return null!==e&&t&&t(new _g(e)),Jd(!0)}function Vm(e,t){return null!==e&&t&&t(new vg(e)),Jd(!0)}function Xm(e,t,i){var n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?Jd(n.map((function(n){return Tp((function(){var r,o=Wm(n,t,i);if(function(e){return e&&Lm(e.canActivate)}(o))r=Rg(o.canActivate(t,e));else{if(!Lm(o))throw new Error("Invalid CanActivate guard");r=Rg(o(t,e))}return r.pipe(Qp())}))}))).pipe(Rm()):Jd(!0)}function Gm(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 Tp((function(){return Jd(t.guards.map((function(r){var o,a=Wm(r,t.node,i);if(function(e){return e&&Lm(e.canActivateChild)}(a))o=Rg(a.canActivateChild(n,e));else{if(!Lm(a))throw new Error("Invalid CanActivateChild guard");o=Rg(a(n,e))}return o.pipe(Qp())}))).pipe(Rm())}))}));return Jd(r).pipe(Rm())}var Jm=function e(){y(this,e)},Qm=function(){function e(t,i,n,r,o,a){y(this,e),this.rootComponentType=t,this.config=i,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return b(e,[{key:"recognize",value:function(){try{var e=ev(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),i=new um([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new im(i,t),r=new cm(this.url,n);return this.inheritParamsAndData(r._root),Jd(r)}catch(o){return new I((function(e){return e.error(o)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,i=e.value,n=sm(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){var i,n=this,r=Ig(t,(function(t,i){return n.processSegmentGroup(e,t,i)}));return i={},r.forEach((function(e){var t=i[e.value.outlet];if(t){var n=t.url.map((function(e){return e.toString()})).join("/"),r=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(n,"' and '").concat(r,"'."))}i[e.value.outlet]=e.value})),r.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),r}},{key:"processSegment",value:function(e,t,i,n){var r,o=a(e);try{for(o.s();!(r=o.n()).done;){var s=r.value;try{return this.processSegmentAgainstRoute(s,t,i,n)}catch(u){if(!(u instanceof Jm))throw u}}}catch(c){o.e(c)}finally{o.f()}if(this.noLeftoversInUrl(t,i,n))return[];throw new Jm}},{key:"noLeftoversInUrl",value:function(e,t,i){return 0===t.length&&!e.children[i]}},{key:"processSegmentAgainstRoute",value:function(e,t,i,n){if(e.redirectTo)throw new Jm;if((e.outlet||"primary")!==n)throw new Jm;var r,o=[],a=[];if("**"===e.path){var s=i.length>0?Eg(i).parameters:{};r=new um(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,nv(e),n,e.component,e,Zm(t),$m(t)+i.length,rv(e))}else{var u=function(e,t,i){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||i.length>0))throw new Jm;return{consumedSegments:[],lastChild:0,parameters:{}}}var n=(t.matcher||Tg)(i,e,t);if(!n)throw new Jm;var r={};zg(n.posParams,(function(e,t){r[t]=e.path}));var o=n.consumed.length>0?Object.assign(Object.assign({},r),n.consumed[n.consumed.length-1].parameters):r;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:o}}(t,e,i);o=u.consumedSegments,a=i.slice(u.lastChild),r=new um(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,nv(e),n,e.component,e,Zm(t),$m(t)+o.length,rv(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),l=ev(t,o,a,c,this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(c,h);return[new im(r,f)]}if(0===c.length&&0===d.length)return[new im(r,[])];var p=this.processSegment(c,h,d,"primary");return[new im(r,p)]}}]),e}();function Zm(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function $m(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 ev(e,t,i,n,r){if(i.length>0&&function(e,t,i){return i.some((function(i){return tv(e,t,i)&&"primary"!==iv(i)}))}(e,i,n)){var o=new Dg(t,function(e,t,i,n){var r={};r.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;var o,s=a(i);try{for(s.s();!(o=s.n()).done;){var u=o.value;if(""===u.path&&"primary"!==iv(u)){var c=new Dg([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,r[iv(u)]=c}}}catch(l){s.e(l)}finally{s.f()}return r}(e,t,n,new Dg(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 tv(e,t,i)}))}(e,i,n)){var s=new Dg(e.segments,function(e,t,i,n,r,o){var s,u={},c=a(n);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(tv(e,i,l)&&!r[iv(l)]){var h=new Dg([],{});h._sourceSegment=e,h._segmentIndexShift="legacy"===o?e.segments.length:t.length,u[iv(l)]=h}}}catch(d){c.e(d)}finally{c.f()}return Object.assign(Object.assign({},r),u)}(e,t,i,n,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:i}}var u=new Dg(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:i}}function tv(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function iv(e){return e.outlet||"primary"}function nv(e){return e.data||{}}function rv(e){return e.resolve||{}}function ov(e){return function(t){return t.pipe(Bp((function(t){var i=e(t);return i?re(i).pipe(ee((function(){return t}))):re([t])})))}}var av,sv=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return i}(function(){function e(){y(this,e)}return b(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}()),uv=((av=function e(){y(this,e)}).\u0275fac=function(e){return new(e||av)},av.\u0275cmp=Ot({type:av,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&is(0,"router-outlet")},directives:function(){return[Rv]},encapsulation:2}),av);function cv(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=0;i4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new Qm(e,t,i,n,r,o).recognize()}(e,i,n.urlAfterRedirects,(a=n.urlAfterRedirects,t.serializeUrl(a)),r,o).pipe(ee((function(e){return Object.assign(Object.assign({},n),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),$p((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),$p((function(e){var n=new lg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);i.next(n)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.id,c=e.extractedUrl,l=e.source,h=e.restoredState,d=e.extras,f=new ag(u,t.serializeUrl(c),l,h);i.next(f);var p=om(c,t.rootComponentType).snapshot;return Jd(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:c,extras:Object.assign(Object.assign({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Ap})),ov((function(e){var i=e.targetSnapshot,n=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.beforePreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})})),$p((function(e){var i=new hg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(i)})),ee((function(e){return Object.assign(Object.assign({},e),{guards:(i=e.targetSnapshot,n=e.currentSnapshot,r=t.rootContexts,o=i._root,function e(t,i,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=nm(i);return t.children.forEach((function(t){!function(t,i,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,s=i?i.value:null,u=n?n.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var c=function(e,t,i){if("function"==typeof i)return i(e,t);switch(i){case"pathParamsChange":return!Ng(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ng(e.url,t.url)||!Sg(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fm(e,t)||!Sg(e.queryParams,t.queryParams);case"paramsChange":default:return!fm(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new jm(r)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,i,a.component?u?u.children:null:n,r,o),c&&u&&u.outlet&&u.outlet.isActivated&&o.canDeactivateChecks.push(new Ym(u.outlet.component,s))}else s&&Um(i,u,o),o.canActivateChecks.push(new jm(r)),e(t,null,a.component?u?u.children:null:n,r,o)}(t,a[t.value.outlet],n,r.concat([t.value]),o),delete a[t.value.outlet]})),zg(a,(function(e,t){return Um(e,n.getContext(t),o)})),o}(o,n?n._root:null,r,[o.value]))});var i,n,r,o})),function(e,t){return function(i){return i.pipe(oe((function(i){var n=i.targetSnapshot,r=i.currentSnapshot,o=i.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?Jd(Object.assign(Object.assign({},i),{guardsResult:!0})):function(e,t,i,n){return re(e).pipe(oe((function(e){return function(e,t,i,n,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Jd(o.map((function(o){var a,s=Wm(o,t,r);if(function(e){return e&&Lm(e.canDeactivate)}(s))a=Rg(s.canDeactivate(e,t,i,n));else{if(!Lm(s))throw new Error("Invalid CanDeactivate guard");a=Rg(s(e,t,i,n))}return a.pipe(Qp())}))).pipe(Rm()):Jd(!0)}(e.component,e.route,i,t,n)})),Qp((function(e){return!0!==e}),!0))}(s,n,r,e).pipe(oe((function(i){return i&&"boolean"==typeof i?function(e,t,i,n){return re(t).pipe(Qd((function(t){return re([Vm(t.route.parent,n),Km(t.route,n),Gm(e,t.path,i),Xm(e,t.route,i)]).pipe(Sp(),Qp((function(e){return!0!==e}),!0))})),Qp((function(e){return!0!==e}),!0))}(n,a,e,t):Jd(i)})),ee((function(e){return Object.assign(Object.assign({},i),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),$p((function(e){if(Em(e.guardsResult)){var i=kg('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw i.url=e.guardsResult,i}})),$p((function(e){var i=new dg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)})),Zd((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var n=new ug(e.id,t.serializeUrl(e.extractedUrl),"");return i.next(n),e.resolve(!1),!1}return!0})),ov((function(e){if(e.guards.canActivateChecks.length)return Jd(e).pipe($p((function(e){var i=new fg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(i)})),Bp((function(e){var n,r,o=!1;return Jd(e).pipe((n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(oe((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;if(!i.length)return Jd(e);var o=0;return re(i).pipe(Qd((function(e){return function(e,t,i,n){return function(e,t,i,n){var r=Object.keys(e);if(0===r.length)return Jd({});var o={};return re(r).pipe(oe((function(r){return function(e,t,i,n){var r=Wm(e,t,n);return Rg(r.resolve?r.resolve(t,i):r(t,i))}(e[r],t,i,n).pipe($p((function(e){o[r]=e})))})),Lp(1),oe((function(){return Object.keys(o).length===r.length?Jd(o):Ap})))}(e._resolve,e,t,n).pipe(ee((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),sm(e,i).resolve),null})))}(e.route,t,n,r)})),$p((function(){return o++})),Lp(1),oe((function(t){return o===i.length?Jd(e):Ap})))})))}),$p({next:function(){return o=!0},complete:function(){if(!o){var n=new ug(e.id,t.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");i.next(n),e.resolve(!1)}}}))})),$p((function(e){var i=new pg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(i)})))})),ov((function(e){var i=e.targetSnapshot,n=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.afterPreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})})),ee((function(e){var i=function(e,t,i){var n=function e(t,i,n){if(n&&t.shouldReuseRoute(i.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=i.value;var o=function(t,i,n){return i.children.map((function(i){var r,o=a(n.children);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(t.shouldReuseRoute(s.value.snapshot,i.value))return e(t,i,s)}}catch(u){o.e(u)}finally{o.f()}return e(t,i)}))}(t,i,n);return new im(r,o)}var s=t.retrieve(i.value);if(s){var u=s.route;return function e(t,i){if(t.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=t.value;for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=t.relativeTo,n=t.queryParams,o=t.fragment,a=t.preserveQueryParams,s=t.queryParamsHandling,u=t.preserveFragment;Qn()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=i||this.routerState.root,l=u?this.currentUrlTree.fragment:o,h=null;if(s)switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=n||null}else h=a?this.currentUrlTree.queryParams:n||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,i,n,o){if(0===i.length)return gm(t.root,t.root,t,n,o);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new mm(!0,0,e);var t=0,i=!1,n=e.reduce((function(e,n,o){if("object"==typeof n&&null!=n){if(n.outlets){var a={};return zg(n.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),[].concat(r(e),[{outlets:a}])}if(n.segmentPath)return[].concat(r(e),[n.segmentPath])}return"string"!=typeof n?[].concat(r(e),[n]):0===o?(n.split("/").forEach((function(n,r){0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?t++:""!=n&&e.push(n))})),e):[].concat(r(e),[n])}),[]);return new mm(i,t,n)}(i);if(a.toRoot())return gm(t.root,new Dg([],{}),t,n,o);var s=function(e,t,i){if(e.isAbsolute)return new vm(t.root,!0,0);if(-1===i.snapshot._lastPathIndex){var n=i.snapshot._urlSegment;return new vm(n,n===t.root,0)}var r=pm(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 vm(n,!1,r-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),u=s.processChildren?bm(s.segmentGroup,s.index,a.commands):_m(s.segmentGroup,s.index,a.commands);return gm(s.segmentGroup,u,t,n,o)}(c,this.currentUrlTree,e,h,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Qn()&&this.isNgZoneEnabled&&!Jc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var i=Em(e)?e:this.parseUrl(e),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,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]:{};y(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 b(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 ag?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof sg&&(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 wg&&(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 wg(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}()).\u0275fac=function(e){return new(e||Ev)(dt(kv),dt(sd),dt(void 0))},Ev.\u0275prov=Le({token:Ev,factory:Ev.\u0275fac}),Ev),Bv=new nt("ROUTER_CONFIGURATION"),Fv=new nt("ROUTER_FORROOT_GUARD"),Hv=[Xl,{provide:Bg,useClass:Fg},{provide:kv,useFactory:function(e,t,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 kv(null,e,t,i,n,r,o,Lg(a));if(u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),s.errorHandler&&(l.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(l.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var h=Sl();l.events.subscribe((function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.logGroupEnd()}))}return s.onSameUrlNavigation&&(l.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(l.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(l.relativeLinkResolution=s.relativeLinkResolution),l},deps:[Bg,mv,Xl,La,vl,Vc,fv,Bv,[function(){return function e(){y(this,e)}}(),new Me],[function(){return function e(){y(this,e)}}(),new Me]]},mv,{provide:am,useFactory:function(e){return e.routerState.root},deps:[kv]},{provide:vl,useClass:bl},Nv,Pv,Dv,{provide:Bv,useValue:{enableTracing:!1}}];function qv(){return new cl("Router",kv)}var jv,Yv=((jv=function(){function e(t,i){y(this,e)}return b(e,null,[{key:"forRoot",value:function(t,i){return{ngModule:e,providers:[Hv,Vv(t),{provide:Fv,useFactory:Kv,deps:[[kv,new Me,new ke]]},{provide:Bv,useValue:i||{}},{provide:Hl,useFactory:Uv,deps:[El,[new we(Ul),new Me],Bv]},{provide:Iv,useFactory:Wv,deps:[kv,sd,Bv]},{provide:xv,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:Pv},{provide:cl,multi:!0,useFactory:qv},[Gv,{provide:Ec,multi:!0,useFactory:Jv,deps:[Gv]},{provide:$v,useFactory:Qv,deps:[Gv]},{provide:Nc,multi:!0,useExisting:$v}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Vv(t)]}}}]),e}()).\u0275mod=Nt({type:jv}),jv.\u0275inj=Ee({factory:function(e){return new(e||jv)(dt(Fv,8),dt(kv,8))}}),jv);function Wv(e,t,i){return i.scrollOffset&&t.setOffset(i.scrollOffset),new Iv(e,t,i)}function Uv(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.useHash?new Vl(e,t):new Kl(e,t)}function Kv(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Vv(e){return[{provide:Ea,multi:!0,useValue:e},{provide:fv,multi:!0,useValue:e}]}var Xv,Gv=((Xv=function(){function e(t){y(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new Y}return b(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(Ol,Promise.resolve(null)).then((function(){var t=null,i=new Promise((function(e){return t=e})),n=e.injector.get(kv),r=e.injector.get(Bv);if(e.isLegacyDisabled(r)||e.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));n.hooks.afterPreactivation=function(){return e.initNavigation?Jd(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},n.initialNavigation()}return i}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Bv),i=this.injector.get(Nv),n=this.injector.get(Iv),r=this.injector.get(kv),o=this.injector.get(gl);e===o.components[0]&&(this.isLegacyEnabled(t)?r.initialNavigation():this.isLegacyDisabled(t)&&r.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||Xv)(dt(La))},Xv.\u0275prov=Le({token:Xv,factory:Xv.\u0275fac}),Xv);function Jv(e){return e.appInitializer.bind(e)}function Qv(e){return e.bootstrapListener.bind(e)}var Zv,$v=new nt("Router Initializer"),ey=((Zv=function(){function e(){y(this,e),this.branding=""}return b(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,i=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;return ny(e)?Number(e):t}function ny(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function ry(e){return Array.isArray(e)?e:[e]}function oy(e){return null==e?"":"string"==typeof e?e:e+"px"}function ay(e){return e instanceof au?e.nativeElement:e}function sy(e,t,i,n){return _(i)&&(n=i,i=void 0),n?sy(e,t,i).pipe(ee((function(e){return T(e)?n.apply(void 0,r(e)):n(e)}))):new I((function(n){!function e(t,i,n,r,o){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(i,n,o),a=function(){return s.removeEventListener(i,n,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var u=t;t.on(i,n),a=function(){return u.off(i,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var c=t;t.addListener(i,n),a=function(){return c.removeListener(i,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l1?Array.prototype.slice.call(arguments):e)}),n,i)}))}var uy=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e,n)).scheduler=e,r.work=n,r.pending=!1,r}return b(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=!1,n=void 0;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,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){h(i,e);var t=f(i);function i(e,n){return y(this,i),t.call(this)}return b(i,[{key:"schedule",value:function(e){return this}}]),i}(E)),cy=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e,n)).scheduler=e,r.work=n,r}return b(i,[{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==n&&n>0?l(v(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 l(v(i.prototype),"recycleAsyncId",this).call(this,e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),i}(uy),ly=function(){var e=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;y(this,e),this.SchedulerAction=t,this.now=i}return b(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}(),hy=function(e){h(i,e);var t=f(i);function i(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ly.now;return y(this,i),(n=t.call(this,e,(function(){return i.delegate&&i.delegate!==g(n)?i.delegate.now():r()}))).actions=[],n.active=!1,n.scheduled=void 0,n}return b(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):l(v(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}(ly),dy=new(function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(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?l(v(i.prototype),"requestAsyncId",this).call(this,e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=vy(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 l(v(i.prototype),"recycleAsyncId",this).call(this,e,t,n);0===e.actions.length&&(yy(t),e.scheduled=void 0)}}]),i}(uy),by=new(function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(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}function Ey(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)}}function zy(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ty;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,i=arguments.length>2?arguments[2]:void 0,n=-1;return Ly(t)?n=Number(t)<1?1:Number(t):U(t)&&(i=t),U(i)||(i=Ty),new I((function(t){var r=Ly(e)?e:+e-i.now();return i.schedule(Ey,r,{index:0,period:n,subscriber:t})}))}(e,i)},function(e){return e.lift(new Sy(t))}}function Ry(e){return function(t){return t.lift(new Oy(e))}}var Oy=function(){function e(t){y(this,e),this.notifier=t}return b(e,[{key:"call",value:function(e,t){var i=new xy(e),n=Z(i,this.notifier);return n&&!i.seenValue?(i.add(n),t.subscribe(i)):i}}]),e}(),xy=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this,e)).seenValue=!1,n}return b(i,[{key:"notifyNext",value:function(e,t,i,n,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),i}($),Dy=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this,e,n)).scheduler=e,r.work=n,r}return b(i,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?l(v(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?l(v(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?l(v(i.prototype),"requestAsyncId",this).call(this,e,t,n):e.flush(this)}}]),i}(uy),Py=new(function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return i}(hy))(Dy);function Ny(e,t){return new I(t?function(i){return t.schedule(Iy,0,{error:e,subscriber:i})}:function(t){return t.error(e)})}function Iy(e){var t=e.error;e.subscriber.error(t)}var By,Fy,Hy=((Fy=function(){function e(t,i,n){y(this,e),this.kind=t,this.value=i,this.error=n,this.hasValue="N"===t}return b(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 Jd(this.value);case"E":return Ny(this.error);case"C":return kp()}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}()).completeNotification=new Fy("C"),Fy.undefinedValueNotification=new Fy("N",void 0),Fy),qy=function(e){h(i,e);var t=f(i);function i(e,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return y(this,i),(r=t.call(this,e)).scheduler=n,r.delay=o,r}return b(i,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(i.dispatch,this.delay,new jy(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(Hy.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(Hy.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(Hy.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,i=e.destination;t.observe(i),this.unsubscribe()}}]),i}(O),jy=function e(t,i){y(this,e),this.notification=t,this.destination=i},Yy=function(e){h(i,e);var t=f(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 y(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 b(i,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),l(v(i.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new Wy(this._getNow(),e)),this._trimBufferThenGetEvents(),l(v(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;if(this.isStopped||this.hasError?t=E.EMPTY:(this.observers.push(e),t=new q(this,e)),r&&e.add(e=new qy(e,r)),i)for(var a=0;at&&(o=Math.max(o,r-t)),o>0&&n.splice(0,o),n}}]),i}(Y),Wy=function e(t,i){y(this,e),this.time=t,this.value=i};function Uy(e,t,i){var n;return n=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:i},function(e){return e.lift(function(e){var t,i,n=e.bufferSize,r=void 0===n?Number.POSITIVE_INFINITY:n,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 Yy(r,a,u),i=e.subscribe({next:function(e){t.next(e)},error:function(e){l=!0,t.error(e)},complete:function(){h=!0,i=void 0,t.complete()}}));var n=t.subscribe(this);this.add((function(){c--,n.unsubscribe(),i&&!h&&s&&0===c&&(i.unsubscribe(),i=void 0,t=void 0)}))}}(n))}}try{By="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(PV){By=!1}var Ky,Vy,Xy,Gy,Jy,Qy,Zy=((Xy=function e(t){y(this,e),this._platformId=t,this.isBrowser=this._platformId?rd(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&&!By)&&"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}).\u0275fac=function(e){return new(e||Xy)(dt(Pc,8))},Xy.\u0275prov=Le({factory:function(){return new Xy(dt(Pc,8))},token:Xy,providedIn:"root"}),Xy),$y=((Vy=function e(){y(this,e)}).\u0275mod=Nt({type:Vy}),Vy.\u0275inj=Ee({factory:function(e){return new(e||Vy)}}),Vy),e_=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function t_(){if(Ky)return Ky;if("object"!=typeof document||!document)return Ky=new Set(e_);var e=document.createElement("input");return Ky=new Set(e_.filter((function(t){return e.setAttribute("type",t),e.type===t})))}function i_(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 n_(){if("object"!=typeof document||!document)return 0;if(null==Jy){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",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),Jy=0,0===e.scrollLeft&&(e.scrollLeft=1,Jy=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return Jy}function r_(e){if(function(){if(null==Qy){var e="undefined"!=typeof document?document.head:null;Qy=!(!e||!e.createShadowRoot&&!e.attachShadow)}return Qy}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}var o_,a_,s_=new nt("cdk-dir-doc",{providedIn:"root",factory:function(){return ft(Ll)}}),u_=((a_=function(){function e(t){if(y(this,e),this.value="ltr",this.change=new ac,t){var i=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||i;this.value="ltr"===n||"rtl"===n?n:"ltr"}}return b(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||a_)(dt(s_,8))},a_.\u0275prov=Le({factory:function(){return new a_(dt(s_,8))},token:a_,providedIn:"root"}),a_),c_=((o_=function e(){y(this,e)}).\u0275mod=Nt({type:o_}),o_.\u0275inj=Ee({factory:function(e){return new(e||o_)}}),o_);function l_(e){return e&&"function"==typeof e.connect}var h_,d_,f_,p_,g_,m_,v_=function(){function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];y(this,e),this._multiple=i,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Y,n&&n.length&&(i?n.forEach((function(e){return t._markSelected(e)})):this._markSelected(n[0]),this._selectedToEmit.length=0)}return b(e,[{key:"select",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),e}(),y_=((m_=function(){function e(){y(this,e),this._listeners=[]}return b(e,[{key:"notify",value:function(e,t){var i,n=a(this._listeners);try{for(n.s();!(i=n.n()).done;)(0,i.value)(e,t)}catch(r){n.e(r)}finally{n.f()}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),e}()).\u0275fac=function(e){return new(e||m_)},m_.\u0275prov=Le({factory:function(){return new m_},token:m_,providedIn:"root"}),m_),__=((g_=function(){function e(t,i,n){y(this,e),this._ngZone=t,this._platform=i,this._scrolled=new Y,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return b(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 I((function(i){e._globalSubscription||e._addGlobalListener();var n=t>0?e._scrolled.pipe(zy(t)).subscribe(i):e._scrolled.subscribe(i);return e._scrolledCount++,function(){n.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Jd()}},{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(Zd((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:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var i=t.nativeElement,n=e.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return sy(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||g_)(dt(Jc),dt(Zy),dt(Ll,8))},g_.\u0275prov=Le({factory:function(){return new g_(dt(Jc),dt(Zy),dt(Ll,8))},token:g_,providedIn:"root"}),g_),b_=((p_=function(){function e(t,i,n,r){var o=this;y(this,e),this.elementRef=t,this.scrollDispatcher=i,this.ngZone=n,this.dir=r,this._destroyed=new Y,this._elementScrolled=new I((function(e){return o.ngZone.runOutsideAngular((function(){return sy(o.elementRef.nativeElement,"scroll").pipe(Ry(o._destroyed)).subscribe(e)}))}))}return b(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!=n_()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==n_()?e.left=e.right:1==n_()&&(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;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?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==n_()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:i&&1==n_()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}()).\u0275fac=function(e){return new(e||p_)(Ja(au),Ja(__),Ja(Jc),Ja(u_,8))},p_.\u0275dir=Bt({type:p_,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),p_),w_=((f_=function(){function e(t,i,n){var r=this;y(this,e),this._platform=t,this._document=n,i.runOutsideAngular((function(){var e=r._getWindow();r._change=t.isBrowser?le(sy(e,"resize"),sy(e,"orientationchange")):Jd(),r._invalidateCache=r.change().subscribe((function(){return r._updateViewportSize()}))}))}return b(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{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._getDocument(),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(zy(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().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}()).\u0275fac=function(e){return new(e||f_)(dt(Zy),dt(Jc),dt(Ll,8))},f_.\u0275prov=Le({factory:function(){return new f_(dt(Zy),dt(Jc),dt(Ll,8))},token:f_,providedIn:"root"}),f_),M_=((d_=function e(){y(this,e)}).\u0275mod=Nt({type:d_}),d_.\u0275inj=Ee({factory:function(e){return new(e||d_)}}),d_),A_=((h_=function e(){y(this,e)}).\u0275mod=Nt({type:h_}),h_.\u0275inj=Ee({factory:function(e){return new(e||h_)},imports:[[c_,$y,M_],c_,M_]}),h_);function k_(){throw Error("Host already has a portal attached")}var T_,S_,C_=function(){function e(){y(this,e)}return b(e,[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&k_(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),e}(),L_=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this)).component=e,a.viewContainerRef=n,a.injector=r,a.componentFactoryResolver=o,a}return i}(C_),E_=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this)).templateRef=e,o.viewContainerRef=n,o.context=r,o}return b(i,[{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,l(v(i.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,l(v(i.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),i}(C_),z_=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this)).element=e instanceof au?e.nativeElement:e,n}return i}(C_),R_=function(){function e(){y(this,e),this._isDisposed=!1,this.attachDomPortal=null}return b(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&k_(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof L_?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof E_?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof z_?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{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}(),O_=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){var s,u;return y(this,i),(u=t.call(this)).outletElement=e,u._componentFactoryResolver=n,u._appRef=r,u._defaultInjector=o,u.attachDomPortal=function(e){if(!u._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");var n=u._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),u.outletElement.appendChild(t),l((s=g(u),v(i.prototype)),"setDisposeFn",s).call(s,(function(){n.parentNode&&n.parentNode.replaceChild(t,n)}))},u._document=a,u}return b(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)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context);return n.detectChanges(),n.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=i.indexOf(n);-1!==e&&i.remove(e)})),n}},{key:"dispose",value:function(){l(v(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}(R_),x_=((S_=function(e){h(i,e);var t=f(i);function i(e,n,r){var o,a;return y(this,i),(a=t.call(this))._componentFactoryResolver=e,a._viewContainerRef=n,a._isInitialized=!1,a.attached=new ac,a.attachDomPortal=function(e){if(!a._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");var n=a._document.createComment("dom-portal");e.setAttachedHost(g(a)),t.parentNode.insertBefore(n,t),a._getRootNode().appendChild(t),l((o=g(a),v(i.prototype)),"setDisposeFn",o).call(o,(function(){n.parentNode&&n.parentNode.replaceChild(t,n)}))},a._document=r,a}return b(i,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){l(v(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]),l(v(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 l(v(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}},{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&l(v(i.prototype),"detach",this).call(this),e&&l(v(i.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),i}(R_)).\u0275fac=function(e){return new(e||S_)(Ja(ou),Ja(Ou),Ja(Ll))},S_.\u0275dir=Bt({type:S_,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Oa]}),S_),D_=((T_=function e(){y(this,e)}).\u0275mod=Nt({type:T_}),T_.\u0275inj=Ee({factory:function(e){return new(e||T_)}}),T_);function P_(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;nt.height||e.scrollWidth>t.width}}]),e}();function I_(){return Error("Scroll strategy has already been attached.")}var B_=function(){function e(t,i,n,r){var o=this;y(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 b(e,[{key:"attach",value:function(e){if(this._overlayRef)throw I_();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}(),F_=function(){function e(){y(this,e)}return b(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function H_(e,t){return t.some((function(t){return e.bottomt.bottom||e.rightt.right}))}function q_(e,t){return t.some((function(t){return e.topt.bottom||e.leftt.right}))}var j_,Y_=function(){function e(t,i,n,r){y(this,e),this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}return b(e,[{key:"attach",value:function(e){if(this._overlayRef)throw I_();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;H_(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}(),W_=((j_=function e(t,i,n,r){var o=this;y(this,e),this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=n,this.noop=function(){return new F_},this.close=function(e){return new B_(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new N_(o._viewportRuler,o._document)},this.reposition=function(e){return new Y_(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r}).\u0275fac=function(e){return new(e||j_)(dt(__),dt(w_),dt(Jc),dt(Ll))},j_.\u0275prov=Le({factory:function(){return new j_(dt(__),dt(w_),dt(Jc),dt(Ll))},token:j_,providedIn:"root"}),j_),U_=function e(t){if(y(this,e),this.scrollStrategy=new F_,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;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},this._document=t}return b(e,[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}()).\u0275fac=function(e){return new(e||J_)(dt(Ll))},J_.\u0275prov=Le({factory:function(){return new J_(dt(Ll))},token:J_,providedIn:"root"}),J_),$_=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),eb=((Q_=function(){function e(t,i){y(this,e),this._platform=i,this._document=t}return b(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(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||$_)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),i=0;ip&&(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&&rb(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=e.x,o=e.y,a=this._getOffset(n,"x"),s=this._getOffset(n,"y");a&&(r+=a),s&&(o+=s);var u=0-o,c=o+t.height-i.height,l=this._subtractOverflows(t.width,0-r,r+t.width-i.width),h=this._subtractOverflows(t.height,u,c),d=l*h;return{visibleArea:d,isCompletelyWithinViewport:t.width*t.height===d,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:l==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,i){if(this._hasFlexibleDimensions){var n=i.bottom-t.y,r=i.right-t.x,o=ob(this._overlayRef.getConfig().minHeight),a=ob(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=this._viewportRect,a=Math.max(e.x+t.width-o.right,0),s=Math.max(e.y+t.height-o.bottom,0),u=Math.max(o.top-i.top-e.y,0),c=Math.max(o.left-i.left-e.x,0);return n=t.width<=o.width?c||-a:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(n=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: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=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"===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=oy(r)),o&&(n.maxWidth=oy(o))}this._lastBoundingBoxSize=i,rb(this._boundingBox.style,n)}},{key:"_resetBoundingBoxStyles",value:function(){rb(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){rb(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();rb(i,this._getExactOverlayY(t,e,a)),rb(i,this._getExactOverlayX(t,e,a))}else i.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)")),i.transform=s.trim(),o.maxHeight&&(n?i.maxHeight=oy(o.maxHeight):r&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=oy(o.maxWidth):r&&(i.maxWidth="")),rb(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=oy(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=oy(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:q_(e,i),isOriginOutsideView:H_(e,i),isOverlayClipped:q_(t,i),isOverlayOutsideView:H_(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),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,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}(),fb=((sb=function(){function e(t,i,n,r){y(this,e),this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=r}return b(e,[{key:"global",value:function(){return new db}},{key:"connectedTo",value:function(e,t,i){return new hb(t,i,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new nb(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}()).\u0275fac=function(e){return new(e||sb)(dt(w_),dt(Ll),dt(Zy),dt(eb))},sb.\u0275prov=Le({factory:function(){return new sb(dt(w_),dt(Ll),dt(Zy),dt(eb))},token:sb,providedIn:"root"}),sb),pb=0,gb=((ab=function(){function e(t,i,n,r,o,a,s,u,c,l){y(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=u,this._directionality=c,this._location=l}return b(e,[{key:"create",value:function(e){var t=this._createHostElement(),i=this._createPaneElement(t),n=this._createPortalOutlet(i),r=new U_(e);return r.direction=r.direction||this._directionality.value,new tb(n,t,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+pb++,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(gl)),new O_(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()).\u0275fac=function(e){return new(e||ab)(dt(W_),dt(eb),dt(ou),dt(fb),dt(Z_),dt(La),dt(Jc),dt(Ll),dt(u_),dt(Xl,8))},ab.\u0275prov=Le({token:ab,factory:ab.\u0275fac}),ab),mb=[{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"}],vb=new nt("cdk-connected-overlay-scroll-strategy"),yb=((cb=function e(t){y(this,e),this.elementRef=t}).\u0275fac=function(e){return new(e||cb)(Ja(au))},cb.\u0275dir=Bt({type:cb,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),cb),_b=((ub=function(){function e(t,i,n,r,o){y(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=E.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new ac,this.positionChange=new ac,this.attach=new ac,this.detach=new ac,this.overlayKeydown=new ac,this._templatePortal=new E_(i,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return b(e,[{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{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=mb),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),27!==t.keyCode||P_(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new U_({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,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{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.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}},{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=ty(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=ty(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=ty(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=ty(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=ty(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),e}()).\u0275fac=function(e){return new(e||ub)(Ja(gb),Ja(zu),Ja(Ou),Ja(vb),Ja(u_,8))},ub.\u0275dir=Bt({type:ub,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],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"},exportAs:["cdkConnectedOverlay"],features:[Qt]}),ub),bb={provide:vb,deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},wb=((lb=function e(){y(this,e)}).\u0275mod=Nt({type:lb}),lb.\u0275inj=Ee({factory:function(e){return new(e||lb)},providers:[gb,bb],imports:[[c_,D_,A_],A_]}),lb);function Mb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ty;return function(i){return i.lift(new Ab(e,t))}}var Ab=function(){function e(t,i){y(this,e),this.dueTime=t,this.scheduler=i}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new kb(e,this.dueTime,this.scheduler))}}]),e}(),kb=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e)).dueTime=n,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return b(i,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Tb,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}(O);function Tb(e){e.debouncedNext()}var Sb,Cb,Lb,Eb,zb=((Eb=function(){function e(){y(this,e)}return b(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}()).\u0275fac=function(e){return new(e||Eb)},Eb.\u0275prov=Le({factory:function(){return new Eb},token:Eb,providedIn:"root"}),Eb),Rb=((Lb=function(){function e(t){y(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return b(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach((function(t,i){return e._cleanupObserver(i)}))}},{key:"observe",value:function(e){var t=this,i=ay(e);return new I((function(e){var n=t._observeElement(i).subscribe(e);return function(){n.unsubscribe(),t._unobserveElement(i)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new Y,i=this._mutationObserverFactory.create((function(e){return t.next(e)}));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,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),i=t.observer,n=t.stream;i&&i.disconnect(),n.complete(),this._observedElements.delete(e)}}}]),e}()).\u0275fac=function(e){return new(e||Lb)(dt(zb))},Lb.\u0275prov=Le({factory:function(){return new Lb(dt(zb))},token:Lb,providedIn:"root"}),Lb),Ob=((Cb=function(){function e(t,i,n){y(this,e),this._contentObserver=t,this._elementRef=i,this._ngZone=n,this.event=new ac,this._disabled=!1,this._currentSubscription=null}return b(e,[{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(Mb(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=ty(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=iy(e),this._subscribe()}}]),e}()).\u0275fac=function(e){return new(e||Cb)(Ja(Rb),Ja(au),Ja(Jc))},Cb.\u0275dir=Bt({type:Cb,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),Cb),xb=((Sb=function e(){y(this,e)}).\u0275mod=Nt({type:Sb}),Sb.\u0275inj=Ee({factory:function(e){return new(e||Sb)},providers:[zb]}),Sb);function Db(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var Pb,Nb,Ib=0,Bb=new Map,Fb=null,Hb=((Pb=function(){function e(t){y(this,e),this._document=t}return b(e,[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Bb.set(t,{messageElement:t,referenceCount:0})):Bb.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var i=Bb.get(t);i&&0===i.referenceCount&&this._deleteMessageElement(t)}Fb&&0===Fb.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 b(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;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe($p((function(t){return e._pressedLetters.push(t)})),Mb(t),Zd((function(){return e._pressedLetters.length>0})),ee((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var i=e._getItemsArray(),n=1;n-1}));switch(i){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||P_(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],e.preventDefault()}},{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 uc?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),e}(),jb=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(i,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),l(v(i.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),i}(qb),Yb=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments))._origin="program",e}return b(i,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){l(v(i.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),i}(qb),Wb=((Nb=function(){function e(t){y(this,e),this._platform=t}return b(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(PV){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(i){var n=i&&i.nodeName.toLowerCase();if(-1===Kb(i))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(i))return!1}var r=e.nodeName.toLowerCase(),o=Kb(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(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))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){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")||Ub(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}]),e}()).\u0275fac=function(e){return new(e||Nb)(dt(Zy))},Nb.\u0275prov=Le({factory:function(){return new Nb(dt(Zy))},token:Nb,providedIn:"root"}),Nb);function Ub(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 Kb(e){if(!Ub(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var Vb,Xb=function(){function e(t,i,n,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];y(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 b(e,[{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}},{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(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{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.asObservable().pipe(qp(1)).subscribe(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))}}]),e}(),Gb=((Vb=function(){function e(t,i,n){y(this,e),this._checker=t,this._ngZone=i,this._document=n}return b(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Xb(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||Vb)(dt(Wb),dt(Jc),dt(Ll))},Vb.\u0275prov=Le({factory:function(){return new Vb(dt(Wb),dt(Jc),dt(Ll))},token:Vb,providedIn:"root"}),Vb);"undefined"!=typeof Element&∈var Jb,Qb=new nt("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Zb=new nt("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),$b=((Jb=function(){function e(t,i,n,r){y(this,e),this._ngZone=i,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}return b(e,[{key:"announce",value:function(e){for(var i,n,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];if(!this._platform.isBrowser)return Jd(null);var i=ay(e),n=r_(i)||this._getDocument(),r=this._elementInfo.get(i);if(r)return t&&(r.checkChildren=!0),r.subject.asObservable();var o={checkChildren:t,subject:new Y,rootNode:n};return this._elementInfo.set(i,o),this._registerGlobalListeners(o),o.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=ay(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=ay(e);this._setOriginForCurrentEventQueue(t),"function"==typeof n.focus&&n.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=ow(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);if(i&&(i.checkChildren||t===ow(e))){var n=this._getFocusOrigin(e);this._setClasses(t,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}}},{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,nw),i.addEventListener("blur",t._rootNodeFocusAndBlurListener,nw)})),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,nw),e.addEventListener("mousedown",t._documentMousedownListener,nw),e.addEventListener("touchstart",t._documentTouchstartListener,nw),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,nw),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,nw),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var n=this._getDocument(),r=this._getWindow();n.removeEventListener("keydown",this._documentKeydownListener,nw),n.removeEventListener("mousedown",this._documentMousedownListener,nw),n.removeEventListener("touchstart",this._documentTouchstartListener,nw),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),e}()).\u0275fac=function(e){return new(e||tw)(dt(Jc),dt(Zy),dt(Ll,8),dt(iw,8))},tw.\u0275prov=Le({factory:function(){return new tw(dt(Jc),dt(Zy),dt(Ll,8),dt(iw,8))},token:tw,providedIn:"root"}),tw);function ow(e){return e.composedPath?e.composedPath()[0]:e.target}var aw,sw,uw=((sw=function(){function e(t,i){y(this,e),this._platform=t,this._document=i}return b(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._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");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}()).\u0275fac=function(e){return new(e||sw)(dt(Zy),dt(Ll))},sw.\u0275prov=Le({factory:function(){return new sw(dt(Zy),dt(Ll))},token:sw,providedIn:"root"}),sw),cw=((aw=function e(t){y(this,e),t._applyBodyHighContrastModeCssClasses()}).\u0275mod=Nt({type:aw}),aw.\u0275inj=Ee({factory:function(e){return new(e||aw)(dt(uw))},imports:[[$y,xb]]}),aw),lw=new fu("9.2.4"),hw=function e(){y(this,e)};function dw(e,t){return{type:7,name:e,definitions:t,options:{}}}function fw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function pw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function gw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function mw(e){return{type:6,styles:e,offset:null}}function vw(e,t,i){return{type:0,name:e,styles:t,options:i}}function yw(e){return{type:5,steps:e}}function _w(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:i}}function bw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function ww(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:i}}function Mw(e){Promise.resolve(null).then(e)}var Aw=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;y(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+i}return b(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;Mw((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(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),kw=function(){function e(t){var i=this;y(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?Mw((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 b(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=0;return this.players.forEach((function(t){var i=t.getPosition();e=Math.min(i,e)})),e}},{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 Tw(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Sw(e){switch(e.length){case 0:return new Aw;case 1:return e[0];default:return new kw(e)}}function Cw(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]:{},a=[],s=[],u=-1,c=null;if(n.forEach((function(e){var i=e.offset,n=i==u,l=n&&c||{};Object.keys(e).forEach((function(i){var n=i,s=e[i];if("offset"!==i)switch(n=t.normalizePropertyName(n,a),s){case"!":s=r[i];break;case"*":s=o[i];break;default:s=t.normalizeStyleValue(i,n,s,a)}l[n]=s})),n||s.push(l),c=l,u=i})),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 Lw(e,t,i,n){switch(t){case"start":e.onStart((function(){return n(i&&Ew(i,"start",e))}));break;case"done":e.onDone((function(){return n(i&&Ew(i,"done",e))}));break;case"destroy":e.onDestroy((function(){return n(i&&Ew(i,"destroy",e))}))}}function Ew(e,t,i){var n=i.totalTime,r=zw(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 zw(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 Rw(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 Ow(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var xw=function(e,t){return!1},Dw=function(e,t){return!1},Pw=function(e,t,i){return[]},Nw=Tw();(Nw||"undefined"!=typeof Element)&&(xw=function(e,t){return e.contains(t)},Dw=function(){if(Nw||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])}:Dw}(),Pw=function(e,t,i){var n=[];if(i)n.push.apply(n,r(e.querySelectorAll(t)));else{var o=e.querySelector(t);o&&n.push(o)}return n});var Iw=null,Bw=!1;function Fw(e){Iw||(Iw=("undefined"!=typeof document?document.body:null)||{},Bw=!!Iw.style&&"WebkitAppearance"in Iw.style);var t=!0;return Iw.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in Iw.style)&&Bw)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Iw.style),t}var Hw=Dw,qw=xw,jw=Pw;function Yw(e){var t={};return Object.keys(e).forEach((function(i){var n=i.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[i]})),t}var Ww,Uw=((Ww=function(){function e(){y(this,e)}return b(e,[{key:"validateStyleProperty",value:function(e){return Fw(e)}},{key:"matchesElement",value:function(e,t){return Hw(e,t)}},{key:"containsElement",value:function(e,t){return qw(e,t)}},{key:"query",value:function(e,t,i){return jw(e,t,i)}},{key:"computeStyle",value:function(e,t,i){return i||""}},{key:"animate",value:function(e,t,i,n,r){return new Aw(i,n)}}]),e}()).\u0275fac=function(e){return new(e||Ww)},Ww.\u0275prov=Le({token:Ww,factory:Ww.\u0275fac}),Ww),Kw=function(){var e=function e(){y(this,e)};return e.NOOP=new Uw,e}();function Vw(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Xw(parseFloat(t[1]),t[2])}function Xw(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Gw(e,t,i){return e.hasOwnProperty("duration")?e:function(e,t,i){var n,r=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};n=Xw(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=Xw(parseFloat(s),a[4]));var u=a[5];u&&(o=u)}else n=e;if(!i){var c=!1,l=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(l,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:n,delay:r,easing:o}}(e,t,i)}function Jw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(i){t[i]=e[i]})),t}function Qw(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 Jw(e,i);return i}function Zw(e,t,i){return i?t+":"+i+";":""}function $w(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(gM(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(gM(s,o))}(e,r,n)})):r.push(i),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:wM(e.options)}}},{key:"visitSequence",value:function(e,t){var i=this;return{type:2,steps:e.steps.map((function(e){return hM(i,e,t)})),options:wM(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=hM(i,e,t);return r=Math.max(r,t.currentTime),o}));return t.currentTime=r,{type:3,steps:o,options:wM(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 MM(Gw(e,t).duration,0,"");var n=e;if(n.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var r=MM(0,0,"");return r.dynamic=!0,r.strValue=n,r}return MM((i=i||Gw(n,t)).duration,i.delay,i.easing)}(e.timings,t.errors);t.currentAnimateTimings=n;var r=e.styles?e.styles:mw({});if(5==r.type)i=this.visitKeyframes(r,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};n.easing&&(s.easing=n.easing),o=mw(s)}t.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,t);u.isEmptyStep=a,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?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(bM(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,u,c,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,u=t.errors,c=s.params||{},(l=rM(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(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,u=0,c=e.steps.map((function(e){var n=i._makeStyleAst(e,t),c=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(bM(e)&&e.hasOwnProperty("offset")){var i=e;t=parseFloat(i.offset),delete i.offset}}));else if(bM(e)&&e.hasOwnProperty("offset")){var i=e;t=parseFloat(i.offset),delete i.offset}return t}(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;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:hM(this,iM(e.animation),t),options:wM(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:wM(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:wM(e.options)}}},{key:"visitQuery",value:function(e,i){var n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;var o=t(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(mM,"")),[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];i.currentQuerySelector=n.length?n+" "+a:a,Rw(i.collectedStyles,i.currentQuerySelector,{});var u=hM(this,iM(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:u,originalSelector:e.selector,options:wM(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"}:Gw(e.timings,t.errors,!0);return{type:12,animation:hM(this,iM(e.animation),t),timings:i,options:null}}}]),e}(),_M=function e(t){y(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 bM(e){return!Array.isArray(e)&&"object"==typeof e}function wM(e){var t;return e?(e=Jw(e)).params&&(e.params=(t=e.params)?Jw(t):null):e={},e}function MM(e,t,i){return{duration:e,delay:t,easing:i}}function AM(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 kM=function(){function e(){y(this,e),this._map=new Map}return b(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,r(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),TM=new RegExp(":enter","g"),SM=new RegExp(":leave","g");function CM(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,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new LM).buildKeyframes(e,t,i,n,r,o,a,s,u,c)}var LM=function(){function e(){y(this,e)}return b(e,[{key:"buildKeyframes",value:function(e,t,i,n,r,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new kM;var l=new zM(e,t,u,n,r,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),hM(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()})):[AM(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?Vw(i.duration):null,o=null!=i.delay?Vw(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),hM(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=EM);var a=Vw(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return hM(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?Vw(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),hM(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 Gw(t.params?oM(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?Vw(r.delay):0;o&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=EM);var a=n,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(n,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,n);o&&s.delayNextStep(o),n===t.element&&(u=s.currentTimeline),hM(i,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 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 u=t.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;hM(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}}]),e}(),EM={},zM=function(){function e(t,i,n,r,o,a,s,u){y(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=EM,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new RM(this._driver,i,0),s.push(this.currentTimeline)}return b(e,[{key:"updateOptions",value:function(e,t){var i=this;if(e){var n=e,r=this.options;null!=n.duration&&(r.duration=Vw(n.duration)),null!=n.delay&&(r.delay=Vw(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]=oM(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=EM,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 OM(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,o,a){var s=[];if(n&&s.push(this.element),e.length>0){e=(e=e.replace(TM,"."+this._enterClassName)).replace(SM,"."+this._leaveClassName);var u=this._driver.query(this.element,e,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),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}},{key:"params",get:function(){return this.options.params}}]),e}(),RM=function(){function e(t,i,n,r){y(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 b(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:"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]||"*",t._currentKeyframe[e]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,i,n){var r=this;t&&(this._previousKeyframe.easing=t);var o=n&&n.params||{},a=function(e,t){var i,n={};return e.forEach((function(e){"*"===e?(i=i||Object.keys(t)).forEach((function(e){n[e]="*"})):Qw(e,!1,n)})),n}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var t=oM(a[e],o,i);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,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:"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(o,a){var s=Qw(o,!0);Object.keys(s).forEach((function(e){var n=s[e];"!"==n?t.add(e):"*"==n&&i.add(e)})),n||(s.offset=a/e.duration),r.push(s)}));var o=t.size?aM(t.values()):[],a=i.size?aM(i.values()):[];if(n){var s=r[0],u=Jw(s);s.offset=0,u.offset=1,r=[s,u]}return AM(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),OM=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return y(this,i),(u=t.call(this,e,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 b(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,u=Qw(e[0],!1);u.offset=0,o.push(u);var c=Qw(e[0],!1);c.offset=xM(s),o.push(c);for(var l=e.length-1,h=1;h<=l;h++){var d=Qw(e[h],!1);d.offset=xM((i+d.offset*n)/a),o.push(d)}n=a,i=0,r="",e=o}return AM(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}}]),i}(RM);function xM(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 DM=function e(){y(this,e)},PM=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(i,[{key:"normalizePropertyName",value:function(e,t){return uM(e)}},{key:"normalizeStyleValue",value:function(e,t,i,n){var r="",o=i.toString().trim();if(NM[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}(DM),NM=function(e){var t={};return e.forEach((function(e){return t[e]=!0})),t}("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 IM(e,t,i,n,r,o,a,s,u,c,l,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:d}}var BM={},FM=function(){function e(t,i,n){y(this,e),this._triggerName=t,this.ast=i,this._stateStyles=n}return b(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,u,c){var l=[],h=this.ast.options&&this.ast.options.params||BM,d=this.buildStyles(i,a&&a.params||BM,l),f=s&&s.params||BM,p=this.buildStyles(n,f,l),g=new Set,m=new Map,v=new Map,y="void"===n,_={params:Object.assign(Object.assign({},h),f)},b=c?[]:CM(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 IM(t,this._triggerName,i,n,y,d,p,[],[],m,v,w,l);b.forEach((function(e){var i=e.element,n=Rw(m,i,{});e.preStyleProps.forEach((function(e){return n[e]=!0}));var r=Rw(v,i,{});e.postStyleProps.forEach((function(e){return r[e]=!0})),i!==t&&g.add(i)}));var M=aM(g.values());return IM(t,this._triggerName,i,n,y,d,p,b,M,m,v,w)}}]),e}(),HM=function(){function e(t,i){y(this,e),this.styles=t,this.defaultParams=i}return b(e,[{key:"buildStyles",value:function(e,t){var i={},n=Jw(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=oM(o,n,t)),i[e]=o}))}})),i}}]),e}(),qM=function(){function e(t,i){var n=this;y(this,e),this.name=t,this.ast=i,this.transitionFactories=[],this.states={},i.states.forEach((function(e){n.states[e.name]=new HM(e.style,e.options&&e.options.params||{})})),jM(this.states,"true","1"),jM(this.states,"false","0"),i.transitions.forEach((function(e){n.transitionFactories.push(new FM(t,e,n.states))})),this.fallbackTransition=new FM(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return b(e,[{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)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function jM(e,t,i){e.hasOwnProperty(t)?e.hasOwnProperty(i)||(e[i]=e[t]):e.hasOwnProperty(i)&&(e[t]=e[i])}var YM=new kM,WM=function(){function e(t,i,n){y(this,e),this.bodyNode=t,this._driver=i,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return b(e,[{key:"register",value:function(e,t){var i=[],n=vM(this._driver,t,i);if(i.length)throw new Error("Unable to build the animation due to the following errors: "+i.join("\n"));this._animations[e]=n}},{key:"_buildPlayer",value:function(e,t,i){var n=e.element,r=Cw(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]:{},o=[],a=this._animations[e],s=new Map;if(a?(i=CM(this._driver,t,a,"ng-enter","ng-leave",{},{},r,YM,o)).forEach((function(e){var t=Rw(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"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach((function(e,t){Object.keys(e).forEach((function(i){e[i]=n._driver.computeStyle(t,i,"*")}))}));var u=Sw(i.map((function(e){var t=s.get(e.element);return n._buildPlayer(e,{},t)})));return this._playersById[e]=u,u.onDestroy((function(){return n.destroy(e)})),this.players.push(u),u}},{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 "+e);return t}},{key:"listen",value:function(e,t,i,n){var r=zw(t,"","","");return Lw(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}(),UM=[],KM={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},VM={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},XM=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";y(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=Jw(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return b(e,[{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])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),GM=new XM("void"),JM=function(){function e(t,i,n){y(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,nA(i,this._hostClassName)}return b(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=Rw(this._elementListeners,e,[]),s={name:t,phase:i,callback:n};a.push(s);var u=Rw(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(nA(e,"ng-trigger"),nA(e,"ng-trigger-"+t),u[t]=GM),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,i){var n=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new ZM(this.id,t,e),s=this._engine.statesByElement.get(e);s||(nA(e,"ng-trigger"),nA(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],c=new XM(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[t]=c,u||(u=GM),"void"===c.value||u.value!==c.value){var l=Rw(this._engine.playersByElement,e,[]);l.forEach((function(e){e.namespaceId==n.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||(nA(e,"ng-animate-queued"),a.onStart((function(){rA(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),nA(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),rA(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,i,n){if($M(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 $M(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 Sw(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=KM,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;C--)this._namespaceList[C].drainQueuedTransitions(t).forEach((function(e){var t=e.player,r=e.element;if(T.push(t),i.collectedEnterElements.length){var a=r.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var h=!d||!i.driver.containsElement(d,r),f=A.get(r),p=g.get(r),m=i._buildInstruction(e,n,p,f,h);if(m.errors&&m.errors.length)S.push(m);else{if(h)return t.onStart((function(){return tM(r,m.fromStyles)})),t.onDestroy((function(){return eM(r,m.toStyles)})),void o.push(t);if(e.isFallbackTransition)return t.onStart((function(){return tM(r,m.fromStyles)})),t.onDestroy((function(){return eM(r,m.toStyles)})),void o.push(t);m.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),n.append(r,m.timelines),s.push({instruction:m,player:t,element:r}),m.queriedElements.forEach((function(e){return Rw(u,e,[]).push(t)})),m.preStyleProps.forEach((function(e,t){var i=Object.keys(e);if(i.length){var n=c.get(t);n||c.set(t,n=new Set),i.forEach((function(e){return n.add(e)}))}})),m.postStyleProps.forEach((function(e,t){var i=Object.keys(e),n=l.get(t);n||l.set(t,n=new Set),i.forEach((function(e){return n.add(e)}))}))}}));if(S.length){var L=[];S.forEach((function(e){L.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return L.push("- ".concat(e,"\n"))}))})),T.forEach((function(e){return e.destroy()})),this.reportError(L)}var E=new Map,z=new Map;s.forEach((function(e){var t=e.element;n.has(t)&&(z.set(t,t),i._beforeAnimationBuild(e.player.namespaceId,e.instruction,E))})),o.forEach((function(e){var t=e.element;i._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){Rw(E,t,[]).push(e),e.destroy()}))}));var R=v.filter((function(e){return aA(e,c,l)})),O=new Map;tA(O,this.driver,_,l,"*").forEach((function(e){aA(e,c,l)&&R.push(e)}));var x=new Map;p.forEach((function(e,t){tA(x,i.driver,new Set(e),c,"!")})),R.forEach((function(e){var t=O.get(e),i=x.get(e);O.set(e,Object.assign(Object.assign({},t),i))}));var D=[],P=[],N={};s.forEach((function(e){var t=e.element,r=e.player,s=e.instruction;if(n.has(t)){if(h.has(t))return r.onDestroy((function(){return eM(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=i._buildAnimation(r.namespaceId,s,E,a,x,O);if(r.setRealPlayer(f),u===N)D.push(r);else{var p=i.playersByElement.get(u);p&&p.length&&(r.parentPlayer=Sw(p)),o.push(r)}}else tM(t,s.fromStyles),r.onDestroy((function(){return eM(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 i=Sw(t);e.setRealPlayer(i)}})),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,i):new Aw(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),ZM=function(){function e(t,i,n){y(this,e),this.namespaceId=t,this.triggerName=i,this.element=n,this._player=new Aw,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return b(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 Lw(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){Rw(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 $M(e){return e&&1===e.nodeType}function eA(e,t){var i=e.style.display;return e.style.display=null!=t?t:"none",i}function tA(e,t,i,n,r){var o=[];i.forEach((function(e){return o.push(eA(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=VM,a.push(n))})),e.set(n,o)}));var s=0;return i.forEach((function(e){return eA(e,o[s++])})),a}function iA(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;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=r.get(t);if(o)return o;var a=t.parentNode;return o=i.has(a)?a:n.has(a)?1:e(a),r.set(t,o),o}(e);1!==t&&i.get(t).push(e)})),i}function nA(e,t){if(e.classList)e.classList.add(t);else{var i=e.$$classes;i||(i=e.$$classes={}),i[t]=!0}}function rA(e,t){if(e.classList)e.classList.remove(t);else{var i=e.$$classes;i&&delete i[t]}}function oA(e,t,i){Sw(i).onDone((function(){return e.processLeaveNode(t)}))}function aA(e,t,i){var n=i.get(e);if(!n)return!1;var r=t.get(e);return r?n.forEach((function(e){return r.add(e)})):t.set(e,n),i.delete(e),!0}var sA=function(){function e(t,i,n){var r=this;y(this,e),this.bodyNode=t,this._driver=i,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new QM(t,i,n),this._timelineEngine=new WM(t,i,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return b(e,[{key:"registerTrigger",value:function(e,t,i,n,r){var o=e+"-"+n,a=this._triggerCache[o];if(!a){var s=[],u=vM(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(n,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new qM(e,t)}(n,u),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,n,a)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}},{key:"onRemove",value:function(e,t,i,n){this._transitionEngine.removeNode(e,t,n||!1,i)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,i,n,r){if("@"==n.charAt(0)){var o=t(Ow(n),2),a=o[0],s=o[1];this._timelineEngine.command(a,i,s,r)}else this._transitionEngine.trigger(e,i,n,r)}},{key:"listen",value:function(e,i,n,r,o){if("@"==n.charAt(0)){var a=t(Ow(n),2),s=a[0],u=a[1];return this._timelineEngine.listen(s,i,u,o)}return this._transitionEngine.listen(e,i,n,r,o)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function uA(e,t){var i=null,n=null;return Array.isArray(t)&&t.length?(i=lA(t[0]),t.length>1&&(n=lA(t[t.length-1]))):t&&(i=lA(t)),i||n?new cA(e,i,n):null}var cA=function(){var e=function(){function e(t,i,n){y(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 b(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&eM(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(eM(this._element,this._initialStyles),this._endStyles&&(eM(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&&(tM(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tM(this._element,this._endStyles),this._endStyles=null),eM(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function lA(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(),mA(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=yA(e,"").split(","),(n=gA(i,t))>=0&&(i.splice(n,1),vA(e,"",i.join(","))))}}]),e}();function fA(e,t,i){vA(e,"PlayState",i,pA(e,t))}function pA(e,t){var i=yA(e,"");return i.indexOf(",")>0?gA(i.split(","),t):gA([i],t)}function gA(e,t){for(var i=0;i=0)return i;return-1}function mA(e,t,i){i?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function vA(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 yA(e,t){return e.style["animation"+t]}var _A=function(){function e(t,i,n,r,o,a,s,u){y(this,e),this.element=t,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._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return b(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._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new dA(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]:dM(e.element,n))}))}this.currentSnapshot=t}}]),e}(),bA=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=Yw(n),r}return b(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]})),l(v(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])})),l(v(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,l(v(i.prototype),"destroy",this).call(this))}}]),i}(Aw),wA=function(){function e(){y(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return b(e,[{key:"validateStyleProperty",value:function(e){return Fw(e)}},{key:"matchesElement",value:function(e,t){return Hw(e,t)}},{key:"containsElement",value:function(e,t){return qw(e,t)}},{key:"query",value:function(e,t,i){return jw(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 Yw(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+=r+"}\n"})),n+="}\n";var o=document.createElement("style");return o.innerHTML=n,o}},{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;a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof _A})),u={};cM(i,n)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return u[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=lM(e,t,u));if(0==i)return new bA(e,c);var l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(h);var d=uA(e,t),f=new _A(e,t,l,i,n,r,c,d);return f.onDestroy((function(){var e;(e=h).parentNode.removeChild(e)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),MA=function(){function e(t,i,n,r){y(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 b(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){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{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]:dM(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}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),AA=function(){function e(){y(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(kA().toString()),this._cssKeyframesDriver=new wA}return b(e,[{key:"validateStyleProperty",value:function(e){return Fw(e)}},{key:"matchesElement",value:function(e,t){return Hw(e,t)}},{key:"containsElement",value:function(e,t){return qw(e,t)}},{key:"query",value:function(e,t,i){return jw(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 u={},c=o.filter((function(e){return e instanceof MA}));cM(i,n)&&c.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return u[e]=t[e]}))}));var l=uA(e,t=lM(e,t=t.map((function(e){return Qw(e,!1)})),u));return new MA(e,t,s,l)}}]),e}();function kA(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var TA,SA=((TA=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this))._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Lt.None,styles:[],data:{animation:[]}}),r}return b(i,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var i=Array.isArray(e)?gw(e):e;return EA(this._renderer,null,t,"register",[i]),new CA(t,this._renderer)}}]),i}(hw)).\u0275fac=function(e){return new(e||TA)(dt(uu),dt(Ll))},TA.\u0275prov=Le({token:TA,factory:TA.\u0275fac}),TA),CA=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this))._id=e,r._renderer=n,r}return b(i,[{key:"create",value:function(e,t){return new LA(this._id,e,t||{},this._renderer)}}]),i}(function(){return function e(){y(this,e)}}()),LA=function(){function e(t,i,n,r){y(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 b(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&&e1&&void 0!==arguments[1]?arguments[1]:0;return function(e){h(n,e);var i=f(n);function n(){var e;y(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0?i:e}},{key:"localeChanges",get:function(){return this._localeChanges}}]),e}(),ok=new nt("mat-date-formats");try{ik="undefined"!=typeof Intl}catch(PV){ik=!1}var ak={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"]},sk=lk(31,(function(e){return String(e+1)})),uk={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},ck=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function lk(e,t){for(var i=Array(e),n=0;n11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(i<1)throw Error('Invalid date "'.concat(i,'". Date has to be greater than 0.'));var n=this._createDateWithOverflow(e,t,i);if(n.getMonth()!=t)throw Error('Invalid date "'.concat(i,'" for month with index "').concat(t,'".'));return n}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(ik){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(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(ck.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return l(v(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(e,t,i);return e>=0&&e<100&&n.setFullYear(this.getYear(n)-1900),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(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(i)}}]),i}(rk)).\u0275fac=function(e){return new(e||fk)(dt(nk,8),dt(Zy))},fk.\u0275prov=Le({token:fk,factory:fk.\u0275fac}),fk),gk=((dk=function(){function e(){y(this,e)}return b(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}()).\u0275fac=function(e){return new(e||dk)},dk.\u0275prov=Le({factory:function(){return new dk},token:dk,providedIn:"root"}),dk),mk=((hk=function e(){y(this,e)}).\u0275fac=function(e){return new(e||hk)},hk.\u0275dir=Bt({type:hk,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),hk);function vk(e,t,i){var n=e.nativeElement.classList;i?n.add(t):n.remove(t)}var yk,_k,bk,wk,Mk,Ak,kk,Tk=((yk=function e(){y(this,e)}).\u0275mod=Nt({type:yk}),yk.\u0275inj=Ee({factory:function(e){return new(e||yk)},imports:[[GA],GA]}),yk),Sk=function(){function e(t,i,n){y(this,e),this._renderer=t,this.element=i,this.config=n,this.state=3}return b(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),Ck={enterDuration:450,exitDuration:400},Lk=i_({passive:!0}),Ek=["mousedown","touchstart"],zk=["mouseup","mouseleave","touchend","touchcancel"],Rk=function(){function e(t,i,n,r){y(this,e),this._target=t,this._ngZone=i,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=ay(n))}return b(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({},Ck),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,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!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration=c+"ms",this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new Sk(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()}),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 i=e.element,n=Object.assign(Object.assign({},Ck),e.config.animation);i.style.transitionDuration=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:"setupTriggerEvents",value:function(e){var t=ay(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(Ek))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(zk),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=ew(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,Lk)}))}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(Ek.forEach((function(t){e._triggerElement.removeEventListener(t,e,Lk)})),this._pointerUpEventsRegistered&&zk.forEach((function(t){e._triggerElement.removeEventListener(t,e,Lk)})))}}]),e}(),Ok=new nt("mat-ripple-global-options"),xk=((Mk=function(){function e(t,i,n,r,o){y(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Rk(this,i,t,n)}return b(e,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{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))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{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}}]),e}()).\u0275fac=function(e){return new(e||Mk)(Ja(au),Ja(Jc),Ja(Zy),Ja(Ok,8),Ja(IA,8))},Mk.\u0275dir=Bt({type:Mk,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"]}),Mk),Dk=((wk=function e(){y(this,e)}).\u0275mod=Nt({type:wk}),wk.\u0275inj=Ee({factory:function(e){return new(e||wk)},imports:[[GA,$y],GA]}),wk),Pk=((bk=function e(t){y(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1}).\u0275fac=function(e){return new(e||bk)(Ja(IA,8))},bk.\u0275cmp=Ot({type:bk,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}),bk),Nk=((_k=function e(){y(this,e)}).\u0275mod=Nt({type:_k}),_k.\u0275inj=Ee({factory:function(e){return new(e||_k)}}),_k),Ik=JA((function e(){y(this,e)})),Bk=0,Fk=((Ak=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments))._labelId="mat-optgroup-label-"+Bk++,e}return i}(Ik)).\u0275fac=function(e){return Hk(e||Ak)},Ak.\u0275cmp=Ot({type:Ak,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(Ua("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),Es("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[Oa],ngContentSelectors:qA,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(ms(HA),es(0,"label",0),js(1),vs(2),ts(),vs(3,1)),2&e&&(Za("id",t._labelId),jr(1),Ws("",t.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Ak),Hk=Pn(Fk),qk=0,jk=function e(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y(this,e),this.source=t,this.isUserInput=i},Yk=new nt("MAT_OPTION_PARENT_COMPONENT"),Wk=((kk=function(){function e(t,i,n,r){y(this,e),this._element=t,this._changeDetectorRef=i,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+qk++,this.onSelectionChange=new ac,this._stateChanges=new Y}return b(e,[{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){13!==e.keyCode&&32!==e.keyCode||P_(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 jk(this,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=ty(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()}}]),e}()).\u0275fac=function(e){return new(e||kk)(Ja(au),Ja(ha),Ja(Yk,8),Ja(Fk,8))},kk.\u0275cmp=Ot({type:kk,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))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:WA,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(ms(),Xa(0,jA,1,2,"mat-pseudo-checkbox",0),es(1,"span",1),vs(2),ts(),is(3,"div",2)),2&e&&(Za("ngIf",t.multiple),jr(3),Za("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Nh,xk,Pk],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}.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}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),kk);function Uk(e,t,i){if(i.length){for(var n=t.toArray(),r=i.toArray(),o=0,a=0;ai+n?Math.max(0,r-n+t):i}var Vk,Xk=((Vk=function e(){y(this,e)}).\u0275mod=Nt({type:Vk}),Vk.\u0275inj=Ee({factory:function(e){return new(e||Vk)},imports:[[Dk,nd,Nk]]}),Vk),Gk=new nt("mat-label-global-options");function Jk(e,t){}var Qk=function e(){y(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},Zk={dialogContainer:dw("dialogContainer",[vw("void, exit",mw({opacity:0,transform:"scale(0.7)"})),vw("enter",mw({transform:"none"})),_w("* => enter",fw("150ms cubic-bezier(0, 0, 0.2, 1)",mw({transform:"none",opacity:1}))),_w("* => void, * => exit",fw("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",mw({opacity:0})))])};function $k(){throw Error("Attempting to attach dialog content after content is already attached")}var eT,tT,iT,nT,rT,oT,aT=((eT=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){var s;return y(this,i),(s=t.call(this))._elementRef=e,s._focusTrapFactory=n,s._changeDetectorRef=r,s._config=a,s._elementFocusedBeforeDialogWasOpened=null,s._state="enter",s._animationStateChanged=new ac,s.attachDomPortal=function(e){return s._portalOutlet.hasAttached()&&$k(),s._setupFocusTrap(),s._portalOutlet.attachDomPortal(e)},s._ariaLabelledBy=a.ariaLabelledBy||null,s._document=o,s}return b(i,[{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached()&&$k(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached()&&$k(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||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=this._document.activeElement,i=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==i&&!i.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var e=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}},{key:"_onAnimationDone",value:function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),i}(R_)).\u0275fac=function(e){return new(e||eT)(Ja(au),Ja(Gb),Ja(ha),Ja(Ll,8),Ja(Qk))},eT.\u0275cmp=Ot({type:eT,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var i;1&e&&yc(x_,!0),2&e&&vc(i=kc())&&(t._portalOutlet=i.first)},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&&(Ua("id",t._id)("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,Jk,0,0,"ng-template",0)},directives:[x_],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;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:[Zk.dialogContainer]}}),eT),sT=0,uT=function(){function e(t,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+sT++;y(this,e),this._overlayRef=t,this._containerInstance=i,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Y,this._afterClosed=new Y,this._beforeClosed=new Y,this._state=0,i._id=r,i._animationStateChanged.pipe(Zd((function(e){return"done"===e.phaseName&&"enter"===e.toState})),qp(1)).subscribe((function(){n._afterOpened.next(),n._afterOpened.complete()})),i._animationStateChanged.pipe(Zd((function(e){return"done"===e.phaseName&&"exit"===e.toState})),qp(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(Zd((function(e){return 27===e.keyCode&&!n.disableClose&&!P_(e)}))).subscribe((function(e){e.preventDefault(),n.close()})),t.backdropClick().subscribe((function(){n.disableClose?n._containerInstance._recaptureFocus():n.close()}))}return b(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Zd((function(e){return"start"===e.phaseName})),qp(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._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{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._getPositionStrategy().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}(),cT=new nt("MatDialogData"),lT=new nt("mat-dialog-default-options"),hT=new nt("mat-dialog-scroll-strategy"),dT={provide:hT,deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},fT=((oT=function(){function e(t,i,n,r,o,a,s){var u=this;y(this,e),this._overlay=t,this._injector=i,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Y,this._afterOpenedAtThisLevel=new Y,this._ariaHiddenElements=new Map,this.afterAllClosed=Tp((function(){return u.openDialogs.length?u._afterAllClosed:u._afterAllClosed.pipe(Up(void 0))})),this._scrollStrategy=o}return b(e,[{key:"open",value:function(e,t){var i=this;if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new Qk)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'.concat(t.id,'" exists already. The dialog id must be unique.'));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),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 U_({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=La.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Qk,useValue:t}]}),n=new L_(aT,t.viewContainerRef,i,t.componentFactoryResolver);return e.attach(n).instance}},{key:"_attachDialogContent",value:function(e,t,i,n){var r=new uT(i,t,n.id);if(e instanceof zu)t.attachTemplatePortal(new E_(e,null,{$implicit:n.data,dialogRef:r}));else{var o=this._createInjector(n,r,t),a=t.attachComponentPortal(new L_(e,n.viewContainerRef,o));r.componentInstance=a.instance}return r.updateSize(n.width,n.height).updatePosition(n.position),r}},{key:"_createInjector",value:function(e,t,i){var n=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:aT,useValue:i},{provide:cT,useValue:e.data},{provide:uT,useValue:t}];return!e.direction||n&&n.get(u_,null)||r.push({provide:u_,useValue:{value:e.direction,change:Jd()}}),La.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._afterAllClosed.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()}},{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:"_afterAllClosed",get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}}]),e}()).\u0275fac=function(e){return new(e||oT)(dt(gb),dt(La),dt(Xl,8),dt(lT,8),dt(hT),dt(oT,12),dt(eb))},oT.\u0275prov=Le({token:oT,factory:oT.\u0275fac}),oT),pT=0,gT=((rT=function(){function e(t,i,n){y(this,e),this._dialogRef=t,this._elementRef=i,this._dialog=n,this.id="mat-dialog-title-"+pT++}return b(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}()).\u0275fac=function(e){return new(e||rT)(Ja(uT,8),Ja(au),Ja(fT))},rT.\u0275dir=Bt({type:rT,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"]}),rT),mT=((nT=function e(){y(this,e)}).\u0275fac=function(e){return new(e||nT)},nT.\u0275dir=Bt({type:nT,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),nT),vT=((iT=function e(){y(this,e)}).\u0275fac=function(e){return new(e||iT)},iT.\u0275dir=Bt({type:iT,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),iT),yT=((tT=function e(){y(this,e)}).\u0275mod=Nt({type:tT}),tT.\u0275inj=Ee({factory:function(e){return new(e||tT)},providers:[fT,dT],imports:[[wb,D_,GA],GA]}),tT),_T=m("etrl"),bT=[5,10,25,100,1e3,1e4];function wT(){var e=new Qk;return e.disableClose=!0,e.autoFocus=!1,e}function MT(e){return"virt"===e.namespace.split(":")[4]}function AT(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 new Intl.Collator("cs",{numeric:!0}).compare(a,s)*("asc"===o?1:-1)})):e}function kT(e,t,i,n,r){t=t.toLowerCase();var o="";return i.forEach((function(t){o+=";"+n(e,t,r)})),-1!==o.toLowerCase().indexOf(t)}function TT(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 ST(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 a=o.join("\r\n"),s=new Blob([a],{type:"text/csv"});Object(_T.saveAs)(s,"".concat(i,".").concat(t))}}function CT(){for(var e=arguments.length,t=new Array(e),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;y(this,t),this.store=e,this.currentLoader=i,this.compiler=n,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=s,this.extend=u,this.pending=!1,this._onTranslationChange=new ac,this._onLangChange=new ac,this._onDefaultLangChange=new ac,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}return b(t,[{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(qp(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 Jd(this.translations[e]);var i=this.retrieveTranslations(e);return void 0!==i?(this.currentLang||(this.currentLang=e),i.pipe(qp(1)).subscribe((function(i){t.changeLang(e)})),i):(this.changeLang(e),Jd(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(Uy(1),qp(1));return this.loadingTranslations=i.pipe(ee((function(i){return t.compiler.compileTranslations(i,e)})),Uy(1),qp(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(t,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i=this.compiler.compileTranslations(i,t),this.translations[t]=(n||this.extend)&&this.translations[t]?function t(i,n){var r=Object.assign({},i);return BT(i)&&BT(n)&&Object.keys(n).forEach((function(o){BT(n[o])&&o in i?r[o]=t(i[o],n[o]):Object.assign(r,e({},o,n[o]))})),r}(this.translations[t],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{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 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,i),wy(o[c])&&(s=!0)}}catch(h){u.e(h)}finally{u.f()}return s?CT(t.map((function(e){return wy(o[e])?o[e]:Jd(o[e])}))).pipe(ee((function(e){var i={};return e.forEach((function(e,n){i[t[n]]=e})),i}))):o}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 l={key:t,translateService:this};void 0!==i&&(l.interpolateParams=i),n=this.missingTranslationHandler.handle(l)}return void 0!==n?n:t}},{key:"get",value:function(e,t){var i=this;if(!IT(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Qd((function(n){return wy(n=i.getParsedResult(n,e,t))?n:Jd(n)})));var n=this.getParsedResult(this.translations[this.currentLang],e,t);return wy(n)?n:Jd(n)}},{key:"getStreamOnTranslationChange",value:function(e,t){var i=this;if(!IT(e)||!e.length)throw new Error('Parameter "key" required');return Wp(Tp((function(){return i.get(e,t)})),this.onTranslationChange.pipe(Bp((function(n){var r=i.getParsedResult(n.translations,e,t);return"function"==typeof r.subscribe?r:Jd(r)}))))}},{key:"stream",value:function(e,t){var i=this;if(!IT(e)||!e.length)throw new Error('Parameter "key" required');return Wp(Tp((function(){return i.get(e,t)})),this.onLangChange.pipe(Bp((function(n){var r=i.getParsedResult(n.translations,e,t);return wy(r)?r:Jd(r)}))))}},{key:"instant",value:function(e,t){if(!IT(e)||!e.length)throw new Error('Parameter "key" required');var i=this.getParsedResult(this.translations[this.currentLang],e,t);if(wy(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}}},{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}}]),t}()).\u0275fac=function(e){return new(e||YT)(dt(iS),dt(RT),dt($T),dt(JT),dt(DT),dt(rS),dt(nS),dt(aS),dt(oS))},YT.\u0275prov=Le({token:YT,factory:YT.\u0275fac}),YT),uS=((jT=function(){function e(t,i){y(this,e),this.translate=t,this._ref=i,this.value=""}return b(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 o=this.translate.getParsedResult(i,e,t);wy(o.subscribe)?o.subscribe(r):r(o)}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:RT,useClass:OT},t.compiler||{provide:$T,useClass:eS},t.parser||{provide:JT,useClass:QT},t.missingTranslationHandler||{provide:DT,useClass:PT},iS,{provide:nS,useValue:t.isolate},{provide:rS,useValue:t.useDefaultLang},{provide:aS,useValue:t.extend},{provide:oS,useValue:t.defaultLanguage},sS]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:RT,useClass:OT},t.compiler||{provide:$T,useClass:eS},t.parser||{provide:JT,useClass:QT},t.missingTranslationHandler||{provide:DT,useClass:PT},{provide:nS,useValue:t.isolate},{provide:rS,useValue:t.useDefaultLang},{provide:aS,useValue:t.extend},{provide:oS,useValue:t.defaultLanguage},sS]}}}]),e}()).\u0275mod=Nt({type:qT}),qT.\u0275inj=Ee({factory:function(e){return new(e||qT)}}),qT),lS=["mat-button",""],hS=["*"],dS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],fS=QA(JA(ZA((function e(t){y(this,e),this._elementRef=t})))),pS=((GT=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;y(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 s,u=a(dS);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._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color="accent"),o}return b(i,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,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:block;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}\n"],encapsulation:2,changeDetection:0}),GT),gS=((XT=function e(){y(this,e)}).\u0275mod=Nt({type:XT}),XT.\u0275inj=Ee({factory:function(e){return new(e||XT)},imports:[[Dk,GA],GA]}),XT),mS=((VT=function(){function e(t){y(this,e),this.dialogRef=t}return b(e,[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.dialogRef.close(!0)}}]),e}()).\u0275fac=function(e){return new(e||VT)(Ja(uT))},VT.\u0275cmp=Ot({type:VT,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&&(es(0,"h1",0),js(1),tc(2,"translate"),ts(),es(3,"div",1),js(4),tc(5,"translate"),ts(),es(6,"div",2),es(7,"div",3),es(8,"button",4),cs("click",(function(){return t.close()})),js(9),tc(10,"translate"),ts(),ts(),ts()),2&e&&(jr(1),Ys(ic(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),jr(3),Ws(" ",ic(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),jr(5),Ws(" ",ic(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[gT,mT,vT,pS],pipes:[uS],styles:[""]}),VT),vS=((KT=function(){function e(t,i,n,r){var o=this;y(this,e),this.injector=t,this.store=i,this.dialog=n,this.route=r,this.userSet=new ac,this.user=null,this.loggedIn=!1,setTimeout((function(){o.router=o.injector.get(kv),o.startIdpFilterKeeper()})),this.route.queryParams.subscribe((function(e){e.idpFilter&&(o.filterShortname=e.idpFilter)}))}return b(e,[{key:"startIdpFilterKeeper",value:function(){var e=this;this.router.events.pipe(Zd((function(e){return e instanceof sg}))).subscribe((function(){var t={idpFilter:e.getIdpFilter()};e.router.navigate([],{relativeTo:e.route,queryParams:t,queryParamsHandling:"merge",replaceUrl:!0})}))}},{key:"getUserManager",value:function(){return this.manager}},{key:"getClientSettings",value:function(){var e=this,t=location.search.substr(1).split("&"),i=this.store.get("oidc_client","filters"),n="";return t.forEach((function(t){var r=t.split("=");if("idpFilter"===r[0]){var o=i[r[1]];o&&(n=o,e.filterShortname=r[1])}})),{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:{acr_values:n}}}},{key:"loadConfigData",value:function(){var e=this;this.manager=new mp.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded((function(t){e.user=t})),this.manager.events.addAccessTokenExpired((function(){var t=wT();t.width="450px",e.dialog.open(mS,t).afterClosed().subscribe((function(){e.startAuthentication().then((function(){}))}))}))}},{key:"verifyAuth",value:function(){var e=this,t=location.pathname,i=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then((function(){return e.redirectToOriginDestination()})):this.verifyAuthentication(t,i)}},{key:"logout",value:function(){this.manager.signoutRedirect().catch((function(e){console.log(e)}))}},{key:"isLoggedInPromise",value:function(){return re(this.manager.getUser()).pipe(ee((function(e){return!!e&&!e.expired})))}},{key:"isLoggedIn",value:function(){return null!=this.user&&!this.user.expired}},{key:"getClaims",value:function(){return this.user.profile}},{key:"getAuthorizationHeaderValue",value:function(){return this.user?"Bearer "+this.user.access_token:""}},{key:"startAuthentication",value:function(){return this.manager.signinRedirect()}},{key:"completeAuthentication",value:function(){var e=this;return this.manager.signinRedirectCallback().then((function(t){e.user=t,e.userSet.emit(e.user)}))}},{key:"startSigninMainWindow",value:function(){this.manager.signinRedirect({data:this.redirectUrl}).then((function(){console.log("signinRedirect done")})).catch((function(e){console.log(e)}))}},{key:"setUser",value:function(){var e=this;this.manager.getUser().then((function(t){e.user=t}))}},{key:"isPotentiallyValidPath",value:function(e){if("/"===e)return!0;for(var t=0,i=["/home","/organizations","/facilities","/myProfile","/admin","/login"];t1&&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(wr.RESOURCE_URL,e);if(!i)throw MS(e);var n=this._cachedIconsByUrl.get(i);return n?Jd(CS(n)):this._loadSvgIconFromConfig(new TS(e)).pipe($p((function(e){return t._cachedIconsByUrl.set(i,e)})),ee((function(e){return CS(e)})))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=LS(t,e),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):Ny(wS(i))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgElement?Jd(CS(e.svgElement)):this._loadSvgIconFromConfig(e).pipe($p((function(t){return e.svgElement=t})),ee((function(e){return CS(e)})))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var i=this,n=this._extractIconWithNameFromAnySet(e,t);return n?Jd(n):CT(t.filter((function(e){return!e.svgElement})).map((function(e){return i._loadSvgIconSetFromConfig(e).pipe(Xp((function(t){var n="Loading icon set URL: ".concat(i._sanitizer.sanitize(wr.RESOURCE_URL,e.url)," failed: ").concat(t.message);return i._errorHandler?i._errorHandler.handleError(new Error(n)):console.error(n),Jd(null)})))}))).pipe(ee((function(){var n=i._extractIconWithNameFromAnySet(e,t);if(!n)throw wS(e);return n})))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var i=t.length-1;i>=0;i--){var n=t[i];if(n.svgElement){var r=this._extractSvgIconFromSet(n.svgElement,e,n.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchUrl(e.url).pipe(ee((function(i){return t._createSvgElementForSingleIcon(i,e.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(e){var t=this;return e.svgElement?Jd(e.svgElement):this._fetchUrl(e.url).pipe(ee((function(i){return e.svgElement||(e.svgElement=t._svgElementFromString(i)),e.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(e,t){var i=this._svgElementFromString(e);return this._setSvgAttributes(i,t),i}},{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;n1&&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}()).\u0275fac=function(e){return new(e||DS)(dt(sS))},DS.\u0275prov=Le({token:DS,factory:DS.\u0275fac,providedIn:"root"}),DS),VS=((xS=function(){function e(){y(this,e),this.handleNextError=!0}return b(e,[{key:"dontHandleErrorForNext",value:function(){this.handleNextError=!1}},{key:"shouldHandleError",value:function(){var e=this.handleNextError;return this.handleNextError=!0,e}}]),e}()).\u0275fac=function(e){return new(e||xS)},xS.\u0275prov=Le({token:xS,factory:xS.\u0275fac,providedIn:"root"}),xS),XS=((OS=function(){function e(t,i,n,r,o,a){y(this,e),this.authService=t,this.apiRequestConfiguration=i,this.notificator=n,this.store=r,this.dialog=o,this.initAuthService=a}return b(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()){var r=wT();r.width="450px",this.dialog.open(mS,r).afterClosed().subscribe((function(){i.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($p((function(e){e instanceof gf&&a&&i.initAuthService.loadPrincipal()}),(function(t){var n=i.formatErrors(t,e);return void 0===n?Ny(t):o?void i.notificator.showRPCError(n):Ny(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.call=t.url,i.payload=t.body,i}}]),e}()).\u0275fac=function(e){return new(e||OS)(dt(vS),dt(VS),dt(KS),dt(ey),dt(fT),dt(_S))},OS.\u0275prov=Le({token:OS,factory:OS.\u0275fac}),OS),GS=((RS=function(){function e(){y(this,e),this.notificationData=[],this.newNotificationsCount=0}return b(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}()).\u0275fac=function(e){return new(e||RS)},RS.\u0275prov=Le({token:RS,factory:RS.\u0275fac,providedIn:"root"}),RS),JS=((zS=function(){function e(t,i,n,r){y(this,e),this.http=t,this.notificator=i,this.authService=n,this.storeService=r}return b(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),Ny(r)}},{key:"getHeaders",value:function(){var e=new rf;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 sf,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),n="".concat(this.getApiUrl()).concat(e);return this.http.get(n,{headers:this.getHeaders()}).pipe(Xp((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(Xp((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(Xp((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(Xp((function(e){return t.formatErrors(e,n,null,i)})))}}]),e}()).\u0275fac=function(e){return new(e||zS)(dt(Hf),dt(KS),dt(vS),dt(ey))},zS.\u0275prov=Le({token:zS,factory:zS.\u0275fac,providedIn:"root"}),zS),QS=((ES=function(){function e(){y(this,e)}return b(e,[{key:"isAllSelectedWithDisabledCheckbox",value:function(e,t,i,n,r,o,a,s){var u=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){u.pageStart<=u.pageIterator&&u.pageIterator closed",[fw(".3s ease-in")])]);var ZS=dw("flyInOut",[_w(":enter",[mw({transform:"translateX(100%)"}),fw(".25s")]),_w(":leave",[fw(".5s",mw({transform:"translateX(100%)"}))])]),$S=(dw("rollInOut",[_w(":enter",[mw({height:"0px"}),fw(".25s")]),_w(":leave",[fw(".25s",mw({height:"0px"}))])]),dw("routeAnimations",[_w("* => *",[mw({position:"relative"}),ww(":enter",[mw({width:"100%",opacity:0})],{optional:!0}),ww(":leave",[mw({position:"absolute",width:"100%",opacity:1}),fw("0.15s",mw({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),ww(":enter",[mw({position:"absolute",width:"100%",opacity:0}),fw("0.15s",mw({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),dw("tagsOpenClose",[vw("open",mw({})),vw("closed",mw({width:"0px",height:"0px"})),_w("open <=> closed",[fw(".3s ease-in")])]),dw("switchAnimations",[_w("true => false",[ww(":enter, :leave",mw({})),pw([ww(":enter",[mw({transform:"translateX(-100%)"}),fw("1s ease-in-out",mw({transform:"translateX(0%)"}))],{optional:!0}),ww(":leave",[mw({transform:"translateX(0%)",position:"absolute"}),fw("1s ease-in-out",mw({transform:"translateX(100%)"}))],{optional:!0})])]),_w("false => true",[ww(":enter, :leave",mw({})),pw([ww(":enter",[mw({transform:"translateX(100%)"}),fw("1s ease-in-out",mw({transform:"translateX(0%)"}))],{optional:!0}),ww(":leave",[mw({transform:"translateX(0%)",position:"absolute"}),fw("1s ease-in-out",mw({transform:"translateX(-100%)"}))],{optional:!0})])])]),dw("slideInOutLeft",[_w(":enter",[mw({transform:"translateX(-100%)",position:"relative"}),fw("0.5s ease-in",mw({transform:"translateX(0%)"}))]),_w(":leave",[fw("0.5s ease-in",mw({transform:"translateX(-100%)"}))])]),dw("slideInOutRight",[_w(":enter",[mw({transform:"translateX(100%)",position:"fixed"}),fw("0.5s ease-in",mw({transform:"translateX(0%)"}))]),_w(":leave",[mw({transform:"translateX(-100%)",position:"relative"}),fw("0.5s ease-in",mw({transform:"translateX(100%)"}))])]),[[["caption"]]]),eC=["caption"];function tC(e){return function(e){h(i,e);var t=f(i);function i(){var e;y(this,i);for(var n=arguments.length,r=new Array(n),o=0;o3&&void 0!==arguments[3])||arguments[3];y(this,e),this._isNativeHtmlTable=t,this._stickCellCss=i,this.direction=n,this._isBrowser=r}return b(e,[{key:"clearStickyPositioning",value:function(e,t){var i,n=a(e);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.nodeType===r.ELEMENT_NODE){this._removeStickyStyle(r,t);for(var o=0;o0;r--)t[r]&&(i[r]=n,n+=e[r]);return i}}]),e}();function PC(e){return Error('Could not find column with id "'.concat(e,'".'))}var NC,IC,BC,FC,HC=((FC=function e(t,i){y(this,e),this.viewContainer=t,this.elementRef=i}).\u0275fac=function(e){return new(e||FC)(Ja(Ou),Ja(au))},FC.\u0275dir=Bt({type:FC,selectors:[["","rowOutlet",""]]}),FC),qC=((BC=function e(t,i){y(this,e),this.viewContainer=t,this.elementRef=i}).\u0275fac=function(e){return new(e||BC)(Ja(Ou),Ja(au))},BC.\u0275dir=Bt({type:BC,selectors:[["","headerRowOutlet",""]]}),BC),jC=((IC=function e(t,i){y(this,e),this.viewContainer=t,this.elementRef=i}).\u0275fac=function(e){return new(e||IC)(Ja(Ou),Ja(au))},IC.\u0275dir=Bt({type:IC,selectors:[["","footerRowOutlet",""]]}),IC),YC=((NC=function(){function e(t,i,n,r,o,a,s){y(this,e),this._differs=t,this._changeDetectorRef=i,this._elementRef=n,this._dir=o,this._platform=s,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._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new vp({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return b(e,[{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}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),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._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),l_(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;t.forEachOperation((function(t,n,r){if(null==t.previousIndex)e._insertRow(t.item,r);else if(null==r)i.remove(n);else{var o=i.get(n);i.move(o,r)}})),this._updateRowIndexContext(),t.forEachIdentityChange((function(e){i.get(e.currentIndex).context.$implicit=e.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}},{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:"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._stickyStyler.clearStickyPositioning([].concat(r(t),r(i),r(n)),["left","right"]),t.forEach((function(t,i){e._addStickyColumnStyles([t],e._headerRowDefs[i])})),this._rowDefs.forEach((function(t){for(var n=[],r=0;r1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(e){this._data=[],l_(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e=this;if(this.dataSource){var t;if(l_(this.dataSource)?t=this.dataSource.connect(this):wy(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Jd(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Ry(this._onDestroy)).subscribe((function(t){e._data=t||[],e.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(t,i){return e._renderRow(e._headerRowOutlet,t,i)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{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(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var i=this,n=Array.from(t.columns||[]).map((function(e){var t=i._columnDefsByName.get(e);if(!t)throw PC(e);return t})),r=n.map((function(e){return e.sticky})),o=n.map((function(e){return e.stickyEnd}));this._stickyStyler.updateStickyColumns(e,r,o)}},{key:"_getRenderedRows",value:function(e){for(var t=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{};e.viewContainer.createEmbeddedView(t.template,n,i);var r,o=a(this._getCellTemplates(t));try{for(o.s();!(r=o.n()).done;){var s=r.value;zC.mostRecentCellOutlet&&zC.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,n)}}catch(u){o.e(u)}finally{o.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 y(this,n),(e=i.call(this))._renderData=new vp([]),e._filter=new vp(""),e._internalPageChanges=new Y,e._renderChangesSubscription=E.EMPTY,e.sortingDataAccessor=function(e,t){var i=e[t];if(ny(i)){var n=Number(i);return n<9007199254740991?n: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=0;return null!=o&&null!=a?o>a?s=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._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"filter",get:function(){return this._filter.value},set:function(e){this._filter.next(e)}},{key:"sort",get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()}}]),n}(function(){return function e(){y(this,e)}}()),SL=["underline"],CL=["connectionContainer"],LL=["inputContainer"],EL=["label"];function zL(e,t){1&e&&(ns(0),es(1,"div",14),is(2,"div",15),is(3,"div",16),is(4,"div",17),ts(),es(5,"div",18),is(6,"div",15),is(7,"div",16),is(8,"div",17),ts(),rs())}function RL(e,t){1&e&&(es(0,"div",19),vs(1,1),ts())}function OL(e,t){if(1&e&&(ns(0),vs(1,2),es(2,"span"),js(3),ts(),rs()),2&e){var i=ps(2);jr(3),Ys(i._control.placeholder)}}function xL(e,t){1&e&&vs(0,3,["*ngSwitchCase","true"])}function DL(e,t){1&e&&(es(0,"span",23),js(1," *"),ts())}function PL(e,t){if(1&e){var i=as();es(0,"label",20,21),cs("cdkObserveContent",(function(){return Mi(i),ps().updateOutlineGap()})),Xa(2,OL,4,1,"ng-container",12),Xa(3,xL,1,0,"ng-content",12),Xa(4,DL,2,0,"span",22),ts()}if(2&e){var n=ps();Es("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),Za("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),Ua("for",n._control.id)("aria-owns",n._control.id),jr(2),Za("ngSwitchCase",!1),jr(1),Za("ngSwitchCase",!0),jr(1),Za("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function NL(e,t){1&e&&(es(0,"div",24),vs(1,4),ts())}function IL(e,t){if(1&e&&(es(0,"div",25,26),is(2,"span",27),ts()),2&e){var i=ps();jr(2),Es("mat-accent","accent"==i.color)("mat-warn","warn"==i.color)}}function BL(e,t){1&e&&(es(0,"div"),vs(1,5),ts()),2&e&&Za("@transitionMessages",ps()._subscriptAnimationState)}function FL(e,t){if(1&e&&(es(0,"div",31),js(1),ts()),2&e){var i=ps(2);Za("id",i._hintLabelId),jr(1),Ys(i.hintLabel)}}function HL(e,t){if(1&e&&(es(0,"div",28),Xa(1,FL,2,2,"div",29),vs(2,6),is(3,"div",30),vs(4,7),ts()),2&e){var i=ps();Za("@transitionMessages",i._subscriptAnimationState),jr(1),Za("ngIf",i.hintLabel)}}var qL,jL,YL=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],WL=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],UL=0,KL=((qL=function e(){y(this,e),this.id="mat-error-"+UL++}).\u0275fac=function(e){return new(e||qL)},qL.\u0275dir=Bt({type:qL,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Ua("id",t.id)},inputs:{id:"id"}}),qL),VL={transitionMessages:dw("transitionMessages",[vw("enter",mw({opacity:1,transform:"translateY(0%)"})),_w("void => enter",[mw({opacity:0,transform:"translateY(-100%)"}),fw("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},XL=((jL=function e(){y(this,e)}).\u0275fac=function(e){return new(e||jL)},jL.\u0275dir=Bt({type:jL}),jL);function GL(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var JL,QL,ZL,$L,eE,tE,iE,nE,rE,oE,aE,sE,uE,cE=0,lE=((eE=function e(){y(this,e),this.align="start",this.id="mat-hint-"+cE++}).\u0275fac=function(e){return new(e||eE)},eE.\u0275dir=Bt({type:eE,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Ua("id",t.id)("align",null),Es("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),eE),hE=(($L=function e(){y(this,e)}).\u0275fac=function(e){return new(e||$L)},$L.\u0275dir=Bt({type:$L,selectors:[["mat-label"]]}),$L),dE=((ZL=function e(){y(this,e)}).\u0275fac=function(e){return new(e||ZL)},ZL.\u0275dir=Bt({type:ZL,selectors:[["mat-placeholder"]]}),ZL),fE=((QL=function e(){y(this,e)}).\u0275fac=function(e){return new(e||QL)},QL.\u0275dir=Bt({type:QL,selectors:[["","matPrefix",""]]}),QL),pE=((JL=function e(){y(this,e)}).\u0275fac=function(e){return new(e||JL)},JL.\u0275dir=Bt({type:JL,selectors:[["","matSuffix",""]]}),JL),gE=0,mE=QA((function e(t){y(this,e),this._elementRef=t}),"primary"),vE=new nt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yE=new nt("MatFormField"),_E=((iE=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u,c){var l;return y(this,i),(l=t.call(this,e))._elementRef=e,l._changeDetectorRef=n,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-"+gE++,l._labelId="mat-form-field-label-"+gE++,l._labelOptions=r||{},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 b(i,[{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-"+t.controlType),t.stateChanges.pipe(Up(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Ry(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Ry(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(Up(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Up(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Ry(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._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(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,sy(this._label.nativeElement,"transitionend").pipe(qp(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,i=this;this._hintChildren&&this._hintChildren.forEach((function(n){if("start"===n.align){if(e||i.hintLabel)throw GL("start");e=n}else if("end"===n.align){if(t)throw GL("end");t=n}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("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=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{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 s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var u,c=this._getStartEnd(s),l=this._getStartEnd(e.children[0].getBoundingClientRect()),h=0,d=a(e.children);try{for(d.s();!(u=d.n()).done;)h+=u.value.offsetWidth}catch(g){d.e(g)}finally{d.f()}t=Math.abs(l-c)-5,i=h>0?.75*h+10:0}for(var f=0;fe?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return DE(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return DE(e.value)||BE.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){return DE(t.value)||!PE(t.value)?null:t.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),i=new RegExp(n)):(n=t.toString(),i=t),function(e){if(DE(e.value))return null;var t=e.value;return i.test(t)?null:{pattern:{requiredPattern:n,actualValue:t}}}):e.nullValidator;var i,n}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(HE);return 0==t.length?null:function(e){return jE(YE(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(HE);return 0==t.length?null:function(e){return CT(YE(e,t).map(qE)).pipe(ee(jE))}}}]),e}();function HE(e){return null!=e}function qE(e){var t=ss(e)?re(e):e;return us(t),t}function jE(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 YE(e,t){return t.map((function(t){return t(e)}))}function WE(e){return e.map((function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}}))}var UE,KE,VE,XE,GE,JE,QE={provide:wE,useExisting:qe((function(){return ZE})),multi:!0},ZE=((UE=function(){function e(t,i){y(this,e),this._renderer=t,this._elementRef=i,this.onChange=function(e){},this.onTouched=function(){}}return b(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||UE)(Ja(lu),Ja(au))},UE.\u0275dir=Bt({type:UE,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:[iu([QE])]}),UE),$E={provide:wE,useExisting:qe((function(){return tz})),multi:!0},ez=((VE=function(){function e(){y(this,e),this._accessors=[]}return b(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(i){t._isSameGroup(i,e)&&i[1]!==e&&i[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}()).\u0275fac=function(e){return new(e||VE)},VE.\u0275prov=Le({token:VE,factory:VE.\u0275fac}),VE),tz=((KE=function(){function e(t,i,n,r){y(this,e),this._renderer=t,this._elementRef=i,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return b(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(zE),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),e}()).\u0275fac=function(e){return new(e||KE)(Ja(lu),Ja(au),Ja(ez),Ja(La))},KE.\u0275dir=Bt({type:KE,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&cs("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[iu([$E])]}),KE),iz={provide:wE,useExisting:qe((function(){return nz})),multi:!0},nz=((XE=function(){function e(t,i){y(this,e),this._renderer=t,this._elementRef=i,this.onChange=function(e){},this.onTouched=function(){}}return b(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||XE)(Ja(lu),Ja(au))},XE.\u0275dir=Bt({type:XE,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&cs("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[iu([iz])]}),XE),rz={provide:wE,useExisting:qe((function(){return oz})),multi:!0},oz=((GE=function(){function e(t,i){y(this,e),this._renderer=t,this._elementRef=i,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Object.is}return b(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var i=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(i){t.value=t._getOptionValue(i),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{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;o-1&&e.splice(i,1)}function yz(e){return(Mz(e)?e.validators:e)||null}function _z(e){return Array.isArray(e)?hz(e):e||null}function bz(e,t){return(Mz(t)?t.asyncValidators:e)||null}function wz(e){return Array.isArray(e)?dz(e):e||null}function Mz(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Az,kz,Tz,Sz,Cz,Lz,Ez,zz,Rz,Oz,xz,Dz,Pz,Nz,Iz,Bz=function(){function e(t,i){y(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=i,this._composedValidatorFn=_z(this._rawValidators),this._composedAsyncValidatorFn=wz(this._rawAsyncValidators)}return b(e,[{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=_z(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=wz(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=qE(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 Hz?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof qz&&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:"_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 ac,this.statusChanges=new ac}},{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){Mz(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{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:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),Fz=function(e){h(i,e);var t=f(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 y(this,i),(e=t.call(this,yz(r),bz(o,r)))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(r),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return b(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:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(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}(Bz),Hz=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,yz(n),bz(r,n))).controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return b(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){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),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]:{};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 Fz?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){return e(t.controls[i],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}(Bz),qz=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,yz(n),bz(r,n))).controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return b(i,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){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(),this._onCollectionChange()}},{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]:{};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 Fz?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{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 "+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=a(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)}},{key:"length",get:function(){return this.controls.length}}]),i}(Bz),jz={provide:LE,useExisting:qe((function(){return Wz}))},Yz=Promise.resolve(null),Wz=((Az=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new ac,r.form=new Hz({},hz(e),dz(n)),r}return b(i,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;Yz.then((function(){var i=t._findContainer(e.path);e.control=i.registerControl(e.name,e.control),uz(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;Yz.then((function(){var i=t._findContainer(e.path);i&&i.removeControl(e.name),vz(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;Yz.then((function(){var i=t._findContainer(e.path),n=new Hz({});lz(n,e),i.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;Yz.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;Yz.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,gz(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}},{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}}]),i}(LE)).\u0275fac=function(e){return new(e||Az)(Ja(NE,10),Ja(IE,10))},Az.\u0275dir=Bt({type:Az,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:[iu([jz]),Oa]}),Az),Uz={provide:zE,useExisting:qe((function(){return Vz}))},Kz=Promise.resolve(null),Vz=((Tz=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this)).control=new Fz,a._registered=!1,a.update=new ac,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=r||[],a.valueAccessor=mz(0,o),a}return b(i,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),fz(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=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:"_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(){uz(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;Kz.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;Kz.then((function(){n&&!t.control.disabled?t.control.disable():!n&&t.control.disabled&&t.control.enable()}))}},{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:"validator",get:function(){return hz(this._rawValidators)}},{key:"asyncValidator",get:function(){return dz(this._rawAsyncValidators)}}]),i}(zE)).\u0275fac=function(e){return new(e||Tz)(Ja(LE,9),Ja(NE,10),Ja(IE,10),Ja(wE,10))},Tz.\u0275dir=Bt({type:Tz,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[iu([Uz]),Oa,Qt]}),Tz),Xz=((kz=function e(){y(this,e)}).\u0275fac=function(e){return new(e||kz)},kz.\u0275dir=Bt({type:kz,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),kz),Gz=new nt("NgModelWithFormControlWarning"),Jz={provide:zE,useExisting:qe((function(){return Qz}))},Qz=((Sz=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this))._ngModelWarningConfig=o,a.update=new ac,a._ngModelWarningSent=!1,a._rawValidators=e||[],a._rawAsyncValidators=n||[],a.valueAccessor=mz(0,r),a}return b(i,[{key:"ngOnChanges",value:function(e){var t,n;this._isControlChanged(e)&&(uz(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),fz(e,this.viewModel)&&(t=i,n=this._ngModelWarningConfig,Qn()&&"never"!==n&&((null!==n&&"once"!==n||t._ngModelWarningSentOnce)&&("always"!==n||this._ngModelWarningSent)||(t._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}},{key:"isDisabled",set:function(e){}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return hz(this._rawValidators)}},{key:"asyncValidator",get:function(){return dz(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}}]),i}(zE)).\u0275fac=function(e){return new(e||Sz)(Ja(NE,10),Ja(IE,10),Ja(wE,10),Ja(Gz,8))},Sz.\u0275dir=Bt({type:Sz,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[iu([Jz]),Oa,Qt]}),Sz._ngModelWarningSentOnce=!1,Sz),Zz={provide:LE,useExisting:qe((function(){return $z}))},$z=((Cz=function(e){h(i,e);var t=f(i);function i(e,n){var r;return y(this,i),(r=t.call(this))._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new ac,r}return b(i,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return uz(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){vz(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);lz(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);lz(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(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,gz(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=e.form.get(t.path);t.control!==i&&(function(e,t){var i=function(){};t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),i&&uz(i,t),t.control=i)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=hz(this._validators);this.form.validator=FE.compose([this.form.validator,e]);var t=dz(this._asyncValidators);this.form.asyncValidator=FE.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),i}(LE)).\u0275fac=function(e){return new(e||Cz)(Ja(NE,10),Ja(IE,10))},Cz.\u0275dir=Bt({type:Cz,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:[iu([Zz]),Oa,Qt]}),Cz),eR={provide:NE,useExisting:qe((function(){return tR})),multi:!0},tR=((Oz=function(){function e(){y(this,e),this._required=!1}return b(e,[{key:"validate",value:function(e){return this.required?FE.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}}]),e}()).\u0275fac=function(e){return new(e||Oz)},Oz.\u0275dir=Bt({type:Oz,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:[iu([eR])]}),Oz),iR=((Rz=function e(){y(this,e)}).\u0275mod=Nt({type:Rz}),Rz.\u0275inj=Ee({factory:function(e){return new(e||Rz)}}),Rz),nR=((zz=function(){function e(){y(this,e)}return b(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this._reduceControls(e),n=null,r=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(n=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(n=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Hz(i,{asyncValidators:r,updateOn:o,validators:n})}},{key:"control",value:function(e,t,i){return new Fz(e,t,i)}},{key:"array",value:function(e,t,i){var n=this,r=e.map((function(e){return n._createControl(e)}));return new qz(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 Fz||e instanceof Hz||e instanceof qz?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}()).\u0275fac=function(e){return new(e||zz)},zz.\u0275prov=Le({token:zz,factory:zz.\u0275fac}),zz),rR=((Ez=function e(){y(this,e)}).\u0275mod=Nt({type:Ez}),Ez.\u0275inj=Ee({factory:function(e){return new(e||Ez)},providers:[ez],imports:[iR]}),Ez),oR=((Lz=function(){function e(){y(this,e)}return b(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Gz,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275mod=Nt({type:Lz}),Lz.\u0275inj=Ee({factory:function(e){return new(e||Lz)},providers:[nR,ez],imports:[iR]}),Lz),aR=i_({passive:!0}),sR=((Pz=function(){function e(t,i){y(this,e),this._platform=t,this._ngZone=i,this._monitoredElements=new Map}return b(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return Ap;var i=ay(e),n=this._monitoredElements.get(i);if(n)return n.subject.asObservable();var r=new Y,o="cdk-text-field-autofilled",a=function(e){"cdk-text-field-autofill-start"!==e.animationName||i.classList.contains(o)?"cdk-text-field-autofill-end"===e.animationName&&i.classList.contains(o)&&(i.classList.remove(o),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!1})}))):(i.classList.add(o),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){i.addEventListener("animationstart",a,aR),i.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(i,{subject:r,unlisten:function(){i.removeEventListener("animationstart",a,aR)}}),r.asObservable()}},{key:"stopMonitoring",value:function(e){var t=ay(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}()).\u0275fac=function(e){return new(e||Pz)(dt(Zy),dt(Jc))},Pz.\u0275prov=Le({factory:function(){return new Pz(dt(Zy),dt(Jc))},token:Pz,providedIn:"root"}),Pz),uR=((Dz=function(){function e(t,i,n,r){y(this,e),this._elementRef=t,this._platform=i,this._ngZone=n,this._destroyed=new Y,this._enabled=!0,this._previousMinRows=-1,this._document=r,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=i.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}return b(e,[{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(){sy(e._getWindow(),"resize").pipe(zy(16),Ry(e._destroyed)).subscribe((function(){return e.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:"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._cachedLineHeight)){var i=this._elementRef.nativeElement,n=i.value;if(t||this._minRows!==this._previousMinRows||n!==this._previousValue){var r=i.placeholder;i.classList.add(this._measuringClass),i.placeholder="",i.style.height=i.scrollHeight-4+"px",i.classList.remove(this._measuringClass),i.placeholder=r,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)}},{key:"minRows",get:function(){return this._minRows},set:function(e){this._minRows=iy(e),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(e){this._maxRows=iy(e),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(e){e=ty(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}}]),e}()).\u0275fac=function(e){return new(e||Dz)(Ja(au),Ja(Zy),Ja(Jc),Ja(Ll,8))},Dz.\u0275dir=Bt({type:Dz,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"]},exportAs:["cdkTextareaAutosize"]}),Dz),cR=((xz=function e(){y(this,e)}).\u0275mod=Nt({type:xz}),xz.\u0275inj=Ee({factory:function(e){return new(e||xz)},imports:[[$y]]}),xz),lR=new nt("MAT_INPUT_VALUE_ACCESSOR"),hR=["button","checkbox","file","hidden","image","radio","range","reset","submit"],dR=0,fR=ek((function e(t,i,n,r){y(this,e),this._defaultErrorStateMatcher=t,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r})),pR=((Iz=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u,c,l){var h;y(this,i),(h=t.call(this,s,o,a,r))._elementRef=e,h._platform=n,h.ngControl=r,h._autofillMonitor=c,h._uid="mat-input-"+dR++,h.focused=!1,h.stateChanges=new Y,h.controlType="mat-input",h.autofilled=!1,h._disabled=!1,h._required=!1,h._type="text",h._readonly=!1,h._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return t_().has(e)}));var d=h._elementRef.nativeElement,f=d.nodeName.toLowerCase();return h._inputValueAccessor=u||d,h._previousNativeValue=h.value,h.id=h.id,n.IOS&&l.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),h._isServer=!h._platform.isBrowser,h._isNativeSelect="select"===f,h._isTextarea="textarea"===f,h._isNativeSelect&&(h.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),h}return b(i,[{key:"ngOnInit",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()}},{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:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){if(hR.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{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:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=ty(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=ty(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&t_().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=ty(e)}},{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}}]),i}(fR)).\u0275fac=function(e){return new(e||Iz)(Ja(au),Ja(Zy),Ja(zE,10),Ja(Wz,8),Ja($z,8),Ja(gk),Ja(lR,10),Ja(sR),Ja(Jc))},Iz.\u0275dir=Bt({type:Iz,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,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)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),Es("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[iu([{provide:XL,useExisting:Iz}]),Oa,Qt]}),Iz),gR=((Nz=function e(){y(this,e)}).\u0275mod=Nt({type:Nz}),Nz.\u0275inj=Ee({factory:function(e){return new(e||Nz)},providers:[gk],imports:[[cR,bE],cR,bE]}),Nz);function mR(e,t){if(1&e&&(Xi(),is(0,"circle",3)),2&e){var i=ps();Ls("animation-name","mat-progress-spinner-stroke-rotate-"+i.diameter)("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),Ua("r",i._circleRadius)}}function vR(e,t){if(1&e&&(Xi(),is(0,"circle",3)),2&e){var i=ps();Ls("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),Ua("r",i._circleRadius)}}function yR(e,t){if(1&e&&(Xi(),is(0,"circle",3)),2&e){var i=ps();Ls("animation-name","mat-progress-spinner-stroke-rotate-"+i.diameter)("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),Ua("r",i._circleRadius)}}function _R(e,t){if(1&e&&(Xi(),is(0,"circle",3)),2&e){var i=ps();Ls("stroke-dashoffset",i._strokeDashOffset,"px")("stroke-dasharray",i._strokeCircumference,"px")("stroke-width",i._circleStrokeWidth,"%"),Ua("r",i._circleRadius)}}var bR,wR,MR,AR,kR,TR,SR,CR,LR,ER,zR,RR,OR,xR,DR,PR,NR,IR,BR,FR=".mat-progress-spinner{display:block;position:relative}.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}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{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]{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]{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",HR=QA((function e(t){y(this,e),this._elementRef=t}),"primary"),qR=new nt("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),jR=((kR=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){var s;y(this,i),(s=t.call(this,e))._elementRef=e,s._document=r,s._diameter=100,s._value=0,s._fallbackAnimation=!1,s.mode="determinate";var u=i._diameters;return u.has(r.head)||u.set(r.head,new Set([100])),s._fallbackAnimation=n.EDGE||n.TRIDENT,s._noopAnimations="NoopAnimations"===o&&!!a&&!a._forceAnimations,a&&(a.diameter&&(s.diameter=a.diameter),a.strokeWidth&&(s.strokeWidth=a.strokeWidth)),s}return b(i,[{key:"ngOnInit",value:function(){var e=this._elementRef.nativeElement;this._styleRoot=r_(e)||this._document.head,this._attachStyleNode(),e.classList.add("mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation"))}},{key:"_attachStyleNode",value:function(){var e=this._styleRoot,t=this._diameter,n=i._diameters,r=n.get(e);if(!r||!r.has(t)){var o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",t+""),o.textContent=this._getAnimationText(),e.appendChild(o),r||(r=new Set,n.set(e,r)),r.add(t)}}},{key:"_getAnimationText",value:function(){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*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}},{key:"diameter",get:function(){return this._diameter},set:function(e){this._diameter=iy(e),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=iy(e)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,iy(e)))}},{key:"_circleRadius",get:function(){return(this.diameter-10)/2}},{key:"_viewBox",get:function(){var e=2*this._circleRadius+this.strokeWidth;return"0 0 ".concat(e," ").concat(e)}},{key:"_strokeCircumference",get:function(){return 2*Math.PI*this._circleRadius}},{key:"_strokeDashOffset",get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}},{key:"_circleStrokeWidth",get:function(){return this.strokeWidth/this.diameter*100}}]),i}(HR)).\u0275fac=function(e){return new(e||kR)(Ja(au),Ja(Zy),Ja(Ll,8),Ja(IA,8),Ja(qR))},kR.\u0275cmp=Ot({type:kR,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(Ua("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),Ls("width",t.diameter,"px")("height",t.diameter,"px"),Es("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[Oa],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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(e,t){1&e&&(Xi(),es(0,"svg",0),Xa(1,mR,1,9,"circle",1),Xa(2,vR,1,7,"circle",2),ts()),2&e&&(Ls("width",t.diameter,"px")("height",t.diameter,"px"),Za("ngSwitch","indeterminate"===t.mode),Ua("viewBox",t._viewBox),jr(1),Za("ngSwitchCase",!0),jr(1),Za("ngSwitchCase",!1))},directives:[Wh,Uh],styles:[FR],encapsulation:2,changeDetection:0}),kR._diameters=new WeakMap,kR),YR=((AR=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){var s;return y(this,i),(s=t.call(this,e,n,r,o,a)).mode="indeterminate",s}return i}(jR)).\u0275fac=function(e){return new(e||AR)(Ja(au),Ja(Zy),Ja(Ll,8),Ja(IA,8),Ja(qR))},AR.\u0275cmp=Ot({type:AR,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(Ls("width",t.diameter,"px")("height",t.diameter,"px"),Es("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[Oa],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",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(e,t){1&e&&(Xi(),es(0,"svg",0),Xa(1,yR,1,9,"circle",1),Xa(2,_R,1,7,"circle",2),ts()),2&e&&(Ls("width",t.diameter,"px")("height",t.diameter,"px"),Za("ngSwitch","indeterminate"===t.mode),Ua("viewBox",t._viewBox),jr(1),Za("ngSwitchCase",!0),jr(1),Za("ngSwitchCase",!1))},directives:[Wh,Uh],styles:[FR],encapsulation:2,changeDetection:0}),AR),WR=((MR=function e(){y(this,e)}).\u0275mod=Nt({type:MR}),MR.\u0275inj=Ee({factory:function(e){return new(e||MR)},imports:[[GA,nd],GA]}),MR),UR=((wR=function e(){y(this,e)}).\u0275mod=Nt({type:wR}),wR.\u0275inj=Ee({factory:function(e){return new(e||wR)},imports:[[Dk,GA],GA]}),wR),KR=((bR=function(){function e(){y(this,e),this.changes=new Y,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return b(e,[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}]),e}()).\u0275fac=function(e){return new(e||bR)},bR.\u0275prov=Le({factory:function(){return new bR},token:bR,providedIn:"root"}),bR),VR={provide:new nt("mat-datepicker-scroll-strategy"),deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},XR=((TR=function e(){y(this,e)}).\u0275mod=Nt({type:TR}),TR.\u0275inj=Ee({factory:function(e){return new(e||TR)},providers:[KR,VR],imports:[[nd,gS,yT,wb,cw,D_],M_]}),TR),GR=function(){function e(t,i){y(this,e),this._document=i;var n=this._textarea=this._document.createElement("textarea"),r=n.style;r.opacity="0",r.position="absolute",r.left=r.top="-999em",n.setAttribute("aria-hidden","true"),n.value=t,this._document.body.appendChild(n)}return b(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(PV){}return t}},{key:"destroy",value:function(){var e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}]),e}(),JR=((SR=function(){function e(t){y(this,e),this._document=t}return b(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 GR(e,this._document)}}]),e}()).\u0275fac=function(e){return new(e||SR)(dt(Ll))},SR.\u0275prov=Le({factory:function(){return new SR(dt(Ll))},token:SR,providedIn:"root"}),SR),QR=new nt("CKD_COPY_TO_CLIPBOARD_CONFIG"),ZR=((BR=function(){function e(t,i,n){y(this,e),this._clipboard=t,this._ngZone=i,this.text="",this.attempts=1,this.copied=new ac,this._deprecatedCopied=this.copied,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}return b(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?e._ngZone.runOutsideAngular((function(){return setTimeout(t,1)})):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}()).\u0275fac=function(e){return new(e||BR)(Ja(JR),Ja(Jc),Ja(QR,8))},BR.\u0275dir=Bt({type:BR,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&cs("click",(function(){return t.copy()}))},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied",_deprecatedCopied:"copied"}}),BR),$R=((IR=function e(){y(this,e)}).\u0275mod=Nt({type:IR}),IR.\u0275inj=Ee({factory:function(e){return new(e||IR)}}),IR),eO=((NR=function e(){y(this,e)}).\u0275mod=Nt({type:NR}),NR.\u0275inj=Ee({factory:function(e){return new(e||NR)},imports:[[nd]]}),NR),tO=((PR=function(){function e(){y(this,e)}return b(e,[{key:"transform",value:function(e,t){return"virt"===e.namespace.split(":")[4]}}]),e}()).\u0275fac=function(e){return new(e||PR)},PR.\u0275pipe=Ft({name:"isVirtualAttribute",type:PR,pure:!0}),PR),iO=((DR=function(){function e(){y(this,e)}return b(e,[{key:"transform",value:function(e,t){var i="";return null!==e.titleBefore&&(i+=e.titleBefore+" "),null!==e.firstName&&(i+=e.firstName+" "),null!==e.middleName&&(i+=e.middleName+" "),null!==e.lastName&&(i+=e.lastName+" "),null!==e.titleAfter&&(i+=e.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}}]),e}()).\u0275fac=function(e){return new(e||DR)},DR.\u0275pipe=Ft({name:"userFullName",type:DR,pure:!0}),DR),nO=((xR=function(){function e(t,i){y(this,e),this.translate=t,this.storage=i}return b(e,[{key:"transform",value:function(e,t){var i=this.storage.get("custom_labels");if(i)for(var n=0,r=Object.keys(i);n()\[\].,;:\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}()).\u0275fac=function(e){return new(e||HO)(Ja(uT),Ja(cT),Ja(sS),Ja(KS),Ja(dp),Ja(vS))},HO.\u0275cmp=Ot({type:HO,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),Xa(5,IO,2,1,"app-alert",2),es(6,"mat-form-field",3),es(7,"label",3),is(8,"input",4),tc(9,"translate"),tc(10,"customTranslate"),ts(),Xa(11,BO,4,5,"mat-error",5),ts(),ts(),es(12,"div",6),es(13,"button",7),cs("click",(function(){return t.onCancel()})),js(14),tc(15,"translate"),tc(16,"customTranslate"),ts(),es(17,"button",8),cs("click",(function(){return t.onSubmit()})),js(18),tc(19,"translate"),tc(20,"customTranslate"),ts(),ts()),2&e&&(jr(1),Ys(ic(2,8,ic(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),jr(4),Za("ngIf",t.pendingMails.length),jr(3),ys("placeholder",ic(9,12,ic(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),Za("formControl",t.emailControl),jr(3),Za("ngIf",t.emailControl.invalid),jr(3),Ws(" ",ic(15,16,ic(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),jr(3),Za("disabled",!t.emailControl.valid),jr(1),Ws(" ",ic(19,20,ic(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[gT,mT,Nh,_E,pR,SE,tR,OE,Qz,vT,pS,NO,KL],pipes:[uS,nO],styles:[""]}),HO),jO=((FO=function(){function e(t,i){y(this,e),this.dialogRef=t,this.router=i}return b(e,[{key:"ngOnInit",value:function(){}},{key:"onClose",value:function(){this.router.navigate([]),this.dialogRef.close()}}]),e}()).\u0275fac=function(e){return new(e||FO)(Ja(uT),Ja(kv))},FO.\u0275cmp=Ot({type:FO,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&&(es(0,"h1",0),js(1),tc(2,"translate"),ts(),es(3,"div",1),es(4,"app-alert",2),js(5),tc(6,"translate"),ts(),ts(),es(7,"div",3),es(8,"button",4),cs("click",(function(){return t.onClose()})),js(9),tc(10,"translate"),ts(),ts()),2&e&&(jr(1),Ys(ic(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),jr(4),Ys(ic(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),jr(4),Ws(" ",ic(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[gT,mT,NO,vT,pS],pipes:[uS],styles:[""]}),FO);function YO(e,t){if(1&e&&(es(0,"div",5),es(1,"mat-icon"),js(2),ts(),ts()),2&e){var i=ps();jr(2),Ys(i.data.icon)}}function WO(e,t){if(1&e&&(es(0,"div",6),js(1),ts()),2&e){var i=ps();jr(1),Ws(" ",i.showTimestamp()," ")}}var UO,KO=((UO=function(){function e(t,i){y(this,e),this.dialog=t,this.notificationStorageService=i,this.newNotification=!1,this.closeNotification=new ac,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}return b(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=wT();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(yO,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,i){return n=this,o=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(e){return setTimeout(e,n)}));case 2:e.alreadyClosed||e.waiting||e.closeSelf();case 3:case"end":return i.stop()}}),i)})),new((r=void 0)||(r=Promise))((function(e,t){function i(e){try{s(o.next(e))}catch(i){t(i)}}function a(e){try{s(o.throw(e))}catch(i){t(i)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r((function(e){e(n)}))).then(i,a)}s((o=o.apply(n,[])).next())}));var n,r,o}(this.data.delay)}},{key:"showTimestamp",value:function(){var e=t(this.data.timeStamp.split(":"),2),i=e[0],n=e[1];return n.length<2?i+":0"+n:this.data.timeStamp}}]),e}()).\u0275fac=function(e){return new(e||UO)(Ja(fT),Ja(GS))},UO.\u0275cmp=Ot({type:UO,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&&(es(0,"div"),es(1,"div",0),cs("click",(function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()})),Xa(2,YO,3,1,"div",1),es(3,"div",2),js(4),tc(5,"translate"),ts(),Xa(6,WO,2,1,"div",3),es(7,"div",4),cs("click",(function(){return t.waiting=!0,t.doAction()})),js(8),ts(),ts(),ts()),2&e&&(Ks("notification ",t.inDialog?"":"mat-elevation-z7",""),Es("error","error"===t.data.type)("success","success"===t.data.type),jr(2),Za("ngIf",null!==t.data.icon),jr(2),Ws(" ",ic(5,12,t.data.title)," "),jr(2),Za("ngIf",t.inDialog),jr(1),Za("hidden",t.alreadyPressed),jr(1),Ws(" ",t.data.actionText," "))},directives:[Nh,YS],pipes:[uS],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}"]}),UO);function VO(e,t){if(1&e){var i=as();es(0,"div"),es(1,"perun-web-apps-notification",2),cs("closeNotification",(function(){Mi(i);var e=t.index;return ps().removeNotification(e)})),ts(),ts()}if(2&e){var n=t.$implicit;Za("@flyInOut",void 0),jr(1),Za("data",n)("newNotification",!0)}}var XO,GO,JO,QO,ZO,$O,ex=function(e){return{top:e}},tx=((XO=function(){function e(t,i){var n=this;y(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 b(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}()).\u0275fac=function(e){return new(e||XO)(Ja(KS),Ja(GS))},XO.\u0275cmp=Ot({type:XO,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&cs("resize",(function(e){return t.getScreenSize(e)}),!1,gn)},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&&(es(0,"div",0),Xa(1,VO,2,3,"div",1),ts()),2&e&&(Za("ngStyle",Ju(2,ex,t.getNotificatorTop())),jr(1),Za("ngForOf",t.notifications))},directives:[Vh,Dh,KO],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:[ZS]}}),XO),ix=["*",[["mat-toolbar-row"]]],nx=["*","mat-toolbar-row"],rx=QA((function e(t){y(this,e),this._elementRef=t})),ox=((QO=function e(){y(this,e)}).\u0275fac=function(e){return new(e||QO)},QO.\u0275dir=Bt({type:QO,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),QO),ax=((JO=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e))._platform=n,o._document=r,o}return b(i,[{key:"ngAfterViewInit",value:function(){var e=this;Qn()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return e._checkToolbarMixedModes()})))}},{key:"_checkToolbarMixedModes",value:function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))})).filter((function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)})).some((function(e){return!(!e.textContent||!e.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}]),i}(rx)).\u0275fac=function(e){return new(e||JO)(Ja(au),Ja(Zy),Ja(Ll))},JO.\u0275cmp=Ot({type:JO,selectors:[["mat-toolbar"]],contentQueries:function(e,t,i){var n;1&e&&wc(i,ox,!0),2&e&&vc(n=kc())&&(t._toolbarRows=n)},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:nx,decls:2,vars:0,template:function(e,t){1&e&&(ms(ix),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%}.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}}\n"],encapsulation:2,changeDetection:0}),JO),sx=((GO=function e(){y(this,e)}).\u0275mod=Nt({type:GO}),GO.\u0275inj=Ee({factory:function(e){return new(e||GO)},imports:[[GA],GA]}),GO),ux={provide:Nc,useFactory:function(e,t){return function(){if(rd(t)){var i=Array.from(e.querySelectorAll("[class*=".concat(cx,"]"))),n=/\bflex-layout-.+?\b/g;i.forEach((function(e){e.classList.contains(cx+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")}))}}},deps:[Ll,Pc],multi:!0},cx="flex-layout-",lx=((ZO=function e(){y(this,e)}).\u0275mod=Nt({type:ZO}),ZO.\u0275inj=Ee({factory:function(e){return new(e||ZO)},providers:[ux]}),ZO),hx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",n=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;y(this,e),this.matches=t,this.mediaQuery=i,this.mqAlias=n,this.suffix=r,this.priority=o,this.property=""}return b(e,[{key:"clone",value:function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}]),e}(),dx=(($O=function(){function e(){y(this,e),this.stylesheet=new Map}return b(e,[{key:"addStyleToElement",value:function(e,t,i){var n=this.stylesheet.get(e);n?n.set(t,i):this.stylesheet.set(e,new Map([[t,i]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,t){var i=this.stylesheet.get(e),n="";if(i){var r=i.get(t);"number"!=typeof r&&"string"!=typeof r||(n=r+"")}return n}}]),e}()).\u0275fac=function(e){return new(e||$O)},$O.\u0275prov=Le({factory:function(){return new $O},token:$O,providedIn:"root"}),$O),fx={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},px=new nt("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return fx}}),gx=new nt("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),mx=new nt("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function vx(e,t){return e=e?e.clone():new hx,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var yx=["row","column","row-reverse","column-reverse"];function _x(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 bx,wx=((bx=function(){function e(t,i,n,r){y(this,e),this.elementRef=t,this.styleBuilder=i,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Y,this.styleCache=new Map}return b(e,[{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach((function(i){if(-1!==t.inputs.indexOf(i)){var n=i.split(".").slice(1).join(".");t.setValue(e[i].currentValue,n)}}))}},{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 i=this.styleBuilder,n=i.shouldCache,r=this.styleCache.get(e);r&&n||(r=i.buildStyles(e,t),n&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),i.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 i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=this.styler.getFlowDirection(e),r=t(n,2),o=r[0],a=r[1];if(!a&&i){var s=function(e){var i=function(e){var i=t((e=e?e.toLowerCase():"").split(" "),3),n=i[0],r=i[1],o=i[2];return yx.find((function(e){return e===n}))||(n=yx[0]),"inline"===r&&(r="inline"!==o?o:"",o="inline"),[n,_x(r),!!o]}(e),n=t(i,3);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];return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(n[0],n[1],n[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 i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(i,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)}},{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)}}]),e}()).\u0275fac=function(e){!function(){throw new Error("invalid")}()},bx.\u0275dir=Bt({type:bx,features:[Qt]}),bx),Mx=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{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}],Ax="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",kx="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",Tx="(orientation: portrait) and (min-width: 840px)",Sx="(orientation: landscape) and (min-width: 1280px)",Cx={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:"".concat(Ax," , ").concat(kx),WEB:"".concat(Tx,", ").concat(Sx," "),HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:Ax+" ",WEB_PORTRAIT:""+Tx,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)",TABLET_LANDSCAPE:""+kx,WEB_LANDSCAPE:""+Sx},Lx=[{alias:"handset",priority:2e3,mediaQuery:Cx.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Cx.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Cx.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Cx.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Cx.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Cx.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Cx.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Cx.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Cx.WEB_PORTRAIT,overlapping:!0}],Ex=/(\.|-|_)/g;function zx(e){var t=e.length>0?e.charAt(0):"",i=e.length>1?e.slice(1):"";return t.toUpperCase()+i}var Rx=new nt("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=ft(mx),t=ft(px),i=[].concat.apply([],(e||[]).map((function(e){return Array.isArray(e)?e:[e]})));return function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};return e.forEach((function(e){n[e.alias]=e})),i.forEach((function(e){n[e.alias]?function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var n=this._observable$.pipe(Zd((function(t){return!i||e.indexOf(t.mediaQuery)>-1})));return le(new I((function(i){var n=t.registerQuery(e);if(n.length){var r=n.pop();n.forEach((function(e){i.next(e)})),t.source.next(r)}i.complete()})),n)}return this._observable$}},{key:"registerQuery",value:function(e){var t=this,i=Array.isArray(e)?e:[e],n=[];return function(e,t){var i=e.filter((function(e){return!Fx[e]}));if(i.length>0){var n=i.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(n," {.fx-query-test{ }}\n"))),t.head.appendChild(r),i.forEach((function(e){return Fx[e]=r}))}catch(o){console.error(o)}}}(i,this._document),i.forEach((function(e){var i=function(i){t._zone.run((function(){return t.source.next(new hx(i.matches,e))}))},r=t.registry.get(e);r||((r=t.buildMQL(e)).addListener(i),t.pendingRemoveListenerFns.push((function(){return r.removeListener(i)})),t.registry.set(e,r)),r.matches&&n.push(new hx(!0,e))})),n}},{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,rd(this._platformId))}},{key:"activations",get:function(){var e=[];return this.registry.forEach((function(t,i){t.matches&&e.push(i)})),e}}]),e}()).\u0275fac=function(e){return new(e||Dx)(dt(Jc),dt(Pc),dt(Ll))},Dx.\u0275prov=Le({factory:function(){return new Dx(dt(Jc),dt(Pc),dt(Ll))},token:Dx,providedIn:"root"}),Dx),Fx={},Hx={alias:"print",mediaQuery:"print",priority:1e3},qx=((Nx=function(){function e(t,i,n){y(this,e),this.breakpoints=t,this.layoutConfig=i,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new jx,this.deactivations=[]}return b(e,[{key:"withPrintQuery",value:function(e){return[].concat(r(e),["print"])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith("print")}},{key:"getEventBreakpoints",value:function(e){var t=e.mediaQuery,i=this.breakpoints.findByQuery(t);return(i?[].concat(r(this.printBreakPoints),[i]):this.printBreakPoints).sort(Ox)}},{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:""),vx(e,t)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var t=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var i=function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new hx(!0,"print"))),e.updateStyles())},n=function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(n)}}},{key:"interceptEvents",value:function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(i){t.isPrintEvent(i)?i.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(i)),e.updateStyles()):i.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(i)}}},{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(Ox))}}},{key:"ngOnDestroy",value:function(){var e=this;this.beforePrintEventListeners.forEach((function(t){return e._document.defaultView.removeEventListener("beforeprint",t)})),this.afterPrintEventListeners.forEach((function(t){return e._document.defaultView.removeEventListener("afterprint",t)}))}},{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}))}}]),e}()).\u0275fac=function(e){return new(e||Nx)(dt(Ix),dt(px),dt(Ll))},Nx.\u0275prov=Le({factory:function(){return new Nx(dt(Ix),dt(px),dt(Ll))},token:Nx,providedIn:"root"}),Nx),jx=function(){function e(){y(this,e),this.printBreakpoints=[]}return b(e,[{key:"addPrintBreakpoints",value:function(e){var t=this;return e.push(Hx),e.sort(Ox),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 Yx(e){for(var t in e){var i=e[t]||"";switch(t){case"display":e.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":e["-webkit-"+t]=i;break;case"flex-direction":i=i||"row",e["-webkit-flex-direction"]=i,e["flex-direction"]=i;break;case"order":e.order=e["-webkit-"+t]=isNaN(+i)?"0":i}}return e}var Wx,Ux,Kx=((Wx=function(){function e(t,i,n,r){y(this,e),this._serverStylesheet=t,this._serverModuleLoaded=i,this._platformId=n,this.layoutConfig=r}return b(e,[{key:"applyStyleToElement",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={};"string"==typeof t&&(n[t]=i,t=n),n=this.layoutConfig.disableVendorPrefixes?t:Yx(t),this._applyMultiValueStyleToElement(n,e)}},{key:"applyStyleToElements",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.layoutConfig.disableVendorPrefixes?e:Yx(e);i.forEach((function(e){t._applyMultiValueStyleToElement(n,e)}))}},{key:"getFlowDirection",value:function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||od(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 rd(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}},{key:"lookupStyle",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n="";return e&&((n=this.lookupInlineStyle(e,t))||(rd(this._platformId)?i||(n=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(e,t)))),n?n.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,t){var i=this;Object.keys(e).sort().forEach((function(n){var r=e[n],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+"":"",rd(i._platformId)||!i._serverModuleLoaded?rd(i._platformId)?t.style.setProperty(n,c):i._setServerStyle(t,n,c):i._serverStylesheet.addStyleToElement(t,n,c)}}catch(l){u.e(l)}finally{u.f()}}))}},{key:"_setServerStyle",value:function(e,t,i){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var n=this._readStyleAttribute(e);n[t]=i||"",this._writeStyleAttribute(e,n)}},{key:"_getServerStyle",value:function(e,t){return this._readStyleAttribute(e)[t]||""}},{key:"_readStyleAttribute",value:function(e){var t={},i=e.getAttribute("style");if(i)for(var n=i.split(/;+/g),r=0;r0){var a=o.indexOf(":");if(-1===a)throw new Error("Invalid CSS style: "+o);t[o.substr(0,a).trim()]=o.substr(a+1).trim()}}return t}},{key:"_writeStyleAttribute",value:function(e,t){var i="";for(var n in t)t[n]&&(i+=n+":"+t[n]+";");e.setAttribute("style",i)}}]),e}()).\u0275fac=function(e){return new(e||Wx)(dt(dx),dt(gx),dt(Pc),dt(px))},Wx.\u0275prov=Le({factory:function(){return new Wx(dt(dx),dt(gx),dt(Pc),dt(px))},token:Wx,providedIn:"root"}),Wx),Vx=function(){function e(){y(this,e),this.shouldCache=!0}return b(e,[{key:"sideEffect",value:function(e,t,i){}}]),e}(),Xx=((Ux=function(){function e(t,i,n){y(this,e),this.matchMedia=t,this.breakpoints=i,this.hook=n,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 b(e,[{key:"onMediaChange",value:function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=vx(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(Ox),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(Ox),this.updateStyles()))}},{key:"init",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];Gx(this.updateMap,e,t,i),Gx(this.clearMap,e,t,n),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}},{key:"getValue",value:function(e,t,i){var n=this.elementMap.get(e);if(n){var r=void 0!==i?n.get(i):this.getActivatedValues(n,t);if(r)return r.get(t)}}},{key:"hasValue",value:function(e,t){var i=this.elementMap.get(e);if(i){var n=this.getActivatedValues(i,t);if(n)return void 0!==n.get(t)||!1}return!1}},{key:"setValue",value:function(e,t,i,n){var r=this.elementMap.get(e);if(r){var o=(r.get(n)||new Map).set(t,i);r.set(n,o),this.elementMap.set(e,r)}else r=(new Map).set(n,(new Map).set(t,i)),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(Zd((function(i){return i.element===e&&i.key===t})))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach((function(t,i){var n=new Set(e.elementKeyMap.get(i)),r=e.getActivatedValues(t);r&&r.forEach((function(t,r){e.updateElement(i,r,t),n.delete(r)})),n.forEach((function(n){if(r=e.getActivatedValues(t,n)){var o=r.get(n);e.updateElement(i,n,o)}else e.clearElement(i,n)}))}))}},{key:"clearElement",value:function(e,t){var i=this.clearMap.get(e);if(i){var n=i.get(t);n&&(n(),this.subject.next({element:e,key:t,value:""}))}}},{key:"updateElement",value:function(e,t,i){var n=this.updateMap.get(e);if(n){var r=n.get(t);r&&(r(i),this.subject.next({element:e,key:t,value:i}))}}},{key:"releaseElement",value:function(e){var t=this.watcherMap.get(e);t&&(t.forEach((function(e){return e.unsubscribe()})),this.watcherMap.delete(e));var i=this.elementMap.get(e);i&&(i.forEach((function(e,t){return i.delete(t)})),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,t){var i=this,n=this.elementMap.get(e);if(n){var r=this.getActivatedValues(n,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((function(t,n){return i.updateElement(e,n,t)})))}}},{key:"buildElementKeyMap",value:function(e,t){var i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(t)}},{key:"watchExtraTriggers",value:function(e,t,i){var n=this;if(i&&i.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(i)).subscribe((function(){var i=n.getValue(e,t);n.updateElement(e,t,i)}));o.set(t,a)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,t){for(var i=0;i2&&void 0!==arguments[2])||arguments[2];y(this,e),this.key=t,this.value=i,this.key=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=n?i.replace(/['"]/g,"").trim():i.trim(),this.value=this.value.replace(/;/,"")};function Qx(e){var t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function Zx(e){var t,r=e.split(":"),a=n(t=r)||o(t)||s(t)||i(),u=a[0],c=a.slice(1);return new Jx(u,c.join(":"))}function $x(e,t){return t.key&&(e[t.key]=t.value),e}var eD,tD,iD=((eD=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u,c,l){var h;y(this,i),(h=t.call(this,e,null,n,r)).sanitizer=o,h.ngStyleInstance=u,h.DIRECTIVE_KEY="ngStyle",h.ngStyleInstance||(h.ngStyleInstance=new Vh(e,a,s)),h.init();var d=h.nativeElement.getAttribute("style")||"";return h.fallbackStyles=h.buildStyleMap(d),h.isServer=c&&od(l),h}return b(i,[{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,i,n,r=this,o=function(e){return r.sanitizer.sanitize(wr.STYLE,e)||""};if(e)switch(Qx(e)){case"string":return aD(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 aD(e,o);case"set":default:return i=o,n=[],"set"===Qx(t=e)?t.forEach((function(e){return n.push(e)})):Object.keys(t).forEach((function(e){n.push("".concat(e,":").concat(t[e]))})),function(e,t){return e.map(Zx).filter((function(e){return!!e})).map((function(e){return t&&(e.value=t(e.value)),e})).reduce($x,{})}(n,i)}return{}}},{key:"ngDoCheck",value:function(){this.ngStyleInstance.ngDoCheck()}}]),i}(wx)).\u0275fac=function(e){return new(e||eD)(Ja(au),Ja(Kx),Ja(Xx),Ja(Wd),Ja(Su),Ja(lu),Ja(Vh,10),Ja(gx),Ja(Pc))},eD.\u0275dir=Bt({type:eD,features:[Oa]}),eD),nD=["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"],rD=((tD=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments)).inputs=nD,e}return i}(iD)).\u0275fac=function(e){return oD(e||tD)},tD.\u0275dir=Bt({type:tD,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]}),tD),oD=Pn(rD);function aD(e,t){return e.map(Zx).filter((function(e){return!!e})).map((function(e){return t&&(e.value=t(e.value)),e})).reduce($x,{})}var sD,uD=((sD=function e(){y(this,e)}).\u0275mod=Nt({type:sD}),sD.\u0275inj=Ee({factory:function(e){return new(e||sD)},imports:[[lx]]}),sD),cD=function(e){return{color:e}};function lD(e,t){if(1&e){var i=as();es(0,"button",4),cs("click",(function(){return Mi(i),ps().onToggleSidenav()})),es(1,"mat-icon"),js(2,"menu"),ts(),ts()}if(2&e){var n=ps();Za("ngStyle",Ju(1,cD,n.iconColor))}}var hD,dD=function(e){return{background:e}},fD=function(){return[]},pD=function(){return["/"]},gD=((hD=function(){function e(t,i){var n=this;y(this,e),this.storeService=t,this.sanitizer=i,this.sidenavToggle=new ac,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","header_bg_color"),this.textColor=this.storeService.get("theme","header_text_color"),this.iconColor=this.storeService.get("theme","header_icon_color"),this.label=this.storeService.get("header_label"),this.onToggleSidenav=function(){n.sidenavToggle.emit()}}return b(e,[{key:"ngOnInit",value:function(){this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}}]),e}()).\u0275fac=function(e){return new(e||hD)(Ja(ey),Ja(Wd))},hD.\u0275cmp=Ot({type:hD,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:5,vars:12,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",3,"ngStyle"],["mat-icon-button","",3,"ngStyle","click"]],template:function(e,t){1&e&&(es(0,"mat-toolbar",0),Xa(1,lD,3,3,"button",1),is(2,"a",2),es(3,"p",3),js(4),ts(),ts()),2&e&&(Za("ngStyle",Ju(6,dD,t.bgColor)),jr(1),Za("ngIf",!t.hideToggle),jr(1),Za("innerHTML",t.logo,Mr)("routerLink",t.disableLogo?Gu(8,fD):Gu(9,pD)),jr(1),Za("ngStyle",Ju(10,cD,t.textColor)),jr(1),Ys(t.label))},directives:[ax,Vh,rD,Nh,Sv,pS,YS],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important}"]}),hD),mD=["*"];function vD(e,t){if(1&e){var i=as();es(0,"div",2),cs("click",(function(){return Mi(i),ps()._onBackdropClicked()})),ts()}2&e&&Es("mat-drawer-shown",ps()._isShowingBackdrop())}function yD(e,t){1&e&&(es(0,"mat-drawer-content"),vs(1,2),ts())}var _D=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],bD=["mat-drawer","mat-drawer-content","*"];function wD(e,t){if(1&e){var i=as();es(0,"div",2),cs("click",(function(){return Mi(i),ps()._onBackdropClicked()})),ts()}2&e&&Es("mat-drawer-shown",ps()._isShowingBackdrop())}function MD(e,t){1&e&&(es(0,"mat-sidenav-content",3),vs(1,2),ts())}var AD=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],kD=["mat-sidenav","mat-sidenav-content","*"],TD=".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",SD={transformDrawer:dw("transform",[vw("open, open-instant",mw({transform:"none",visibility:"visible"})),vw("void",mw({"box-shadow":"none",visibility:"hidden"})),_w("void => open-instant",fw("0ms")),_w("void <=> open, open-instant => void",fw("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function CD(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var LD,ED,zD,RD,OD,xD,DD,PD,ND,ID,BD,FD,HD,qD,jD,YD,WD=new nt("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),UD=new nt("MAT_DRAWER_CONTAINER"),KD=((OD=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){var s;return y(this,i),(s=t.call(this,r,o,a))._changeDetectorRef=e,s._container=n,s}return b(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}]),i}(b_)).\u0275fac=function(e){return new(e||OD)(Ja(ha),Ja(qe((function(){return XD}))),Ja(au),Ja(__),Ja(Jc))},OD.\u0275cmp=Ot({type:OD,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&Ls("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Oa],ngContentSelectors:mD,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},encapsulation:2,changeDetection:0}),OD),VD=((RD=function(){function e(t,i,n,r,o,a,s){var u=this;y(this,e),this._elementRef=t,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 Y,this._animationEnd=new Y,this._animationState="void",this.openedChange=new ac(!0),this._destroyed=new Y,this.onPositionChanged=new ac,this._modeChanged=new Y,this.openedChange.subscribe((function(e){e?(u._doc&&(u._elementFocusedBeforeDrawerWasOpened=u._doc.activeElement),u._takeFocus()):u._restoreFocus()})),this._ngZone.runOutsideAngular((function(){sy(u._elementRef.nativeElement,"keydown").pipe(Zd((function(e){return 27===e.keyCode&&!u.disableClose&&!P_(e)})),Ry(u._destroyed)).subscribe((function(e){return u._ngZone.run((function(){u.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(My((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"))&&u.openedChange.emit(u._opened)}))}return b(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(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{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:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(qp(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{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)}},{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=ty(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=ty(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(ty(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(Zd((function(e){return e})),ee((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(Zd((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),ee((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(Zd((function(e){return!e})),ee((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(Zd((function(e){return e.fromState!==e.toState&&"void"===e.toState})),ee((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),e}()).\u0275fac=function(e){return new(e||RD)(Ja(au),Ja(Gb),Ja(rw),Ja(Zy),Ja(Jc),Ja(Ll,8),Ja(UD,8))},RD.\u0275cmp=Ot({type:RD,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",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:mD,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(ms(),es(0,"div",0),vs(1),ts())},encapsulation:2,data:{animation:[SD.transformDrawer]},changeDetection:0}),RD),XD=((zD=function(){function e(t,i,n,r,o){var a=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0;y(this,e),this._dir=t,this._element=i,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=u,this._drawers=new uc,this.backdropClick=new ac,this._destroyed=new Y,this._doCheckSubject=new Y,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Y,t&&t.change.pipe(Ry(this._destroyed)).subscribe((function(){a._validateDrawers(),a.updateContentMargins()})),o.change().pipe(Ry(this._destroyed)).subscribe((function(){return a.updateContentMargins()})),this._autosize=s}return b(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Up(this._allDrawers),Ry(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(Up(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._doCheckSubject.pipe(Mb(10),Ry(this._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._width;else if("push"==this._left.mode){var n=this._left._width;t+=n,i-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._width;else if("push"==this._right.mode){var r=this._right._width;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(Zd((function(e){return e.fromState!==e.toState})),Ry(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(Ry(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(Ry(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(qp(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(Ry(le(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?(null!=e._end&&CD("end"),e._end=t):(null!=e._start&&CD("start"),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._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{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}},{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=ty(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:ty(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}()).\u0275fac=function(e){return new(e||zD)(Ja(u_,8),Ja(au),Ja(Jc),Ja(ha),Ja(w_),Ja(WD),Ja(IA,8))},zD.\u0275cmp=Ot({type:zD,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,KD,!0),wc(i,VD,!0)),2&e&&(vc(n=kc())&&(t._content=n.first),vc(n=kc())&&(t._allDrawers=n))},viewQuery:function(e,t){var i;1&e&&_c(KD,!0),2&e&&vc(i=kc())&&(t._userContent=i.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:[iu([{provide:UD,useExisting:zD}])],ngContentSelectors:bD,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(_D),Xa(0,vD,1,2,"div",0),vs(1),vs(2,1),Xa(3,yD,2,0,"mat-drawer-content",1)),2&e&&(Za("ngIf",t.hasBackdrop),jr(3),Za("ngIf",!t._content))},directives:[Nh,KD],styles:[TD],encapsulation:2,changeDetection:0}),zD),GD=((ED=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a){return y(this,i),t.call(this,e,n,r,o,a)}return i}(KD)).\u0275fac=function(e){return new(e||ED)(Ja(ha),Ja(qe((function(){return ZD}))),Ja(au),Ja(__),Ja(Jc))},ED.\u0275cmp=Ot({type:ED,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&Ls("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Oa],ngContentSelectors:mD,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},encapsulation:2,changeDetection:0}),ED),JD=((LD=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return b(i,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=ty(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=iy(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=iy(e)}}]),i}(VD)).\u0275fac=function(e){return QD(e||LD)},LD.\u0275cmp=Ot({type:LD,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Ua("align",null),Ls("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:mD,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(ms(),es(0,"div",0),vs(1),ts())},encapsulation:2,data:{animation:[SD.transformDrawer]},changeDetection:0}),LD),QD=Pn(JD),ZD=((xD=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return i}(XD)).\u0275fac=function(e){return $D(e||xD)},xD.\u0275cmp=Ot({type:xD,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,GD,!0),wc(i,JD,!0)),2&e&&(vc(n=kc())&&(t._content=n.first),vc(n=kc())&&(t._allDrawers=n))},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:[iu([{provide:UD,useExisting:xD}]),Oa],ngContentSelectors:kD,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(AD),Xa(0,wD,1,2,"div",0),vs(1),vs(2,1),Xa(3,MD,2,0,"mat-sidenav-content",1)),2&e&&(Za("ngIf",t.hasBackdrop),jr(3),Za("ngIf",!t._content))},directives:[Nh,GD,b_],styles:[TD],encapsulation:2,changeDetection:0}),xD),$D=Pn(ZD),eP=((ND=function e(){y(this,e)}).\u0275mod=Nt({type:ND}),ND.\u0275inj=Ee({factory:function(e){return new(e||ND)},imports:[[nd,GA,$y,M_],M_,GA]}),ND),tP=((PD=function(){function e(t){y(this,e),this.store=t}return b(e,[{key:"getSideMenuItems",value:function(){var e=this.store.get("displayed_tabs"),t=[];return e.forEach((function(e){switch(e){case"profile":t.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":t.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":t.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":t.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":t.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":t.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":t.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}})),this.store.get("external_services").forEach((function(e){t.push({label:e.label_en,label_cz:e.label_cz,icon:"insert_link",link:e.url,activatedRegex:"^/profile/external",tabName:"external",external:!0})})),t}}]),e}()).\u0275fac=function(e){return new(e||PD)(dt(ey))},PD.\u0275prov=Le({token:PD,factory:PD.\u0275fac,providedIn:"root"}),PD),iP=((DD=function e(){y(this,e)}).\u0275mod=Nt({type:DD}),DD.\u0275inj=Ee({factory:function(e){return new(e||DD)},imports:[[GA],GA]}),DD),nP=["*"],rP='.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;position:relative}.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;width:100%;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;position:relative}.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;width:100%;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-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',oP=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],aP=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],sP=JA(ZA((function e(){y(this,e)}))),uP=ZA((function e(){y(this,e)})),cP=((ID=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments))._stateChanges=new Y,e}return b(i,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(sP)).\u0275fac=function(e){return lP(e||ID)},ID.\u0275cmp=Ot({type:ID,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Oa,Qt],ngContentSelectors:nP,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},styles:[rP],encapsulation:2,changeDetection:0}),ID),lP=Pn(cP),hP=((YD=function(e){h(i,e);var t=f(i);function i(e){var n;return y(this,i),(n=t.call(this))._elementRef=e,n._stateChanges=new Y,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return b(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}(sP)).\u0275fac=function(e){return new(e||YD)(Ja(au))},YD.\u0275cmp=Ot({type:YD,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Oa,Qt],ngContentSelectors:nP,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},styles:[rP],encapsulation:2,changeDetection:0}),YD),dP=((jD=function e(){y(this,e)}).\u0275fac=function(e){return new(e||jD)},jD.\u0275dir=Bt({type:jD,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),jD),fP=((qD=function e(){y(this,e)}).\u0275fac=function(e){return new(e||qD)},qD.\u0275dir=Bt({type:qD,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),qD),pP=((HD=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;y(this,i),(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(Ry(a._destroyed)).subscribe((function(){n.markForCheck()})),a}return b(i,[{key:"ngAfterContentInit",value:function(){!function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe(Up(e)).subscribe((function(e){var n=e.length;vk(t,i+"-2-line",!1),vk(t,i+"-3-line",!1),vk(t,i+"-multi-line",!1),2===n||3===n?vk(t,"".concat(i,"-").concat(n,"-line"),!0):n>3&&vk(t,i+"-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}},{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=ty(e)}}]),i}(uP)).\u0275fac=function(e){return new(e||HD)(Ja(au),Ja(ha),Ja(cP,8),Ja(hP,8))},HD.\u0275cmp=Ot({type:HD,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,dP,!0),wc(i,fP,!0),wc(i,mk,!0)),2&e&&(vc(n=kc())&&(t._avatar=n.first),vc(n=kc())&&(t._icon=n.first),vc(n=kc())&&(t._lines=n))},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:aP,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(oP),es(0,"div",0),is(1,"div",1),vs(2),es(3,"div",2),vs(4,1),ts(),vs(5,2),ts()),2&e&&(jr(1),Za("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[xk],encapsulation:2,changeDetection:0}),HD),gP=((FD=function e(){y(this,e)}).\u0275mod=Nt({type:FD}),FD.\u0275inj=Ee({factory:function(e){return new(e||FD)},imports:[[Tk,Dk,GA,Nk,nd],Tk,GA,Nk,iP]}),FD),mP=((BD=function(){function e(){y(this,e)}return b(e,[{key:"transform",value:function(e,t){return"en"===e?t.label:t.label_cz}}]),e}()).\u0275fac=function(e){return new(e||BD)},BD.\u0275pipe=Ft({name:"localizationLabel",type:BD,pure:!0}),BD),vP=function(e){return{color:e}};function yP(e,t){if(1&e){var i=as();es(0,"mat-list-item",1),cs("click",(function(){Mi(i);var e=t.$implicit,n=ps();return e.external?n.goToURL(e.link):n.shouldHideMenu()})),es(1,"mat-icon",2),js(2),ts(),es(3,"span",3),js(4),tc(5,"localizationLabel"),tc(6,"translate"),tc(7,"customTranslate"),ts(),ts()}if(2&e){var n=t.$implicit,r=ps();Es("activated",r.isActive(n.activatedRegex)),ys("routerLink",n.external?null:n.link),Za("ngStyle",Ju(15,vP,r.textColor)),jr(1),Za("ngStyle",Ju(17,vP,r.iconColor)),jr(1),Ys(n.icon),jr(2),Ys(n.external?nc(5,7,r.lang,n):ic(6,10,nc(7,12,n.label,r.lang)))}}var _P,bP=((_P=function(){function e(t,i,n,r){var o=this;y(this,e),this.sideMenuItemService=t,this.storeService=i,this.router=n,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=n.url,n.events.subscribe((function(e){e instanceof sg&&(o.currentUrl=e.url)}))}return b(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.onLangChange.subscribe((function(t){var i=t.lang;e.lang=i}));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}()).\u0275fac=function(e){return new(e||_P)(Ja(tP),Ja(ey),Ja(kv),Ja(sS))},_P.\u0275cmp=Ot({type:_P,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[["disableRipple","",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",3,"ngStyle","routerLink","click"],[3,"ngStyle"],[1,"nav-caption"]],template:function(e,t){1&e&&(es(0,"mat-nav-list"),Xa(1,yP,8,19,"mat-list-item",0),ts()),2&e&&(jr(1),Za("ngForOf",t.items))},directives:[cP,Dh,pP,Vh,rD,Tv,YS],pipes:[mP,uS,nO],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}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}"]}),_P);function wP(e,t){if(1&e&&(es(0,"span",1),es(1,"a",2),js(2),ts(),ts()),2&e){var i=t.$implicit;jr(1),Za("routerLink",i.routerLink),jr(1),Ys(i.label)}}var MP,AP=((MP=function(){function e(t,i,n){y(this,e),this.router=t,this.activatedRoute=i,this.translate=n,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}return b(e,[{key:"ngOnInit",value:function(){var e=this;this.router.events.pipe(Zd((function(e){return e instanceof sg}))).subscribe((function(){e.menuItems=[],e.createBreadcrumbs(e.activatedRoute.root)}))}},{key:"createBreadcrumbs",value:function(t){var i=this,n=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&&(n+="/"+r);var o=i.translate.instant(t.snapshot.data[e.ROUTE_DATA_BREADCRUMB]);return!o||i.menuItems[i.menuItems.length-1]&&o===i.menuItems[i.menuItems.length-1].label||i.menuItems.push({label:o,routerLink:n}),i.createBreadcrumbs(t,n)}))}}]),e}()).ROUTE_DATA_BREADCRUMB="breadcrumb",MP.\u0275fac=function(e){return new(e||MP)(Ja(kv),Ja(am),Ja(sS))},MP.\u0275cmp=Ot({type:MP,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,wP,3,2,"span",0),2&e&&Za("ngForOf",t.menuItems)},directives:[Dh,Sv],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}']}),MP),kP=["row","column","row-reverse","column-reverse"];function TP(e){var i=t((e=e?e.toLowerCase():"").split(" "),3),n=i[0],r=i[1],o=i[2];return kP.find((function(e){return e===n}))||(n=kP[0]),"inline"===r&&(r="inline"!==o?o:"",o="inline"),[n,CP(r),!!o]}function SP(e){return t(TP(e),1)[0].indexOf("row")>-1}function CP(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 LP,EP,zP,RP,OP,xP,DP,PP,NP,IP,BP=((LP=function(e){h(n,e);var i=f(n);function n(){return y(this,n),i.apply(this,arguments)}return b(n,[{key:"buildStyles",value:function(e){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];return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}((i=t(TP(e),3))[0],i[1],i[2]);var i}}]),n}(Vx)).\u0275fac=function(e){return FP(e||LP)},LP.\u0275prov=Le({factory:function(){return new LP},token:LP,providedIn:"root"}),LP),FP=Pn(BP),HP=["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"],qP=((zP=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e,r,n,o)).DIRECTIVE_KEY="layout",a.styleCache=WP,a.init(),a}return i}(wx)).\u0275fac=function(e){return new(e||zP)(Ja(au),Ja(Kx),Ja(BP),Ja(Xx))},zP.\u0275dir=Bt({type:zP,features:[Oa]}),zP),jP=((EP=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments)).inputs=HP,e}return i}(qP)).\u0275fac=function(e){return YP(e||EP)},EP.\u0275dir=Bt({type:EP,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]}),EP),YP=Pn(jP),WP=new Map,UP=((RP=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return b(i,[{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}}]),i}(Vx)).\u0275fac=function(e){return KP(e||RP)},RP.\u0275prov=Le({factory:function(){return new RP},token:RP,providedIn:"root"}),RP),KP=Pn(UP),VP=["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"],XP=((OP=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(a=t.call(this,e,r,n,o)).DIRECTIVE_KEY="flex-align",a.styleCache=GP,a.init(),a}return i}(wx)).\u0275fac=function(e){return new(e||OP)(Ja(au),Ja(Kx),Ja(UP),Ja(Xx))},OP.\u0275dir=Bt({type:OP,features:[Oa]}),OP),GP=new Map,JP=((xP=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments)).inputs=VP,e}return i}(XP)).\u0275fac=function(e){return QP(e||xP)},xP.\u0275dir=Bt({type:xP,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]}),xP),QP=Pn(JP),ZP=((DP=function(e){h(n,e);var i=f(n);function n(){return y(this,n),i.apply(this,arguments)}return b(n,[{key:"buildStyles",value:function(e,i){var n={},r=t(e.split(" "),2),o=r[0],a=r[1];switch(o){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(a){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;nthis.total&&this.destination.next(e)}}]),i}(O),IN=new Set,BN=((ON=function(){function e(t){y(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):FN}return b(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!IN.has(e))try{RN||((RN=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(RN)),RN.sheet&&(RN.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),IN.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}()).\u0275fac=function(e){return new(e||ON)(dt(Zy))},ON.\u0275prov=Le({factory:function(){return new ON(dt(Zy))},token:ON,providedIn:"root"}),ON);function FN(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var HN,qN=((HN=function(){function e(t,i){y(this,e),this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new Y}return b(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return jN(ry(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,i=_p(jN(ry(e)).map((function(e){return t._registerQuery(e).observable})));return(i=Wp(i.pipe(qp(1)),i.pipe((function(e){return e.lift(new PN(1))}),Mb(0)))).pipe(ee((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),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 I((function(e){var n=function(i){return t._zone.run((function(){return e.next(i)}))};return i.addListener(n),function(){i.removeListener(n)}})).pipe(Up(i),ee((function(t){return{query:e,matches:t.matches}})),Ry(this._destroySubject)),mql:i};return this._queries.set(e,n),n}}]),e}()).\u0275fac=function(e){return new(e||HN)(dt(BN),dt(Jc))},HN.\u0275prov=Le({factory:function(){return new HN(dt(BN),dt(Jc))},token:HN,providedIn:"root"}),HN);function jN(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}var YN={tooltipState:dw("state",[vw("initial, void, hidden",mw({opacity:0,transform:"scale(0)"})),vw("visible",mw({transform:"scale(1)"})),_w("* => visible",fw("200ms cubic-bezier(0, 0, 0.2, 1)",yw([mw({opacity:0,transform:"scale(0)",offset:0}),mw({opacity:.5,transform:"scale(0.99)",offset:.5}),mw({opacity:1,transform:"scale(1)",offset:1})]))),_w("* => hidden",fw("100ms cubic-bezier(0, 0, 0.2, 1)",mw({opacity:0})))])},WN=i_({passive:!0});function UN(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var KN,VN,XN,GN=new nt("mat-tooltip-scroll-strategy"),JN={provide:GN,deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},QN=new nt("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ZN=((XN=function(){function e(t,i,n,r,o,a,s,u,c,l,h,d){var f=this;y(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=u,this._dir=l,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new Y,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!P_(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run((function(){return f.hide(0)})))},this._scrollStrategy=c,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.monitor(i).pipe(Ry(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&o.run((function(){return f.show()})):o.run((function(){return f.hide(0)}))})),o.runOutsideAngular((function(){i.nativeElement.addEventListener("keydown",f._handleKeydown)}))}return b(e,[{key:"ngOnInit",value:function(){this._setupPointerEvents()}},{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,i){e.removeEventListener(i,t,WN)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),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 L_($N,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Ry(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(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return i.positionChanges.pipe(Ry(this._destroyed)).subscribe((function(t){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:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Ry(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(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),i.main),Object.assign(Object.assign({},t.fallback),i.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,i=this.position;if("above"==i||"below"==i)e={originX:"center",originY:"above"==i?"top":"bottom"};else if("before"==i||"left"==i&&t||"right"==i&&!t)e={originX:"start",originY:"center"};else{if(!("after"==i||"right"==i&&t||"left"==i&&!t))throw UN(i);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;if("above"==i)e={overlayX:"center",overlayY:"bottom"};else if("below"==i)e={overlayX:"center",overlayY:"top"};else if("before"==i||"left"==i&&t||"right"==i&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==i||"right"==i&&t||"left"==i&&!t))throw UN(i);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.asObservable().pipe(qp(1),Ry(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:"_setupPointerEvents",value:function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,i){e._elementRef.nativeElement.addEventListener(i,t,WN)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this._elementRef.nativeElement,t=e.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==i&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=ty(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),e}()).\u0275fac=function(e){return new(e||XN)(Ja(gb),Ja(au),Ja(__),Ja(Ou),Ja(Jc),Ja(Zy),Ja(Hb),Ja(rw),Ja(GN),Ja(u_,8),Ja(QN,8),Ja(au))},XN.\u0275dir=Bt({type:XN,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),XN),$N=((VN=function(){function e(t,i){y(this,e),this._changeDetectorRef=t,this._breakpointObserver=i,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Y,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return b(e,[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){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}()).\u0275fac=function(e){return new(e||VN)(Ja(ha),Ja(qN))},VN.\u0275cmp=Ot({type:VN,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&cs("click",(function(){return t._handleBodyInteraction()}),!1,mn),2&e&&Ls("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var i;1&e&&(es(0,"div",0),cs("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),tc(1,"async"),js(2),ts()),2&e&&(Es("mat-tooltip-handset",null==(i=ic(1,5,t._isHandset))?null:i.matches),Za("ngClass",t.tooltipClass)("@state",t._visibility),jr(2),Ys(t.message))},directives:[Oh],pipes:[td],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:[YN.tooltipState]},changeDetection:0}),VN),eI=((KN=function e(){y(this,e)}).\u0275mod=Nt({type:KN}),KN.\u0275inj=Ee({factory:function(e){return new(e||KN)},providers:[JN],imports:[[cw,nd,wb,GA],GA,M_]}),KN),tI=["trigger"],iI=["panel"];function nI(e,t){if(1&e&&(es(0,"span",8),js(1),ts()),2&e){var i=ps();jr(1),Ys(i.placeholder||"\xa0")}}function rI(e,t){if(1&e&&(es(0,"span"),js(1),ts()),2&e){var i=ps(2);jr(1),Ys(i.triggerValue||"\xa0")}}function oI(e,t){1&e&&vs(0,0,["*ngSwitchCase","true"])}function aI(e,t){1&e&&(es(0,"span",9),Xa(1,rI,2,1,"span",10),Xa(2,oI,1,0,"ng-content",11),ts()),2&e&&(Za("ngSwitch",!!ps().customTrigger),jr(2),Za("ngSwitchCase",!0))}function sI(e,t){if(1&e){var i=as();es(0,"div",12),es(1,"div",13,14),cs("@transformPanel.done",(function(e){return Mi(i),ps()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return Mi(i),ps()._handleKeydown(e)})),vs(3,1),ts(),ts()}if(2&e){var n=ps();Za("@transformPanelWrap",void 0),jr(1),Ks("mat-select-panel ",n._getPanelTheme(),""),Ls("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),Za("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),Ua("id",n.id+"-panel")}}var uI,cI,lI,hI=[[["mat-select-trigger"]],"*"],dI=["mat-select-trigger","*"],fI={transformPanelWrap:dw("transformPanelWrap",[_w("* => void",ww("@transformPanel",[bw()],{optional:!0}))]),transformPanel:dw("transformPanel",[vw("void",mw({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),vw("showing",mw({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),vw("showing-multiple",mw({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),_w("void => *",fw("120ms cubic-bezier(0, 0, 0.2, 1)")),_w("* => void",fw("100ms 25ms linear",mw({opacity:0})))])},pI=0,gI=new nt("mat-select-scroll-strategy"),mI=new nt("MAT_SELECT_CONFIG"),vI={provide:gI,deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},yI=function e(t,i){y(this,e),this.source=t,this.value=i},_I=ZA($A(JA(ek((function e(t,i,n,r,o){y(this,e),this._elementRef=t,this._defaultErrorStateMatcher=i,this._parentForm=n,this._parentFormGroup=r,this.ngControl=o}))))),bI=((lI=function e(){y(this,e)}).\u0275fac=function(e){return new(e||lI)},lI.\u0275dir=Bt({type:lI,selectors:[["mat-select-trigger"]]}),lI),wI=((cI=function(e){h(i,e);var t=f(i);function i(e,n,o,a,s,u,c,l,h,d,f,p,m,v){var _;return y(this,i),(_=t.call(this,s,a,c,l,d))._viewportRuler=e,_._changeDetectorRef=n,_._ngZone=o,_._dir=u,_._parentFormField=h,_.ngControl=d,_._liveAnnouncer=m,_._panelOpen=!1,_._required=!1,_._scrollTop=0,_._multiple=!1,_._compareWith=function(e,t){return e===t},_._uid="mat-select-"+pI++,_._destroy=new Y,_._triggerFontSize=0,_._onChange=function(){},_._onTouched=function(){},_._optionIds="",_._transformOrigin="top",_._panelDoneAnimatingStream=new Y,_._offsetY=0,_._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],_._disableOptionCentering=!1,_._focused=!1,_.controlType="mat-select",_.ariaLabel="",_.optionSelectionChanges=Tp((function(){var e=_.options;return e?e.changes.pipe(Up(e),Bp((function(){return le.apply(void 0,r(e.map((function(e){return e.onSelectionChange}))))}))):_._ngZone.onStable.asObservable().pipe(qp(1),Bp((function(){return _.optionSelectionChanges})))})),_.openedChange=new ac,_._openedStream=_.openedChange.pipe(Zd((function(e){return e})),ee((function(){}))),_._closedStream=_.openedChange.pipe(Zd((function(e){return!e})),ee((function(){}))),_.selectionChange=new ac,_.valueChange=new ac,_.ngControl&&(_.ngControl.valueAccessor=g(_)),_._scrollStrategyFactory=p,_._scrollStrategy=_._scrollStrategyFactory(),_.tabIndex=parseInt(f)||0,_.id=_.id,v&&(null!=v.disableOptionCentering&&(_.disableOptionCentering=v.disableOptionCentering),null!=v.typeaheadDebounceInterval&&(_.typeaheadDebounceInterval=v.typeaheadDebounceInterval)),_}return b(i,[{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new v_(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(My(),Ry(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Ry(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(Ry(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(Up(null),Ry(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){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(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(qp(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")})))}},{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.options&&this._setSelectionByValue(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:"_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=40===t||38===t||37===t||39===t,n=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&n&&!P_(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):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=40===i||38===i,r=t.isTyping();if(36===i||35===i)e.preventDefault(),36===i?t.setFirstItemActive():t.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(r||13!==i&&32!==i||!t.activeItem||P_(e))if(!r&&this._multiple&&65===i&&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(qp(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{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.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var i=this._selectValue(e);i?this._keyManager.setActiveItem(i):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,i=this.options.find((function(i){try{return null!=i.value&&t._compareWith(i.value,e)}catch(n){return Qn()&&console.warn(n),!1}}));return i&&this._selectionModel.select(i),i}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new jb(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ry(this._destroy)).subscribe((function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())})),this._keyManager.change.pipe(Ry(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():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(Ry(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(Ry(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{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(),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(new yI(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e=this._keyManager.activeItemIndex||0,t=Uk(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Kk(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,i,n){return void 0!==t?t:e===i?n:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,256),n=t*e-i,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Uk(r,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(r,o,n),this._offsetY=this._calculateOverlayOffsetY(r,o,n),this._checkOverlayWithinViewport(n)}},{key:"_calculateOverlayScroll",value:function(e,t,i){var n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),i)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{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{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:"_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:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{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=ty(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=ty(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=ty(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=iy(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,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:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),i}(_I)).\u0275fac=function(e){return new(e||cI)(Ja(w_),Ja(ha),Ja(Jc),Ja(gk),Ja(au),Ja(u_,8),Ja(Wz,8),Ja($z,8),Ja(yE,8),Ja(zE,10),Qa("tabindex"),Ja(gI),Ja($b),Ja(mI,8))},cI.\u0275cmp=Ot({type:cI,selectors:[["mat-select"]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,bI,!0),wc(i,Wk,!0),wc(i,Fk,!0)),2&e&&(vc(n=kc())&&(t.customTrigger=n.first),vc(n=kc())&&(t.options=n),vc(n=kc())&&(t.optionGroups=n))},viewQuery:function(e,t){var i;1&e&&(_c(tI,!0),_c(iI,!0),_c(_b,!0)),2&e&&(vc(i=kc())&&(t.trigger=i.first),vc(i=kc())&&(t.panel=i.first),vc(i=kc())&&(t.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,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-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("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))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[iu([{provide:XL,useExisting:cI},{provide:Yk,useExisting:cI}]),Oa,Qt],ngContentSelectors:dI,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",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,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(ms(hI),es(0,"div",0,1),cs("click",(function(){return t.toggle()})),es(3,"div",2),Xa(4,nI,2,1,"span",3),Xa(5,aI,3,2,"span",4),ts(),es(6,"div",5),is(7,"div",6),ts(),ts(),Xa(8,sI,4,11,"ng-template",7),cs("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){var i=Ga(1);jr(3),Za("ngSwitch",t.empty),jr(1),Za("ngSwitchCase",!0),jr(1),Za("ngSwitchCase",!1),jr(3),Za("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[yb,Wh,Uh,_b,Kh,Oh],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}.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}\n"],encapsulation:2,data:{animation:[fI.transformPanelWrap,fI.transformPanel]},changeDetection:0}),cI),MI=((uI=function e(){y(this,e)}).\u0275mod=Nt({type:uI}),uI.\u0275inj=Ee({factory:function(e){return new(e||uI)},providers:[vI],imports:[[nd,wb,Xk,GA],M_,bE,Xk,GA]}),uI);function AI(e,t){if(1&e){var i=as();es(0,"button",15),cs("click",(function(){Mi(i);var e=ps().index;return ps().removeValue(e)})),es(1,"mat-icon"),js(2," indeterminate_check_box "),ts(),ts()}}function kI(e,t){if(1&e){var i=as();es(0,"div",9),es(1,"mat-form-field",10),is(2,"label",11),es(3,"input",12),cs("click",(function(){Mi(i);var e=t.index,n=ps();return n.readonly&&n.attribute.displayName&&n.showValue(n.keys[e],n.attribute.displayName)}))("ngModelChange",(function(e){Mi(i);var n=t.index;return ps().keys[n]=e})),ts(),ts(),es(4,"mat-form-field",10),is(5,"label",11),es(6,"input",13),cs("click",(function(){Mi(i);var e=t.$implicit,n=ps();return n.readonly&&void 0!==n.attribute.displayName&&n.showValue(e,n.attribute.displayName)}))("ngModelChange",(function(e){Mi(i);var n=t.index;return ps().values[n]=e})),ts(),ts(),Xa(7,AI,3,0,"button",14),ts()}if(2&e){var n=t.index,r=ps();jr(1),ys("appearance",r.readonly?"none":"standard"),jr(1),bs("for","",r.attribute.id,"-key-",n,""),jr(1),Es("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),bs("id","",r.attribute.id,"-key-",n,""),_s("name","key-",n,""),Za("ngModel",r.keys[n])("readonly",r.readonly),jr(1),ys("appearance",r.readonly?"none":"standard"),jr(1),bs("for","",r.attribute.id,"-value-",n,""),jr(1),Es("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),_s("name","value-",n,""),bs("id","",r.attribute.id,"-value-",n,""),Za("readonly",r.readonly)("ngModel",r.values[n]),jr(1),Za("ngIf",!r.readonly)}}function TI(e,t){1&e&&(es(0,"mat-icon"),js(1,"more_horiz"),ts())}function SI(e,t){1&e&&(es(0,"mat-icon"),js(1,"keyboard_arrow_up"),ts())}function CI(e,t){if(1&e){var i=as();es(0,"button",16),cs("click",(function(){return Mi(i),ps().onShowChange()})),Xa(1,TI,2,0,"mat-icon",17),Xa(2,SI,2,0,"mat-icon",17),ts()}if(2&e){var n=ps();jr(1),Za("ngIf",!n.showMore),jr(1),Za("ngIf",n.showMore)}}function LI(e,t){if(1&e){var i=as();es(0,"button",18),cs("click",(function(){return Mi(i),ps().addValue()})),es(1,"mat-icon"),js(2," add_box "),ts(),ts()}}var EI,zI,RI,OI,xI=((EI=function(){function e(t){y(this,e),this.dialog=t,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}return b(e,[{key:"ngOnInit",value:function(){if(void 0!==this.attribute.value)for(var e=this.attribute.value,i=0,n=Object.entries(e);ithis.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),jr(1),Za("ngIf",!t.readonly))},directives:[Xz,xE,Wz,Dh,ZN,Nh,_E,pR,SE,tR,OE,Vz,pS,YS],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}"]}),EI),DI=["input"],PI=function(){return{enterDuration:150}},NI=["*"],II=new nt("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),BI=new nt("mat-checkbox-click-action"),FI=0,HI={provide:wE,useExisting:qe((function(){return YI})),multi:!0},qI=function e(){y(this,e)},jI=$A(QA(ZA(JA((function e(t){y(this,e),this._elementRef=t}))))),YI=((OI=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u,c){var l;return y(this,i),(l=t.call(this,e))._changeDetectorRef=n,l._focusMonitor=r,l._ngZone=o,l._clickAction=s,l._animationMode=u,l._options=c,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++FI,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new ac,l.indeterminateChange=new ac,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=0,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l._options=l._options||{},l._options.color&&(l.color=l._options.color),l.tabIndex=parseInt(a)||0,l._focusMonitor.monitor(e,!0).subscribe((function(e){e||Promise.resolve().then((function(){l._onTouched(),n.markForCheck()}))})),l._clickAction=l._clickAction||l._options.clickAction,l}return b(i,[{key:"ngAfterViewInit",value:function(){this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{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 qI;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t=this;e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){t._indeterminate=!1,t.indeterminateChange.emit(t._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,e,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-"+i}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}},{key:"required",get:function(){return this._required},set:function(e){this._required=ty(e)}},{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=ty(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=ty(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),i}(jI)).\u0275fac=function(e){return new(e||OI)(Ja(au),Ja(ha),Ja(rw),Ja(Jc),Qa("tabindex"),Ja(BI,8),Ja(IA,8),Ja(II,8))},OI.\u0275cmp=Ot({type:OI,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var i;1&e&&(_c(DI,!0),_c(xk,!0)),2&e&&(vc(i=kc())&&(t._inputElement=i.first),vc(i=kc())&&(t.ripple=i.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",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[iu([HI]),Oa],ngContentSelectors:NI,decls:17,vars:19,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(),es(0,"label",0,1),es(2,"div",2),es(3,"input",3,4),cs("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),ts(),es(5,"div",5),is(6,"div",6),ts(),is(7,"div",7),es(8,"div",8),Xi(),es(9,"svg",9),is(10,"path",10),ts(),Gi(),is(11,"div",11),ts(),ts(),es(12,"span",12,13),cs("cdkObserveContent",(function(){return t._onLabelTextChange()})),es(14,"span",14),js(15,"\xa0"),ts(),vs(16),ts(),ts()),2&e){var i=Ga(1),n=Ga(13);Ua("for",t.inputId),jr(2),Es("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),jr(1),Za("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()),jr(2),Za("matRippleTrigger",i)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Gu(18,PI))}},directives:[xk,Ob],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{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-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.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.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)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{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%}.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}\n"],encapsulation:2,changeDetection:0}),OI),WI=((RI=function e(){y(this,e)}).\u0275mod=Nt({type:RI}),RI.\u0275inj=Ee({factory:function(e){return new(e||RI)}}),RI),UI=((zI=function e(){y(this,e)}).\u0275mod=Nt({type:zI}),zI.\u0275inj=Ee({factory:function(e){return new(e||zI)},imports:[[Dk,GA,xb,WI],GA,WI]}),zI);function KI(e,t){if(1&e){var i=as();es(0,"mat-checkbox",2),cs("change",(function(){return Mi(i),ps()._sendEventToParent()}))("ngModelChange",(function(e){return Mi(i),ps().attribute.value=e})),ts()}2&e&&Za("ngModel",ps().attribute.value)}function VI(e,t){if(1&e&&(es(0,"mat-label"),js(1),ts()),2&e){var i=ps();jr(1),Ys(i.attribute.value)}}var XI,GI=((XI=function(){function e(){y(this,e),this.readonly=!1,this.sendEventToParent=new ac}return b(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=MT(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}}]),e}()).\u0275fac=function(e){return new(e||XI)},XI.\u0275cmp=Ot({type:XI,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&&(es(0,"div"),Xa(1,KI,1,1,"mat-checkbox",0),Xa(2,VI,2,1,"mat-label",1),ts()),2&e&&(jr(1),Za("ngIf",!t.readonly),jr(1),Za("ngIf",t.readonly))},directives:[Nh,YI,OE,Vz,hE],styles:[""]}),XI);function JI(e){var t=e.subscriber,i=e.counter,n=e.period;t.next(i),this.schedule({subscriber:t,counter:i+1,period:n},n)}function QI(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function ZI(e,t){var i=t?"":"none";QI(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function $I(e){var t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function eB(e,t){return e.getPropertyValue(t).split(",").map((function(e){return e.trim()}))}function tB(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 iB(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 nB(e,t,i){e.top+=t,e.bottom=e.top+e.height,e.left+=i,e.right=e.left+e.width}function rB(e,t,i,n){var r=e.top,o=e.right,a=e.bottom,s=e.left,u=e.width*t,c=e.height*t;return n>r-c&&ns-u&&i=s._config.dragStartThreshold){if(!(Date.now()>=s._dragStartTime+s._getDragStartDelay(e)))return void s._endDragSequence(e);s._dropContainer&&s._dropContainer.isDragging()||(s._hasStartedDragging=!0,s._ngZone.run((function(){return s._startDragSequence(e)})))}},this._pointerUp=function(e){s._endDragSequence(e)},this.withRootElement(t),this._parentPositions=new oB(n,o),a.registerDragItem(this)}return b(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(e){return this._handles=e.map((function(e){return ay(e)})),this._handles.forEach((function(e){return ZI(e,!1)})),this._toggleNativeDragInteractions(),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=ay(e);return i!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular((function(){i.addEventListener("mousedown",t._pointerDown,sB),i.addEventListener("touchstart",t._pointerDown,aB)})),this._initialTransform=void 0,this._rootElement=i),this}},{key:"withBoundaryElement",value:function(e){var t=this;return this._boundaryElement=e?ay(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((function(){return t._containInsideBoundaryOnResize()}))),this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&dB(this._rootElement),dB(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._placeholderTemplate=this._previewTemplate=this._anchor=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._handles.indexOf(e)>-1&&this._disabledHandles.add(e)}},{key:"enableHandle",value:function(e){this._disabledHandles.delete(e)}},{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:"_sortFromLastPointerPosition",value:function(){var e=this._pointerPositionAtLastDirectionChange;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e))}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&dB(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&dB(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(e){var t=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((function(){t.ended.next({source:t,distance:t._getDragDistance(t._getPointerPositionOnPage(e))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}},{key:"_startDragSequence",value:function(e){this.started.next({source:this}),fB(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t,i=this._dropContainer;if(i){var n=this._rootElement,r=n.parentNode,o=this._preview=this._createPreviewElement(),a=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");r.insertBefore(s,n),n.style.display="none",this._document.body.appendChild(r.replaceChild(a,n)),(t=this._document,t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body).appendChild(o),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(e,t){var i=this;t.stopPropagation();var n=this.isDragging(),r=fB(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=tB(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._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;this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((function(){var i=t._dropContainer,n=i.getItemIndex(t),r=t._getPointerPositionOnPage(e),o=t._getDragDistance(t._getPointerPositionOnPage(e)),a=i._isOverContainer(r.x,r.y);t.ended.next({source:t,distance:o}),t.dropped.next({item:t,currentIndex:n,previousIndex:t._initialIndex,container:i,previousContainer:t._initialContainer,isPointerOverContainer:a,distance:o}),i.drop(t,n,t._initialContainer,a,o,t._initialIndex),t._dropContainer=t._initialContainer}))}},{key:"_updateActiveDropContainer",value:function(e){var t=this,i=e.x,n=e.y,r=this._initialContainer._getSiblingContainerFromPosition(this,i,n);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,n)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run((function(){t.exited.next({item:t,container:t._dropContainer}),t._dropContainer.exit(t),t._dropContainer=r,t._dropContainer.enter(t,i,n,r===t._initialContainer&&r.sortingDisabled?t._initialIndex:void 0),t.entered.next({item:t,container:r,currentIndex:r.getItemIndex(t)})})),this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,i,n,this._pointerDirectionDelta),this._preview.style.transform=cB(i-this._pickupPositionInElement.x,n-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=pB(o,this._document),this._previewRef=o,t.matchSize?gB(e,r):e.style.transform=cB(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;gB(e=lB(a),a.getBoundingClientRect())}return QI(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),ZI(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._preview.style.transform=cB(t.left,t.top);var i=function(e){var t=getComputedStyle(e),i=eB(t,"transition-property"),n=i.find((function(e){return"transform"===e||"all"===e}));if(!n)return 0;var r=i.indexOf(n),o=eB(t,"transition-duration"),a=eB(t,"transition-delay");return $I(o[r])+$I(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=pB(this._placeholderRef,this._document)):e=lB(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=fB(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=fB(e)?e.touches[0]||e.changedTouches[0]:e,i=this._getViewportScrollPosition();return{x:t.pageX-i.left,y:t.pageY-i.top}}},{key:"_getConstrainedPointerPosition",value:function(e){var t=this.constrainPosition?this.constrainPosition(e,this):e,i=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===i?t.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==i||(t.x=this._pickupPositionOnPage.x),this._boundaryRect){var n=this._pickupPositionInElement,r=n.x,o=n.y,a=this._boundaryRect,s=this._previewRect,u=a.top+o,c=a.bottom-(s.height-o);t.x=hB(t.x,a.left+r,a.right-(s.width-r)),t.y=hB(t.y,u,c)}return t}},{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,ZI(this._rootElement,e))}}},{key:"_removeRootElementListeners",value:function(e){e.removeEventListener("mousedown",this._pointerDown,sB),e.removeEventListener("touchstart",this._pointerDown,aB)}},{key:"_applyRootElementTransform",value:function(e,t){var i=cB(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform: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,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,u=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),u>0&&(i-=u)):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:fB(e)?t.touch:t?t.mouse:0}},{key:"_updateOnScroll",value:function(e){var t=this._parentPositions.handleScroll(e);this._boundaryRect&&t&&nB(this._boundaryRect,t.top,t.left)}},{key:"_getViewportScrollPosition",value:function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=ty(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions())}}]),e}();function cB(e,t){return"translate3d(".concat(Math.round(e),"px, ").concat(Math.round(t),"px, 0)")}function lB(e){var t=e.cloneNode(!0),i=t.querySelectorAll("[id]"),n=e.querySelectorAll("canvas");t.removeAttribute("id");for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ty;return(!Ly(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=Ty),new I((function(i){return i.add(t.schedule(JI,e,{subscriber:i,counter:0,period:e})),i}))}(0,dy).pipe(Ry(a._stopScrollTimers)).subscribe((function(){var e=a._scrollNode;1===a._verticalScrollDirection?bB(e,-2):2===a._verticalScrollDirection&&bB(e,2),1===a._horizontalScrollDirection?wB(e,-2):2===a._horizontalScrollDirection&&wB(e,2)}))},this.element=ay(t),this._document=n,this.withScrollableParents([this.element]),i.registerDropContainer(this),this._parentPositions=new oB(n,o)}return b(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(){var e=this,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._siblings.forEach((function(t){return t._startReceiving(e)})),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"enter",value:function(e,t,i,n){var r;this.start(),null==n?-1===(r=this.sortingDisabled?this._draggables.indexOf(e):-1)&&(r=this._getItemIndexFromPointerPosition(e,t,i)):r=n;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{var l=ay(this.element);this._shouldEnterAsFirstChild(t,i)?(l.insertBefore(s,o[0].getRootElement()),o.unshift(e)):(l.appendChild(s),o.push(e))}s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),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){this._reset(),null==o&&(o=i.getItemIndex(e)),this.dropped.next({item:e,currentIndex:t,previousIndex:o,container:this,previousContainer:i,isPointerOverContainer:n,distance:r})}},{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=ay(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?_B("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&&rB(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=_B(r,(function(t){return t.drag===e})),u=r[o],c=r[s].clientRect,l=u.clientRect,h=s>o?1:-1;this._previousSwap.drag=u.drag,this._previousSwap.delta=a?n.x:n.y;var d=this._getItemOffsetPx(c,l,h),f=this._getSiblingOffsetPx(s,r,h),p=r.slice();mB(r,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:e}),r.forEach((function(t,i){if(p[i]!==t){var n=t.drag===e,r=n?d:f,o=n?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,a?(o.style.transform="translate3d(".concat(Math.round(t.offset),"px, 0, 0)"),nB(t.clientRect,0,r)):(o.style.transform="translate3d(0, ".concat(Math.round(t.offset),"px, 0)"),nB(t.clientRect,r,0))}}))}}}},{key:"_startScrollingIfNecessary",value:function(e,i){var n=this;if(!this.autoScrollDisabled){var r,o=0,a=0;if(this._parentPositions.positions.forEach((function(s,u){var c;u!==n._document&&s.clientRect&&!r&&rB(s.clientRect,.05,e,i)&&(c=t(function(e,t,i,n){var r=MB(t,n),o=AB(t,i),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,i),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=MB(l,i),a=AB(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:"_cacheParentPositions",value:function(){var e=ay(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,clientRect:tB(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=ay(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach((function(e){var t=e.getRootElement();t&&(t.style.transform="")})),this._siblings.forEach((function(t){return t._stopReceiving(e)})),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,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",u=n?"right":"bottom";-1===i?a-=o.clientRect[s]-r[u]:a+=r[s]-o.clientRect[u]}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;return _B(this._itemPositions,(function(a,s,u){var c=a.drag,l=a.clientRect;if(c===e)return u.length<2;if(n){var h=o?n.x:n.y;if(c===r._previousSwap.drag&&h===r._previousSwap.delta)return!1}return o?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&i=i-r&&t<=i+r?1:t>=n-r&&t<=n+r?2:0}function AB(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 kB,TB,SB,CB,LB,EB,zB=i_({passive:!1,capture:!0}),RB=((kB=function(){function e(t,i){var n=this;y(this,e),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new Y,this.pointerUp=new Y,this.scroll=new Y,this._preventDefaultWhileDragging=function(e){n._activeDragInstances.size&&e.preventDefault()},this._document=i}return b(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._preventDefaultWhileDragging,zB)}))}},{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._preventDefaultWhileDragging,zB)}},{key:"startDragging",value:function(e,t){var i=this;if(!this._activeDragInstances.has(e)&&(this._activeDragInstances.add(e),1===this._activeDragInstances.size)){var n=t.type.startsWith("touch"),r=n?"touchend":"mouseup";this._globalListeners.set(n?"touchmove":"mousemove",{handler:function(e){return i.pointerMove.next(e)},options:zB}).set(r,{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:zB}),this._ngZone.runOutsideAngular((function(){i._globalListeners.forEach((function(e,t){i._document.addEventListener(t,e.handler,e.options)}))}))}}},{key:"stopDragging",value:function(e){this._activeDragInstances.delete(e),0===this._activeDragInstances.size&&this._clearGlobalListeners()}},{key:"isDragging",value:function(e){return this._activeDragInstances.has(e)}},{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}()).\u0275fac=function(e){return new(e||kB)(dt(Jc),dt(Ll))},kB.\u0275prov=Le({factory:function(){return new kB(dt(Jc),dt(Ll))},token:kB,providedIn:"root"}),kB),OB={dragStartThreshold:5,pointerDirectionChangeThreshold:5},xB=((TB=function(){function e(t,i,n,r){y(this,e),this._document=t,this._ngZone=i,this._viewportRuler=n,this._dragDropRegistry=r}return b(e,[{key:"createDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:OB;return new uB(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new yB(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),e}()).\u0275fac=function(e){return new(e||TB)(dt(Ll),dt(Jc),dt(w_),dt(RB))},TB.\u0275prov=Le({factory:function(){return new TB(dt(Ll),dt(Jc),dt(w_),dt(RB))},token:TB,providedIn:"root"}),TB),DB=new nt("CDK_DRAG_PARENT"),PB=((LB=function(){function e(t,i){y(this,e),this.element=t,this._stateChanges=new Y,this._disabled=!1,this._parentDrag=i,ZI(t.nativeElement,!1)}return b(e,[{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=ty(e),this._stateChanges.next(this)}}]),e}()).\u0275fac=function(e){return new(e||LB)(Ja(au),Ja(DB,8))},LB.\u0275dir=Bt({type:LB,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),LB),NB=((CB=function e(t){y(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||CB)(Ja(zu))},CB.\u0275dir=Bt({type:CB,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),CB),IB=((SB=function(){function e(t){y(this,e),this.templateRef=t,this._matchSize=!1}return b(e,[{key:"matchSize",get:function(){return this._matchSize},set:function(e){this._matchSize=ty(e)}}]),e}()).\u0275fac=function(e){return new(e||SB)(Ja(zu))},SB.\u0275dir=Bt({type:SB,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),SB),BB=new nt("CDK_DRAG_CONFIG"),FB=new nt("CDK_DROP_LIST"),HB=((EB=function(){function e(t,i,n,r,o,a,s,u,c){var l=this;y(this,e),this.element=t,this.dropContainer=i,this._document=n,this._ngZone=r,this._viewContainerRef=o,this._dir=s,this._changeDetectorRef=c,this._destroyed=new Y,this.started=new ac,this.released=new ac,this.ended=new ac,this.entered=new ac,this.exited=new ac,this.dropped=new ac,this.moved=new I((function(e){var t=l._dragRef.moved.pipe(ee((function(e){return{source:l,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,a&&this._assignDefaults(a),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return b(e,[{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.asObservable().pipe(qp(1),Ry(this._destroyed)).subscribe((function(){e._updateRootElement(),e._handles.changes.pipe(Up(e._handles),$p((function(t){var i=t.filter((function(t){return t._parentDrag===e})).map((function(e){return e.element}));e._dragRef.withHandles(i)})),Bp((function(e){return le.apply(void 0,r(e.map((function(e){return e._stateChanges.pipe(Up(e))}))))})),Ry(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),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var e=this.element.nativeElement,t=this.rootElementSelector?qB(e,this.rootElementSelector):e;if(t&&t.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'.concat(t.nodeName,'".'));this._dragRef.withRootElement(t||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;if(!e)return null;if("string"==typeof e)return qB(this.element.nativeElement,e);var t=ay(e);if(Qn()&&!t.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return t}},{key:"_syncInputs",value:function(e){var t=this;e.beforeStarted.subscribe((function(){if(!e.isDragging()){var i=t._dir,n=t.dragStartDelay,r=t._placeholderTemplate?{template:t._placeholderTemplate.templateRef,context:t._placeholderTemplate.data,viewContainer:t._viewContainerRef}:null,o=t._previewTemplate?{template:t._previewTemplate.templateRef,context:t._previewTemplate.data,matchSize:t._previewTemplate.matchSize,viewContainer:t._viewContainerRef}:null;e.disabled=t.disabled,e.lockAxis=t.lockAxis,e.dragStartDelay="object"==typeof n&&n?n:iy(n),e.constrainPosition=t.constrainPosition,e.previewClass=t.previewClass,e.withBoundaryElement(t._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o),i&&e.withDirection(i.value)}}))}},{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}),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})}))}},{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;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)}},{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=ty(e),this._dragRef.disabled=this._disabled}}]),e}()).\u0275fac=function(e){return new(e||EB)(Ja(au),Ja(FB,12),Ja(Ll),Ja(Jc),Ja(Ou),Ja(BB,8),Ja(u_,8),Ja(xB),Ja(ha))},EB.\u0275dir=Bt({type:EB,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,IB,!0),wc(i,NB,!0),wc(i,PB,!0)),2&e&&(vc(n=kc())&&(t._previewTemplate=n.first),vc(n=kc())&&(t._placeholderTemplate=n.first),vc(n=kc())&&(t._handles=n))},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"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[iu([{provide:DB,useExisting:EB}]),Qt]}),EB);function qB(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 jB,YB,WB,UB,KB,VB,XB,GB,JB,QB,ZB=((WB=function(){function e(){y(this,e),this._items=new Set,this._disabled=!1}return b(e,[{key:"ngOnDestroy",value:function(){this._items.clear()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=ty(e)}}]),e}()).\u0275fac=function(e){return new(e||WB)},WB.\u0275dir=Bt({type:WB,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),WB),$B=0,eF=((YB=function(){function e(t,i,n,r,o,a,s){var u=this;y(this,e),this.element=t,this._changeDetectorRef=n,this._dir=r,this._group=o,this._scrollDispatcher=a,this._destroyed=new Y,this.connectedTo=[],this.id="cdk-drop-list-"+$B++,this.enterPredicate=function(){return!0},this.dropped=new ac,this.entered=new ac,this.exited=new ac,this.sorted=new ac,this._unsortedItems=new Set,this._dropListRef=i.createDropList(t),this._dropListRef.data=this,s&&this._assignDefaults(s),this._dropListRef.enterPredicate=function(e,t){return u.enterPredicate(e.data,t.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),o&&o._items.add(this)}return b(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:"start",value:function(){this._dropListRef.start()}},{key:"drop",value:function(e,t,i,n){this._dropListRef.drop(e._dragRef,t,i._dropListRef,n,{x:0,y:0})}},{key:"enter",value:function(e,t,i){this._dropListRef.enter(e._dragRef,t,i)}},{key:"exit",value:function(e){this._dropListRef.exit(e._dragRef)}},{key:"getItemIndex",value:function(e){return this._dropListRef.getItemIndex(e._dragRef)}},{key:"_setupInputSyncSubscription",value:function(t){var i=this;this._dir&&this._dir.change.pipe(Up(this._dir.value),Ry(this._destroyed)).subscribe((function(e){return t.withDirection(e)})),t.beforeStarted.subscribe((function(){var n=ry(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&&i._scrollDispatcher){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=ty(i.sortingDisabled),t.autoScrollDisabled=ty(i.autoScrollDisabled),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}),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})))}},{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._dropListRef.disabled=this._disabled=ty(e)}}]),e}()).\u0275fac=function(e){return new(e||YB)(Ja(au),Ja(xB),Ja(ha),Ja(u_,8),Ja(ZB,12),Ja(__),Ja(BB,8))},YB.\u0275dir=Bt({type:YB,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(Vs("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"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[iu([{provide:ZB,useValue:void 0},{provide:FB,useExisting:YB}])]}),YB._dropLists=[],YB),tF=((jB=function e(){y(this,e)}).\u0275mod=Nt({type:jB}),jB.\u0275inj=Ee({factory:function(e){return new(e||jB)},providers:[xB],imports:[M_]}),jB),iF=["*"],nF=$A(QA(ZA((function e(t){y(this,e),this._elementRef=t})),"primary"),-1),rF=((XB=function e(){y(this,e)}).\u0275fac=function(e){return new(e||XB)},XB.\u0275dir=Bt({type:XB,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"]}),XB),oF=((VB=function e(){y(this,e)}).\u0275fac=function(e){return new(e||VB)},VB.\u0275dir=Bt({type:VB,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"]}),VB),aF=((KB=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u,c){var l;return y(this,i),(l=t.call(this,e))._elementRef=e,l._ngZone=n,l._changeDetectorRef=s,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 ac,l.destroyed=new ac,l.removed=new ac,l._addHostClassName(),l._chipRippleTarget=(c||document).createElement("div"),l._chipRippleTarget.classList.add("mat-chip-ripple"),l._elementRef.nativeElement.appendChild(l._chipRippleTarget),l._chipRipple=new Rk(g(l),n,l._chipRippleTarget,r),l._chipRipple.setupTriggerEvents(e),l.rippleConfig=o||{},l._animationsDisabled="NoopAnimations"===a,l.tabIndex=null!=u&&parseInt(u)||-1,l}return b(i,[{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._markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._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._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.asObservable().pipe(qp(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})}},{key:"_markForCheck",value:function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var t=ty(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=ty(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=ty(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=ty(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}}]),i}(nF)).\u0275fac=function(e){return new(e||KB)(Ja(au),Ja(Jc),Ja(Zy),Ja(Ok,8),Ja(IA,8),Ja(ha),Qa("tabindex"),Ja(Ll,8))},KB.\u0275dir=Bt({type:KB,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,rF,!0),wc(i,oF,!0),wc(i,sF,!0)),2&e&&(vc(n=kc())&&(t.avatar=n.first),vc(n=kc())&&(t.trailingIcon=n.first),vc(n=kc())&&(t.removeIcon=n.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]}),KB),sF=((UB=function(){function e(t,i){y(this,e),this._parentChip=t,i&&"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}return b(e,[{key:"_handleClick",value:function(e){var t=this._parentChip;t.removable&&!t.disabled&&t.remove(),e.stopPropagation()}}]),e}()).\u0275fac=function(e){return new(e||UB)(Ja(aF),Ja(au))},UB.\u0275dir=Bt({type:UB,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(e,t){1&e&&cs("click",(function(e){return t._handleClick(e)}))}}),UB),uF=new nt("mat-chips-default-options"),cF=ek((function e(t,i,n,r){y(this,e),this._defaultErrorStateMatcher=t,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r})),lF=0,hF=function e(t,i){y(this,e),this.source=t,this.value=i},dF=((JB=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u){var c;return y(this,i),(c=t.call(this,s,o,a,u))._elementRef=e,c._changeDetectorRef=n,c._dir=r,c.ngControl=u,c.controlType="mat-chip-list",c._lastDestroyedChipIndex=null,c._destroyed=new Y,c._uid="mat-chip-list-"+lF++,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 ac,c.valueChange=new ac,c.ngControl&&(c.ngControl.valueAccessor=g(c)),c}return b(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new Yb(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Ry(this._destroyed)).subscribe((function(t){return e._keyManager.withHorizontalOrientation(t)})),this._keyManager.tabOut.pipe(Ry(this._destroyed)).subscribe((function(){e._allowFocusEscape()})),this.chips.changes.pipe(Up(null),Ry(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 v_(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}},{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;8===e.keyCode&&this._isInputEmpty(t)?(this._keyManager.setLastItemActive(),e.preventDefault()):t&&t.classList.contains("mat-chip")&&(36===e.keyCode?(this._keyManager.setFirstItemActive(),e.preventDefault()):35===e.keyCode?(this._keyManager.setLastItemActive(),e.preventDefault()):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 hF(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.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}))}},{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=ty(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=ty(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)&&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=ty(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){var t=this;this._selectable=ty(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}))))}}]),i}(cF)).\u0275fac=function(e){return new(e||JB)(Ja(au),Ja(ha),Ja(u_,8),Ja(Wz,8),Ja($z,8),Ja(gk),Ja(zE,10))},JB.\u0275cmp=Ot({type:JB,selectors:[["mat-chip-list"]],contentQueries:function(e,t,i){var n;1&e&&wc(i,aF,!0),2&e&&vc(n=kc())&&(t.chips=n)},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:[iu([{provide:XL,useExisting:JB}]),Oa],ngContentSelectors:iF,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(ms(),es(0,"div",0),vs(1),ts())},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}),JB),fF=0,pF=((GB=function(){function e(t,i){y(this,e),this._elementRef=t,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new ac,this.placeholder="",this.id="mat-chip-list-input-"+fF++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return b(e,[{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"_keydown",value:function(e){e&&9===e.keyCode&&!P_(e,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(e)}},{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}),e&&e.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(e){this._inputElement.focus(e)}},{key:"_isSeparatorKey",value:function(e){if(P_(e))return!1;var t=this.separatorKeyCodes,i=e.keyCode;return Array.isArray(t)?t.indexOf(i)>-1:t.has(i)}},{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=ty(e)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=ty(e)}},{key:"empty",get:function(){return!this._inputElement.value}}]),e}()).\u0275fac=function(e){return new(e||GB)(Ja(au),Ja(uF))},GB.\u0275dir=Bt({type:GB,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)}))("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:[Qt]}),GB),gF={separatorKeyCodes:[13]},mF=((QB=function e(){y(this,e)}).\u0275mod=Nt({type:QB}),QB.\u0275inj=Ee({factory:function(e){return new(e||QB)},providers:[gk,{provide:uF,useValue:gF}]}),QB);function vF(e,t){if(1&e){var i=as();es(0,"mat-icon",9),cs("mousedown",(function(){return Mi(i),ps(2).dragDisabled=!1})),js(1,"drag_indicator"),ts()}}function yF(e,t){if(1&e){var i=as();es(0,"mat-icon",10),cs("click",(function(){Mi(i);var e=ps().$implicit;return ps().edit(e)})),js(1,"edit"),ts()}}function _F(e,t){if(1&e){var i=as();es(0,"mat-icon",11),cs("click",(function(){Mi(i);var e=ps().$implicit;return ps().remove(e)})),js(1,"cancel"),ts()}}function bF(e,t){if(1&e){var i=as();es(0,"mat-chip",4),cs("removed",(function(){Mi(i);var e=t.$implicit,n=ps();return n.remove(e),n._sendEventToParent()})),Xa(1,vF,2,0,"mat-icon",5),es(2,"div",6),cs("click",(function(){Mi(i);var e=t.$implicit,n=ps();return n.readonly&&void 0!==n.attribute.displayName&&n.showValue(e,n.attribute.displayName)})),js(3),ts(),Xa(4,yF,2,0,"mat-icon",7),Xa(5,_F,2,0,"mat-icon",8),ts()}if(2&e){var n=t.$implicit,r=ps();Za("selectable",r.selectable)("cdkDragData",n)("removable",r.removable),jr(1),Za("ngIf",r.removable),jr(1),Es("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),jr(1),Ys(n),jr(1),Za("ngIf",r.removable),jr(1),Za("ngIf",r.removable)}}function wF(e,t){1&e&&(es(0,"mat-icon"),js(1,"more_horiz"),ts())}function MF(e,t){1&e&&(es(0,"mat-icon"),js(1,"keyboard_arrow_up"),ts())}function AF(e,t){if(1&e){var i=as();es(0,"div",12),es(1,"span",13),es(2,"button",14),cs("click",(function(){return Mi(i),ps().onShowChange()})),Xa(3,wF,2,0,"mat-icon",15),Xa(4,MF,2,0,"mat-icon",15),ts(),ts(),ts()}if(2&e){var n=ps();jr(1),Za("matTooltip",n.showMore?"Show less":"Show more")("matTooltipPosition","above"),jr(2),Za("ngIf",!n.showMore),jr(1),Za("ngIf",n.showMore)}}function kF(e,t){if(1&e){var i=as();es(0,"mat-form-field",12),es(1,"input",16),cs("matChipInputTokenEnd",(function(e){return Mi(i),ps().add(e)}))("change",(function(){return Mi(i),ps()._sendEventToParent()})),ts(),ts()}if(2&e){var n=ps(),r=Ga(2);jr(1),Za("matChipInputFor",r)("matChipInputSeparatorKeyCodes",n.separatorKeysCodes)("matChipInputAddOnBlur",n.addOnBlur)}}var TF,SF,CF,LF=((CF=function(){function e(t){y(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 ac,this.readonly=!1}return b(e,[{key:"ngOnInit",value:function(){this.removable=!MT(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=MT(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=wT();i.width="400px",i.data={name:e},this.dialog.open(OO,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,mB(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=wT();n.width="600px",n.data={attribute:this.attribute,index:i},this.dialog.open(RO,n).afterClosed().subscribe((function(e){e&&(t.values=Object.values(t.attribute.value),t.sendEventToParent.emit())}))}},{key:"showValue",value:function(e,t){var i=wT();i.width="350px",i.data={value:e,title:t},this.dialog.open(zO,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}()).\u0275fac=function(e){return new(e||CF)(Ja(fT))},CF.\u0275cmp=Ot({type:CF,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&&(es(0,"div"),es(1,"mat-chip-list",0,1),cs("cdkDropListDropped",(function(e){return t.drop(e),t._sendEventToParent()})),Xa(3,bF,6,9,"mat-chip",2),Xa(4,AF,5,4,"div",3),Xa(5,kF,2,3,"mat-form-field",3),ts(),ts()),2&e&&(jr(1),Za("cdkDropListDisabled",t.dragDisabled),jr(2),Za("ngForOf",t.values.slice(0,t.itemsShown)),jr(1),Za("ngIf",t.values.length>t.defaultItemsShown),jr(1),Za("ngIf",!t.readonly))},directives:[dF,eF,Dh,Nh,aF,HB,YS,ZN,pS,_E,pR,pF],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}"]}),CF),EF=((SF=function(){function e(t){y(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new ac}return b(e,[{key:"ngOnInit",value:function(){this.value=this.attribute.value,this.readonly||(this.readonly=MT(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e,t){var i=wT();i.width="350px",i.data={value:e,title:t},this.dialog.open(zO,i)}}]),e}()).\u0275fac=function(e){return new(e||SF)(Ja(fT))},SF.\u0275cmp=Ot({type:SF,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&&(es(0,"mat-form-field",0),es(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()})),ts(),ts()),2&e&&(ys("appearance",t.readonly?"none":"standard"),jr(1),Es("cursor-pointer",t.readonly&&void 0!==t.value),Za("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[_E,pR,SE,OE,Vz],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),SF),zF=((TF=function(){function e(t){y(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new ac}return b(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=MT(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e){var t=wT();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(zO,t)}}]),e}()).\u0275fac=function(e){return new(e||TF)(Ja(fT))},TF.\u0275cmp=Ot({type:TF,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&&(es(0,"mat-form-field",0),es(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()})),ts(),ts()),2&e&&(ys("appearance",t.readonly?"none":"standard"),jr(1),Es("cursor-pointer",t.readonly&&void 0!==t.attribute.value),Za("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[_E,pR,ZE,SE,OE,Vz],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),TF),RF=["map"];function OF(e,t){if(1&e){var i=as();es(0,"perun-web-apps-attribute-value-boolean",3),cs("sendEventToParent",(function(){return Mi(i),ps()._sendEventToParent2()})),ts()}if(2&e){var n=ps();Za("attribute",n.attribute)("readonly",n.readonly)}}function xF(e,t){if(1&e){var i=as();es(0,"perun-web-apps-attribute-value-list",3),cs("sendEventToParent",(function(){return Mi(i),ps()._sendEventToParent2()})),ts()}if(2&e){var n=ps();Za("attribute",n.attribute)("readonly",n.readonly)}}function DF(e,t){if(1&e&&is(0,"perun-web-apps-attribute-value-map",4,5),2&e){var i=ps();Za("attribute",i.attribute)("readonly",i.readonly)}}function PF(e,t){if(1&e){var i=as();es(0,"perun-web-apps-attribute-value-string",3),cs("sendEventToParent",(function(){return Mi(i),ps()._sendEventToParent2()})),ts()}if(2&e){var n=ps();Za("attribute",n.attribute)("readonly",n.readonly)}}function NF(e,t){if(1&e){var i=as();es(0,"perun-web-apps-attribute-value-integer",3),cs("sendEventToParent",(function(){return Mi(i),ps()._sendEventToParent2()})),ts()}if(2&e){var n=ps();Za("attribute",n.attribute)("readonly",n.readonly)}}var IF,BF=((IF=function(){function e(){y(this,e),this.readonly=!1,this.sendEventToParent2=new ac}return b(e,[{key:"ngOnInit",value:function(){}},{key:"updateMapAttribute",value:function(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}},{key:"_sendEventToParent2",value:function(){this.sendEventToParent2.emit()}}]),e}()).\u0275fac=function(e){return new(e||IF)},IF.\u0275cmp=Ot({type:IF,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){var i;1&e&&_c(RF,!0),2&e&&vc(i=kc())&&(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&&(es(0,"div"),Xa(1,OF,1,2,"perun-web-apps-attribute-value-boolean",0),Xa(2,xF,1,2,"perun-web-apps-attribute-value-list",0),es(3,"div",1),cs("click",(function(){return t._sendEventToParent2()})),Xa(4,DF,2,2,"perun-web-apps-attribute-value-map",2),ts(),Xa(5,PF,1,2,"perun-web-apps-attribute-value-string",0),Xa(6,NF,1,2,"perun-web-apps-attribute-value-integer",0),ts()),2&e&&(jr(1),Za("ngIf","java.lang.Boolean"===t.attribute.type),jr(1),Za("ngIf","java.util.ArrayList"===t.attribute.type),jr(2),Za("ngIf","java.util.LinkedHashMap"===t.attribute.type),jr(1),Za("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),jr(1),Za("ngIf","java.lang.Integer"===t.attribute.type))},directives:[Nh,GI,LF,xI,EF,zF],styles:[""]}),IF);function FF(e,t){1&e&&is(0,"mat-spinner",3)}function HF(e,t){if(1&e){var i=as();es(0,"mat-option",17),cs("click",(function(){Mi(i);var e=t.$implicit;return ps(4).changeLanguage(e)})),js(1),ts()}if(2&e){var n=t.$implicit;Za("value",n),jr(1),Ws(" ",n," ")}}function qF(e,t){if(1&e){var i=as();es(0,"mat-form-field",14),es(1,"mat-select",15),cs("valueChange",(function(e){return Mi(i),ps(3).currentLang=e})),Xa(2,HF,2,2,"mat-option",16),ts(),ts()}if(2&e){var n=ps(3);jr(1),Za("value",n.currentLang),jr(1),Za("ngForOf",n.languages)}}function jF(e,t){if(1&e){var i=as();es(0,"div"),es(1,"a",18),js(2),ts(),es(3,"button",19),cs("click",(function(){return Mi(i),ps(3).changeEmail()})),js(4),tc(5,"translate"),tc(6,"customTranslate"),ts(),ts()}if(2&e){var n=ps(3);jr(1),_s("href","mailto:",n.email,"",Ar),jr(1),Ys(n.email),jr(2),Ys(ic(5,3,ic(6,5,"PROFILE_PAGE.CHANGE_EMAIL")))}}function YF(e,t){if(1&e){var i=as();es(0,"mat-option",17),cs("click",(function(){Mi(i);var e=t.$implicit;return ps(4).changeTimeZone(e)})),js(1),ts()}if(2&e){var n=t.$implicit;Za("value",n),jr(1),Ws(" ",n," ")}}function WF(e,t){if(1&e){var i=as();es(0,"mat-form-field",20),es(1,"mat-select",21),cs("valueChange",(function(e){return Mi(i),ps(3).currentTimezone=e})),Xa(2,YF,2,2,"mat-option",16),ts(),ts()}if(2&e){var n=ps(3);jr(1),Za("value",n.currentTimezone),jr(1),Za("ngForOf",n.timeZones)}}function UF(e,t){1&e&&(es(0,"p"),js(1,"-"),ts())}function KF(e,t){1&e&&is(0,"perun-web-apps-attribute-value",24),2&e&&Za("attribute",ps(2).$implicit.attribute)("readonly",!0)}function VF(e,t){if(1&e&&(es(0,"div"),Xa(1,UF,2,0,"p",22),Xa(2,KF,1,2,"perun-web-apps-attribute-value",23),ts()),2&e){var i=ps().$implicit;jr(1),Za("ngIf",!i.attribute.value),jr(1),Za("ngIf",i.attribute.value)}}function XF(e,t){if(1&e&&(es(0,"tr"),es(1,"td",7),es(2,"div",8),js(3),ts(),ts(),es(4,"td",9),Xa(5,qF,3,2,"mat-form-field",10),Xa(6,jF,7,7,"div",11),Xa(7,WF,3,2,"mat-form-field",12),Xa(8,VF,3,2,"div",13),ts(),ts()),2&e){var i=t.$implicit,n=ps(2);jr(2),Za("matTooltip","en"===n.translateService.currentLang?i.tooltip_en:i.tooltip_cz),jr(1),Ys("en"===n.translateService.currentLang?i.displayName_en:i.displayName_cz),jr(1),Za("ngSwitch",i.attribute.friendlyName),jr(1),Za("ngSwitchCase","preferredLanguage"),jr(1),Za("ngSwitchCase","preferredMail"),jr(1),Za("ngSwitchCase","timezone")}}function GF(e,t){if(1&e&&(es(0,"table",4),es(1,"tbody"),es(2,"tr"),es(3,"td",5),js(4),tc(5,"translate"),tc(6,"customTranslate"),ts(),es(7,"td"),js(8),ts(),ts(),Xa(9,XF,9,6,"tr",6),ts(),ts()),2&e){var i=ps();jr(4),Ys(ic(5,3,ic(6,5,"PROFILE_PAGE.NAME"))),jr(4),Ys(i.fullName),jr(1),Za("ngForOf",i.additionalAttributes)}}var JF,QF=((JF=function(){function e(t,i,n,r,o,a,s,u,c,l){var h=this;y(this,e),this.translateService=t,this.dialog=i,this.authzResolverService=n,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=["en","cs"],this.timeZones=DN.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 b(e,[{key:"ngOnInit",value:function(){var e=this,t=this.route.snapshot.queryParamMap,i=t.get("token"),n=t.get("i"),r=t.get("m"),o=t.get("u");this.loading=!0,n&&r&&o?this.usersManagerService.validatePreferredEmailChange(n,r,Number.parseInt(o,10)).subscribe((function(){e.notificator.showSuccess(e.successMessage),e.router.navigate([],{replaceUrl:!0}),e.getData()})):i&&o?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(i,Number.parseInt(o,10)).subscribe((function(){e.notificator.showSuccess(e.successMessage),e.router.navigate([],{replaceUrl:!0}),e.getData()}),(function(){var t=wT();t.width="600px",e.dialog.open(jO,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 iO).transform(t);var i=t.userAttributes.find((function(e){return"preferredMail"===e.friendlyName}));e.email=i.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 n=e.storeService.get("profile_page_attributes"),r=0;n.forEach((function(i){var o,a,s=t.userAttributes.find((function(e){return e.friendlyName===i.friendly_name}));s?(r++,e.additionalAttributes.push({attribute:s,displayName_en:i.display_name_en&&i.display_name_en.length?i.display_name_en:s.displayName,displayName_cz:i.display_name_cz&&i.display_name_cz.length?i.display_name_cz:s.displayName,tooltip_en:null!==(o=i.tooltip_en)&&void 0!==o?o:"",tooltip_cz:null!==(a=i.tooltip_cz)&&void 0!==a?a:""})):e.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:".concat(i.is_virtual?"virt":"def",":").concat(i.friendly_name)).subscribe((function(t){var o,a;e.additionalAttributes.push({attribute:t,displayName_en:i.display_name_en&&i.display_name_en.length?i.display_name_en:t.displayName,displayName_cz:i.display_name_cz&&i.display_name_cz.length?i.display_name_cz:t.displayName,tooltip_en:null!==(o=i.tooltip_en)&&void 0!==o?o:"",tooltip_cz:null!==(a=i.tooltip_cz)&&void 0!==a?a:""}),r++,e.loading=r!==n.length})),e.loading=r!==n.length}))}))}))}},{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=wT();t.width="350px",t.data={userId:this.userId},this.dialog.open(qO,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}()).\u0275fac=function(e){return new(e||JF)(Ja(sS),Ja(fT),Ja(ap),Ja(op),Ja(dp),Ja(am),Ja(kv),Ja(KS),Ja(ey),Ja(VS))},JF.\u0275cmp=Ot({type:JF,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","lang-field-width center-self",4,"ngSwitchCase"],[4,"ngSwitchCase"],["class","center-self",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"lang-field-width","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"],[1,"center-self"],[3,"value","valueChange"],[4,"ngIf"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly"]],template:function(e,t){1&e&&(es(0,"div",0),Xa(1,FF,1,0,"mat-spinner",1),Xa(2,GF,10,7,"table",2),ts()),2&e&&(jr(1),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.loading))},directives:[Nh,YR,Dh,ZN,Wh,Uh,Kh,_E,wI,Wk,pS,BF],pipes:[uS,nO],styles:[".lang-field-width[_ngcontent-%COMP%]{width:50px}.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}"]}),JF);function ZF(e,t){if(1&e&&(es(0,"mat-option",19),js(1),ts()),2&e){var i=t.$implicit;Za("value",i),jr(1),Ws(" ",i," ")}}function $F(e,t){if(1&e){var i=as();es(0,"mat-form-field",16),es(1,"mat-select",17),cs("selectionChange",(function(e){return Mi(i),ps(2)._changePageSize(e.value)})),Xa(2,ZF,2,2,"mat-option",18),ts(),ts()}if(2&e){var n=ps(2);Za("color",n.color),jr(1),Za("value",n.pageSize)("disabled",n.disabled)("aria-label",n._intl.itemsPerPageLabel),jr(1),Za("ngForOf",n._displayedPageSizeOptions)}}function eH(e,t){if(1&e&&(es(0,"div",20),js(1),ts()),2&e){var i=ps(2);jr(1),Ys(i.pageSize)}}function tH(e,t){if(1&e&&(es(0,"div",12),es(1,"div",13),js(2),ts(),Xa(3,$F,3,5,"mat-form-field",14),Xa(4,eH,2,1,"div",15),ts()),2&e){var i=ps();jr(2),Ws(" ",i._intl.itemsPerPageLabel," "),jr(1),Za("ngIf",i._displayedPageSizeOptions.length>1),jr(1),Za("ngIf",i._displayedPageSizeOptions.length<=1)}}function iH(e,t){if(1&e){var i=as();es(0,"button",21),cs("click",(function(){return Mi(i),ps().firstPage()})),Xi(),es(1,"svg",7),is(2,"path",22),ts(),ts()}if(2&e){var n=ps();Za("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),Ua("aria-label",n._intl.firstPageLabel)}}function nH(e,t){if(1&e){var i=as();Xi(),Gi(),es(0,"button",23),cs("click",(function(){return Mi(i),ps().lastPage()})),Xi(),es(1,"svg",7),is(2,"path",24),ts(),ts()}if(2&e){var n=ps();Za("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),Ua("aria-label",n._intl.lastPageLabel)}}var rH,oH,aH,sH=((rH=function e(){y(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,i){if(0==i||0==t)return"0 of "+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)}}).\u0275fac=function(e){return new(e||rH)},rH.\u0275prov=Le({factory:function(){return new rH},token:rH,providedIn:"root"}),rH),uH={provide:sH,deps:[[new Me,new ke,sH]],useFactory:function(e){return e||new sH}},cH=new nt("MAT_PAGINATOR_DEFAULT_OPTIONS"),lH=JA(tk((function e(){y(this,e)}))),hH=((aH=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;if(y(this,i),(o=t.call(this))._intl=e,o._changeDetectorRef=n,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new ac,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 p(o)}return b(i,[{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=r.length&&(o=0),r[o]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"direction",get:function(){return this._direction},set:function(e){if(Qn()&&e&&"asc"!==e&&"desc"!==e)throw function(e){return Error(e+" is not a valid sort direction ('asc' or 'desc').")}(e);this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=ty(e)}}]),i}(bH)).\u0275fac=function(e){return MH(e||gH)},gH.\u0275dir=Bt({type:gH,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,Qt]}),gH),MH=Pn(wH),AH=KA.ENTERING+" "+UA.STANDARD_CURVE,kH={indicator:dw("indicator",[vw("active-asc, asc",mw({transform:"translateY(0px)"})),vw("active-desc, desc",mw({transform:"translateY(10px)"})),_w("active-asc <=> active-desc",fw(AH))]),leftPointer:dw("leftPointer",[vw("active-asc, asc",mw({transform:"rotate(-45deg)"})),vw("active-desc, desc",mw({transform:"rotate(45deg)"})),_w("active-asc <=> active-desc",fw(AH))]),rightPointer:dw("rightPointer",[vw("active-asc, asc",mw({transform:"rotate(45deg)"})),vw("active-desc, desc",mw({transform:"rotate(-45deg)"})),_w("active-asc <=> active-desc",fw(AH))]),arrowOpacity:dw("arrowOpacity",[vw("desc-to-active, asc-to-active, active",mw({opacity:1})),vw("desc-to-hint, asc-to-hint, hint",mw({opacity:.54})),vw("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",mw({opacity:0})),_w("* => asc, * => desc, * => active, * => hint, * => void",fw("0ms")),_w("* <=> *",fw(AH))]),arrowPosition:dw("arrowPosition",[_w("* => desc-to-hint, * => desc-to-active",fw(AH,yw([mw({transform:"translateY(-25%)"}),mw({transform:"translateY(0)"})]))),_w("* => hint-to-desc, * => active-to-desc",fw(AH,yw([mw({transform:"translateY(0)"}),mw({transform:"translateY(25%)"})]))),_w("* => asc-to-hint, * => asc-to-active",fw(AH,yw([mw({transform:"translateY(25%)"}),mw({transform:"translateY(0)"})]))),_w("* => hint-to-asc, * => active-to-asc",fw(AH,yw([mw({transform:"translateY(0)"}),mw({transform:"translateY(-25%)"})]))),vw("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",mw({transform:"translateY(0)"})),vw("hint-to-desc, active-to-desc, desc",mw({transform:"translateY(-25%)"})),vw("hint-to-asc, active-to-asc, asc",mw({transform:"translateY(25%)"}))]),allowChildren:dw("allowChildren",[_w("* <=> *",[ww("@*",bw(),{optional:!0})])])},TH=((mH=function e(){y(this,e),this.changes=new Y,this.sortButtonLabel=function(e){return"Change sorting for "+e}}).\u0275fac=function(e){return new(e||mH)},mH.\u0275prov=Le({factory:function(){return new mH},token:mH,providedIn:"root"}),mH),SH={provide:TH,deps:[[new Me,new ke,TH]],useFactory:function(e){return e||new TH}},CH=JA((function e(){y(this,e)})),LH=((yH=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s){var u;if(y(this,i),(u=t.call(this))._intl=e,u._sort=r,u._columnDef=o,u._focusMonitor=a,u._elementRef=s,u._showIndicatorHint=!1,u._arrowDirection="",u._disableViewStateAnimation=!1,u.arrowPosition="after",!r)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return u._rerenderSubscription=le(r.sortChange,r._stateChanges,e.changes).subscribe((function(){u._isSorted()&&u._updateArrowDirection(),!u._isSorted()&&u._viewState&&"active"===u._viewState.toState&&(u._disableViewStateAnimation=!1,u._setAnimationTransitionState({fromState:"active",toState:u._arrowDirection})),n.markForCheck()})),a&&s&&a.monitor(s,!0).subscribe((function(e){return u._setIndicatorHintVisible(!!e)})),p(u)}return b(i,[{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:"ngOnDestroy",value:function(){this._focusMonitor&&this._elementRef&&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:"_handleClick",value:function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var e=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(e),this._showIndicatorHint=!1}}},{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?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":null}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=ty(e)}}]),i}(CH)).\u0275fac=function(e){return new(e||yH)(Ja(TH),Ja(ha),Ja(wH,8),Ja("MAT_SORT_HEADER_COLUMN_DEF",8),Ja(rw),Ja(au))},yH.\u0275cmp=Ot({type:yH,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&cs("click",(function(){return t._handleClick()}))("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:fH,ngContentSelectors:_H,decls:4,vars:7,consts:[[1,"mat-sort-header-container"],["type","button",1,"mat-sort-header-button","mat-focus-indicator"],["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(),es(0,"div",0),es(1,"button",1),vs(2),ts(),Xa(3,pH,6,6,"div",2),ts()),2&e&&(Es("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),jr(1),Ua("disabled",t._isDisabled()||null)("aria-label",t._intl.sortButtonLabel(t.id)),jr(2),Za("ngIf",t._renderArrow()))},directives:[Nh],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor;position:relative}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-button,[mat-sort-header].cdk-program-focused .mat-sort-header-button{border-bottom:solid 1px currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.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:[kH.indicator,kH.leftPointer,kH.rightPointer,kH.arrowOpacity,kH.arrowPosition,kH.allowChildren]},changeDetection:0}),yH),EH=((vH=function e(){y(this,e)}).\u0275mod=Nt({type:vH}),vH.\u0275inj=Ee({factory:function(e){return new(e||vH)},providers:[SH],imports:[[nd]]}),vH);function zH(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ty,n=(t=e)instanceof Date&&!isNaN(+t)?+e-i.now():Math.abs(e);return function(e){return e.lift(new RH(n,i))}}var RH=function(){function e(t,i){y(this,e),this.delay=t,this.scheduler=i}return b(e,[{key:"call",value:function(e,t){return t.subscribe(new OH(e,this.delay,this.scheduler))}}]),e}(),OH=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this,e)).delay=n,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return b(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 xH(t.now()+this.delay,e);this.queue.push(i),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Hy.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Hy.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),xH=function e(t,i){y(this,e),this.time=t,this.notification=i},DH=["mat-menu-item",""],PH=["*"];function NH(e,t){if(1&e){var i=as();es(0,"div",0),cs("keydown",(function(e){return Mi(i),ps()._handleKeydown(e)}))("click",(function(){return Mi(i),ps().closed.emit("click")}))("@transformMenu.start",(function(e){return Mi(i),ps()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return Mi(i),ps()._onAnimationDone(e)})),es(1,"div",1),vs(2),ts(),ts()}if(2&e){var n=ps();Za("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),Ua("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var IH,BH,FH,HH,qH,jH,YH,WH,UH,KH,VH,XH,GH={transformMenu:dw("transformMenu",[vw("void",mw({opacity:0,transform:"scale(0.8)"})),_w("void => enter",pw([ww(".mat-menu-content, .mat-mdc-menu-content",fw("100ms linear",mw({opacity:1}))),fw("120ms cubic-bezier(0, 0, 0.2, 1)",mw({transform:"scale(1)"}))])),_w("* => void",fw("100ms 25ms linear",mw({opacity:0})))]),fadeInItems:dw("fadeInItems",[vw("showing",mw({opacity:1})),_w("void => *",[mw({opacity:0}),fw("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},JH=((IH=function(){function e(t,i,n,r,o,a,s){y(this,e),this._template=t,this._componentFactoryResolver=i,this._appRef=n,this._injector=r,this._viewContainerRef=o,this._document=a,this._changeDetectorRef=s,this._attached=new Y}return b(e,[{key:"attach",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new E_(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new O_(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),e}()).\u0275fac=function(e){return new(e||IH)(Ja(zu),Ja(ou),Ja(gl),Ja(La),Ja(Ou),Ja(Ll),Ja(ha))},IH.\u0275dir=Bt({type:IH,selectors:[["ng-template","matMenuContent",""]]}),IH),QH=new nt("MAT_MENU_PANEL"),ZH=ZA(JA((function e(){y(this,e)}))),$H=((BH=function(e){h(i,e);var t=f(i);function i(e,n,r,o){var a;return y(this,i),(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,r&&r.monitor(a._elementRef,!1),o&&o.addItem&&o.addItem(g(a)),a._document=n,a}return b(i,[{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{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(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,i="";if(e.childNodes)for(var n=e.childNodes.length,r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(qp(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"+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(Up(this._allItems)).subscribe((function(t){e._directDescendantItems.reset(t.filter((function(t){return t._parentMenu===e}))),e._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=ty(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=ty(e)}},{key:"panelClass",set:function(e){var t=this,i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach((function(e){t._classList[e]=!1})),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach((function(e){t._classList[e]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}}]),e}()).\u0275fac=function(e){return new(e||HH)(Ja(au),Ja(Jc),Ja(eq))},HH.\u0275dir=Bt({type:HH,contentQueries:function(e,t,i){var n;1&e&&(wc(i,JH,!0),wc(i,$H,!0),wc(i,$H,!1)),2&e&&(vc(n=kc())&&(t.lazyContent=n.first),vc(n=kc())&&(t._allItems=n),vc(n=kc())&&(t.items=n))},viewQuery:function(e,t){var i;1&e&&_c(zu,!0),2&e&&vc(i=kc())&&(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"}}),HH),nq=((FH=function(e){h(i,e);var t=f(i);function i(){return y(this,i),t.apply(this,arguments)}return i}(iq)).\u0275fac=function(e){return rq(e||FH)},FH.\u0275dir=Bt({type:FH,features:[Oa]}),FH),rq=Pn(nq),oq=((qH=function(e){h(i,e);var t=f(i);function i(e,n,r){return y(this,i),t.call(this,e,n,r)}return i}(nq)).\u0275fac=function(e){return new(e||qH)(Ja(au),Ja(Jc),Ja(eq))},qH.\u0275cmp=Ot({type:qH,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[iu([{provide:QH,useExisting:nq},{provide:nq,useExisting:qH}]),Oa],ngContentSelectors:PH,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,NH,3,6,"ng-template"))},directives:[Oh],styles:['.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.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:[GH.transformMenu,GH.fadeInItems]},changeDetection:0}),qH),aq=new nt("mat-menu-scroll-strategy"),sq={provide:aq,deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},uq=i_({passive:!0}),cq=((XH=function(){function e(t,i,n,r,o,a,s,u){var c=this;y(this,e),this._overlay=t,this._element=i,this._viewContainerRef=n,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=E.EMPTY,this._hoverSubscription=E.EMPTY,this._menuCloseSubscription=E.EMPTY,this._handleTouchStart=function(){return c._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new ac,this.onMenuOpen=this.menuOpened,this.menuClosed=new ac,this.onMenuClose=this.menuClosed,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,uq),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return b(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,uq),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{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 nq&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof nq?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Zd((function(e){return"void"===e.toState})),qp(1),Ry(t.lazyContent._attached)).subscribe({next:function(){return t.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{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:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{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(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{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 U_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",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 i=t("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=i[0],r=i[1],o=t("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=o[0],s=o[1],u=a,c=s,l=n,h=r,d=0;this.triggersSubmenu()?(h=n="before"===this.menu.xPosition?"start":"end",r=l="end"===n?"start":"end",d="bottom"===a?8:-8):this.menu.overlapTrigger||(u="top"===a?"bottom":"top",c="top"===s?"bottom":"top"),e.withPositions([{originX:n,originY:u,overlayX:l,overlayY:a,offsetY:d},{originX:r,originY:u,overlayX:h,overlayY:a,offsetY:d},{originX:n,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(),i=this._overlayRef.detachments();return le(t,this._parentMenu?this._parentMenu.closed:Jd(),this._parentMenu?this._parentMenu._hovered().pipe(Zd((function(t){return t!==e._menuItemInstance})),Zd((function(){return e._menuOpen}))):Jd(),i)}},{key:"_handleMousedown",value:function(e){ew(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&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._hoverSubscription=this._parentMenu._hovered().pipe(Zd((function(t){return t===e._menuItemInstance&&!t.disabled})),zH(0,by)).subscribe((function(){e._openedBy="mouse",e.menu instanceof nq&&e.menu._isAnimating?e.menu._animationDone.pipe(qp(1),zH(0,by),Ry(e._parentMenu._hovered())).subscribe((function(){return e.openMenu()})):e.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new E_(this.menu.templateRef,this._viewContainerRef)),this._portal}},{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.asObservable().subscribe((function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),e}()).\u0275fac=function(e){return new(e||XH)(Ja(gb),Ja(au),Ja(Ou),Ja(aq),Ja(nq,8),Ja($H,10),Ja(u_,8),Ja(rw))},XH.\u0275dir=Bt({type:XH,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"]}),XH),lq=((VH=function e(){y(this,e)}).\u0275mod=Nt({type:VH}),VH.\u0275inj=Ee({factory:function(e){return new(e||VH)},providers:[sq],imports:[GA]}),VH),hq=((KH=function e(){y(this,e)}).\u0275mod=Nt({type:KH}),KH.\u0275inj=Ee({factory:function(e){return new(e||KH)},providers:[sq],imports:[[nd,GA,Dk,wb,lq],M_,GA,lq]}),KH),dq=((UH=function e(){y(this,e),this.exportData=new ac}).\u0275fac=function(e){return new(e||UH)},UH.\u0275cmp=Ot({type:UH,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&&(es(0,"div",0),es(1,"button",1),es(2,"mat-icon"),js(3,"more_vert"),ts(),ts(),es(4,"mat-menu",null,2),es(6,"button",3),js(7),tc(8,"translate"),ts(),ts(),es(9,"mat-menu",null,4),es(11,"button",5),cs("click",(function(){return t.exportData.emit("csv")})),js(12,"Csv"),ts(),ts(),ts()),2&e){var i=Ga(5),n=Ga(10);jr(1),Za("matMenuTriggerFor",i),jr(5),Za("matMenuTriggerFor",n),jr(1),Ws(" ",ic(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[pS,cq,YS,oq,$H],pipes:[uS],styles:[".position-right[_ngcontent-%COMP%]{position:absolute;right:20px;margin:-1.25rem}"]}),UH),fq=((WH=function(){function e(t){y(this,e),this.elementRef=t}return b(e,[{key:"ngOnInit",value:function(){this.elementRef.nativeElement.focus()}}]),e}()).\u0275fac=function(e){return new(e||WH)(Ja(au))},WH.\u0275dir=Bt({type:WH,selectors:[["","perunWebAppsAutoFocus",""]]}),WH),pq=((YH=function(){function e(){y(this,e)}return b(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}()).\u0275fac=function(e){return new(e||YH)},YH.\u0275dir=Bt({type:YH,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&cs("mouseup",(function(e){return t.onClick(e)}))},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),YH),gq=((jH=function(){function e(){y(this,e)}return b(e,[{key:"transform",value:function(e){var t=e.find((function(e){return"mail"===e.friendlyName}));return t?t.value.toString():"N/A"}}]),e}()).\u0275fac=function(e){return new(e||jH)},jH.\u0275pipe=Ft({name:"getMailFromAttributes",type:jH,pure:!0}),jH);function mq(e,t){1&e&&is(0,"th",20)}function vq(e,t){if(1&e){var i=as();es(0,"td",21),es(1,"mat-checkbox",22),cs("change",(function(e){Mi(i);var n=t.$implicit,r=ps();return e?r.selection.toggle(n):null}))("click",(function(e){return Mi(i),e.stopPropagation()})),ts(),ts()}if(2&e){var n=t.$implicit,r=ps();jr(1),Za("aria-label",r.checkboxLabel(n))("checked",r.selection.isSelected(n))}}function yq(e,t){1&e&&(es(0,"th",23),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function _q(e,t){if(1&e&&(es(0,"td",24),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.userExtSource.id)}}function bq(e,t){1&e&&(es(0,"th",20),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function wq(e,t){if(1&e&&(es(0,"td",24),js(1),tc(2,"getMailFromAttributes"),ts()),2&e){var i=t.$implicit;jr(1),Ys(ic(2,1,i.attributes))}}function Mq(e,t){if(1&e&&(es(0,"th",23),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e){var i=ps();jr(1),Ys(ic(2,1,ic(3,3,i.extSourceNameHeader?i.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function Aq(e,t){if(1&e&&(es(0,"td",24),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.userExtSource.extSource.name)}}function kq(e,t){if(1&e&&(es(0,"th",23),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e){var i=ps();jr(1),Ys(ic(2,1,ic(3,3,i.loginHeader?i.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function Tq(e,t){if(1&e&&(es(0,"td",24),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.userExtSource.login)}}function Sq(e,t){1&e&&(es(0,"th",23),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function Cq(e,t){if(1&e&&(es(0,"td",25),js(1),tc(2,"date"),ts()),2&e){var i=t.$implicit;jr(1),Ys(nc(2,1,i.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function Lq(e,t){1&e&&is(0,"tr",26)}var Eq=function(e,t){return["/admin","users",e,"identities",t]};function zq(e,t){if(1&e&&is(0,"tr",27),2&e){var i=t.$implicit,n=ps();Es("cursor-pointer",!n.disableRouting)("disable-outline",n.disableRouting),Za("routerLink",n.disableRouting?null:Qu(6,Eq,n.userId,i.userExtSource.id))("perunWebAppsMiddleClickRouterLink",n.disableRouting?null:Qu(9,Eq,n.userId,i.userExtSource.id))}}function Rq(e,t){1&e&&(es(0,"app-alert",28),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ws(" ",ic(2,1,ic(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}var Oq,xq=((Oq=function(){function e(t,i){y(this,e),this.route=t,this.authResolver=i,this.selection=new v_,this.filterValue="",this.hideColumns=[],this.pageSize=5,this.page=new ac,this.pageSizeOptions=bT,this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"]}return b(e,[{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(e){var t=this;this.authResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(e){return"id"!==e}))),this.displayedColumns=this.displayedColumns.filter((function(e){return!t.hideColumns.includes(e)})),this.dataSource=new TL(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){ST(TT(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 kT(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return AT(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.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)}},{key:"pageChanged",value:function(e){this.page.emit(e)}},{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}}]),e}()).\u0275fac=function(e){return new(e||Oq)(Ja(am),Ja(gp))},Oq.\u0275cmp=Ot({type:Oq,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){var i;1&e&&(_c(hH,!0),yc(wH,!0)),2&e&&(vc(i=kc())&&(t.paginator=i.first),vc(i=kc())&&(t.matSort=i.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",hideColumns:"hideColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[Qt],decls:27,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(e,t){1&e&&(es(0,"div",0),es(1,"div",1),es(2,"perun-web-apps-table-options",2),cs("exportData",(function(e){return t.exportData(e)})),ts(),es(3,"div",3),es(4,"table",4),ns(5,5),Xa(6,mq,1,0,"th",6),Xa(7,vq,2,2,"td",7),rs(),ns(8,8),Xa(9,yq,4,5,"th",9),Xa(10,_q,2,1,"td",10),rs(),ns(11,11),Xa(12,bq,4,5,"th",6),Xa(13,wq,3,3,"td",10),rs(),ns(14,12),Xa(15,Mq,4,5,"th",9),Xa(16,Aq,2,1,"td",10),rs(),ns(17,13),Xa(18,kq,4,5,"th",9),Xa(19,Tq,2,1,"td",10),rs(),ns(20,14),Xa(21,Sq,4,5,"th",9),Xa(22,Cq,3,4,"td",15),rs(),Xa(23,Lq,1,0,"tr",16),Xa(24,zq,1,12,"tr",17),ts(),ts(),es(25,"mat-paginator",18),cs("page",(function(e){return t.pageChanged(e)})),ts(),ts(),ts(),Xa(26,Rq,4,5,"app-alert",19)),2&e&&(Za("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),jr(4),Za("dataSource",t.dataSource),jr(19),Za("matHeaderRowDef",t.displayedColumns),jr(1),Za("matRowDefColumns",t.displayedColumns),jr(1),Za("length",t.userExtSources.length)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions),jr(1),Za("ngIf",0===t.userExtSources.length))},directives:[dq,aL,wH,dL,lL,uL,mL,yL,hH,Nh,pL,gL,YI,LH,bL,ML,Tv,pq,NO],pipes:[uS,nO,gq,id],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}"]}),Oq);function Dq(e,t){1&e&&is(0,"mat-spinner",3)}function Pq(e,t){if(1&e){var i=as();es(0,"div"),es(1,"h1",8),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),es(5,"button",5),cs("click",(function(){return Mi(i),ps(2).addIdentity()})),js(6),tc(7,"translate"),tc(8,"customTranslate"),ts(),es(9,"button",6),cs("click",(function(){Mi(i);var e=ps(2);return e.removeIdentity(e.certSelection)})),js(10),tc(11,"translate"),tc(12,"customTranslate"),ts(),is(13,"perun-web-apps-user-ext-sources-list",11),ts()}if(2&e){var n=ps(2);jr(2),Ys(ic(3,10,ic(4,12,"IDENTITIES.CERT"))),jr(4),Ys(ic(7,14,ic(8,16,"IDENTITIES.ADD"))),jr(3),Za("disabled",0===n.certSelection.selected.length),jr(1),Ys(ic(11,18,ic(12,20,"IDENTITIES.REMOVE"))),jr(3),Za("userExtSources",n.certExtSources)("selection",n.certSelection)("extSourceNameHeader",n.extSourceNameCert)("loginHeader",n.loginCert)("hideColumns",n.hiddenColumnsCert)("disableRouting",!0)}}function Nq(e,t){if(1&e){var i=as();es(0,"div"),es(1,"h1",4),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),es(5,"button",5),cs("click",(function(){return Mi(i),ps().addIdentity()})),js(6),tc(7,"translate"),tc(8,"customTranslate"),ts(),es(9,"button",6),cs("click",(function(){Mi(i);var e=ps();return e.removeIdentity(e.idpSelection)})),js(10),tc(11,"translate"),tc(12,"customTranslate"),ts(),is(13,"perun-web-apps-user-ext-sources-list",7),Xa(14,Pq,14,22,"div",2),es(15,"h1",8),js(16),tc(17,"translate"),tc(18,"customTranslate"),es(19,"mat-icon",9),tc(20,"translate"),tc(21,"customTranslate"),js(22," info_outline "),ts(),ts(),es(23,"button",6),cs("click",(function(){Mi(i);var e=ps();return e.removeIdentity(e.otherSelection)})),js(24),tc(25,"translate"),tc(26,"customTranslate"),ts(),is(27,"perun-web-apps-user-ext-sources-list",10),ts()}if(2&e){var n=ps();jr(2),Ys(ic(3,19,ic(4,21,"IDENTITIES.IDP"))),jr(4),Ys(ic(7,23,ic(8,25,"IDENTITIES.ADD"))),jr(3),Za("disabled",0===n.idpSelection.selected.length),jr(1),Ys(ic(11,27,ic(12,29,"IDENTITIES.REMOVE"))),jr(3),Za("userExtSources",n.idpExtSources)("selection",n.idpSelection)("hideColumns",n.hiddenColumnsIdp)("loginHeader",n.loginIdp)("disableRouting",!0),jr(1),Za("ngIf",n.displayCertificates),jr(2),Ws(" ",ic(17,31,ic(18,33,"IDENTITIES.OTHER"))," "),jr(3),Za("matTooltip",ic(20,35,ic(21,37,"IDENTITIES.OTHER_TOOLTIP"))),jr(4),Za("disabled",0===n.otherSelection.selected.length),jr(1),Ys(ic(25,39,ic(26,41,"IDENTITIES.REMOVE"))),jr(3),Za("userExtSources",n.otherExtSources)("selection",n.otherSelection)("extSourceNameHeader",n.extSourceNameOther)("hideColumns",n.hiddenColumnsOther)("disableRouting",!0)}}var Iq,Bq=((Iq=function(){function e(t,i,n,r,o){y(this,e),this.usersManagerService=t,this.storage=i,this.registrarManagerService=n,this.dialog=r,this.attributesManagerService=o,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new v_(!0,[]),this.certSelection=new v_(!0,[]),this.otherSelection=new v_(!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.hiddenColumnsIdp=["id","mail"],this.hiddenColumnsCert=["id","mail"],this.hiddenColumnsOther=["mail","id"]}return b(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 i=t.length;t.forEach((function(t){e.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe((function(n){n&&n.value?(t.userExtSource.extSource.name=n.value,i--,e.loading=0!==i,e.addToList(t)):e.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe((function(n){i--,n&&n.value&&(t.userExtSource.extSource.name=n.value),e.loading=0!==i,e.addToList(t)}))}))}))}))}},{key:"addIdentity",value:function(){var e=this;this.registrarManagerService.getConsolidatorToken().subscribe((function(t){var i=e.storage.getPerunPrincipal().extSourceType,n=e.storage.get("consolidator_base_url");window.location.href="".concat(n).concat(i&&i.endsWith("X509")?"cert":"fed","-ic/ic/?target_url=").concat(window.location.href,"&token=").concat(t)}))}},{key:"removeIdentity",value:function(e){var t=this,i=wT();i.width="600px",i.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(EO,i).afterClosed().subscribe((function(i){i&&(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}()).\u0275fac=function(e){return new(e||Iq)(Ja(dp),Ja(ey),Ja(lp),Ja(fT),Ja(op))},Iq.\u0275cmp=Ot({type:Iq,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","hideColumns","loginHeader","disableRouting"],[1,"page-title","mt-5"],["matTooltipPosition","above",1,"center-icon",3,"matTooltip"],[3,"userExtSources","selection","extSourceNameHeader","hideColumns","disableRouting"],[3,"userExtSources","selection","extSourceNameHeader","loginHeader","hideColumns","disableRouting"]],template:function(e,t){1&e&&(es(0,"div",0),Xa(1,Dq,1,0,"mat-spinner",1),Xa(2,Nq,28,43,"div",2),ts()),2&e&&(jr(1),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.loading))},directives:[Nh,YR,pS,xq,YS,ZN],pipes:[uS,nO],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),Iq),Fq=["panel"];function Hq(e,t){if(1&e&&(es(0,"div",0,1),vs(2),ts()),2&e){var i=ps();Za("id",i.id)("ngClass",i._classList)}}var qq,jq,Yq,Wq,Uq=["*"],Kq=0,Vq=function e(t,i){y(this,e),this.source=t,this.option=i},Xq=ZA((function e(){y(this,e)})),Gq=new nt("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),Jq=((qq=function(e){h(i,e);var t=f(i);function i(e,n,r){var o;return y(this,i),(o=t.call(this))._changeDetectorRef=e,o._elementRef=n,o._activeOptionChanges=E.EMPTY,o.showPanel=!1,o._isOpen=!1,o.displayWith=null,o.optionSelected=new ac,o.opened=new ac,o.closed=new ac,o.optionActivated=new ac,o._classList={},o.id="mat-autocomplete-"+Kq++,o._autoActiveFirstOption=!!r.autoActiveFirstOption,o}return b(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new jb(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 Vq(this,e);this.optionSelected.emit(t)}},{key:"_setVisibilityClasses",value:function(e){e["mat-autocomplete-visible"]=this.showPanel,e["mat-autocomplete-hidden"]=!this.showPanel}},{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=ty(e)}},{key:"classList",set:function(e){this._classList=e&&e.length?e.split(" ").reduce((function(e,t){return e[t.trim()]=!0,e}),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}}]),i}(Xq)).\u0275fac=function(e){return new(e||qq)(Ja(ha),Ja(au),Ja(Gq))},qq.\u0275cmp=Ot({type:qq,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,i){var n;1&e&&(wc(i,Wk,!0),wc(i,Fk,!0)),2&e&&(vc(n=kc())&&(t.options=n),vc(n=kc())&&(t.optionGroups=n))},viewQuery:function(e,t){var i;1&e&&(yc(zu,!0),_c(Fq,!0)),2&e&&(vc(i=kc())&&(t.template=i.first),vc(i=kc())&&(t.panel=i.first))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple",displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[iu([{provide:Yk,useExisting:qq}]),Oa],ngContentSelectors:Uq,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(ms(),Xa(0,Hq,3,2,"ng-template"))},directives:[Oh],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}\n"],encapsulation:2,changeDetection:0}),qq),Qq=new nt("mat-autocomplete-scroll-strategy"),Zq={provide:Qq,deps:[gb],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},$q={provide:wE,useExisting:qe((function(){return ej})),multi:!0},ej=((Wq=function(){function e(t,i,n,o,a,s,u,c,l,h){var d=this;y(this,e),this._element=t,this._overlay=i,this._viewContainerRef=n,this._zone=o,this._changeDetectorRef=a,this._dir=u,this._formField=c,this._document=l,this._viewportRuler=h,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=E.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Y,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=Tp((function(){return d.autocomplete&&d.autocomplete.options?le.apply(void 0,r(d.autocomplete.options.map((function(e){return e.onSelectionChange})))):d._zone.onStable.asObservable().pipe(qp(1),Bp((function(){return d.optionSelections})))})),this._scrollStrategy=s}return b(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:"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:"_getOutsideClickStream",value:function(){var e=this;return le(sy(this._document,"click"),sy(this._document,"touchend")).pipe(Zd((function(t){var i=e._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=e._formField?e._formField._elementRef.nativeElement:null;return e._overlayAttached&&i!==e._element.nativeElement&&(!n||!n.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(27===t&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var i=this.autocomplete._keyManager.activeItem,n=38===t||40===t;this.panelOpen||9===t?this.autocomplete._keyManager.onKeydown(e):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption()}}},{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:"_scrollToOption",value:function(){var e=this.autocomplete._keyManager.activeItemIndex||0,t=Uk(e,this.autocomplete.options,this.autocomplete.optionGroups);if(0===e&&1===t)this.autocomplete._setScrollTop(0);else{var i=Kk(e+t,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(i)}}},{key:"_subscribeToClosingActions",value:function(){var e=this;return le(this._zone.onStable.asObservable().pipe(qp(1)),this.autocomplete.options.changes.pipe($p((function(){return e._positionStrategy.reapplyLastPosition()})),zH(0))).pipe(Bp((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})),qp(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=this;if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!r_(this._element.nativeElement));var t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new E_(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe((function(t){(27===t.keyCode||38===t.keyCode&&t.altKey)&&(e._resetActiveItem(),e._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())})),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe((function(){e.panelOpen&&t&&t.updateSize({width:e._getPanelWidth()})})))),t&&!t.hasAttached()&&(t.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(){return new U_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}},{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=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"}];t="above"===this.position?n:"below"===this.position?i:[].concat(i,n),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(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-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:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=ty(e)}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"panelClosingActions",get:function(){var e=this;return le(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Zd((function(){return e._overlayAttached}))),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Zd((function(){return e._overlayAttached}))):Jd()).pipe(ee((function(e){return e instanceof jk?e:null})))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}]),e}()).\u0275fac=function(e){return new(e||Wq)(Ja(au),Ja(gb),Ja(Ou),Ja(Jc),Ja(ha),Ja(Qq),Ja(u_,8),Ja(yE,9),Ja(Ll,8),Ja(w_))},Wq.\u0275dir=Bt({type:Wq,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)},inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},exportAs:["matAutocompleteTrigger"],features:[iu([$q]),Qt]}),Wq),tj=((Yq=function e(){y(this,e)}).\u0275mod=Nt({type:Yq}),Yq.\u0275inj=Ee({factory:function(e){return new(e||Yq)},providers:[Zq],imports:[[Xk,wb,GA,nd],M_,Xk,GA]}),Yq),ij=((jq=function(){function e(){y(this,e)}return b(e,[{key:"transform",value:function(e,t){return e&&e.value?e.value:"never"}}]),e}()).\u0275fac=function(e){return new(e||jq)},jq.\u0275pipe=Ft({name:"validateExpiration",type:jq,pure:!0}),jq);function nj(e,t){1&e&&is(0,"th",18)}function rj(e,t){if(1&e){var i=as();es(0,"td",19),es(1,"mat-checkbox",20),cs("click",(function(e){return Mi(i),e.stopPropagation()}))("change",(function(e){Mi(i);var n=t.$implicit,r=ps();return e?r.selection.toggle(n):null})),tc(2,"validateExpiration"),ts(),ts()}if(2&e){var n=t.$implicit,r=ps();jr(1),Za("disabled","never"===ic(2,3,n.expirationAttribute))("checked",r.selection.isSelected(n))("aria-label",r.checkboxLabel(n))}}function oj(e,t){1&e&&(es(0,"th",18),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"MEMBERSHIP_LIST.NAME"))))}function aj(e,t){if(1&e&&(es(0,"td",19),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.entity.name)}}function sj(e,t){1&e&&(es(0,"th",18),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))))}function uj(e,t){if(1&e&&(es(0,"td",21),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.entity.description)}}function cj(e,t){1&e&&(es(0,"th",22),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"MEMBERSHIP_LIST.EXPIRATION"))))}function lj(e,t){if(1&e&&(es(0,"td",21),js(1),tc(2,"validateExpiration"),ts()),2&e){var i=t.$implicit;jr(1),Ws(" ",ic(2,1,i.expirationAttribute)," ")}}function hj(e,t){1&e&&is(0,"th",18)}function dj(e,t){if(1&e){var i=as();es(0,"td",21),es(1,"button",23),cs("click",(function(){Mi(i);var e=t.$implicit;return ps().extend(e)})),tc(2,"validateExpiration"),js(3),tc(4,"translate"),tc(5,"customTranslate"),ts(),ts()}if(2&e){var n=t.$implicit;jr(1),Za("disabled","never"===ic(2,2,n.expirationAttribute)),jr(2),Ys(ic(4,4,ic(5,6,"MEMBERSHIP_LIST.EXTEND")))}}function fj(e,t){1&e&&is(0,"tr",24)}function pj(e,t){1&e&&is(0,"tr",25)}function gj(e,t){1&e&&(es(0,"app-alert",26),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}var mj,vj=((mj=function(){function e(){y(this,e),this.members=[],this.searchString="",this.selection=new v_(!1,[]),this.hideColumns=[],this.pageSize=10,this.filterValue="",this.extendMembership=new ac,this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.pageSizeOptions=bT}return b(e,[{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{key:"ngOnChanges",value:function(e){var t=this;this.displayedColumns=this.displayedColumns.filter((function(e){return!t.hideColumns.includes(e)})),this.dataSource=new TL(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){ST(TT(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.hideColumns.includes(t)})),this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return kT(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return AT(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.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)}},{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}}]),e}()).\u0275fac=function(e){return new(e||mj)},mj.\u0275cmp=Ot({type:mj,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,t){var i;1&e&&(yc(wH,!0),_c(hH,!0)),2&e&&(vc(i=kc())&&(t.matSort=i.first),vc(i=kc())&&(t.paginator=i.first))},inputs:{members:"members",searchString:"searchString",selection:"selection",hideColumns:"hideColumns",pageSize:"pageSize",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[Qt],decls:24,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body","table-theme"],[3,"exportData"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",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"],["mat-row","","class","dark-hover-list-item",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"disabled","checked","aria-label","click","change"],["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&&(es(0,"div",0),es(1,"div",1),es(2,"perun-web-apps-table-options",2),cs("exportData",(function(e){return t.exportData(e)})),ts(),es(3,"div",3),es(4,"table",4),ns(5,5),Xa(6,nj,1,0,"th",6),Xa(7,rj,3,5,"td",7),rs(),ns(8,8),Xa(9,oj,4,5,"th",6),Xa(10,aj,2,1,"td",7),rs(),ns(11,9),Xa(12,sj,4,5,"th",6),Xa(13,uj,2,1,"td",10),rs(),ns(14,11),Xa(15,cj,4,5,"th",12),Xa(16,lj,3,3,"td",10),rs(),ns(17,13),Xa(18,hj,1,0,"th",6),Xa(19,dj,6,8,"td",10),rs(),Xa(20,fj,1,0,"tr",14),Xa(21,pj,1,0,"tr",15),ts(),ts(),is(22,"mat-paginator",16),ts(),ts(),Xa(23,gj,4,5,"app-alert",17)),2&e&&(Za("hidden",!t.dataSource.filteredData.length),jr(4),Za("dataSource",t.dataSource),jr(16),Za("matHeaderRowDef",t.displayedColumns),jr(1),Za("matRowDefColumns",t.displayedColumns),jr(1),Za("length",t.members.length)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions),jr(1),Za("ngIf",!t.dataSource.filteredData.length))},directives:[dq,aL,wH,dL,lL,uL,mL,yL,hH,Nh,pL,gL,YI,LH,pS,bL,ML,NO],pipes:[ij,uS,nO],styles:[""]}),mj);function yj(e,t){if(1&e&&(es(0,"mat-option",13),js(1),ts()),2&e){var i=t.$implicit;Za("value",i),jr(1),Ws(" ",i.name," ")}}function _j(e,t){if(1&e){var i=as();es(0,"mat-form-field",7),es(1,"mat-label"),js(2),tc(3,"translate"),ts(),is(4,"input",8),tc(5,"translate"),tc(6,"customTranslate"),es(7,"mat-autocomplete",9,10),cs("optionSelected",(function(e){return Mi(i),ps().filterByVo(e)})),es(9,"mat-option",11),js(10),tc(11,"translate"),tc(12,"customTranslate"),ts(),Xa(13,yj,2,2,"mat-option",12),tc(14,"async"),ts(),ts()}if(2&e){var n=Ga(8),r=ps();jr(2),Ys(ic(3,7,"GROUPS.SELECT_VO")),jr(2),ys("placeholder",ic(5,9,ic(6,11,"GROUPS.SELECT_VO"))),Za("formControl",r.myControl)("matAutocomplete",n),jr(3),Za("displayWith",r.displayFn),jr(3),Ys(ic(11,13,ic(12,15,"GROUPS.ALL"))),jr(3),Za("ngForOf",ic(14,17,r.filteredVos))}}function bj(e,t){1&e&&is(0,"mat-spinner",14)}function wj(e,t){1&e&&(es(0,"app-alert",15),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"GROUPS.NO_GROUPS"))))}var Mj=function(){return["checkbox"]};function Aj(e,t){if(1&e){var i=as();es(0,"div"),es(1,"h4",16),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),es(5,"perun-web-apps-membership-list",17),cs("extendMembership",(function(e){return Mi(i),ps().extendMembership(e)})),ts(),ts()}if(2&e){var n=ps();jr(2),Ys(ic(3,4,ic(4,6,"GROUPS.MEMBER_GROUPS"))),jr(3),Za("members",n.userMemberships)("selection",n.selection)("hideColumns",Gu(8,Mj))}}var kj=function(){return["checkbox","expirationAttribute","extend"]};function Tj(e,t){if(1&e&&(es(0,"div",18),es(1,"h4",16),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),is(5,"perun-web-apps-membership-list",19),ts()),2&e){var i=ps();jr(2),Ys(ic(3,3,ic(4,5,"GROUPS.ADMINS_GROUPS"))),jr(3),Za("members",i.adminMemberships)("hideColumns",Gu(7,kj))}}var Sj,Cj=((Sj=function(){function e(t,i,n,r,o,a){y(this,e),this.usersService=t,this.memberService=i,this.groupService=n,this.store=r,this.vosManagerService=o,this.attributesManagerService=a,this.loading=!1,this.vos=[],this.myControl=new Fz,this.selection=new v_(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}return b(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(Up(""),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,i=0;this.userMemberships=[],this.adminMemberships=[];var n=this.store.getPerunPrincipal().roles.SELF.Member;n.length?i=n.length:this.loading=!1,n.forEach((function(n){i--,e.groupService.getMemberGroups(n).subscribe((function(r){t+=r.length,e.loading=0===t&&0!==i,r.forEach((function(i){e.attributesManagerService.getMemberGroupAttributes(n,i.id).subscribe((function(n){t--,e.userMemberships.push({entity:i,expirationAttribute:n.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 i=e.option.value;this.memberService.getMemberByUser(i.id,this.userId).subscribe((function(e){t.groupService.getMemberGroups(e.id).subscribe((function(i){var n=i.length;t.loading=0!==n,i.forEach((function(i){t.attributesManagerService.getMemberGroupAttributes(e.id,i.id).subscribe((function(e){n--,t.userMemberships.push({entity:i,expirationAttribute:e.find((function(e){return"groupMembershipExpiration"===e.friendlyName}))}),t.loading=0!==n}))}))}))})),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,i.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"),i=e.entity,n=this.vos.find((function(e){return e.id===i.voId})).shortName;window.location.href="".concat(t,"?vo=").concat(n,"&group=").concat(e.entity.shortName)}}]),e}()).\u0275fac=function(e){return new(e||Sj)(Ja(dp),Ja(up),Ja(sp),Ja(ey),Ja(fp),Ja(op))},Sj.\u0275cmp=Ot({type:Sj,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","hideColumns","extendMembership"],[1,"mt-5"],[3,"members","hideColumns"]],template:function(e,t){1&e&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),Xa(5,_j,15,19,"mat-form-field",2),Xa(6,bj,1,0,"mat-spinner",3),Xa(7,wj,4,5,"app-alert",4),Xa(8,Aj,6,9,"div",5),Xa(9,Tj,6,8,"div",6),ts()),2&e&&(jr(1),Ys(ic(2,6,ic(3,8,"GROUPS.TITLE"))),jr(4),Za("ngIf",!t.loading),jr(1),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.userMemberships.length&&!t.adminMemberships.length&&!t.loading),jr(1),Za("ngIf",!t.loading&&0!==t.userMemberships.length),jr(1),Za("ngIf",!t.loading&&0!==t.adminMemberships.length))},directives:[Nh,_E,hE,pR,SE,ej,OE,Qz,Jq,Wk,Dh,YR,NO,vj],pipes:[uS,nO,td],styles:[""]}),Sj);function Lj(e,t){if(1&e&&(is(0,"input",3),tc(1,"translate")),2&e){var i=ps();ys("placeholder",ic(1,2,i.placeholder)),Za("formControl",i.formControl)}}function Ej(e,t){if(1&e&&(is(0,"input",4),tc(1,"translate")),2&e){var i=ps();ys("placeholder",ic(1,2,i.placeholder)),Za("formControl",i.formControl)}}var zj,Rj,Oj,xj,Dj=((xj=function(){function e(){y(this,e),this.filter=new ac,this.autoFocus=!1,this.formControl=new Fz}return b(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}()).\u0275fac=function(e){return new(e||xj)},xj.\u0275cmp=Ot({type:xj,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&&(es(0,"mat-form-field",0),Xa(1,Lj,2,4,"input",1),Xa(2,Ej,2,4,"input",2),ts()),2&e&&(jr(1),Za("ngIf",t.autoFocus),jr(1),Za("ngIf",!t.autoFocus))},directives:[_E,Nh,pR,SE,fq,OE,Qz],pipes:[uS],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important}"]}),xj),Pj=0,Nj=((Oj=function(){function e(){y(this,e),this._stateChanges=new Y,this._openCloseAllActions=new Y,this.id="cdk-accordion-"+Pj++,this._multi=!1}return b(e,[{key:"openAll",value:function(){this._openCloseAll(!0)}},{key:"closeAll",value:function(){this._openCloseAll(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_openCloseAll",value:function(e){this.multi&&this._openCloseAllActions.next(e)}},{key:"multi",get:function(){return this._multi},set:function(e){this._multi=ty(e)}}]),e}()).\u0275fac=function(e){return new(e||Oj)},Oj.\u0275dir=Bt({type:Oj,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Qt]}),Oj),Ij=0,Bj=((Rj=function(){function e(t,i,n){var r=this;y(this,e),this.accordion=t,this._changeDetectorRef=i,this._expansionDispatcher=n,this._openCloseAllSubscription=E.EMPTY,this.closed=new ac,this.opened=new ac,this.destroyed=new ac,this.expandedChange=new ac,this.id="cdk-accordion-child-"+Ij++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.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 b(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)}))}},{key:"expanded",get:function(){return this._expanded},set:function(e){e=ty(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=ty(e)}}]),e}()).\u0275fac=function(e){return new(e||Rj)(Ja(Nj,12),Ja(ha),Ja(y_))},Rj.\u0275dir=Bt({type:Rj,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[iu([{provide:Nj,useValue:void 0}])]}),Rj),Fj=((zj=function e(){y(this,e)}).\u0275mod=Nt({type:zj}),zj.\u0275inj=Ee({factory:function(e){return new(e||zj)}}),zj),Hj=["body"];function qj(e,t){}var jj=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Yj=["mat-expansion-panel-header","*","mat-action-row"],Wj=function(e,t){return{collapsedHeight:e,expandedHeight:t}},Uj=function(e,t){return{value:e,params:t}};function Kj(e,t){1&e&&is(0,"span",2),2&e&&Za("@indicatorRotate",ps()._getExpandedState())}var Vj,Xj,Gj,Jj,Qj,Zj,$j=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],eY=["mat-panel-title","mat-panel-description","*"],tY=new nt("MAT_ACCORDION"),iY={indicatorRotate:dw("indicatorRotate",[vw("collapsed, void",mw({transform:"rotate(0deg)"})),vw("expanded",mw({transform:"rotate(180deg)"})),_w("expanded <=> collapsed, void => collapsed",fw("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:dw("expansionHeight",[vw("collapsed, void",mw({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),vw("expanded",mw({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),_w("expanded <=> collapsed, void => collapsed",pw([ww("@indicatorRotate",bw(),{optional:!0}),fw("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:dw("bodyExpansion",[vw("collapsed, void",mw({height:"0px",visibility:"hidden"})),vw("expanded",mw({height:"*",visibility:"visible"})),_w("expanded <=> collapsed, void => collapsed",fw("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},nY=((Vj=function e(t){y(this,e),this._template=t}).\u0275fac=function(e){return new(e||Vj)(Ja(zu))},Vj.\u0275dir=Bt({type:Vj,selectors:[["ng-template","matExpansionPanelContent",""]]}),Vj),rY=0,oY=new nt("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),aY=((Qj=function(e){h(i,e);var t=f(i);function i(e,n,r,o,a,s,u){var c;return y(this,i),(c=t.call(this,e,n,r))._viewContainerRef=o,c._animationMode=s,c._hideToggle=!1,c.afterExpand=new ac,c.afterCollapse=new ac,c._inputChanges=new Y,c._headerId="mat-expansion-panel-header-"+rY++,c._bodyAnimationDone=new Y,c.accordion=e,c._document=a,c._bodyAnimationDone.pipe(My((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 b(i,[{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(Up(null),Zd((function(){return e.expanded&&!e._portal})),qp(1)).subscribe((function(){e._portal=new E_(e._lazyContent._template,e._viewContainerRef)}))}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){l(v(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}},{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=ty(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}}]),i}(Bj)).\u0275fac=function(e){return new(e||Qj)(Ja(tY,12),Ja(ha),Ja(y_),Ja(Ou),Ja(Ll),Ja(IA,8),Ja(oY,8))},Qj.\u0275cmp=Ot({type:Qj,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,i){var n;1&e&&wc(i,nY,!0),2&e&&vc(n=kc())&&(t._lazyContent=n.first)},viewQuery:function(e,t){var i;1&e&&_c(Hj,!0),2&e&&vc(i=kc())&&(t._body=i.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:[iu([{provide:tY,useValue:void 0}]),Oa,Qt],ngContentSelectors:Yj,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(jj),vs(0),es(1,"div",0,1),cs("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),es(3,"div",2),vs(4,1),Xa(5,qj,0,0,"ng-template",3),ts(),vs(6,2),ts()),2&e&&(jr(1),Za("@bodyExpansion",t._getExpandedState())("id",t.id),Ua("aria-labelledby",t._headerId),jr(4),Za("cdkPortalOutlet",t._portal))},directives:[x_],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:[iY.bodyExpansion]},changeDetection:0}),Qj),sY=((Jj=function(){function e(t,i,n,r,o){var a=this;y(this,e),this.panel=t,this._element=i,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=E.EMPTY,this._animationsDisabled=!0;var s=t.accordion?t.accordion._stateChanges.pipe(Zd((function(e){return!(!e.hideToggle&&!e.togglePosition)}))):Ap;this._parentChangeSubscription=le(t.opened,t.closed,s,t._inputChanges.pipe(Zd((function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)})))).subscribe((function(){return a._changeDetectorRef.markForCheck()})),t.closed.pipe(Zd((function(){return t._containsFocus()}))).subscribe((function(){return n.focusVia(i,"program")})),n.monitor(i).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(a)})),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return b(e,[{key:"_animationStarted",value:function(){this._animationsDisabled=!1}},{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:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:P_(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,e,t)}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}},{key:"disabled",get:function(){return this.panel.disabled}}]),e}()).\u0275fac=function(e){return new(e||Jj)(Ja(aY,1),Ja(au),Ja(rw),Ja(ha),Ja(oY,8))},Jj.\u0275cmp=Ot({type:Jj,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(e,t){1&e&&(ls("@expansionHeight.start",(function(){return t._animationStarted()})),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),Xs("@.disabled",t._animationsDisabled)("@expansionHeight",Qu(16,Uj,t._getExpandedState(),Qu(13,Wj,t.collapsedHeight,t.expandedHeight))),Es("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:eY,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($j),es(0,"span",0),vs(1),vs(2,1),vs(3,2),ts(),Xa(4,Kj,1,1,"span",1)),2&e&&(jr(4),Za("ngIf",t._showToggle()))},directives:[Nh],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.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}\n'],encapsulation:2,data:{animation:[iY.indicatorRotate,iY.expansionHeaderHeight]},changeDetection:0}),Jj),uY=((Gj=function e(){y(this,e)}).\u0275fac=function(e){return new(e||Gj)},Gj.\u0275dir=Bt({type:Gj,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Gj),cY=((Xj=function(e){h(i,e);var t=f(i);function i(){var e;return y(this,i),(e=t.apply(this,arguments))._ownHeaders=new uc,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return b(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Up(this._headers)).subscribe((function(t){e._ownHeaders.reset(t.filter((function(t){return t.panel.accordion===e}))),e._ownHeaders.notifyOnChanges()})),this._keyManager=new Yb(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(e){var t=e.keyCode,i=this._keyManager;36===t?P_(e)||(i.setFirstItemActive(),e.preventDefault()):35===t?P_(e)||(i.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=ty(e)}}]),i}(Nj)).\u0275fac=function(e){return lY(e||Xj)},Xj.\u0275dir=Bt({type:Xj,selectors:[["mat-accordion"]],contentQueries:function(e,t,i){var n;1&e&&wc(i,sY,!0),2&e&&vc(n=kc())&&(t._headers=n)},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:[iu([{provide:tY,useExisting:Xj}]),Oa]}),Xj),lY=Pn(cY),hY=((Zj=function e(){y(this,e)}).\u0275mod=Nt({type:Zj}),Zj.\u0275inj=Ee({factory:function(e){return new(e||Zj)},imports:[[nd,Fj,D_]]}),Zj);function dY(e,t){1&e&&(es(0,"mat-icon",1),tc(1,"translate"),js(2," visibility\n"),ts()),2&e&&ys("matTooltip",ic(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}var fY,pY,gY=((pY=function(){function e(){y(this,e),this.recentIds=[]}return b(e,[{key:"ngOnChanges",value:function(e){}}]),e}()).\u0275fac=function(e){return new(e||pY)},pY.\u0275cmp=Ot({type:pY,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},features:[Qt],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,dY,3,3,"mat-icon",0),2&e&&Za("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[Nh,YS,ZN],pipes:[uS],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),pY),mY=((fY=function(){function e(){y(this,e)}return b(e,[{key:"transform",value:function(e,t){if(null==e)return null;var i="";return e.forEach((function(e){i=i.concat(e.tagName)})),i}}]),e}()).\u0275fac=function(e){return new(e||fY)},fY.\u0275pipe=Ft({name:"resourceTagsToString",type:fY,pure:!0}),fY);function vY(e,t){if(1&e){var i=as();es(0,"th",22),es(1,"mat-checkbox",23),cs("change",(function(e){Mi(i);var t=ps();return e?t.masterToggle():null})),ts(),ts()}if(2&e){var n=ps();jr(1),Za("aria-label",n.checkboxLabel())("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())}}function yY(e,t){if(1&e){var i=as();es(0,"td",24),es(1,"mat-checkbox",25),cs("change",(function(e){Mi(i);var n=t.$implicit,r=ps();return e?r.itemSelectionToggle(n):null}))("click",(function(e){return Mi(i),e.stopPropagation()})),ts(),ts()}if(2&e){var n=t.$implicit,r=ps();jr(1),Za("aria-label",r.checkboxLabel(n))("checked",r.selection.isSelected(n))}}function _Y(e,t){1&e&&(es(0,"th",26),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ys(ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function bY(e,t){if(1&e&&(es(0,"td",24),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.id)}}function wY(e,t){1&e&&is(0,"th",22)}function MY(e,t){if(1&e&&(es(0,"td",27),is(1,"perun-web-apps-recently-viewed-icon",28),ts()),2&e){var i=t.$implicit,n=ps();jr(1),Za("recentIds",n.recentIds)("id",i.id)}}function AY(e,t){1&e&&(es(0,"th",26),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ys(ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function kY(e,t){if(1&e&&(es(0,"td",27),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.name)}}function TY(e,t){1&e&&(es(0,"th",26),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ys(ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function SY(e,t){if(1&e&&(es(0,"td",27),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.vo.name)}}function CY(e,t){1&e&&(es(0,"th",26),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ys(ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function LY(e,t){if(1&e&&(es(0,"td",27),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.facility.name)}}function EY(e,t){1&e&&(es(0,"th",26),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ys(ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function zY(e,t){if(1&e&&(es(0,"td",27),js(1),tc(2,"resourceTagsToString"),ts()),2&e){var i=t.$implicit;jr(1),Ys(ic(2,1,i.resourceTags))}}function RY(e,t){1&e&&(es(0,"th",26),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ys(ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function OY(e,t){if(1&e&&(es(0,"td",27),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i.description)}}function xY(e,t){1&e&&is(0,"tr",29)}var DY=function(e){return[e]};function PY(e,t){if(1&e&&(is(0,"tr",30),tc(1,"getResourceRoute"),tc(2,"getResourceRoute")),2&e){var i=t.$implicit,n=ps();Es("cursor-pointer",!n.disableRouting)("disable-outline",n.disableRouting),Za("routerLink",n.disableRouting?null:nc(1,6,i,n.routingVo))("perunWebAppsMiddleClickRouterLink",Ju(12,DY,n.disableRouting?null:nc(2,9,i,n.routingVo)))}}function NY(e,t){1&e&&(es(0,"app-alert",31),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ws(" ",ic(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function IY(e,t){1&e&&(es(0,"app-alert",31),js(1),tc(2,"translate"),ts()),2&e&&(jr(1),Ws(" ",ic(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}var BY,FY=((BY=function(){function e(t,i){y(this,e),this.guiAuthResolver=t,this.tableCheckbox=i,this.resources=[],this.selection=new v_(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","facility","tags","description"],this.pageSizeOptions=bT,this.page=new ac,this.allSelected=new ac,this.removeAuth=!1,this.addAuth=!1}return b(e,[{key:"ngOnChanges",value:function(e){this.guiAuthResolver.isPerunAdmin()||(this.displayedColumns=this.displayedColumns.filter((function(e){return"id"!==e}))),this.dataSource=new TL(this.resources),this.setDataSource(),this.dataSource.filter=this.filterValue,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;default:return e[t]}}},{key:"exportData",value:function(e){ST(TT(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 kT(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return AT(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"isAllSelected",value:function(){var e=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.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.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:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator}},{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()}},{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"matPaginator",set:function(e){this.paginator=e}}]),e}()).\u0275fac=function(e){return new(e||BY)(Ja(gp),Ja(QS))},BY.\u0275cmp=Ot({type:BY,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){var i;1&e&&(yc(wH,!0),yc(hH,!0)),2&e&&(vc(i=kc())&&(t.matSort=i.first),vc(i=kc())&&(t.matPaginator=i.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds"},outputs:{page:"page",allSelected:"allSelected"},features:[Qt],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[1,"card-body"],[1,"ml-auto",3,"exportData"],[1,"overflow-auto"],["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","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(e,t){1&e&&(es(0,"div",0),es(1,"div",1),es(2,"perun-web-apps-table-options",2),cs("exportData",(function(e){return t.exportData(e)})),ts(),es(3,"div",3),es(4,"table",4),ns(5,5),Xa(6,vY,2,3,"th",6),Xa(7,yY,2,2,"td",7),rs(),ns(8,8),Xa(9,_Y,3,3,"th",9),Xa(10,bY,2,1,"td",10),rs(),ns(11,11),Xa(12,wY,1,0,"th",6),Xa(13,MY,2,2,"td",12),rs(),ns(14,13),Xa(15,AY,3,3,"th",9),Xa(16,kY,2,1,"td",12),rs(),ns(17,14),Xa(18,TY,3,3,"th",9),Xa(19,SY,2,1,"td",12),rs(),ns(20,15),Xa(21,CY,3,3,"th",9),Xa(22,LY,2,1,"td",12),rs(),ns(23,16),Xa(24,EY,3,3,"th",9),Xa(25,zY,3,3,"td",12),rs(),ns(26,17),Xa(27,RY,3,3,"th",9),Xa(28,OY,2,1,"td",12),rs(),Xa(29,xY,1,0,"tr",18),Xa(30,PY,3,14,"tr",19),ts(),ts(),es(31,"mat-paginator",20),cs("page",(function(e){return t.page.emit(e)})),ts(),ts(),ts(),Xa(32,NY,3,3,"app-alert",21),Xa(33,IY,3,3,"app-alert",21)),2&e&&(Za("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),jr(4),Za("dataSource",t.dataSource),jr(25),Za("matHeaderRowDef",t.displayedColumns),jr(1),Za("matRowDefColumns",t.displayedColumns),jr(1),Za("length",t.resources.length)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions),jr(1),Za("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),jr(1),Za("ngIf",0===t.resources.length))},directives:[dq,aL,wH,dL,lL,uL,mL,yL,hH,Nh,pL,YI,gL,LH,gY,bL,ML,Tv,pq,NO],pipes:[uS,mY,rO],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}"]}),BY);function HY(e,t){1&e&&is(0,"mat-spinner",8)}var qY=function(){return["name","description"]};function jY(e,t){1&e&&is(0,"perun-web-apps-resources-list",9),2&e&&Za("resources",ps(3).resources)("displayedColumns",Gu(3,qY))("disableRouting",!0)}function YY(e,t){if(1&e&&(Xa(0,HY,1,0,"mat-spinner",6),Xa(1,jY,1,4,"perun-web-apps-resources-list",7)),2&e){var i=ps(2);Za("ngIf",i.loading),jr(1),Za("ngIf",!i.loading)}}function WY(e,t){if(1&e){var i=as();es(0,"mat-expansion-panel",4),cs("opened",(function(){Mi(i);var e=t.$implicit;return ps().getMemberData(e)})),es(1,"mat-expansion-panel-header"),es(2,"mat-panel-title"),js(3),ts(),ts(),Xa(4,YY,2,2,"ng-template",5),ts()}if(2&e){var n=t.$implicit;jr(3),Ws(" ",n.name," ")}}var UY,KY=((UY=function(){function e(t,i,n,r){y(this,e),this.usersManagerService=t,this.membersManagerService=i,this.resourcesManagerService=n,this.storage=r,this.resources=[],this.filteredVos=[]}return b(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}()).\u0275fac=function(e){return new(e||UY)(Ja(dp),Ja(up),Ja(hp),Ja(ey))},UY.\u0275cmp=Ot({type:UY,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),es(5,"perun-web-apps-immediate-filter",2),cs("filter",(function(e){return t.applyFilter(e)})),tc(6,"translate"),tc(7,"customTranslate"),ts(),es(8,"mat-accordion"),Xa(9,WY,5,1,"mat-expansion-panel",3),ts(),ts()),2&e&&(jr(1),Ys(ic(2,3,ic(3,5,"SERVICES.TITLE"))),jr(4),Za("placeholder",ic(6,7,ic(7,9,"SERVICES.FILTER"))),jr(4),Za("ngForOf",t.filteredVos))},directives:[Dj,cY,Dh,aY,sY,uY,nY,Nh,YR,FY],pipes:[uS,nO],styles:[""]}),UY);function VY(e,t){if(1&e){var i=as();es(0,"perun-web-apps-immediate-filter",5),cs("filter",(function(e){return Mi(i),ps().applyFilter(e)})),ts()}2&e&&Za("placeholder","ORGANIZATIONS.FILTER")}function XY(e,t){1&e&&is(0,"mat-spinner",6)}var GY=function(){return["checkbox","description"]};function JY(e,t){if(1&e){var i=as();es(0,"div"),es(1,"perun-web-apps-membership-list",11),cs("extendMembership",(function(e){return Mi(i),ps(2).extendMembership(e)})),ts(),ts()}if(2&e){var n=ps(2);jr(1),Za("members",n.userMemberships)("selection",n.selection)("filterValue",n.filterValue)("hideColumns",Gu(4,GY))}}function QY(e,t){1&e&&(es(0,"app-alert",12),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function ZY(e,t){if(1&e&&(es(0,"div",7),es(1,"h1",8),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),Xa(5,JY,2,5,"div",9),Xa(6,QY,4,5,"app-alert",10),ts()),2&e){var i=ps();jr(2),Ys(ic(3,3,ic(4,5,"ORGANIZATIONS.IS_MEMBER"))),jr(3),Za("ngIf",0!==i.userMemberships.length),jr(1),Za("ngIf",0===i.userMemberships.length)}}function $Y(e,t){1&e&&(es(0,"app-alert",12),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}var eW=function(){return["checkbox","description","expirationAttribute","extend"]};function tW(e,t){if(1&e&&is(0,"perun-web-apps-membership-list",14),2&e){var i=ps(2);Za("members",i.adminMemberships)("filterValue",i.filterValue)("hideColumns",Gu(3,eW))}}function iW(e,t){if(1&e&&(es(0,"div",7),es(1,"h1",8),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),Xa(5,$Y,4,5,"app-alert",10),Xa(6,tW,1,4,"perun-web-apps-membership-list",13),ts()),2&e){var i=ps();jr(2),Ys(ic(3,3,ic(4,5,"ORGANIZATIONS.IS_ADMIN"))),jr(3),Za("ngIf",!i.adminMemberships.length),jr(1),Za("ngIf",i.adminMemberships.length)}}var nW,rW,oW,aW=((oW=function(){function e(t,i,n){y(this,e),this.usersService=t,this.store=i,this.membersService=n,this.filterValue="",this.selection=new v_(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}return b(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(i){e.vosCount=t.length+i.length,e.fillMemberships(t,e.userMemberships),e.fillMemberships(i,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 i=this;this.membersService.getMembersByUser(this.userId).subscribe((function(n){e.forEach((function(e){var r=n.find((function(t){return t.voId===e.id}));r?i.membersService.getRichMemberWithAttributes(r.id).subscribe((function(n){var r=n.memberAttributes.find((function(e){return"membershipExpiration"===e.friendlyName}));t.push({entity:e,expirationAttribute:r}),i.isEverythingLoaded()})):(t.push({entity:e,expirationAttribute:null}),i.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}()).\u0275fac=function(e){return new(e||oW)(Ja(dp),Ja(ey),Ja(up))},oW.\u0275cmp=Ot({type:oW,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","hideColumns","extendMembership"],["alert_type","warn"],[3,"members","filterValue","hideColumns",4,"ngIf"],[3,"members","filterValue","hideColumns"]],template:function(e,t){1&e&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),Xa(5,VY,1,1,"perun-web-apps-immediate-filter",2),Xa(6,XY,1,0,"mat-spinner",3),Xa(7,ZY,7,7,"div",4),Xa(8,iW,7,7,"div",4),ts()),2&e&&(jr(1),Ys(ic(2,5,ic(3,7,"ORGANIZATIONS.TITLE"))),jr(4),Za("ngIf",!t.loading),jr(1),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.loading),jr(1),Za("ngIf",!t.loading))},directives:[Nh,Dj,YR,vj,NO],pipes:[uS,nO],styles:[""]}),oW),sW=((rW=function(){function e(){y(this,e)}return b(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||rW)},rW.\u0275cmp=Ot({type:rW,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,t){1&e&&(es(0,"div",0),is(1,"router-outlet"),ts())},directives:[Rv],styles:[""]}),rW),uW=((nW=function(){function e(t,i){y(this,e),this.dialogRef=t,this.data=i,this.password=""}return b(e,[{key:"ngOnInit",value:function(){this.password=this.data.password}},{key:"onClose",value:function(){this.dialogRef.close()}}]),e}()).\u0275fac=function(e){return new(e||nW)(Ja(uT),Ja(cT))},nW.\u0275cmp=Ot({type:nW,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),es(5,"p"),js(6),tc(7,"translate"),tc(8,"customTranslate"),ts(),es(9,"label"),is(10,"input",2),ts(),ts(),es(11,"div",3),es(12,"button",4),cs("click",(function(){return t.onClose()})),js(13),tc(14,"translate"),tc(15,"customTranslate"),ts(),es(16,"button",5),js(17),tc(18,"translate"),tc(19,"customTranslate"),ts(),ts()),2&e&&(jr(1),Ys(ic(2,6,ic(3,8,"DIALOGS.SHOW_PASSWORD.TITLE"))),jr(5),Ys(ic(7,10,ic(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),jr(4),Za("value",t.password),jr(3),Ws(" ",ic(14,14,ic(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),jr(3),Za("cdkCopyToClipboard",t.password),jr(1),Ws(" ",ic(18,18,ic(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[gT,mT,vT,pS,ZR],pipes:[uS,nO],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),nW);function cW(e,t){1&e&&is(0,"mat-spinner",7)}function lW(e,t){1&e&&is(0,"th",16)}function hW(e,t){if(1&e&&(es(0,"td",17),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ws(" ",i," ")}}function dW(e,t){1&e&&is(0,"tr",18)}function fW(e,t){1&e&&is(0,"tr",19)}function pW(e,t){if(1&e&&(es(0,"div",8),es(1,"p"),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),es(5,"div",9),js(6),tc(7,"translate"),tc(8,"customTranslate"),ts(),es(9,"table",10),ns(10,11),Xa(11,lW,1,0,"th",12),Xa(12,hW,2,1,"td",13),rs(),Xa(13,dW,1,0,"tr",14),Xa(14,fW,1,0,"tr",15),ts(),ts()),2&e){var i=ps();jr(2),Ws(" ",ic(3,5,ic(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),jr(4),Ws(" ",ic(7,9,ic(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),jr(3),Za("dataSource",i.dataSource),jr(4),Za("matHeaderRowDef",i.displayedColumns),jr(1),Za("matRowDefColumns",i.displayedColumns)}}var gW,mW=((gW=function(){function e(t,i,n){y(this,e),this.dialogRef=t,this.data=i,this.usersManagerService=n,this.displayedColumns=["description"]}return b(e,[{key:"ngOnInit",value:function(){this.dataSource=new TL(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}()).\u0275fac=function(e){return new(e||gW)(Ja(uT),Ja(cT),Ja(dp))},gW.\u0275cmp=Ot({type:gW,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),Xa(5,cW,1,0,"mat-spinner",2),ts(),Xa(6,pW,15,13,"div",3),es(7,"div",4),es(8,"button",5),cs("click",(function(){return t.onCancel()})),js(9),tc(10,"translate"),tc(11,"customTranslate"),ts(),es(12,"button",6),cs("click",(function(){return t.onSubmit()})),js(13),tc(14,"translate"),tc(15,"customTranslate"),ts(),ts()),2&e&&(jr(1),Ys(ic(2,5,ic(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),jr(4),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.loading),jr(3),Ws(" ",ic(10,9,ic(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),jr(4),Ws(" ",ic(14,13,ic(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[gT,Nh,vT,pS,YR,mT,aL,dL,lL,uL,mL,yL,pL,gL,bL,ML],pipes:[uS,nO],styles:[""]}),gW);function vW(e,t){1&e&&is(0,"th",15)}function yW(e,t){if(1&e){var i=as();es(0,"td",16),es(1,"mat-checkbox",17),cs("change",(function(e){Mi(i);var n=t.$implicit,r=ps();return e?r.selection.toggle(n):null}))("click",(function(e){return Mi(i),e.stopPropagation()})),ts(),ts()}if(2&e){var n=t.$implicit,r=ps();jr(1),Za("aria-label",r.checkboxLabel(n))("checked",r.selection.isSelected(n))}}function _W(e,t){if(1&e&&(es(0,"th",18),js(1),ts()),2&e){var i=ps();jr(1),Ys(i.headerColumnText)}}function bW(e,t){if(1&e&&(es(0,"td",19),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ys(i)}}function wW(e,t){1&e&&is(0,"tr",20)}function MW(e,t){1&e&&is(0,"tr",21)}function AW(e,t){if(1&e&&(es(0,"app-alert",22),js(1),ts()),2&e){var i=ps();jr(1),Ws(" ",i.alertText,"\n")}}var kW,TW=function(){return[5,10,25]},SW=((kW=function(){function e(){y(this,e),this.values=[],this.selection=new v_(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"],this.pageSize=5}return b(e,[{key:"ngOnChanges",value:function(e){this.values=this.values?this.values:[],this.dataSource=new TL(this.values),this.setDataSource()}},{key:"getExportDataForColumn",value:function(e,t){return e}},{key:"exportData",value:function(e){ST(TT(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"setDataSource",value:function(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator)}},{key:"checkboxLabel",value:function(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}},{key:"ngAfterViewInit",value:function(){this.setDataSource()}}]),e}()).\u0275fac=function(e){return new(e||kW)},kW.\u0275cmp=Ot({type:kW,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,t){var i;1&e&&_c(hH,!0),2&e&&vc(i=kc())&&(t.paginator=i.first)},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[Qt],decls:15,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[1,"card-body"],[3,"exportData"],[1,"overflow-auto"],["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"],[3,"length","pageSize","pageSizeOptions"],["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&&(es(0,"div",0),es(1,"div",1),es(2,"perun-web-apps-table-options",2),cs("exportData",(function(e){return t.exportData(e)})),ts(),es(3,"div",3),es(4,"table",4),ns(5,5),Xa(6,vW,1,0,"th",6),Xa(7,yW,2,2,"td",7),rs(),ns(8,8),Xa(9,_W,2,1,"th",9),Xa(10,bW,2,1,"td",10),rs(),Xa(11,wW,1,0,"tr",11),Xa(12,MW,1,0,"tr",12),ts(),ts(),is(13,"mat-paginator",13),ts(),ts(),Xa(14,AW,2,1,"app-alert",14)),2&e&&(Za("hidden",!t.values.length),jr(4),Za("dataSource",t.dataSource),jr(7),Za("matHeaderRowDef",t.displayedColumns),jr(1),Za("matRowDefColumns",t.displayedColumns),jr(1),Za("length",t.values.length)("pageSize",t.pageSize)("pageSizeOptions",Gu(8,TW)),jr(1),Za("ngIf",0===t.values.length))},directives:[dq,aL,dL,lL,uL,mL,yL,hH,Nh,pL,gL,YI,bL,ML,NO],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),kW);function CW(e,t){if(1&e&&is(0,"perun-web-apps-string-list",10),2&e){var i=ps();Za("values",i.displayedValues)("selection",i.selection)("alertText",i.alertText)("headerColumnText",i.headerColumnText)}}function LW(e,t){1&e&&is(0,"mat-spinner",11)}var EW,zW=((EW=function(){function e(t,i,n,r,o){var a=this;y(this,e),this.store=t,this.attributesManagerService=i,this.dialog=n,this.translateService=r,this.usersManagerService=o,this.altPasswordCtrl=new Fz(null,[FE.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new v_(!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 b(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 i=wT();i.width="600px",i.data={password:t},e.dialog.open(uW,i),e.getAltPasswords(),e.altPasswordCtrl.setValue("")}))}},{key:"generatePassword",value:function(){for(var e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-",t="",i=0,n=e.length;i<16;++i)t+=e.charAt(Math.random()*n);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 i=Object.keys(t.value);e.passwordDescriptions=new Set(i),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=wT();t.width="600px",t.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(mW,t).afterClosed().subscribe((function(t){t&&(e.getAltPasswords(),e.selection.clear())}))}}]),e}()).\u0275fac=function(e){return new(e||EW)(Ja(ey),Ja(op),Ja(fT),Ja(sS),Ja(dp))},EW.\u0275cmp=Ot({type:EW,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&&(es(0,"div",0),es(1,"h1",1),js(2),tc(3,"translate"),tc(4,"customTranslate"),ts(),es(5,"mat-form-field",2),es(6,"label",2),is(7,"input",3),tc(8,"translate"),tc(9,"customTranslate"),ts(),ts(),es(10,"button",4),cs("click",(function(){return t.createPassword()})),js(11),tc(12,"translate"),tc(13,"customTranslate"),ts(),es(14,"app-alert",5),js(15),tc(16,"translate"),tc(17,"customTranslate"),ts(),es(18,"h1",6),js(19),tc(20,"translate"),tc(21,"customTranslate"),ts(),es(22,"button",7),cs("click",(function(){return t.removeAltPasswords()})),js(23),tc(24,"translate"),tc(25,"customTranslate"),ts(),Xa(26,CW,1,4,"perun-web-apps-string-list",8),Xa(27,LW,1,0,"mat-spinner",9),ts()),2&e&&(jr(2),Ys(ic(3,11,ic(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),jr(5),ys("placeholder",ic(8,15,ic(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),Za("formControl",t.altPasswordCtrl),jr(3),Za("disabled",!t.altPasswordCtrl.valid||t.alreadyContainsValue(t.altPasswordCtrl.value)),jr(1),Ys(ic(12,19,ic(13,21,"ALT_PASSWORDS.GENERATE"))),jr(4),Ys(ic(16,23,ic(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),jr(4),Ys(ic(20,27,ic(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),jr(3),Za("disabled",t.selection.isEmpty()),jr(1),Ys(ic(24,31,ic(25,33,"ALT_PASSWORDS.REMOVE"))),jr(3),Za("ngIf",!t.loading),jr(1),Za("ngIf",t.loading))},directives:[_E,pR,SE,OE,Qz,pS,NO,Nh,SW,YR],pipes:[uS,nO],styles:[""]}),EW);function RW(e,t){if(1&e&&(es(0,"mat-list-item",1),es(1,"mat-icon"),js(2),ts(),es(3,"p",2),js(4),tc(5,"translate"),tc(6,"customTranslate"),ts(),ts()),2&e){var i=t.$implicit;Za("routerLink",i.url),jr(2),Ys(i.icon),jr(2),Ys(ic(5,3,ic(6,5,i.label)))}}var OW,xW=((OW=function(){function e(t){y(this,e),this.storeService=t,this.items=[]}return b(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}()).\u0275fac=function(e){return new(e||OW)(Ja(ey))},OW.\u0275cmp=Ot({type:OW,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&&(es(0,"mat-list"),Xa(1,RW,7,7,"mat-list-item",0),ts()),2&e&&(jr(1),Za("ngForOf",t.items))},directives:[hP,Dh,pP,xk,Tv,YS],pipes:[uS,nO],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),OW);function DW(e,t){if(1&e&&(es(0,"mat-option",13),js(1),ts()),2&e){var i=t.$implicit;Za("value",ps().selectedUnit),jr(1),Ws(" ",i," ")}}var PW,NW=((PW=function(){function e(t,i,n,r,o){var a=this;y(this,e),this.dialogRef=t,this.data=i,this.rtMessagesService=n,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 b(e,[{key:"ngOnInit",value:function(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new Fz(null,[FE.required]),this.newValueControl=new Fz(null,[FE.required,FE.pattern("[1-9][0-9]*")])}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this,t=(new iO).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}()).\u0275fac=function(e){return new(e||PW)(Ja(uT),Ja(cT),Ja(cp),Ja(KS),Ja(sS))},PW.\u0275cmp=Ot({type:PW,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),es(5,"div"),es(6,"p",2),js(7),tc(8,"translate"),tc(9,"customTranslate"),ts(),es(10,"p"),js(11),ts(),ts(),es(12,"div"),es(13,"p",2),js(14),tc(15,"translate"),tc(16,"customTranslate"),ts(),es(17,"p"),js(18),ts(),ts(),es(19,"div",3),es(20,"mat-form-field"),es(21,"label",4),is(22,"input",5),tc(23,"translate"),tc(24,"customTranslate"),ts(),ts(),es(25,"mat-select",6),cs("valueChange",(function(e){return t.selectedUnit=e})),Xa(26,DW,2,2,"mat-option",7),ts(),ts(),es(27,"div"),es(28,"mat-form-field",8),es(29,"label",4),is(30,"textarea",9),tc(31,"translate"),tc(32,"customTranslate"),ts(),ts(),ts(),es(33,"div",10),es(34,"button",11),cs("click",(function(){return t.onCancel()})),js(35),tc(36,"translate"),tc(37,"customTranslate"),ts(),es(38,"button",12),cs("click",(function(){return t.onSubmit()})),js(39),tc(40,"translate"),tc(41,"customTranslate"),ts(),ts(),ts()),2&e&&(jr(1),Ys(ic(2,14,ic(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE"))),jr(6),Ys(ic(8,18,ic(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))),jr(4),Ys(t.resource),jr(3),Ys(ic(15,22,ic(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))),jr(4),Ys(t.currentQuota),jr(4),ys("placeholder",ic(23,26,ic(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),Za("formControl",t.newValueControl),jr(3),Za("value",t.selectedUnit),jr(1),Za("ngForOf",t.units),jr(4),ys("placeholder",ic(31,30,ic(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),Za("formControl",t.reasonControl),jr(5),Ws(" ",ic(36,34,ic(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),jr(3),Za("disabled",t.reasonControl.invalid),jr(1),Ws(" ",ic(40,38,ic(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[gT,jP,JP,_E,pR,ZE,SE,tR,OE,Qz,wI,Dh,vT,pS,Wk],pipes:[uS,nO],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}"]}),PW);function IW(e,t){1&e&&is(0,"mat-spinner",8)}function BW(e,t){1&e&&(es(0,"app-alert",9),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function FW(e,t){if(1&e){var i=as();es(0,"div"),es(1,"p"),es(2,"strong"),js(3),tc(4,"translate"),tc(5,"customTranslate"),ts(),js(6),ts(),es(7,"p",10),js(8),tc(9,"translate"),tc(10,"customTranslate"),ts(),es(11,"button",11),cs("click",(function(){Mi(i);var e=ps().$implicit,t=ps(3).$implicit;return ps().requestChangeQuota(t,e)})),js(12),tc(13,"translate"),tc(14,"customTranslate"),ts(),ts()}if(2&e){var n=ps(5);jr(3),Ys(ic(4,4,ic(5,6,"DATA_QUOTAS.QUOTA"))),jr(3),Ws(" ",n.quotasMarkup,""),jr(2),Ys(ic(9,8,ic(10,10,"DATA_QUOTAS.QUOTA_INFO"))),jr(4),Ys(ic(13,12,ic(14,14,"DATA_QUOTAS.CHANGE")))}}function HW(e,t){1&e&&(es(0,"p"),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function qW(e,t){if(1&e){var i=as();es(0,"mat-expansion-panel",3),cs("opened",(function(){Mi(i);var e=t.$implicit;return ps(4).getResAttributes(e.id)})),es(1,"mat-expansion-panel-header"),es(2,"mat-panel-title"),js(3),ts(),ts(),Xa(4,FW,15,16,"div",7),Xa(5,HW,4,5,"p",7),ts()}if(2&e){var n=t.$implicit,r=ps(4);jr(3),Ws(" ",n.name," "),jr(1),Za("ngIf",r.defaultQuota),jr(1),Za("ngIf",!r.defaultQuota)}}function jW(e,t){if(1&e&&(es(0,"mat-accordion"),Xa(1,qW,6,3,"mat-expansion-panel",2),ts()),2&e){var i=ps(3);jr(1),Za("ngForOf",i.resources)}}function YW(e,t){if(1&e&&(Xa(0,IW,1,0,"mat-spinner",5),Xa(1,BW,4,5,"app-alert",6),Xa(2,jW,2,1,"mat-accordion",7)),2&e){var i=ps(2);Za("ngIf",i.loading),jr(1),Za("ngIf",0===i.resources.length&&!i.loading),jr(1),Za("ngIf",i.resources.length&&!i.loading)}}function WW(e,t){if(1&e){var i=as();es(0,"mat-expansion-panel",3),cs("opened",(function(){Mi(i);var e=t.$implicit;return ps().getMembersResources(e)})),es(1,"mat-expansion-panel-header"),es(2,"mat-panel-title"),js(3),ts(),ts(),Xa(4,YW,3,3,"ng-template",4),ts()}if(2&e){var n=t.$implicit;jr(3),Ws(" ",n.name," ")}}var UW,KW=((UW=function(){function e(t,i,n,r,o,a){y(this,e),this.store=t,this.usersManagerService=i,this.membersService=n,this.resourcesManagerService=r,this.attributesManagerService=o,this.dialog=a,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}return b(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 i=e.length;i||(t.loading=!1),e.forEach((function(e){t.attributesManagerService.getResourceAttributes(e.id).subscribe((function(n){i--,n.find((function(e){return"defaultDataQuotas"===e.friendlyName}))&&t.resources.push(e),t.loading=0!==i}))}))}))}))}},{key:"getResAttributes",value:function(e){var t=this;this.attributesManagerService.getResourceAttributes(e).subscribe((function(e){var i=e.find((function(e){return"dataQuotas"===e.friendlyName}));if(i&&i.value){var n=Object.keys(i.value);t.currentQuota=i.value[n[0]]}else t.currentQuota="";if(i=e.find((function(e){return"defaultDataQuotas"===e.friendlyName}))){var r=Object.keys(i.value);t.defaultQuota=i.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 i=wT();i.width="400px",i.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(NW,i)}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter((function(t){return t.name.toLowerCase().includes(e.toLowerCase())}))}}]),e}()).\u0275fac=function(e){return new(e||UW)(Ja(ey),Ja(dp),Ja(up),Ja(hp),Ja(op),Ja(fT))},UW.\u0275cmp=Ot({type:UW,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"perun-web-apps-immediate-filter",1),cs("filter",(function(e){return t.applyFilter(e)})),tc(5,"translate"),tc(6,"customTranslate"),ts(),es(7,"mat-accordion"),Xa(8,WW,5,1,"mat-expansion-panel",2),ts()),2&e&&(jr(1),Ys(ic(2,3,ic(3,5,"DATA_QUOTAS.TITLE"))),jr(3),Za("placeholder",ic(5,7,ic(6,9,"DATA_QUOTAS.FILTER"))),jr(4),Za("ngForOf",t.filteredVos))},directives:[Dj,cY,Dh,aY,sY,uY,nY,Nh,YR,NO,pS],pipes:[uS,nO],styles:[""]}),UW);function VW(e,t){1&e&&is(0,"mat-spinner",8)}function XW(e,t){1&e&&(es(0,"app-alert",9),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function GW(e,t){if(1&e){var i=as();es(0,"mat-expansion-panel",3),cs("opened",(function(){Mi(i);var e=t.$implicit;return ps(4).getOptOutAttribute(e)})),es(1,"mat-expansion-panel-header"),es(2,"mat-panel-title"),js(3),ts(),ts(),es(4,"div",10),es(5,"p"),js(6),tc(7,"translate"),tc(8,"customTranslate"),ts(),es(9,"mat-checkbox",11),cs("change",(function(){return Mi(i),ps(4).setOptOut()})),ts(),ts(),ts()}if(2&e){var n=t.$implicit,r=ps(4);jr(3),Ws(" ",n.name," "),jr(3),Ys(ic(7,3,ic(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),jr(3),Za("checked",r.optOutAttribute&&null!==r.optOutAttribute.value)}}function JW(e,t){if(1&e&&(es(0,"mat-accordion"),Xa(1,GW,10,7,"mat-expansion-panel",2),ts()),2&e){var i=ps(3);jr(1),Za("ngForOf",i.resources)}}function QW(e,t){if(1&e&&(Xa(0,VW,1,0,"mat-spinner",5),Xa(1,XW,4,5,"app-alert",6),Xa(2,JW,2,1,"mat-accordion",7)),2&e){var i=ps(2);Za("ngIf",i.loading),jr(1),Za("ngIf",0===i.resources.length&&!i.loading),jr(1),Za("ngIf",i.resources.length&&!i.loading)}}function ZW(e,t){if(1&e){var i=as();es(0,"mat-expansion-panel",3),cs("opened",(function(){Mi(i);var e=t.$implicit;return ps().getMailingLists(e)})),es(1,"mat-expansion-panel-header"),es(2,"mat-panel-title"),js(3),ts(),ts(),Xa(4,QW,3,3,"ng-template",4),ts()}if(2&e){var n=t.$implicit;jr(3),Ws(" ",n.name," ")}}var $W,eU=(($W=function(){function e(t,i,n,r,o){y(this,e),this.store=t,this.usersManagerService=i,this.membersService=n,this.resourcesManagerService=r,this.attributesManagerService=o,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}return b(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(i){var n=i.length;n||(t.loading=!1),i.forEach((function(i){t.attributesManagerService.getRequiredAttributesMemberResource(e.id,i.id).subscribe((function(r){t.attributesManagerService.getResourceAttributeByName(i.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe((function(o){n--;var a=r.find((function(e){return"optOutMailingList"===e.friendlyName}));!a||o&&"true"===o.value||(t.optOuts.push({resource:i.id,member:e.id,attribute:a}),t.resources.push(i)),t.loading=0!==n}))}))}))}))}))}},{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}()).\u0275fac=function(e){return new(e||$W)(Ja(ey),Ja(dp),Ja(up),Ja(hp),Ja(op))},$W.\u0275cmp=Ot({type:$W,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"perun-web-apps-immediate-filter",1),cs("filter",(function(e){return t.applyFilter(e)})),tc(5,"translate"),tc(6,"customTranslate"),ts(),es(7,"mat-accordion"),Xa(8,ZW,5,1,"mat-expansion-panel",2),ts()),2&e&&(jr(1),Ys(ic(2,3,ic(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),jr(3),Za("placeholder",ic(5,7,ic(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),jr(4),Za("ngForOf",t.filteredVos))},directives:[Dj,cY,Dh,aY,sY,uY,nY,Nh,YR,NO,YI],pipes:[uS,nO],styles:[""]}),$W);function tU(e,t){1&e&&is(0,"mat-spinner",4)}function iU(e,t){1&e&&is(0,"th",17)}function nU(e,t){if(1&e&&(es(0,"td",18),js(1),ts()),2&e){var i=t.$implicit;jr(1),Ws(" ",i," ")}}function rU(e,t){1&e&&is(0,"tr",19)}function oU(e,t){1&e&&is(0,"tr",20)}function aU(e,t){if(1&e&&(es(0,"table",11),ns(1,12),Xa(2,iU,1,0,"th",13),Xa(3,nU,2,1,"td",14),rs(),Xa(4,rU,1,0,"tr",15),Xa(5,oU,1,0,"tr",16),ts()),2&e){var i=ps(2);Za("dataSource",i.dataSource),jr(4),Za("matHeaderRowDef",i.displayedColumns),jr(1),Za("matRowDefColumns",i.displayedColumns)}}function sU(e,t){if(1&e){var i=as();es(0,"div",1),es(1,"div",5),es(2,"p"),js(3),ts(),es(4,"div",6),js(5),tc(6,"translate"),tc(7,"customTranslate"),ts(),Xa(8,aU,6,3,"table",7),ts(),es(9,"div",8),es(10,"button",9),cs("click",(function(){return Mi(i),ps().onCancel()})),js(11),tc(12,"translate"),tc(13,"customTranslate"),ts(),es(14,"button",10),cs("click",(function(){return Mi(i),ps().onSubmit()})),js(15),tc(16,"translate"),tc(17,"customTranslate"),ts(),ts(),ts()}if(2&e){var n=ps();jr(3),Ws(" ",n.description," "),jr(2),Ws(" ",ic(6,5,ic(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),jr(3),Za("ngIf",n.dataSource.data.length),jr(3),Ws(" ",ic(12,9,ic(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),jr(4),Ws(" ",ic(16,13,ic(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}var uU,cU=((uU=function(){function e(t,i,n){y(this,e),this.dialogRef=t,this.data=i,this.attributesManagerService=n,this.displayedColumns=["name"]}return b(e,[{key:"ngOnInit",value:function(){this.dataSource=new TL(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}()).\u0275fac=function(e){return new(e||uU)(Ja(uT),Ja(cT),Ja(op))},uU.\u0275cmp=Ot({type:uU,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&&(es(0,"h1",0),js(1),ts(),es(2,"div",1),Xa(3,tU,1,0,"mat-spinner",2),ts(),Xa(4,sU,18,17,"div",3)),2&e&&(jr(1),Ys(t.title),jr(2),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.loading))},directives:[gT,Nh,YR,mT,vT,pS,aL,dL,lL,uL,mL,yL,pL,gL,bL,ML],pipes:[uS,nO],styles:[""]}),uU);function lU(e,t){1&e&&(es(0,"app-alert",5),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts()),2&e&&(jr(1),Ys(ic(2,1,ic(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function hU(e,t){if(1&e){var i=as();es(0,"mat-option",11),cs("click",(function(){return Mi(i),ps(3).changeValue()})),js(1),ts()}if(2&e){var n=t.$implicit;Za("value",n),jr(1),Ys(n)}}function dU(e,t){if(1&e){var i=as();es(0,"mat-list-item"),es(1,"mat-form-field",7),es(2,"mat-select",8),cs("valueChange",(function(e){Mi(i);var n=t.index;return ps(2).shells[n]=e})),Xa(3,hU,2,2,"mat-option",9),ts(),ts(),es(4,"button",10),cs("click",(function(){Mi(i);var e=t.index;return ps(2).removeShell(e)})),js(5),tc(6,"translate"),tc(7,"customTranslate"),ts(),ts()}if(2&e){var n=t.index,r=ps(2);jr(2),Za("value",r.shells[n]),jr(1),Za("ngForOf",r.defaultShells),jr(2),Ys(ic(6,3,ic(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON")))}}function fU(e,t){if(1&e&&(es(0,"mat-list"),Xa(1,dU,8,7,"mat-list-item",6),ts()),2&e){var i=ps();jr(1),Za("ngForOf",i.shells)}}var pU,gU=((pU=function(){function e(t,i,n,r){var o=this;y(this,e),this.store=t,this.attributesManagerService=i,this.dialog=n,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 b(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,i=wT();i.width="600px",i.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(cU,i).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}()).\u0275fac=function(e){return new(e||pU)(Ja(ey),Ja(op),Ja(fT),Ja(sS))},pU.\u0275cmp=Ot({type:pU,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"app-alert",1),js(5),tc(6,"translate"),tc(7,"customTranslate"),ts(),es(8,"button",2),cs("click",(function(){return t.addShell()})),js(9),tc(10,"translate"),tc(11,"customTranslate"),ts(),Xa(12,lU,4,5,"app-alert",3),Xa(13,fU,2,1,"mat-list",4)),2&e&&(jr(1),Ys(ic(2,5,ic(3,7,"PREFERRED_SHELLS.TITLE"))),jr(4),Ws(" ",ic(6,9,ic(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),jr(4),Ys(ic(10,13,ic(11,15,"PREFERRED_SHELLS.NEW_BUTTON"))),jr(3),Za("ngIf",!t.loading&&0===t.shells.length),jr(1),Za("ngIf",!t.loading))},directives:[NO,pS,Nh,hP,Dh,pP,_E,wI,Wk],pipes:[uS,nO],styles:[""]}),pU);function mU(e,t){1&e&&is(0,"mat-spinner",4)}function vU(e,t){if(1&e){var i=as();es(0,"div"),es(1,"div",5),es(2,"mat-form-field",6),es(3,"label",6),is(4,"input",7),ts(),ts(),ts(),es(5,"div",8),es(6,"button",9),cs("click",(function(){return Mi(i),ps().onCancel()})),js(7),tc(8,"translate"),tc(9,"customTranslate"),ts(),es(10,"button",10),cs("click",(function(){return Mi(i),ps().onSubmit()})),js(11),tc(12,"translate"),tc(13,"customTranslate"),ts(),ts(),ts()}if(2&e){var n=ps();jr(4),Za("formControl",n.inputControl),jr(3),Ws(" ",ic(8,4,ic(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),jr(3),Za("disabled",!n.inputControl.valid||n.groups.includes(n.inputControl.value)),jr(1),Ws(" ",ic(12,8,ic(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}var yU,_U=((yU=function(){function e(t,i,n){y(this,e),this.dialogRef=t,this.data=i,this.attributesManagerService=n,this.groups=[]}return b(e,[{key:"ngOnInit",value:function(){this.inputControl=new Fz(null,FE.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:"+this.data.namespace).subscribe((function(t){var i=t.value?t.value:[];i.push(e.inputControl.value),t.value=i,e.attributesManagerService.setUserAttribute({user:e.data.userId,attribute:t}).subscribe((function(){e.loading=!1,e.dialogRef.close(!0)}))}))}}]),e}()).\u0275fac=function(e){return new(e||yU)(Ja(uT),Ja(cT),Ja(op))},yU.\u0275cmp=Ot({type:yU,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&&(es(0,"h1",0),js(1),tc(2,"translate"),tc(3,"customTranslate"),ts(),es(4,"div",1),Xa(5,mU,1,0,"mat-spinner",2),Xa(6,vU,14,12,"div",3),ts()),2&e&&(jr(1),Ys(ic(2,3,ic(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),jr(4),Za("ngIf",t.loading),jr(1),Za("ngIf",!t.loading))},directives:[gT,Nh,YR,mT,_E,pR,SE,tR,OE,Qz,vT,pS],pipes:[uS,nO],styles:[""]}),yU);function bU(e,t){if(1&e){var i=as();es(0,"div",2),es(1,"h4"),js(2),ts(),es(3,"button",3),cs("click",(function(){Mi(i);var e=t.$implicit;return ps().addGroupName(e)})),js(4),tc(5,"translate"),tc(6,"customTranslate"),ts(),es(7,"button",4),cs("click",(function(){Mi(i);var e=t.$implicit,n=t.index;return ps().removeGroupName(e,n)})),js(8),tc(9,"translate"),ts(),is(10,"perun-web-apps-string-list",5),ts()}if(2&e){var n=t.$implicit,r=t.index,o=ps();jr(2),Ys(n),jr(2),Ys(ic(5,8,ic(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))),jr(3),Za("disabled",0===o.selectionList[r].selected.length),jr(1),Ys(ic(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")),jr(2),Za("values",o.groupNames.get(n))("selection",o.selectionList[r])("alertText",o.alertText)("headerColumnText",o.headerColumnText)}}var wU,MU=((wU=function(){function e(t,i,n,r){var o=this;y(this,e),this.store=t,this.attributesManagerService=i,this.dialog=n,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 b(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,i,n){n.beginPath(),n.rect(20*e,20*t,20,20),n.fillStyle="rgb("+i.join(",")+")",n.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}(),i=t.getContext("2d"),n=function(){for(var e=[],t=0;t<3;t++){var i=Math.floor(256*Math.random()),n=Math.max(120,i),r=Math.min(200,n);e.push(r)}return e}(),r=0;r1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";y(this,e),this.http=t,this.prefix=i,this.suffix=n}return b(e,[{key:"getTranslation",value:function(e){return this.http.get("".concat(this.prefix).concat(e).concat(this.suffix))}}]),e}(),pV=((sV=function(){function e(t,i){y(this,e),this.http=t,this.storeService=i}return b(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,[gV(tinycolor(i).lighten(52),"50"),gV(tinycolor(i).lighten(37),"100"),gV(tinycolor(i).lighten(26),"200"),gV(tinycolor(i).lighten(12),"300"),gV(tinycolor(i).lighten(6),"400"),gV(tinycolor(i),"500"),gV(tinycolor(i).darken(6),"600"),gV(tinycolor(i).darken(12),"700"),gV(tinycolor(i).darken(18),"800"),gV(tinycolor(i).darken(24),"900"),gV(tinycolor(i).lighten(50).saturate(30),"A100"),gV(tinycolor(i).lighten(30).saturate(30),"A200"),gV(tinycolor(i).lighten(10).saturate(15),"A400"),gV(tinycolor(i).lighten(5).saturate(5),"A700")]);n1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:e,providers:t.serverLoaded?[{provide:px,useValue:Object.assign(Object.assign({},fx),t)},{provide:mx,useValue:i,multi:!0},{provide:gx,useValue:!0}]:[{provide:px,useValue:Object.assign(Object.assign({},fx),t)},{provide:mx,useValue:i,multi:!0}]}}}]),e}()).\u0275mod=Nt({type:vV}),vV.\u0275inj=Ee({factory:function(e){return new(e||vV)(dt(gx),dt(Pc))},imports:[[dN,uD,AV],dN,uD,AV]}),vV),TV=((mV=function e(){y(this,e)}).\u0275mod=Nt({type:mV}),mV.\u0275inj=Ee({factory:function(e){return new(e||mV)},imports:[[GA],GA]}),mV),SV=new nt("perun-api-service"),CV=((wV=function e(){y(this,e)}).\u0275mod=Nt({type:wV}),wV.\u0275inj=Ee({factory:function(e){return new(e||wV)}}),wV),LV=((bV=function e(){y(this,e)}).\u0275mod=Nt({type:bV}),bV.\u0275inj=Ee({factory:function(e){return new(e||bV)},imports:[[CV,Dk,GA,xb],CV,GA]}),bV),EV={provide:jf,useExisting:qe((function(){return XS})),multi:!0};function zV(e){return new fV(e,"./assets/i18n/",".json")}function RV(e){var t={basePath:e.get("api_url")};return new rp(t)}var OV,xV=function(e){return function(){return e.initialize()}},DV=((OV=function e(t,i){y(this,e),this.customIconService=t,this.translate=i,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}).\u0275mod=Nt({type:OV,bootstrap:[xN]}),OV.\u0275inj=Ee({factory:function(e){return new(e||OV)(dt(US),dt(sS))},providers:[US,{provide:Ec,useFactory:xV,multi:!0,deps:[MV]},{provide:rp,useFactory:RV,deps:[ey]},iO,XS,EV,{provide:SV,useClass:JS}],imports:[[Xd,FA,tp,cS.forRoot({loader:{provide:RT,useFactory:zV,deps:[Hf]}}),dV,WS,eP,gP,Yv,gS,kV,sx,yK,aO,hY,bE,MI,yT,kL,gR,oR,UI,dH,WR,EH,TV,$R,eO,tj,Dk,eI,LV,UR,rR,lV]]}),OV);(function(){if(Jn)throw new Error("Cannot enable prod mode after platform setup.");Gn=!1})(),Kd().bootstrapModule(DV).catch((function(e){return console.error(e)}))},zn8P:function(e,t){function i(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}i.keys=function(){return[]},i.resolve=i,e.exports=i,i.id="zn8P"}},[[0,0]]])}(); \ No newline at end of file diff --git a/dist/apps/user-profile/polyfills-es2015.add54c2931c744a8e8b7.js b/dist/apps/user-profile/polyfills-es2015.add54c2931c744a8e8b7.js new file mode 100644 index 000000000..b261cb006 --- /dev/null +++ b/dist/apps/user-profile/polyfills-es2015.add54c2931c744a8e8b7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o")},nf2o:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==C.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.)")}static get root(){let e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(t,r){if(C.hasOwnProperty(t)){if(a)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),C[t]=r(e,i,O),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,T),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(T,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(b,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,b,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(w,T,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");k(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,b)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;nz,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return D.reject(e)}const g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState");function v(e,t){return n=>{try{T(e,t,n)}catch(o){T(e,!1,o)}}}const b=s("currentTaskTrace");function T(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(null===e[g]){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{T(e,!1,u)})(),e}if(!1!==o&&s instanceof D&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&null!==s[g])w(s),T(e,s[g],s[_]);else if(!1!==o&&"function"==typeof h)try{h.call(s,c(v(e,o)),c(v(e,!1)))}catch(u){c(()=>{T(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&!0===o&&(e[g]=e[y],e[_]=e[m]),!1===o&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,b,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const i=t.run(a,void 0,r&&a!==d&&a!==f?[]:[o]);T(n,!0,i)}catch(o){T(n,!1,o)}},n)}const S=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return T(new this(null),!0,e)}static reject(e){return T(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)p(a)||(a=this.resolve(a)),a.then(r,s);return o}static all(e){return D.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof D?this:D).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,a=0;const i=[];for(let l of e){p(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}constructor(e){const t=this;if(!(t instanceof D))throw new Error("Must be an instanceof Promise.");t[g]=null,t[_]=[];try{e&&e(v(t,!0),v(t,!1))}catch(n){T(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||D);const r=new o(S),s=t.current;return null==this[g]?this[_].push(s,r,e,n):Z(this,s,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=D);const o=new n(S);o[k]=k;const r=t.current;return null==this[g]?this[_].push(r,o,e,e):Z(this,r,o,e,e),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const P=e[c]=e.Promise,C=t.__symbol__("ZoneAwarePromise");let O=o(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[C]?e[C]:e[c]},O.set=function(t){t===D?e[C]=t:(e[c]=t,t.prototype[l]||j(t),n.setNativePromise(t))},r(e,"Promise",O)),e.Promise=D;const z=s("thenPatched");function j(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new D((e,t)=>{r.call(this,e,t)}).then(e,t)},e[z]=!0}if(n.patchThen=j,P){j(P);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(I=t,function(){let e=I.apply(this,arguments);if(e instanceof D)return e;let t=e.constructor;return t[z]||j(t),e}))}var I;return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,D});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),i=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),y=!m&&!k&&!(!h||!p.HTMLElement),v=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!k&&!(!h||!p.HTMLElement),b={},T=function(e){if(!(e=e||f.event))return;let t=b[e.type];t||(t=b[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(y&&n===p&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function E(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=u("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=o.substr(2);let h=b[l];h||(h=b[l]=u("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(l,T),c&&c.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(l,T,!1)):t[h]=null)},s.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(i){let t=i&&i.call(this);if(t)return s.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,s),n[a]=!0}function w(e,t,n){if(t)for(let o=0;ofunction(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?l(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function C(e,t){e[u("OriginalDelegate")]=t}let O=!1,z=!1;function j(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function I(){if(O)return z;O=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(z=!0)}catch(e){}return z}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});let R=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ie){R=!1}const N={useG:!0},x={},L={},M=new RegExp("^"+i+"(\\w+)(true|false)$"),A=u("propagationStopped");function H(e,t){const n=(t?t(e):e)+"false",o=(t?t(e):e)+"true",r=i+n,s=i+o;x[e]={},x[e].false=r,x[e].true=s}function F(e,t,o){const r=o&&o.add||"addEventListener",s=o&&o.rm||"removeEventListener",a=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),h="."+r+":",p=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[x[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[A]=!0,e&&e.apply(t,n)})}function q(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],U=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],V=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ne(e,t,n,o){e&&w(e,te(e,t,n),o)}function oe(e,t){if(m&&!v)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(y){const e=window,t=j?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),r?r.concat(t):r,n(e)),ne(Document.prototype,ee,r),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,r),ne(Element.prototype,ee,r),ne(HTMLElement.prototype,ee,r),ne(HTMLMediaElement.prototype,U,r),ne(HTMLFrameSetElement.prototype,W.concat($),r),ne(HTMLBodyElement.prototype,W.concat($),r),ne(HTMLFrameElement.prototype,V,r),ne(HTMLIFrameElement.prototype,V,r);const o=e.HTMLMarqueeElement;o&&ne(o.prototype,X,r);const s=e.Worker;s&&ne(s.prototype,Q,r)}const s=t.XMLHttpRequest;s&&ne(s.prototype,J,r);const a=t.XMLHttpRequestEventTarget;a&&ne(a&&a.prototype,J,r),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,Y,r),ne(IDBRequest.prototype,Y,r),ne(IDBOpenDBRequest.prototype,Y,r),ne(IDBDatabase.prototype,Y,r),ne(IDBTransaction.prototype,Y,r),ne(IDBCursor.prototype,Y,r)),o&&ne(WebSocket.prototype,K,r)}Zone.__load_patch("util",(n,s,a)=>{a.patchOnProperties=w,a.patchMethod=D,a.bindArguments=g,a.patchMacroTask=P;const l=s.__symbol__("BLACK_LISTED_EVENTS"),u=s.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(s[l]=s[u]=n[l]),a.patchEventPrototype=B,a.patchEventTarget=F,a.isIEOrEdge=I,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=o,a.ArraySlice=r,a.patchClass=S,a.wrapWithCurrentZone=c,a.filterProperties=te,a.attachOriginToPatched=C,a._redefineProperty=Object.defineProperty,a.patchCallbacks=q,a.getGlobalObjects=()=>({globalSources:L,zoneSymbolEventNames:x,eventNames:ee,isBrowser:y,isMix:v,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:i,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function se(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[re]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=D(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e=l(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},i,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?a[n]=e:n&&(n[re]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)}),s=D(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[re],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[re]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function ae(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{se(e,"set","clear","Timeout"),se(e,"set","clear","Interval"),se(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{se(e,"request","cancel","AnimationFrame"),se(e,"mozRequest","mozCancel","AnimationFrame"),se(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ae(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{oe(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[s],g=f[a];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[s],g=e[a]}}function _(e){const o=e.data,c=o.target;c[i]=!1,c[h]=!1;const l=c[r];d||(d=c[s],g=c[a]),l&&g.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[i]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[c]=t[1],y.apply(e,t)}),v=u("fetchTaskAborting"),b=u("fetchTaskScheduling"),T=D(f,"send",()=>function(e,n){if(!0===t.current[b])return T.apply(e,n);if(e[o])return T.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",k,t,_,m);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),E=D(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[v])return E.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),i=u("xhrScheduled"),c=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,g(arguments,o+"."+s))};return C(t,e),t})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){G(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]); \ No newline at end of file diff --git a/dist/apps/user-profile/polyfills-es5.1c2c1e416c798db58ed1.js b/dist/apps/user-profile/polyfills-es5.1c2c1e416c798db58ed1.js new file mode 100644 index 000000000..5a9b9ae16 --- /dev/null +++ b/dist/apps/user-profile/polyfills-es5.1c2c1e416c798db58ed1.js @@ -0,0 +1 @@ +!function(){function t(t,n){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},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 a,c=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?arguments[1]:void 0)}}),i("findIndex")},"+NaH":function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("c8b2");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"+q1H":function(t,e,n){"use strict";var r,o,i,a=n("yosQ"),c=n("+NaH"),u=n("+C+w"),s=n("G9lz"),f=n("p2x6"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},"/K78":function(t,e,n){var r=n("0vT8"),o=n("TQiC");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},"/Wjk":function(t,e,n){"use strict";var r=n("lYWO"),o=n("L0mP");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},"/ZgM":function(t,e,n){"use strict";var r=n("pNVf"),o=n("NneG");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},"00I2":function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("QxQN"),a=n("SF8I").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},"03IN":function(t,e,n){var r=n("4eii"),o=n("VfW/").trim,i=n("ZKm/"),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},"0BIM":function(t,e,n){"use strict";var r=n("Zm5N"),o=n("UET0"),i=n("L0mP"),a=n("TC5Z"),c=n("6pHA");r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},"0Eps":function(t,e,n){n("0vT8")({target:"Number",stat:!0},{isInteger:n("O1uG")})},"0O2A":function(t,e,n){var r=n("4eii"),o=n("rP2c"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"0PBP":function(t,e,n){"use strict";var r=n("s7Qr").forEach,o=n("9rSH"),i=n("X4rX"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"0Yxs":function(t,e,n){n("0vT8")({target:"Object",stat:!0,sham:!n("ThF5")},{create:n("dYyi")})},"0dFo":function(t,e,n){var r=n("G9lz")("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}},"0u0I":function(t,e,n){var r=n("0vT8"),o=n("03IN");r({global:!0,forced:parseInt!=o},{parseInt:o})},"0vT8":function(t,e,n){var r=n("4eii"),o=n("5tsF").f,i=n("+NaH"),a=n("gGei"),c=n("d1gM"),u=n("QA9J"),s=n("2L9N");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)}}},1:function(t,e,n){n("l/Py"),n("xVoO"),t.exports=n("hN/g")},"19jd":function(t,e,n){var r=n("UET0"),o=n("rP2c"),i=n("Pj9/");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},"1BS+":function(t,e,n){var r=n("lcFv");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"1Yxx":function(t,e,n){"use strict";var r=n("0vT8"),o=n("VfW/").trim;r({target:"String",proto:!0,forced:n("J+mE")("trim")},{trim:function(){return o(this)}})},"1dlD":function(t,e,n){"use strict";var r=n("0vT8"),o=n("XtQF"),i=n("VUDt"),a=n("x42P");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"1geW":function(t,e,n){var r=n("0vT8"),o=n("Hshb");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"1ul8":function(t,e,n){"use strict";var r=n("xbsk").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"2L9N":function(t,e,n){var r=n("XtQF"),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},"2VXe":function(t,e,n){var r=n("8ZjQ"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"2g3X":function(t,e,n){"use strict";var r=n("XtQF"),o=n("W3Kz").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},"2imT":function(t,e,n){var r=n("0vT8"),o=n("vSAT"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},"3QRp":function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("sub")},{sub:function(){return o(this,"sub","","")}})},"3dqU":function(t,e,n){"use strict";var r=n("0vT8"),o=n("tH9H"),i=n("V3ap"),a=n("9rSH"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},"3yYM":function(t,e,n){var r=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(_){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 E(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=k(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(_){return{type:"throw",arg:_}}}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(S([])));g&&g!==e&&n.call(g,o)&&(v=g);var y=h.prototype=l.prototype=Object.create(v);function m(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!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)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function k(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,k(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 T(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function S(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),x(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;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},"4ZNk":function(t,e,n){n("0vT8")({target:"Function",proto:!0},{bind:n("dmrs")})},"4eii":function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},"4xiE":function(t,e,n){var r=n("0vT8"),o=n("VUDt"),i=n("VQs6");r({target:"Object",stat:!0,forced:n("XtQF")((function(){i(1)}))},{keys:function(t){return i(o(t))}})},"51+R":function(t,e,n){"use strict";var r=n("x42P"),o=n("qpFR"),i=n("c8b2");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},"564C":function(t,e,n){n("79XA")("isConcatSpreadable")},"5QPa":function(t,e,n){"use strict";var r=n("9rgZ"),o=n("92yR");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},"5b4b":function(t,e,n){n("0vT8")({target:"Number",stat:!0},{isFinite:n("Uure")})},"5tsF":function(t,e,n){var r=n("ThF5"),o=n("WHJo"),i=n("c8b2"),a=n("V3ap"),c=n("x42P"),u=n("+C+w"),s=n("uQC4"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"62Jg":function(t,e,n){var r=n("mwKY"),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}},"6HJc":function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("rP2c"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"6pHA":function(t,e,n){var r=n("ArQy"),o=n("Skmt");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"79XA":function(t,e,n){var r=n("g6B6"),o=n("+C+w"),i=n("kbF1"),a=n("qpFR").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"7FRj":function(t,e,n){"use strict";var r=n("rP2c"),o=n("qpFR"),i=n("yosQ"),a=n("G9lz")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"7PoR":function(t,e,n){n("0vT8")({target:"Object",stat:!0},{setPrototypeOf:n("nWyh")})},"7oHr":function(t,e,n){"use strict";var r,o=n("0vT8"),i=n("5tsF").f,a=n("eXo2"),c=n("qlPw"),u=n("L0mP"),s=n("hDjE"),f=n("p2x6"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},"7pK/":function(t,e,n){var r=n("DoB2"),o=n("UkEg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"8WdQ":function(t,e,n){var r=n("0vT8"),o=n("O1uG"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},"8ZjQ":function(t,e,n){var r=n("4eii"),o=n("d1gM"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},"8uRZ":function(t,e,n){var r=n("4eii"),o=n("2VXe"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},"92yR":function(t,e,n){var r=n("9rgZ"),o=n("ArQy"),i=n("G9lz")("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}},"9D1u":function(t,e,n){var r=n("rP2c"),o=n("ArQy"),i=n("G9lz")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"9rSH":function(t,e,n){"use strict";var r=n("XtQF");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"9rgZ":function(t,e,n){var r={};r[n("G9lz")("toStringTag")]="z",t.exports="[object z]"===String(r)},"9ypw":function(t,e,n){var r=n("4eii"),o=n("Z6qe"),i=n("jMNW"),a=n("+NaH"),c=n("G9lz"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},"A//Y":function(t,e,n){"use strict";var r=n("y5Hs"),o=n("qpFR"),i=n("G9lz"),a=n("ThF5"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},ABD5:function(t,e,n){n("79XA")("split")},"ANI/":function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},AV8a:function(t,e,n){"use strict";var r=n("0vT8"),o=n("oxl1"),i=n("yosQ"),a=n("nWyh"),c=n("utQb"),u=n("+NaH"),s=n("gGei"),f=n("G9lz"),l=n("p2x6"),p=n("qv8c"),h=n("+q1H"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,b){o(n,e,f);var k,T,x,E=function(t){if(t===h&&P)return P;if(!d&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",w=!1,_=t.prototype,O=_[g]||_["@@iterator"]||h&&_[h],P=!d&&O||E(h),j="Array"==e&&_.entries||O;if(j&&(k=i(j.call(new t)),v!==Object.prototype&&k.next&&(l||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&u(k,g,y)),c(k,S,!0,!0),l&&(p[S]=y))),"values"==h&&O&&"values"!==O.name&&(w=!0,P=function(){return O.call(this)}),l&&!b||_[g]===P||u(_,g,P),p[e]=P,h)if(T={values:E("values"),keys:m?P:E("keys"),entries:E("entries")},b)for(x in T)(d||w||!(x in _))&&s(_,x,T[x]);else r({target:e,proto:!0,forced:d||w},T);return T}},AVL7:function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("VUDt"),a=n("yosQ"),c=n("craJ");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},Ap7B:function(t,e,n){"use strict";var r=n("0vT8"),o=n("XNJA"),i=n("VUDt"),a=n("XtQF"),c=n("9rSH"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},ArQy:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},BehZ:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},Btv7:function(t,e,n){n("79XA")("asyncIterator")},C8vK:function(t,e,n){"use strict";var r=n("0vT8"),o=n("Skmt");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},CAbf:function(t,e,n){var r=n("4eii");t.exports=r.Promise},DoB2:function(t,e,n){var r=n("p2x6"),o=n("8ZjQ");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},"EI+E":function(t,e,n){var r=n("rP2c"),o=n("tx09"),i=n("G9lz")("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)}},EoF4:function(t,e,n){var r=n("0vT8"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},Ezqs:function(t,e,n){n("0vT8")({target:"Math",stat:!0},{log1p:n("vSAT")})},F1iM:function(t,e,n){n("Hd1F"),n("R7u8"),n("qWhD"),n("Btv7"),n("r+2N"),n("vExu"),n("564C"),n("VBUz"),n("ps+b"),n("vItB"),n("uLb4"),n("s7qu"),n("Pgr3"),n("ABD5"),n("Y/en"),n("urZ2"),n("ZFHZ"),n("zLr9"),n("nr/g");var r=n("g6B6");t.exports=r.Symbol},F6ip:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},FIoU:function(t,e,n){"use strict";var r,o=n("4eii"),i=n("RBcf"),a=n("q75f"),c=n("pNVf"),u=n("rBtS"),s=n("rP2c"),f=n("pCF3").enforce,l=n("8uRZ"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),m.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},Fcgu:function(t,e,n){"use strict";var r=n("0vT8"),o=n("s7Qr").map,i=n("LQxa"),a=n("X4rX"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},G9lz:function(t,e,n){var r=n("4eii"),o=n("DoB2"),i=n("+C+w"),a=n("UkEg"),c=n("lcFv"),u=n("1BS+"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},GZNO:function(t,e,n){n("0vT8")({target:"Object",stat:!0},{is:n("TC5Z")})},Hd1F:function(t,e,n){"use strict";var r=n("0vT8"),o=n("XtQF"),i=n("tx09"),a=n("rP2c"),c=n("VUDt"),u=n("eXo2"),s=n("51+R"),f=n("EI+E"),l=n("LQxa"),p=n("G9lz"),h=n("lANf"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},Hshb:function(t,e,n){"use strict";var r=n("ThF5"),o=n("XtQF"),i=n("VQs6"),a=n("X1th"),c=n("WHJo"),u=n("VUDt"),s=n("tH9H"),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},I0iV:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("sup")},{sup:function(){return o(this,"sup","","")}})},IgI0:function(t,e){t.exports={}},"J+mE":function(t,e,n){var r=n("XtQF"),o=n("ZKm/");t.exports=function(t){return r((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},JBtQ:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("italics")},{italics:function(){return o(this,"i","","")}})},JMzg:function(t,e,n){"use strict";var r,o=n("0vT8"),i=n("5tsF").f,a=n("eXo2"),c=n("qlPw"),u=n("L0mP"),s=n("hDjE"),f=n("p2x6"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},JZ5z:function(t,e,n){var r=n("UET0");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},JvUV:function(t,e,n){var r=n("0vT8"),o=n("oTBo"),i=n("YxED");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},JwcT:function(t,e,n){"use strict";var r=n("0vT8"),o=n("s7Qr").filter,i=n("LQxa"),a=n("X4rX"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},KSpI:function(t,e,n){var r=n("UET0"),o=n("tTCw"),i=n("eXo2"),a=n("xwki"),c=n("YtfA"),u=n("JZ5z"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,m,b=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},Kdyt:function(t,e,n){var r=n("UET0"),o=n("XNJA"),i=n("G9lz")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},Kg1r:function(t,e,n){var r=n("XtQF");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},L0mP:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"LJ+p":function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},LQxa:function(t,e,n){var r=n("XtQF"),o=n("G9lz"),i=n("lANf"),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}))}},LjPG:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("big")},{big:function(){return o(this,"big","","")}})},Lyq5:function(t,e,n){var r=n("0vT8"),o=n("TQiC");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},MKQa:function(t,e,n){var r=n("0vT8"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"Nf+e":function(t,e,n){var r=n("ArQy");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},NneG:function(t,e,n){"use strict";var r=n("qpFR").f,o=n("dYyi"),i=n("RBcf"),a=n("xwki"),c=n("BehZ"),u=n("KSpI"),s=n("AV8a"),f=n("A//Y"),l=n("ThF5"),p=n("q75f").fastKey,h=n("pCF3"),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],t,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)}}},NyaS:function(t,e,n){var r=n("yMQa");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},O1uG:function(t,e,n){var r=n("rP2c"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},OE6s:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("bold")},{bold:function(){return o(this,"b","","")}})},Ofvt:function(t,e,n){"use strict";var r=n("0vT8"),o=n("rP2c"),i=n("tx09"),a=n("eFwx"),c=n("eXo2"),u=n("V3ap"),s=n("51+R"),f=n("G9lz"),l=n("LQxa"),p=n("X4rX"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;hc;)a.push(String(e[c++])),c0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},UkEg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},Uure:function(t,e,n){var r=n("4eii").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},V3ap:function(t,e,n){var r=n("tH9H"),o=n("L0mP");t.exports=function(t){return r(o(t))}},V7Uj:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},VBUz:function(t,e,n){n("79XA")("iterator")},VCHe:function(t,e,n){var r=n("XtQF");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},VQs6:function(t,e,n){var r=n("gQA2"),o=n("dKk4");t.exports=Object.keys||function(t){return r(t,o)}},VUDt:function(t,e,n){var r=n("L0mP");t.exports=function(t){return Object(r(t))}},"VfW/":function(t,e,n){var r=n("L0mP"),o="["+n("ZKm/")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},Vx7H:function(t,e,n){var r=n("ThF5"),o=n("qpFR"),i=n("UET0"),a=n("VQs6");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},W3Kz:function(t,e,n){var r=n("eXo2"),o=n("/Wjk"),i=n("L0mP"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},WHJo:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},Ww1t:function(t,e,n){"use strict";var r=n("V3ap"),o=n("lYWO"),i=n("eXo2"),a=n("9rSH"),c=n("X4rX"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},X1th:function(t,e){e.f=Object.getOwnPropertySymbols},X4rX:function(t,e,n){var r=n("ThF5"),o=n("XtQF"),i=n("+C+w"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)}))}},XNJA:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},XtQF:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"Y/en":function(t,e,n){n("79XA")("toPrimitive")},Y8n2:function(t,e,n){var r=n("0vT8"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},Yr4I:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("small")},{small:function(){return o(this,"small","","")}})},YtfA:function(t,e,n){var r=n("92yR"),o=n("qv8c"),i=n("G9lz")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},YxED:function(t,e,n){var r=n("G9lz"),o=n("dYyi"),i=n("qpFR"),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}},Z5iX:function(t,e,n){"use strict";var r=n("0vT8"),o=n("mXzy").right,i=n("9rSH"),a=n("X4rX"),c=i("reduceRight"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},Z6qe:function(t,e){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}},ZFHZ:function(t,e,n){n("79XA")("unscopables")},"ZKm/":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},Zm5N:function(t,e,n){"use strict";n("C8vK");var r=n("gGei"),o=n("XtQF"),i=n("G9lz"),a=n("Skmt"),c=n("+NaH"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!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,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},a9aE:function(t,e,n){"use strict";var r=n("Zm5N"),o=n("UET0"),i=n("eXo2"),a=n("L0mP"),c=n("1ul8"),u=n("6pHA");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},aLkt:function(t,e,n){var r=n("0vT8"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},bFNe:function(t,e,n){"use strict";var r=n("pNVf"),o=n("NneG");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},bVE6:function(t,e,n){var r=n("0vT8"),o=n("XtQF"),i=n("LJ+p"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},bxYA:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("fixed")},{fixed:function(){return o(this,"tt","","")}})},c8b2:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},chez:function(t,e,n){"use strict";var r=n("UET0"),o=n("x42P");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},craJ:function(t,e,n){var r=n("XtQF");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},d1VG:function(t,e,n){n("0vT8")({target:"Math",stat:!0},{fround:n("62Jg")})},d1Z5:function(t,e,n){n("rEpP"),n("PMJG"),n("5b4b"),n("0Eps"),n("kjjh"),n("8WdQ"),n("iEbv"),n("sPQT"),n("Lyq5"),n("ff4A"),n("Ujke"),n("mqXI");var r=n("g6B6");t.exports=r.Number},d1gM:function(t,e,n){var r=n("4eii"),o=n("+NaH");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d8kk:function(t,e,n){"use strict";var r=n("xwki"),o=n("VUDt"),i=n("JZ5z"),a=n("tTCw"),c=n("eXo2"),u=n("51+R"),s=n("YtfA");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,m=void 0!==y,b=s(v),k=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>k;k++)h=m?y(v[k],k):v[k],u(n,k,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;k++)h=m?i(l,y,[f.value,k],!0):f.value,u(n,k,h);return n.length=k,n}},dKk4:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},dRGF:function(t,e,n){"use strict";var r=n("0vT8"),o=n("x+Se");r({target:"String",proto:!0,forced:n("Kg1r")("strike")},{strike:function(){return o(this,"strike","","")}})},dYyi:function(t,e,n){var r,o=n("UET0"),i=n("Vx7H"),a=n("dKk4"),c=n("IgI0"),u=n("yjCV"),s=n("0O2A"),f=n("7pK/")("IE_PROTO"),l=function(){},p=function(t){return"